Searched refs:CAPACITY (Results 1 – 4 of 4) sorted by relevance
41 private static final int CAPACITY = 100; field in OldFileChannelTest260 ByteBuffer readBuffer = ByteBuffer.allocate(CAPACITY); in test_readLByteBufferJ_IllegalArgument()545 readBuffers[0] = ByteBuffer.allocate(CAPACITY); in test_read$LByteBufferII_IndexOutOfBound()546 readBuffers[1] = ByteBuffer.allocate(CAPACITY); in test_read$LByteBufferII_IndexOutOfBound()610 readBuffers[0] = ByteBuffer.allocate(CAPACITY); in test_read$LByteBufferII_EmptyFile()611 readBuffers[1] = ByteBuffer.allocate(CAPACITY); in test_read$LByteBufferII_EmptyFile()620 readBuffers[0] = ByteBuffer.allocate(CAPACITY); in test_read$LByteBufferII_EmptyBuffers()629 readBuffers[0] = ByteBuffer.allocate(CAPACITY); in test_read$LByteBufferII_EmptyBuffers()653 ByteBuffer writeBuffer = ByteBuffer.allocate(CAPACITY); in test_writeLByteBuffer_Closed()713 ByteBuffer writeBuffer = ByteBuffer.allocate(CAPACITY); in test_writeLByteBufferJ_IllegalArgument()[all …]
35 static final int CAPACITY = 10; field in AbstractQueueTest.MockAbstractQueue39 private Object[] elements = new Object[CAPACITY];79 if (size >= CAPACITY) { in offer()126 for(int i = 0; i < MockAbstractQueue.CAPACITY; i++ ) { in test_addLE_Full()
53 private static final int CAPACITY = 100; field in FileChannelTest1195 ByteBuffer readBuffer = ByteBuffer.allocate(CAPACITY); in test_readLByteBuffer_Closed()1232 ByteBuffer readBuffer = ByteBuffer.allocate(CAPACITY); in test_readLByteBuffer_WriteOnly()1250 ByteBuffer readBuffer = ByteBuffer.allocate(CAPACITY); in test_readLByteBuffer_EmptyFile()1300 ByteBuffer readBuffer = ByteBuffer.allocate(CAPACITY); in test_readLByteBufferJ_Closed()1318 ByteBuffer readBuffer = ByteBuffer.allocate(CAPACITY); in test_readLByteBufferJ_IllegalArgument()1340 ByteBuffer readBuffer = ByteBuffer.allocate(CAPACITY); in test_readLByteBufferJ_WriteOnly()1350 ByteBuffer readBuffer = ByteBuffer.allocate(CAPACITY); in test_readLByteBufferJ_Emptyfile()1359 ByteBuffer readBuffer = ByteBuffer.allocate(CAPACITY); in test_readLByteBufferJ_Position_BeyondFileLimit()1367 ByteBuffer readBuffer = ByteBuffer.allocate(CAPACITY); in test_readLByteBufferJ_Position_As_Long()[all …]
369 private static final int CAPACITY = (1 << COUNT_BITS) - 1; field in ThreadPoolExecutor379 private static int runStateOf(int c) { return c & ~CAPACITY; } in runStateOf()380 private static int workerCountOf(int c) { return c & CAPACITY; } in workerCountOf()900 if (wc >= CAPACITY || in addWorker()