MCPcopy Create free account
hub / github.com/Kitware/CMake / isInBuffer

Method isInBuffer

Utilities/cmcppdap/include/dap/any.h:203–207  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

201}
202
203bool any::isInBuffer(void* ptr) const {
204 auto addr = reinterpret_cast<uintptr_t>(ptr);
205 return addr >= reinterpret_cast<uintptr_t>(buffer) &&
206 addr < reinterpret_cast<uintptr_t>(buffer + sizeof(buffer));
207}
208
209} // namespace dap
210

Callers 2

anyMethod · 0.80
any.hFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected