Searched refs:CAPACITY (Results 1 – 5 of 5) 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()
51 private static final int CAPACITY = 100; field in FileChannelTest1098 ByteBuffer readBuffer = ByteBuffer.allocate(CAPACITY); in test_readLByteBuffer_Closed()1135 ByteBuffer readBuffer = ByteBuffer.allocate(CAPACITY); in test_readLByteBuffer_WriteOnly()1153 ByteBuffer readBuffer = ByteBuffer.allocate(CAPACITY); in test_readLByteBuffer_EmptyFile()1203 ByteBuffer readBuffer = ByteBuffer.allocate(CAPACITY); in test_readLByteBufferJ_Closed()1221 ByteBuffer readBuffer = ByteBuffer.allocate(CAPACITY); in test_readLByteBufferJ_IllegalArgument()1243 ByteBuffer readBuffer = ByteBuffer.allocate(CAPACITY); in test_readLByteBufferJ_WriteOnly()1253 ByteBuffer readBuffer = ByteBuffer.allocate(CAPACITY); in test_readLByteBufferJ_Emptyfile()1262 ByteBuffer readBuffer = ByteBuffer.allocate(CAPACITY); in test_readLByteBufferJ_Position_BeyondFileLimit()1270 ByteBuffer readBuffer = ByteBuffer.allocate(CAPACITY); in test_readLByteBufferJ_Position_As_Long()[all …]
134 private static final int CAPACITY = 10; field in AttributeTypeAndValue140 private static final ObjectIdentifier[][] KNOWN_OIDS = new ObjectIdentifier[SIZE][CAPACITY];427 int index = hashIntArray(oid) % CAPACITY; in getOID()445 int index = hashIntArray(newOid) % CAPACITY; in addOID()459 if (i == (CAPACITY - 1)) { in addOID()
350 private static final int CAPACITY = (1 << COUNT_BITS) - 1; field in ThreadPoolExecutor360 private static int runStateOf(int c) { return c & ~CAPACITY; } in runStateOf()361 private static int workerCountOf(int c) { return c & CAPACITY; } in workerCountOf()880 if (wc >= CAPACITY || in addWorker()