Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 381 for builder (0.06 sec)

  1. guava-tests/test/com/google/common/cache/CacheBuilderTest.java

      }
    
      @GwtIncompatible // maximumWeight
      public void testMaximumWeight_setTwice() {
        CacheBuilder<Object, Object> builder = CacheBuilder.newBuilder().maximumWeight(16);
        assertThrows(IllegalStateException.class, () -> builder.maximumWeight(16));
        assertThrows(IllegalStateException.class, () -> builder.maximumSize(16));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

          ImmutableDoubleArray.Builder builder = ImmutableDoubleArray.builder(RANDOM.nextInt(20));
          AtomicInteger counter = new AtomicInteger(0);
          while (counter.get() < 1000) {
            BuilderOp op = BuilderOp.randomOp();
            op.doIt(builder, counter);
          }
          ImmutableDoubleArray iia = builder.build();
          for (int j = 0; j < iia.length(); j++) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/primitives/ImmutableIntArrayTest.java

        for (int i = 0; i < reduceIterationsIfGwt(100); i++) {
          ImmutableIntArray.Builder builder = ImmutableIntArray.builder(RANDOM.nextInt(20));
          AtomicInteger counter = new AtomicInteger(0);
          while (counter.get() < 1000) {
            BuilderOp op = BuilderOp.randomOp();
            op.doIt(builder, counter);
          }
          ImmutableIntArray iia = builder.build();
          for (int j = 0; j < iia.length(); j++) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

          ImmutableDoubleArray.Builder builder = ImmutableDoubleArray.builder(RANDOM.nextInt(20));
          AtomicInteger counter = new AtomicInteger(0);
          while (counter.get() < 1000) {
            BuilderOp op = BuilderOp.randomOp();
            op.doIt(builder, counter);
          }
          ImmutableDoubleArray iia = builder.build();
          for (int j = 0; j < iia.length(); j++) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  5. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/ParserRequest.java

         * @return a new Builder instance
         */
        @Nonnull
        static Builder mvnenc(
                @Nonnull List<String> args, @Nonnull Logger logger, @Nonnull MessageBuilderFactory messageBuilderFactory) {
            return builder(MVNENC_CMD, MVNENC_NAME, args, logger, messageBuilderFactory);
        }
    
        /**
         * Creates a new Builder instance for constructing a ParserRequest.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 04 12:23:10 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/DefaultProfileInjector.java

                if (profile != null) {
                    Model.Builder builder = Model.newBuilder(model);
                    merger.mergeModelBase(builder, model, profile);
    
                    if (profile.getBuild() != null) {
                        Build build = model.getBuild() != null ? model.getBuild() : Build.newInstance();
                        Build.Builder bbuilder = Build.newBuilder(build);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/es/config/cbean/ca/bs/BsBadWordCA.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
    - 46.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/es/config/cbean/ca/bs/BsCrawlingInfoCA.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
    - 31.5K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ImmutableSetMultimap.java

        ImmutableSetMultimap.Builder<K, V> builder = ImmutableSetMultimap.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 {@link Builder}. */
      public static <K, V> Builder<K, V> builder() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 25.9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/es/config/cbean/ca/bs/BsCrawlingInfoParamCA.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
    - 28.8K bytes
    - Viewed (0)
Back to top