Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 601 - 610 of 1,050 for buildTar (0.06 seconds)

  1. samples/simple-client/src/main/java/okhttp3/sample/OkHttpContributors.java

    import okhttp3.ResponseBody;
    
    public class OkHttpContributors {
      private static final String ENDPOINT = "https://api.github.com/repos/square/okhttp/contributors";
      private static final Moshi MOSHI = new Moshi.Builder().build();
      private static final JsonAdapter<List<Contributor>> CONTRIBUTORS_JSON_ADAPTER = MOSHI.adapter(
          Types.newParameterizedType(List.class, Contributor.class));
    
      static class Contributor {
        String login;
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Apr 05 03:30:42 GMT 2024
    - 2.2K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/primitives/Chars.java

        int len = array.length;
        if (len == 0) {
          return "";
        }
    
        StringBuilder builder = new StringBuilder(len + separator.length() * (len - 1));
        builder.append(array[0]);
        for (int i = 1; i < len; i++) {
          builder.append(separator).append(array[i]);
        }
        return builder.toString();
      }
    
      /**
       * Returns a comparator that compares two {@code char} arrays <a
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 24.2K bytes
    - Click Count (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/ConscryptTest.kt

        assumeNetwork()
    
        val request = Request.Builder().url("https://mozilla.org/robots.txt").build()
    
        client.newCall(request).execute().use {
          assertThat(it.protocol).isEqualTo(Protocol.HTTP_2)
          assertThat(it.handshake!!.tlsVersion).isEqualTo(TlsVersion.TLS_1_3)
        }
      }
    
      @Test
      @Disabled
      fun testGoogle() {
        assumeNetwork()
    
        val request = Request.Builder().url("https://google.com/robots.txt").build()
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 3.1K bytes
    - Click Count (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/MavenCling.java

        protected Invoker createInvoker() {
            return new MavenInvoker(
                    ProtoLookup.builder().addMapping(ClassWorld.class, classWorld).build(), null);
        }
    
        @Override
        protected Parser createParser() {
            return new MavenParser();
        }
    
        @Override
        protected ParserRequest.Builder createParserRequestBuilder(String[] args) {
            return ParserRequest.mvn(args, createMessageBuilderFactory());
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jun 11 13:14:09 GMT 2025
    - 3K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/graph/GraphConstants.java

              + "that allows parallel edges, call allowsParallelEdges(true) on the Builder.";
      static final String SELF_LOOPS_NOT_ALLOWED =
          "Cannot add self-loop edge on node %s, as self-loops are not allowed. To construct a graph "
              + "that allows self-loops, call allowsSelfLoops(true) on the Builder.";
      static final String NOT_AVAILABLE_ON_UNDIRECTED =
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Jan 18 02:54:30 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  6. internal/config/certsinfo.go

    )
    
    // printName prints the fields of a distinguished name, which include such
    // things as its common name and locality.
    func printName(names []pkix.AttributeTypeAndValue, buf *strings.Builder) []string {
    	values := []string{}
    	for _, name := range names {
    		oid := name.Type
    		//nolint:gocritic
    		if len(oid) == 4 && oid[0] == 2 && oid[1] == 5 && oid[2] == 4 {
    			switch oid[3] {
    			case 3:
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Nov 16 17:28:29 GMT 2021
    - 3.1K bytes
    - Click Count (0)
  7. samples/guide/src/main/java/okhttp3/recipes/CacheResponse.java

        int cacheSize = 10 * 1024 * 1024; // 10 MiB
        Cache cache = new Cache(cacheDirectory, cacheSize);
    
        client = new OkHttpClient.Builder()
            .cache(cache)
            .build();
      }
    
      public void run() throws Exception {
        Request request = new Request.Builder()
            .url("http://publicobject.com/helloworld.txt")
            .build();
    
        String response1Body;
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun May 22 01:29:42 GMT 2016
    - 2.4K bytes
    - Click Count (0)
  8. android-test/src/androidDeviceTest/java/okhttp/android/test/alpn/AlpnOverrideTest.kt

            .newBuilder()
            .sslSocketFactory(CustomSSLSocketFactory(client.sslSocketFactory), client.x509TrustManager!!)
            .connectionSpecs(
              listOf(
                ConnectionSpec
                  .Builder(ConnectionSpec.MODERN_TLS)
                  .supportsTlsExtensions(false)
                  .build(),
              ),
            ).eventListener(
              object : EventListener() {
                override fun connectionAcquired(
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Jan 26 07:38:51 GMT 2026
    - 2.8K bytes
    - Click Count (0)
  9. samples/guide/src/main/java/okhttp3/recipes/PostMultipart.java

        RequestBody requestBody = new MultipartBody.Builder()
            .setType(MultipartBody.FORM)
            .addFormDataPart("title", "Square Logo")
            .addFormDataPart("image", "logo-square.png",
                RequestBody.create(
                    new File("docs/images/logo-square.png"),
                    MEDIA_TYPE_PNG))
            .build();
    
        Request request = new Request.Builder()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Jun 24 12:59:42 GMT 2019
    - 2.2K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/hash/Murmur3Hash32Test.java

                    && codePoints[i] <= Character.MAX_SURROGATE));
          }
          StringBuilder builder = new StringBuilder();
          for (int i = 0; i < codePoints.length; i++) {
            builder.appendCodePoint(codePoints[i]);
          }
          String str = builder.toString();
          HashCode hashUtf8 = murmur3_32().hashBytes(str.getBytes(UTF_8));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 8.4K bytes
    - Click Count (0)
Back to Top