MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / Test

Method Test

extern/re2/re2/bitmap256.h:31–36  ·  view source on GitHub ↗

Tests the bit with index c.

Source from the content-addressed store, hash-verified

29
30 // Tests the bit with index c.
31 bool Test(int c) const {
32 DCHECK_GE(c, 0);
33 DCHECK_LE(c, 255);
34
35 return (words_[c / 64] & (uint64_t{1} << (c % 64))) != 0;
36 }
37
38 // Sets the bit with index c.
39 void Set(int c) {

Callers 2

MergeMethod · 0.80
ComputeHintsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected