Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 347 for difference (1.15 sec)

  1. android/guava-tests/test/com/google/common/collect/MultisetsTest.java

        assertThat(Multisets.difference(ms1, ms2)).containsExactly("a", "b");
      }
    
      public void testDifferenceWithRemovedElement() {
        Multiset<String> ms1 = HashMultiset.create(Arrays.asList("a", "b", "a"));
        Multiset<String> ms2 = HashMultiset.create(Arrays.asList("b"));
        assertThat(Multisets.difference(ms1, ms2)).containsExactly("a", "a");
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 15:27:58 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/TimeLimiter.java

       * propagated. If, on the other hand, the time limit is reached, we attempt to abort the call to
       * the target, and throw a {@link TimeoutException} to the caller.
       *
       * <p>The difference with {@link #callWithTimeout(Callable, long, TimeUnit)} is that this method
       * will ignore interrupts on the current thread.
       *
       * @param callable the Callable to execute
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 18:32:03 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  3. 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: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 21.6K bytes
    - Viewed (0)
  4. 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: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 21.6K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/JavaPathType.java

     * <h2>Relationship with Java compiler standard location</h2>
     * This enumeration is closely related to the {@link JavaFileManager.Location} enumerations.
     * A difference is that the latter enumerates input and output files, while {@code JavaPathType}
     * enumerates only input dependencies. Another difference is that {@code JavaPathType} contains
     * some enumeration values used only at runtime and therefore not available in {@code javax.tool},
     * such as agent paths.
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon May 13 09:53:45 UTC 2024
    - 15K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

              .put(Ordering.class, AlwaysEqual.INSTANCE)
              .put(Range.class, Range.all())
              .put(MapDifference.class, Maps.difference(ImmutableMap.of(), ImmutableMap.of()))
              .put(
                  SortedMapDifference.class,
                  Maps.difference(ImmutableSortedMap.of(), ImmutableSortedMap.of()))
              // reflect
              .put(AnnotatedElement.class, Object.class)
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 17 16:33:44 UTC 2024
    - 20.5K bytes
    - Viewed (0)
  7. maven-core/plugin-manager.txt

     * resources
     *
     * We need to look at Maven, and Nexus as use cases and figure out what each of them needs to be
     * able to do
     *
     * - now what is really the difference between this and loading a component in plexus - custom
     * classloading capability - remote resolution of dependencies - do we want a model for sharing
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Jul 18 22:45:13 UTC 2022
    - 12.9K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

              .put(Ordering.class, AlwaysEqual.INSTANCE)
              .put(Range.class, Range.all())
              .put(MapDifference.class, Maps.difference(ImmutableMap.of(), ImmutableMap.of()))
              .put(
                  SortedMapDifference.class,
                  Maps.difference(ImmutableSortedMap.of(), ImmutableSortedMap.of()))
              // reflect
              .put(AnnotatedElement.class, Object.class)
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 17 16:33:44 UTC 2024
    - 21K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ImmutableRangeSet.java

      }
    
      /**
       * Returns a new range set consisting of the difference of this range set and {@code other}.
       *
       * <p>This is essentially the same as {@code TreeRangeSet.create(this).removeAll(other)} except it
       * returns an {@code ImmutableRangeSet}.
       *
       * @since 21.0
       */
      public ImmutableRangeSet<C> difference(RangeSet<C> other) {
        RangeSet<C> copy = TreeRangeSet.create(this);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/math/IntMath.java

       */
      public static int checkedAdd(int a, int b) {
        long result = (long) a + b;
        checkNoOverflow(result == (int) result, "checkedAdd", a, b);
        return (int) result;
      }
    
      /**
       * Returns the difference of {@code a} and {@code b}, provided it does not overflow.
       *
       * @throws ArithmeticException if {@code a - b} overflows in signed {@code int} arithmetic
       */
      public static int checkedSubtract(int a, int b) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 23.5K bytes
    - Viewed (0)
Back to top