MCPcopy Create free account
hub / github.com/Singular/Singular / omGetSpecBin

Function omGetSpecBin

omalloc/xalloc.h:154–160  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

152#define omTypeAllocBin(T,P,B) P=(T)omAllocBin(B)
153#define omTypeAlloc0Bin(T,P,B) P=(T)omAlloc0Bin(B)
154static inline omBin omGetSpecBin(size_t s)
155{
156 omBin b=(omBin)omAlloc(sizeof(*b));
157 b->size=s;
158 b->curr=NULL;
159 return b;
160}
161static inline void omUnGetSpecBin(omBin *A)
162{
163 omBin_next p=(*A)->curr;

Callers 15

int_poly.ccFile · 0.85
int_int.ccFile · 0.85
rintegers.ccFile · 0.85
longrat0.ccFile · 0.85
sparsmat.ccFile · 0.85
simpleideals.ccFile · 0.85
sbuckets.ccFile · 0.85
kbuckets.ccFile · 0.85
transext.ccFile · 0.85
ring.ccFile · 0.85
rCompleteFunction · 0.85
rAssure_TDegFunction · 0.85

Calls

no outgoing calls

Tested by 2

omtTestAllocFunction · 0.68
omtTestReallocFunction · 0.68