- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 79 for Hahler (0.18 sec)
-
android/guava/src/com/google/common/eventbus/AsyncEventBus.java
* identifier} as the bus's name for logging purposes. * * @param identifier short name for the bus, for logging purposes. * @param executor Executor to use to dispatch events. It is the caller's responsibility to shut * down the executor after the last event has been posted to this event bus. */ public AsyncEventBus(String identifier, Executor executor) {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Apr 22 13:05:46 GMT 2021 - 2.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Platform.java
* would declare a return type of `@Nullable T[]`. However, we've decided not to think too hard * about arrays for now, as they're a mess. (We previously discussed this in the review of * ObjectArrays, which is the main caller of this method.) */ static <T extends @Nullable Object> T[] newArray(T[] reference, int length) { T[] empty = reference.length == 0 ? reference : Arrays.copyOf(reference, 0); return Arrays.copyOf(empty, length);
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 22 21:19:52 GMT 2024 - 4.9K bytes - Viewed (0) -
guava-testlib/src/com/google/common/util/concurrent/testing/TestingExecutors.java
* of tasks submitted by {@code invokeAll} or {@code invokeAny}, tasks will run serially on the * calling thread. Tasks are run to completion before a {@code Future} is returned to the caller * (unless the executor has been shutdown). * * <p>The returned executor is backed by the executor returned by {@link * MoreExecutors#newDirectExecutorService} and subject to the same constraints. *
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Fri May 26 22:04:00 GMT 2023 - 6.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/CompactHashing.java
* then we should have {@code 0 ≤ entry ≤ 255}, and if {@code table} is a {@code short[]} then we * should have {@code 0 ≤ entry ≤ 65535}. It is the caller's responsibility to ensure this. */ static void tableSet(Object table, int index, int entry) { if (table instanceof byte[]) { ((byte[]) table)[index] = (byte) entry; // unsigned write
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Aug 02 21:41:22 GMT 2021 - 7.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/CompactHashing.java
* then we should have {@code 0 ≤ entry ≤ 255}, and if {@code table} is a {@code short[]} then we * should have {@code 0 ≤ entry ≤ 65535}. It is the caller's responsibility to ensure this. */ static void tableSet(Object table, int index, int entry) { if (table instanceof byte[]) { ((byte[]) table)[index] = (byte) entry; // unsigned write
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Aug 02 21:41:22 GMT 2021 - 7.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/FuturesGetCheckedTest.java
} /** * Loads {@link WillBeUnloadedException} in a separate {@code ClassLoader}, calls {@code * getChecked(future, WillBeUnloadedException.class)}, and returns the loader. The caller can then * test that the {@code ClassLoader} can still be GCed. The test amounts to a test that {@code * getChecked} holds no strong references to the class. */
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 16.4K bytes - Viewed (0) -
android/guava/src/com/google/common/net/HostAndPort.java
* </ul> * * <p>Note that this is not an exhaustive list, because these methods are only concerned with * brackets, colons, and port numbers. Full validation of the host field (if desired) is the * caller's responsibility. * * @author Paul Marks * @since 10.0 */ @Immutable @GwtCompatible @ElementTypesAreNonnullByDefault public final class HostAndPort implements Serializable {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Aug 22 20:55:57 GMT 2023 - 11.3K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/HashCode.java
* most-significant bytes. * * @since 14.0 (since 11.0 as {@code Hashing.padToLong(HashCode)}) */ public abstract long padToLong(); /** * Returns the value of this hash code as a byte array. The caller may modify the byte array; * changes to it will <i>not</i> be reflected in this {@code HashCode} object or any other arrays * returned by this method. */ // TODO(user): consider ByteString here, when that is available
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Apr 20 18:43:59 GMT 2021 - 12.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/PopulatedCachesTest.java
return warmUp(cache, WARMUP_MIN, WARMUP_MAX); } /** * Returns the entries that were added to the map, so they won't fall out of a map with weak or * soft references until the caller drops the reference to the returned entries. */ private List<Entry<Object, Object>> warmUp( LoadingCache<Object, Object> cache, int minimum, int maximum) {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 15K bytes - Viewed (0) -
guava/src/com/google/common/base/Preconditions.java
* * <p>If the precondition is not met, the {@code Preconditions} method throws an unchecked exception * of a specified type, which helps the method in which the exception was thrown communicate that * its caller has made a mistake. This allows constructs such as * * <pre>{@code * public static double sqrt(double value) { * if (value < 0) { * throw new IllegalArgumentException("input is negative: " + value); * }
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Wed Feb 14 15:46:55 GMT 2024 - 52.9K bytes - Viewed (0)