Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 277 for caracter (0.56 sec)

  1. android/guava/src/com/google/common/escape/Escapers.java

        private final Map<Character, String> replacementMap = new HashMap<>();
        private char safeMin = Character.MIN_VALUE;
        private char safeMax = Character.MAX_VALUE;
        @CheckForNull private String unsafeReplacement = null;
    
        // The constructor is exposed via the builder() method above.
        private Builder() {}
    
        /**
         * Sets the safe range of characters for the escaper. Characters in this range that have no
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 10.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/escape/CharEscaper.java

      }
    
      /**
       * Returns the escaped form of the given character, or {@code null} if this character does not
       * need to be escaped. If an empty array is returned, this effectively strips the input character
       * from the resulting text.
       *
       * <p>If the character does not need to be escaped, this method should return {@code null}, rather
       * than a one-character array containing the character itself. This enables the escaping algorithm
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 18 20:55:09 GMT 2022
    - 6.7K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/escape/ArrayBasedUnicodeEscaperTest.java

     * @author David Beaumont
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public class ArrayBasedUnicodeEscaperTest extends TestCase {
      private static final ImmutableMap<Character, String> NO_REPLACEMENTS = ImmutableMap.of();
      private static final ImmutableMap<Character, String> SIMPLE_REPLACEMENTS =
          ImmutableMap.of(
              '\n', "<newline>",
              '\t', "<tab>",
              '&', "<and>");
    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/src/com/google/common/io/LineBuffer.java

      private boolean sawReturn;
    
      /**
       * Process additional characters from the stream. When a line separator is found the contents of
       * the line and the line separator itself are passed to the abstract {@link #handleLine} method.
       *
       * @param cbuf the character buffer to process
       * @param off the offset into the buffer
       * @param len the number of characters to process
       * @throws IOException if an I/O error occurs
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 28 20:13:02 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/io/CharSink.java

     *       doing something and finally closing the writer that was opened.
     * </ul>
     *
     * <p>Any {@link ByteSink} may be viewed as a {@code CharSink} with a specific {@linkplain Charset
     * character encoding} using {@link ByteSink#asCharSink(Charset)}. Characters written to the
     * resulting {@code CharSink} will written to the {@code ByteSink} as encoded bytes.
     *
     * @since 14.0
     * @author Colin Decker
     */
    @J2ktIncompatible
    @GwtIncompatible
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 28 20:13:02 GMT 2023
    - 6.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/hash/Murmur3_32HashFunction.java

              buffer |= charToTwoUtf8Bytes(c) << shift;
              shift += 16;
              len += 2;
            } else if (c < Character.MIN_SURROGATE || c > Character.MAX_SURROGATE) {
              buffer |= charToThreeUtf8Bytes(c) << shift;
              shift += 24;
              len += 3;
            } else {
              int codePoint = Character.codePointAt(input, i);
              if (codePoint == c) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jun 15 20:59:00 GMT 2022
    - 11.9K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/hash/HashTestUtils.java

        return (char)
            (Character.MIN_LOW_SURROGATE
                + random.nextInt(Character.MAX_LOW_SURROGATE - Character.MIN_LOW_SURROGATE + 1));
      }
    
      static char randomHighSurrogate(Random random) {
        return (char)
            (Character.MIN_HIGH_SURROGATE
                + random.nextInt(Character.MAX_HIGH_SURROGATE - Character.MIN_HIGH_SURROGATE + 1));
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 25.3K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/ArrayTableTest.java

        Table<String, Integer, @Nullable Character> copy = ArrayTable.create(original);
        assertEquals(4, copy.size());
        assertEquals((Character) 'a', copy.get("foo", 1));
        assertEquals((Character) 'b', copy.get("bar", 1));
        assertEquals((Character) 'c', copy.get("foo", 3));
        assertNull(copy.get("bar", 3));
        original.put("foo", 1, 'd');
        assertEquals((Character) 'd', original.get("foo", 1));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:54:11 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/ArrayTableTest.java

        Table<String, Integer, @Nullable Character> copy = ArrayTable.create(original);
        assertEquals(4, copy.size());
        assertEquals((Character) 'a', copy.get("foo", 1));
        assertEquals((Character) 'b', copy.get("bar", 1));
        assertEquals((Character) 'c', copy.get("foo", 3));
        assertNull(copy.get("bar", 3));
        original.put("foo", 1, 'd');
        assertEquals((Character) 'd', original.get("foo", 1));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 16:54:11 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/ImmutableTableTest.java

    public class ImmutableTableTest extends AbstractTableReadTest<Character> {
      @Override
      protected Table<String, Integer, Character> create(@Nullable Object... data) {
        ImmutableTable.Builder<String, Integer, Character> builder = ImmutableTable.builder();
        for (int i = 0; i < data.length; i = i + 3) {
          builder.put((String) data[i], (Integer) data[i + 1], (Character) data[i + 2]);
        }
        return builder.build();
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 16:54:11 GMT 2024
    - 19.6K bytes
    - Viewed (0)
Back to top