Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 464 for schar (0.14 sec)

  1. android/guava-tests/test/com/google/common/io/CharSequenceReaderTest.java

        // read char by char
        CharSequenceReader reader = new CharSequenceReader(charSequence);
        for (int i = 0; i < expected.length(); i++) {
          assertEquals(expected.charAt(i), reader.read());
        }
        assertFullyRead(reader);
    
        // read all to one array
        reader = new CharSequenceReader(charSequence);
        char[] buf = new char[expected.length()];
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 6.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/SmallCharMatcher.java

    @ElementTypesAreNonnullByDefault
    final class SmallCharMatcher extends NamedFastMatcher {
      static final int MAX_SIZE = 1023;
      private final char[] table;
      private final boolean containsZero;
      private final long filter;
    
      private SmallCharMatcher(char[] table, long filter, boolean containsZero, String description) {
        super(description);
        this.table = table;
        this.filter = filter;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/Ascii.java

       */
      public static char toLowerCase(char c) {
        return isUpperCase(c) ? (char) (c ^ CASE_MASK) : c;
      }
    
      /**
       * Returns a copy of the input string in which all {@linkplain #isLowerCase(char) lowercase ASCII
       * characters} have been converted to uppercase. All other characters are copied without
       * modification.
       */
      public static String toUpperCase(String string) {
        int length = string.length();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jul 19 15:43:07 GMT 2021
    - 21.6K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/escape/UnicodeEscaperTest.java

            new UnicodeEscaper() {
              // Canonical escaper method that only escapes lower case ASCII letters.
              @Override
              protected char @Nullable [] escape(int cp) {
                return ('a' <= cp && cp <= 'z') ? new char[] {Character.toUpperCase((char) cp)} : null;
              }
              // Inefficient implementation that defines all letters as escapable.
              @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 6.2K bytes
    - Viewed (0)
  5. tensorflow/c/c_api.h

                                              const char* attr_name,
                                              unsigned char value);
    TF_CAPI_EXPORT extern void TF_SetAttrBoolList(TF_OperationDescription* desc,
                                                  const char* attr_name,
                                                  const unsigned char* values,
                                                  int num_values);
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Oct 26 21:08:15 GMT 2023
    - 82.3K bytes
    - Viewed (3)
  6. guava-tests/benchmark/com/google/common/base/StringsRepeatBenchmark.java

          }
        }
      }
    
      private static String mikeRepeat(String string, int count) {
        final int len = string.length();
        char[] strCopy = new char[len * Integer.highestOneBit(count)];
        string.getChars(0, len, strCopy, 0);
    
        char[] array = new char[len * count];
    
        int strCopyLen = len;
        int pos = 0;
        while (count != 0) {
          if ((count & 1) != 0) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Sep 17 20:24:24 GMT 2021
    - 3.3K bytes
    - Viewed (0)
  7. src/main/resources/suggest_indices/suggest_analyzer.json

            "char_filter" : ["mapping_char"],
            "filter" : ["lowercase"]
          },
          "contents_analyzer_pa" : {
            "type" : "custom",
            "tokenizer" : "standard",
            "char_filter" : ["mapping_char"],
            "filter" : ["lowercase", "content_length_filter", "limit_token_count_filter"]
          },
          "contents_reading_analyzer_pa" : {
            "type" : "custom",
            "tokenizer" : "standard",
    Json
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu May 23 05:09:51 GMT 2019
    - 57.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/escape/Escapers.java

              return escaper.escape((char) cp);
            }
            // Convert the code point to a surrogate pair and escape them both.
            // Note: This code path is horribly slow and typically allocates 4 new
            // char[] each time it is invoked. However this avoids any
            // synchronization issues and makes the escaper thread safe.
            char[] surrogateChars = new char[2];
    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)
  9. android/guava-tests/test/com/google/common/hash/FarmHashFingerprint64Test.java

        }
      }
    
      public void testUtf8() {
        char[] charsA = new char[128];
        char[] charsB = new char[128];
    
        for (int i = 0; i < charsA.length; i++) {
          if (i < 100) {
            charsA[i] = 'a';
            charsB[i] = 'a';
          } else {
            // Both two-byte characters, but must be different
            charsA[i] = (char) (0x0180 + i);
            charsB[i] = (char) (0x0280 + i);
          }
        }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jun 26 15:56:47 GMT 2017
    - 6.2K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/escape/ArrayBasedUnicodeEscaperTest.java

              private final char[] unknown = new char[] {'?'};
    
              @Override
              protected char[] escapeUnsafe(int c) {
                return unknown;
              }
            };
        EscaperAsserts.assertBasic(replacingEscaper);
    
        // Replacements are applied first regardless of whether the character is in
        // the safe range or not ('&' is a safe char while '\t' and '\n' are not).
        assertEquals(
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 07 23:02:38 GMT 2024
    - 5K bytes
    - Viewed (1)
Back to top