- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for FileBackedOutputStream (0.09 seconds)
-
android/guava/src/com/google/common/io/FileBackedOutputStream.java
* <li>this stream (or, more precisely, its {@link #asByteSource} view) is garbage collected, * <strong>AND</strong> this stream was constructed with {@linkplain * #FileBackedOutputStream(int, boolean) the two-arg constructor} with {@code true} for the * second parameter. Relying on this second approach is discouraged. * </ul> * * <p>This class is thread-safe. *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 17:30:49 GMT 2026 - 12.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java
int fileThreshold, int dataSize, boolean singleByte, boolean resetWhenGarbageCollected) throws IOException { byte[] data = newPreFilledByteArray(dataSize); FileBackedOutputStream out = new FileBackedOutputStream(fileThreshold, resetWhenGarbageCollected); ByteSource source = out.asByteSource(); int chunk1 = min(dataSize, fileThreshold); int chunk2 = dataSize - chunk1;Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 04:04:26 GMT 2026 - 8K bytes - Click Count (0)