MCPcopy Create free account
hub / github.com/dobin/RedEdr / get

Method get

RedEdrShared/ranges.h:69–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67 }
68
69 const Range* get(uint64_t value) const {
70 for (const auto& range : ranges_) {
71 if (range.contains(value)) {
72 return ⦥
73 }
74 }
75 return NULL;
76 }
77
78 RangeSet intersect(const RangeSet& other) const {
79 RangeSet result;

Callers 1

GetMemoryRegionMethod · 0.45

Calls 1

containsMethod · 0.45

Tested by

no test coverage detected