21#ifndef ABC__sat__xSAT__xsatWatchList_h
22#define ABC__sat__xSAT__xsatWatchList_h
123 int newsize = ( v->
nCap < 4 ) ? 4 : ( v->nCap / 2 ) * 3;
128 printf(
"Failed to realloc memory from %.1f MB to %.1f MB.\n",
129 1.0 * v->
nCap / (1<<20), 1.0 * newsize / (1<<20) );
165static inline void xSAT_WatchListRemove(
xSAT_WatchList_t * v,
unsigned CRef )
170 for ( ; ws[j].CRef !=
CRef; j++ );
171 assert( j < xSAT_WatchListSize( v ) );
211 for( i = 0; i < v->
nSize; i++ )
212 xSAT_WatchListFree( v->
pArray + i );
233 int newsize = (v->
nCap < 4) ? v->
nCap * 2 : (v->nCap / 2) * 3;
239 printf(
"Failed to realloc memory from %.1f MB to %.1f MB.\n",
240 1.0 * v->
nCap / (1<<20), 1.0 * newsize / (1<<20) );
262 assert( iEntry < v->nCap );
263 assert( iEntry < v->nSize );
264 return v->
pArray + iEntry;
#define ABC_ALLOC(type, num)
#define ABC_REALLOC(type, obj, num)
#define ABC_CALLOC(type, num)
#define ABC_NAMESPACE_HEADER_END
#define ABC_NAMESPACE_HEADER_START
NAMESPACES ///.
RegionAllocator< uint32_t >::Ref CRef
xSAT_WatchList_t * pArray
struct xSAT_WatchList_t_ xSAT_WatchList_t
typedefABC_NAMESPACE_HEADER_START struct xSAT_Watcher_t_ xSAT_Watcher_t
INCLUDES ///.
struct xSAT_VecWatchList_t_ xSAT_VecWatchList_t