- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 104 for SetDefault (0.05 sec)
-
guava-tests/test/com/google/common/math/IntMathTest.java
return big.bitLength() <= 31; } @J2ktIncompatible @GwtIncompatible // NullPointerTester public void testNullPointers() { NullPointerTester tester = new NullPointerTester(); tester.setDefault(int.class, 1); tester.testAllPublicStaticMethods(IntMath.class); } @GwtIncompatible // isPrime is GWT-incompatible public void testIsPrime() { // Defer correctness tests to Long.isPrime
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 24.1K bytes - Viewed (0) -
api/go1.21.txt
pkg log/slog, func NewRecord(time.Time, Level, string, uintptr) Record #56345 pkg log/slog, func NewTextHandler(io.Writer, *HandlerOptions) *TextHandler #59339 pkg log/slog, func SetDefault(*Logger) #56345 pkg log/slog, func String(string, string) Attr #56345 pkg log/slog, func StringValue(string) Value #56345 pkg log/slog, func Time(string, time.Time) Attr #56345
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Mon Aug 07 09:39:17 UTC 2023 - 25.6K bytes - Viewed (0) -
fastapi/applications.py
] = {} if exception_handlers is None else dict(exception_handlers) self.exception_handlers.setdefault(HTTPException, http_exception_handler) self.exception_handlers.setdefault( RequestValidationError, request_validation_exception_handler ) self.exception_handlers.setdefault( WebSocketRequestValidationError,Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 21:25:59 UTC 2025 - 176.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java
proxy = new Proxy(Type.HTTP, addr); if (StringUtil.isNotBlank(getHttpProxyUsername())) { Authenticator.setDefault(new Authenticator() { @Override protected PasswordAuthentication getPasswordAuthentication() {
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Dec 13 02:21:17 UTC 2025 - 88.2K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt
} } @AfterEach fun tearDown() { // TODO reenable after https://github.com/square/okhttp/issues/8206 // fileSystem.checkNoOpenFiles() cache.close() java.net.Authenticator.setDefault(null) } @Test fun get() { server.enqueue(MockResponse(body = "ABCDE")) val call = client.newCall(Request(server.url("/foo"))) val response = call.execute()
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Nov 01 12:18:11 UTC 2025 - 67.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java
} public <T> void testNulls() { new NullPointerTester().testAllPublicStaticMethods(TypeToken.class); new NullPointerTester() .setDefault(TypeParameter.class, new TypeParameter<T>() {}) .testAllPublicInstanceMethods(TypeToken.of(String.class)); } private static class Assignability<From, To> { boolean isAssignable() {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 18:44:53 UTC 2025 - 89K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt
clientTestRule .newClientBuilder() .cache(cache) .cookieJar(JavaNetCookieJar(cookieManager)) .build() } @AfterEach fun tearDown() { ResponseCache.setDefault(null) cache.delete() } /** * Test that response caching is consistent with the RI and the spec. * http://www.w3.org/Protocols/rfc2616/rfc2616-sec13.html#sec13.4 */ @TestRegistered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Oct 03 17:41:45 UTC 2025 - 116.8K bytes - Viewed (0) -
src/test/java/jcifs/context/CIFSContextCredentialWrapperTest.java
assertFalse(renewed, "renewCredentials should return false when NtlmAuthenticator.getDefault() is null"); assertEquals(mockCredentials, wrapper.getCredentials(), "Credentials should remain unchanged if NtlmAuthenticator.getDefault() is null"); mockedNtlmAuthenticator.verify(NtlmAuthenticator::getDefault);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.4K bytes - Viewed (0) -
src/main/java/org/codelibs/core/convert/TimeConversionUtil.java
* * @return the pattern string for {@link DateFormat#SHORT} style */ public static String getShortPattern() { return getShortPattern(LocaleUtil.getDefault()); } /** * Returns the pattern string for {@link DateFormat#SHORT} style in the specified locale. * * @param locale * Locale. Must not be {@literal null}.Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 20.3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/convert/TimestampConversionUtil.java
* * @return the pattern string for {@link DateFormat#SHORT} style */ public static String getShortPattern() { return getShortPattern(LocaleUtil.getDefault()); } /** * Returns the pattern string for {@link DateFormat#SHORT} style using the specified locale. * * @param locale * Locale. Must not be {@literal null}.Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 20.6K bytes - Viewed (0)