MCPcopy Create free account
hub / github.com/apache/impala / Count

Method Count

be/src/gutil/bits.cc:30–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28 4, 5, 5, 6, 5, 6, 6, 7, 5, 6, 6, 7, 6, 7, 7, 8 };
29
30int Bits::Count(const void *m, int num_bytes) {
31 int nbits = 0;
32 const uint8 *s = (const uint8 *) m;
33 for (int i = 0; i < num_bytes; i++)
34 nbits += num_bits[*s++];
35 return nbits;
36}
37
38int Bits::Difference(const void *m1, const void *m2, int num_bytes) {
39 int nbits = 0;

Callers 2

GetQueryStatusMethod · 0.45
NumLiveQueriesMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected