Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 251 - 260 of 1,260 for boiler (0.06 seconds)

  1. okhttp-tls/src/test/java/okhttp3/tls/HandshakeCertificatesTest.kt

            .Builder()
            .certificateAuthority(1)
            .build()
        val serverIntermediate =
          HeldCertificate
            .Builder()
            .certificateAuthority(0)
            .signedBy(serverRoot)
            .build()
        val serverCertificate =
          HeldCertificate
            .Builder()
            .signedBy(serverIntermediate)
            .build()
        val server =
          HandshakeCertificates
            .Builder()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 08:16:15 GMT 2026
    - 7.5K bytes
    - Click Count (0)
  2. docs/recipes.md

    Use `FormBody.Builder` to build a request body that works like an HTML `<form>` tag. Names and values will be encoded using an HTML-compatible form URL encoding.
    
    === ":material-language-kotlin: Kotlin"
        ```kotlin
          private val client = OkHttpClient()
    
          fun run() {
            val formBody = FormBody.Builder()
                .add("search", "Jurassic Park")
                .build()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 15 09:01:42 GMT 2026
    - 47.8K bytes
    - Click Count (0)
  3. okhttp/src/jvmTest/kotlin/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(
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/ImmutableList.java

        return new SerializedForm(toArray());
      }
    
      /**
       * Returns a new builder. The generated builder is equivalent to the builder created by the {@link
       * Builder} constructor.
       */
      public static <E> Builder<E> builder() {
        return new Builder<>();
      }
    
      /**
       * Returns a new builder, expecting the specified number of elements to be added.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 27.5K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/reflect/ImmutableTypeToInstanceMap.java

      }
    
      /** Returns a new builder. */
      public static <B> Builder<B> builder() {
        return new Builder<>();
      }
    
      /**
       * A builder for creating immutable type-to-instance maps. Example:
       *
       * {@snippet :
       * static final ImmutableTypeToInstanceMap<Handler<?>> HANDLERS =
       *     ImmutableTypeToInstanceMap.<Handler<?>>builder()
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/primitives/ImmutableLongArray.java

       *
       * <p><b>Performance note:</b> The {@link ImmutableLongArray} that is built will very likely
       * occupy 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 ImmutableLongArray} instances; obtained using {@link
       * ImmutableLongArray#builder}.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 12 14:49:24 GMT 2025
    - 22K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/collect/AbstractImmutableSortedMapMapInterfaceTest.java

      }
    
      private static final Joiner JOINER = Joiner.on(", ");
    
      @Override
      protected void assertMoreInvariants(Map<K, V> map) {
        // TODO: can these be moved to MapInterfaceTest?
        for (Entry<K, V> entry : map.entrySet()) {
          assertThat(entry.toString()).isEqualTo(entry.getKey() + "=" + entry.getValue());
        }
    
        assertThat(map.toString()).isEqualTo("{" + JOINER.join(map.entrySet()) + "}");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 2.1K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/collect/AbstractImmutableBiMapMapInterfaceTest.java

        }
    
        assertThat(map.toString()).isEqualTo("{" + JOINER.join(map.entrySet()) + "}");
        assertThat(map.entrySet().toString()).isEqualTo("[" + JOINER.join(map.entrySet()) + "]");
        assertThat(map.keySet().toString()).isEqualTo("[" + JOINER.join(map.keySet()) + "]");
        assertThat(map.values().toString()).isEqualTo("[" + JOINER.join(map.values()) + "]");
    
        assertEquals(new HashSet<>(map.entrySet()), map.entrySet());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 2.1K bytes
    - Click Count (0)
  9. 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;");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Sep 11 17:06:34 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  10. 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)
Back to Top