Searched refs:fileChannel (Results 1 – 13 of 13) sorted by relevance
76 FileChannel fileChannel = in testRunWithMappedByteBufferModel() local79 fileChannel.map(FileChannel.MapMode.READ_ONLY, 0, fileChannel.size()); in testRunWithMappedByteBufferModel()91 fileChannel.close(); in testRunWithMappedByteBufferModel()97 FileChannel fileChannel = in testRunWithDirectByteBufferModel() local99 ByteBuffer byteBuffer = ByteBuffer.allocateDirect((int) fileChannel.size()); in testRunWithDirectByteBufferModel()101 fileChannel.read(byteBuffer); in testRunWithDirectByteBufferModel()113 fileChannel.close(); in testRunWithDirectByteBufferModel()119 FileChannel fileChannel = in testRunWithInvalidByteBufferModel() local121 ByteBuffer byteBuffer = ByteBuffer.allocate((int) fileChannel.size()); in testRunWithInvalidByteBufferModel()123 fileChannel.read(byteBuffer); in testRunWithInvalidByteBufferModel()[all …]
59 private FileChannel fileChannel; field in MediaDataBox97 if (fileChannel != null) { in getBox()99 …transfer(fileChannel, startPosition - header.limit(), contentSize + header.limit(), writableByteCh… in getBox()117 fileChannel.position(startPosition - header.limit()); in checkStillOk()119 fileChannel.read(h2); in checkStillOk()143 this.fileChannel = ((FileChannel) readableByteChannel); in parse()170 …cacheEntry = fileChannel.map(FileChannel.MapMode.READ_ONLY, startPosition + offset, Math.min(BUFFE… in getContent()
98 FileChannel fileChannel = inputStream.getChannel(); in loadModelFile() local100 long declaredLength = fileChannel.size(); in loadModelFile()101 return fileChannel.map(FileChannel.MapMode.READ_ONLY, startOffset, declaredLength); in loadModelFile()
83 FileChannel fileChannel = inputStream.getChannel(); in loadModelFile() local85 long declaredLength = fileChannel.size(); in loadModelFile()86 return fileChannel.map(FileChannel.MapMode.READ_ONLY, startOffset, declaredLength); in loadModelFile()
168 FileChannel fileChannel = inputStream.getChannel(); in loadModelFile() local170 long declaredLength = fileChannel.size(); in loadModelFile()171 return fileChannel.map(FileChannel.MapMode.READ_ONLY, startOffset, declaredLength); in loadModelFile()
95 FileChannel fileChannel = inputStream.getChannel(); in loadModelFile() local98 return fileChannel.map(FileChannel.MapMode.READ_ONLY, startOffset, declaredLength); in loadModelFile()
70 FileChannel fileChannel = inputStream.getChannel(); in loadModelFile() local73 return fileChannel.map(FileChannel.MapMode.READ_ONLY, startOffset, declaredLength); in loadModelFile()
83 FileChannel fileChannel = inputStream.getChannel(); in loadModelFile() local86 return fileChannel.map(FileChannel.MapMode.READ_ONLY, startOffset, declaredLength); in loadModelFile()
110 FileChannel fileChannel = inputStream.getChannel(); in loadModelFile() local113 return fileChannel.map(FileChannel.MapMode.READ_ONLY, startOffset, declaredLength); in loadModelFile()
103 FileChannel fileChannel = modelInputStream.getChannel(); in initializeTest() local106 model = fileChannel.map(FileChannel.MapMode.READ_ONLY, startOffset, declaredLength); in initializeTest()
219 FileChannel fileChannel = inputStream.getChannel(); in loadModelFile() local222 return fileChannel.map(FileChannel.MapMode.READ_ONLY, startOffset, declaredLength); in loadModelFile()
138 FileInputStream(fileDescriptor.getFileDescriptor()); FileChannel fileChannel =141 fileChannel.map(FileChannel.MapMode.READ_ONLY, startOffset, declaredLength);
META-INF/ META-INF/MANIFEST.MF io/ io/grpc/ io/ ...