- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 80 for fresh (0.16 sec)
-
guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java
Object instance = ArbitraryInstances.get(mutableClass); assertNotNull("Expected to return non-null for: " + mutableClass, instance); assertNotSame( "Expected to return fresh instance for: " + mutableClass, instance, ArbitraryInstances.get(mutableClass)); } } private enum EmptyEnum {} private enum Direction { UP, DOWN }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 22.1K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/ClassSanityTester.java
List<Object> equalArgs = Lists.newArrayList(args); for (int i = 0; i < args.size(); i++) { Parameter param = params.get(i); Object arg = args.get(i); // Use new fresh value generator because 'args' were populated with new fresh generator each. // Two newFreshValueGenerator() instances should normally generate equal value sequence. Object shouldBeEqualArg = generateDummyArg(param, newFreshValueGenerator());
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Feb 08 17:31:55 GMT 2024 - 33K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/FreshValueGenerator.java
import java.util.concurrent.atomic.AtomicInteger; import java.util.regex.Pattern; import javax.annotation.CheckForNull; import org.checkerframework.checker.nullness.qual.Nullable; /** * Generates fresh instances of types that are different from each other (if possible). * * @author Ben Yu */ @GwtIncompatible @J2ktIncompatible class FreshValueGenerator {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Apr 17 16:33:44 GMT 2024 - 28.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java
List<Object> equalArgs = Lists.newArrayList(args); for (int i = 0; i < args.size(); i++) { Parameter param = params.get(i); Object arg = args.get(i); // Use new fresh value generator because 'args' were populated with new fresh generator each. // Two newFreshValueGenerator() instances should normally generate equal value sequence. Object shouldBeEqualArg = generateDummyArg(param, newFreshValueGenerator());
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 08 17:31:55 GMT 2024 - 33K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java
Object instance = ArbitraryInstances.get(mutableClass); assertNotNull("Expected to return non-null for: " + mutableClass, instance); assertNotSame( "Expected to return fresh instance for: " + mutableClass, instance, ArbitraryInstances.get(mutableClass)); } } private enum EmptyEnum {} private enum Direction { UP, DOWN }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 21.7K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/cache/CacheStrategy.kt
.headers(conditionalRequestHeaders.build()) .build() return CacheStrategy(conditionalRequest, cacheResponse) } /** * Returns the number of milliseconds that the response was fresh for, starting from the served * date. */ private fun computeFreshnessLifetime(): Long { val responseCaching = cacheResponse!!.cacheControl if (responseCaching.maxAgeSeconds != -1) {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Apr 15 13:24:48 GMT 2024 - 12K bytes - Viewed (0) -
ci/official/README.md
# # Important: because the container is persistent, you cannot change TFCI # variables in between script executions. To forcibly remove the # container and start fresh, run "docker rm -f tf". Removing the container # destroys some temporary bazel data and causes longer builds. # # You will need the NVIDIA Container Toolkit for GPU testing:
Plain Text - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Feb 01 03:21:19 GMT 2024 - 8K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/CacheControl.kt
this.maxStaleSeconds = maxStaleSecondsLong.commonClampToInt() } /** * Sets the minimum number of seconds that a response will continue to be fresh for. If the * response will be stale when [minFresh] have elapsed, the cached response will not be used and * a network request will be made. *
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Apr 15 13:41:01 GMT 2024 - 10K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/tls/CertificatePinnerChainValidationTest.kt
.url(server.url("/")) .build(), ) val response1 = call1.execute() assertThat(response1.body.string()).isEqualTo("abc") response1.close() // Force a fresh connection for the next request. client.connectionPool.evictAll() // Confirm that a second request also succeeds. This should detect caching problems. server.enqueue( MockResponse.Builder()
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 23.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/MultimapBuilder.java
} } private enum LinkedListSupplier implements Supplier<List<?>> { INSTANCE; public static <V extends @Nullable Object> Supplier<List<V>> instance() { // Each call generates a fresh LinkedList, which can serve as a List<V> for any V. @SuppressWarnings({"rawtypes", "unchecked"}) Supplier<List<V>> result = (Supplier) INSTANCE; return result; } @Override
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 22 21:19:52 GMT 2024 - 17.5K bytes - Viewed (0)