Searched refs:poolSize (Results 1 – 6 of 6) sorted by relevance
66 assertThat(mPool.poolSize()).isGreaterThan(0); in testInitialState()71 assertThat(mPool.poolSize()).isGreaterThan(0); in testAcquireRelease()73 assertThat(mPool.poolSize()).isGreaterThan(0); in testAcquireRelease()75 assertThat(mPool.poolSize()).isGreaterThan(1); in testAcquireRelease()
81 assertThat(mPool.poolSize()).isGreaterThan(0); in testPairUnpair()86 assertThat(mPool.poolSize()).isGreaterThan(1); in testPairUnpair()102 assertThat(mPool.poolSize()).isEqualTo(1); in testUnpair_DontReleaseToPool()
68 public BytesBufferPool(int poolSize, int bufferSize) { in BytesBufferPool() argument69 mList = new ArrayList<BytesBuffer>(poolSize); in BytesBufferPool()70 mPoolSize = poolSize; in BytesBufferPool()
71 private val poolSize: Int,75 if (maxLogs < poolSize) {77 "but maxLogs=$maxLogs < $poolSize=poolSize")157 buffer.size > maxLogs - poolSize -> buffer.removeFirst()
290 size_t poolSize = 0; in copyLargeValuesToSharedMemory() local294 poolSize += alignBytesNeeded(poolSize, operand.location.length); in copyLargeValuesToSharedMemory()295 operand.location.offset = poolSize; in copyLargeValuesToSharedMemory()296 poolSize += operand.location.length; in copyLargeValuesToSharedMemory()301 std::tie(n, mLargeValueMemory) = MemoryAshmem::create(poolSize); in copyLargeValuesToSharedMemory()305 VLOG(MODEL) << "Allocated large value pool of size " << poolSize << " at index " in copyLargeValuesToSharedMemory()
76 int poolSize() { in poolSize() method in AppPairsPool