- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 55 for Computed (0.04 sec)
-
android/guava-tests/test/com/google/common/cache/NullCacheTest.java
} public void testGet() { Object computed = new Object(); LoadingCache<Object, Object> cache = CacheBuilder.newBuilder() .maximumSize(0) .removalListener(listener) .build(constantLoader(computed)); Object key = new Object(); assertThat(cache.getUnchecked(key)).isSameInstanceAs(computed);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:07:52 UTC 2025 - 4.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/NullCacheTest.java
} public void testGet() { Object computed = new Object(); LoadingCache<Object, Object> cache = CacheBuilder.newBuilder() .maximumSize(0) .removalListener(listener) .build(constantLoader(computed)); Object key = new Object(); assertThat(cache.getUnchecked(key)).isSameInstanceAs(computed);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:07:52 UTC 2025 - 4.6K bytes - Viewed (0) -
tests/test_openapi_separate_input_output_schemas.py
response = client.post("/with-computed-field/", json={"name": "example"}) response2 = client_no.post("/with-computed-field/", json={"name": "example"}) assert response.status_code == response2.status_code == 200, response.text assert ( response.json() == response2.json() == { "name": "example", "computed_field": "computed example", } )
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 20 15:55:38 UTC 2025 - 26.6K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/Tags.kt
type: KClass<T>, compute: () -> T, ): T { var computed: T? = null while (true) { val tags = get() // If the element is already present. Return it. val existing = tags[type] if (existing != null) return existing if (computed == null) { computed = compute() } // If we successfully add the computed element, we're done.
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Oct 24 11:37:46 UTC 2025 - 3.9K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Call.kt
* tags are computed. */ fun <T : Any> tag(type: KClass<T>): T? /** * Returns the tag attached with [type] as a key, or null if no tag is attached with that key. * * The tags on a call are seeded from the [request tags][Request.tag]. This set will grow if new * tags are computed. */ fun <T> tag(type: Class<out T>): T? /**
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Nov 05 18:28:35 UTC 2025 - 6.8K bytes - Viewed (0) -
docs/en/docs/tutorial/dependencies/sub-dependencies.md
And it will save the returned value in a <abbr title="A utility/system to store computed/generated values, to reuse them instead of computing them again.">"cache"</abbr> and pass it to all the "dependants" that need it in that specific request, instead of calling the dependency multiple times for the same request.
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 3.7K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeStrategy.java
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 18:03:26 UTC 2025 - 7.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/base/login/EntraIdCredential.java
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 7.8K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultLifecycleRegistry.java
List<String> allPhases = graph.visitAll(); Collections.reverse(allPhases); List<String> computed = allPhases.stream().filter(s -> !s.startsWith("$")).collect(Collectors.toList()); return computed; } private static void addPhase( Graph graph, Graph.Vertex before, Graph.Vertex after, org.apache.maven.api.Lifecycle.Phase phase) {
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Mon Sep 29 14:45:25 UTC 2025 - 20.1K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java
// Store computed repositories per project to avoid leakage between projects private final Map<String, List<ArtifactRepository>> projectRepositories = new ConcurrentHashMap<>(); /** * Get the effective repositories for a project. If project-specific repositories * have been computed and stored, use those; otherwise fall back to request repositories.Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 17:20:31 UTC 2025 - 51.8K bytes - Viewed (0)