Search Options

Results per page
Sort
Preferred Languages
Advance

Results 831 - 840 of 989 for BUILDER (0.06 sec)

  1. guava-testlib/src/com/google/common/collect/testing/ReflectionFreeAssertThrows.java

          return ImmutableMap.of();
        }
      }
    
      private static final ImmutableMap<Class<? extends Throwable>, Predicate<Throwable>> INSTANCE_OF =
          ImmutableMap.<Class<? extends Throwable>, Predicate<Throwable>>builder()
              .put(ArithmeticException.class, e -> e instanceof ArithmeticException)
              .put(
                  ArrayIndexOutOfBoundsException.class,
                  e -> e instanceof ArrayIndexOutOfBoundsException)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/ReflectionFreeAssertThrows.java

          return ImmutableMap.of();
        }
      }
    
      private static final ImmutableMap<Class<? extends Throwable>, Predicate<Throwable>> INSTANCE_OF =
          ImmutableMap.<Class<? extends Throwable>, Predicate<Throwable>>builder()
              .put(ArithmeticException.class, e -> e instanceof ArithmeticException)
              .put(
                  ArrayIndexOutOfBoundsException.class,
                  e -> e instanceof ArrayIndexOutOfBoundsException)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 16:27:30 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/XmlReaderRequest.java

             *                  log stuff.
             * @return the interpolated value
             */
            String transform(String source, String fieldName);
        }
    
        @Nonnull
        static XmlReaderRequestBuilder builder() {
            return new XmlReaderRequestBuilder();
        }
    
        @NotThreadSafe
        class XmlReaderRequestBuilder {
            Path path;
            Path rootDirectory;
            URL url;
            InputStream inputStream;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Jul 09 12:10:26 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/internal/tls/HostnameVerifierTest.kt

        assertThat(verifier.verify("0:0:0:0:0:FFFF:C0A8:0101", session)).isTrue()
      }
    
      @Test fun generatedCertificate() {
        val heldCertificate =
          HeldCertificate.Builder()
            .commonName("Foo Corp")
            .addSubjectAlternativeName("foo.com")
            .build()
        val session = session(heldCertificate.certificatePem())
        assertThat(verifier.verify("foo.com", session)).isTrue()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 40.3K bytes
    - Viewed (0)
  5. mockwebserver/README.md

    ### API
    
    #### MockResponse
    
    Mock responses default to an empty response body and a `200` status code.
    You can set a custom body with a string, input stream or byte array. Also
    add headers with a fluent builder API.
    
    ```java
    MockResponse response = new MockResponse()
        .addHeader("Content-Type", "application/json; charset=utf-8")
        .addHeader("Cache-Control", "no-cache")
        .setBody("{}");
    ```
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Dec 17 15:34:10 UTC 2023
    - 5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/io/SourceSinkTester.java

              + "eget augue. Sed nec arcu sem. In hac habitasse platea dictumst.";
    
      static final ImmutableMap<String, String> TEST_STRINGS =
          ImmutableMap.<String, String>builder()
              .put("empty", "")
              .put("1 char", "0")
              .put("1 word", "hello")
              .put("2 words", "hello world")
              .put("\\n line break", "hello\nworld")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 27 18:57:08 UTC 2022
    - 4.9K bytes
    - Viewed (0)
  7. logger/sql.go

    			}
    		}
    	}
    
    	for idx, v := range avars {
    		convertParams(v, idx)
    	}
    
    	if numericPlaceholder == nil {
    		var idx int
    		var newSQL strings.Builder
    
    		for _, v := range []byte(sql) {
    			if v == '?' {
    				if len(vars) > idx {
    					newSQL.WriteString(vars[idx])
    					idx++
    					continue
    				}
    			}
    			newSQL.WriteByte(v)
    		}
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Mar 21 08:00:02 UTC 2024
    - 5K bytes
    - Viewed (0)
  8. schema/naming.go

    		}
    
    		name = tmpName
    	}
    
    	if ns.NoLowerCase {
    		return name
    	}
    
    	var (
    		value                          = commonInitialismsReplacer.Replace(name)
    		buf                            strings.Builder
    		lastCase, nextCase, nextNumber bool // upper case == true
    		curCase                        = value[0] <= 'Z' && value[0] >= 'A'
    	)
    
    	for i, v := range value[:len(value)-1] {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jun 12 03:46:59 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/opensearch/extension/analysis/SynonymLoader.java

                if (rulesReader instanceof StringReader && ((StringReader) rulesReader).toString().length() == 0) {
                    synonymMap = null;
                    return;
                }
    
                SynonymMap.Builder parser = null;
    
                if ("wordnet".equalsIgnoreCase(settings.get("format"))) {
                    parser = new WordnetSynonymParser(true, expand, analyzer);
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/testers/ReflectionFreeAssertThrows.java

          return ImmutableMap.of();
        }
      }
    
      private static final ImmutableMap<Class<? extends Throwable>, Predicate<Throwable>> INSTANCE_OF =
          ImmutableMap.<Class<? extends Throwable>, Predicate<Throwable>>builder()
              .put(ArithmeticException.class, e -> e instanceof ArithmeticException)
              .put(
                  ArrayIndexOutOfBoundsException.class,
                  e -> e instanceof ArrayIndexOutOfBoundsException)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 6.9K bytes
    - Viewed (0)
Back to top