MCPcopy Create free account
hub / github.com/ChaiScript/ChaiScript / align_up

Method align_up

include/chaiscript/dispatchkit/short_alloc.hpp:49–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47
48private:
49 static
50 std::size_t
51 align_up(std::size_t n) noexcept
52 {return (n + (alignment-1)) & ~(alignment-1);}
53
54 bool
55 pointer_in_buffer(char* p) noexcept

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected