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

Function getTag

eval/CIPO_evaluation/common/gason.h:61–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59 return (int64_t)ival <= (int64_t)JSON_VALUE_NAN_MASK;
60 }
61 JsonTag getTag() const {
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;

Callers 3

toNumberFunction · 0.85
toStringFunction · 0.85
toNodeFunction · 0.85

Calls 2

isDoubleFunction · 0.85
JsonTagEnum · 0.85

Tested by

no test coverage detected