Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 101 - 110 of 112 for get$default (0.1 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. guava-testlib/test/com/google/common/testing/ClassSanityTesterTest.java

        assertThat(tester.instantiate(MyAnnotation.class)).isNull();
      }
    
      public void testInstantiate_setDefault() throws Exception {
        NotInstantiable x = new NotInstantiable();
        tester.setDefault(NotInstantiable.class, x);
        assertThat(tester.instantiate(ConstructorParameterNotInstantiable.class)).isNotNull();
      }
    
      public void testSetDistinctValues_equalInstances() {
        assertThrows(
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 36.3K bytes
    - Click Count (0)
  2. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

          }
          return // Already started.
        }
    
        var boundSocketAddress = socketAddress
        try {
          val serverSocketFactory =
            serverSocketFactory_
              ?: (ServerSocketFactory.getDefault()!!.also { this.serverSocketFactory_ = it })
    
          val serverSocket =
            serverSocketFactory
              .createServerSocket()!!
              .also { this.serverSocket = it }
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Aug 02 20:36:00 GMT 2025
    - 40.3K bytes
    - Click Count (0)
  3. 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
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Mon Aug 07 09:39:17 GMT 2023
    - 25.6K bytes
    - Click Count (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/HcHttpClient.java

            if (cookieSpecRegistry != null) {
                return cookieSpecRegistry;
            }
    
            final PublicSuffixMatcher publicSuffixMatcher = PublicSuffixMatcherLoader.getDefault();
            final CookieSpecProvider defaultProvider =
                    new DefaultCookieSpecProvider(CompatibilityLevel.DEFAULT, publicSuffixMatcher, cookieDatePatterns, false);
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Sun Nov 23 12:19:14 GMT 2025
    - 53.7K bytes
    - Click Count (0)
  5. 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,
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 176.3K bytes
    - Click Count (0)
  6. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

        private CLIManager cliManager;
    
        private MessageBuilderFactory messageBuilderFactory;
    
        private FileSystem fileSystem = FileSystems.getDefault();
    
        private static final Pattern NEXT_LINE = Pattern.compile("\r?\n");
    
        public MavenCli() {
            this(null);
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Oct 27 13:24:03 GMT 2025
    - 78.1K bytes
    - Click Count (0)
  7. 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() {
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Sat Dec 13 02:21:17 GMT 2025
    - 88.2K bytes
    - Click Count (0)
  8. 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()
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Nov 01 12:18:11 GMT 2025
    - 67.4K bytes
    - Click Count (0)
  9. 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() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 18:44:53 GMT 2025
    - 89K bytes
    - Click Count (0)
  10. 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
       */
      @Test
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Oct 03 17:41:45 GMT 2025
    - 116.8K bytes
    - Click Count (0)
Back to Top