- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 130 for Read (0.12 sec)
-
android/guava/src/com/google/common/io/BaseEncoding.java
checkPositionIndexes(off, off + len, buf.length); int i = off; for (; i < off + len; i++) { int b = read(); if (b == -1) { int read = i - off; return read == 0 ? -1 : read; } buf[i] = (byte) b; } return i - off; } @Override
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Fri Mar 15 16:33:32 GMT 2024 - 41.7K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/util/concurrent/ExecutionListBenchmark.java
} public void execute() { RunnableExecutorPair stack; do { stack = head; if (stack == null) { // If head == null then execute() has been called so we should just return return; } // try to swap null into head. } while (!UNSAFE.compareAndSwapObject(this, HEAD_OFFSET, stack, null));
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Apr 17 15:19:38 GMT 2023 - 20.4K bytes - Viewed (0) -
android/guava/src/com/google/common/io/Files.java
* * @param file the file to read * @param processor the object to which the bytes of the file are passed. * @return the result of the byte processor * @throws IOException if an I/O error occurs * @deprecated Prefer {@code asByteSource(file).read(processor)}. */ @Deprecated @InlineMe( replacement = "Files.asByteSource(file).read(processor)", imports = "com.google.common.io.Files")
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 15 16:12:13 GMT 2024 - 33.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/FilesTest.java
assertTrue(Arrays.equals(I18N.getBytes(Charsets.UTF_8), Files.toByteArray(i18nFile))); assertTrue(Arrays.equals(I18N.getBytes(Charsets.UTF_8), Files.asByteSource(i18nFile).read())); } /** A {@link File} that provides a specialized value for {@link File#length()}. */ private static class BadLengthFile extends File { private final long badLength;
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 22.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/graph/ValueGraphTest.java
} /* * Also look up an earlier node so that, if the graph is using MapRetrievalCache, * we read one of the fields declared in that class. */ Set<Integer> unused = graph.successors(first); return null; } })); }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Feb 06 18:35:19 GMT 2024 - 20K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/LinkedListMultimap.java
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri Oct 13 14:11:58 GMT 2023 - 27.2K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/Striped.java
* read-write locks. Conceptually, lock striping is the technique of dividing a lock into many * <i>stripes</i>, increasing the granularity of a single lock and allowing independent operations * to lock different stripes and proceed concurrently, instead of creating contention for a single * lock. * * <p>The guarantee provided by this class is that equal keys lead to the same lock (or semaphore),
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Apr 10 20:55:18 GMT 2023 - 20.3K bytes - Viewed (1) -
android/guava/src/com/google/common/collect/Multisets.java
return CollectCollectors.toMultiset(elementFunction, countFunction, multisetSupplier); } /** * Returns an unmodifiable view of the specified multiset. Query operations on the returned * multiset "read through" to the specified multiset, and attempts to modify the returned multiset * result in an {@link UnsupportedOperationException}. *
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed May 01 18:44:57 GMT 2024 - 41.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/Comparators.java
* * <p>The recommended solution for finding the {@code minimum} of some values depends on the type * of your data and the number of elements you have. Read more in the Guava User Guide article on * <a href="https://github.com/google/guava/wiki/CollectionUtilitiesExplained#comparators">{@code * Comparators}</a>. *
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Feb 15 16:12:13 GMT 2024 - 10.7K bytes - Viewed (0) -
guava/src/com/google/common/base/Throwables.java
* RuntimeException(e)}. But consider whether users would be better off if your API threw a * different type of exception. For background on the deprecation, read <a * href="https://goo.gl/Ivn2kc">Why we deprecated {@code Throwables.propagate}</a>. */ @CanIgnoreReturnValue @J2ktIncompatible @GwtIncompatible @Deprecated
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Wed Mar 06 15:38:58 GMT 2024 - 20.6K bytes - Viewed (0)