HomeSort by relevance Sort by last modified time
    Searched refs:CAPACITY_NORMAL (Results 1 - 4 of 4) sorted by null

  /libcore/harmony-tests/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/
DatagramChannelTest.java 47 private static final int CAPACITY_NORMAL = 200;
765 ByteBuffer dst = ByteBuffer.allocateDirect(CAPACITY_NORMAL)
784 ByteBuffer dst = ByteBuffer.allocateDirect(CAPACITY_NORMAL);
806 ByteBuffer dst = ByteBuffer.allocateDirect(CAPACITY_NORMAL);
809 assertEquals(dst.position() + CAPACITY_NORMAL - 1, dst.limit());
834 ByteBuffer dst = ByteBuffer.allocateDirect(CAPACITY_NORMAL);
870 ByteBuffer dst = ByteBuffer.allocateDirect(CAPACITY_NORMAL)
890 receiveNonBlockNoServer(CAPACITY_NORMAL);
    [all...]
SocketChannelTest.java 53 private static final int CAPACITY_NORMAL = 200;
131 buf[0] = java.nio.ByteBuffer.allocateDirect(CAPACITY_NORMAL);
178 byteBuf = new java.nio.ByteBuffer[CAPACITY_NORMAL];
185 long readNum = CAPACITY_NORMAL;
188 readNum = CAPACITY_NORMAL;
238 byteBuf = new java.nio.ByteBuffer[CAPACITY_NORMAL];
    [all...]
ServerSocketChannelTest.java 44 private static final int CAPACITY_NORMAL = 200;
281 ByteBuffer buf = ByteBuffer.allocate(CAPACITY_NORMAL);
283 for (int i = 0; i < CAPACITY_NORMAL; i++) {
292 assertReadResult(in,CAPACITY_NORMAL);
320 ByteBuffer buf = ByteBuffer.allocate(CAPACITY_NORMAL);
321 for (int i = 0; i < CAPACITY_NORMAL; i++) {
330 assertReadResult(in,CAPACITY_NORMAL);
341 byte[] writeContent = new byte[CAPACITY_NORMAL];
351 assertWriteResult(CAPACITY_NORMAL);
363 byte[] writeContent = new byte[CAPACITY_NORMAL];
    [all...]
  /libcore/luni/src/test/java/libcore/java/nio/channels/
OldSocketChannelTest.java 41 private static final int CAPACITY_NORMAL = 200;
112 buf[0] = java.nio.ByteBuffer.allocateDirect(CAPACITY_NORMAL);

Completed in 83 milliseconds