Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 321 for caracter (0.26 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. android/guava/src/com/google/common/base/CharMatcher.java

       * Returns the index of the first matching BMP character in a character sequence, or {@code -1} if
       * no matching character is present.
       *
       * <p>The default implementation iterates over the sequence in forward order calling {@link
       * #matches} for each character.
       *
       * @param sequence the character sequence to examine from the beginning
       * @return an index, or {@code -1} if no character matches
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 53.7K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. android/guava/src/com/google/common/xml/XmlEscapers.java

        // which means they are treated as pairs of safe characters).
        builder.setSafeRange(Character.MIN_VALUE, '\uFFFD');
        // Unsafe characters are replaced with the Unicode replacement character.
        builder.setUnsafeReplacement("\uFFFD");
    
        /*
         * Except for \n, \t, and \r, all ASCII control characters are replaced with the Unicode
         * replacement character.
         *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 18 20:55:09 GMT 2022
    - 6.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/io/ReaderInputStream.java

      private boolean doneFlushing;
    
      /**
       * Creates a new input stream that will encode the characters from {@code reader} into bytes using
       * the given character set. Malformed input and unmappable characters will be replaced.
       *
       * @param reader input source
       * @param charset character set used for encoding chars to bytes
       * @param bufferSize size of internal input and output buffers
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 28 20:13:02 GMT 2023
    - 9.3K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top