*/voidPreOrderHelper(unsignedintn,//vector< Function * > &vecParents,Function *pParent,set< Function *> &track, log4cpp::Category *pLog ){vector< Function * > ordFuncs;vector< Function * >::iterator b, e;//, parB, parE;// For each parent//for( parB = vecParents.begin(), parE =...
staticboolrunImpl(Function&F, LazyValueInfo *LVI, DominatorTree *DT,constSimplifyQuery &SQ){boolFnChanged =false;// Visiting in a pre-order depth-first traversal causes us to simplify early// blocks before querying later blocks (which require us to analyze early// blocks). Eagerly simplifying...
classification = StringUtility::classifyFileName(filename,this->sourcedir,this->trustedlibs);//StringUtility::FileNameLocation filetypeclassification = classification.getLocation();//cout << sgn->unparseToString() << filename << " : " << classification.getLocation() << ", " << classification.ge...
voidBluetoothDevice::SetPropertyByValue(constBluetoothNamedValue& aValue) {constnsString& name = aValue.name();constBluetoothValue& value = aValue.value();if(name.EqualsLiteral("Name")) { mName = value.get_nsString(); }elseif(name.EqualsLiteral("Path")) { MOZ_ASSERT(value.get_nsString(...
// 前序遍历非递归二voidPreOrderNorOP(pBTNode pRoot){ Stack s; init(&s);pushBack(&s, pRoot);while(!isEmpty(&s)) { pBTNode pCur = top(&s); pop(&s);while(pCur) {printf("%c ", pCur->_data);if(pCur->_pRight) {pushBack(&s, pCur->_pRight); ...
voidwxBitmap::SetPalette(constwxPalette& palette) { wxCHECK_RET( IsOk(), wxT("invalid bitmap") ); wxCHECK_RET(GetDepth() >1&&GetDepth() <=8, wxT("cannot set palette for bitmap of this depth") ); AllocExclusive(); wxDELETE(M_BITMAP->m_palette);if( !palette.IsOk() )return...
SEXPget_tol_data(SEXP directory, SEXP coverage, SEXP filename){inti,n;void**pdata;charpathtofile[PATH]; AVCTol *reg; AVCBinFile *file; SEXP *table, aux;strcpy(pathtofile, CHAR(STRING_ELT(directory,0))); complete_path(pathtofile, (char*) CHAR(STRING_ELT(coverage,0)),1);/*...
voidr8712_free_stainfo(struct _adapter *padapter, struct sta_info *psta){inti;unsignedlongirqL0;struct__queue*pfree_sta_queue;structrecv_reorder_ctrl*preorder_ctrl;structsta_xmit_priv*pstaxmitpriv;structxmit_priv*pxmitpriv= &padapter->xmitpriv;structsta_priv*pstapriv= &padapter->stapriv;if...
voidQgsMapRendererJob::drawOldLabeling(constQgsMapSettings& settings, QgsRenderContext& renderContext ) {// render all labels for vector layers in the stack, starting at the baseQListIterator<QString>li( settings.layers() );li.toBack();while(li.hasPrevious() ) ...
std::stringValue::getDescription() {std::stringret("\n"); ret +=visit(*this,0);returnret; } 开发者ID:253627764,项目名称:WagonWar,代码行数:6,代码来源:CCValue.cpp 示例12: processParentFlags ▲点赞 1▼ voidScale9Sprite::visit(Renderer *renderer,constMat4 &parentTransform,uint32_tparentFl...