- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 72 for cache (0.24 sec)
-
android/guava/src/com/google/common/util/concurrent/FuturesGetChecked.java
* It's very unlikely that any loaded Futures class will see getChecked called with more * than a handful of exceptions. But it seems prudent to set a cap on how many we'll cache. * This avoids out-of-control memory consumption, and it keeps the cache from growing so * large that doing the lookup is noticeably slower than redoing the work would be. *
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Dec 14 20:35:03 UTC 2023 - 10.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/CacheLoaderTest.java
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.google.common.cache; import com.google.common.collect.ImmutableList; import com.google.common.collect.ImmutableMap; import com.google.common.collect.Queues; import com.google.common.util.concurrent.Futures;
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Aug 05 17:21:46 UTC 2022 - 3.6K bytes - Viewed (0) -
android/guava/src/com/google/common/net/MediaType.java
*/ public static final MediaType ANY_FONT_TYPE = createConstant(FONT_TYPE, WILDCARD); /* text types */ public static final MediaType CACHE_MANIFEST_UTF_8 = createConstantUtf8(TEXT_TYPE, "cache-manifest"); public static final MediaType CSS_UTF_8 = createConstantUtf8(TEXT_TYPE, "css"); public static final MediaType CSV_UTF_8 = createConstantUtf8(TEXT_TYPE, "csv");
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Aug 07 16:17:10 UTC 2023 - 46.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/CompactHashSet.java
* @author Jon Noack */ @GwtIncompatible // not worth using in GWT for now @ElementTypesAreNonnullByDefault class CompactHashSet<E extends @Nullable Object> extends AbstractSet<E> implements Serializable { // TODO(user): cache all field accesses in local vars /** Creates an empty {@code CompactHashSet} instance. */ public static <E extends @Nullable Object> CompactHashSet<E> create() { return new CompactHashSet<>(); } /**
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue May 28 18:11:09 UTC 2024 - 24K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/SmoothRateLimiter.java
* * On the other hand, past underutilization could mean that "the server responsible for handling * the request has become less ready for future requests", i.e. its caches become stale, and * requests become more likely to trigger expensive operations (a more extreme case of this * example is when a server has just booted, and it is mostly busy with getting itself up to * speed). *
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Apr 04 09:45:04 UTC 2023 - 19.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/EquivalenceTest.java
.addEqualityGroup(isNull) .addEqualityGroup(Equivalence.identity().equivalentTo("1")) .testEquals(); } /* * We use large numbers to avoid the integer cache. Normally, we'd accomplish that merely by using * `new Integer` (as we do) instead of `Integer.valueOf`. However, under J2KT, `new Integer`
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Feb 20 17:00:05 UTC 2024 - 6.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java
firstException = expected; // Second time should also fail, with a cached causal chain. expected = assertThrows(PotentialDeadlockException.class, () -> lockA.lock()); checkMessage(expected, "LockB -> LockA", "LockA -> LockB"); // The causal chain should be cached. assertSame(firstException.getCause(), expected.getCause()); // lockA should work after lockB is released.
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 16.1K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/ImmutableDoubleArray.java
* ImmutableList.copyOf} and use that list instead. */ public List<Double> asList() { /* * Typically we cache this kind of thing, but much repeated use of this view is a performance * anti-pattern anyway. If we cache, then everyone pays a price in memory footprint even if * they never use this method. */ return new AsList(this); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri May 12 16:34:24 UTC 2023 - 19.6K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/ImmutableIntArray.java
* ImmutableList.copyOf} and use that list instead. */ public List<Integer> asList() { /* * Typically we cache this kind of thing, but much repeated use of this view is a performance * anti-pattern anyway. If we cache, then everyone pays a price in memory footprint even if * they never use this method. */ return new AsList(this); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri May 12 16:34:24 UTC 2023 - 18.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/CompactLinkedHashSet.java
int expectedSize) { return new CompactLinkedHashSet<>(expectedSize); } private static final int ENDPOINT = -2; // TODO(user): predecessors and successors should be collocated (reducing cache misses). // Might also explore collocating all of [hash, next, predecessor, successor] fields of an // entry in a *single* long[], though that reduces the maximum size of the set by a factor of 2 /**
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Feb 05 21:38:59 UTC 2024 - 9.5K bytes - Viewed (0)