Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for doDifference (0.06 sec)

  1. guava/src/com/google/common/collect/Maps.java

          SortedMap<K, ? extends V> sortedLeft = (SortedMap<K, ? extends V>) left;
          return difference(sortedLeft, right);
        }
        return difference(left, right, Equivalence.equals());
      }
    
      /**
       * Computes the difference between two maps. This difference is an immutable snapshot of the state
       * of the maps at the time this method is called. It will never change, even if the maps change at
       * a later time.
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Nov 17 22:50:48 UTC 2025
    - 163.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/MapsTest.java

        MapDifference<Integer, String> original = Maps.difference(left, right);
        MapDifference<Integer, String> same = Maps.difference(left, right);
        MapDifference<Integer, String> reverse = Maps.difference(right, left);
        MapDifference<Integer, String> diff2 = Maps.difference(left, right2);
    
        new EqualsTester()
            .addEqualityGroup(original, same)
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 22:56:33 UTC 2025
    - 65K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/MapsTest.java

        MapDifference<Integer, String> original = Maps.difference(left, right);
        MapDifference<Integer, String> same = Maps.difference(left, right);
        MapDifference<Integer, String> reverse = Maps.difference(right, left);
        MapDifference<Integer, String> diff2 = Maps.difference(left, right2);
    
        new EqualsTester()
            .addEqualityGroup(original, same)
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 22:56:33 UTC 2025
    - 62.7K bytes
    - Viewed (0)
  4. guava/src/com/google/common/graph/AbstractBaseGraph.java

                          Iterators.transform(
                              // filter out 'node' from successors (already covered by predecessors,
                              // above)
                              Sets.difference(graph.successors(node), ImmutableSet.of(node)).iterator(),
                              (N successor) -> EndpointPair.ordered(node, successor))));
                } else {
                  return Iterators.unmodifiableIterator(
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 07 15:57:03 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

      }
    
      public void testOneSecondBurst() {
        RateLimiter limiter = RateLimiter.create(5.0, stopwatch);
        stopwatch.sleepMillis(1000); // max capacity reached
        stopwatch.sleepMillis(1000); // this makes no difference
        limiter.acquire(1); // R0.00, since it's the first request
    
        limiter.acquire(1); // R0.00, from capacity
        limiter.acquire(3); // R0.00, from capacity
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:19:59 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

      }
    
      public void testOneSecondBurst() {
        RateLimiter limiter = RateLimiter.create(5.0, stopwatch);
        stopwatch.sleepMillis(1000); // max capacity reached
        stopwatch.sleepMillis(1000); // this makes no difference
        limiter.acquire(1); // R0.00, since it's the first request
    
        limiter.acquire(1); // R0.00, from capacity
        limiter.acquire(3); // R0.00, from capacity
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:19:59 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java

      }
    
      /**
       * This test creates a long random sequence of inputs, then a lot of differently configured sinks
       * process it; all should produce the same answer, the only difference should be the number of
       * process()/processRemaining() invocations, due to alignment.
       */
      @AndroidIncompatible // slow. TODO(cpovirk): Maybe just reduce iterations under Android.
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:19:59 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/Helpers.java

       * incorrect values. This is useful for testing methods that must treat the return value from
       * size() as a hint only.
       *
       * @param delta the difference between the true size of the collection and the values returned by
       *     the size method
       */
      public static <T extends @Nullable Object> Collection<T> misleadingSizeCollection(int delta) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Oct 10 23:13:45 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/math/QuantilesTest.java

        // array of indexes to be calculated is modified between the calls to indexes and compute: since
        // the contract is that it is snapshotted, this shouldn't make any difference to the result.
        int[] indexes = {0, 10, 5, 1, 8, 10};
        ScaleAndIndexes intermediate = Quantiles.scale(10).indexes(indexes);
        indexes[0] = 3;
        assertThat(intermediate.compute(SIXTEEN_SQUARES_DOUBLES))
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:45:32 UTC 2025
    - 29.8K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/math/QuantilesTest.java

        // array of indexes to be calculated is modified between the calls to indexes and compute: since
        // the contract is that it is snapshotted, this shouldn't make any difference to the result.
        int[] indexes = {0, 10, 5, 1, 8, 10};
        ScaleAndIndexes intermediate = Quantiles.scale(10).indexes(indexes);
        indexes[0] = 3;
        assertThat(intermediate.compute(SIXTEEN_SQUARES_DOUBLES))
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:45:32 UTC 2025
    - 29.8K bytes
    - Viewed (0)
Back to top