亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

蟲蟲首頁| 資源下載| 資源專輯| 精品軟件
登錄| 注冊

STATIC

像在VB,C#,C,C++,Java,PHP,Objective-C,JavaScript中我們可以看到STATIC作為關鍵字和函數出現,在其他的高級計算機語言如FORTRAN、ALGOL、COBOL、BASIC、LISP、SNOBOL、PL/1、Pascal、PROLOG、Ada等語言中也是有出現的,只是有著不同的作用,對于其具體作用,讀者有需要的時候是可以具體查閱的。
  • The emphasis of this book is on real-time application of Synopsys tools, used to combat various pro

    The emphasis of this book is on real-time application of Synopsys tools, used to combat various problems seen at VDSM geometries. Readers will be exposed to an effective design methodology for handling complex, submicron ASIC designs. Significance is placed on HDL coding styles, synthesis and optimization, dynamic simulation, formal verification, DFT scan insertion, links to layout, physical synthesis, and STATIC timing analysis. At each step, problems related to each phase of the design flow are identified, with solutions and work-around described in detail. In addition, crucial issues related to layout, which includes clock tree synthesis and back-end integration (links to layout) are also discussed at length. Furthermore, the book contains in-depth discussions on the basics of Synopsys technology libraries and HDL coding styles, targeted towards optimal synthesis solution.

    標簽: application real-time Synopsys emphasis

    上傳時間: 2017-07-05

    上傳用戶:waitingfy

  • java 線程 靜態鎖

    java 線程 靜態鎖,對象鎖, synchronized 是鎖方法還是鎖對象?還是鎖類?如何實現?? 部分代碼如下, public STATIC Object lock=new Object() //靜態鎖,鎖類,不是鎖對象了!!所以兩個線程同時 運行兩個 TestThread 的execute( ),也可以同步!!! public void execute(){ // synchronized(lock){ for(int i=0 i<20 i++){ try { Thread.sleep(30) } catch (InterruptedException e) { // TODO Auto-generated catch block e.printStackTrace() } System.out.println(Thread.currentThread().getName()+Thread.currentThread ().getName()+" "+i) } } }

    標簽: java 線程

    上傳時間: 2017-07-15

    上傳用戶:lijianyu172

  • c語言深度剖析

    第一章關鍵字...................................................................................................................................9 1.1,最寬恒大量的關鍵字----auto..........................................................................................11 1.2,最快的關鍵字---- register............................................................................................... 11 1.2.1,皇帝身邊的小太監----寄存器............................................................................. 11 1.2.2,使用register 修飾符的注意點.............................................................................11 1.3,最名不符實的關鍵字----STATIC........................................................................................12 1.3.1,修飾變量...............................................................................................................12 1.3.2,修飾函數...............................................................................................................13 1.4,基本數據類型----short、int、long、char、float、double........................................... 13 1.4.1,數據類型與“模子”............................................................................................... 14 1.4.2,變量的命名規則...................................................................................................14 1.5,最冤枉的關鍵字----sizeof...............................................................................................18 1.5.1,常年被人誤認為函數...........................................................................................18 1.5.2,sizeof(int)*p 表示什么意思?........................................................................18 1.4,signed、unsigned 關鍵字................................................................................................19 1.6,if、else 組合.................................................................................................................... 20 1.6.1,bool 變量與“零值”進行比較...............................................................................20 1.6.2, float 變量與“零值”進行比較.................................................................................21 1.6.3,指針變量與“零值”進行比較...............................................................................21 1.6.4,else 到底與哪個if 配對呢?...............................................................................22 1.6.5,if 語句后面的分號............................................................................................... 23 1.6.6,使用if 語句的其他注意事項.............................................................................. 24 1.7,switch、case 組合........................................................................................................... 24 1.7.1,不要拿青龍偃月刀去削蘋果.............................................................................. 24 1.7.2,case 關鍵字后面的值有什么要求嗎?.............................................................. 25 1.7.3,case 語句的排列順序...........................................................................................25 1.7.4,使用case 語句的其他注意事項..........................................................................27 1.8,do、while、for 關鍵字................................................................................................... 28 1.8.1,break 與continue 的區別.....................................................................................28 1.8.2,循環語句的注意點...............................................................................................29 1.9,goto 關鍵字......................................................................................................................30 1.10,void 關鍵字....................................................................................................................31 1.10.1,void a?............................................................................................................31 1.10,return 關鍵字................................................................................................................. 34 1.11,const 關鍵字也許該被替換為readolny....................................................................... 34 1.11.2,節省空間,避免不必要的內存分配,同時提高效率.................................... 35 1.12,最易變的關鍵字----volatile.......................................................................................... 36 1.13,最會帶帽子的關鍵字----extern.................................................................................... 37 1.14,struct 關鍵字..................................................................................................................38

    標簽: c語言深度剖析

    上傳時間: 2015-05-01

    上傳用戶:cascas

  • Review of Sense Amplifiers for STATIC Random Acces

    常用類型的sense amplifier介紹

    標簽: Amplifiers Review Random STATIC Acces Sense for of

    上傳時間: 2016-06-23

    上傳用戶:nainiu

  • java學生數據庫

    /*import java.util.Scanner; //主類 public class student122 {   //主方法   public STATIC void main(String[] args){     //定義7個元素的字符數組     String[] st = new String[7];     inputSt(st);       //調用輸入方法     calculateSt(st);   //調用計算方法     outputSt(st);      //調用輸出方法   }   //其他方法   //輸入方法 private STATIC void inputSt(String st[]){     System.out.println("輸入學生的信息:");   System.out.println("學號 姓名 成績1,2,3");   //創建鍵盤輸入類   Scanner ss = new Scanner(System.in);   for(int i=0; i<5; i++){     st[i] = ss.next(); //鍵盤輸入1個字符串   } }   //計算方法 private STATIC void calculateSt(String[] st){   int sum = 0;         //總分賦初值 int ave = 0;         //平均分賦初值 for(int i=2;i<5;i++) {   /計總分,字符變換成整數后進行計算   sum += Integer.parseInt(st[i]); } ave = sum/3;         //計算平均分 //整數變換成字符后保存到數組里 st[5] = String.valueOf(sum); st[6] = String.valueOf(ave); }   //輸出方法 private STATIC void outputSt(String[] st){     System.out.print("學號 姓名 ");   //不換行   System.out.print("成績1 成績2 成績3 ");   System.out.println("總分 平均分");//換行   //輸出學生信息   for(int i=0; i<7; i++){     //按格式輸出,小于6個字符,補充空格     System.out.printf("%6s", st[i]);   }   System.out.println();            //輸出換行 } }*/   import java.util.Scanner;   public class student122 {   public STATIC void main(String[] args) { // TODO 自動生成的方法存根 String[][] st = new String[3][8]; inputSt(st); calculateSt(st); outputSt(st); }   //輸入方法 private STATIC void inputSt(String st[][]) { System.out.println("輸入學生信息:"); System.out.println("班級 學號 姓名 成績:數學 物理 化學"); //創建鍵盤輸入類 Scanner ss = new Scanner(System.in); for(int j = 0; j < 3; j++) { for(int i = 0; i < 6; i++) { st[j][i] = ss.next(); } } } //輸出方法 private STATIC void outputSt(String st[][]) { System.out.println("序號 班級 學號 姓名 成績:數學 物理 化學 總分 平均分"); //輸出學生信息 for(int j = 0; j < 3; j++) { System.out.print(j+1 + ":"); for(int i = 0; i < 8; i++) { System.out.printf("%6s", st[j][i]); } System.out.println(); } }     //計算方法     private STATIC void calculateSt(String[][] st)     {      int sum1 = 0;      int sum2 = 0; int sum3 = 0;      int ave1 = 0;      int ave2 = 0;      int ave3 = 0;      for(int i = 3; i < 6; i++)      {      sum1 += Integer.parseInt(st[0][i]);      }      ave1 = sum1/3;           for(int i = 3; i < 6; i++)      {      sum2 += Integer.parseInt(st[1][i]);      }      ave2 = sum2/3;           for(int i = 3; i < 6; i++)      {      sum3 += Integer.parseInt(st[2][i]);      }      ave3 = sum3/3;           st[0][6] = String.valueOf(sum1);      st[1][6] = String.valueOf(sum2);      st[2][6] = String.valueOf(sum3);      st[0][7] = String.valueOf(ave1);      st[1][7] = String.valueOf(ave2);      st[2][7] = String.valueOf(ave3);     } }

    標簽: java 數據庫

    上傳時間: 2017-03-17

    上傳用戶:simple

  • 一個按鍵控制的 10 級變速跑馬燈試驗

    在本課中,我們要用一個按鍵來實現跑馬燈的 10 級調速。這又會涉及到鍵的去抖的問 題。  本課的試驗結果是,每按一次按鍵,跑馬速度就降低一級,共 10 級。  這里我們又增加了一個變量 speedlever,來保存當前的速度檔次。  在按鍵里的處理中,多了當前檔次的延時值的設置。  請看程序:  ――――――――――――――――  #define uchar unsigned char //定義一下方便使用  #define uint unsigned int  #define ulong unsigned long  #include <reg52.h> //包括一個 52 標準內核的頭文件    sbit P10 = P1^0; //頭文件中沒有定義的 IO 就要自己來定義了  sbit P11 = P1^1;  sbit P12 = P1^2;  sbit P13 = P1^3;  sbit K1= P3^2;    bit ldelay=0; //長定時溢出標記,預置是 0  uchar speed=10; //設置一個變量保存默認的跑馬燈的移動速度  uchar speedlever=0; //保存當前的速度檔次    char code dx516[3] _at_ 0x003b;//這是為了仿真設置的  //一個按鍵控制的 10 級變速跑馬燈試驗  void main(void) // 主程序  {   uchar code ledp[4]={0xfe,0xfd,0xfb,0xf7};//預定的寫入 P1 的值   uchar ledi; //用來指示顯示順序   uint n;     RCAP2H =0x10; //賦 T2 的預置值 0x1000,溢出 30 次就是 1 秒鐘   RCAP2L =0x00;   TR2=1; //啟動定時器   ET2=1; //打開定時器 2 中斷   EA=1; //打開總中斷     while(1) //主程序循環   {   if(ldelay) //發現有時間溢出標記,進入處理   {   ldelay=0; //清除標記   P1=ledp[ledi]; //讀出一個值送到 P1 口   ledi++; //指向下一個   if(ledi==4)   {   ledi=0; //到了最后一個燈就換到第一個   }   }   if(!K1) //如果讀到 K1 為 0   {   for(n=0;n<1000;n++); //等待按鍵穩定   while(!K1); //等待按鍵松開   for(n=0;n<1000;n++); //等待按鍵穩定松開     speedlever++;   if(speedlever==10)speedlever=0;   speed=speedlever*3; //檔次和延時之間的預算法則,也可以用查表方法,做出 不規則的法則   }   }  }  //定時器 2 中斷  timer2() interrupt 5  {   STATIC uchar t;   TF2=0;   t++;     if((t==speed)||(t>30)) //比較一個變化的數值,以實現變化的時間溢出,同時限制了最慢速 度為 1 秒   {   t=0;   ldelay=1;//每次長時間的溢出,就置一個標記,以便主程序處理   }  }  ――――――――――――――――――――――   請打開 lesson11 目錄的工程,編譯,運行,看結果:  按 K1,速度則降低一次,總共 10 個檔次。 

    標簽: 10 按鍵控制 變速 跑馬燈

    上傳時間: 2017-11-06

    上傳用戶:szcyclone

  • 模擬 PWM 輸出控制燈的 10 個亮度級別

    LED 一般是恒流操作的,如何改變 LED 的亮度呢?答案就是 PWM 控制。在一定的 頻率的方波中,調整高電平和低電平的占空比,即可實現。比如我們用低電平點亮一個 LED 燈,我們假設把一個頻率周期分為 10 個時間等份,如果方波中的高低電平占空比是 9:1, 這是就是一個比較暗的亮度,如果方波中高低電平占空比是 10:0,這時,全部是高電平, 燈是滅的。如果占空比是 5:5,就是一個中間亮度,如果高低比是 1:9,是一個比較亮的 亮度,如果高低是 0:10,這時全部是低電平,就是最亮的。  實際上應用中,電視屏幕墻中的幾十百萬 LED 象素都是這樣控制的,而且每一個象素 都有紅綠藍 3 個 LED,每個 LED 可以變化的亮度是幾百到幾萬或者更多的級別,以實現真 彩色的顯示。還有在您的手機中,背光燈的亮度如果是可以變化的,也應該是這種工作方式。 目前的城市彩燈也有很多都使用了 LED,需要控制亮度是也是 PWM 控制。  下面來分析我們的例程,在這個例程中,我們將定時器 2 溢出定為 1/1200 秒。每 10 次脈沖輸出一個 120HZ 頻率。這每 10 次脈沖再用來控制高低電平的 10 個比值。這樣,在 每個 1/120 秒的方波周期中,我們都可以改變方波的輸出占空比,從而控制 LED 燈的 10 個 級別的亮度。  為什么輸出方波的頻率要 120HZ 這么高?因為如果頻率太低,人眼就會看到閃爍感 覺。一般起碼要在 60HZ 以上才感覺好點,120HZ 就基本上看不到閃爍,只能看到亮度的變 化了。  下面請看程序,程序中有比較多的注釋:  ―――――――――――――――――――――――  #define uchar unsigned char //定義一下方便使用  #define uint unsigned int  #define ulong unsigned long  #include <reg52.h> //包括一個 52 標準內核的頭文件    sbit P10 = P1^0; //要控制的 LED 燈  sbit K1= P3^2; //按鍵 K1    uchar scale;//用于保存占空比的輸出 0 的時間份額,總共 10 份    char code dx516[3] _at_ 0x003b;//這是為了仿真設置的  //模擬 PWM 輸出控制燈的 10 個亮度級別  void main(void) // 主程序  {   uint n;     RCAP2H =0xF3; //賦 T2 的預置值,溢出 1 次是 1/1200 秒鐘   RCAP2L =0x98;   TR2=1; //啟動定時器   ET2=1; //打開定時器 2 中斷   EA=1; //打開總中斷   while(1) //程序循環   { ;//主程序在這里就不斷自循環,實際應用中,這里是做主要工作   for(n=0;n<50000;n++); //每過一會兒就自動加一個檔次的亮度   scale++;   if(scale==10)scale=0;   }  }  //1/1200 秒定時器 2 中斷  timer2() interrupt 5  {   STATIC uchar tt; //tt 用來保存當前時間在一秒中的比例位置   TF2=0;     tt++;   if(tt==10) //每 1/120 秒整開始輸出低電平   {   tt=0;     if(scale!=0) //這里加這一句是為了消除滅燈狀態產生的鬼影   P10=0;   }     if(scale==tt) //按照當前占空比切換輸出高電平   P10=1;    }  ――――――――――――――――――  在主程序中,每延時一段時間,就自動換一個占空比,以使亮度自動變化,方便觀察。  編譯,運行,看結果。  可以看到,LED 的亮度以每種亮度 1 秒左右不斷變化,共有 10 個級別。

    標簽: PWM 10 模擬 控制燈 亮度 輸出

    上傳時間: 2017-11-06

    上傳用戶:szcyclone

  • java入門編程合集

    題目:古典問題:有一對兔子,從出生后第3個月起每個月都生一對兔子,小兔子長到第三個月后每個月又生一對兔子,假如兔子都不死,問每個月的兔子總數為多少?    //這是一個菲波拉契數列問題 public class lianxi01 { public STATIC void main(String[] args) { System.out.println("第1個月的兔子對數:    1"); System.out.println("第2個月的兔子對數:    1"); int f1 = 1, f2 = 1, f, M=24;      for(int i=3; i<=M; i++) {       f = f2;       f2 = f1 + f2;       f1 = f;       System.out.println("第" + i +"個月的兔子對數: "+f2);          } } } 【程序2】    題目:判斷101-200之間有多少個素數,并輸出所有素數。 程序分析:判斷素數的方法:用一個數分別去除2到sqrt(這個數),如果能被整除, 則表明此數不是素數,反之是素數。    public class lianxi02 { public STATIC void main(String[] args) {     int count = 0;     for(int i=101; i<200; i+=2) {      boolean b = false;      for(int j=2; j<=Math.sqrt(i); j++)      {         if(i % j == 0) { b = false; break; }          else           { b = true; }      }         if(b == true) {count ++;System.out.println(i );}                                   }     System.out.println( "素數個數是: " + count); } } 【程序3】    題目:打印出所有的 "水仙花數 ",所謂 "水仙花數 "是指一個三位數,其各位數字立方和等于該數本身。例如:153是一個 "水仙花數 ",因為153=1的三次方+5的三次方+3的三次方。 public class lianxi03 { public STATIC void main(String[] args) {      int b1, b2, b3; 

    標簽: java 編程

    上傳時間: 2017-12-24

    上傳用戶:Ariza

  • SmartCitiesTheInternetofThings,PeopleandSystems

    The contemporary view of the Smart City is very much STATIC and infrastructure- centric, focusing on installation and subsequent management of Edge devices and analytics of data provided by these devices. While this still allows a more efficient management of the city’s infrastructure, optimizations and savings in different do- mains, the existing architectures are currently designed as single-purpose, vertically siloed solutions. This hinders active involvement of a variety of stakeholders (e.g., citizens and businesses) who naturally form part of the city’s ecosystem and have an inherent interest in jointly coordinating and influencing city-level activities.

    標簽: Internet Systems Cities People Things Smart The and of

    上傳時間: 2020-05-26

    上傳用戶:shancjb

  • Emerging Technologies in Wireless LANs Theory

    Wireless Fidelity (Wi-Fi) networks have become mainstream over the last few years. What started out as cable replacement for STATIC desktops in indoor networks has been extended to fully mobile broadband applications involving moving vehicles, high-speed trains, and even airplanes. 

    標簽: Technologies Emerging Wireless Theory LANs in

    上傳時間: 2020-05-27

    上傳用戶:shancjb

主站蜘蛛池模板: 女性| 昆明市| 平邑县| 紫金县| 灵武市| 舟曲县| 崇仁县| 东阿县| 静海县| 平江县| 平乡县| 芜湖县| 崇义县| 福建省| 肇庆市| 承德县| 南川市| 建水县| 湘潭市| 象州县| 洛隆县| 岳阳县| 汤阴县| 乌恰县| 枞阳县| 宿松县| 靖安县| 辉县市| 隆子县| 全南县| 繁昌县| 红桥区| 高尔夫| 和田市| 波密县| 扎赉特旗| 汝城县| 福州市| 枣阳市| 枣庄市| 满洲里市|