Search Options

Results per page
Sort
Preferred Languages
Advance

Results 351 - 360 of 1,105 for builder (0.06 sec)

  1. guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

        ImmutableSortedSet.Builder<LegacyComparable> builder =
            ImmutableSortedSet.<LegacyComparable>naturalOrder();
    
        builder.addAll(LegacyComparable.VALUES_BACKWARD);
        builder.add(LegacyComparable.X);
        builder.add(LegacyComparable.Y, LegacyComparable.Z);
    
        ImmutableSortedSet<LegacyComparable> set = builder.build();
        assertTrue(elementsEqual(LegacyComparable.VALUES_FORWARD, set));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 46.7K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/InsecureForHostTest.kt

      @Test fun `bad certificates host in insecureHosts fails with SSLException`() {
        val heldCertificate =
          HeldCertificate.Builder()
            .addSubjectAlternativeName("example.com")
            .build()
        val serverCertificates =
          HandshakeCertificates.Builder()
            .heldCertificate(heldCertificate)
            .build()
        server.useHttps(serverCertificates.sslSocketFactory())
        server.enqueue(MockResponse())
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/CookieTest.kt

            .secure()
            .build()
        assertThat(cookie.secure).isTrue()
      }
    
      @Test fun builderHttpOnly() {
        val cookie =
          Cookie.Builder()
            .name("a")
            .value("b")
            .hostOnlyDomain("example.com")
            .httpOnly()
            .build()
        assertThat(cookie.httpOnly).isTrue()
      }
    
      @Test fun builderIpv6() {
        val cookie =
          Cookie.Builder()
            .name("a")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/RegularImmutableMultiset.java

            i++;
          }
        }
    
        Object readResolve() {
          ImmutableMultiset.Builder<Object> builder =
              new ImmutableMultiset.Builder<Object>(elements.length);
          for (int i = 0; i < elements.length; i++) {
            builder.addCopies(elements[i], counts[i]);
          }
          return builder.build();
        }
    
        private static final long serialVersionUID = 0;
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  5. docs/bucket/versioning/README.md

          //         .build();
    
          // Create bucket 'my-bucketname' if it doesn`t exist.
          if (!minioClient.bucketExists(BucketExistsArgs.builder().bucket("my-bucketname").build())) {
            minioClient.makeBucket(MakeBucketArgs.builder().bucket("my-bucketname").build());
            System.out.println("my-bucketname is created successfully");
          }
    
          boolean isVersioningEnabled =
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 04 21:43:52 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  6. okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsOverHttps.kt

            val onlyIfCached =
              CacheControl.Builder()
                .onlyIfCached()
                .build()
    
            var cacheUrl = request.url
    
            val cacheRequest =
              request.newBuilder()
                .cacheControl(onlyIfCached)
                .cacheUrlOverride(cacheUrl)
                .build()
    
            val cacheResponse = client.newCall(cacheRequest).execute()
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Oct 31 09:27:31 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/es/user/cbean/bs/BsUserCB.java

        //                                                                               =====
    
        @Override
        public SearchRequestBuilder build(SearchRequestBuilder builder) {
            if (_conditionQuery != null) {
                QueryBuilder queryBuilder = _conditionQuery.getQuery();
                if (queryBuilder != null) {
                    builder.setQuery(queryBuilder);
                }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/es/config/cbean/bs/BsWebConfigCB.java

        //                                                                               =====
    
        @Override
        public SearchRequestBuilder build(SearchRequestBuilder builder) {
            if (_conditionQuery != null) {
                QueryBuilder queryBuilder = _conditionQuery.getQuery();
                if (queryBuilder != null) {
                    builder.setQuery(queryBuilder);
                }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  9. samples/guide/src/main/java/okhttp3/recipes/kt/YubikeyClientAuth.kt

        val client =
          OkHttpClient.Builder()
            .sslSocketFactory(sslContext.socketFactory, trustManager)
            .build()
    
        // An example test URL that returns client certificate details.
        val request =
          Request.Builder()
            .url("https://prod.idrix.eu/secure/")
            .build()
    
        client.newCall(request).execute().use { response ->
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/cache/CacheBuilderSpecTest.java

            () -> builder.build(CacheLoader.from(Suppliers.ofInstance(null))));
      }
    
      @SuppressWarnings("ReturnValueIgnored")
      public void testMaximumSize_withWeigher() {
        CacheBuilder<Object, Object> builder = CacheBuilder.from(parse("maximumSize=9000"));
        builder.weigher(constantWeigher(42)).build(CacheLoader.from(Suppliers.ofInstance(null)));
      }
    
      @SuppressWarnings("ReturnValueIgnored")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 19.1K bytes
    - Viewed (0)
Back to top