Home
last modified time | relevance | path

Searched refs:CAPACITY_HUGE (Results 1 – 1 of 1) sorted by relevance

/libcore/luni/src/test/java/libcore/java/nio/channels/
DOldSocketChannelTest.java43 private static final int CAPACITY_HUGE = 512 * 1024; field in OldSocketChannelTest
242 ByteBuffer writeContent = ByteBuffer.allocate(CAPACITY_HUGE); in test_writeLjava_nio_ByteBuffer_Nonblocking_HugeData()
243 for (int i = 0; i < CAPACITY_HUGE; i++) { in test_writeLjava_nio_ByteBuffer_Nonblocking_HugeData()
257 while (writtenTotalCount < CAPACITY_HUGE && writtenCount > 0) { in test_writeLjava_nio_ByteBuffer_Nonblocking_HugeData()
259 if (writtenCount == 0 && writtenTotalCount < CAPACITY_HUGE) { in test_writeLjava_nio_ByteBuffer_Nonblocking_HugeData()