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

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

?? objrtbld.c

?? clips源代碼
?? C
?? 第 1 頁 / 共 5 頁
字號:
        {         SyntaxErrorMessage(theEnv,"object pattern");         goto ObjectLHSParseERROR;        }      GetToken(theEnv,readSource,&theToken);      if (theToken.type != SYMBOL)        {         SyntaxErrorMessage(theEnv,"object pattern");         goto ObjectLHSParseERROR;        }      if (CheckDuplicateSlots(theEnv,firstNode,(SYMBOL_HN *) theToken.value))        goto ObjectLHSParseERROR;      if (theToken.value == (void *) DefclassData(theEnv)->ISA_SYMBOL)        {         tmpNode = ParseClassRestriction(theEnv,readSource,&theToken);         if (tmpNode == NULL)           goto ObjectLHSParseERROR;         InitializeClassBitMap(theEnv,tmpset,0);         if (ProcessClassRestriction(theEnv,tmpset,&tmpNode->bottom,TRUE) == FALSE)           {            ReturnLHSParseNodes(theEnv,tmpNode);            goto ObjectLHSParseERROR;           }         IntersectClassBitMaps(clsset,tmpset);        }      else if (theToken.value == (void *) DefclassData(theEnv)->NAME_SYMBOL)        {         tmpNode = ParseNameRestriction(theEnv,readSource,&theToken);         if (tmpNode == NULL)           goto ObjectLHSParseERROR;         InitializeClassBitMap(theEnv,tmpset,1);        }      else        {         slotConstraints = ProcessSlotRestriction(theEnv,clsset,(SYMBOL_HN *) theToken.value,&multip);         if (slotConstraints != NULL)           {            InitializeClassBitMap(theEnv,tmpset,1);            tmpNode = ParseSlotRestriction(theEnv,readSource,&theToken,slotConstraints,multip);            if (tmpNode == NULL)              goto ObjectLHSParseERROR;           }         else           {            InitializeClassBitMap(theEnv,tmpset,0);            tmpNode = GetLHSParseNode(theEnv);            tmpNode->slot = (SYMBOL_HN *) theToken.value;           }        }      if (EmptyClassBitMap(tmpset))        {         PrintErrorID(theEnv,"OBJRTBLD",2,FALSE);         EnvPrintRouter(theEnv,WERROR,"No objects of existing classes can satisfy ");         EnvPrintRouter(theEnv,WERROR,ValueToString(tmpNode->slot));         EnvPrintRouter(theEnv,WERROR," restriction in object pattern.\n");         ReturnLHSParseNodes(theEnv,tmpNode);         goto ObjectLHSParseERROR;        }      if (EmptyClassBitMap(clsset))        {         PrintErrorID(theEnv,"OBJRTBLD",1,FALSE);         EnvPrintRouter(theEnv,WERROR,"No objects of existing classes can satisfy pattern.\n");         ReturnLHSParseNodes(theEnv,tmpNode);         goto ObjectLHSParseERROR;        }      if (tmpNode != NULL)        {         if (firstNode == NULL)           firstNode = tmpNode;         else           lastNode->right = tmpNode;         lastNode = tmpNode;        }      PPCRAndIndent(theEnv);      GetToken(theEnv,readSource,&theToken);     }   if (firstNode == NULL)     {      if (EmptyClassBitMap(clsset))        {         PrintErrorID(theEnv,"OBJRTBLD",1,FALSE);         EnvPrintRouter(theEnv,WERROR,"No objects of existing classes can satisfy pattern.\n");         goto ObjectLHSParseERROR;        }      firstNode = GetLHSParseNode(theEnv);      firstNode->type = SF_WILDCARD;      firstNode->slot = DefclassData(theEnv)->ISA_SYMBOL;      firstNode->slotNumber = ISA_ID;      firstNode->index = 1;     }   if (ppbackupReqd)     {      PPBackup(theEnv);      PPBackup(theEnv);      SavePPBuffer(theEnv,theToken.printForm);     }   DeleteIntermediateClassBitMap(theEnv,tmpset);   clsset = PackClassBitMap(theEnv,clsset);   firstNode->userData = AddBitMap(theEnv,(void *) clsset,ClassBitMapSize(clsset));   IncrementBitMapCount(firstNode->userData);   DeleteIntermediateClassBitMap(theEnv,clsset);   DecrementIndentDepth(theEnv,7);   return(firstNode);ObjectLHSParseERROR:   DeleteIntermediateClassBitMap(theEnv,clsset);   DeleteIntermediateClassBitMap(theEnv,tmpset);   ReturnLHSParseNodes(theEnv,firstNode);   DecrementIndentDepth(theEnv,7);   return(NULL);  }/**************************************************************  NAME         : ReorderAndAnalyzeObjectPattern  DESCRIPTION  : This function reexamines the object pattern                 after constraint and variable analysis info                 has been propagated from other patterns.                   Any slots which are no longer applicable                 to the pattern are eliminated from the                 class set.                   Also, the slot names are ordered according                 to lexical value to aid in deteterming                 sharing between object patterns.  (The is-a                 and name restrictions are always placed                 first regardless of symbolic hash value.)  INPUTS       : The pattern CE lhsParseNode  RETURNS      : FALSE if all OK, otherwise TRUE                 (e.g. all classes are eliminated as potential                  matching candidates for the pattern)  SIDE EFFECTS : Slot restrictions are reordered (if necessary)  NOTES        : Adds a default is-a slot if one does not                 already exist **************************************************************/static intBool ReorderAndAnalyzeObjectPattern(  void *theEnv,  struct lhsParseNode *topNode)  {   CLASS_BITMAP *clsset,*tmpset;   EXPRESSION *rexp,*tmpmin,*tmpmax;   DEFCLASS *cls;   struct lhsParseNode *tmpNode,*subNode,*bitmap_node,*isa_node,*name_node;   register unsigned short i;   SLOT_DESC *sd;   CONSTRAINT_RECORD *crossConstraints, *theConstraint;   int incompatibleConstraint,clssetChanged = FALSE;   /* ==========================================================      Make sure that the bitmap marking which classes of object      can match the pattern is attached to the class restriction      (which will always be present and the last restriction      after the sort)      ========================================================== */   topNode->right = FilterObjectPattern(theEnv,topNode->patternType,topNode->right,                                        &bitmap_node,&isa_node,&name_node);   if (EnvGetStaticConstraintChecking(theEnv) == FALSE)     return(FALSE);   /* ============================================      Allocate a temporary set for marking classes      ============================================ */   clsset = (CLASS_BITMAP *) ValueToBitMap(bitmap_node->userData);   tmpset = NewClassBitMap(theEnv,(int) clsset->maxid,0);   /* ==========================================================      Check the allowed-values for the constraint on the is-a      slot.  If there are any, make sure that only the classes      with those values as names are marked in the bitmap.      There will only be symbols in the list because the      original constraint on the is-a slot allowed only symbols.      ========================================================== */   if ((isa_node == NULL) ? FALSE :       ((isa_node->constraints == NULL) ? FALSE :        (isa_node->constraints->restrictionList != NULL)))     {      rexp = isa_node->constraints->restrictionList;      while (rexp != NULL)        {         cls = LookupDefclassInScope(theEnv,ValueToString(rexp->value));         if (cls != NULL)           {            if ((cls->id <= clsset->maxid) ? TestBitMap(clsset->map,cls->id) : FALSE)              SetBitMap(tmpset->map,cls->id);           }         rexp = rexp->nextArg;        }      clssetChanged = IdenticalClassBitMap(tmpset,clsset) ? FALSE : TRUE;     }   else     GenCopyMemory(char,tmpset->maxid / BITS_PER_BYTE + 1,tmpset->map,clsset->map);   /* ================================================================      For each of the slots (excluding name and is-a), check the total      constraints for the slot against the individual constraints      for each occurrence of the slot in the classes marked in      the bitmap.  For any slot which is not compatible with      the overall constraint, clear its class's bit in the bitmap.      ================================================================ */   tmpNode = topNode->right;   while (tmpNode != bitmap_node)     {      if ((tmpNode == isa_node) || (tmpNode == name_node))        {         tmpNode = tmpNode->right;         continue;        }      for (i = 0 ; i <= tmpset->maxid ; i++)        if (TestBitMap(tmpset->map,i))          {           cls = DefclassData(theEnv)->ClassIDMap[i];           sd =  cls->instanceTemplate[FindInstanceTemplateSlot(theEnv,cls,tmpNode->slot)];           /* =========================================              Check the top-level lhsParseNode for type              and cardinality compatibility              ========================================= */           crossConstraints = IntersectConstraints(theEnv,tmpNode->constraints,sd->constraint);           incompatibleConstraint = UnmatchableConstraint(crossConstraints);           RemoveConstraint(theEnv,crossConstraints);           if (incompatibleConstraint)             {              ClearBitMap(tmpset->map,i);              clssetChanged = TRUE;             }           else if (tmpNode->type == MF_WILDCARD)             {              /* ==========================================                 Check the sub-nodes for type compatibility                 ========================================== */              for (subNode = tmpNode->bottom ; subNode != NULL ; subNode = subNode->right)                {                 /* ========================================================                    Temporarily reset cardinality of variables to                    match slot so that no cardinality errors will be flagged                    ======================================================== */                 if ((subNode->type == MF_WILDCARD) || (subNode->type == MF_VARIABLE))                   { theConstraint = subNode->constraints->multifield; }                 else                   { theConstraint = subNode->constraints; }                 tmpmin = theConstraint->minFields;                 theConstraint->minFields = sd->constraint->minFields;                 tmpmax = theConstraint->maxFields;                 theConstraint->maxFields = sd->constraint->maxFields;                 crossConstraints = IntersectConstraints(theEnv,theConstraint,sd->constraint);                 theConstraint->minFields = tmpmin;                 theConstraint->maxFields = tmpmax;                 incompatibleConstraint = UnmatchableConstraint(crossConstraints);                 RemoveConstraint(theEnv,crossConstraints);                 if (incompatibleConstraint)                   {                    ClearBitMap(tmpset->map,i);                    clssetChanged = TRUE;                    break;                   }                }             }          }      tmpNode = tmpNode->right;     }   if (clssetChanged)     {      /* =======================================================         Make sure that there are still classes of objects which         can satisfy this pattern.  Otherwise, signal an error.         ======================================================= */      if (EmptyClassBitMap(tmpset))        {         PrintErrorID(theEnv,"OBJRTBLD",3,TRUE);         DeleteIntermediateClassBitMap(theEnv,tmpset);         EnvPrintRouter(theEnv,WERROR,"No objects of existing classes can satisfy pattern #");         PrintLongInteger(theEnv,WERROR,(long long) topNode->pattern);         EnvPrintRouter(theEnv,WERROR,".\n");         return(TRUE);        }      clsset = PackClassBitMap(theEnv,tmpset);      DeleteClassBitMap(theEnv,(void *) bitmap_node->userData);      bitmap_node->userData = AddBitMap(theEnv,(void *) clsset,ClassBitMapSize(clsset));      IncrementBitMapCount(bitmap_node->userData);      DeleteIntermediateClassBitMap(theEnv,clsset);     }   else     DeleteIntermediateClassBitMap(theEnv,tmpset);   return(FALSE);  }/*****************************************************  NAME         : PlaceObjectPattern  DESCRIPTION  : Integrates an object pattern into the                 object pattern network  INPUTS       : The intermediate parse representation                 of the pattern  RETURNS      : The address of the new pattern  SIDE EFFECTS : Object pattern network updated  NOTES        : None *****************************************************/static struct patternNodeHeader *PlaceObjectPattern(  void *theEnv,  struct lhsParseNode *thePattern)  {   OBJECT_PATTERN_NODE *currentLevel,*lastLevel;   struct lhsParseNode *tempPattern = NULL;   OBJECT_PATTERN_NODE *nodeSlotGroup, *newNode;   OBJECT_ALPHA_NODE *newAlphaNode;   unsigned endSlot;   BITMAP_HN *newClassBitMap,*newSlotBitMap;   struct expr *rightHash;   /*========================================================*/   /* Get the top of the object pattern network and prepare  */   /* for the traversal to look for shareable pattern nodes. */   /*========================================================*/      currentLevel = ObjectNetworkPointer(theEnv);   lastLevel = NULL;   /*====================================================*/   /* Remove slot existence tests from the pattern since */   /* these are accounted for by the class bitmap and    */   /* find the class and slot bitmaps.                   */   /*====================================================*/         rightHash = thePattern->rightHash;   newSlotBitMap = FormSlotBitMap(theEnv,thePattern->right);   thePattern->right = RemoveSlotExistenceTests(theEnv,thePattern->right,&newClassBitMap);   thePattern = thePattern->right;      /*=========================================================*/   /* Loop until all fields in the pattern have been added to */   /* the pattern network. Process the bitmap node ONLY if it */   /* is the only node in the pattern.                        */   /*=========================================================*/   do     {      if (thePattern->multifieldSlot)        {         tempPattern = thePattern;         thePattern = thePattern->bottom;        }      /*============================================*/      /* Determine if the last pattern field within */      /* a multifield slot is being processed.      */      /*============================================*/      if (((thePattern->type == MF_WILDCARD) ||           (thePattern->type == MF_VARIABLE)) &&

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
91精品国产福利在线观看| va亚洲va日韩不卡在线观看| 56国语精品自产拍在线观看| 午夜久久久久久| 欧美一区二区日韩一区二区| 热久久一区二区| 久久综合色天天久久综合图片| 国产一区三区三区| 久久久久成人黄色影片| 不卡高清视频专区| 国产成人啪午夜精品网站男同| 欧美电视剧在线观看完整版| 美女精品一区二区| 精品三级av在线| 亚洲成精国产精品女| 91成人免费网站| 亚洲高清免费视频| 久久麻豆一区二区| 91亚洲精品乱码久久久久久蜜桃| 一区二区三区精品视频| 7777精品伊人久久久大香线蕉的 | 日韩欧美激情在线| 高清在线观看日韩| 亚洲综合成人在线| 精品国产网站在线观看| gogogo免费视频观看亚洲一| 亚洲www啪成人一区二区麻豆| 欧美精品一区二区三区在线播放| av中文字幕在线不卡| 午夜精品aaa| 久久久久久久综合狠狠综合| 色又黄又爽网站www久久| 青青草国产成人av片免费| 欧美国产欧美综合| 91精品国产综合久久精品麻豆| 顶级嫩模精品视频在线看| 亚洲成人动漫在线免费观看| 国产片一区二区三区| 欧美日本一区二区在线观看| 国产精品 欧美精品| 丝袜脚交一区二区| 中文字幕视频一区二区三区久| 欧美日韩一区中文字幕| 国产91精品久久久久久久网曝门 | 日韩国产欧美在线视频| 国产精品乱码久久久久久| 制服丝袜在线91| 色婷婷激情久久| 成人网男人的天堂| 久久99精品久久久| 婷婷久久综合九色国产成人| 亚洲欧美激情小说另类| 久久久噜噜噜久久中文字幕色伊伊| 在线视频国内自拍亚洲视频| 成人在线一区二区三区| 韩国一区二区在线观看| 奇米影视一区二区三区| 亚洲专区一二三| ㊣最新国产の精品bt伙计久久| 国产亚洲综合av| 日韩一区二区在线观看| 9191久久久久久久久久久| 91精品1区2区| 色婷婷久久99综合精品jk白丝| 99这里都是精品| 成人久久视频在线观看| 高清日韩电视剧大全免费| 国产精品一区二区久久精品爱涩| 欧美aⅴ一区二区三区视频| 亚洲第一福利视频在线| 亚洲精品欧美专区| 亚洲人成网站影音先锋播放| 欧美激情综合五月色丁香| 久久久久久久久久久久久夜| 久久伊人蜜桃av一区二区| 精品99999| 久久影院电视剧免费观看| 久久婷婷久久一区二区三区| www成人在线观看| 国产欧美一区二区三区沐欲| 中文字幕第一区综合| 亚洲国产精品二十页| 亚洲欧美在线aaa| 亚洲美女在线国产| 亚洲午夜精品在线| 天天色图综合网| 老司机精品视频一区二区三区| 久久99精品国产麻豆不卡| 精品影视av免费| 国产91在线观看| 99久久99久久精品国产片果冻| 色婷婷综合久久久久中文 | 国产一区二区三区免费| 国产一区二区三区美女| 成人毛片视频在线观看| av亚洲精华国产精华精华| 在线观看亚洲精品| 777奇米四色成人影色区| 久久综合九色综合久久久精品综合 | 日韩精品一区二区三区在线观看 | 美女视频一区二区三区| 国产精品一区二区不卡| 91久久一区二区| 91精品国产色综合久久ai换脸| 久久久精品人体av艺术| 一色屋精品亚洲香蕉网站| 亚洲电影你懂得| 国产一区二区精品久久99 | 欧美日韩午夜在线视频| 日韩视频免费观看高清完整版| 国产亚洲成年网址在线观看| 亚洲精品福利视频网站| 免费在线观看日韩欧美| 成人午夜激情影院| 欧美日韩一级片网站| 久久精品人人爽人人爽| 亚洲精品少妇30p| 久久99精品国产.久久久久久| 99久久99久久免费精品蜜臀| 欧美日韩成人一区| 日本一区二区成人在线| 日韩和欧美一区二区三区| 福利一区二区在线| 欧美一区二区成人| 亚洲欧美激情插| 国产乱码精品一区二区三区av| 欧美视频完全免费看| 国产精品美女视频| 麻豆精品一区二区三区| 91麻豆国产福利在线观看| 久久综合久色欧美综合狠狠| 亚洲中国最大av网站| 成人三级在线视频| 日韩欧美在线一区二区三区| 亚洲色图在线看| 国产精品主播直播| 欧美一二三在线| 亚洲二区在线视频| av不卡在线播放| 久久久精品免费免费| 日韩精品每日更新| 91香蕉国产在线观看软件| 国产三级三级三级精品8ⅰ区| 日本在线不卡视频一二三区| 色天天综合色天天久久| 欧美激情一区二区三区在线| 久久精品免费观看| 7777精品伊人久久久大香线蕉| 亚洲精品亚洲人成人网| 成人在线一区二区三区| 久久久精品中文字幕麻豆发布| 人禽交欧美网站| 欧美一区日韩一区| 五月天激情综合| 欧美日韩一本到| 一区二区三区四区在线免费观看| 成人黄色网址在线观看| 久久精品在这里| 国产老女人精品毛片久久| 精品成人一区二区三区四区| 日韩成人免费电影| 666欧美在线视频| 亚洲成a人v欧美综合天堂下载| 在线免费不卡电影| 亚洲国产欧美在线人成| 欧美日韩亚洲不卡| 午夜精品影院在线观看| 欧美猛男男办公室激情| 亚洲国产精品人人做人人爽| 欧美最猛性xxxxx直播| 亚洲一区在线视频| 欧美日韩亚洲国产综合| 亚洲成在人线免费| 91精品国产美女浴室洗澡无遮挡| 日本午夜一区二区| 精品国产一区二区在线观看| 国产乱码精品一区二区三区av| 国产午夜精品久久| 波多野结衣的一区二区三区| 亚洲免费看黄网站| 欧美午夜片在线看| 日韩不卡免费视频| 精品国产污污免费网站入口| 国v精品久久久网| 亚洲另类春色国产| 欧美日韩国产不卡| 韩日av一区二区| 国产精品妹子av| 欧美在线你懂得| 麻豆国产欧美日韩综合精品二区| 精品国产网站在线观看| 成人动漫一区二区在线| 亚洲视频香蕉人妖| 欧美精品自拍偷拍| 国产一区二区在线看| 亚洲免费视频中文字幕| 日韩一区二区在线看片| 成人午夜视频福利| 天天av天天翘天天综合网| 欧美精品一区二区不卡|