Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 1,006 for Builder (0.38 sec)

  1. android/guava-tests/test/com/google/common/reflect/ImmutableTypeToInstanceMapTest.java

                        ImmutableTypeToInstanceMap.Builder<Object> builder =
                            ImmutableTypeToInstanceMap.builder();
                        for (Object object : elements) {
                          Entry<?, ?> entry = (Entry<?, ?>) object;
                          builder.put((TypeToken) entry.getKey(), entry.getValue());
                        }
                        return (Map) builder.build();
                      }
                    })
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  2. 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)
  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/src/com/google/common/collect/ImmutableListMultimap.java

        ImmutableListMultimap.Builder<K, V> builder = ImmutableListMultimap.builder();
        builder.put(k1, v1);
        builder.put(k2, v2);
        builder.put(k3, v3);
        builder.put(k4, v4);
        builder.put(k5, v5);
        return builder.build();
      }
    
      // looking for of() with > 5 entries? Use the builder instead.
    
      /**
       * Returns a new builder. The generated builder is equivalent to the builder created by the {@link
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  5. 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)
  6. okhttp/src/test/java/okhttp3/RequestTest.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
    - 16.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/es/config/cbean/cq/bs/BsJobLogCQ.java

            if (opLambda != null) {
                opLambda.callback(builder);
            }
        }
    
        public void setEndTime_GreaterThan(Long endTime) {
            setEndTime_GreaterThan(endTime, null);
        }
    
        public void setEndTime_GreaterThan(Long endTime, ConditionOptionCall<RangeQueryBuilder> opLambda) {
            final Object _value = endTime;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 71.3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/es/config/cbean/ca/bs/BsDataConfigCA.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
    - 88.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/es/config/cbean/cq/bs/BsBadWordCQ.java

            if (opLambda != null) {
                opLambda.callback(builder);
            }
        }
    
        public void setCreatedBy_Wildcard(String createdBy) {
            setCreatedBy_Wildcard(createdBy, null);
        }
    
        public void setCreatedBy_Wildcard(String createdBy, ConditionOptionCall<WildcardQueryBuilder> opLambda) {
            WildcardQueryBuilder builder = regWildcardQ("createdBy", createdBy);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 58.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/es/config/cbean/ca/bs/BsAccessTokenCA.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
    - 59.9K bytes
    - Viewed (0)
Back to top