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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? coding_guidelines.txt

?? simulator for ad hoc
?? TXT
字號:
-----------------------------------------------------------------------FILENAME: CodingGuidelinesPURPOSE:  This file gives the coding guidelines for all          coding in GloMoSim. We encourage people to          contribute their code, and this coding guidelines          help us integrate any code into the GloMoSim          distribution as well as improve the readability          and maintainability of the entire code. The rules          are simple and flexible, but if you find something          annoying, please let us know.AUTHORS:  Jay Martin          Lokesh Bajaj-----------------------------------------------------------------------CHANGES:Version 1.0 (9/1/99)-- The guidelines are loosened a bit.-- GloMoSim legalese header is now tacked on by the release scripts,    no longer needed in every file.  -----------------------------------------------------------------------Here are the coding guidelines:General:   In general, try to emulate the coding style of the sourcefile you are modifying so as that it looks somewhat consistent(or modify it to make it fairly consistent).  New subsystemsource and source code from outside can be more varied.  Also, the purpose of these guidelines is to provide readabilityand informative comments and not win any "Most Anal Code FormattingAwards".Naming:   Use long, descriptive and easily read procedure and variable names.   Try not to use abbreviations or encodings.   Use real words   in variable names like "Header" not "Hdr".  Single character names   are highly discouraged except for loop counters and stuff.   -- Use  "YadaYadaYada" or "yadaYadaYada" or "yada_yada_yada" or       "Yada_Yada_Yada" capitalization styles for identifiers.           -- Macro constants should be upper case letters with underlines.   -- Identifiers for functions performing an action should contain        a verb, for example, InitializeValues, CreateQueue etc.   -- Identifiers for boolean functions or variables should have       "Is" or "Has" in their name.  For example, IsOccupied.   -- Don't start identifiers with "_" (like "_Yada") as this      usually means that it is a special system identifier.        While we at it, don't end with a "_" either.Line Lengths:   Do not use more than 80 column width as wrapped lines are very   difficult to read. (We can can bump this limit to 90 or 100 or   whatever but we need have a hard top limit so that we set our   window widths and determine printer fonts.)No Multiple Statements per line:   In general, do not write more than one statement on each line.  Try   not to use gratuitous side-effects in expressions, i.e. "i++" when   that could be put on the next line by itself.Commenting:   Parsec can now do superior C++ style comments, i.e. "// Yada <eol>.   So you can use either /* */ or // comments.   -- Block Comments. Block comments are on separate lines from      code. They are indented to the same level as the code they are      in. Here's the format for block comments:      //      // This is a block comment. First line.      // This is a block comment. Second line.      // This is a block comment. Third line.      // This is a block comment. Fourth line.      //   or      /*       * This is a block comment. First line.       * This is a block comment. Second line.       * This is a block comment. Third line.       * This is a block comment. Fourth line.       */Recommended Layout Of Source Files:   -- There should be a block comment giving the filename,       its purpose, and perhaps a revision history.      -- For header files, there should always be a       #ifndef HEADERFILE_H, #define HEADERFILE_H, #endif      block around the header to allow for multiple includes.   -- If a header file depends on another header file then it should      be explicitly #include'ed instead of depending on compilation      order.   -- Organize source files into a logical order, for example,       group related functions together, etc.   -- Functions, types and macros that are only used      in a single file should be declared "static"       and put in the source file and not in a header      file.   -- Functions, types and macros that are used by other source      files must be declared in a header.        Function Commenting:    Precede every prototype by a block comment containing the function    name, a description of its purpose, what it returns and the    assumptions it makes. Optionally, you may also list each argument    and its effect if not already obvious from the description. For    Example:    //     // FUNCTION:     IsEmptyQueue()    // PURPOSE:      Checks if the queue is empty.     // RETURN VALUE: Returns True if the queue is empty    // ASSUMPTIONS:  None.    //Indentation:   Each nested piece of code should be indented by four(4) spaces.   TAB characters are not allowed and will be removed by the "expand"   command. For emacs, put "(setq-default indent-tabs-mode nil)" in   your ".emacs" file to eliminate TAB characters.  (Jay: I may have   an "editathon" and reduce this to 3 spaces (you will need the   extra space for all the long variable names you are going   to write)).   Various approved indentation styles:      while (ptr != NULL) {          ptr->data = 0;          ptr = ptr->next;      }        or       while ((ptr != NULL) && ....................................))        {         ptr->data = 0;         ptr = ptr->next;      }   or      while ((Long___________________Expression) &&             (Another_Long___________Expression) &&             (Another_Long___________Expression))       {          // Code      }            // Note for complex expressions match the parenthesis level above.       and         Just like "while" but has an "else" style:      if (.....) {          Statement      }      else {          Statement      }           or           if (.....) {          Statement      } else {          Statement      }   and       do {          statement1;          statement2;      } while (BooleanCondition);   and      switch () {      case 1: {          ...          break;      }      case 2: {          ...          break:      }      default: {          Write Error.          abort();      }      }//switch//     and       FunctionName(Parm1, Parm2, Parm3);        or      FunctionName(          Parm1, Parm2, Parm3);   or      FunctionName(          Parm1,          Parm2,          Parm3);              or             FunctionName(Parm1,     // The problem with this style is withlong                   Parm2,     // identifier names and changing function                    Parm3);    // names.                      ********* Annoying indentation styles we don't want to see **********   ********* (To be added as we see them)                    **********      if (Condition)  //*** Nope!            {          }              if (Condition)  //*** Nope. Use braces on if's (see below).         Statement;Always Use Braces On if/else, while, for, etc. Statements:      Like the title says.Switch Default Case:   In switch-statements, the default case is not enforced by the   language. But it should always be included. The default case can   sometimes be used to signal an error.Don't excessively rely on C's operator precedence levels.      If the code would be confusing to a C newbie, then add parenthesis.   This of course must be balanced against possible negative readability    consequences of having too many parenthesis.       Parenthesize all parameters in macros:   BAD:  #define SQUARE(x)   x*x   GOOD: #define SQUARE(x)   ((x)*(x))   (A basic C gottcha). Use enumerated constants to give names to a set of flags:   BAD:        #define  INTEGER    0        #define  CHAR       1        #define  FLOAT      2        #define  DOUBLE     3   GOOD:        typedef enum {            Integer,            Char,            Float,            Double        } DataType;   There is less of a reason to use enumerated types when the   values must be specific integer values set by a network standard.       Portability on NT-----------------1. In Windows NT there is no  <strings.h> header file. So, this shouldnot be used. <string.h> though is a valid include file on NT.2. Also, <values.h> is not a valid include file on NT. 3.   NT does not have  {d,  e, l, n}rand48()   since they are not ANSIstandard functions. Replacing  {e, n}rand48() with  pc_{e, n}rand() isstraightforward because  these   two take   seeds,  but changing   {d,l}rand48() to pc_{e, n}rand() is a lot of work. But because Lokesh putseeds for every node, changing unseeded functions to seeded ones mightbe easier in the new framework.4. Functions like bcopy() and bzero() are non-ANSI standard functionsand should not be used. Instead use the functions memcpy() and memset()which are ANSI standard functions.Converting bcopy() and bzero() is straightforward:bcopy(A, B, C) = memcpy(B, A, C)bzero(A, B)    = memset(A, 0, B)5. The only thing required for Visual C++ is to change the declarationof packed structures. Visual C++ does not compile the following declaration that is valid in ANSI standard:struct PackedType {    char a:4;  /* this field has only 4 bits */    char b:4;  /* this field has only 4 bits */    char c;    /* this field has 8 bits */}; /* the size of this structure is 16 bits */

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
在线看国产日韩| 麻豆精品在线看| 色妹子一区二区| 一区二区不卡在线视频 午夜欧美不卡在| 国产成人精品三级麻豆| 亚洲电影视频在线| 青椒成人免费视频| 成人涩涩免费视频| 日韩欧美色电影| 国产一区二三区好的| 亚洲国产精品黑人久久久| 一本到三区不卡视频| 亚洲成av人片一区二区| 精品88久久久久88久久久| 国产成人av电影在线观看| 亚洲视频精选在线| 91.成人天堂一区| 国产激情视频一区二区在线观看 | 欧美一区二区性放荡片| 国产一区二区三区高清播放| 亚洲欧洲三级电影| 日韩欧美亚洲国产精品字幕久久久| 久久se精品一区精品二区| 国产欧美一区二区精品久导航| 91蜜桃免费观看视频| 日韩中文字幕亚洲一区二区va在线| 色狠狠av一区二区三区| 精品一区二区三区免费视频| 色婷婷精品久久二区二区蜜臀av| 日日摸夜夜添夜夜添国产精品| 久久一区二区三区四区| 日本高清不卡aⅴ免费网站| 麻豆国产91在线播放| 亚洲视频 欧洲视频| 日韩欧美一区在线| 色先锋aa成人| 国产成人精品综合在线观看| 亚洲va欧美va国产va天堂影院| www精品美女久久久tv| 欧美专区在线观看一区| 国产91综合一区在线观看| 亚洲高清免费观看高清完整版在线观看| 久久综合色播五月| 91.xcao| 一本大道av一区二区在线播放| 韩日精品视频一区| 香蕉av福利精品导航| 国产精品麻豆99久久久久久| 337p粉嫩大胆色噜噜噜噜亚洲| 欧美日韩一区二区三区高清| 欧美一区二区国产| 91麻豆国产精品久久| 欧美一区三区二区| 久久国产精品99精品国产| 日韩毛片精品高清免费| 久久久综合九色合综国产精品| 欧美日韩在线直播| 91久久精品一区二区三区| 成人激情av网| 国产盗摄一区二区| 九色综合狠狠综合久久| 午夜视频在线观看一区二区| 亚洲欧洲制服丝袜| 国产精品欧美一级免费| 久久综合九色欧美综合狠狠| 日韩一级在线观看| 欧美精品在欧美一区二区少妇| 色呦呦国产精品| 不卡一区中文字幕| 成人免费观看视频| 国产成人免费xxxxxxxx| 国产一区不卡精品| 国产麻豆午夜三级精品| 琪琪一区二区三区| 麻豆91免费看| 91精品国产综合久久蜜臀| 国产精品一区久久久久| 久久综合av免费| 成人性生交大合| 成人免费视频视频| 国产一区二区毛片| 国产成人午夜片在线观看高清观看| 极品少妇xxxx偷拍精品少妇| 激情久久久久久久久久久久久久久久| 麻豆成人综合网| 国内外精品视频| 成人午夜又粗又硬又大| 99精品久久只有精品| 91丨九色porny丨蝌蚪| 色域天天综合网| 欧美日韩国产另类不卡| 91精品中文字幕一区二区三区 | 成人精品鲁一区一区二区| 国产成人精品亚洲日本在线桃色| 成人午夜电影小说| 色域天天综合网| 在线播放一区二区三区| 日韩美女在线视频| 久久久久久久久岛国免费| 欧美三级视频在线播放| 91福利精品第一导航| 欧美男人的天堂一二区| 精品国产百合女同互慰| 欧美高清在线精品一区| 一区二区视频在线| 日本不卡不码高清免费观看| 国产麻豆精品在线观看| 99久久精品免费看国产| 欧美精品久久一区二区三区| 日韩欧美精品在线| 国产精品久久久久9999吃药| 五月婷婷综合网| 国产高清不卡一区| 在线观看免费一区| 精品国内二区三区| 亚洲欧美一区二区三区国产精品| 亚洲地区一二三色| 高清在线成人网| 91精品国产免费久久综合| 国产网红主播福利一区二区| 亚洲国产毛片aaaaa无费看 | 五月婷婷色综合| 国产99久久久久| 制服.丝袜.亚洲.另类.中文| 国产日韩精品一区二区三区在线| 夜夜亚洲天天久久| 国产精品亚洲专一区二区三区| 91丨porny丨蝌蚪视频| 日韩一区二区三区高清免费看看| 国产喷白浆一区二区三区| 日韩精品一级二级| 99免费精品在线观看| 日韩视频免费直播| 亚洲地区一二三色| 色综合久久综合中文综合网| 亚洲精品一区二区三区福利 | 极品少妇xxxx精品少妇| 91久久精品一区二区二区| 国产精品丝袜一区| 美女网站在线免费欧美精品| 色婷婷国产精品久久包臀| 久久精品在这里| 韩国成人福利片在线播放| 91精品国产综合久久精品| 亚洲一区国产视频| 色综合久久久久网| 国产精品亲子伦对白| 国产精品资源在线观看| 欧美α欧美αv大片| 一二三四区精品视频| 不卡欧美aaaaa| 精品少妇一区二区三区视频免付费 | 日韩精品在线网站| 国产精品久久久久久久久免费樱桃| 久久激情综合网| 欧美日韩激情在线| 亚洲蜜桃精久久久久久久| 精品一区二区综合| 欧美一二三区精品| 亚洲图片欧美色图| 成人精品一区二区三区四区 | 欧美日韩亚洲综合| 伊人性伊人情综合网| 国产经典欧美精品| 欧美mv日韩mv亚洲| 婷婷综合久久一区二区三区| 欧美日本视频在线| 亚洲欧美激情视频在线观看一区二区三区 | 亚洲国产日日夜夜| a级精品国产片在线观看| 久久综合久色欧美综合狠狠| 国产精品亚洲成人| 久久蜜臀精品av| 激情成人综合网| 精品日韩欧美一区二区| 激情亚洲综合在线| 精品理论电影在线| 久久er99热精品一区二区| 色哦色哦哦色天天综合| 午夜精品福利一区二区蜜股av | 精品国产一区二区精华| 日韩国产在线观看一区| 欧美日韩中文另类| 亚洲最新在线观看| 日本高清不卡视频| 一区二区三区精品视频在线| 欧美亚洲动漫精品| 免费观看一级特黄欧美大片| 337p亚洲精品色噜噜狠狠| 视频一区二区中文字幕| 在线成人av网站| 精品亚洲免费视频| 久久久精品国产免大香伊| 韩国毛片一区二区三区| 久久综合色播五月| 欧美在线观看一区| 五月激情综合网| 欧美α欧美αv大片| 丁香婷婷综合网| 国产精品久久久久久久久晋中|