MCPcopy Create free account
hub / github.com/OpenDriveLab/OpenLane / getPayload

Function getPayload

eval/CIPO_evaluation/common/gason.h:64–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62 return isDouble() ? JSON_NUMBER : JsonTag((ival >> JSON_VALUE_TAG_SHIFT) & JSON_VALUE_TAG_MASK);
63 }
64 uint64_t getPayload() const {
65 assert(!isDouble());
66 return ival & JSON_VALUE_PAYLOAD_MASK;
67 }
68 double toNumber() const {
69 assert(getTag() == JSON_NUMBER);
70 return fval;

Callers 2

toStringFunction · 0.85
toNodeFunction · 0.85

Calls 1

isDoubleFunction · 0.85

Tested by

no test coverage detected