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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? esig_asc.c

?? 隱馬爾科夫模型工具箱
?? C
?? 第 1 頁 / 共 5 頁
字號:
      return FALSE;   name[i] = '\0';   if (ch != EOF)      ungetc(ch, file);   code = TypeCode(name);   if (code == 0)      return FALSE;   *type = code;   return TRUE;}/* * Read a possibly empty sequence of unsigned longs (typically * array dimensions) from file.  If it's nonempty, allocate an * array to hold the values.  Assign to *rank the number of values * read.  Assign to *dim a pointer to the allocated array, if any, * or NULL if the sequence was empty.  (But if rank or dim is NULL, * omit the corresponding assignment.)  Return TRUE for success, * FALSE for error. */static intReadAsciiDims(short *rank, long **dim, FILE *file){   long    d;   long    *dd;   int     r;   /*! Check for overflow.  fscanf doesn't, and Sun's strtol doesn't. */   if (!ReadSpace(file) || fscanf(file, "%lu", &d) != 1)      {         r = 0;         dd = NULL;      }   else      {         dd = (long *) malloc(sizeof(*dd));         if (dd == NULL)            return FALSE;         dd[0] = d;         for (r = 1;              ReadSpace(file) && fscanf(file, "%lu", &d) == 1;              r++)            {               dd = (long *) realloc(dd, (r + 1) * sizeof(*dd));               if (dd == NULL)                  return FALSE;               dd[r] = d;            }      }   if (rank != NULL)      *rank = r;   if (dim != NULL)      *dim = dd;   return TRUE;}/* * Read Ascii representations of the miscellaneous attributes * (units, scale, offset, axis_names) from file, and output the * values found by assignment to the variables *units, *scale, *offset, * and *axis_names (if defined).  If no explicit representation * for an attribute is found, omit the corresponding assignment. * (The caller is assumed to have assigned default values to the * variables before calling ReadAsciiMisc).  If any of the arguments * units, scale, offset, and axis_names is NULL, omit the corresponding * assignment.  Return TRUE upon success and FALSE in case of error. */static intReadAsciiMisc(int rank, char **units, double *scale,              double *offset, char ***axis_names, FILE *file){   /*    * Length of longest attribute name ("axis_names"), including    * terminal null character.    */#define MAX_ATTR        11   char    attr[MAX_ATTR];   int     ch;   int     i;   char    *un;   double  sc;   double  offsetr;   char    **ax;   char    got_units = FALSE;   char    got_scale = FALSE;   char    got_offset = FALSE;   char    got_axis_names = FALSE;   ch = GetNonSpace(file);   if (ch != '{')      {         ungetc(ch, file);         return TRUE;      }   do {      ch = GetNonSpace(file);      for (i = 0; i < MAX_ATTR && (islower(ch) || ch == '_'); i++)         {            attr[i] = ch;            ch = getc(file);         }      if (i == MAX_ATTR)         return FALSE;      attr[i] = '\0';      ch = SkipSpace(ch, file);      if (ch != ':')         return FALSE;      if (strcmp(attr, "units") == 0)         {            if (!got_units++                && ReadAsciiString(&un, file))               {                  if (units != NULL)                     *units = un;               }            else               return FALSE;         }      else if (strcmp(attr, "scale") == 0)         {            if (!got_scale++                && ReadAsciiDouble(&sc, file))               {                  if (scale != NULL)                     *scale = sc;               }            else               return FALSE;         }      else if (strcmp(attr, "offset") == 0)         {            if (!got_offset++                && ReadAsciiDouble(&offsetr, file))               {                  if (offset != NULL)                     *offset = offsetr;               }            else               return FALSE;         }      else if (strcmp(attr, "axis_names") == 0)         {            if (!got_axis_names++                && ReadAsciiAxisNames(&ax, rank, file))               {                  if (axis_names != NULL)                     *axis_names = ax;               }            else               return FALSE;         }      else         return FALSE;      ch = GetNonSpace(file);   } while (ch == ';');   if (ch != '}')      return FALSE;   return TRUE;#undef MAX_ATTR}/* * Read from file a string constant consisting of Ascii printing characters * and including surrounding double quote characters("").  Interpret escape * sequences \\, \?, \', and \"  by removing the backslash.  Allocate space * to hold the string value, including terminating null character.  Store * a pointer to the string in the variable whose address is given by * string (unless string is NULL).  Return TRUE on success, FALSE on * failure. */static intReadAsciiString(char **string, FILE *file){   int     ch;   char    *str = NULL;   long    alloc_len = 0;   long    len = 0;   ch = GetNonSpace(file);   if (ch != '"')      return FALSE;   for (ch = getc(file); isprint(ch) && ch != '"'; ch = getc(file))      {         if (ch == '\\')            {               ch = getc(file);               switch (ch)                  {                  case '\\':    /* fall through */                  case '?':     /* fall through */                  case '\'':    /* fall through */                  case '"':                     if (!AddChar(ch, &str, &alloc_len, &len))                        return FALSE;                     break;                  default:                     free(str);                     return FALSE;                  }            }         else if (!AddChar(ch, &str, &alloc_len, &len))            return FALSE;      }   if (ch != '"' || !AddChar('\0', &str, &alloc_len, &len))      {         free(str);         return FALSE;      }   if (string != NULL)      *string = str;   return TRUE;}/* * Read a floating-point constant (with optional leading whitespace) * from file and assign the value to the variable whose address * is given by x. */static intReadAsciiDouble(double *x, FILE *file){   return (ReadOptSpace(file) && fscanf(file, "%lf", x) == 1);}/* * Read from file a comma-separated list with at most "rank" members, * each of which is either a C identifier or empty.  (This construct * occurs in the Ascii form of a specification for the miscellaneous * field attribute "axis_names".)  Allocate a pointer array of length * rank (or NULL if rank is 0) and assign to its elements: * - a string pointer for each identifier on the list, * - a NULL for each empty member of the list * - a NULL for each array position beyond the end of the list. * Store a pointer to the array (or NULL) in the variable whose * address is given by "axis_names" (unless that argument is NULL). * Return TRUE for success, FALSE for failure. */static intReadAsciiAxisNames(char ***axis_names, int rank, FILE *file){   char    **ax;   int     ch;   char    *str;   long    len;   long    alloc_len;   int     i;   if (rank == 0)      {         ax = NULL;         ch = GetNonSpace(file);         if (isalpha(ch) || ch == '_' || ch == ',')            return FALSE;      }   else      {         ax = (char **) malloc(rank * sizeof(*ax));         if (ax == NULL)            return FALSE;         i = 0;         do {            ch = GetNonSpace(file);            if (isalpha(ch) || ch == '_')               {                  str = NULL;                  len = 0;                  alloc_len = 0;                  if (!AddChar(ch, &str, &alloc_len, &len))                     {                        FreeAxisNames(ax, rank);                        return FALSE;                     }                  for (ch = getc(file);                       isalnum(ch) || ch == '_';                       ch = getc(file))                     {                        if (!AddChar(ch, &str, &alloc_len, &len))                           {                              FreeAxisNames(ax, rank);                              return FALSE;                           }                     }                  if (!AddChar('\0', &str, &alloc_len, &len))                     {                        FreeAxisNames(ax, rank);                        return FALSE;                     }                  ax[i] = str;                  ch = SkipSpace(ch, file);               }            else               ax[i] = NULL;            i++;         } while (ch == ',' && i < rank);         if (ch == ',')            {               FreeAxisNames(ax, rank);               return FALSE;            }         else            for ( ; i < rank; i++)               ax[i] = NULL;      }   ungetc(ch, file);   if (axis_names != NULL)      *axis_names = ax;   return TRUE;}/* * Read from file an "occurrence" construct (which occurs in Ascii field * specifications: <g>, <r>, <o>, <v), or <i>.  Assign the corresponding code * (GLOBAL, REQUIRED, OPTIONAL, VIRTUAL, or INCLUDED) to the variable * whose address is occurrence (unless that argument is NULL). * Return TRUE for success, FALSE for failure. */static intReadAsciiOccurrence(short *occurrence, FILE *file){   int     ch;   int     occ;   ch = GetNonSpace(file);   if (ch != '<')      return FALSE;   switch (getc(file))      {      case 'g':         occ = GLOBAL;         break;      case 'r':         occ = REQUIRED;         break;      case 'o':         occ = OPTIONAL;         break;      case 'v':         occ = VIRTUAL;         break;      case 'i':         occ = INCLUDED;         break;      default:         return FALSE;      }   if (getc(file) != '>')      return FALSE;   if (occurrence != NULL)      *occurrence = occ;   return TRUE;}/* * Read from "file" a sequence of length "length" of values of data * type "type" (in Ascii representation); store the results starting * at the location indicated by "datap".  Return the number of values * successfully read, which will be less than "length" in case of * error. */static intAsciiRead(void  *datap,          int   type,          long  length,          FILE  *file){   long    j;   int     ch;   if (length == 0)      return TRUE;   if (!ReadOptSpace(file))      return 0;   j = 0;   switch (type)      {      case ARRAY:         {            Array   *data = (Array *) datap;            do {               ch = getc(file);               if (ch != '(')                  return j;               if (!ReadOptSpace(file)                   || !ReadAsciiArray(&data[j], file))                  {                     return j;                  }               ch = GetNonSpace(file);               if (ch != ')')                  return j;            } while (++j < length && ReadSpace(file));         }         break;      case DOUBLE:         {            double  *data = (double *) datap;            do {               if (fscanf(file, "%lf", &data[j]) != 1)                  return j;            } while (++j < length && ReadSpace(file));         }         break;      case FLOAT:         {            float   *data = (float *) datap;            do {               if (fscanf(file, "%f", &data[j]) != 1)                  return j;            } while (++j < length && ReadSpace(file));         }         break;      case LONG:         {            long    *data = (long *) datap;            do {               if (fscanf(file, "%ld", &data[j]) != 1)                  return j;

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲成人你懂的| 国产精品久久久久久久久图文区| 亚洲制服丝袜一区| 一道本成人在线| 亚洲成国产人片在线观看| 欧美色倩网站大全免费| 奇米精品一区二区三区在线观看 | 777久久久精品| 五月天激情综合| 日韩一区二区电影| 国产成人自拍在线| 一区二区三区不卡视频在线观看| 欧美理论电影在线| 国产精品一线二线三线| 伊人开心综合网| 欧美一区二区三区免费大片| 久草热8精品视频在线观看| 国产欧美综合在线观看第十页 | 亚洲精品免费在线播放| 91麻豆精品国产91| 国产91对白在线观看九色| 亚洲欧美另类小说视频| 欧美一区日本一区韩国一区| 国产a久久麻豆| 亚洲成a人片在线观看中文| 欧美精品一区二区久久久| 91日韩一区二区三区| 美女一区二区三区| 一色桃子久久精品亚洲| 日韩精品一区二区三区四区视频| 国产91高潮流白浆在线麻豆| 五月激情丁香一区二区三区| 国产日产欧美精品一区二区三区| 欧美性一二三区| 国产91色综合久久免费分享| 午夜精品爽啪视频| 欧美激情一区二区三区不卡| 678五月天丁香亚洲综合网| 国产成人在线免费观看| 日本美女视频一区二区| 综合av第一页| 国产嫩草影院久久久久| 91精品国产欧美一区二区成人| 成人综合在线网站| 久久精品国产精品亚洲综合| 洋洋av久久久久久久一区| 国产精品色婷婷| 精品久久久三级丝袜| 欧美日韩免费一区二区三区| 成人黄色软件下载| 国产一本一道久久香蕉| 免费观看一级特黄欧美大片| 亚洲一区二区三区中文字幕在线 | 琪琪久久久久日韩精品| 中文一区二区在线观看| 日韩精品一区二区三区四区 | 风间由美一区二区av101| 久久国产精品免费| 美女视频黄 久久| 免费av成人在线| 男人的天堂亚洲一区| 亚洲小说欧美激情另类| 亚洲精品一二三| 亚洲女同ⅹxx女同tv| 中文字幕五月欧美| 中文字幕在线不卡视频| 国产精品美女久久久久av爽李琼| 久久综合色综合88| 精品国偷自产国产一区| 日韩欧美视频一区| 欧美一区二区三区爱爱| 欧美一级黄色录像| 日韩一区二区三区电影在线观看 | 欧美亚洲另类激情小说| 91天堂素人约啪| 91香蕉视频黄| 色综合中文字幕| 色婷婷久久99综合精品jk白丝| 一本久道久久综合中文字幕 | 欧美久久久一区| 91麻豆精品国产91久久久 | 欧美一区二区大片| 欧美高清一级片在线| 欧美疯狂做受xxxx富婆| 制服丝袜av成人在线看| 欧美一区二区三区视频在线观看| 欧美精品成人一区二区三区四区| 欧美性生活大片视频| 69p69国产精品| 精品国产成人系列| 国产日产欧产精品推荐色| 国产日韩成人精品| 亚洲男人都懂的| 午夜精品久久久久久久| 美女视频黄久久| 国产69精品久久99不卡| av欧美精品.com| 在线观看不卡一区| 91精品国产入口在线| 精品国产成人在线影院 | 性做久久久久久久久| 美女一区二区久久| 高清不卡在线观看av| 99久久久精品| 91麻豆精品国产91久久久资源速度 | 亚洲图片欧美视频| 奇米影视在线99精品| 国产成a人亚洲| 欧洲日韩一区二区三区| 精品少妇一区二区三区免费观看| 国产欧美日产一区| 亚洲丶国产丶欧美一区二区三区| 日韩电影在线免费看| 懂色av中文字幕一区二区三区 | 国产精品乱码一区二三区小蝌蚪| 伊人婷婷欧美激情| 久久精品国产精品亚洲红杏| 91免费观看在线| 欧美一二三四区在线| 国产精品另类一区| 三级欧美韩日大片在线看| 国产69精品久久777的优势| 欧美日韩电影一区| 亚洲国产精品精华液2区45| 午夜国产不卡在线观看视频| 国产成人午夜精品影院观看视频 | 国产日本欧美一区二区| 亚洲成人免费在线观看| 成人毛片视频在线观看| 欧美区一区二区三区| 国产精品久久久久9999吃药| 日韩成人免费看| 日本国产一区二区| 国产午夜亚洲精品不卡| 日日夜夜免费精品视频| 色综合激情五月| 日本一区二区动态图| 麻豆一区二区在线| 欧美日韩成人综合| 亚洲欧美日韩国产手机在线| 国产丶欧美丶日本不卡视频| 欧美人妇做爰xxxⅹ性高电影| 亚洲欧洲日韩在线| 国产美女久久久久| 日韩精品一区二区三区蜜臀| 亚洲国产精品一区二区久久| www.欧美亚洲| 中文字幕高清不卡| 国产精品99久久久久久久女警 | 99国产精品视频免费观看| 久久精品一区二区三区av| 久久丁香综合五月国产三级网站| 欧美视频一区二区在线观看| 国产精品久久久久久久裸模 | 亚洲一区二区在线观看视频| av激情成人网| 国产精品乱码人人做人人爱| 国产真实精品久久二三区| 日韩一区二区在线观看视频| 亚洲欧美偷拍卡通变态| 本田岬高潮一区二区三区| 国产亚洲一区字幕| 国产揄拍国内精品对白| 2014亚洲片线观看视频免费| 精一区二区三区| 在线综合亚洲欧美在线视频| 日韩成人精品在线| 91精品久久久久久久久99蜜臂| 亚洲国产乱码最新视频 | 欧美高清视频不卡网| 婷婷开心激情综合| 欧美日韩你懂得| 日本亚洲电影天堂| 精品免费日韩av| 国产成人精品免费看| 中文字幕五月欧美| 日本久久精品电影| 亚洲一区在线电影| 欧美日韩国产影片| 免费精品视频最新在线| 精品国产乱码久久久久久夜甘婷婷| 九九视频精品免费| 久久久国产综合精品女国产盗摄| 国产99久久久国产精品潘金| 欧美国产精品一区二区三区| 99久久伊人精品| 亚洲福利视频一区二区| 欧美日本国产视频| 激情久久五月天| 国产精品欧美极品| 在线视频国产一区| 蜜芽一区二区三区| 欧美激情中文字幕一区二区| 色吊一区二区三区| 天天影视网天天综合色在线播放| 欧美一区二区三区精品| 国产成人鲁色资源国产91色综 | 欧美一区二区成人6969| 粗大黑人巨茎大战欧美成人| 玉足女爽爽91|