Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 921 for builder_ (0.11 sec)

  1. okhttp/src/test/java/okhttp3/DuplexTest.kt

            .sendResponse("response F\n")
            .exhaustRequest()
            .exhaustResponse()
        server.enqueue(
          MockResponse.Builder()
            .clearHeaders()
            .streamHandler(body)
            .build(),
        )
        val call =
          client.newCall(
            Request.Builder()
              .url(server.url("/"))
              .post(AsyncRequestBody())
              .build(),
          )
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

      fun contentDisagreesWithChunkedHeaderBodyTooLong() {
        val builder =
          MockResponse.Builder()
            .chunkedBody("abc", 3)
        val buffer = Buffer()
        builder.body!!.writeTo(buffer)
        buffer.writeUtf8("\r\nYOU SHOULD NOT SEE THIS")
        builder.body(buffer)
        builder.clearHeaders()
        builder.addHeader("Transfer-encoding: chunked")
        server.enqueue(builder.build())
        assertContent("abc", getResponse(newRequest("/")))
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 131.7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ImmutableBiMap.java

        return RegularImmutableBiMap.fromEntries(entries2);
      }
    
      /**
       * Returns a new builder. The generated builder is equivalent to the builder created by the {@link
       * Builder} constructor.
       */
      public static <K, V> Builder<K, V> builder() {
        return new Builder<>();
      }
    
      /**
       * Returns a new builder, expecting the specified number of entries to be added.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  4. ci/official/containers/ml_build/Dockerfile

    COPY setup.packages.sh /setup.packages.sh
    COPY builder.packages.txt /builder.packages.txt
    
    RUN /setup.sources.sh && /setup.packages.sh /builder.packages.txt
    
    # Install devtoolset-9 in /dt9 with glibc 2.17 and libstdc++ 4.8, for building
    # manylinux2014-compatible packages.
    COPY builder.devtoolset/fixlinks.sh /fixlinks.sh
    COPY builder.devtoolset/rpm-patch.sh /rpm-patch.sh
    COPY builder.devtoolset/build_devtoolset.sh /build_devtoolset.sh
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Oct 30 00:07:17 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableClassToInstanceMap.java

        return new ImmutableClassToInstanceMap<>(map);
      }
    
      /**
       * Returns a new builder. The generated builder is equivalent to the builder created by the {@link
       * Builder} constructor.
       */
      public static <B> Builder<B> builder() {
        return new Builder<>();
      }
    
      /**
       * A builder for creating immutable class-to-instance maps. Example:
       *
       * <pre>{@code
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 10 21:56:03 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/xml/XmlEscapers.java

          if (c != '\t' && c != '\n' && c != '\r') {
            builder.addEscape(c, "\uFFFD");
          }
        }
    
        // Build the content escaper first and then add quote escaping for the
        // general escaper.
        builder.addEscape('&', "&amp;");
        builder.addEscape('<', "&lt;");
        builder.addEscape('>', "&gt;");
        XML_CONTENT_ESCAPER = builder.build();
        builder.addEscape('\'', "&apos;");
        builder.addEscape('"', "&quot;");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jan 18 20:55:09 UTC 2022
    - 6.5K bytes
    - Viewed (0)
  7. okhttp-tls/src/test/java/okhttp3/tls/HandshakeCertificatesTest.kt

            .certificateAuthority(1)
            .build()
        val serverIntermediate =
          HeldCertificate.Builder()
            .certificateAuthority(0)
            .signedBy(serverRoot)
            .build()
        val serverCertificate =
          HeldCertificate.Builder()
            .signedBy(serverIntermediate)
            .build()
        val server =
          HandshakeCertificates.Builder()
            .addTrustedCertificate(clientRoot.certificate)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/primitives/ImmutableIntArray.java

       * more memory than necessary; to trim memory usage, build using {@code
       * builder.build().trimmed()}.
       */
      public static Builder builder() {
        return new Builder(10);
      }
    
      /**
       * A builder for {@link ImmutableIntArray} instances; obtained using {@link
       * ImmutableIntArray#builder}.
       */
      public static final class Builder {
        private int[] array;
        private int count = 0; // <= array.length
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ImmutableClassToInstanceMap.java

        return new ImmutableClassToInstanceMap<>(map);
      }
    
      /**
       * Returns a new builder. The generated builder is equivalent to the builder created by the {@link
       * Builder} constructor.
       */
      public static <B> Builder<B> builder() {
        return new Builder<>();
      }
    
      /**
       * A builder for creating immutable class-to-instance maps. Example:
       *
       * <pre>{@code
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 10 21:56:03 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/graph/ImmutableValueGraph.java

          ValueGraph<N, V> graph) {
        // ImmutableMap.Builder maintains the order of the elements as inserted, so the map will have
        // whatever ordering the graph's nodes do, so ImmutableSortedMap is unnecessary even if the
        // input nodes are sorted.
        ImmutableMap.Builder<N, GraphConnections<N, V>> nodeConnections = ImmutableMap.builder();
        for (N node : graph.nodes()) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 01 16:30:37 UTC 2022
    - 7.7K bytes
    - Viewed (0)
Back to top