Searched refs:writeContent (Results 1 – 3 of 3) sorted by relevance
465 byte[] writeContent = new byte[CAPACITY_NORMAL]; in test_write_Blocking_RealData()466 for (int i = 0; i < writeContent.length; i++) { in test_write_Blocking_RealData()467 writeContent[i] = (byte) i; in test_write_Blocking_RealData()472 out.write(writeContent); in test_write_Blocking_RealData()486 byte[] writeContent = new byte[CAPACITY_NORMAL]; in test_write_NonBlocking_RealData()488 writeContent[i] = (byte) i; in test_write_NonBlocking_RealData()493 out.write(writeContent); in test_write_NonBlocking_RealData()575 byte[] writeContent = new byte[CAPACITY_64KB]; in test_write_LByteBuffer_NonBlocking_ReadWriteRealLargeData()576 for (int i = 0; i < writeContent.length; i++) { in test_write_LByteBuffer_NonBlocking_ReadWriteRealLargeData()577 writeContent[i] = (byte) i; in test_write_LByteBuffer_NonBlocking_ReadWriteRealLargeData()[all …]
356 byte[] writeContent = new byte[10]; in test_shutdownInput()357 for (int i = 0; i < writeContent.length; i++) { in test_shutdownInput()358 writeContent[i] = (byte) i; in test_shutdownInput()366 out.write(writeContent); in test_shutdownInput()384 ByteBuffer writeContent = ByteBuffer.allocate(10); in test_shutdownOutput() local386 writeContent.put((byte) i); in test_shutdownOutput()388 writeContent.flip(); in test_shutdownOutput()401 channel1.write(writeContent); in test_shutdownOutput()
242 ByteBuffer writeContent = ByteBuffer.allocate(CAPACITY_HUGE); in test_writeLjava_nio_ByteBuffer_Nonblocking_HugeData() local244 writeContent.put((byte) i); in test_writeLjava_nio_ByteBuffer_Nonblocking_HugeData()246 writeContent.flip(); in test_writeLjava_nio_ByteBuffer_Nonblocking_HugeData()258 writtenCount = channel1.write(writeContent); in test_writeLjava_nio_ByteBuffer_Nonblocking_HugeData()260 assertEquals(0, channel1.write(writeContent)); in test_writeLjava_nio_ByteBuffer_Nonblocking_HugeData()