Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for Fish (0.15 sec)

  1. android/guava-tests/test/com/google/common/escape/ArrayBasedUnicodeEscaperTest.java

              @Override
              protected char[] escapeUnsafe(int c) {
                return NO_CHARS;
              }
            };
        EscaperAsserts.assertBasic(escaper);
        assertEquals("<tab>Fish <and> Chips<newline>", escaper.escape("\tFish & Chips\n"));
    
        // Verify that everything else is left unescaped.
        String safeChars = "\0\u0100\uD800\uDC00\uFFFF";
        assertEquals(safeChars, escaper.escape(safeChars));
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 07 23:02:38 GMT 2024
    - 5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/escape/ArrayBasedCharEscaperTest.java

        // Replacements are applied first regardless of whether the character is in
        // the safe range or not ('&' is a safe char while '\t' and '\n' are not).
        assertEquals(
            "<tab>Fish <and>? Chips?<newline>", replacingEscaper.escape("\tFish &\0 Chips\r\n"));
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 07 23:02:38 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/escape/ArrayBasedUnicodeEscaperTest.java

              @Override
              protected char[] escapeUnsafe(int c) {
                return NO_CHARS;
              }
            };
        EscaperAsserts.assertBasic(escaper);
        assertEquals("<tab>Fish <and> Chips<newline>", escaper.escape("\tFish & Chips\n"));
    
        // Verify that everything else is left unescaped.
        String safeChars = "\0\u0100\uD800\uDC00\uFFFF";
        assertEquals(safeChars, escaper.escape(safeChars));
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 07 23:02:38 GMT 2024
    - 5K bytes
    - Viewed (1)
  4. android/guava-tests/test/com/google/common/escape/ArrayBasedCharEscaperTest.java

        // Replacements are applied first regardless of whether the character is in
        // the safe range or not ('&' is a safe char while '\t' and '\n' are not).
        assertEquals(
            "<tab>Fish <and>? Chips?<newline>", replacingEscaper.escape("\tFish &\0 Chips\r\n"));
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 07 23:02:38 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

                .add("in", "the", "quick", "jumped", "over", "a")
                .build();
        assertTrue(set.headSet("a") instanceof ImmutableSortedSet);
        assertTrue(set.headSet("fish") instanceof ImmutableSortedSet);
        assertThat(set.headSet("fish")).containsExactly("a", "in", "the").inOrder();
        assertThat(set.headSet("california"))
            .containsExactly("a", "in", "the", "over", "quick", "jumped")
            .inOrder();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 46.1K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

                .add("in", "the", "quick", "jumped", "over", "a")
                .build();
        assertTrue(set.headSet("a") instanceof ImmutableSortedSet);
        assertTrue(set.headSet("fish") instanceof ImmutableSortedSet);
        assertThat(set.headSet("fish")).containsExactly("a", "in", "the").inOrder();
        assertThat(set.headSet("california"))
            .containsExactly("a", "in", "the", "over", "quick", "jumped")
            .inOrder();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 45.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Multiset.java

     *   <li>{@link TreeMultiset}
     *   <li>{@link EnumMultiset}
     *   <li>{@link ConcurrentHashMultiset}
     * </ul>
     *
     * <p>If your values may be zero, negative, or outside the range of an int, you may wish to use
     * {@link com.google.common.util.concurrent.AtomicLongMap} instead. Note, however, that unlike
     * {@code Multiset}, {@code AtomicLongMap} does not automatically remove zeros.
     *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sat Jun 17 14:40:53 GMT 2023
    - 19.7K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/IteratorTester.java

     * without changing its state, so the tester needs a steady supply of fresh Iterators.
     *
     * <p>If your iterator supports modification through {@code remove()}, you may wish to override the
     * verify() method, which is called after each sequence and is guaranteed to be called
     * using the latest values obtained from {@link IteratorTester#newTargetIterator()}.
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/TimeoutFuture.java

           * need to clear our reference to the TimeoutFuture is the reason we use a *static* nested
           * class with a manual reference back to the "containing" class.)
           *
           * This has the nice-ish side effect of limiting reentrancy: run() calls
           * timeoutFuture.setException() calls run(). That reentrancy would already be harmless, since
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/math/IntMath.java

          case HALF_DOWN:
          case HALF_UP:
          case HALF_EVEN:
            int halfSquare = sqrtFloor * sqrtFloor + sqrtFloor;
            /*
             * We wish to test whether or not x <= (sqrtFloor + 0.5)^2 = halfSquare + 0.25. Since both x
             * and halfSquare are integers, this is equivalent to testing whether or not x <=
             * halfSquare. (We have to deal with overflow, though.)
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 23.5K bytes
    - Viewed (0)
Back to top