Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 78 for CharSequence (0.06 sec)

  1. guava-tests/benchmark/com/google/common/base/AsciiBenchmark.java

        // This benchmark has no concept of "noWorkToDo".
        String upperString = testString.toUpperCase();
        CharSequence testSeq = new StringBuilder(testString);
        CharSequence upperSeq = new StringBuilder(upperString);
        CharSequence[] lhs = new CharSequence[] {testString, testSeq, testString, testSeq};
        CharSequence[] rhs = new CharSequence[] {upperString, upperString, upperSeq, upperSeq};
    
        boolean dummy = false;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  2. guava/src/com/google/common/hash/Murmur3_32HashFunction.java

        k1 = mixK1(high);
        h1 = mixH1(h1, k1);
    
        return fmix(h1, Longs.BYTES);
      }
    
      @Override
      public HashCode hashUnencodedChars(CharSequence input) {
        int h1 = seed;
    
        // step through the CharSequence 2 chars at a time
        for (int i = 1; i < input.length(); i += 2) {
          int k1 = input.charAt(i - 1) | (input.charAt(i) << 16);
          k1 = mixK1(k1);
          h1 = mixH1(h1, k1);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 16:36:11 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  3. guava/src/com/google/common/hash/AbstractStreamingHasher.java

        return this;
      }
    
      /*
       * Note: hashString(CharSequence, Charset) is intentionally not overridden.
       *
       * While intuitively, using CharsetEncoder to encode the CharSequence directly to the buffer (or
       * even to an intermediate buffer) should be considerably more efficient than potentially
       * copying the CharSequence to a String and then calling getBytes(Charset) on that String, in
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  4. guava/src/com/google/common/reflect/AbstractInvocationHandler.java

     *   protected Object handleInvocation(Object proxy, Method method, Object[] args) {
     *     throw new UnsupportedOperationException();
     *   }
     * }
     *
     * CharSequence unsupported = Reflection.newProxy(CharSequence.class, new Unsupported());
     * </pre>
     *
     * @author Ben Yu
     * @since 12.0
     */
    public abstract class AbstractInvocationHandler implements InvocationHandler {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/beans/util/CopyOptionsUtil.java

         * @return A {@link CopyOptions} with the specified property names to include in the operation.
         * @see CopyOptions#include(CharSequence...)
         */
        public static CopyOptions include(final CharSequence... propertyNames) {
            return new CopyOptions().include(propertyNames);
        }
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  6. android/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()) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 21.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/hash/Hasher.java

       * putUnencodedChars}.
       *
       * @since 15.0 (since 11.0 as putString(CharSequence)).
       */
      @CanIgnoreReturnValue
      @Override
      Hasher putUnencodedChars(CharSequence charSequence);
    
      /**
       * Equivalent to {@code putBytes(charSequence.toString().getBytes(charset))}.
       *
       * <p><b>Warning:</b> This method, which reencodes the input before hashing it, is useful only for
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/Joiner.java

         * tolerance is implemented differently: Its implementation avoids calling this toString(Object)
         * method in the first place.)
         */
        requireNonNull(part);
        return (part instanceof CharSequence) ? (CharSequence) part : part.toString();
      }
    
      private static Iterable<@Nullable Object> iterable(
          @Nullable Object first, @Nullable Object second, @Nullable Object[] rest) {
        checkNotNull(rest);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/beans/util/BeanUtilTest.java

             */
            public static CharSequence bbb() {
                return createCharSequence("bbb");
            }
    
            /**
             * @return CharSequence
             */
            public static CharSequence ccc() {
                return createCharSequence("ccc");
            }
    
            /**
             * @return CharSequence
             */
            public static CharSequence hoge() {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Fri Jun 20 13:40:57 UTC 2025
    - 34.5K bytes
    - Viewed (0)
  10. android/guava-tests/benchmark/com/google/common/base/AsciiBenchmark.java

        // This benchmark has no concept of "noWorkToDo".
        String upperString = testString.toUpperCase();
        CharSequence testSeq = new StringBuilder(testString);
        CharSequence upperSeq = new StringBuilder(upperString);
        CharSequence[] lhs = new CharSequence[] {testString, testSeq, testString, testSeq};
        CharSequence[] rhs = new CharSequence[] {upperString, upperString, upperSeq, upperSeq};
    
        boolean dummy = false;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 4.8K bytes
    - Viewed (0)
Back to top