/dports/www/grafana8/grafana-8.3.6/vendor/github.com/apache/arrow/java/vector/src/main/java/org/apache/arrow/vector/util/ |
H A D | DecimalUtility.java | 46 byte[] value = new byte[byteWidth]; in getBigDecimalFromArrowBuf() 48 final long startIndex = (long) index * byteWidth; in getBigDecimalFromArrowBuf() 50 bytebuf.getBytes(startIndex, value, 0, byteWidth); in getBigDecimalFromArrowBuf() 53 int stop = byteWidth / 2; in getBigDecimalFromArrowBuf() 56 j = (byteWidth - 1) - i; in getBigDecimalFromArrowBuf() 70 byte[] value = new byte[byteWidth]; in getBigDecimalFromByteBuffer() 81 final byte[] value = new byte[byteWidth]; in getByteArrayFromArrowBuf() 82 final long startIndex = (long) index * byteWidth; in getByteArrayFromArrowBuf() 83 bytebuf.getBytes(startIndex, value, 0, byteWidth); in getByteArrayFromArrowBuf() 137 if (byteWidth != 16 && byteWidth != 32) { in writeLongToArrowBuf() [all …]
|
/dports/databases/arrow/apache-arrow-6.0.1/java/vector/src/main/java/org/apache/arrow/vector/util/ |
H A D | DecimalUtility.java | 46 byte[] value = new byte[byteWidth]; in getBigDecimalFromArrowBuf() 48 final long startIndex = (long) index * byteWidth; in getBigDecimalFromArrowBuf() 50 bytebuf.getBytes(startIndex, value, 0, byteWidth); in getBigDecimalFromArrowBuf() 53 int stop = byteWidth / 2; in getBigDecimalFromArrowBuf() 56 j = (byteWidth - 1) - i; in getBigDecimalFromArrowBuf() 70 byte[] value = new byte[byteWidth]; in getBigDecimalFromByteBuffer() 81 final byte[] value = new byte[byteWidth]; in getByteArrayFromArrowBuf() 82 final long startIndex = (long) index * byteWidth; in getByteArrayFromArrowBuf() 83 bytebuf.getBytes(startIndex, value, 0, byteWidth); in getByteArrayFromArrowBuf() 137 if (byteWidth != 16 && byteWidth != 32) { in writeLongToArrowBuf() [all …]
|
/dports/devel/flatbuffers/flatbuffers-2.0.0/java/com/google/flatbuffers/ |
H A D | FlexBuffers.java | 161 switch (byteWidth) { in readUInt() 177 switch (byteWidth) { in readLong() 241 this.byteWidth = byteWidth; in Reference() 497 int size = (int) readUInt(bb, start - byteWidth, byteWidth); in asString() 635 int byteWidth; field in FlexBuffers.Object 640 this.byteWidth = byteWidth; in Object() 658 size = readInt(bb, end - byteWidth, byteWidth); in Sized() 808 return ((Key) obj).end == end && ((Key) obj).byteWidth == byteWidth; in equals() 871 readInt(bb, keysOffset + byteWidth, byteWidth), in keys() 912 int keyByteWidth = readInt(bb, keysOffset + byteWidth, byteWidth); in binarySearch() [all …]
|
H A D | FlexBuffersBuilder.java | 403 int byteWidth = 1 << alignment; in align() local 408 return byteWidth; in align() 412 switch (byteWidth) { in writeInt() 488 bb.put((byte) byteWidth); in finish() 564 assert (byteWidth == 8 || reloff < 1L << (byteWidth * 8)); in writeOffset() 565 writeInt(reloff, byteWidth); in writeOffset() 586 if (byteWidth == 4) { in writeDouble() 588 } else if (byteWidth == 8) { in writeDouble() 635 writeInt(length, byteWidth); in createKeyVector() 760 for (int byteWidth = 1; byteWidth <= 32; byteWidth *= 2) { in elemWidth() [all …]
|
/dports/www/grafana8/grafana-8.3.6/vendor/github.com/google/flatbuffers/java/com/google/flatbuffers/ |
H A D | FlexBuffers.java | 161 switch (byteWidth) { in readUInt() 177 switch (byteWidth) { in readLong() 241 this.byteWidth = byteWidth; in Reference() 497 int size = (int) readUInt(bb, start - byteWidth, byteWidth); in asString() 635 int byteWidth; field in FlexBuffers.Object 640 this.byteWidth = byteWidth; in Object() 658 size = readInt(bb, end - byteWidth, byteWidth); in Sized() 808 return ((Key) obj).end == end && ((Key) obj).byteWidth == byteWidth; in equals() 871 readInt(bb, keysOffset + byteWidth, byteWidth), in keys() 912 int keyByteWidth = readInt(bb, keysOffset + byteWidth, byteWidth); in binarySearch() [all …]
|
H A D | FlexBuffersBuilder.java | 403 int byteWidth = 1 << alignment; in align() local 408 return byteWidth; in align() 412 switch (byteWidth) { in writeInt() 488 bb.put((byte) byteWidth); in finish() 564 assert (byteWidth == 8 || reloff < 1L << (byteWidth * 8)); in writeOffset() 565 writeInt(reloff, byteWidth); in writeOffset() 586 if (byteWidth == 4) { in writeDouble() 588 } else if (byteWidth == 8) { in writeDouble() 635 writeInt(length, byteWidth); in createKeyVector() 760 for (int byteWidth = 1; byteWidth <= 32; byteWidth *= 2) { in elemWidth() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/flatbuffers/src/java/com/google/flatbuffers/ |
H A D | FlexBuffers.java | 161 switch (byteWidth) { in readUInt() 177 switch (byteWidth) { in readLong() 187 switch (byteWidth) { in readDouble() 230 private int byteWidth; field in FlexBuffers.Reference 241 this.byteWidth = byteWidth; in Reference() 497 int size = (int) readUInt(bb, start - byteWidth, byteWidth); in asString() 635 int byteWidth; field in FlexBuffers.Object 640 this.byteWidth = byteWidth; in Object() 658 size = readInt(bb, end - byteWidth, byteWidth); in Sized() 808 return ((Key) obj).end == end && ((Key) obj).byteWidth == byteWidth; in equals() [all …]
|
H A D | FlexBuffersBuilder.java | 392 int byteWidth = 1 << alignment; in align() local 397 return byteWidth; in align() 401 switch (byteWidth) { in writeInt() 477 bb.put((byte) byteWidth); in finish() 553 assert (byteWidth == 8 || reloff < 1L << (byteWidth * 8)); in writeOffset() 554 writeInt(reloff, byteWidth); in writeOffset() 575 if (byteWidth == 4) { in writeDouble() 577 } else if (byteWidth == 8) { in writeDouble() 624 writeInt(length, byteWidth); in createKeyVector() 749 for (int byteWidth = 1; byteWidth <= 32; byteWidth *= 2) { in elemWidth() [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/flatbuffers/src/java/com/google/flatbuffers/ |
H A D | FlexBuffers.java | 159 switch (byteWidth) { in readUInt() 175 switch (byteWidth) { in readLong() 185 switch (byteWidth) { in readDouble() 217 private int byteWidth; field in FlexBuffers.Reference 228 this.byteWidth = byteWidth; in Reference() 485 int size = readInt(bb, start - byteWidth, byteWidth); in asString() 620 int byteWidth; field in FlexBuffers.Object 625 this.byteWidth = byteWidth; in Object() 643 size = readInt(bb, end - byteWidth, byteWidth); in Sized() 793 return ((Key) obj).end == end && ((Key) obj).byteWidth == byteWidth; in equals() [all …]
|
H A D | FlexBuffersBuilder.java | 386 int byteWidth = 1 << alignment; in align() local 391 return byteWidth; in align() 395 switch (byteWidth) { in writeInt() 471 bb.put((byte) byteWidth); in finish() 545 assert (byteWidth == 8 || reloff < 1L << (byteWidth * 8)); in writeOffset() 546 writeInt(reloff, byteWidth); in writeOffset() 567 if (byteWidth == 4) { in writeDouble() 569 } else if (byteWidth == 8) { in writeDouble() 616 writeInt(length, byteWidth); in createKeyVector() 741 for (int byteWidth = 1; byteWidth <= 32; byteWidth *= 2) { in elemWidth() [all …]
|
/dports/www/grafana8/grafana-8.3.6/vendor/github.com/apache/arrow/java/vector/src/main/java/org/apache/arrow/vector/ |
H A D | FixedSizeBinaryVector.java | 41 private final int byteWidth; field in FixedSizeBinaryVector 121 valueBuffer.getBytes((long) index * byteWidth, dst, 0, byteWidth); in get() 140 holder.buffer = valueBuffer.slice((long) index * byteWidth, byteWidth); in get() 155 return byteWidth; in getByteWidth() 169 assert byteWidth <= value.length; in set() local 171 valueBuffer.setBytes((long) index * byteWidth, value, 0, byteWidth); in set() 207 assert byteWidth <= buffer.capacity(); in set() local 209 valueBuffer.setBytes((long) index * byteWidth, buffer, 0, byteWidth); in set() 260 assert holder.byteWidth == byteWidth; in set() local 285 assert holder.byteWidth == byteWidth; in set() local [all …]
|
/dports/databases/arrow/apache-arrow-6.0.1/java/vector/src/main/java/org/apache/arrow/vector/ |
H A D | FixedSizeBinaryVector.java | 41 private final int byteWidth; field in FixedSizeBinaryVector 121 valueBuffer.getBytes((long) index * byteWidth, dst, 0, byteWidth); in get() 140 holder.buffer = valueBuffer.slice((long) index * byteWidth, byteWidth); in get() 155 return byteWidth; in getByteWidth() 169 assert byteWidth <= value.length; in set() local 171 valueBuffer.setBytes((long) index * byteWidth, value, 0, byteWidth); in set() 207 assert byteWidth <= buffer.capacity(); in set() local 209 valueBuffer.setBytes((long) index * byteWidth, buffer, 0, byteWidth); in set() 260 assert holder.byteWidth == byteWidth; in set() local 285 assert holder.byteWidth == byteWidth; in set() local [all …]
|
/dports/security/vault/vault-1.8.2/vendor/github.com/apache/arrow/java/vector/src/main/java/org/apache/arrow/vector/ |
H A D | FixedSizeBinaryVector.java | 41 private final int byteWidth; field in FixedSizeBinaryVector 121 valueBuffer.getBytes((long) index * byteWidth, dst, 0, byteWidth); in get() 140 holder.buffer = valueBuffer.slice((long) index * byteWidth, byteWidth); in get() 155 return byteWidth; in getByteWidth() 169 assert byteWidth <= value.length; in set() local 171 valueBuffer.setBytes((long) index * byteWidth, value, 0, byteWidth); in set() 207 assert byteWidth <= buffer.capacity(); in set() local 209 valueBuffer.setBytes((long) index * byteWidth, buffer, 0, byteWidth); in set() 260 assert holder.byteWidth == byteWidth; in set() local 285 assert holder.byteWidth == byteWidth; in set() local [all …]
|
/dports/www/grafana8/grafana-8.3.6/vendor/github.com/google/flatbuffers/kotlin/flatbuffers-kotlin/src/commonMain/kotlin/com/google/flatbuffers/kotlin/ |
H A D | FlexBuffersBuilder.kt | 59 writeAny(stack[0], byteWidth) in finish() 461 writeInt(length, byteWidth) in setTypedVector() 465 writeBlock(byteWidth) in setTypedVector() 517 writeInt(size, byteWidth) in writeString() 526 private fun writeDouble(toWrite: Double, byteWidth: ByteWidth): Unit = when (byteWidth.value) { in writeDouble() 580 byteWidth: ByteWidth, in writeIntegerArray() 603 private fun writeInt(value: Int, byteWidth: ByteWidth) = when (byteWidth.value) { in writeInt() 611 private fun writeInt(value: ULong, byteWidth: ByteWidth) = when (byteWidth.value) { in writeInt() 627 return ByteWidth(byteWidth) in align() 647 writeInt(length, byteWidth) in createKeyVector() [all …]
|
H A D | FlexBuffersInternals.kt | 46 return when (byteWidth.value) { in readULong() 56 return when (byteWidth.value) { in readFloat() 64 … inline fun ReadBuffer.indirect(offset: Int, byteWidth: ByteWidth): Int = offset - readInt(offset,… in indirect() 66 …ernal inline fun ReadBuffer.readSize(end: Int, byteWidth: ByteWidth) = readInt(end - byteWidth, by… in indirect() 67 …nternal inline fun ReadBuffer.readUInt(end: Int, byteWidth: ByteWidth): UInt = readULong(end, byte… in indirect() 68 internal inline fun ReadBuffer.readInt(end: Int, byteWidth: ByteWidth): Int = readULong(end, byteWi… in indirect() 69 …nternal inline fun ReadBuffer.readLong(end: Int, byteWidth: ByteWidth): Long = readULong(end, byte… in indirect() 154 var byteWidth = 1 in elemWidth() variable 155 while (byteWidth <= 32) { in elemWidth() 157 val offsetLoc: Int = bufSize + paddingBytes(bufSize, byteWidth) + elemIndex * byteWidth in elemWidth() [all …]
|
H A D | FlexBuffers.kt | 30 val byteWidth = buffer[--end].toInt() in <lambda>() constant 45 internal val byteWidth: ByteWidth, constant in com.google.flatbuffers.kotlin.Reference 291 val size = buffer.readULong(start - byteWidth, byteWidth).toInt() in toString() 488 block(buffer.indirect(end, byteWidth), byteWidth) in resolve() 501 byteWidth != other.byteWidth || in equals() 523 public val byteWidth: ByteWidth constant in com.google.flatbuffers.kotlin.Sized 534 byteWidth: ByteWidth 572 byteWidth: ByteWidth in toString() 613 byteWidth: ByteWidth 710 Sized(buffer, end, byteWidth), in toString() [all …]
|
/dports/devel/flatbuffers/flatbuffers-2.0.0/kotlin/flatbuffers-kotlin/src/commonMain/kotlin/com/google/flatbuffers/kotlin/ |
H A D | FlexBuffersBuilder.kt | 59 writeAny(stack[0], byteWidth) in finish() 461 writeInt(length, byteWidth) in setTypedVector() 465 writeBlock(byteWidth) in setTypedVector() 517 writeInt(size, byteWidth) in writeString() 526 private fun writeDouble(toWrite: Double, byteWidth: ByteWidth): Unit = when (byteWidth.value) { in writeDouble() 580 byteWidth: ByteWidth, in writeIntegerArray() 603 private fun writeInt(value: Int, byteWidth: ByteWidth) = when (byteWidth.value) { in writeInt() 611 private fun writeInt(value: ULong, byteWidth: ByteWidth) = when (byteWidth.value) { in writeInt() 627 return ByteWidth(byteWidth) in align() 647 writeInt(length, byteWidth) in createKeyVector() [all …]
|
H A D | FlexBuffersInternals.kt | 46 return when (byteWidth.value) { in readULong() 56 return when (byteWidth.value) { in readFloat() 64 … inline fun ReadBuffer.indirect(offset: Int, byteWidth: ByteWidth): Int = offset - readInt(offset,… in indirect() 66 …ernal inline fun ReadBuffer.readSize(end: Int, byteWidth: ByteWidth) = readInt(end - byteWidth, by… in indirect() 67 …nternal inline fun ReadBuffer.readUInt(end: Int, byteWidth: ByteWidth): UInt = readULong(end, byte… in indirect() 68 internal inline fun ReadBuffer.readInt(end: Int, byteWidth: ByteWidth): Int = readULong(end, byteWi… in indirect() 69 …nternal inline fun ReadBuffer.readLong(end: Int, byteWidth: ByteWidth): Long = readULong(end, byte… in indirect() 154 var byteWidth = 1 in elemWidth() variable 155 while (byteWidth <= 32) { in elemWidth() 157 val offsetLoc: Int = bufSize + paddingBytes(bufSize, byteWidth) + elemIndex * byteWidth in elemWidth() [all …]
|
H A D | FlexBuffers.kt | 30 val byteWidth = buffer[--end].toInt() in <lambda>() constant 45 internal val byteWidth: ByteWidth, constant in com.google.flatbuffers.kotlin.Reference 291 val size = buffer.readULong(start - byteWidth, byteWidth).toInt() in toString() 488 block(buffer.indirect(end, byteWidth), byteWidth) in resolve() 501 byteWidth != other.byteWidth || in equals() 523 public val byteWidth: ByteWidth constant in com.google.flatbuffers.kotlin.Sized 534 byteWidth: ByteWidth 572 byteWidth: ByteWidth in toString() 613 byteWidth: ByteWidth 710 Sized(buffer, end, byteWidth), in toString() [all …]
|
/dports/www/grafana8/grafana-8.3.6/vendor/github.com/google/flatbuffers/ts/flexbuffers/ |
H A D | reference.ts | 17 const byteWidth = dataView.getUint8(len - 1); constant 19 const parentWidth = fromByteWidth(byteWidth); 20 const offset = len - byteWidth - 2; constant 26 private readonly byteWidth: number property in Reference 30 this.byteWidth = 1 << (packedType & 3) 102 const elementOffset = _indirect + key * this.byteWidth; 103 let _packedType = this.dataView.getUint8(_indirect + length * this.byteWidth + key); 132 …ect(this.dataView, this.offset, this.parentWidth) - this.byteWidth, fromByteWidth(this.byteWidth))… 137 let sizeByteWidth = this.byteWidth; 138 size = readUInt(this.dataView, _indirect - sizeByteWidth, fromByteWidth(this.byteWidth)); [all …]
|
H A D | builder.ts | 35 const byteWidth = toByteWidth(width); constant 37 return byteWidth; 99 const byteWidth = this.align(bitWidth); constant 100 this.writeUInt(length, byteWidth); 117 this.writeUInt(length, byteWidth); 150 if (byteWidth === 8 || BigInt(relativeOffset) < (BigInt(1) << BigInt(byteWidth * 8))) { 156 value.writeToBuffer(byteWidth); 419 this.writeUInt(byteWidth, 1); 495 stackValue.writeToBuffer(byteWidth); 518 stackValue.writeToBuffer(byteWidth); [all …]
|
H A D | reference-util.ts | 67 …x(key: string, dataView: DataView, offset: number, parentWidth: number, byteWidth: number, length:… 69 const keysVectorOffset = indirect(dataView, offset, parentWidth) - byteWidth * 3; 70 const bitWidth = fromByteWidth(byteWidth); 72 const _byteWidth = readUInt(dataView, keysVectorOffset + byteWidth, bitWidth) as number; 102 const elementOffset = _indirect + index * byteWidth; 103 const packedType = dataView.getUint8(_indirect + length * byteWidth + index); 104 …return new Reference(dataView, elementOffset, fromByteWidth(byteWidth), packedType, `${path}/${key… 107 …index: number, dataView: DataView, offset: number, parentWidth: number, byteWidth: number): string… 108 const keysVectorOffset = indirect(dataView, offset, parentWidth) - byteWidth * 3; 109 const bitWidth = fromByteWidth(byteWidth); [all …]
|
/dports/devel/flatbuffers/flatbuffers-2.0.0/ts/flexbuffers/ |
H A D | reference.ts | 17 const byteWidth = dataView.getUint8(len - 1); constant 19 const parentWidth = fromByteWidth(byteWidth); 20 const offset = len - byteWidth - 2; constant 26 private readonly byteWidth: number property in Reference 30 this.byteWidth = 1 << (packedType & 3) 102 const elementOffset = _indirect + key * this.byteWidth; 103 let _packedType = this.dataView.getUint8(_indirect + length * this.byteWidth + key); 132 …ect(this.dataView, this.offset, this.parentWidth) - this.byteWidth, fromByteWidth(this.byteWidth))… 137 let sizeByteWidth = this.byteWidth; 138 size = readUInt(this.dataView, _indirect - sizeByteWidth, fromByteWidth(this.byteWidth)); [all …]
|
H A D | builder.ts | 35 const byteWidth = toByteWidth(width); constant 37 return byteWidth; 99 const byteWidth = this.align(bitWidth); constant 100 this.writeUInt(length, byteWidth); 117 this.writeUInt(length, byteWidth); 150 if (byteWidth === 8 || BigInt(relativeOffset) < (BigInt(1) << BigInt(byteWidth * 8))) { 156 value.writeToBuffer(byteWidth); 419 this.writeUInt(byteWidth, 1); 495 stackValue.writeToBuffer(byteWidth); 518 stackValue.writeToBuffer(byteWidth); [all …]
|
H A D | reference-util.ts | 67 …x(key: string, dataView: DataView, offset: number, parentWidth: number, byteWidth: number, length:… 69 const keysVectorOffset = indirect(dataView, offset, parentWidth) - byteWidth * 3; 70 const bitWidth = fromByteWidth(byteWidth); 72 const _byteWidth = readUInt(dataView, keysVectorOffset + byteWidth, bitWidth) as number; 102 const elementOffset = _indirect + index * byteWidth; 103 const packedType = dataView.getUint8(_indirect + length * byteWidth + index); 104 …return new Reference(dataView, elementOffset, fromByteWidth(byteWidth), packedType, `${path}/${key… 107 …index: number, dataView: DataView, offset: number, parentWidth: number, byteWidth: number): string… 108 const keysVectorOffset = indirect(dataView, offset, parentWidth) - byteWidth * 3; 109 const bitWidth = fromByteWidth(byteWidth); [all …]
|