MCPcopy Create free account
hub / github.com/arun11299/cpp-jwt / pointer_in_storage

Method pointer_in_storage

include/jwt/stack_alloc.hpp:112–115  ·  view source on GitHub ↗

* A check to determine if the pointer 'p' * points to a region within storage. */

Source from the content-addressed store, hash-verified

110 * points to a region within storage.
111 */
112 bool pointer_in_storage(char* p) const noexcept
113 {
114 return (buf_ <= p) && (p <= (buf_ + N));
115 }
116
117 /*
118 * Rounds up the number to the next closest number

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected