- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 105 for getDefault (0.57 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/CacheCorruptionTest.kt
clientTestRule .newClientBuilder() .cache(cache) .cookieJar(JavaNetCookieJar(cookieManager)) .build() } @AfterEach fun tearDown() { ResponseCache.setDefault(null) if (this::cache.isInitialized) { cache.delete() } } @Test fun corruptedCipher() { val response = testCorruptingCache { corruptMetadata {Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Jun 18 12:28:21 UTC 2025 - 6K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/MacHashFunctionTest.java
.put("HmacSHA512", SHA512_KEY, Hashing.hmacSha512(SHA512_KEY)) .buildOrThrow(); public void testNulls() { NullPointerTester tester = new NullPointerTester().setDefault(String.class, "HmacMD5").setDefault(Key.class, MD5_KEY); tester.testAllPublicConstructors(MacHashFunction.class); tester.testAllPublicInstanceMethods(new MacHashFunction("HmacMD5", MD5_KEY, "toString")); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 27 16:19:35 UTC 2024 - 13.8K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/NullPointerTester.java
* When the non-null default value for a particular parameter type cannot be provided by {@code * NullPointerTester}, the caller can provide a custom non-null default value for the parameter type * via {@link #setDefault}. * * @author Kevin Bourrillion * @since 10.0 */ @GwtIncompatible @J2ktIncompatible @NullMarked public final class NullPointerTester {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 25.4K bytes - Viewed (0) -
tensorflow/api_template.__init__.py
import sysconfig as _sysconfig import importlib import inspect as _inspect import os as _os import site as _site import sys as _sys _os.environ.setdefault("ENABLE_RUNTIME_UPTIME_TELEMETRY", "1") # Do not remove this line; See https://github.com/tensorflow/tensorflow/issues/42596 from tensorflow.python import pywrap_tensorflow as _pywrap_tensorflow # pylint: disable=unused-importRegistered: Tue Dec 30 12:39:10 UTC 2025 - Last Modified: Wed Oct 02 22:16:02 UTC 2024 - 6.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/NullPointerTester.java
* When the non-null default value for a particular parameter type cannot be provided by {@code * NullPointerTester}, the caller can provide a custom non-null default value for the parameter type * via {@link #setDefault}. * * @author Kevin Bourrillion * @since 10.0 */ @GwtIncompatible @J2ktIncompatible @NullMarked public final class NullPointerTester {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 24.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/ResourcesTest.java
Thread.currentThread().setContextClassLoader(oldContextLoader); } } @AndroidIncompatible // .class files aren't available public void testNulls() { new NullPointerTester() .setDefault(URL.class, classfile(ResourcesTest.class)) .testAllPublicStaticMethods(Resources.class); } private static URL classfile(Class<?> c) { return c.getResource(c.getSimpleName() + ".class"); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 6.9K bytes - Viewed (0) -
ci/official/utilities/extract_resultstore_links.py
result_store_line_match = re.search(RESULT_STORE_LINK_RE, line) if not result_store_line_match: continue url = result_store_line_match.group(1) url_lines = result_store_links.setdefault(url, {}) # Each bazel RBE invocation should produce two # 'Streaming build results to: ...' lines, one at the start, and one at the # end of the invocation.
Registered: Tue Dec 30 12:39:10 UTC 2025 - Last Modified: Wed Nov 08 17:50:27 UTC 2023 - 10.9K bytes - Viewed (0) -
maven-tests/mvnw
{ return new java.net.PasswordAuthentication( System.getenv( "MVNW_USERNAME" ), System.getenv( "MVNW_PASSWORD" ).toCharArray() ); } public static void main( String[] args ) throws Exception { setDefault( new Downloader() ); java.nio.file.Files.copy( java.net.URI.create( args[0] ).toURL().openStream(), java.nio.file.Paths.get( args[1] ).toAbsolutePath().normalize() ); } } ENDRegistered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Thu Sep 25 18:22:49 UTC 2025 - 10.4K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/configuration/internal/EnhancedCompositeBeanHelper.java
this.evaluator = evaluator; this.listener = listener; } /** * Calls the default "set" method on the bean; re-converts the configuration if necessary. */ public void setDefault(Object bean, Object defaultValue, PlexusConfiguration configuration) throws ComponentConfigurationException { Class<?> beanType = bean.getClass(); // Find the default "set" methodRegistered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Nov 12 14:59:46 UTC 2025 - 12.3K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java
() -> new ForwardingWrapperTester() .testForwarding(String.class, Functions.<String>identity())); } public void testNulls() { new NullPointerTester() .setDefault(Class.class, Runnable.class) .testAllPublicInstanceMethods(new ForwardingWrapperTester()); } private <T> void assertFailure( Class<T> interfaceType,Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 15.7K bytes - Viewed (0)