Searched refs:toUInt (Results 1 – 12 of 12) sorted by relevance
19 val id : UInt get() = bb.getInt(bb_pos + 0).toUInt()21 val distance : UInt get() = bb.getInt(bb_pos + 4).toUInt() in mutateId()
92 return if(o != 0) bb.getInt(o + bb_pos).toUInt() else 0u
259 return if(o != 0) bb.getInt(o + bb_pos).toUInt() else 0u315 return if(o != 0) bb.getInt(o + bb_pos).toUInt() else 0u
150 invsum += ibb.get().toUInt() in TestBuffer()173 assert(monster.testhashu32Fnv1 == (Integer.MAX_VALUE + 1L).toUInt()) in TestExtendedBuffer()358 Monster.addTesthashu32Fnv1(fbb, (Integer.MAX_VALUE + 1L).toUInt()) in TestBuilderBasics()516 assert(scalarStuff.justU32 == 0.toUInt()) in TestScalarOptional()556 ScalarStuff.addJustU32(fbb, 10.toUInt()) in TestScalarOptional()557 ScalarStuff.addMaybeU32(fbb, 10.toUInt()) in TestScalarOptional()558 ScalarStuff.addDefaultU32(fbb, 10.toUInt()) in TestScalarOptional()
146 public fun toBoolean(): Boolean = if (isBoolean) buffer.getBoolean(end) else toUInt() != 0u in get()216 public fun toUInt(): UInt = toULong().toUInt() in get() method in com.google.flatbuffers.kotlin.Reference389 T_VECTOR_FLOAT -> UShortArray(vec.size) { vec.getFloat(it).toUInt().toUShort() } in toUShortArray()401 T_VECTOR_INT -> UIntArray(vec.size) { vec.getInt(it).toUInt() } in toUIntArray()402 T_VECTOR_UINT -> UIntArray(vec.size) { vec.getUInt(it).toUInt() } in toUIntArray()403 T_VECTOR -> UIntArray(vec.size) { vec[it].toUInt() } in toUIntArray()404 T_VECTOR_FLOAT -> UIntArray(vec.size) { vec.getFloat(it).toUInt() } in toUIntArray()
594 buffer.put(valueBlock(i).toUInt()) in writeIntegerArray()606 4 -> buffer.put(value.toUInt()) in writeInt()614 4 -> buffer.put(value.toUInt()) in writeInt()
67 … fun ReadBuffer.readUInt(end: Int, byteWidth: ByteWidth): UInt = readULong(end, byteWidth).toUInt() in indirect()
67 public inline fun getUInt(ary: ByteArray, index: Int): UInt = getInt(ary, index).toUInt() in getString()
82 channel.send((Long.MAX_VALUE - 1).toUInt()) in <lambda>()92 assertEquals((Long.MAX_VALUE - 1).toUInt(), element2.getOrThrow()) in <lambda>()
12 internal actual val Any.hexAddress: String get() = identityHashCode().toUInt().toString(16)
97 return if(o != 0) bb.getInt(o + bb_pos).toUInt() else 0u102 return if(o != 0) bb.getInt(o + bb_pos).toUInt() else null107 return if(o != 0) bb.getInt(o + bb_pos).toUInt() else 42u
106 }.sortedBy { it.toUInt() }.map { it.toLong() }.toLongArray() in <lambda>()