Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 87 for CharSequence (0.25 sec)

  1. android/guava/src/com/google/common/hash/HashFunction.java

       * {@link #hashString}, usually with a charset of UTF-8. For other use cases, use {@code
       * hashUnencodedChars}.
       *
       * @since 15.0 (since 11.0 as hashString(CharSequence)).
       */
      HashCode hashUnencodedChars(CharSequence input);
    
      /**
       * Shortcut for {@code newHasher().putString(input, charset).hash()}. Characters are encoded using
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue May 25 18:22:59 GMT 2021
    - 10.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/escape/ArrayBasedUnicodeEscaper.java

        }
        if (cp >= safeMin && cp <= safeMax) {
          return null;
        }
        return escapeUnsafe(cp);
      }
    
      /* Overridden for performance. */
      @Override
      protected final int nextEscapeIndex(CharSequence csq, int index, int end) {
        while (index < end) {
          char c = csq.charAt(index);
          if ((c < replacementsLength && replacements[c] != null)
              || c > safeMaxChar
              || c < safeMinChar) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 8.5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/Ascii.java

       * surprising behavior of {@code toUpperCase()} and {@code toLowerCase()}.
       *
       * @since 16.0
       */
      public static boolean equalsIgnoreCase(CharSequence s1, CharSequence s2) {
        // Calling length() is the null pointer check (so do it before we can exit early).
        int length = s1.length();
        if (s1 == s2) {
          return true;
        }
        if (length != s2.length()) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Jul 19 15:43:07 GMT 2021
    - 21.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/base/Utf8.java

       * time and space.
       *
       * @throws IllegalArgumentException if {@code sequence} contains ill-formed UTF-16 (unpaired
       *     surrogates)
       */
      public static int encodedLength(CharSequence sequence) {
        // Warning to maintainers: this implementation is highly optimized.
        int utf16Length = sequence.length();
        int utf8Length = utf16Length;
        int i = 0;
    
        // This loop optimizes for pure ASCII.
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 10 14:11:51 GMT 2023
    - 7K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/io/CharStreamsTest.java

        return new Appendable() {
    
          @Override
          public Appendable append(CharSequence csq) throws IOException {
            a.append(csq);
            return this;
          }
    
          @Override
          public Appendable append(CharSequence csq, int start, int end) throws IOException {
            a.append(csq, start, end);
            return this;
          }
    
          @Override
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 11.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/io/CharStreamsTest.java

        return new Appendable() {
    
          @Override
          public Appendable append(CharSequence csq) throws IOException {
            a.append(csq);
            return this;
          }
    
          @Override
          public Appendable append(CharSequence csq, int start, int end) throws IOException {
            a.append(csq, start, end);
            return this;
          }
    
          @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 11.2K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/reflect/TypesTest.java

        <T> void withoutBound(List<T> list) {}
    
        @SuppressWarnings("unused")
        <T extends Object> void withObjectBound(List<T> list) {}
    
        @SuppressWarnings("unused")
        <T extends Number & CharSequence> void withUpperBound(List<T> list) {}
    
        static TypeVariable<?> getTypeVariable(String methodName) throws Exception {
          ParameterizedType parameterType =
              (ParameterizedType)
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 14.8K bytes
    - Viewed (0)
  8. android/guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java

                  @Override
                  public Sub apply(Sub sub) {
                    return new ForwardingSub(sub);
                  }
                });
      }
    
      interface Base {
        CharSequence getId();
      }
    
      interface Sub extends Base {
        @Override
        String getId();
      }
    
      private static class ForwardingSub implements Sub {
        private final Sub delegate;
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 15.7K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/reflect/TypesTest.java

        <T> void withoutBound(List<T> list) {}
    
        @SuppressWarnings("unused")
        <T extends Object> void withObjectBound(List<T> list) {}
    
        @SuppressWarnings("unused")
        <T extends Number & CharSequence> void withUpperBound(List<T> list) {}
    
        static TypeVariable<?> getTypeVariable(String methodName) throws Exception {
          ParameterizedType parameterType =
              (ParameterizedType)
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 14.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/io/CharStreams.java

          checkPositionIndexes(off, off + len, str.length());
        }
    
        @Override
        public Writer append(@CheckForNull CharSequence csq) {
          return this;
        }
    
        @Override
        public Writer append(@CheckForNull CharSequence csq, int start, int end) {
          checkPositionIndexes(start, end, csq == null ? "null".length() : csq.length());
          return this;
        }
    
        @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 10.9K bytes
    - Viewed (0)
Back to top