Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 798 for characters (0.24 sec)

  1. 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)
  2. android/guava-testlib/src/com/google/common/escape/testing/EscaperAsserts.java

      /**
       * Asserts that an escaper does not escape the given character.
       *
       * @param escaper the non-null escaper to test
       * @param c the character to test
       */
      public static void assertUnescaped(CharEscaper escaper, char c) {
        Assert.assertNull(computeReplacement(escaper, c));
      }
    
      /**
       * Asserts that a Unicode escaper does not escape the given character.
       *
       * @param escaper the non-null escaper to test
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jan 18 20:55:09 GMT 2022
    - 3.8K bytes
    - Viewed (0)
  3. 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)
  4. guava-testlib/src/com/google/common/escape/testing/EscaperAsserts.java

      /**
       * Asserts that an escaper does not escape the given character.
       *
       * @param escaper the non-null escaper to test
       * @param c the character to test
       */
      public static void assertUnescaped(CharEscaper escaper, char c) {
        Assert.assertNull(computeReplacement(escaper, c));
      }
    
      /**
       * Asserts that a Unicode escaper does not escape the given character.
       *
       * @param escaper the non-null escaper to test
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Jan 18 20:55:09 GMT 2022
    - 3.8K bytes
    - Viewed (0)
  5. .github/PULL_REQUEST_TEMPLATE

        "This change modifies Go to ___________"
      + Lowercase verb after the colon
      + No trailing period
      + Keep the title as short as possible. ideally under 76 characters or shorter
    + No Markdown
    + The first PR comment (this one) is wrapped at 76 characters, unless it's
      really needed (ASCII art, table, or long link)
    + If there is a corresponding issue, add either `Fixes #1234` or `Updates #1234`
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Wed Feb 21 02:07:46 GMT 2018
    - 1.2K bytes
    - Viewed (0)
  6. 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)
  7. android/guava/src/com/google/thirdparty/publicsuffix/TrieParser.java

      }
    
      /**
       * Parses a trie node and returns the number of characters consumed.
       *
       * @param stack The prefixes that precede the characters represented by this node. Each entry of
       *     the stack is in reverse order.
       * @param encoded The serialized trie.
       * @param start An index in the encoded serialized trie to begin reading characters from.
       * @param builder A map builder to which all entries will be added.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Oct 13 19:20:43 GMT 2022
    - 4K bytes
    - Viewed (0)
  8. 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)
  9. guava-tests/test/com/google/common/escape/ArrayBasedUnicodeEscaperTest.java

        assertEquals(safeInput, surrogateEscaper.escape(safeInput));
    
        // A surrogate pair defining a code point outside the safe range (but both
        // of the surrogate characters lie within the safe range). It is important
        // not to accidentally treat this as a sequence of safe characters.
        String unsafeInput = "\uDBFF\uDFFF"; // 0x10FFFF
        assertEquals("X", surrogateEscaper.escape(unsafeInput));
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 07 23:02:38 GMT 2024
    - 5K bytes
    - Viewed (1)
  10. guava-tests/test/com/google/common/base/BenchmarkHelpers.java

     * @author Louis Wasserman
     */
    class BenchmarkHelpers {
      private static final String WHITESPACE_CHARACTERS =
          "\u00a0\u180e\u202f\t\n\013\f\r \u0085"
              + "\u1680\u2028\u2029\u205f\u3000\u2000\u2001\u2002\u2003\u2004\u2005"
              + "\u2006\u2007\u2008\u2009\u200a";
      private static final String ASCII_CHARACTERS;
    
      static {
        int spaceInAscii = 32;
        int sevenBitAsciiMax = 128;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3K bytes
    - Viewed (0)
Back to top