Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 363 for character (0.06 sec)

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

       * is guaranteed to be in the range {@code 0 <= cp <= Character#MAX_CODE_POINT}.
       *
       * <p>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 an array containing the character representation of the code point. This enables the
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jan 18 20:55:09 UTC 2022
    - 13.2K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/-UtilCommon.kt

    }
    
    /**
     * Returns the index of the first character in this string that is either a control character (like
     * `\u0000` or `\n`) or a non-ASCII character. Returns -1 if this string has no such characters.
     */
    internal fun String.indexOfControlOrNonAscii(): Int {
      for (i in 0 until length) {
        val c = this[i]
        if (c <= '\u001f' || c >= '\u007f') {
          return i
        }
      }
      return -1
    }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon May 13 13:42:37 UTC 2024
    - 11K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/Ascii.java

      /**
       * Substitute: A character that may be substituted for a character which is determined to be
       * invalid or in error.
       *
       * @since 8.0
       */
      public static final byte SUB = 26;
    
      /**
       * Escape: A control character intended to provide code extension (supplementary characters) in
       * general information interchange. The Escape character itself is a prefix affecting the
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 02 13:50:22 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/TableCollectionTest.java

        abstract Table<String, Integer, Character> createTable();
    
        @Override
        @SuppressWarnings("unchecked")
        public Cell<String, Integer, Character>[] createArray(int length) {
          return (Cell<String, Integer, Character>[]) new Cell<?, ?, ?>[length];
        }
    
        @Override
        public List<Cell<String, Integer, Character>> order(
            List<Cell<String, Integer, Character>> insertionOrder) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/TableCollectionTest.java

        abstract Table<String, Integer, Character> createTable();
    
        @Override
        @SuppressWarnings("unchecked")
        public Cell<String, Integer, Character>[] createArray(int length) {
          return (Cell<String, Integer, Character>[]) new Cell<?, ?, ?>[length];
        }
    
        @Override
        public List<Cell<String, Integer, Character>> order(
            List<Cell<String, Integer, Character>> insertionOrder) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  6. 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();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/graph/TraverserTest.java

        private final SuccessorsFunction<Character> delegate;
        final Multiset<Character> requestedNodes = HashMultiset.create();
    
        RequestSavingGraph(SuccessorsFunction<Character> delegate) {
          this.delegate = checkNotNull(delegate);
        }
    
        @Override
        public Iterable<? extends Character> successors(Character node) {
          requestedNodes.add(node);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 47.5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/graph/TraverserTest.java

        private final SuccessorsFunction<Character> delegate;
        final Multiset<Character> requestedNodes = HashMultiset.create();
    
        RequestSavingGraph(SuccessorsFunction<Character> delegate) {
          this.delegate = checkNotNull(delegate);
        }
    
        @Override
        public Iterable<? extends Character> successors(Character node) {
          requestedNodes.add(node);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 47.5K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/io/BaseEncodingTest.java

        assertFailsToDecode(base16(), "\n\n", "Unrecognized character: 0xa");
        assertFailsToDecode(base16(), "EFGH", "Unrecognized character: G");
        // Valid base16 strings always have an even length.
        assertFailsToDecode(base16(), "A", "Invalid input length 1");
        assertFailsToDecode(base16(), "ABC");
        // These have a combination of invalid length and unrecognized characters.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 16:27:30 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/primitives/Chars.java

       *     {@link Character#MAX_VALUE} if it is too large, or {@link Character#MIN_VALUE} if it is too
       *     small
       */
      public static char saturatedCast(long value) {
        if (value > Character.MAX_VALUE) {
          return Character.MAX_VALUE;
        }
        if (value < Character.MIN_VALUE) {
          return Character.MIN_VALUE;
        }
        return (char) value;
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 27 16:47:48 UTC 2024
    - 23.9K bytes
    - Viewed (0)
Back to top