Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,330 for carrat (0.22 sec)

  1. android/guava/src/com/google/common/base/CharMatcher.java

      public static CharMatcher anyOf(final CharSequence sequence) {
        switch (sequence.length()) {
          case 0:
            return none();
          case 1:
            return is(sequence.charAt(0));
          case 2:
            return isEither(sequence.charAt(0), sequence.charAt(1));
          default:
            // TODO(lowasser): is it potentially worth just going ahead and building a precomputed
            // matcher?
            return new AnyOf(sequence);
        }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 53.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/lang/StringUtil.java

                return null;
            }
            s = s.toLowerCase();
            final String[] array = StringUtil.split(s, "_");
            if (array.length == 1) {
                return StringUtil.capitalize(s);
            }
            final StringBuilder buf = new StringBuilder(40);
            for (final String element : array) {
                buf.append(StringUtil.capitalize(element));
            }
            return buf.toString();
        }
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 21.7K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/base/JoinerTest.java

        }
      }
    
      private static class DontStringMeBro implements CharSequence {
        @Override
        public int length() {
          return 3;
        }
    
        @Override
        public char charAt(int index) {
          return "foo".charAt(index);
        }
    
        @Override
        public CharSequence subSequence(int start, int end) {
          return "foo".subSequence(start, end);
        }
    
        @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 12.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/net/PercentEscaper.java

        }
        this.plusForSpace = plusForSpace;
        this.safeOctets = createSafeOctets(safeChars);
      }
    
      /**
       * Creates a boolean array with entries corresponding to the character values specified in
       * safeChars set to true. The array is as small as is required to hold the given character
       * information.
       */
      private static boolean[] createSafeOctets(String safeChars) {
        int maxChar = -1;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 8.7K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/CharMatcher.java

      public static CharMatcher anyOf(final CharSequence sequence) {
        switch (sequence.length()) {
          case 0:
            return none();
          case 1:
            return is(sequence.charAt(0));
          case 2:
            return isEither(sequence.charAt(0), sequence.charAt(1));
          default:
            // TODO(lowasser): is it potentially worth just going ahead and building a precomputed
            // matcher?
            return new AnyOf(sequence);
        }
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 53.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/primitives/UnsignedLongs.java

       * @since 23.1
       */
      public static void sort(long[] array, int fromIndex, int toIndex) {
        checkNotNull(array);
        checkPositionIndexes(fromIndex, toIndex, array.length);
        for (int i = fromIndex; i < toIndex; i++) {
          array[i] = flip(array[i]);
        }
        Arrays.sort(array, fromIndex, toIndex);
        for (int i = fromIndex; i < toIndex; i++) {
          array[i] = flip(array[i]);
        }
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 17.6K bytes
    - Viewed (0)
  7. guava/src/com/google/common/base/Utf8.java

        int utf8Length = utf16Length;
        int i = 0;
    
        // This loop optimizes for pure ASCII.
        while (i < utf16Length && sequence.charAt(i) < 0x80) {
          i++;
        }
    
        // This loop optimizes for chars less than 0x800.
        for (; i < utf16Length; i++) {
          char c = sequence.charAt(i);
          if (c < 0x800) {
            utf8Length += ((0x7f - c) >>> 31); // branch free!
          } else {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 10 14:11:51 GMT 2023
    - 7K bytes
    - Viewed (0)
  8. 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
       * escaping algorithm to perform more efficiently.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 18 20:55:09 GMT 2022
    - 13.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

         *            context to use
         * @param chlng
         *            The server challenge.
         * @param dest
         *            The destination array in which the user session key will be
         *            placed.
         * @param offset
         *            The offset in the destination array at which the
         *            session key will start.
         * @throws SmbException
         */
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Tue Jul 07 12:07:20 GMT 2020
    - 18.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/hash/AbstractHasher.java

      }
    
      @Override
      @CanIgnoreReturnValue
      public Hasher putUnencodedChars(CharSequence charSequence) {
        for (int i = 0, len = charSequence.length(); i < len; i++) {
          putChar(charSequence.charAt(i));
        }
        return this;
      }
    
      @Override
      @CanIgnoreReturnValue
      public Hasher putString(CharSequence charSequence, Charset charset) {
        return putBytes(charSequence.toString().getBytes(charset));
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jun 15 20:59:00 GMT 2022
    - 3.5K bytes
    - Viewed (0)
Back to top