Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 1,781 for buildup (0.06 sec)

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

            .build()
        }.also { expected ->
          assertThat(expected.message)
            .isEqualTo("At least one cipher suite is required")
        }
      }
    
      @Test
      fun cleartextBuilder() {
        val cleartextSpec = ConnectionSpec.Builder(false).build()
        assertThat(cleartextSpec.isTls).isFalse()
      }
    
      @Test
      fun tlsBuilder_explicitCiphers() {
        val tlsSpec =
          ConnectionSpec.Builder(true)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java

          builder.add(BEFORE_FIRST);
          builder.add(BEFORE_FIRST_2);
          builder.add(elements);
          builder.add(AFTER_LAST);
          builder.add(AFTER_LAST_2);
          return builder
              .build()
              .subSet(BEFORE_FIRST_2, AFTER_LAST_2)
              .asList()
              .subList(1, elements.length + 1);
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  3. 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(
            Pin("example.com", CertificatePinnerTest.certA1Sha256Pin),
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  4. okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DohProviders.kt

          .client(bootstrapClient)
          .url("https://dns.dnsoverhttps.net/dns-query".toHttpUrl())
          .includeIPv6(false)
          .build()
      }
    
      private fun buildCryptoSx(bootstrapClient: OkHttpClient): DnsOverHttps {
        return DnsOverHttps.Builder()
          .client(bootstrapClient)
          .url("https://doh.crypto.sx/dns-query".toHttpUrl())
          .includeIPv6(false)
          .build()
      }
    
      @JvmStatic
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Dec 23 10:26:25 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/ImmutableMultisetTest.java

        ImmutableMultiset.Builder<String> builder = ImmutableMultiset.builder();
        builder.addCopies("a", 2);
        builder.add("b");
        builder.add("c");
        builder.setCount("b", 0);
        ImmutableMultiset<String> multiset = builder.build();
        assertThat(multiset.elementSet()).containsExactly("a", "c").inOrder();
        builder.add("b");
        assertThat(builder.build().elementSet()).containsExactly("a", "c", "b").inOrder();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/HeadersJvmTest.kt

      @Test fun byteCount() {
        assertThat(EMPTY_HEADERS.byteCount()).isEqualTo(0L)
        assertThat(
          Headers.Builder()
            .add("abc", "def")
            .build()
            .byteCount(),
        ).isEqualTo(10L)
        assertThat(
          Headers.Builder()
            .add("abc", "def")
            .add("ghi", "jkl")
            .build()
            .byteCount(),
        ).isEqualTo(20L)
      }
    
      @Test fun addDate() {
        val expected = Date(0L)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  7. clause/order_by.go

    	return "ORDER BY"
    }
    
    // Build build where clause
    func (orderBy OrderBy) Build(builder Builder) {
    	if orderBy.Expression != nil {
    		orderBy.Expression.Build(builder)
    	} else {
    		for idx, column := range orderBy.Columns {
    			if idx > 0 {
    				builder.WriteByte(',')
    			}
    
    			builder.WriteQuoted(column.Column)
    			if column.Desc {
    				builder.WriteString(" DESC")
    			}
    		}
    	}
    }
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Tue Nov 03 02:30:05 UTC 2020
    - 1.1K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java

        ImmutableListMultimap.Builder<String, Integer> builder = ImmutableListMultimap.builder();
        builder.put("b", 3);
        builder.put("d", 2);
        builder.put("a", 5);
        builder.orderValuesBy(Collections.reverseOrder());
        builder.put("c", 4);
        builder.put("a", 2);
        builder.put("b", 6);
        ImmutableListMultimap<String, Integer> multimap = builder.build();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomBuilder.java

            return profiles.stream()
                    .map(p -> {
                        Profile.Builder builder = Profile.newBuilder(p, true);
                        prune((ModelBase.Builder) builder, p);
                        return builder.build(null).build();
                    })
                    .filter(p -> !isEmpty(p))
                    .collect(Collectors.toList());
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 11K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ImmutableSetMultimap.java

        ImmutableSetMultimap.Builder<K, V> builder = ImmutableSetMultimap.builder();
        builder.put(k1, v1);
        builder.put(k2, v2);
        builder.put(k3, v3);
        builder.put(k4, v4);
        builder.put(k5, v5);
        return builder.build();
      }
    
      // looking for of() with > 5 entries? Use the builder instead.
    
      /** Returns a new {@link Builder}. */
      public static <K, V> Builder<K, V> builder() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 25.9K bytes
    - Viewed (0)
Back to top