Home
last modified time | relevance | path

Searched refs:minBitWidth (Results 1 – 3 of 3) sorted by relevance

/external/flatbuffers/kotlin/flatbuffers-kotlin/src/commonMain/kotlin/com/google/flatbuffers/kotlin/
DFlexBuffersInternals.kt122 var minBitWidth: BitWidth = W_8, in isTypedVector() variable in com.google.flatbuffers.kotlin.Value
132 if (type.isInline()) minBitWidth.max(parentBitWidth) else minBitWidth in isTypedVector()
135 elemWidth(type, minBitWidth, iValue.toLong(), bufSize, elemIndex) in isTypedVector()
140 minBitWidth: BitWidth, in elemWidth()
145 if (type.isInline()) return minBitWidth in elemWidth()
DFlexBuffersBuilder.kt713 writeInt(1 shl keys.minBitWidth.value, byteWidth)
/external/flatbuffers/java/com/google/flatbuffers/
DFlexBuffersBuilder.java541 writeInt(1L << keys.minBitWidth, byteWidth); in createVector()
652 final int minBitWidth; field in FlexBuffersBuilder.Value
663 this.minBitWidth = bitWidth; in Value()
671 this.minBitWidth = bitWidth; in Value()
738 return Math.max(minBitWidth, parentBitWidth); in storedWidth()
740 return minBitWidth; in storedWidth()
745 return elemWidth(type, minBitWidth, iValue, bufSize, elemIndex); in elemWidth()
748 … private static int elemWidth(int type, int minBitWidth, long iValue, int bufSize, int elemIndex) { in elemWidth() argument
750 return minBitWidth; in elemWidth()