Searched refs:CAPACITY_NORMAL (Results 1 – 3 of 3) sorted by relevance
48 private static final int CAPACITY_NORMAL = 200; field in DatagramChannelTest685 ByteBuffer dst = ByteBuffer.allocateDirect(CAPACITY_NORMAL) in testReceive_UnconnectedReadonly()702 ByteBuffer dst = ByteBuffer.allocateDirect(CAPACITY_NORMAL); in testReceive_UnconnectedBufEmpty()722 ByteBuffer dst = ByteBuffer.allocateDirect(CAPACITY_NORMAL); in testReceive_UnboundBufNotEmpty()725 assertEquals(dst.position() + CAPACITY_NORMAL - 1, dst.limit()); in testReceive_UnboundBufNotEmpty()751 ByteBuffer dst = ByteBuffer.allocateDirect(CAPACITY_NORMAL); in testReceive_UnconnectedClose()783 ByteBuffer dst = ByteBuffer.allocateDirect(CAPACITY_NORMAL) in testReceive_UnconnectedCloseReadonly()801 receiveNonBlockNoServer(CAPACITY_NORMAL); in testReceive_NonBlockNoServerBufEmpty()925 ByteBuffer dst = ByteBuffer.allocateDirect(CAPACITY_NORMAL) in receiveNoServerReadonly()944 ByteBuffer dst = ByteBuffer.allocateDirect(CAPACITY_NORMAL); in receiveNoServerChannelClose()[all …]
42 private static final int CAPACITY_NORMAL = 200; field in ServerSocketChannelTest406 ByteBuffer buf = ByteBuffer.allocate(CAPACITY_NORMAL); in test_read_Blocking_RealData()408 for (int i = 0; i < CAPACITY_NORMAL; i++) { in test_read_Blocking_RealData()417 assertReadResult(in,CAPACITY_NORMAL); in test_read_Blocking_RealData()445 ByteBuffer buf = ByteBuffer.allocate(CAPACITY_NORMAL); in test_read_NonBlocking_RealData()446 for (int i = 0; i < CAPACITY_NORMAL; i++) { in test_read_NonBlocking_RealData()455 assertReadResult(in,CAPACITY_NORMAL); in test_read_NonBlocking_RealData()465 byte[] writeContent = new byte[CAPACITY_NORMAL]; in test_write_Blocking_RealData()475 assertWriteResult(CAPACITY_NORMAL); in test_write_Blocking_RealData()486 byte[] writeContent = new byte[CAPACITY_NORMAL]; in test_write_NonBlocking_RealData()[all …]
41 private static final int CAPACITY_NORMAL = 200; field in OldSocketChannelTest112 buf[0] = java.nio.ByteBuffer.allocateDirect(CAPACITY_NORMAL); in testOpen()