Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 147 for Scharf (0.22 sec)

  1. android/guava-tests/test/com/google/common/primitives/CharsTest.java

                    new char[] {(char) 2, (char) 3, (char) 4}))
            .isEqualTo(2);
        assertThat(
                Chars.indexOf(
                    new char[] {(char) 2, (char) 2, (char) 3, (char) 4, (char) 2, (char) 3, (char) 4},
                    new char[] {(char) 2, (char) 3, (char) 4}))
            .isEqualTo(1);
        assertThat(
                Chars.indexOf(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 24.7K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/google/ListGenerators.java

        public List<Character> create(Character[] elements) {
          char[] chars = Chars.toArray(Arrays.asList(elements));
          return Lists.charactersOf(String.copyValueOf(chars));
        }
      }
    
      public static class CharactersOfCharSequenceGenerator extends TestCharacterListGenerator {
        @Override
        public List<Character> create(Character[] elements) {
          char[] chars = Chars.toArray(Arrays.asList(elements));
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 5K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/lang/StringUtilTest.java

            }
            char[] chars = new char[0];
            assertThat(StringUtil.newStringUnsafe(chars), is(""));
            chars = new char[] { 'a', 'b', 'c' };
            assertThat(StringUtil.newStringUnsafe(chars), is("abc"));
            chars = new char[] { 'a', 'b', 'c', ' ' };
            assertThat(StringUtil.newStringUnsafe(chars), is("abc "));
        }
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 12K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/lang/StringUtil.java

            if (isEmpty(name)) {
                return name;
            }
            final char[] chars = name.toCharArray();
            if (chars.length >= 2 && Character.isUpperCase(chars[0]) && Character.isUpperCase(chars[1])) {
                return name;
            }
            chars[0] = Character.toLowerCase(chars[0]);
            return new String(chars);
        }
    
        /**
    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)
  5. 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)
  6. guava-testlib/src/com/google/common/collect/testing/TestCharacterListGenerator.java

     * limitations under the License.
     */
    
    package com.google.common.collect.testing;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.testing.SampleElements.Chars;
    import java.util.List;
    
    /**
     * Generates {@code List<Character>} instances for test suites.
     *
     * @author Kevin Bourrillion
     * @author Louis Wasserman
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/hash/Murmur3_32HashFunction.java

          int h1 = seed;
          int i = 0;
          int len = 0;
    
          // This loop optimizes for pure ASCII.
          while (i + 4 <= utf16Length) {
            char c0 = input.charAt(i);
            char c1 = input.charAt(i + 1);
            char c2 = input.charAt(i + 2);
            char c3 = input.charAt(i + 3);
            if (c0 < 0x80 && c1 < 0x80 && c2 < 0x80 && c3 < 0x80) {
              int k1 = c0 | (c1 << 8) | (c2 << 16) | (c3 << 24);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jun 15 20:59:00 GMT 2022
    - 11.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/primitives/package-info.java

     *
     * <ul>
     *   <li>{@link Booleans}
     *   <li>{@link Bytes}
     *       <ul>
     *         <li>{@link SignedBytes}
     *         <li>{@link UnsignedBytes}
     *       </ul>
     *   <li>{@link Chars}
     *   <li>{@link Doubles}
     *   <li>{@link Floats}
     *   <li>{@link Ints}
     *       <ul>
     *         <li>{@link UnsignedInts}
     *       </ul>
     *   <li>{@link Longs}
     *       <ul>
     *         <li>{@link UnsignedLongs}
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jun 26 21:13:41 GMT 2023
    - 2K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/hash/HashTestUtils.java

          HashFunction hashFunction, Random random) {
        int size = random.nextInt(8) + 1;
        char[] chars = new char[size];
        for (int i = 0; i < chars.length; i++) {
          chars[i] = random.nextBoolean() ? randomLowSurrogate(random) : randomHighSurrogate(random);
        }
        String string = new String(chars);
        assertEquals(
            hashFunction.hashUnencodedChars(string),
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 25.3K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/primitives/CharArrayAsListTest.java

          return insertionOrder;
        }
      }
    
      public static class SampleChars extends SampleElements<Character> {
        public SampleChars() {
          super((char) 0, (char) 1, (char) 2, (char) 3, (char) 4);
        }
      }
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 5.7K bytes
    - Viewed (0)
Back to top