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

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

?? rulebin.c

?? clips源代碼
?? C
?? 第 1 頁 / 共 3 頁
字號:
           (DefruleBinaryData(theEnv)->NumberOfLinks * sizeof(struct bsaveJoinLink)) +           (DefruleBinaryData(theEnv)->NumberOfDefruleModules * sizeof(struct bsaveDefruleModule));   GenWrite(&space,sizeof(size_t),fp);   /*===============================================*/   /* Write out each defrule module data structure. */   /*===============================================*/   DefruleBinaryData(theEnv)->NumberOfDefrules = 0;   for (theModule = (struct defmodule *) EnvGetNextDefmodule(theEnv,NULL);        theModule != NULL;        theModule = (struct defmodule *) EnvGetNextDefmodule(theEnv,theModule))     {      EnvSetCurrentModule(theEnv,(void *) theModule);      theModuleItem = (struct defruleModule *)                      GetModuleItem(theEnv,NULL,FindModuleItem(theEnv,"defrule")->moduleIndex);      AssignBsaveDefmdlItemHdrVals(&tempDefruleModule.header,                                           &theModuleItem->header);      GenWrite(&tempDefruleModule,sizeof(struct bsaveDefruleModule),fp);     }   /*========================================*/   /* Write out each defrule data structure. */   /*========================================*/   for (theModule = (struct defmodule *) EnvGetNextDefmodule(theEnv,NULL);        theModule != NULL;        theModule = (struct defmodule *) EnvGetNextDefmodule(theEnv,theModule))     {      EnvSetCurrentModule(theEnv,(void *) theModule);      for (theDefrule = (struct defrule *) EnvGetNextDefrule(theEnv,NULL);           theDefrule != NULL;           theDefrule = (struct defrule *) EnvGetNextDefrule(theEnv,theDefrule))        { BsaveDisjuncts(theEnv,fp,theDefrule); }     }   /*=============================*/   /* Write out the Rete Network. */   /*=============================*/   MarkRuleNetwork(theEnv,1);   BsaveJoins(theEnv,fp);   /*===========================*/   /* Write out the join links. */   /*===========================*/   MarkRuleNetwork(theEnv,1);   BsaveLinks(theEnv,fp);         /*=============================================================*/   /* If a binary image was already loaded when the bsave command */   /* was issued, then restore the counts indicating the number   */   /* of defrules, defrule modules, and joins in the binary image */   /* (these were overwritten by the binary save).                */   /*=============================================================*/   RestoreBloadCount(theEnv,&DefruleBinaryData(theEnv)->NumberOfDefruleModules);   RestoreBloadCount(theEnv,&DefruleBinaryData(theEnv)->NumberOfDefrules);   RestoreBloadCount(theEnv,&DefruleBinaryData(theEnv)->NumberOfJoins);   RestoreBloadCount(theEnv,&DefruleBinaryData(theEnv)->NumberOfLinks);  }/************************************************************//* BsaveDisjuncts: Writes out all the disjunct defrule data *//*   structures for a specific rule to the binary file.     *//************************************************************/static void BsaveDisjuncts(  void *theEnv,  FILE *fp,  struct defrule *theDefrule)  {   struct defrule *theDisjunct;   struct bsaveDefrule tempDefrule;   long int disjunctExpressionCount = 0L;   int first;   /*=========================================*/   /* Loop through each disjunct of the rule. */   /*=========================================*/   for (theDisjunct = theDefrule, first = TRUE;        theDisjunct != NULL;        theDisjunct = theDisjunct->disjunct, first = FALSE)     {      DefruleBinaryData(theEnv)->NumberOfDefrules++;      /*======================================*/      /* Set header and miscellaneous values. */      /*======================================*/      AssignBsaveConstructHeaderVals(&tempDefrule.header,                                     &theDisjunct->header);      tempDefrule.salience = theDisjunct->salience;      tempDefrule.localVarCnt = theDisjunct->localVarCnt;      tempDefrule.complexity = theDisjunct->complexity;      tempDefrule.autoFocus = theDisjunct->autoFocus;      /*=======================================*/      /* Set dynamic salience data structures. */      /*=======================================*/      if (theDisjunct->dynamicSalience != NULL)        {         if (first)           {            tempDefrule.dynamicSalience = ExpressionData(theEnv)->ExpressionCount;            disjunctExpressionCount = ExpressionData(theEnv)->ExpressionCount;            ExpressionData(theEnv)->ExpressionCount += ExpressionSize(theDisjunct->dynamicSalience);           }         else           { tempDefrule.dynamicSalience = disjunctExpressionCount; }        }      else        { tempDefrule.dynamicSalience = -1L; }      /*==============================================*/      /* Set the index to the disjunct's RHS actions. */      /*==============================================*/      if (theDisjunct->actions != NULL)        {         tempDefrule.actions = ExpressionData(theEnv)->ExpressionCount;         ExpressionData(theEnv)->ExpressionCount += ExpressionSize(theDisjunct->actions);        }      else        { tempDefrule.actions = -1L; }      /*=================================*/      /* Set the index to the disjunct's */      /* logical join and last join.     */      /*=================================*/      tempDefrule.logicalJoin = BsaveJoinIndex(theDisjunct->logicalJoin);      tempDefrule.lastJoin = BsaveJoinIndex(theDisjunct->lastJoin);      /*=====================================*/      /* Set the index to the next disjunct. */      /*=====================================*/      if (theDisjunct->disjunct != NULL)        { tempDefrule.disjunct = DefruleBinaryData(theEnv)->NumberOfDefrules; }      else        { tempDefrule.disjunct = -1L; }      /*=================================*/      /* Write the disjunct to the file. */      /*=================================*/      GenWrite(&tempDefrule,sizeof(struct bsaveDefrule),fp);     }  }/********************************************//* BsaveJoins: Writes out all the join node *//*   data structures to the binary file.    *//********************************************/static void BsaveJoins(  void *theEnv,  FILE *fp)  {   struct defrule *rulePtr;   struct defmodule *theModule;   /*===========================*/   /* Loop through each module. */   /*===========================*/   for (theModule = (struct defmodule *) EnvGetNextDefmodule(theEnv,NULL);        theModule != NULL;        theModule = (struct defmodule *) EnvGetNextDefmodule(theEnv,theModule))     {      EnvSetCurrentModule(theEnv,(void *) theModule);      /*===========================================*/      /* Loop through each rule and its disjuncts. */      /*===========================================*/      rulePtr = (struct defrule *) EnvGetNextDefrule(theEnv,NULL);      while (rulePtr != NULL)        {         /*=========================================*/         /* Loop through each join of the disjunct. */         /*=========================================*/         BsaveTraverseJoins(theEnv,fp,rulePtr->lastJoin);                  /*=======================================*/         /* Move on to the next rule or disjunct. */         /*=======================================*/         if (rulePtr->disjunct != NULL) rulePtr = rulePtr->disjunct;         else rulePtr = (struct defrule *) EnvGetNextDefrule(theEnv,rulePtr);        }     }  }/**************************************************************//* BsaveTraverseJoins: Traverses the join network for a rule. *//**************************************************************/static void BsaveTraverseJoins(  void *theEnv,  FILE *fp,  struct joinNode *joinPtr)  {   for (;        joinPtr != NULL;        joinPtr = joinPtr->lastLevel)     {       if (joinPtr->marked) BsaveJoin(theEnv,fp,joinPtr);             if (joinPtr->joinFromTheRight)        { BsaveTraverseJoins(theEnv,fp,joinPtr->rightSideEntryStructure); }     }  }/********************************************//* BsaveJoin: Writes out a single join node *//*   data structure to the binary file.     *//********************************************/static void BsaveJoin(  void *theEnv,  FILE *fp,  struct joinNode *joinPtr)  {   struct bsaveJoinNode tempJoin;   joinPtr->marked = 0;   tempJoin.depth = joinPtr->depth;   tempJoin.rhsType = joinPtr->rhsType;   tempJoin.firstJoin = joinPtr->firstJoin;   tempJoin.logicalJoin = joinPtr->logicalJoin;   tempJoin.joinFromTheRight = joinPtr->joinFromTheRight;   tempJoin.patternIsNegated = joinPtr->patternIsNegated;   tempJoin.patternIsExists = joinPtr->patternIsExists;   if (joinPtr->joinFromTheRight)     { tempJoin.rightSideEntryStructure =  BsaveJoinIndex(joinPtr->rightSideEntryStructure); }   else     { tempJoin.rightSideEntryStructure =  -1L; }        tempJoin.lastLevel =  BsaveJoinIndex(joinPtr->lastLevel);   tempJoin.nextLinks =  BsaveJoinLinkIndex(joinPtr->nextLinks);   tempJoin.rightMatchNode =  BsaveJoinIndex(joinPtr->rightMatchNode);   tempJoin.networkTest = HashedExpressionIndex(theEnv,joinPtr->networkTest);   tempJoin.secondaryNetworkTest = HashedExpressionIndex(theEnv,joinPtr->secondaryNetworkTest);   tempJoin.leftHash = HashedExpressionIndex(theEnv,joinPtr->leftHash);   tempJoin.rightHash = HashedExpressionIndex(theEnv,joinPtr->rightHash);   if (joinPtr->ruleToActivate != NULL)     {      tempJoin.ruleToActivate =         GetDisjunctIndex(joinPtr->ruleToActivate);     }   else     { tempJoin.ruleToActivate = -1L; }   GenWrite(&tempJoin,(unsigned long) sizeof(struct bsaveJoinNode),fp);  }  /********************************************//* BsaveLinks: Writes out all the join link *//*   data structures to the binary file.    *//********************************************/static void BsaveLinks(  void *theEnv,  FILE *fp)  {   struct defrule *rulePtr;   struct defmodule *theModule;   struct joinLink *theLink;   for (theLink = DefruleData(theEnv)->LeftPrimeJoins;        theLink != NULL;        theLink = theLink->next)     { BsaveLink(theEnv,fp,theLink);  }   for (theLink = DefruleData(theEnv)->RightPrimeJoins;        theLink != NULL;        theLink = theLink->next)     { BsaveLink(theEnv,fp,theLink);  }   /*===========================*/   /* Loop through each module. */   /*===========================*/   for (theModule = (struct defmodule *) EnvGetNextDefmodule(theEnv,NULL);        theModule != NULL;        theModule = (struct defmodule *) EnvGetNextDefmodule(theEnv,theModule))     {      EnvSetCurrentModule(theEnv,(void *) theModule);      /*===========================================*/      /* Loop through each rule and its disjuncts. */      /*===========================================*/      rulePtr = (struct defrule *) EnvGetNextDefrule(theEnv,NULL);      while (rulePtr != NULL)        {         /*=========================================*/         /* Loop through each join of the disjunct. */         /*=========================================*/         BsaveTraverseLinks(theEnv,fp,rulePtr->lastJoin);                  /*=======================================*/         /* Move on to the next rule or disjunct. */         /*=======================================*/         if (rulePtr->disjunct != NULL) rulePtr = rulePtr->disjunct;         else rulePtr = (struct defrule *) EnvGetNextDefrule(theEnv,rulePtr);        }     }  }/***************************************************//* BsaveTraverseLinks: Traverses the join network *//*   for a rule saving the join links.            *//**************************************************/static void BsaveTraverseLinks(  void *theEnv,  FILE *fp,  struct joinNode *joinPtr)  {   struct joinLink *theLink;      for (;        joinPtr != NULL;        joinPtr = joinPtr->lastLevel)     {       if (joinPtr->marked)         {         for (theLink = joinPtr->nextLinks;              theLink != NULL;              theLink = theLink->next)           { BsaveLink(theEnv,fp,theLink); }                  joinPtr->marked = 0;        }            if (joinPtr->joinFromTheRight)        { BsaveTraverseLinks(theEnv,fp,joinPtr->rightSideEntryStructure); }     }  }/********************************************//* BsaveLink: Writes out a single join link *//*   data structure to the binary file.     *//********************************************/static void BsaveLink(  void *theEnv,  FILE *fp,  struct joinLink *linkPtr)  {   struct bsaveJoinLink tempLink;   tempLink.enterDirection = linkPtr->enterDirection;   tempLink.join =  BsaveJoinIndex(linkPtr->join);   tempLink.next =  BsaveJoinLinkIndex(linkPtr->next);   GenWrite(&tempLink,(unsigned long) sizeof(struct bsaveJoinLink),fp);  }/***********************************************************//* AssignBsavePatternHeaderValues: Assigns the appropriate *//*   values to a bsave pattern header record.              *//***********************************************************/globle void AssignBsavePatternHeaderValues(  void *theEnv,  struct bsavePatternNodeHeader *theBsaveHeader,  struct patternNodeHeader *theHeader)  {   theBsaveHeader->multifieldNode = theHeader->multifieldNode;   theBsaveHeader->entryJoin = BsaveJoinIndex(theHeader->entryJoin);   theBsaveHeader->rightHash = HashedExpressionIndex(theEnv,theHeader->rightHash);   theBsaveHeader->singlefieldNode = theHeader->singlefieldNode;

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
久久综合色8888| 久久精品亚洲乱码伦伦中文| 国产亚洲1区2区3区| 一区二区三区四区在线| 国产一区二区三区国产| 欧美二区三区91| 亚洲欧美日韩国产一区二区三区| 寂寞少妇一区二区三区| 欧美三级三级三级| 一区在线播放视频| 国产一区二区美女| 91精品国产免费久久综合| 一区二区三区在线免费观看| 国产成人亚洲综合a∨猫咪| 日韩精品中午字幕| 石原莉奈一区二区三区在线观看| 91麻豆精品秘密| 中文字幕免费观看一区| 久久www免费人成看片高清| 欧美日韩国产中文| 亚洲日本青草视频在线怡红院 | 亚洲素人一区二区| 国产成人夜色高潮福利影视| 日韩欧美国产三级电影视频| 午夜精品久久久| 在线观看成人小视频| 亚洲欧洲在线观看av| 国产成人精品亚洲777人妖 | 日韩美女视频一区| 国产自产2019最新不卡| 日韩一区二区三区电影在线观看| 亚洲18色成人| 欧美久久久久久久久| 一二三区精品福利视频| 日本精品裸体写真集在线观看 | 欧美大黄免费观看| 免费在线看一区| 日韩一区二区三区电影| 麻豆中文一区二区| 精品日韩在线观看| 韩国av一区二区三区在线观看| 日韩美女天天操| 国模冰冰炮一区二区| 久久先锋资源网| 国产精品主播直播| 国产精品美女久久久久久| 成人av在线观| 亚洲色欲色欲www| 色偷偷久久一区二区三区| 亚洲制服丝袜av| 欧美三级中文字| 日韩电影在线一区| 精品国产乱码91久久久久久网站| 狠狠色伊人亚洲综合成人| xvideos.蜜桃一区二区| 国产成人精品免费在线| 国产精品久久看| 色婷婷亚洲婷婷| 亚洲国产成人高清精品| 69精品人人人人| 久久99热狠狠色一区二区| www国产精品av| 成人免费看视频| 亚洲美女淫视频| 欧美日韩黄视频| 精一区二区三区| 国产精品天美传媒沈樵| 色综合久久久久综合99| 亚洲福利电影网| 欧美大片一区二区三区| 国产91清纯白嫩初高中在线观看 | 久久影音资源网| 成人h动漫精品一区二区| 亚洲精品成人在线| 日韩一级黄色片| 国产91精品在线观看| 国产在线麻豆精品观看| 国产精品久久久久久妇女6080| 91国偷自产一区二区使用方法| 日韩有码一区二区三区| 久久久午夜精品| 色哟哟精品一区| 日韩二区三区四区| 国产精品美女久久久久久| 欧美日韩在线观看一区二区 | 亚洲一区二区欧美激情| 日韩一区二区免费在线观看| 高清不卡一二三区| 夜夜精品视频一区二区 | 欧美猛男男办公室激情| 国产一区二区网址| 一区二区三区中文在线观看| 精品欧美一区二区久久| 99re6这里只有精品视频在线观看 99re8在线精品视频免费播放 | eeuss鲁片一区二区三区在线看| 亚洲电影欧美电影有声小说| 国产视频一区二区在线观看| 欧美亚洲高清一区| 国产精品99久久久久| 性欧美大战久久久久久久久| 国产精品丝袜一区| 91精品国产福利| a级精品国产片在线观看| 美美哒免费高清在线观看视频一区二区| 中文字幕亚洲一区二区av在线 | 欧美精品国产精品| 丰满白嫩尤物一区二区| 五月婷婷久久丁香| 国产精品免费久久| 日韩免费看的电影| 在线亚洲欧美专区二区| 成人午夜电影小说| 美腿丝袜在线亚洲一区| 亚洲精品成a人| 亚洲国产高清在线观看视频| 欧美一级在线视频| 91豆麻精品91久久久久久| 国产一区不卡在线| 日本va欧美va精品| 亚洲永久免费av| 欧美极品另类videosde| 日韩精品一区二区三区老鸭窝 | 91影院在线观看| 国产一区三区三区| 日本亚洲电影天堂| 亚洲一区二区三区四区在线| 国产精品天美传媒沈樵| 久久久五月婷婷| 日韩欧美高清在线| 欧美日韩国产成人在线免费| 99精品视频一区| 成人黄色av网站在线| 久久99精品久久久久久| 日本在线不卡视频| 香蕉影视欧美成人| 亚洲一区二区三区四区在线免费观看 | 99r精品视频| 国产91对白在线观看九色| 精品中文av资源站在线观看| 石原莉奈在线亚洲二区| 香蕉成人伊视频在线观看| 亚洲一线二线三线视频| 亚洲欧美激情视频在线观看一区二区三区| 中文字幕av资源一区| 久久久久久97三级| 欧美精品一区二区三区蜜桃视频| 91精品一区二区三区在线观看| 欧美三电影在线| 欧美日韩在线不卡| 欧美日韩免费电影| 欧美精品第一页| 日韩一区和二区| 亚洲综合激情另类小说区| 亚洲免费大片在线观看| 亚洲激情六月丁香| 一区二区三区日韩欧美| 日韩毛片高清在线播放| 中文字幕日韩av资源站| 一区二区三区在线观看网站| 亚洲欧美日韩久久精品| 亚洲精品免费视频| 亚洲自拍偷拍欧美| 亚洲国产va精品久久久不卡综合| 亚洲v中文字幕| 天堂一区二区在线| 免费高清在线视频一区·| 蜜臀久久99精品久久久画质超高清 | 国产精品系列在线| 亚洲少妇30p| 亚洲一区二区三区中文字幕在线| 亚洲一区av在线| 日一区二区三区| 麻豆91在线播放| 国产酒店精品激情| 成人午夜免费视频| 91福利精品视频| 91精品婷婷国产综合久久竹菊| 精品国产一区二区在线观看| 国产日韩欧美制服另类| 中文字幕中文字幕在线一区 | 中文字幕乱码日本亚洲一区二区| 国产精品久久二区二区| 一区二区三区中文字幕| 日本aⅴ免费视频一区二区三区| 国内久久精品视频| www.亚洲色图.com| 欧美三级韩国三级日本三斤| 欧美一区二区福利在线| 久久精品亚洲精品国产欧美kt∨ | 久久伊99综合婷婷久久伊| 国产精品久线观看视频| 亚洲成av人片一区二区三区| 六月丁香婷婷久久| 风间由美性色一区二区三区| 在线精品视频小说1| 欧美大胆一级视频| 中文字幕一区二区三区不卡在线| 亚洲第一会所有码转帖| 国产精品一区二区久久不卡| 91老司机福利 在线|