Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 129 for Scharf (0.41 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. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. android/guava-tests/test/com/google/common/io/CharSourceTest.java

        String expected = "abcdabcd";
    
        // read the first 8 chars manually, since there's no equivalent to ByteSource.slice
        // TODO(cgdecker): Add CharSource.slice?
        StringBuilder builder = new StringBuilder();
        Reader reader = concatenated.openStream(); // no need to worry about closing
        for (int i = 0; i < 8; i++) {
          builder.append((char) reader.read());
        }
        assertEquals(expected, builder.toString());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 12K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/MultimapsTest.java

    import com.google.common.collect.testing.IteratorTester;
    import com.google.common.collect.testing.google.UnmodifiableCollectionTests;
    import com.google.common.primitives.Chars;
    import com.google.common.testing.CollectorTester;
    import com.google.common.testing.EqualsTester;
    import com.google.common.testing.NullPointerTester;
    import com.google.common.testing.SerializableTester;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 42.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/Ascii.java

        if (chars instanceof String) {
          return toLowerCase((String) chars);
        }
        char[] newChars = new char[chars.length()];
        for (int i = 0; i < newChars.length; i++) {
          newChars[i] = toLowerCase(chars.charAt(i));
        }
        return String.valueOf(newChars);
      }
    
      /**
       * If the argument is an {@linkplain #isUpperCase(char) uppercase ASCII character}, returns the
    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)
Back to top