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

Method MutateFloat

native/thirdpart/flatbuffers/flexbuffers.h:697–705  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

695 }
696
697 bool MutateFloat(float f) {
698 if (type_ == FBT_FLOAT) {
699 return MutateF(data_, f, parent_width_, BIT_WIDTH_32);
700 } else if (type_ == FBT_INDIRECT_FLOAT) {
701 return MutateF(Indirect(), f, byte_width_, BIT_WIDTH_32);
702 } else {
703 return false;
704 }
705 }
706
707 bool MutateFloat(double d) {
708 if (type_ == FBT_FLOAT) {

Callers

nothing calls this directly

Calls 2

IndirectFunction · 0.85
WidthFFunction · 0.85

Tested by

no test coverage detected