- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for contentsEqual (0.04 sec)
-
android/guava/src/com/google/common/io/ByteSource.java
*/ public boolean contentEquals(ByteSource other) throws IOException { checkNotNull(other); Closer closer = Closer.create(); try { return ByteStreams.contentsEqual( closer.register(openStream()), closer.register(other.openStream())); } catch (Throwable e) { throw closer.rethrow(e); } finally { closer.close(); } } /**
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 08 18:35:13 UTC 2025 - 25.7K bytes - Viewed (0) -
guava/src/com/google/common/io/ByteStreams.java
if (result == -1) { break; } total += result; } return total; } /** Compares the contents of the two {@link InputStream}s for equality. */ static boolean contentsEqual(InputStream in1, InputStream in2) throws IOException { byte[] buf1 = createBuffer(); byte[] buf2 = createBuffer(); while (true) { int read1 = read(in1, buf1, 0, BUFFER_SIZE);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 31.1K bytes - Viewed (0)