Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 841 - 850 of 1,372 for builder (0.04 seconds)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CommonsCliOptions.java

                        .hasArg()
                        .get());
                options.addOption(Option.builder(LOG_FILE)
                        .longOpt("log-file")
                        .hasArg()
                        .desc("Log file where all build output will go (disables output color)")
                        .get());
                options.addOption(Option.builder()
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Oct 08 07:36:42 GMT 2025
    - 21.3K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/collect/ImmutableCollectionTest.java

        assertEquals(1, ImmutableCollection.Builder.expandedCapacity(0, 1));
        assertEquals(2, ImmutableCollection.Builder.expandedCapacity(0, 2));
        assertEquals(2, ImmutableCollection.Builder.expandedCapacity(1, 2));
        assertEquals(
            Integer.MAX_VALUE, ImmutableCollection.Builder.expandedCapacity(0, Integer.MAX_VALUE));
        assertEquals(
            Integer.MAX_VALUE, ImmutableCollection.Builder.expandedCapacity(1, Integer.MAX_VALUE));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 1.5K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/collect/ImmutableCollectionTest.java

        assertEquals(1, ImmutableCollection.Builder.expandedCapacity(0, 1));
        assertEquals(2, ImmutableCollection.Builder.expandedCapacity(0, 2));
        assertEquals(2, ImmutableCollection.Builder.expandedCapacity(1, 2));
        assertEquals(
            Integer.MAX_VALUE, ImmutableCollection.Builder.expandedCapacity(0, Integer.MAX_VALUE));
        assertEquals(
            Integer.MAX_VALUE, ImmutableCollection.Builder.expandedCapacity(1, Integer.MAX_VALUE));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 1.5K bytes
    - Click Count (0)
  4. benchmarks/src/main/java/org/elasticsearch/benchmark/routing/allocation/AllocationBenchmark.java

                Settings.builder().put("cluster.routing.allocation.awareness.attributes", "tag").build()
            );
    
            Metadata.Builder mb = Metadata.builder();
            for (int i = 1; i <= numIndices; i++) {
                mb.put(
                    IndexMetadata.builder("test_" + i)
                        .settings(Settings.builder().put("index.version.created", Version.CURRENT))
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Apr 13 08:33:41 GMT 2021
    - 6.7K bytes
    - Click Count (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/SocksProxyTest.kt

      }
    
      @Test
      fun proxy() {
        server.enqueue(MockResponse.Builder().body("abc").build())
        server.enqueue(MockResponse.Builder().body("def").build())
        val client =
          clientTestRule
            .newClientBuilder()
            .proxy(socksProxy.proxy())
            .build()
        val request1 = Request.Builder().url(server.url("/")).build()
        val response1 = client.newCall(request1).execute()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Jun 18 12:28:21 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  6. samples/guide/src/main/java/okhttp3/recipes/HttpsServer.java

            .addTrustedCertificate(localhostCertificate.certificate())
            .build();
        OkHttpClient client = new OkHttpClient.Builder()
            .sslSocketFactory(clientCertificates.sslSocketFactory(), clientCertificates.trustManager())
            .build();
    
        Call call = client.newCall(new Request.Builder()
            .url(server.url("/"))
            .build());
        Response response = call.execute();
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Jan 02 14:04:37 GMT 2023
    - 2.1K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/math/MathTesting.java

      static final Iterable<Double> ALL_DOUBLE_CANDIDATES;
      static final Iterable<Double> DOUBLE_CANDIDATES_EXCEPT_NAN;
    
      static {
        ImmutableSet.Builder<Double> integralBuilder = ImmutableSet.builder();
        ImmutableSet.Builder<Double> fractionalBuilder = ImmutableSet.builder();
        integralBuilder.addAll(Doubles.asList(0.0, -0.0, Double.MAX_VALUE, -Double.MAX_VALUE));
        // Add small multiples of MIN_VALUE and MIN_NORMAL
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:11:48 GMT 2026
    - 9.9K bytes
    - Click Count (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-HeadersCommon.kt

     * found, the existing values are replaced.
     */
    internal fun Headers.Builder.commonSet(
      name: String,
      value: String,
    ) = apply {
      headersCheckName(name)
      headersCheckValue(value, name)
      removeAll(name)
      commonAddLenient(name, value)
    }
    
    /** Equivalent to `build().get(name)`, but potentially faster. */
    internal fun Headers.Builder.commonGet(name: String): String? {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 15 09:02:18 GMT 2026
    - 6K bytes
    - Click Count (0)
  9. build-tools-internal/src/test/java/org/elasticsearch/gradle/AbstractDistributionDownloadPluginTests.java

            rootProject = ProjectBuilder.builder().build();
            Project distributionProject = ProjectBuilder.builder().withParent(rootProject).withName("distribution").build();
            archivesProject = ProjectBuilder.builder().withParent(distributionProject).withName("archives").build();
            packagesProject = ProjectBuilder.builder().withParent(distributionProject).withName("packages").build();
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 22 07:24:59 GMT 2021
    - 4.7K bytes
    - Click Count (0)
  10. docs/features/https.md

          private val client = OkHttpClient.Builder()
              .certificatePinner(
                  CertificatePinner.Builder()
                      .add("publicobject.com", "sha256/afwiKY3RxoMmLkuRW1l7QsPZTJPwDS2pdDROQjXw8ig=")
                      .build())
              .build()
    
          fun run() {
            val request = Request.Builder()
                .url("https://publicobject.com/robots.txt")
                .build()
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 15 09:01:42 GMT 2026
    - 10.5K bytes
    - Click Count (0)
Back to Top