Home
last modified time | relevance | path

Searched refs:is_pow2 (Results 1 – 2 of 2) sorted by relevance

/external/protobuf/php/ext/google/protobuf/
Dupb.c4034 bool is_pow2(uint64_t v) { return v == 0 || (v & (v - 1)) == 0; } in is_pow2() function
4038 bool pow2 = is_pow2(v); in log2ceil()
/external/protobuf/ruby/ext/google/protobuf_c/
Dupb.c4265 bool is_pow2(uint64_t v) { return v == 0 || (v & (v - 1)) == 0; } in is_pow2() function
4269 bool pow2 = is_pow2(v); in log2ceil()