MCPcopy Create free account
hub / github.com/1a1a11a/libCacheSim / ok_magic

Method ok_magic

libCacheSim/dataStructure/sparsepp/spp_dlalloc.h:1222–1222  ·  view source on GitHub ↗

Check if (alleged) mstate m has expected magic field

Source from the content-addressed store, hash-verified

1220
1221 // Check if (alleged) mstate m has expected magic field
1222 bool ok_magic() const { return _magic == mparams._magic; }
1223
1224 // In gcc, use __builtin_expect to minimize impact of checks
1225 #if defined(__GNUC__) && __GNUC__ >= 3

Callers 15

destroy_mspaceFunction · 0.80
mspace_mallocFunction · 0.80
mspace_freeFunction · 0.80
mspace_callocFunction · 0.80
mspace_reallocFunction · 0.80
mspace_realloc_in_placeFunction · 0.80
mspace_memalignFunction · 0.80
mspace_inspect_allFunction · 0.80
mspace_trimFunction · 0.80
mspace_footprintFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected