Searched refs:TEMP_BUF_POOL_SIZE (Results 1 – 2 of 2) sorted by relevance
39 private static final int TEMP_BUF_POOL_SIZE = 3; field in NativeBuffers60 for (int i=0; i<TEMP_BUF_POOL_SIZE; i++) { in getNativeBufferFromCache()94 buffers = new NativeBuffer[TEMP_BUF_POOL_SIZE]; in releaseNativeBuffer()100 for (int i=0; i<TEMP_BUF_POOL_SIZE; i++) { in releaseNativeBuffer()107 for (int i=0; i<TEMP_BUF_POOL_SIZE; i++) { in releaseNativeBuffer()
43 private static final int TEMP_BUF_POOL_SIZE = IOUtil.IOV_MAX; field in Util118 return (i + 1) % TEMP_BUF_POOL_SIZE; in next()122 buffers = new ByteBuffer[TEMP_BUF_POOL_SIZE]; in BufferCache()173 if (count >= TEMP_BUF_POOL_SIZE) { in offerFirst()176 start = (start + TEMP_BUF_POOL_SIZE - 1) % TEMP_BUF_POOL_SIZE; in offerFirst()187 if (count >= TEMP_BUF_POOL_SIZE) { in offerLast()190 int next = (start + count) % TEMP_BUF_POOL_SIZE; in offerLast()