Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 1,006 for Builder (0.05 sec)

  1. compat/maven-embedder/src/main/java/org/apache/maven/cli/CLIManager.java

                    .build());
            options.addOption(Option.builder(THREADS)
                    .longOpt("threads")
                    .hasArg()
                    .desc("Thread count, for instance 4 (int) or 2C/2.5C (int/float) where C is core multiplied")
                    .build());
            options.addOption(Option.builder(BUILDER)
                    .longOpt("builder")
                    .hasArg()
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/ImmutableListTest.java

        ImmutableList.Builder<String> builder = ImmutableList.builder();
          assertThrows(NullPointerException.class, () -> builder.addAll((Iterable<String>) null));
        }
    
        {
          ImmutableList.Builder<String> builder = ImmutableList.builder();
          assertThrows(NullPointerException.class, () -> builder.addAll((Iterator<String>) null));
        }
    
        {
          ImmutableList.Builder<String> builder = ImmutableList.builder();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/OkHttpClientTest.kt

      }
    
      @Test fun timeoutValidRange() {
        val builder = OkHttpClient.Builder()
        try {
          builder.callTimeout(Duration.ofNanos(1))
        } catch (ignored: IllegalArgumentException) {
        }
        try {
          builder.connectTimeout(Duration.ofNanos(1))
        } catch (ignored: IllegalArgumentException) {
        }
        try {
          builder.writeTimeout(Duration.ofNanos(1))
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Mar 31 17:16:15 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/es/config/cbean/ca/bs/BsThumbnailQueueCA.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
    - 38.6K bytes
    - Viewed (0)
  5. 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)
  6. guava-tests/test/com/google/common/collect/ImmutableRangeMapTest.java

      private static final int MAX_BOUND = 10;
    
      static {
        ImmutableList.Builder<Range<Integer>> builder = ImmutableList.builder();
    
        builder.add(Range.<Integer>all());
    
        // Add one-ended ranges
        for (int i = MIN_BOUND; i <= MAX_BOUND; i++) {
          for (BoundType type : BoundType.values()) {
            builder.add(Range.upTo(i, type));
            builder.add(Range.downTo(i, type));
          }
        }
    
        // Add two-ended ranges
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/CertificatePinnerKotlinTest.kt

        assertFalse(pin.matchesCertificate(certB1.certificate))
      }
    
      @Test fun pinList() {
        val builder =
          CertificatePinner.Builder()
            .add("example.com", CertificatePinnerTest.certA1Sha256Pin)
            .add("www.example.com", CertificatePinnerTest.certA1Sha256Pin)
        val certificatePinner = builder.build()
    
        val expectedPins =
          listOf(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/normalization/DefaultModelNormalizer.java

            }
        }
    
        @Override
        public Model injectDefaultValues(Model model, ModelBuildingRequest request, ModelProblemCollector problems) {
            Model.Builder builder = Model.newBuilder(model);
    
            builder.dependencies(injectList(model.getDependencies(), this::injectDependency));
            Build build = model.getBuild();
            if (build != null) {
                Build newBuild = Build.newBuilder(build)
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/ImmutableMapTest.java

        Builder<String, Integer> builder = new Builder<>();
        assertThrows(
            NullPointerException.class, () -> builder.put(new SimpleEntry<String, Integer>(null, 1)));
        builder.put("foo", 2);
        assertMapEquals(builder.buildOrThrow(), "foo", 2);
      }
    
      public void testBuilderPutNullKey() {
        Builder<String, Integer> builder = new Builder<>();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 41.1K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/AbstractImmutableSetTest.java

        {
        ImmutableSet.Builder<String> builder = this.<String>builder();
          assertThrows(NullPointerException.class, () -> builder.add((String) null));
        }
    
        {
          ImmutableSet.Builder<String> builder = this.<String>builder();
          assertThrows(NullPointerException.class, () -> builder.add((String[]) null));
        }
    
        {
          ImmutableSet.Builder<String> builder = this.<String>builder();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18.5K bytes
    - Viewed (0)
Back to top