MCPcopy Create free account
hub / github.com/CppCXY/EmmyLuaCodeStyle / mi_ctz

Function mi_ctz

3rd/mimalloc-2.0.9/include/mimalloc-internal.h:955–962  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

953#endif
954}
955static inline size_t mi_ctz(uintptr_t x) {
956 if (x==0) return MI_INTPTR_BITS;
957#if (INTPTR_MAX == LONG_MAX)
958 return __builtin_ctzl(x);
959#else
960 return __builtin_ctzll(x);
961#endif
962}
963
964#elif defined(_MSC_VER)
965

Callers 1

Calls 1

mi_ctz32Function · 0.85

Tested by

no test coverage detected