Home
last modified time | relevance | path

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

/external/jimfs/jimfs/src/test/java/com/google/common/jimfs/
DJimfsFileSystemCloseTest.java118 SeekableByteChannel sbc = Files.newByteChannel(p, READ); in testOpenChannelsClosed()
337 Files.newByteChannel(file); in testFilesMethodsThrow()
DJimfsUnixLikeFileSystemTest.java710 Files.newByteChannel(path("/foo"), ImmutableSet.of(WRITE, CREATE), permissions).close(); in testOpenChannel_withInitialAttributes_createNewFile()
725 Files.newByteChannel(path("/foo"), ImmutableSet.of(WRITE, CREATE), permissions).close(); in testOpenChannel_withInitialAttributes_fileExists()
1464 try (SeekableByteChannel channel = Files.newByteChannel(path("/test.txt"), READ)) { in testChannels()
1478 try (SeekableByteChannel channel = Files.newByteChannel(path("/test"), READ, WRITE)) { in testChannels()
1996 secureStream.newByteChannel(path("b"), ImmutableSet.of(WRITE, CREATE_NEW)).close(); in testSecureDirectoryStream()
2042 barStream.newByteChannel(path("stuff"), ImmutableSet.of(WRITE, CREATE_NEW)).close(); in testSecureDirectoryStream()
2147 stream.newByteChannel(fs.getPath("a"), ImmutableSet.of(CREATE, WRITE)); in testClosedSecureDirectoryStream()
2397 try (SeekableByteChannel channel = Files.newByteChannel(bar)) { in testUnsupportedFeatures()
/external/tensorflow/tensorflow/lite/java/src/test/java/org/tensorflow/lite/
DTestUtils.java39 Files.newByteChannel(new File(path).toPath(), EnumSet.of(StandardOpenOption.READ))) { in getTestFileAsBuffer()
/external/jimfs/jimfs/src/main/java/com/google/common/jimfs/
DJimfsSecureDirectoryStream.java143 public SeekableByteChannel newByteChannel( in newByteChannel() method in JimfsSecureDirectoryStream
DSystemJimfsFileSystemProvider.java203 public SeekableByteChannel newByteChannel(
DJimfsFileSystemProvider.java160 public SeekableByteChannel newByteChannel( in newByteChannel() method in JimfsFileSystemProvider
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/sevenz/
DSevenZFile.java108 this(Files.newByteChannel(filename.toPath(), EnumSet.of(StandardOpenOption.READ)), in SevenZFile()
123 this(Files.newByteChannel(filename.toPath(), EnumSet.of(StandardOpenOption.READ)), in SevenZFile()
DSevenZOutputFile.java71 this(Files.newByteChannel(filename.toPath(), in SevenZOutputFile()
/external/guava/guava/src/com/google/common/io/
DMoreFiles.java159 try (SeekableByteChannel channel = Files.newByteChannel(path, options)) { in read()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/zip/
DZipFile.java218 this(Files.newByteChannel(f.toPath(), EnumSet.of(StandardOpenOption.READ)), in ZipFile()
DZipArchiveOutputStream.java292 _channel = Files.newByteChannel(file.toPath(), in ZipArchiveOutputStream()