MCPcopy Create free account
hub / github.com/armink/struct2json / pow2gt

Function pow2gt

struct2json/src/cJSON.c:117–117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

115}
116
117static int pow2gt (int x) { --x; x|=x>>1; x|=x>>2; x|=x>>4; x|=x>>8; x|=x>>16; return x+1; }
118
119typedef struct {char *buffer; int length; int offset; } printbuffer;
120

Callers 1

ensureFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected