Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 1,781 for buildup (0.06 sec)

  1. okhttp-dnsoverhttps/build.gradle.kts

    Jesse Wilson <******@****.***> 1704519060 -0500
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 06 05:31:00 UTC 2024
    - 932 bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/CertificatePinnerTest.kt

    class CertificatePinnerTest {
      @Test
      fun malformedPin() {
        val builder = CertificatePinner.Builder()
        assertFailsWith<IllegalArgumentException> {
          builder.add("example.com", "md5/DmxUShsZuNiqPQsX2Oi9uv2sCnw=")
        }
      }
    
      @Test
      fun malformedBase64() {
        val builder = CertificatePinner.Builder()
        assertFailsWith<IllegalArgumentException> {
          builder.add("example.com", "sha1/DmxUShsZuNiqPQsX2Oi9uv2sCnw*")
        }
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/InterceptorTest.kt

      }
    
      private fun addInterceptor(
        network: Boolean,
        interceptor: Interceptor,
      ) {
        val builder = client.newBuilder()
        if (network) {
          builder.addNetworkInterceptor(interceptor)
        } else {
          builder.addInterceptor(interceptor)
        }
        client = builder.build()
      }
    
      /** Catches exceptions that are otherwise headed for the uncaught exception handler.  */
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Jan 14 10:20:09 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/ImmutableRangeSetTest.java

        }
    
        @Override
        public Set<Integer> create(Object... elements) {
          ImmutableRangeSet.Builder<Integer> builder = ImmutableRangeSet.builder();
          for (Object o : elements) {
            Integer i = (Integer) o;
            builder.add(Range.singleton(i));
          }
          return builder.build().asSet(DiscreteDomain.integers());
        }
      }
    
      static final class ImmutableRangeSetBigIntegerAsSetGenerator
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/HeadersChallengesTest.kt

            .add("WWW-Authenticate", " ,  , Basic realm=myrealm")
            .build()
        assertThat(headers.parseChallenges("WWW-Authenticate"))
          .isEqualTo(listOf(Challenge("Basic", mapOf("realm" to "myrealm"))))
      }
    
      @Test fun spacesAroundKeyValueSeparator() {
        val headers =
          Headers.Builder()
            .add("WWW-Authenticate", "Basic realm = \"myrealm\"")
            .build()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  6. clause/where.go

    }
    
    type AndConditions struct {
    	Exprs []Expression
    }
    
    func (and AndConditions) Build(builder Builder) {
    	if len(and.Exprs) > 1 {
    		builder.WriteByte('(')
    		buildExprs(and.Exprs, builder, AndWithSpace)
    		builder.WriteByte(')')
    	} else {
    		buildExprs(and.Exprs, builder, AndWithSpace)
    	}
    }
    
    func Or(exprs ...Expression) Expression {
    	if len(exprs) == 0 {
    		return nil
    	}
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Apr 25 12:22:53 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  7. android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt

            HandshakeCertificates.Builder()
              .addPlatformTrustedCertificates()
              .addInsecureHost(server.hostName)
              .build()
    
          val request = Request.Builder().url("https://facebook.com/robots.txt").build()
    
          var socketClass: String? = null
    
          // Need fresh client to reset sslSocketFactoryOrNull
          client =
            OkHttpClient.Builder()
              .eventListenerFactory(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 27K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/DuplexTest.kt

            .streamHandler(body)
            .build(),
        )
        server.enqueue(
          MockResponse.Builder()
            .body("this is /b")
            .build(),
        )
        val call =
          client.newCall(
            Request.Builder()
              .url(server.url("/"))
              .post(AsyncRequestBody())
              .build(),
          )
        call.execute().use { response ->
          val responseBody = response.body.source()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/internal/tls/CertificatePinnerChainValidationTest.kt

          HeldCertificate.Builder()
            .serialNumber(1L)
            .certificateAuthority(1)
            .commonName("root")
            .build()
        val intermediateCa =
          HeldCertificate.Builder()
            .signedBy(rootCa)
            .certificateAuthority(0)
            .serialNumber(2L)
            .commonName("intermediate_ca")
            .build()
        val certificate =
          HeldCertificate.Builder()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/internal/tls/ClientAuthTest.kt

        vararg intermediates: X509Certificate,
      ): OkHttpClient {
        val builder =
          HandshakeCertificates.Builder()
            .addTrustedCertificate(serverRootCa.certificate)
        if (heldCertificate != null) {
          builder.heldCertificate(heldCertificate, *intermediates)
        }
        val handshakeCertificates = builder.build()
        return clientTestRule.newClientBuilder()
          .sslSocketFactory(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Jan 14 10:20:09 UTC 2024
    - 12.5K bytes
    - Viewed (0)
Back to top