Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 351 - 360 of 1,585 for input (0.02 seconds)

  1. guava-tests/test/com/google/common/math/BigIntegerMathTest.java

      private static final class RoundToDoubleTester {
        private final BigInteger input;
        private final Map<RoundingMode, Double> expectedValues = new EnumMap<>(RoundingMode.class);
        private boolean unnecessaryShouldThrow = false;
    
        RoundToDoubleTester(BigInteger input) {
          this.input = input;
        }
    
        @CanIgnoreReturnValue
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 04:51:56 GMT 2026
    - 27.1K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/ldap/LdapUtilTest.java

            assertEquals("admin", LdapUtil.escapeValue("admin"));
        }
    
        @Test
        public void test_escapeValue_longString() {
            String input = "a]".repeat(1000) + "*";
            String expected = "a]".repeat(1000) + "\\2a";
            assertEquals(expected, LdapUtil.escapeValue(input));
        }
    
        @Test
        public void test_escapeValue_realWorldLdapInjectionAttempts() {
            // Authentication bypass attempt
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 4.4K bytes
    - Click Count (0)
  3. src/archive/tar/reader_test.go

    	}, {
    		input: makeInput(FormatGNU, "",
    			makeSparseStrings(sparseDatas{{10 << 30, 512}, {20 << 30, 512}})...),
    		wantMap: sparseDatas{{10 << 30, 512}, {20 << 30, 512}},
    	}}
    
    	for i, v := range vectors {
    		var blk block
    		var hdr Header
    		v.input = v.input[copy(blk[:], v.input):]
    		tr := Reader{r: bytes.NewReader(v.input)}
    		got, err := tr.readOldGNUSparseMap(&hdr, &blk)
    		if !slices.Equal(got, v.wantMap) {
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Tue Dec 30 15:28:53 GMT 2025
    - 47.5K bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/Range.java

       */
      @InlineMe(replacement = "this.contains(input)")
      @Deprecated
      @Override
      public boolean apply(C input) {
        return contains(input);
      }
    
      /**
       * @deprecated Provided only to satisfy the {@link java.util.function.Predicate} interface; use
       *     {@link #contains} instead.
       * @since 21.0
       */
      @InlineMe(replacement = "this.contains(input)")
      @Deprecated
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 28.3K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/xml/XmlEscapersTest.java

            assertEscaping(xmlEscaper, "&quot;", ch);
          } else {
            String input = String.valueOf(ch);
            String escaped = xmlEscaper.escape(input);
            assertWithMessage("char 0x" + Integer.toString(ch, 16) + " should not be escaped")
                .that(escaped)
                .isEqualTo(input);
          }
        }
    
        // Test that 0xFFFE and 0xFFFF are replaced with 0xFFFD
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 5K bytes
    - Click Count (0)
  6. guava-testlib/src/com/google/common/testing/SerializableTester.java

    /**
     * Tests serialization and deserialization of an object, optionally asserting that the resulting
     * object is equal to the original.
     *
     * <p><b>GWT warning:</b> Under GWT, both methods simply returns their input, as proper GWT
     * serialization tests require more setup. This no-op behavior allows test authors to intersperse
     * {@code SerializableTester} calls with other, GWT-compatible tests.
     *
     * @author Mike Bostock
     * @since 10.0
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 14:50:24 GMT 2024
    - 4.1K bytes
    - Click Count (0)
  7. internal/s3select/jstream/README.md

    ```
    
    ## Commandline
    
    `jstream` comes with a cli tool for quick viewing of parsed values from JSON input:
    
    ```bash
    jstream -d 1 < input.json
    ```
    
    ```json
    {"colors":["red","green","blue"],"desc":"RGB"}
    {"colors":["cyan","magenta","yellow","black"],"desc":"CMYK"}
    ```
    
    detailed output with `-v` option:
    ```bash
    cat input.json | jstream -v -d -1
    
    depth	start	end	type   | value
    2	018	023	string | "RGB"
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Sep 23 19:35:41 GMT 2024
    - 3.2K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/collect/Collections2Test.java

        suite.addTestSuite(Collections2Test.class);
        return suite;
      }
    
      static final Predicate<@Nullable String> NOT_YYY_ZZZ =
          input -> !Objects.equals(input, "yyy") && !Objects.equals(input, "zzz");
    
      static final Predicate<String> LENGTH_1 = input -> input.length() == 1;
    
      @J2ktIncompatible
      @GwtIncompatible // suite
      @AndroidIncompatible // test-suite builders
      private static Test testsForFilter() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 20.1K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/collect/MapsCollectionTest.java

                            set,
                            new Function<String, Integer>() {
                              @Override
                              public Integer apply(String input) {
                                return input.length();
                              }
                            });
                      }
    
                      @SuppressWarnings("unchecked")
                      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 32.4K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/hash/Hashing.java

       * consistent hashing</a> for more information.
       */
      public static int consistentHash(long input, int buckets) {
        checkArgument(buckets > 0, "buckets must be positive: %s", buckets);
        LinearCongruentialGenerator generator = new LinearCongruentialGenerator(input);
        int candidate = 0;
        int next;
    
        // Jump from bucket to bucket until we go out of range
        while (true) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jul 17 15:26:41 GMT 2025
    - 29.8K bytes
    - Click Count (0)
Back to Top