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/tests/java/nio/channels/
DatagramChannelTest.java 48 private static final int CAPACITY_NORMAL = 200;
685 ByteBuffer dst = ByteBuffer.allocateDirect(CAPACITY_NORMAL)
702 ByteBuffer dst = ByteBuffer.allocateDirect(CAPACITY_NORMAL);
722 ByteBuffer dst = ByteBuffer.allocateDirect(CAPACITY_NORMAL);
725 assertEquals(dst.position() + CAPACITY_NORMAL - 1, dst.limit());
751 ByteBuffer dst = ByteBuffer.allocateDirect(CAPACITY_NORMAL);
783 ByteBuffer dst = ByteBuffer.allocateDirect(CAPACITY_NORMAL)
801 receiveNonBlockNoServer(CAPACITY_NORMAL);
925 ByteBuffer dst = ByteBuffer.allocateDirect(CAPACITY_NORMAL)
944 ByteBuffer dst = ByteBuffer.allocateDirect(CAPACITY_NORMAL);
    [all...]
SocketChannelTest.java 54 private static final int CAPACITY_NORMAL = 200;
131 buf[0] = java.nio.ByteBuffer.allocateDirect(CAPACITY_NORMAL);
242 byteBuf = new java.nio.ByteBuffer[CAPACITY_NORMAL];
251 readNum = CAPACITY_NORMAL;
301 byteBuf = new java.nio.ByteBuffer[CAPACITY_NORMAL];
    [all...]
ServerSocketChannelTest.java 42 private static final int CAPACITY_NORMAL = 200;
406 ByteBuffer buf = ByteBuffer.allocate(CAPACITY_NORMAL);
408 for (int i = 0; i < CAPACITY_NORMAL; i++) {
417 assertReadResult(in,CAPACITY_NORMAL);
445 ByteBuffer buf = ByteBuffer.allocate(CAPACITY_NORMAL);
446 for (int i = 0; i < CAPACITY_NORMAL; i++) {
455 assertReadResult(in,CAPACITY_NORMAL);
465 byte[] writeContent = new byte[CAPACITY_NORMAL];
475 assertWriteResult(CAPACITY_NORMAL);
486 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 864 milliseconds