MCPcopy Create free account
hub / github.com/cel-expr/cel-cpp / Uint64OrDie

Method Uint64OrDie

eval/public/cel_value.h:290–292  ·  view source on GitHub ↗

Returns stored uint64 value. Fails if stored value type is not uint64.

Source from the content-addressed store, hash-verified

288 // Returns stored uint64 value.
289 // Fails if stored value type is not uint64.
290 uint64_t Uint64OrDie() const {
291 return GetValueOrDie<uint64_t>(Type::kUint64);
292 }
293
294 // Returns stored double value.
295 // Fails if stored value type is not double.

Callers 15

TEST_FFunction · 0.80
TESTFunction · 0.80
TestTypeConvertsMethod · 0.80
FakeUint64MapMethod · 0.80
TEST_FFunction · 0.80
KeyAsStringFunction · 0.80
ExportAsProtoValueFunction · 0.80
CelValueToValueFunction · 0.80
TESTFunction · 0.80

Calls

no outgoing calls

Tested by 12

TEST_FFunction · 0.64
TESTFunction · 0.64
TestTypeConvertsMethod · 0.64
FakeUint64MapMethod · 0.64
TEST_FFunction · 0.64
TESTFunction · 0.64
TESTFunction · 0.64
TESTFunction · 0.64
TESTFunction · 0.64
TEST_PFunction · 0.64
TEST_PFunction · 0.64