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

Function TestRealloc

omalloc/omtTest.c:205–226  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

203}
204
205void TestRealloc(omMemCell cell, unsigned long spec)
206{
207 if (DO_CHECK(spec))
208 {
209 if (DO_TRACK(spec))
210 om_Opts.MinTrack = GET_TRACK(spec);
211 else
212 om_Opts.MinTrack = 0;
213
214 if (DO_KEEP(spec))
215 omtTestReallocKeep(cell, spec);
216 else
217 omtTestReallocDebug(cell, spec);
218 }
219 else
220 omtTestRealloc(cell, spec);
221 if (om_ErrorStatus != omError_NoError)
222 {
223 errors++;
224 om_ErrorStatus = omError_NoError;
225 }
226}
227
228void TestDup(omMemCell cell, unsigned long spec)
229{

Callers 1

mainFunction · 0.85

Calls 1

omtTestReallocFunction · 0.85

Tested by

no test coverage detected