MCPcopy Create free account
hub / github.com/bytedance/Fastbot_Android / WidthI

Function WidthI

native/thirdpart/flatbuffers/flexbuffers.h:195–198  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

193}
194
195inline BitWidth WidthI(int64_t i) {
196 auto u = static_cast<uint64_t>(i) << 1;
197 return WidthU(i >= 0 ? u : ~u);
198}
199
200inline BitWidth WidthF(double f) {
201 return static_cast<double>(static_cast<float>(f)) == f ? BIT_WIDTH_32

Callers 4

MutateIntMethod · 0.85
MutateUIntMethod · 0.85
IntFunction · 0.85
IndirectIntFunction · 0.85

Calls 1

WidthUFunction · 0.85

Tested by

no test coverage detected