MCPcopy Create free account
hub / github.com/Moddable-OpenSource/moddable / fxShouldStress

Function fxShouldStress

xs/sources/xsMemory.c:60–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58int gxStress = 0;
59
60static int fxShouldStress()
61{
62 if (!gxStress)
63 return 0;
64
65 if (gxStress > 0)
66 return 1;
67
68 gxStress += 1;
69 return 0 == gxStress;
70}
71#endif
72
73#if mxNoChunks

Callers 2

fxFindChunkFunction · 0.85
fxNewSlotFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected