Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 804 for caracter (0.56 sec)

  1. 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)
  2. 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)
  3. android/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 May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 07 23:02:38 GMT 2024
    - 5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/escape/Escaper.java

     * escape strings and concatenate the results is if you can rule out this possibility, either by
     * splitting an existing long string into short strings adaptively around {@linkplain
     * Character#isHighSurrogate surrogate} {@linkplain Character#isLowSurrogate pairs}, or by starting
     * with short strings already known to be free of unpaired surrogates.
     *
     * <p>The two primary implementations of this interface are {@link CharEscaper} and {@link
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Oct 01 16:02:17 GMT 2021
    - 4.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/escape/ArrayBasedEscaperMap.java

     * when more than one escaper is created using the same character replacement mapping to allow the
     * underlying (implementation specific) data structures to be shared.
     *
     * <p>The size of the data structure used by ArrayBasedCharEscaper and ArrayBasedUnicodeEscaper is
     * proportional to the highest valued character that has a replacement. For example a replacement
     * map containing the single character '{@literal \}u1000' will require approximately 16K of memory.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 18 20:55:09 GMT 2022
    - 3.2K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/internal/idn/IdnStringprep.kt

          } else if (firstIsRandalcat) {
            // 'If a string contains any RandALCat character, the string MUST NOT contain any LCat
            // character.'
            if (codePoint in lcatSet) return null
    
            // 'If a string contains any RandALCat character, a RandALCat character MUST be the last
            // character of the string.'
            if (validateBuffer.exhausted() && codePoint !in randalcatSet) return null
          } else {
    Plain Text
    - Registered: Fri Mar 29 11:42:11 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/net/PercentEscaperTest.java

        String msg = "plusForSpace cannot be specified when space is a 'safe' character";
        try {
          new PercentEscaper(" ", true);
          fail(msg);
        } catch (IllegalArgumentException expected) {
          assertThat(expected).hasMessageThat().isEqualTo(msg);
        }
      }
    
      /** Helper to manually escape a 7-bit ascii character */
      private String escapeAscii(char c) {
        Preconditions.checkArgument(c < 128);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 5.2K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/escape/EscapersTest.java

      }
    
      public void testBuilderInitialStateNoReplacement() {
        // Unsafe characters aren't modified by default (unsafeReplacement == null).
        Escaper escaper = Escapers.builder().setSafeRange('a', 'z').build();
        assertEquals("The Quick Brown Fox", escaper.escape("The Quick Brown Fox"));
      }
    
      public void testBuilderInitialStateNoneUnsafe() {
        // No characters are unsafe by default (safeMin == 0, safeMax == 0xFFFF).
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 5K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/net/PercentEscaperTest.java

        String msg = "plusForSpace cannot be specified when space is a 'safe' character";
        try {
          new PercentEscaper(" ", true);
          fail(msg);
        } catch (IllegalArgumentException expected) {
          assertThat(expected).hasMessageThat().isEqualTo(msg);
        }
      }
    
      /** Helper to manually escape a 7-bit ascii character */
      private String escapeAscii(char c) {
        Preconditions.checkArgument(c < 128);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 5.2K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/escape/EscapersTest.java

      }
    
      public void testBuilderInitialStateNoReplacement() {
        // Unsafe characters aren't modified by default (unsafeReplacement == null).
        Escaper escaper = Escapers.builder().setSafeRange('a', 'z').build();
        assertEquals("The Quick Brown Fox", escaper.escape("The Quick Brown Fox"));
      }
    
      public void testBuilderInitialStateNoneUnsafe() {
        // No characters are unsafe by default (safeMin == 0, safeMax == 0xFFFF).
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 5K bytes
    - Viewed (0)
Back to top