Searched refs:transferFrom (Results 1 – 7 of 7) sorted by relevance
/external/jimfs/jimfs/src/test/java/com/google/common/jimfs/ |
D | RegularFileTest.java | 320 long transferred = file.transferFrom(new ByteBufferChannel(buffer("111111")), 0, 6); in testEmpty_transferFrom_fromStart_countEqualsSrcSize() 326 long transferred = file.transferFrom(new ByteBufferChannel(buffer("111111")), 0, 3); in testEmpty_transferFrom_fromStart_countLessThanSrcSize() 332 long transferred = file.transferFrom(new ByteBufferChannel(buffer("111111")), 0, 12); in testEmpty_transferFrom_fromStart_countGreaterThanSrcSize() 338 long transferred = file.transferFrom(new ByteBufferChannel(buffer("111111")), 4, 6); in testEmpty_transferFrom_fromBeyondStart_countEqualsSrcSize() 344 long transferred = file.transferFrom(new ByteBufferChannel(buffer("111111")), 4, 3); in testEmpty_transferFrom_fromBeyondStart_countLessThanSrcSize() 351 long transferred = file.transferFrom(new ByteBufferChannel(buffer("111111")), 4, 12); in testEmpty_transferFrom_fromBeyondStart_countGreaterThanSrcSize() 357 long transferred = file.transferFrom(new ByteBufferChannel(buffer("")), 0, 0); in testEmpty_transferFrom_fromStart_noBytes_countEqualsSrcSize() 364 long transferred = file.transferFrom(new ByteBufferChannel(buffer("")), 0, 10); in testEmpty_transferFrom_fromStart_noBytes_countGreaterThanSrcSize() 371 long transferred = file.transferFrom(new ByteBufferChannel(buffer("")), 5, 0); in testEmpty_transferFrom_fromBeyondStart_noBytes_countEqualsSrcSize() 378 long transferred = file.transferFrom(new ByteBufferChannel(buffer("")), 5, 10); in testEmpty_transferFrom_fromBeyondStart_noBytes_countGreaterThanSrcSize() [all …]
|
D | JimfsFileChannelTest.java | 184 assertEquals(10, channel.transferFrom(new ByteBufferChannel(buf), 0, 10)); in testAppend() 204 assertEquals(10, channel.transferFrom(readChannel, 0, 100)); in testTransferFrom() 301 channel.transferFrom(new ByteBufferChannel(10), 0, 10); in testFileTimeUpdates() 380 channel.transferFrom(new ByteBufferChannel(bytes("1111")), 0, 4); in testClose() 453 channel.transferFrom(new ByteBufferChannel(bytes("1111")), 0, 4); in testWritesInReadOnlyMode() 604 channel.transferFrom(new ByteBufferChannel(10), -1, 0); in testTransferFromNegative() 610 channel.transferFrom(new ByteBufferChannel(10), 0, -1); in testTransferFromNegative() 892 channel.transferFrom(new ByteBufferChannel(buffer), 0, 10); in queueAllBlockingOperations() 993 channel.transferFrom(channel(regularFile(10), READ, WRITE), 0, 1); in testInterruptedThreads()
|
/external/okio/samples/src/jvmMain/java/okio/samples/ |
D | FileChannelSink.java | 48 long written = channel.transferFrom(source, position, remaining); in write()
|
/external/jimfs/jimfs/src/main/java/com/google/common/jimfs/ |
D | JimfsFileChannel.java | 532 public long transferFrom(ReadableByteChannel src, long position, long count) throws IOException { in transferFrom() method in JimfsFileChannel 553 transferred = file.transferFrom(src, position, count); in transferFrom() 575 transferred = file.transferFrom(src, position, count); in transferFrom()
|
D | RegularFile.java | 393 public long transferFrom(ReadableByteChannel src, long pos, long count) throws IOException { in transferFrom() method in RegularFile
|
/external/clang/docs/ |
D | ThreadSafetyAnalysis.rst | 52 void transferFrom(BankAccount& b, int amount) { 71 There is also a warning in ``transferFrom()``, because although the method
|
/external/llvm-project/clang/docs/ |
D | ThreadSafetyAnalysis.rst | 52 void transferFrom(BankAccount& b, int amount) { 71 There is also a warning in ``transferFrom()``, because although the method
|