- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 70 for assigned (0.2 sec)
-
android/guava/src/com/google/common/util/concurrent/ThreadFactoryBuilder.java
* a unique integer (0, 1, etc.) will be supplied as the single parameter. This integer will * be unique to the built instance of the ThreadFactory and will be assigned sequentially. For * example, {@code "rpc-pool-%d"} will generate thread names like {@code "rpc-pool-0"}, {@code * "rpc-pool-1"}, {@code "rpc-pool-2"}, etc. * @return this for the builder pattern */
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed May 10 21:56:03 GMT 2023 - 7.6K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/TimeoutFuture.java
* however that is fine since the correctness is based on the atomic state in our base class. The * initial write to timer is never definitely visible to Fire.run since it is assigned after * SES.schedule is called. Therefore Fire.run has to check for null. However, it should be visible * if Fire.run is called by delegate.addListener since addListener is called after the assignment
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 01 21:46:34 GMT 2024 - 7.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/CompactHashing.java
* is unsigned, so the range of possible returned values is 0–255 or 0–65535, respectively. */ static int tableGet(Object table, int index) { if (table instanceof byte[]) { return ((byte[]) table)[index] & BYTE_MASK; // unsigned read } else if (table instanceof short[]) { return ((short[]) table)[index] & SHORT_MASK; // unsigned read } else {
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
* is unsigned, so the range of possible returned values is 0–255 or 0–65535, respectively. */ static int tableGet(Object table, int index) { if (table instanceof byte[]) { return ((byte[]) table)[index] & BYTE_MASK; // unsigned read } else if (table instanceof short[]) { return ((short[]) table)[index] & SHORT_MASK; // unsigned read } else {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Aug 02 21:41:22 GMT 2021 - 7.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/Utf8Test.java
// One offs expected[112] = 786432; expected[118] = 786432; expected[119] = 1048576; expected[120] = 458752; expected[121] = 524288; expected[122] = 65536; // Anything not assigned was the default 0. return expected; } /** * Helper to run the loop to test all the permutations for the number of bytes specified. * * @param numBytes the number of bytes in the byte array
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri Feb 09 15:49:48 GMT 2024 - 12.7K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AbstractScheduledService.java
* This lock is used to ensure safe and correct cancellation, it ensures that a new task is * not scheduled while a cancel is ongoing. Also it protects the currentFuture variable to * ensure that it is assigned atomically with being scheduled. */ private final ReentrantLock lock = new ReentrantLock(); /** The future that represents the next execution of this task. */ @GuardedBy("lock")
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Dec 13 19:45:20 GMT 2023 - 25.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/Utf8Test.java
// One offs expected[112] = 786432; expected[118] = 786432; expected[119] = 1048576; expected[120] = 458752; expected[121] = 524288; expected[122] = 65536; // Anything not assigned was the default 0. return expected; } /** * Helper to run the loop to test all the permutations for the number of bytes specified. * * @param numBytes the number of bytes in the byte array
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Fri Feb 09 15:49:48 GMT 2024 - 12.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/PopulatedCachesTest.java
// System.identityHashCode, which means the assignment of keys to segments is nondeterministic, // so more than (maximumSize / #segments) keys could get assigned to the same segment, which // would cause one to be evicted. return new CacheBuilderFactory() .withKeyStrengths(ImmutableSet.of(Strength.STRONG, Strength.WEAK))
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 15K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java
assertTrue(cancellationSuccess.get()); // cancellation can interleave in 3 ways // 1. prior to setFuture // 2. after setFuture before set() on the future assigned // 3. after setFuture and set() are called but before the listener completes. if (!setFutureSetSuccess.get() || !setFutureCompletionSuccess.get()) {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Feb 13 14:28:25 GMT 2024 - 46.8K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/Hashing.java
* * <p>This is designed for generating persistent fingerprints of strings. It isn't * cryptographically secure, but it produces a high-quality hash with few collisions. Fingerprints * generated using this are byte-wise identical to those created using the C++ version, but note * that this uses unsigned integers (see {@link com.google.common.primitives.UnsignedInts}).
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Apr 09 00:37:15 GMT 2024 - 29.2K bytes - Viewed (0)