Home
last modified time | relevance | path

Searched refs:nObjs (Results 1 – 25 of 238) sorted by relevance

12345678910

/dports/science/rdkit/rdkit-Release_2021_03_5/rdkit/ML/Cluster/
H A DResemblance.py47 nObjs = len(inData)
48 res = numpy.zeros((nObjs * (nObjs - 1) / 2), numpy.float)
50 for col in range(1, nObjs):
79 def FindMinValInList(mat, nObjs, minIdx=None): argument
104 assert len(mat) == nObjs * (nObjs - 1) / 2, 'bad matrix length in FindMinValInList'
118 def ShowMetricMat(metricMat, nObjs): argument
128 assert len(metricMat) == nObjs * (nObjs - 1) / 2, 'bad matrix length in FindMinValInList'
129 for row in range(nObjs):
130 for col in range(nObjs):
142 nObjs = 5 variable
[all …]
/dports/cad/abc/abc-a4518e6f833885c905964f1233d11e5b941ec24c/src/sat/bmc/
H A DbmcMaj2.c161 assert( p->nObjs <= MAJ_NOBJS ); in Maj_ManMarkup()
208 for ( m = 0; m < p->nObjs; m++ ) in Maj_ManMarkup()
234 p->nObjs = 2 + nVars + nNodes; in Maj_ManAlloc()
272 for ( j = 0; j < p->nObjs; j++ ) in Maj_ManFindFanin()
300 … if ( Abc_TtGetBit(Maj_ManTruth(p, p->nObjs), i) == Abc_TtGetBit(Maj_ManTruth(p, p->nObjs-1), i) ) in Maj_ManEval()
558 assert( p->nObjs <= MAJ_NOBJS ); in Exa_ManMarkup()
568 j = p->nObjs - 2; in Exa_ManMarkup()
634 for ( j = 0; j < p->nObjs; j++ ) in Exa_ManFindFanin()
941 assert( p->nObjs <= MAJ_NOBJS ); in Exa3_ManMarkup()
951 j = p->nObjs - 2; in Exa3_ManMarkup()
[all …]
H A DbmcMaj.c93 assert( p->nObjs <= MAJ_NOBJS ); in Maj_ManMarkup()
176 for ( j = 0; j < p->nObjs; j++ ) in Maj_ManFindFanin()
452 assert( p->nObjs <= MAJ_NOBJS ); in Exa_ManMarkup()
462 j = p->nObjs - 2; in Exa_ManMarkup()
530 for ( j = 0; j < p->nObjs; j++ ) in Exa_ManFindFanin()
613 if ( i == p->nObjs - 1 ) in Exa_ManDumpBlif()
878 int Pos = ((m * p->pPars->nNodes + n - p->pPars->nVars) * p->nObjs + i) * p->nObjs + j; in Exa3_ManIsUsed2()
890 …Pos = (((m * p->pPars->nNodes + n - p->pPars->nVars) * p->nObjs + i) * p->nObjs + j) * p->nObjs + … in Exa3_ManIsUsed3()
933 j = p->nObjs - 2; in Exa3_ManMarkup()
976 p->vUsed2 = Vec_BitStart( (1 << p->pPars->nVars) * p->pPars->nNodes * p->nObjs * p->nObjs ); in Exa3_ManAlloc()
[all …]
H A DbmcMaj3.c103 assert( Obj == nObjs ); in Maj3_ManFirstAndLevel()
112 assert( p->nObjs <= MAJ3_OBJS ); in Maj3_ManMarkup()
116 for ( i = 0; i < p->nObjs; i++ ) in Maj3_ManMarkup()
117 for ( k = 0; k < p->nObjs; k++ ) in Maj3_ManMarkup()
122 p->VarMarks[p->nObjs-1][p->nObjs-2-k] = 1; in Maj3_ManMarkup()
125 for ( i = p->nVars+1; i < (nSecond == 3 ? p->nObjs-1 : p->nObjs); i++ ) in Maj3_ManMarkup()
141 for ( i = 0; i < p->nObjs; i++ ) in Maj3_ManVarMapPrint()
586 int Pos = ((m * p->pPars->nNodes + n - p->pPars->nVars) * p->nObjs + i) * p->nObjs + j; in Zyx_ManIsUsed2()
598 …Pos = (((m * p->pPars->nNodes + n - p->pPars->nVars) * p->nObjs + i) * p->nObjs + j) * p->nObjs + … in Zyx_ManIsUsed3()
640 Zyx_SetConstVar( p, Zyx_TopoVar(p, p->nObjs-1, p->nObjs-2), 1 ); in Zyx_ManSetupVars()
[all …]
/dports/math/dune-uggrid/dune-uggrid-bc2d1229420367563410ce9e519f5ff82b45266f/dune/uggrid/parallel/ddd/mgr/
H A Dobjmgr.cc93 const int nObjs = context.nObjs(); in LocalObjectsList() local
301 objTable[context.nObjs()] = aHdr; in DDD_HdrConstructor()
302 OBJ_INDEX(aHdr) = context.nObjs(); in DDD_HdrConstructor()
303 context.nObjs(context.nObjs() + 1); in DDD_HdrConstructor()
425 context.nObjs(context.nObjs() - 1); in DDD_HdrDestructor()
435 if (nCpls < context.nObjs()) in DDD_HdrDestructor()
441 assert(nCpls == context.nObjs()); in DDD_HdrDestructor()
452 context.nObjs(context.nObjs() - 1); in DDD_HdrDestructor()
585 context.nObjs(context.nObjs() + 1); in DDD_HdrConstructorCopy()
743 const int nObjs = context.nObjs(); in DDD_SearchHdr() local
[all …]
/dports/devel/emscripten/emscripten-2.0.3/tests/third_party/poppler/goo/
H A Dgmem.cc183 if (nObjs == 0) { in gmallocn()
186 n = nObjs * objSize; in gmallocn()
187 if (objSize <= 0 || nObjs < 0 || nObjs >= INT_MAX / objSize) { in gmallocn()
195 void *gmallocn(int nObjs, int objSize) { in gmallocn() argument
196 return gmallocn(nObjs, objSize, false); in gmallocn()
200 return gmallocn(nObjs, objSize, true); in gmallocn_checkoverflow()
224 if (nObjs == 0) { in greallocn()
230 n = nObjs * objSize; in greallocn()
231 if (objSize <= 0 || nObjs < 0 || nObjs >= INT_MAX / objSize) { in greallocn()
244 return greallocn(p, nObjs, objSize, false); in greallocn()
[all …]
/dports/audio/musescore/MuseScore-3.6.1/thirdparty/poppler/goo/
H A Dgmem.cc183 if (nObjs == 0) { in gmallocn()
186 n = nObjs * objSize; in gmallocn()
187 if (objSize <= 0 || nObjs < 0 || nObjs >= INT_MAX / objSize) { in gmallocn()
195 void *gmallocn(int nObjs, int objSize) { in gmallocn() argument
196 return gmallocn(nObjs, objSize, false); in gmallocn()
200 return gmallocn(nObjs, objSize, true); in gmallocn_checkoverflow()
224 if (nObjs == 0) { in greallocn()
230 n = nObjs * objSize; in greallocn()
231 if (objSize <= 0 || nObjs < 0 || nObjs >= INT_MAX / objSize) { in greallocn()
244 return greallocn(p, nObjs, objSize, false); in greallocn()
[all …]
/dports/graphics/swftools/swftools-0.9.2/lib/pdf/xpdf/
H A Dgmem.cc226 if (nObjs == 0) { in gmallocn()
229 n = nObjs * objSize; in gmallocn()
230 if (objSize <= 0 || nObjs < 0 || nObjs >= INT_MAX / objSize) { in gmallocn()
243 void *gmallocn(int nObjs, int objSize) GMEM_EXCEP { in gmallocn() argument
244 return gmallocn(nObjs, objSize, true); in gmallocn()
247 return gmallocn(nObjs, objSize, false); in gmallocn_noexit()
253 if (nObjs == 0) { in greallocn()
259 n = nObjs * objSize; in greallocn()
260 if (objSize <= 0 || nObjs < 0 || nObjs >= INT_MAX / objSize) { in greallocn()
274 return greallocn(p, nObjs, objSize, true); in greallocn()
[all …]
/dports/print/tex-luatex/texlive-20150521-source/libs/poppler/poppler-0.32.0/goo/
H A Dgmem.cc183 if (nObjs == 0) { in gmallocn()
186 n = nObjs * objSize; in gmallocn()
187 if (objSize <= 0 || nObjs < 0 || nObjs >= INT_MAX / objSize) { in gmallocn()
195 void *gmallocn(int nObjs, int objSize) { in gmallocn() argument
196 return gmallocn(nObjs, objSize, false); in gmallocn()
200 return gmallocn(nObjs, objSize, true); in gmallocn_checkoverflow()
224 if (nObjs == 0) { in greallocn()
230 n = nObjs * objSize; in greallocn()
231 if (objSize <= 0 || nObjs < 0 || nObjs >= INT_MAX / objSize) { in greallocn()
244 return greallocn(p, nObjs, objSize, false); in greallocn()
[all …]
/dports/print/tex-xetex/texlive-20150521-source/libs/poppler/poppler-0.32.0/goo/
H A Dgmem.cc183 if (nObjs == 0) { in gmallocn()
186 n = nObjs * objSize; in gmallocn()
187 if (objSize <= 0 || nObjs < 0 || nObjs >= INT_MAX / objSize) { in gmallocn()
195 void *gmallocn(int nObjs, int objSize) { in gmallocn() argument
196 return gmallocn(nObjs, objSize, false); in gmallocn()
200 return gmallocn(nObjs, objSize, true); in gmallocn_checkoverflow()
224 if (nObjs == 0) { in greallocn()
230 n = nObjs * objSize; in greallocn()
231 if (objSize <= 0 || nObjs < 0 || nObjs >= INT_MAX / objSize) { in greallocn()
244 return greallocn(p, nObjs, objSize, false); in greallocn()
[all …]
/dports/cad/abc/abc-a4518e6f833885c905964f1233d11e5b941ec24c/src/opt/fsim/
H A DfsimMan.c82 p->pFans0[p->nObjs] = iFan0; in Fsim_ManCreate_rec()
83 p->pFans1[p->nObjs] = iFan1; in Fsim_ManCreate_rec()
84 p->pRefs[p->nObjs] = Aig_ObjRefs(pObj); in Fsim_ManCreate_rec()
85 if ( p->pRefs[p->nObjs] ) in Fsim_ManCreate_rec()
88 return pObj->iData = p->nObjs++; in Fsim_ManCreate_rec()
106 int i, nObjs; in Fsim_ManCreate() local
117 p->pFans0 = ABC_ALLOC( int, nObjs ); in Fsim_ManCreate()
118 p->pFans1 = ABC_ALLOC( int, nObjs ); in Fsim_ManCreate()
119 p->pRefs = ABC_ALLOC( int, nObjs ); in Fsim_ManCreate()
125 p->nObjs = 2; in Fsim_ManCreate()
[all …]
/dports/cad/abc/abc-a4518e6f833885c905964f1233d11e5b941ec24c/src/misc/extra/
H A DextraUtilMaj.c95 p->nObjs = 2; in Gem_ManAlloc()
117 assert( p->nObjs == p->nObjsAlloc ); in Gem_ManRealloc()
118 if ( p->nObjs == 0x7FFFFFFF ) in Gem_ManRealloc()
120 assert( p->nObjs < nObjNew ); in Gem_ManRealloc()
240 if ( iFunc < p->nObjs ) in Gem_FuncExpand()
242 assert( iFunc == p->nObjs ); in Gem_FuncExpand()
251 if ( ++p->nObjs == p->nObjsAlloc ) in Gem_FuncExpand()
317 if ( iFunc < p->nObjs ) in Gem_FuncReduce()
319 assert( iFunc == p->nObjs ); in Gem_FuncReduce()
329 if ( ++p->nObjs == p->nObjsAlloc ) in Gem_FuncReduce()
[all …]
/dports/graphics/xpdf/xpdf-4.03/goo/
H A Dgmem.cc204 void *gmallocn(int nObjs, int objSize) GMEM_EXCEP { in gmallocn() argument
207 if (nObjs == 0) { in gmallocn()
210 n = nObjs * objSize; in gmallocn()
211 if (objSize <= 0 || nObjs < 0 || nObjs >= INT_MAX / objSize) { in gmallocn()
278 void *gmallocn64(int nObjs, size_t objSize) GMEM_EXCEP { in gmallocn64() argument
281 if (nObjs == 0) { in gmallocn64()
284 n = nObjs * objSize; in gmallocn64()
285 if (nObjs < 0 || (size_t)nObjs >= SIZE_MAX / objSize) { in gmallocn64()
294 if (nObjs == 0) { in greallocn()
300 n = nObjs * objSize; in greallocn()
[all …]
/dports/graphics/xpdf4/xpdf-4.03/goo/
H A Dgmem.cc204 void *gmallocn(int nObjs, int objSize) GMEM_EXCEP { in gmallocn() argument
207 if (nObjs == 0) { in gmallocn()
210 n = nObjs * objSize; in gmallocn()
211 if (objSize <= 0 || nObjs < 0 || nObjs >= INT_MAX / objSize) { in gmallocn()
278 void *gmallocn64(int nObjs, size_t objSize) GMEM_EXCEP { in gmallocn64() argument
281 if (nObjs == 0) { in gmallocn64()
284 n = nObjs * objSize; in gmallocn64()
285 if (nObjs < 0 || (size_t)nObjs >= SIZE_MAX / objSize) { in gmallocn64()
294 if (nObjs == 0) { in greallocn()
300 n = nObjs * objSize; in greallocn()
[all …]
/dports/cad/abc/abc-a4518e6f833885c905964f1233d11e5b941ec24c/src/map/scl/
H A DsclTime.h48 int nObjs; // allocated size member
125 p->nObjs = nObjs; in Scl_ManAlloc()
126 p->pLoads = ABC_CALLOC( SC_Pair, p->nObjs ); in Scl_ManAlloc()
127 p->pLoads2 = ABC_CALLOC( SC_Pair, p->nObjs ); in Scl_ManAlloc()
128 p->pDepts = ABC_CALLOC( SC_Pair, p->nObjs ); in Scl_ManAlloc()
129 p->pTimes = ABC_CALLOC( SC_Pair, p->nObjs ); in Scl_ManAlloc()
130 p->pSlews = ABC_CALLOC( SC_Pair, p->nObjs ); in Scl_ManAlloc()
131 p->pTimes2 = ABC_CALLOC( SC_Pair, p->nObjs ); in Scl_ManAlloc()
132 p->pSlews2 = ABC_CALLOC( SC_Pair, p->nObjs ); in Scl_ManAlloc()
133 p->pSlack = ABC_FALLOC( float, p->nObjs ); in Scl_ManAlloc()
[all …]
/dports/cad/abc/abc-a4518e6f833885c905964f1233d11e5b941ec24c/src/misc/vec/
H A DvecHash.h161 int i, nObjs, * pPlace; in Hash_Int2ManInsert() local
162 nObjs = Vec_IntSize(p->vObjs)/4; in Hash_Int2ManInsert()
163 if ( nObjs > Vec_IntSize(p->vTable) ) in Hash_Int2ManInsert()
167 for ( i = 1; i < nObjs; i++ ) in Hash_Int2ManInsert()
179 *pPlace = nObjs; in Hash_Int2ManInsert()
184 return nObjs; in Hash_Int2ManInsert()
215 int i, nObjs, * pPlace; in Hsh_Int3ManInsert() local
216 nObjs = Vec_IntSize(p->vObjs)/4; in Hsh_Int3ManInsert()
221 for ( i = 1; i < nObjs; i++ ) in Hsh_Int3ManInsert()
233 *pPlace = nObjs; in Hsh_Int3ManInsert()
[all …]
/dports/graphics/xpdf3/xpdf-3.04/goo/
H A Dgmem.cc158 void *gmallocn(int nObjs, int objSize) GMEM_EXCEP { in gmallocn() argument
161 if (nObjs == 0) { in gmallocn()
164 n = nObjs * objSize; in gmallocn()
165 if (objSize <= 0 || nObjs < 0 || nObjs >= INT_MAX / objSize) { in gmallocn()
171 void *greallocn(void *p, int nObjs, int objSize) GMEM_EXCEP { in greallocn() argument
174 if (nObjs == 0) { in greallocn()
180 n = nObjs * objSize; in greallocn()
181 if (objSize <= 0 || nObjs < 0 || nObjs >= INT_MAX / objSize) { in greallocn()
/dports/devel/tex-web2c/texlive-20150521-source/libs/xpdf/xpdf-3.04/goo/
H A Dgmem.cc158 void *gmallocn(int nObjs, int objSize) GMEM_EXCEP { in gmallocn() argument
161 if (nObjs == 0) { in gmallocn()
164 n = nObjs * objSize; in gmallocn()
165 if (objSize <= 0 || nObjs < 0 || nObjs >= INT_MAX / objSize) { in gmallocn()
171 void *greallocn(void *p, int nObjs, int objSize) GMEM_EXCEP { in greallocn() argument
174 if (nObjs == 0) { in greallocn()
180 n = nObjs * objSize; in greallocn()
181 if (objSize <= 0 || nObjs < 0 || nObjs >= INT_MAX / objSize) { in greallocn()
/dports/japanese/tex-ptex/texlive-20150521-source/libs/xpdf/xpdf-3.04/goo/
H A Dgmem.cc158 void *gmallocn(int nObjs, int objSize) GMEM_EXCEP { in gmallocn() argument
161 if (nObjs == 0) { in gmallocn()
164 n = nObjs * objSize; in gmallocn()
165 if (objSize <= 0 || nObjs < 0 || nObjs >= INT_MAX / objSize) { in gmallocn()
171 void *greallocn(void *p, int nObjs, int objSize) GMEM_EXCEP { in greallocn() argument
174 if (nObjs == 0) { in greallocn()
180 n = nObjs * objSize; in greallocn()
181 if (objSize <= 0 || nObjs < 0 || nObjs >= INT_MAX / objSize) { in greallocn()
/dports/print/tex-basic-engines/texlive-20150521-source/libs/xpdf/xpdf-3.04/goo/
H A Dgmem.cc158 void *gmallocn(int nObjs, int objSize) GMEM_EXCEP { in gmallocn() argument
161 if (nObjs == 0) { in gmallocn()
164 n = nObjs * objSize; in gmallocn()
165 if (objSize <= 0 || nObjs < 0 || nObjs >= INT_MAX / objSize) { in gmallocn()
171 void *greallocn(void *p, int nObjs, int objSize) GMEM_EXCEP { in greallocn() argument
174 if (nObjs == 0) { in greallocn()
180 n = nObjs * objSize; in greallocn()
181 if (objSize <= 0 || nObjs < 0 || nObjs >= INT_MAX / objSize) { in greallocn()
/dports/print/tex-aleph/texlive-20150521-source/libs/xpdf/xpdf-3.04/goo/
H A Dgmem.cc158 void *gmallocn(int nObjs, int objSize) GMEM_EXCEP { in gmallocn() argument
161 if (nObjs == 0) { in gmallocn()
164 n = nObjs * objSize; in gmallocn()
165 if (objSize <= 0 || nObjs < 0 || nObjs >= INT_MAX / objSize) { in gmallocn()
171 void *greallocn(void *p, int nObjs, int objSize) GMEM_EXCEP { in greallocn() argument
174 if (nObjs == 0) { in greallocn()
180 n = nObjs * objSize; in greallocn()
181 if (objSize <= 0 || nObjs < 0 || nObjs >= INT_MAX / objSize) { in greallocn()
/dports/print/tex-luatex/texlive-20150521-source/libs/xpdf/xpdf-3.04/goo/
H A Dgmem.cc158 void *gmallocn(int nObjs, int objSize) GMEM_EXCEP { in gmallocn() argument
161 if (nObjs == 0) { in gmallocn()
164 n = nObjs * objSize; in gmallocn()
165 if (objSize <= 0 || nObjs < 0 || nObjs >= INT_MAX / objSize) { in gmallocn()
171 void *greallocn(void *p, int nObjs, int objSize) GMEM_EXCEP { in greallocn() argument
174 if (nObjs == 0) { in greallocn()
180 n = nObjs * objSize; in greallocn()
181 if (objSize <= 0 || nObjs < 0 || nObjs >= INT_MAX / objSize) { in greallocn()
/dports/print/tex-xetex/texlive-20150521-source/libs/xpdf/xpdf-3.04/goo/
H A Dgmem.cc158 void *gmallocn(int nObjs, int objSize) GMEM_EXCEP { in gmallocn() argument
161 if (nObjs == 0) { in gmallocn()
164 n = nObjs * objSize; in gmallocn()
165 if (objSize <= 0 || nObjs < 0 || nObjs >= INT_MAX / objSize) { in gmallocn()
171 void *greallocn(void *p, int nObjs, int objSize) GMEM_EXCEP { in greallocn() argument
174 if (nObjs == 0) { in greallocn()
180 n = nObjs * objSize; in greallocn()
181 if (objSize <= 0 || nObjs < 0 || nObjs >= INT_MAX / objSize) { in greallocn()
/dports/textproc/pdftohtml/pdftohtml-0.40a/goo/
H A Dgmem.c141 void *gmallocn(int nObjs, int objSize) { in gmallocn() argument
144 if (nObjs == 0) { in gmallocn()
147 n = nObjs * objSize; in gmallocn()
148 if (objSize <= 0 || nObjs < 0 || nObjs >= INT_MAX / objSize) { in gmallocn()
155 void *greallocn(void *p, int nObjs, int objSize) { in greallocn() argument
158 if (nObjs == 0) { in greallocn()
164 n = nObjs * objSize; in greallocn()
165 if (objSize <= 0 || nObjs < 0 || nObjs >= INT_MAX / objSize) { in greallocn()
/dports/cad/abc/abc-a4518e6f833885c905964f1233d11e5b941ec24c/src/aig/saig/
H A DsaigSimSeq.c129 p->pFans0[p->nObjs] = iFan0; in Raig_ManCreate_rec()
130 p->pFans1[p->nObjs] = iFan1; in Raig_ManCreate_rec()
131 p->pRefs[p->nObjs] = Aig_ObjRefs(pObj); in Raig_ManCreate_rec()
132 return pObj->iData = p->nObjs++; in Raig_ManCreate_rec()
150 int i, nObjs; in Raig_ManCreate() local
161 p->pFans0 = ABC_ALLOC( int, nObjs ); in Raig_ManCreate()
162 p->pFans1 = ABC_ALLOC( int, nObjs ); in Raig_ManCreate()
163 p->pRefs = ABC_ALLOC( int, nObjs ); in Raig_ManCreate()
167 p->nObjs = 2; in Raig_ManCreate()
176 assert( p->nObjs == nObjs ); in Raig_ManCreate()
[all …]

12345678910