Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 989 for buildKey (0.12 sec)

  1. 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)
  2. okhttp/src/test/java/okhttp3/HeadersKotlinTest.kt

      @Test fun builderGetOperator() {
        val builder = Headers.Builder()
        builder.add("a", "b")
        builder.add("c", "d")
        assertThat(builder["a"]).isEqualTo("b")
        assertThat(builder["c"]).isEqualTo("d")
        assertThat(builder["e"]).isNull()
      }
    
      @Test fun builderSetOperator() {
        val builder = Headers.Builder()
        builder["a"] = "b"
        builder["c"] = "d"
        builder["e"] = Date(0L)
        builder["g"] = Instant.EPOCH
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Dec 21 01:54:49 UTC 2023
    - 2K bytes
    - Viewed (0)
  3. clause/expression.go

    	builder.WriteQuoted(lt.Column)
    	builder.WriteString(" < ")
    	builder.AddVar(builder, lt.Value)
    }
    
    func (lt Lt) NegationBuild(builder Builder) {
    	Gte(lt).Build(builder)
    }
    
    // Lte less than or equal to for where
    type Lte Eq
    
    func (lte Lte) Build(builder Builder) {
    	builder.WriteQuoted(lte.Column)
    	builder.WriteString(" <= ")
    	builder.AddVar(builder, lte.Value)
    }
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Tue Oct 10 06:45:48 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/ImmutableTableTest.java

        ImmutableTable.Builder<Character, Integer, String> builder = ImmutableTable.builder();
        builder.orderRowsBy(Ordering.natural());
        builder.put('x', 2, "foo");
        builder.put('r', 1, "bar");
        builder.put('c', 3, "baz");
        builder.put('b', 7, "cat");
        builder.put('e', 5, "dog");
        builder.put('c', 0, "axe");
        builder.put('e', 3, "tub");
        builder.put('r', 4, "foo");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/CertificateChainCleanerTest.kt

        val root =
          HeldCertificate.Builder()
            .serialNumber(1L)
            .certificateAuthority(1)
            .build()
        val certA =
          HeldCertificate.Builder()
            .serialNumber(2L)
            .certificateAuthority(0)
            .signedBy(root)
            .build()
        val certB =
          HeldCertificate.Builder()
            .serialNumber(3L)
            .signedBy(certA)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/ImmutableMultisetTest.java

        ImmutableMultiset.Builder<String> builder = ImmutableMultiset.builder();
        builder.addCopies("a", 2);
        builder.add("b");
        builder.add("c");
        builder.setCount("b", 0);
        ImmutableMultiset<String> multiset = builder.build();
        assertThat(multiset.elementSet()).containsExactly("a", "c").inOrder();
        builder.add("b");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/RequestCommonTest.kt

      @Test
      fun emptyNameForbidden() {
        val builder = Request.Builder()
        assertFailsWith<IllegalArgumentException> {
          builder.header("", "Value")
        }
        assertFailsWith<IllegalArgumentException> {
          builder.addHeader("", "Value")
        }
      }
    
      @Test
      fun headerAllowsTabOnlyInValues() {
        val builder = Request.Builder()
        builder.header("key", "sample\tvalue")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  8. 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)
  9. android/guava-tests/test/com/google/common/collect/ImmutableMultimapTest.java

        ImmutableMultimap.Builder<String, String> builder =
            ImmutableMultimap.<String, String>builder().expectedValuesPerKey(0);
        builder.put("key", "value");
        assertThat(builder.build().entries()).containsExactly(immutableEntry("key", "value"));
      }
    
      public void testBuilderWithExpectedValuesPerKeyPositive() {
        ImmutableMultimap.Builder<String, String> builder =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/es/log/cbean/ca/bs/BsUserInfoCA.java

            ScriptedMetricAggregationBuilder builder = regScriptedMetricA(name);
            if (opLambda != null) {
                opLambda.callback(builder);
            }
        }
    
        public void topHits(String name, ConditionOptionCall<TopHitsAggregationBuilder> opLambda) {
            TopHitsAggregationBuilder builder = regTopHitsA(name);
            if (opLambda != null) {
                opLambda.callback(builder);
            }
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 12.3K bytes
    - Viewed (0)
Back to top