Searched refs:poolSize (Results 1 – 3 of 3) sorted by relevance
68 public BytesBufferPool(int poolSize, int bufferSize) { in BytesBufferPool() argument69 mList = new ArrayList<BytesBuffer>(poolSize); in BytesBufferPool()70 mPoolSize = poolSize; in BytesBufferPool()
295 size_t poolSize = 0; in copyLargeValuesToSharedMemory() local299 poolSize += alignBytesNeeded(poolSize, operand.location.length); in copyLargeValuesToSharedMemory()300 operand.location.offset = poolSize; in copyLargeValuesToSharedMemory()301 poolSize += operand.location.length; in copyLargeValuesToSharedMemory()306 std::tie(n, mLargeValueMemory) = MemoryAshmem::create(poolSize); in copyLargeValuesToSharedMemory()310 VLOG(MODEL) << "Allocated large value pool of size " << poolSize << " at index " in copyLargeValuesToSharedMemory()
835 int poolSize = CHAR_POOL_FOR_RANDOM_STRING.length; in generateRandomAlphaNumericString() local837 sb.append(CHAR_POOL_FOR_RANDOM_STRING[ThreadLocalRandom.current().nextInt(poolSize)]); in generateRandomAlphaNumericString()