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

Function omCheckCells

omalloc/omtTest.c:136–160  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

134}
135
136void omCheckCells(int n, int level, omMemCell_t* cells)
137{
138#if END_CHECK_LEVEL > 0
139 int l = om_Opts.MinCheck;
140 int i;
141
142 omTestMemory(level);
143 om_Opts.MinCheck = 1;
144 for (i=0; i<n; i++)
145 {
146 omtTestDebug(&cells[i]);
147 if (om_ErrorStatus != omError_NoError)
148 {
149 errors++;
150 om_ErrorStatus = omError_NoError;
151 }
152 if ((i % 10000) == 0)
153 {
154 printf(".");
155 fflush(stdout);
156 }
157 }
158 om_Opts.MinCheck = l;
159#endif
160}
161
162
163int size_range = RANGE_MIN;

Callers 1

mainFunction · 0.85

Calls 2

omTestMemoryFunction · 0.85
omtTestDebugFunction · 0.85

Tested by

no test coverage detected