Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 61 for Quality (0.16 sec)

  1. guava-tests/test/com/google/common/escape/ArrayBasedUnicodeEscaperTest.java

              '\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).
        UnicodeEscaper escaper =
            new ArrayBasedUnicodeEscaper(
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 07 23:02:38 GMT 2024
    - 5K bytes
    - Viewed (1)
  2. android/guava/src/com/google/common/graph/StandardNetwork.java

      @Override
      public Set<E> edgesConnecting(N nodeU, N nodeV) {
        NetworkConnections<N, E> connectionsU = checkedConnections(nodeU);
        if (!allowsSelfLoops && nodeU == nodeV) { // just an optimization, only check reference equality
          return ImmutableSet.of();
        }
        checkArgument(containsNode(nodeV), NODE_NOT_IN_GRAPH, nodeV);
        return nodePairInvalidatableSet(connectionsU.edgesConnecting(nodeV), nodeU, nodeV);
      }
    
      @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/cache/PopulatedCachesTest.java

        // WARMUP_MAX), but the tests assume no values get evicted. Even with a maximumSize of 100, one
        // of the values gets evicted. With weak keys, we use identity equality, which means using
        // System.identityHashCode, which means the assignment of keys to segments is nondeterministic,
        // so more than (maximumSize / #segments) keys could get assigned to the same segment, which
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 15K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/primitives/UnsignedLongs.java

       * example, {@code [] < [1L] < [1L, 2L] < [2L] < [1L << 63]}.
       *
       * <p>The returned comparator is inconsistent with {@link Object#equals(Object)} (since arrays
       * support only identity equality), but it is consistent with {@link Arrays#equals(long[],
       * long[])}.
       */
      public static Comparator<long[]> lexicographicalComparator() {
        return LexicographicalComparator.INSTANCE;
      }
    
    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)
  5. android/guava-tests/test/com/google/common/hash/HashingTest.java

        assertSeedlessHashFunctionEquals(Hashing.class);
      }
    
      public void testSeededHashFunctionEquals() throws Exception {
        assertSeededHashFunctionEquals(Hashing.class);
      }
    
      /**
       * Tests equality of {@link Hashing#goodFastHash} instances. This test must be separate from
       * {@link #testSeededHashFunctionEquals} because the parameter to {@code goodFastHash} is a size,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 26.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/primitives/Booleans.java

       * lesser. For example, {@code [] < [false] < [false, true] < [true]}.
       *
       * <p>The returned comparator is inconsistent with {@link Object#equals(Object)} (since arrays
       * support only identity equality), but it is consistent with {@link Arrays#equals(boolean[],
       * boolean[])}.
       *
       * @since 2.0
       */
      public static Comparator<boolean[]> lexicographicalComparator() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 19.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/Predicates.java

        public boolean equals(@CheckForNull Object obj) {
          if (obj instanceof ContainsPatternPredicate) {
            ContainsPatternPredicate that = (ContainsPatternPredicate) obj;
    
            // Pattern uses Object (identity) equality, so we have to reach
            // inside to compare individual fields.
            return Objects.equal(pattern.pattern(), that.pattern.pattern())
                && pattern.flags() == that.pattern.flags();
          }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/primitives/Shorts.java

       * lesser. For example, {@code [] < [(short) 1] < [(short) 1, (short) 2] < [(short) 2]}.
       *
       * <p>The returned comparator is inconsistent with {@link Object#equals(Object)} (since arrays
       * support only identity equality), but it is consistent with {@link Arrays#equals(short[],
       * short[])}.
       *
       * @since 2.0
       */
      public static Comparator<short[]> lexicographicalComparator() {
        return LexicographicalComparator.INSTANCE;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 25.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/primitives/Longs.java

       * example, {@code [] < [1L] < [1L, 2L] < [2L]}.
       *
       * <p>The returned comparator is inconsistent with {@link Object#equals(Object)} (since arrays
       * support only identity equality), but it is consistent with {@link Arrays#equals(long[],
       * long[])}.
       *
       * @since 2.0
       */
      public static Comparator<long[]> lexicographicalComparator() {
        return LexicographicalComparator.INSTANCE;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 28.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Range.java

       * this range.
       */
      public boolean containsAll(Iterable<? extends C> values) {
        if (Iterables.isEmpty(values)) {
          return true;
        }
    
        // this optimizes testing equality of two range-backed sets
        if (values instanceof SortedSet) {
          SortedSet<? extends C> set = (SortedSet<? extends C>) values;
          Comparator<?> comparator = set.comparator();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 27.8K bytes
    - Viewed (0)
Back to top