Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 135 for get$default (0.1 sec)

  1. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

          object : DelegatingServerSocketFactory(getDefault()) {
            override fun configureServerSocket(serverSocket: ServerSocket): ServerSocket {
              serverSocket.receiveBufferSize = socketBufferSize
              return serverSocket
            }
          }
        client =
          client.newBuilder()
            .socketFactory(
              object : DelegatingSocketFactory(getDefault()) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 131.7K bytes
    - Viewed (0)
  2. okhttp-testing-support/src/main/kotlin/okhttp3/TestValueFactory.kt

        proxySelector: ProxySelector = this.proxySelector,
      ): Address {
        return Address(
          uriHost = uriHost,
          uriPort = uriPort,
          dns = dns,
          socketFactory = SocketFactory.getDefault(),
          sslSocketFactory = null,
          hostnameVerifier = null,
          certificatePinner = null,
          proxyAuthenticator = proxyAuthenticator,
          proxy = proxy,
          protocols = protocols,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

        setDefault(byte.class, (byte) 1);
        setDefault(Byte.class, (byte) 1);
        setDefault(short.class, (short) 1);
        setDefault(Short.class, (short) 1);
        setDefault(int.class, 1);
        setDefault(Integer.class, 1);
        setDefault(long.class, 1L);
        setDefault(Long.class, 1L);
        setDefault(float.class, 1F);
        setDefault(Float.class, 1F);
        setDefault(double.class, 1D);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:18:12 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/OperatingSystemProfileActivator.java

                    .getOrDefault("os.name", Os.OS_NAME)
                    .toLowerCase(Locale.ENGLISH);
            String actualOsArch = context.getSystemProperties()
                    .getOrDefault("os.arch", Os.OS_ARCH)
                    .toLowerCase(Locale.ENGLISH);
            String actualOsVersion = context.getSystemProperties()
                    .getOrDefault("os.version", Os.OS_VERSION)
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/message/MessageFormatterTest.java

    /**
     * @author higa
     */
    public class MessageFormatterTest {
    
        @Before
        public void setUp() throws Exception {
            LocaleUtil.setDefault(() -> Locale.JAPANESE);
        }
    
        @After
        public void tearDown() throws Exception {
            LocaleUtil.setDefault(null);
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testGetMessage() throws Exception {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  6. okhttp-tls/src/test/java/okhttp3/tls/HandshakeCertificatesTest.kt

          strings.any { it.matches(Regex("[A-Z]+=Entrust.*")) }
        }
      }
    
      private fun startTlsServer(): InetSocketAddress {
        val serverSocketFactory = ServerSocketFactory.getDefault()
        serverSocket = serverSocketFactory.createServerSocket()
        val serverAddress = InetAddress.getByName("localhost")
        serverSocket!!.bind(InetSocketAddress(serverAddress, 0), 50)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  7. okhttp-testing-support/src/main/kotlin/okhttp3/SpecificHostSocketFactory.kt

    /**
     * A [SocketFactory] that redirects connections to [defaultAddress] or specific overridden address via [set].
     */
    class SpecificHostSocketFactory(
      val defaultAddress: InetSocketAddress?,
    ) : DelegatingSocketFactory(getDefault()) {
      private val hostMapping = mutableMapOf<InetAddress, InetSocketAddress>()
    
      /** Sets the [real] address for [requested].  */
      operator fun set(
        requested: InetAddress,
        real: InetSocketAddress,
      ) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  8. mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/KotlinSourceModernTest.kt

        mockWebServer.serverSocketFactory = ServerSocketFactory.getDefault()
        val url: HttpUrl = mockWebServer.url("")
        mockWebServer.bodyLimit = 0L
        mockWebServer.protocolNegotiationEnabled = false
        mockWebServer.protocols = listOf()
        val protocols: List<Protocol> = mockWebServer.protocols
        mockWebServer.useHttps(SSLSocketFactory.getDefault() as SSLSocketFactory, false)
        mockWebServer.noClientAuth()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/text/DecimalFormatSymbolsUtil.java

         * {@link DecimalFormatSymbols}を返します。
         *
         * @return {@link DecimalFormatSymbols}
         */
        public static DecimalFormatSymbols getDecimalFormatSymbols() {
            return getDecimalFormatSymbols(LocaleUtil.getDefault());
        }
    
        /**
         * {@link DecimalFormatSymbols}を返します。
         *
         * @param locale
         *            ロケール。{@literal null}であってはいけません
         * @return {@link DecimalFormatSymbols}
         */
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/ReactorReader.java

        }
    
        private MavenProject getProject(Artifact artifact) {
            return getAllProjects()
                    .getOrDefault(artifact.getGroupId(), Collections.emptyMap())
                    .getOrDefault(artifact.getArtifactId(), Collections.emptyMap())
                    .getOrDefault(artifact.getBaseVersion(), null);
        }
    
        // groupId -> (artifactId -> (version -> project)))
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 22.3K bytes
    - Viewed (0)
Back to top