Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 73 for echarts (0.21 sec)

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

        assertThat(Chars.contains(ARRAY234, (char) 2)).isTrue();
        assertThat(Chars.contains(ARRAY234, (char) 3)).isTrue();
        assertThat(Chars.contains(ARRAY234, (char) 4)).isTrue();
      }
    
      public void testIndexOf() {
        assertThat(Chars.indexOf(EMPTY, (char) 1)).isEqualTo(-1);
        assertThat(Chars.indexOf(ARRAY1, (char) 2)).isEqualTo(-1);
        assertThat(Chars.indexOf(ARRAY234, (char) 1)).isEqualTo(-1);
    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. android/guava-tests/benchmark/com/google/common/base/AsciiBenchmark.java

          chars.add(randomAlpha());
        }
        for (int i = 0; i < nonAlpha; i++) {
          chars.add(randomNonAlpha());
        }
        Collections.shuffle(chars, random);
        char[] array = Chars.toArray(chars);
        this.testString = new String(array);
      }
    
      private char randomAlpha() {
        return ALPHA.charAt(random.nextInt(ALPHA.length()));
      }
    
      private char randomNonAlpha() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.8K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/google/ListGenerators.java

          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)
  4. guava-tests/test/com/google/common/escape/ArrayBasedUnicodeEscaperTest.java

      private static final ImmutableMap<Character, String> SIMPLE_REPLACEMENTS =
          ImmutableMap.of(
              '\n', "<newline>",
              '\t', "<tab>",
              '&', "<and>");
      private static final char[] NO_CHARS = new char[0];
    
      public void testReplacements() throws IOException {
        // In reality this is not a very sensible escaper to have (if you are only
        // escaping elements from a map you would use a ArrayBasedCharEscaper).
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 07 23:02:38 GMT 2024
    - 5K bytes
    - Viewed (1)
  5. 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)
  6. guava-tests/test/com/google/common/hash/AbstractNonStreamingHashFunctionTest.java

              HashTestUtils.randomLowSurrogate(new Random())
            });
      }
    
      private static void assertPutString(char[] chars) {
        Hasher h1 = new NonStreamingVersion().newHasher();
        Hasher h2 = new NonStreamingVersion().newHasher();
        String s = new String(chars);
        // this is the correct implementation of the spec
        for (int i = 0; i < s.length(); i++) {
          h1.putChar(s.charAt(i));
        }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.4K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/hash/AbstractNonStreamingHashFunctionTest.java

              HashTestUtils.randomLowSurrogate(new Random())
            });
      }
    
      private static void assertPutString(char[] chars) {
        Hasher h1 = new NonStreamingVersion().newHasher();
        Hasher h2 = new NonStreamingVersion().newHasher();
        String s = new String(chars);
        // this is the correct implementation of the spec
        for (int i = 0; i < s.length(); i++) {
          h1.putChar(s.charAt(i));
        }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/hash/Murmur3_32HashFunction.java

    import static com.google.common.base.Preconditions.checkState;
    import static com.google.common.primitives.UnsignedBytes.toInt;
    
    import com.google.common.base.Charsets;
    import com.google.common.primitives.Chars;
    import com.google.common.primitives.Ints;
    import com.google.common.primitives.Longs;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import com.google.errorprone.annotations.Immutable;
    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)
  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. 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)
Back to top