- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 102 for expensive (0.13 seconds)
-
android/guava/src/com/google/common/util/concurrent/ListenableFuture.java
* * <p>Occasionally, an API will return a plain {@code Future} and it will be impossible to change * the return type. For this case, we provide a more expensive workaround in {@code * JdkFutureAdapters}. However, when possible, it is more efficient and reliable to create a {@code * ListenableFuture} directly. * * @author Sven Mawson * @author Nishant ThakkarCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 8K bytes - Click Count (0) -
docs/en/docs/advanced/events.md
Let's start with an example and then see it in detail. We create an async function `lifespan()` with `yield` like this: {* ../../docs_src/events/tutorial003_py39.py hl[16,19] *}Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 7.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/Utf8Test.java
testBytes(3, EXPECTED_THREE_BYTE_ROUNDTRIPPABLE_COUNT); } /** * Tests that round tripping of a sample of four byte permutations work. All permutations are * prohibitively expensive to test for automated runs. This method tests specific four-byte cases. */ public void testIsWellFormed_4BytesSamples() { // Valid 4 byte. assertWellFormed(0xF0, 0xA4, 0xAD, 0xA2); // Bad trailing bytes
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 12.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/cache/CacheEvictionTest.java
CountingRemovalListener<Integer, Integer> removalListener = countingRemovalListener(); IdentityLoader<Integer> loader = identityLoader(); // Even numbers are free, odd are too expensive Weigher<Integer, Integer> evensOnly = new Weigher<Integer, Integer>() { @Override public int weigh(Integer k, Integer v) { return k % 2; } };
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 18:19:59 GMT 2025 - 15.1K bytes - Click Count (0) -
internal/hash/reader.go
// simply converts positional arguments to NewReader() into a // more flexible way to provide optional inputs. This is currently // used by the FanOut API call mostly to disable expensive md5sum // calculation repeatedly under hash.Reader. type Options struct { MD5Hex string SHA256Hex string Size int64 ActualSize int64 DisableMD5 bool ForceMD5 []byte }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Jun 25 15:08:54 GMT 2025 - 11.8K bytes - Click Count (0) -
android/guava/src/com/google/common/base/MoreObjects.java
* Holder object for values that cannot be null or empty (will be printed unconditionally). This * helps to shortcut most calls to isEmpty(), which is important because the check for emptiness * is relatively expensive. Use a subtype so this also doesn't need any extra storage. */ private static final class UnconditionalValueHolder extends ValueHolder {} } private MoreObjects() {}
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 16.1K bytes - Click Count (0) -
guava/src/com/google/common/base/MoreObjects.java
* Holder object for values that cannot be null or empty (will be printed unconditionally). This * helps to shortcut most calls to isEmpty(), which is important because the check for emptiness * is relatively expensive. Use a subtype so this also doesn't need any extra storage. */ private static final class UnconditionalValueHolder extends ValueHolder {} } private MoreObjects() {}
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 16.6K bytes - Click Count (0) -
guava/src/com/google/common/base/Suppliers.java
// // We use two volatile reads. We could reduce this to one by // putting our fields into a holder class, but (at least on x86) // the extra memory consumption and indirection are more // expensive than the extra volatile reads. long nanos = expirationNanos; long now = System.nanoTime(); if (nanos == 0 || now - nanos >= 0) { synchronized (lock) {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 16.5K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/AggregateFuture.java
} } } else { /* * We'll call the user callback or collect the values only when all inputs complete, * regardless of whether some failed. This lets us avoid calling expensive methods like * Future.get() when we don't need to (specifically, for whenAllComplete().call*()), and it * lets all futures share the same listener. *Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 16K bytes - Click Count (0) -
docs/en/docs/deployment/https.md
Before Let's Encrypt, these **HTTPS certificates** were sold by trusted third parties. The process to acquire one of these certificates used to be cumbersome, require quite some paperwork and the certificates were quite expensive. But then **<a href="https://letsencrypt.org/" class="external-link" target="_blank">Let's Encrypt</a>** was created.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sun Aug 31 19:34:08 GMT 2025 - 14.3K bytes - Click Count (0)