/dports/www/grafana8/grafana-8.3.6/vendor/github.com/apache/arrow/java/vector/src/main/java/org/apache/arrow/vector/complex/ |
H A D | BaseRepeatedValueVector.java | 116 long newAllocationSize = currentBufferCapacity * 2; in reallocOffsetBuffer() local 117 if (newAllocationSize == 0) { in reallocOffsetBuffer() 119 newAllocationSize = offsetAllocationSizeInBytes; in reallocOffsetBuffer() 121 newAllocationSize = INITIAL_VALUE_ALLOCATION * OFFSET_WIDTH * 2; in reallocOffsetBuffer() 125 newAllocationSize = CommonUtil.nextPowerOfTwo(newAllocationSize); in reallocOffsetBuffer() 126 newAllocationSize = Math.min(newAllocationSize, (long) (OFFSET_WIDTH) * Integer.MAX_VALUE); in reallocOffsetBuffer() 127 assert newAllocationSize >= 1; in reallocOffsetBuffer() local 129 if (newAllocationSize > MAX_ALLOCATION_SIZE || newAllocationSize <= offsetBuffer.capacity()) { in reallocOffsetBuffer() 133 final ArrowBuf newBuf = allocator.buffer(newAllocationSize); in reallocOffsetBuffer() 138 offsetAllocationSizeInBytes = newAllocationSize; in reallocOffsetBuffer()
|
H A D | LargeListVector.java | 365 long newAllocationSize = currentBufferCapacity * 2; in reallocOffsetBuffer() local 366 if (newAllocationSize == 0) { in reallocOffsetBuffer() 374 newAllocationSize = CommonUtil.nextPowerOfTwo(newAllocationSize); in reallocOffsetBuffer() 375 newAllocationSize = Math.min(newAllocationSize, (long) (OFFSET_WIDTH) * Integer.MAX_VALUE); in reallocOffsetBuffer() 376 assert newAllocationSize >= 1; in reallocOffsetBuffer() local 378 if (newAllocationSize > MAX_ALLOCATION_SIZE || newAllocationSize <= offsetBuffer.capacity()) { in reallocOffsetBuffer() 387 offsetAllocationSizeInBytes = newAllocationSize; in reallocOffsetBuffer() 393 if (newAllocationSize == 0) { in reallocValidityBuffer() 400 newAllocationSize = CommonUtil.nextPowerOfTwo(newAllocationSize); in reallocValidityBuffer() 401 assert newAllocationSize >= 1; in reallocValidityBuffer() local [all …]
|
H A D | StructVector.java | 456 long newAllocationSize = currentBufferCapacity * 2; in reallocValidityBuffer() local 457 if (newAllocationSize == 0) { in reallocValidityBuffer() 459 newAllocationSize = validityAllocationSizeInBytes; in reallocValidityBuffer() 461 …newAllocationSize = BitVectorHelper.getValidityBufferSize(BaseValueVector.INITIAL_VALUE_ALLOCATION… in reallocValidityBuffer() 464 newAllocationSize = CommonUtil.nextPowerOfTwo(newAllocationSize); in reallocValidityBuffer() 465 assert newAllocationSize >= 1; in reallocValidityBuffer() local 467 if (newAllocationSize > BaseValueVector.MAX_ALLOCATION_SIZE) { in reallocValidityBuffer() 471 final ArrowBuf newBuf = allocator.buffer((int) newAllocationSize); in reallocValidityBuffer() 476 validityAllocationSizeInBytes = (int) newAllocationSize; in reallocValidityBuffer()
|
H A D | FixedSizeListVector.java | 251 long newAllocationSize = currentBufferCapacity * 2; in reallocValidityBuffer() local 252 if (newAllocationSize == 0) { in reallocValidityBuffer() 254 newAllocationSize = validityAllocationSizeInBytes; in reallocValidityBuffer() 256 newAllocationSize = getValidityBufferSizeFromCount(INITIAL_VALUE_ALLOCATION) * 2; in reallocValidityBuffer() 260 newAllocationSize = CommonUtil.nextPowerOfTwo(newAllocationSize); in reallocValidityBuffer() 261 assert newAllocationSize >= 1; in reallocValidityBuffer() local 263 if (newAllocationSize > MAX_ALLOCATION_SIZE) { in reallocValidityBuffer() 267 final ArrowBuf newBuf = allocator.buffer((int) newAllocationSize); in reallocValidityBuffer() 272 validityAllocationSizeInBytes = (int) newAllocationSize; in reallocValidityBuffer()
|
H A D | ListVector.java | 321 long newAllocationSize = currentBufferCapacity * 2; in reallocValidityBuffer() local 322 if (newAllocationSize == 0) { in reallocValidityBuffer() 324 newAllocationSize = validityAllocationSizeInBytes; in reallocValidityBuffer() 326 newAllocationSize = getValidityBufferSizeFromCount(INITIAL_VALUE_ALLOCATION) * 2; in reallocValidityBuffer() 329 newAllocationSize = CommonUtil.nextPowerOfTwo(newAllocationSize); in reallocValidityBuffer() 330 assert newAllocationSize >= 1; in reallocValidityBuffer() local 332 if (newAllocationSize > MAX_ALLOCATION_SIZE) { in reallocValidityBuffer() 336 final ArrowBuf newBuf = allocator.buffer((int) newAllocationSize); in reallocValidityBuffer() 341 validityAllocationSizeInBytes = (int) newAllocationSize; in reallocValidityBuffer()
|
/dports/databases/arrow/apache-arrow-6.0.1/java/vector/src/main/java/org/apache/arrow/vector/complex/ |
H A D | BaseRepeatedValueVector.java | 116 long newAllocationSize = currentBufferCapacity * 2; in reallocOffsetBuffer() local 117 if (newAllocationSize == 0) { in reallocOffsetBuffer() 119 newAllocationSize = offsetAllocationSizeInBytes; in reallocOffsetBuffer() 121 newAllocationSize = INITIAL_VALUE_ALLOCATION * OFFSET_WIDTH * 2; in reallocOffsetBuffer() 125 newAllocationSize = CommonUtil.nextPowerOfTwo(newAllocationSize); in reallocOffsetBuffer() 126 newAllocationSize = Math.min(newAllocationSize, (long) (OFFSET_WIDTH) * Integer.MAX_VALUE); in reallocOffsetBuffer() 127 assert newAllocationSize >= 1; in reallocOffsetBuffer() local 129 if (newAllocationSize > MAX_ALLOCATION_SIZE || newAllocationSize <= offsetBuffer.capacity()) { in reallocOffsetBuffer() 133 final ArrowBuf newBuf = allocator.buffer(newAllocationSize); in reallocOffsetBuffer() 138 offsetAllocationSizeInBytes = newAllocationSize; in reallocOffsetBuffer()
|
H A D | LargeListVector.java | 372 long newAllocationSize = currentBufferCapacity * 2; in reallocOffsetBuffer() local 373 if (newAllocationSize == 0) { in reallocOffsetBuffer() 381 newAllocationSize = CommonUtil.nextPowerOfTwo(newAllocationSize); in reallocOffsetBuffer() 382 newAllocationSize = Math.min(newAllocationSize, (long) (OFFSET_WIDTH) * Integer.MAX_VALUE); in reallocOffsetBuffer() 383 assert newAllocationSize >= 1; in reallocOffsetBuffer() local 385 if (newAllocationSize > MAX_ALLOCATION_SIZE || newAllocationSize <= offsetBuffer.capacity()) { in reallocOffsetBuffer() 394 offsetAllocationSizeInBytes = newAllocationSize; in reallocOffsetBuffer() 400 if (newAllocationSize == 0) { in reallocValidityBuffer() 407 newAllocationSize = CommonUtil.nextPowerOfTwo(newAllocationSize); in reallocValidityBuffer() 408 assert newAllocationSize >= 1; in reallocValidityBuffer() local [all …]
|
H A D | StructVector.java | 464 long newAllocationSize = currentBufferCapacity * 2; in reallocValidityBuffer() local 465 if (newAllocationSize == 0) { in reallocValidityBuffer() 467 newAllocationSize = validityAllocationSizeInBytes; in reallocValidityBuffer() 469 …newAllocationSize = BitVectorHelper.getValidityBufferSize(BaseValueVector.INITIAL_VALUE_ALLOCATION… in reallocValidityBuffer() 472 newAllocationSize = CommonUtil.nextPowerOfTwo(newAllocationSize); in reallocValidityBuffer() 473 assert newAllocationSize >= 1; in reallocValidityBuffer() local 475 if (newAllocationSize > BaseValueVector.MAX_ALLOCATION_SIZE) { in reallocValidityBuffer() 479 final ArrowBuf newBuf = allocator.buffer((int) newAllocationSize); in reallocValidityBuffer() 484 validityAllocationSizeInBytes = (int) newAllocationSize; in reallocValidityBuffer()
|
H A D | FixedSizeListVector.java | 243 long newAllocationSize = currentBufferCapacity * 2; in reallocValidityBuffer() local 244 if (newAllocationSize == 0) { in reallocValidityBuffer() 246 newAllocationSize = validityAllocationSizeInBytes; in reallocValidityBuffer() 248 newAllocationSize = getValidityBufferSizeFromCount(INITIAL_VALUE_ALLOCATION) * 2; in reallocValidityBuffer() 252 newAllocationSize = CommonUtil.nextPowerOfTwo(newAllocationSize); in reallocValidityBuffer() 253 assert newAllocationSize >= 1; in reallocValidityBuffer() local 255 if (newAllocationSize > MAX_ALLOCATION_SIZE) { in reallocValidityBuffer() 259 final ArrowBuf newBuf = allocator.buffer((int) newAllocationSize); in reallocValidityBuffer() 264 validityAllocationSizeInBytes = (int) newAllocationSize; in reallocValidityBuffer()
|
H A D | ListVector.java | 307 long newAllocationSize = currentBufferCapacity * 2; in reallocValidityBuffer() local 308 if (newAllocationSize == 0) { in reallocValidityBuffer() 310 newAllocationSize = validityAllocationSizeInBytes; in reallocValidityBuffer() 312 newAllocationSize = getValidityBufferSizeFromCount(INITIAL_VALUE_ALLOCATION) * 2; in reallocValidityBuffer() 315 newAllocationSize = CommonUtil.nextPowerOfTwo(newAllocationSize); in reallocValidityBuffer() 316 assert newAllocationSize >= 1; in reallocValidityBuffer() local 318 if (newAllocationSize > MAX_ALLOCATION_SIZE) { in reallocValidityBuffer() 322 final ArrowBuf newBuf = allocator.buffer((int) newAllocationSize); in reallocValidityBuffer() 327 validityAllocationSizeInBytes = (int) newAllocationSize; in reallocValidityBuffer()
|
/dports/security/vault/vault-1.8.2/vendor/github.com/apache/arrow/java/vector/src/main/java/org/apache/arrow/vector/complex/ |
H A D | BaseRepeatedValueVector.java | 116 long newAllocationSize = currentBufferCapacity * 2; in reallocOffsetBuffer() local 117 if (newAllocationSize == 0) { in reallocOffsetBuffer() 119 newAllocationSize = offsetAllocationSizeInBytes; in reallocOffsetBuffer() 121 newAllocationSize = INITIAL_VALUE_ALLOCATION * OFFSET_WIDTH * 2; in reallocOffsetBuffer() 125 newAllocationSize = BaseAllocator.nextPowerOfTwo(newAllocationSize); in reallocOffsetBuffer() 126 newAllocationSize = Math.min(newAllocationSize, (long) (OFFSET_WIDTH) * Integer.MAX_VALUE); in reallocOffsetBuffer() 127 assert newAllocationSize >= 1; in reallocOffsetBuffer() local 129 if (newAllocationSize > MAX_ALLOCATION_SIZE || newAllocationSize <= offsetBuffer.capacity()) { in reallocOffsetBuffer() 133 final ArrowBuf newBuf = allocator.buffer(newAllocationSize); in reallocOffsetBuffer() 138 offsetAllocationSizeInBytes = newAllocationSize; in reallocOffsetBuffer()
|
H A D | StructVector.java | 429 long newAllocationSize = currentBufferCapacity * 2; in reallocValidityBuffer() local 430 if (newAllocationSize == 0) { in reallocValidityBuffer() 432 newAllocationSize = validityAllocationSizeInBytes; in reallocValidityBuffer() 434 …newAllocationSize = BitVectorHelper.getValidityBufferSize(BaseValueVector.INITIAL_VALUE_ALLOCATION… in reallocValidityBuffer() 437 newAllocationSize = BaseAllocator.nextPowerOfTwo(newAllocationSize); in reallocValidityBuffer() 438 assert newAllocationSize >= 1; in reallocValidityBuffer() local 440 if (newAllocationSize > BaseValueVector.MAX_ALLOCATION_SIZE) { in reallocValidityBuffer() 444 final ArrowBuf newBuf = allocator.buffer((int) newAllocationSize); in reallocValidityBuffer() 449 validityAllocationSizeInBytes = (int) newAllocationSize; in reallocValidityBuffer()
|
H A D | FixedSizeListVector.java | 251 long newAllocationSize = currentBufferCapacity * 2; in reallocValidityBuffer() local 252 if (newAllocationSize == 0) { in reallocValidityBuffer() 254 newAllocationSize = validityAllocationSizeInBytes; in reallocValidityBuffer() 256 newAllocationSize = getValidityBufferSizeFromCount(INITIAL_VALUE_ALLOCATION) * 2; in reallocValidityBuffer() 259 newAllocationSize = BaseAllocator.nextPowerOfTwo(newAllocationSize); in reallocValidityBuffer() 260 assert newAllocationSize >= 1; in reallocValidityBuffer() local 262 if (newAllocationSize > MAX_ALLOCATION_SIZE) { in reallocValidityBuffer() 266 final ArrowBuf newBuf = allocator.buffer((int) newAllocationSize); in reallocValidityBuffer() 271 validityAllocationSizeInBytes = (int) newAllocationSize; in reallocValidityBuffer()
|
H A D | ListVector.java | 321 long newAllocationSize = currentBufferCapacity * 2; in reallocValidityBuffer() local 322 if (newAllocationSize == 0) { in reallocValidityBuffer() 324 newAllocationSize = validityAllocationSizeInBytes; in reallocValidityBuffer() 326 newAllocationSize = getValidityBufferSizeFromCount(INITIAL_VALUE_ALLOCATION) * 2; in reallocValidityBuffer() 329 newAllocationSize = BaseAllocator.nextPowerOfTwo(newAllocationSize); in reallocValidityBuffer() 330 assert newAllocationSize >= 1; in reallocValidityBuffer() local 332 if (newAllocationSize > MAX_ALLOCATION_SIZE) { in reallocValidityBuffer() 336 final ArrowBuf newBuf = allocator.buffer((int) newAllocationSize); in reallocValidityBuffer() 341 validityAllocationSizeInBytes = (int) newAllocationSize; in reallocValidityBuffer()
|
/dports/security/vault/vault-1.8.2/vendor/github.com/apache/arrow/java/vector/src/main/codegen/templates/ |
H A D | DenseUnionVector.java | 407 long newAllocationSize = currentBufferCapacity * 2; in reallocValidityBuffer() local 408 if (newAllocationSize == 0) { in reallocValidityBuffer() 415 newAllocationSize = BaseAllocator.nextPowerOfTwo(newAllocationSize); in reallocValidityBuffer() 416 assert newAllocationSize >= 1; in reallocValidityBuffer() local 432 long newAllocationSize = currentBufferCapacity * 2; in reallocTypeBuffer() local 433 if (newAllocationSize == 0) { in reallocTypeBuffer() 440 newAllocationSize = BaseAllocator.nextPowerOfTwo(newAllocationSize); in reallocTypeBuffer() 441 assert newAllocationSize >= 1; in reallocTypeBuffer() local 458 if (newAllocationSize == 0) { in reallocOffsetBuffer() 465 newAllocationSize = BaseAllocator.nextPowerOfTwo(newAllocationSize); in reallocOffsetBuffer() [all …]
|
H A D | UnionVector.java | 328 long newAllocationSize = currentBufferCapacity * 2; in reallocTypeBuffer() local 329 if (newAllocationSize == 0) { in reallocTypeBuffer() 331 newAllocationSize = typeBufferAllocationSizeInBytes; in reallocTypeBuffer() 333 newAllocationSize = BaseValueVector.INITIAL_VALUE_ALLOCATION * TYPE_WIDTH * 2; in reallocTypeBuffer() 336 newAllocationSize = BaseAllocator.nextPowerOfTwo(newAllocationSize); in reallocTypeBuffer() 337 assert newAllocationSize >= 1; in reallocTypeBuffer() local 339 if (newAllocationSize > BaseValueVector.MAX_ALLOCATION_SIZE) { in reallocTypeBuffer() 343 final ArrowBuf newBuf = allocator.buffer(checkedCastToInt(newAllocationSize)); in reallocTypeBuffer() 348 typeBufferAllocationSizeInBytes = (int)newAllocationSize; in reallocTypeBuffer()
|
/dports/www/grafana8/grafana-8.3.6/vendor/github.com/apache/arrow/java/vector/src/main/codegen/templates/ |
H A D | DenseUnionVector.java | 410 long newAllocationSize = currentBufferCapacity * 2; in reallocTypeBuffer() local 411 if (newAllocationSize == 0) { in reallocTypeBuffer() 413 newAllocationSize = typeBufferAllocationSizeInBytes; in reallocTypeBuffer() 419 newAllocationSize = CommonUtil.nextPowerOfTwo(newAllocationSize); in reallocTypeBuffer() 420 assert newAllocationSize >= 1; in reallocTypeBuffer() local 430 typeBufferAllocationSizeInBytes = (int)newAllocationSize; in reallocTypeBuffer() 436 long newAllocationSize = currentBufferCapacity * 2; in reallocOffsetBuffer() local 437 if (newAllocationSize == 0) { in reallocOffsetBuffer() 439 newAllocationSize = offsetBufferAllocationSizeInBytes; in reallocOffsetBuffer() 445 newAllocationSize = CommonUtil.nextPowerOfTwo(newAllocationSize); in reallocOffsetBuffer() [all …]
|
H A D | UnionVector.java | 369 long newAllocationSize = currentBufferCapacity * 2; in reallocTypeBuffer() local 370 if (newAllocationSize == 0) { in reallocTypeBuffer() 372 newAllocationSize = typeBufferAllocationSizeInBytes; in reallocTypeBuffer() 374 newAllocationSize = BaseValueVector.INITIAL_VALUE_ALLOCATION * TYPE_WIDTH * 2; in reallocTypeBuffer() 377 newAllocationSize = CommonUtil.nextPowerOfTwo(newAllocationSize); in reallocTypeBuffer() 378 assert newAllocationSize >= 1; in reallocTypeBuffer() local 380 if (newAllocationSize > BaseValueVector.MAX_ALLOCATION_SIZE) { in reallocTypeBuffer() 384 final ArrowBuf newBuf = allocator.buffer(checkedCastToInt(newAllocationSize)); in reallocTypeBuffer() 389 typeBufferAllocationSizeInBytes = (int)newAllocationSize; in reallocTypeBuffer()
|
/dports/databases/arrow/apache-arrow-6.0.1/java/vector/src/main/codegen/templates/ |
H A D | DenseUnionVector.java | 427 long newAllocationSize = currentBufferCapacity * 2; in reallocTypeBuffer() local 428 if (newAllocationSize == 0) { in reallocTypeBuffer() 430 newAllocationSize = typeBufferAllocationSizeInBytes; in reallocTypeBuffer() 436 newAllocationSize = CommonUtil.nextPowerOfTwo(newAllocationSize); in reallocTypeBuffer() 437 assert newAllocationSize >= 1; in reallocTypeBuffer() local 447 typeBufferAllocationSizeInBytes = (int)newAllocationSize; in reallocTypeBuffer() 453 long newAllocationSize = currentBufferCapacity * 2; in reallocOffsetBuffer() local 454 if (newAllocationSize == 0) { in reallocOffsetBuffer() 456 newAllocationSize = offsetBufferAllocationSizeInBytes; in reallocOffsetBuffer() 462 newAllocationSize = CommonUtil.nextPowerOfTwo(newAllocationSize); in reallocOffsetBuffer() [all …]
|
H A D | UnionVector.java | 391 long newAllocationSize = currentBufferCapacity * 2; in reallocTypeBuffer() local 392 if (newAllocationSize == 0) { in reallocTypeBuffer() 394 newAllocationSize = typeBufferAllocationSizeInBytes; in reallocTypeBuffer() 396 newAllocationSize = BaseValueVector.INITIAL_VALUE_ALLOCATION * TYPE_WIDTH * 2; in reallocTypeBuffer() 399 newAllocationSize = CommonUtil.nextPowerOfTwo(newAllocationSize); in reallocTypeBuffer() 400 assert newAllocationSize >= 1; in reallocTypeBuffer() local 402 if (newAllocationSize > BaseValueVector.MAX_ALLOCATION_SIZE) { in reallocTypeBuffer() 406 final ArrowBuf newBuf = allocator.buffer(checkedCastToInt(newAllocationSize)); in reallocTypeBuffer() 411 typeBufferAllocationSizeInBytes = (int)newAllocationSize; in reallocTypeBuffer()
|
/dports/devel/raknet/raknet-3.9.2_10,1/Source/ |
H A D | DS_Queue.h | 320 unsigned int newAllocationSize; in Compress() local 324 newAllocationSize=1; in Compress() 325 while (newAllocationSize <= Size()) in Compress() 326 …newAllocationSize<<=1; // Must be a better way to do this but I'm too dumb to figure it out quickl… in Compress() 328 new_array = RakNet::OP_NEW_ARRAY<queue_type >(newAllocationSize, file, line ); in Compress() 334 allocation_size=newAllocationSize; in Compress()
|
H A D | DS_Multilist.h | 827 _IndexType newAllocationSize; in Reallocate() local 829 newAllocationSize=dataSize; in Reallocate() 831 newAllocationSize=size; in Reallocate() 833 ReallocToSize(newAllocationSize,file,line); in Reallocate() 1141 _IndexType newAllocationSize; in ReallocateIfNeeded() local 1143 newAllocationSize=32; in ReallocateIfNeeded() 1145 newAllocationSize=allocationSize+65536; in ReallocateIfNeeded() 1150 if (newAllocationSize < allocationSize) in ReallocateIfNeeded() 1151 newAllocationSize=allocationSize+65536; in ReallocateIfNeeded() 1154 ReallocToSize(newAllocationSize,file,line); in ReallocateIfNeeded() [all …]
|
/dports/converters/wkhtmltopdf/qt-5db36ec/src/3rdparty/webkit/Source/WebCore/platform/text/cf/ |
H A D | StringImplCF.cpp | 73 size_t newAllocationSize = sizeof(StringImpl*) + newSize; in reallocate() local 76 header = static_cast<StringImpl**>(fastRealloc(header, newAllocationSize)); in reallocate()
|
/dports/www/grafana8/grafana-8.3.6/vendor/github.com/apache/arrow/java/vector/src/main/java/org/apache/arrow/vector/ |
H A D | BaseLargeVariableWidthVector.java | 482 long newAllocationSize = currentBufferCapacity * 2; in reallocDataBuffer() local 483 if (newAllocationSize == 0) { in reallocDataBuffer() 485 newAllocationSize = lastValueAllocationSizeInBytes; in reallocDataBuffer() 487 newAllocationSize = INITIAL_BYTE_COUNT * 2; in reallocDataBuffer() 490 newAllocationSize = CommonUtil.nextPowerOfTwo(newAllocationSize); in reallocDataBuffer() 491 assert newAllocationSize >= 1; in reallocDataBuffer() local 493 checkDataBufferSize(newAllocationSize); in reallocDataBuffer() 495 final ArrowBuf newBuf = allocator.buffer(newAllocationSize); in reallocDataBuffer()
|
/dports/databases/arrow/apache-arrow-6.0.1/java/vector/src/main/java/org/apache/arrow/vector/ |
H A D | BaseLargeVariableWidthVector.java | 489 long newAllocationSize = currentBufferCapacity * 2; in reallocDataBuffer() local 490 if (newAllocationSize == 0) { in reallocDataBuffer() 492 newAllocationSize = lastValueAllocationSizeInBytes; in reallocDataBuffer() 494 newAllocationSize = INITIAL_BYTE_COUNT * 2; in reallocDataBuffer() 497 newAllocationSize = CommonUtil.nextPowerOfTwo(newAllocationSize); in reallocDataBuffer() 498 assert newAllocationSize >= 1; in reallocDataBuffer() local 500 checkDataBufferSize(newAllocationSize); in reallocDataBuffer() 502 final ArrowBuf newBuf = allocator.buffer(newAllocationSize); in reallocDataBuffer()
|