Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 140 for get_default (0.07 sec)

  1. okhttp/src/test/java/okhttp3/internal/authenticator/JavaNetAuthenticatorTest.kt

      private val factory =
        TestValueFactory()
          .apply {
            dns = fakeDns
          }
    
      @BeforeEach
      fun setup() {
        Authenticator.setDefault(recordingAuthenticator)
      }
    
      @AfterEach
      fun tearDown() {
        Authenticator.setDefault(null)
        factory.close()
      }
    
      @Test
      fun testBasicAuth() {
        fakeDns["server"] = listOf(InetAddress.getLocalHost())
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessUserTimeZoneProcessProvider.java

    /**
     * @author jflute
     */
    public class FessUserTimeZoneProcessProvider implements UserTimeZoneProcessProvider {
    
        public static final TimeZone centralTimeZone = TimeZone.getDefault();
    
        @Override
        public boolean isUseTimeZoneHandling() {
            return false;
        }
    
        @Override
        public boolean isAcceptCookieTimeZone() {
            return false;
        }
    
        @Override
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  3. .teamcity/src/main/kotlin/configurations/StageTriggers.kt

            triggers.add(StageTrigger(model, stage, prevStage, null, allDependencies))
    
            stageWithOsTriggers.getOrDefault(stage.stageName, emptyList()).forEach { targetOs ->
                val dependencies = allDependencies.filter { it.os == targetOs }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Nov 06 08:08:13 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/es/config/exentity/WebConfigTest.java

            FessConfig fessConfig = new FessConfig.SimpleImpl() {
                @Override
                public String getSystemProperty(final String key, final String defaultValue) {
                    return systemPropMap.getOrDefault(key, defaultValue);
                }
    
                @Override
                public boolean isCrawlerIgnoreRobotsTxt() {
                    return false;
                }
    
                @Override
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu May 09 09:48:04 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/internal/impl/SisuDiBridgeModule.java

            }
    
            private <Q> Supplier<Q> getBeanSupplier(Dependency<Q> dep, Key<Q> key) {
                List<Binding<?>> list = new ArrayList<>();
                // Add DI bindings
                list.addAll(getBindings().getOrDefault(key, Set.of()));
                // Add Plexus bindings
                for (var bean : locator.get().locate(toGuiceKey(key))) {
                    if (isPlexusBean(bean)) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/primitives/PackageSanityTests.java

    /**
     * Tests basic sanity for each class in the package.
     *
     * @author Ben Yu
     */
    
    public class PackageSanityTests extends AbstractPackageSanityTests {
      public PackageSanityTests() {
        setDefault(String.class, "string");
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Apr 21 19:03:30 UTC 2017
    - 933 bytes
    - Viewed (0)
  7. samples/tlssurvey/src/main/kotlin/okhttp3/survey/Clients.kt

        ianaSuites = ianaSuites,
      )
    }
    
    fun systemDefault(
      name: String,
      version: String,
      ianaSuites: IanaSuites,
    ): Client {
      val socketFactory = SSLSocketFactory.getDefault() as SSLSocketFactory
      val sslSocket = socketFactory.createSocket() as SSLSocket
    
      return Client(
        userAgent = name,
        version = version,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Apr 02 01:44:15 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/context/CIFSContextCredentialWrapper.java

                if ( renewed != null ) {
                    this.creds = renewed;
                    return true;
                }
            }
            NtlmAuthenticator auth = NtlmAuthenticator.getDefault();
            if ( auth != null ) {
                NtlmPasswordAuthenticator newAuth = NtlmAuthenticator
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Aug 02 08:32:29 UTC 2018
    - 2.7K bytes
    - Viewed (0)
  9. android/guava-testlib/test/com/google/common/testing/RelationshipTesterTest.java

    /**
     * Tests for {@link RelationshipTester}.
     *
     * @author Ben Yu
     */
    public class RelationshipTesterTest extends TestCase {
    
      public void testNulls() {
        new ClassSanityTester()
            .setDefault(ItemReporter.class, new ItemReporter())
            .testNulls(RelationshipTester.class);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Apr 21 02:27:51 UTC 2017
    - 1K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/internal/http/CancelTest.kt

        // required. These socket factories explicitly set the buffer sizes on sockets created.
        server = MockWebServer()
        server.serverSocketFactory =
          object : DelegatingServerSocketFactory(ServerSocketFactory.getDefault()) {
            @Throws(IOException::class)
            override fun configureServerSocket(serverSocket: ServerSocket): ServerSocket {
              serverSocket.receiveBufferSize = SOCKET_BUFFER_SIZE
              return serverSocket
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 9.9K bytes
    - Viewed (0)
Back to top