Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 1,105 for builder (0.17 sec)

  1. 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)
  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. guava-tests/test/com/google/common/collect/AbstractImmutableSetTest.java

        {
        ImmutableSet.Builder<String> builder = this.<String>builder();
          assertThrows(NullPointerException.class, () -> builder.add((String) null));
        }
    
        {
          ImmutableSet.Builder<String> builder = this.<String>builder();
          assertThrows(NullPointerException.class, () -> builder.add((String[]) null));
        }
    
        {
          ImmutableSet.Builder<String> builder = this.<String>builder();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/es/user/cbean/cq/bs/BsGroupCQ.java

            RangeQueryBuilder builder = regRangeQ("gidNumber", ConditionKey.CK_LESS_EQUAL, _value);
            if (opLambda != null) {
                opLambda.callback(builder);
            }
        }
    
        public void setGidNumber_Exists() {
            setGidNumber_Exists(null);
        }
    
        public void setGidNumber_Exists(ConditionOptionCall<ExistsQueryBuilder> opLambda) {
            ExistsQueryBuilder builder = regExistsQ("gidNumber");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 20K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java

        unused = builder.build(); // this is *also* allowed
      }
    
      public void testBuildMutate() {
        ThreadFactory factory1 = builder.setPriority(1).build();
        assertEquals(1, factory1.newThread(monitoredRunnable).getPriority());
    
        builder.setPriority(2); // change the state of the builder
        assertEquals(1, factory1.newThread(monitoredRunnable).getPriority());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/internal/tls/CertificatePinnerChainValidationTest.kt

          HeldCertificate.Builder()
            .serialNumber(1L)
            .certificateAuthority(1)
            .commonName("root")
            .build()
        val intermediateCa =
          HeldCertificate.Builder()
            .signedBy(rootCa)
            .certificateAuthority(0)
            .serialNumber(2L)
            .commonName("intermediate_ca")
            .build()
        val certificate =
          HeldCertificate.Builder()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CommonsCliOptions.java

                        .hasArg()
                        .build());
                options.addOption(Option.builder(LOG_FILE)
                        .longOpt("log-file")
                        .hasArg()
                        .desc("Log file where all build output will go (disables output color)")
                        .build());
                options.addOption(Option.builder()
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  8. compat/maven-embedder/src/main/java/org/fusesource/jansi/Ansi.java

            builder.append(value);
            return this;
        }
    
        public Ansi a(long value) {
            flushAttributes();
            builder.append(value);
            return this;
        }
    
        public Ansi a(Object value) {
            flushAttributes();
            builder.append(value);
            return this;
        }
    
        public Ansi a(StringBuffer value) {
            flushAttributes();
            builder.append(value);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/ImmutableMultimapTest.java

            IllegalArgumentException.class, () -> ImmutableMultimap.builder().expectedValuesPerKey(-1));
      }
    
      public void testBuilderWithExpectedValuesPerKeyZero() {
        ImmutableMultimap.Builder<String, String> builder =
            ImmutableMultimap.<String, String>builder().expectedValuesPerKey(0);
        builder.put("key", "value");
        assertThat(builder.build().entries()).containsExactly(immutableEntry("key", "value"));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  10. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/model/MethodMetaData.java

        public String getSignature() {
            StringBuilder builder = new StringBuilder();
            builder.append(returnType.getSignature());
            builder.append(' ');
            builder.append(name);
            builder.append('(');
            for (int i = 0; i < parameters.size(); i++) {
                ParameterMetaData param = parameters.get(i);
                if (i > 0) {
                    builder.append(", ");
                }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 4.9K bytes
    - Viewed (0)
Back to top