Version abc90408

This commit is contained in:
Alan Mishchenko
2009-04-08 08:01:00 -07:00
parent e3e2918eb8
commit df6fdd1dff
134 changed files with 1315 additions and 413 deletions
+2 -2
View File
@@ -309,7 +309,7 @@ static inline void Hash_FltFree( Hash_Flt_t *p ) {
int bin;
Hash_Flt_Entry_t *pEntry;
// ABC_FREE bins
// free bins
for(bin = 0; bin < p->nBins; bin++) {
pEntry = p->pArray[bin];
while(pEntry) {
@@ -318,7 +318,7 @@ static inline void Hash_FltFree( Hash_Flt_t *p ) {
}
}
// ABC_FREE hash
// free hash
ABC_FREE( p->pArray );
ABC_FREE( p );
}
+2 -2
View File
@@ -272,7 +272,7 @@ static inline void Hash_IntFree( Hash_Int_t *p ) {
int bin;
Hash_Int_Entry_t *pEntry, *pTemp;
// ABC_FREE bins
// free bins
for(bin = 0; bin < p->nBins; bin++) {
pEntry = p->pArray[bin];
while(pEntry) {
@@ -282,7 +282,7 @@ static inline void Hash_IntFree( Hash_Int_t *p ) {
}
}
// ABC_FREE hash
// free hash
ABC_FREE( p->pArray );
ABC_FREE( p );
}
+2 -2
View File
@@ -310,7 +310,7 @@ static inline void Hash_PtrFree( Hash_Ptr_t *p ) {
int bin;
Hash_Ptr_Entry_t *pEntry;
// ABC_FREE bins
// free bins
for(bin = 0; bin < p->nBins; bin++) {
pEntry = p->pArray[bin];
while(pEntry) {
@@ -319,7 +319,7 @@ static inline void Hash_PtrFree( Hash_Ptr_t *p ) {
}
}
// ABC_FREE hash
// free hash
ABC_FREE( p->pArray );
ABC_FREE( p );
}
+3 -3
View File
@@ -124,7 +124,7 @@ static inline void * Vec_AttFree( Vec_Att_t * p, int fFreeMan )
void * pMan;
if ( p == NULL )
return NULL;
// ABC_FREE the attributes of objects
// free the attributes of objects
if ( p->pFuncFreeObj )
{
int i;
@@ -132,7 +132,7 @@ static inline void * Vec_AttFree( Vec_Att_t * p, int fFreeMan )
if ( p->pArrayPtr[i] )
p->pFuncFreeObj( p->pMan, p->pArrayPtr[i] );
}
// ABC_FREE the memory manager
// free the memory manager
pMan = fFreeMan? NULL : p->pMan;
if ( p->pMan && fFreeMan )
p->pFuncFreeMan( p->pMan );
@@ -154,7 +154,7 @@ static inline void * Vec_AttFree( Vec_Att_t * p, int fFreeMan )
***********************************************************************/
static inline void Vec_AttClear( Vec_Att_t * p )
{
// ABC_FREE the attributes of objects
// free the attributes of objects
if ( p->pFuncFreeObj )
{
int i;
+2 -2
View File
@@ -785,7 +785,7 @@ static inline void Vec_PtrDoubleSimInfo( Vec_Ptr_t * vInfo )
vInfo->pArray = vInfoNew->pArray;
vInfo->nSize *= 2;
vInfo->nCap *= 2;
// ABC_FREE the old array
// free the old array
vInfoNew->pArray = NULL;
ABC_FREE( vInfoNew );
}
@@ -815,7 +815,7 @@ static inline void Vec_PtrReallocSimInfo( Vec_Ptr_t * vInfo )
// replace the array
ABC_FREE( vInfo->pArray );
vInfo->pArray = vInfoNew->pArray;
// ABC_FREE the old array
// free the old array
vInfoNew->pArray = NULL;
ABC_FREE( vInfoNew );
}