- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 57 for doDifference (0.12 sec)
-
android/guava-tests/test/com/google/common/collect/SetOperationsTest.java
Set<String> enemies = newHashSet("Dick", "Harry", "Tom"); Set<String> goodFriends = Sets.difference(friends, enemies); assertEquals(2, goodFriends.size()); ImmutableSet<String> immut = Sets.difference(friends, enemies).immutableCopy(); HashSet<String> mut = Sets.difference(friends, enemies).copyInto(new HashSet<String>()); enemies.add("Dave"); assertEquals(1, goodFriends.size());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 14.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/SetOperationsTest.java
Set<String> enemies = newHashSet("Dick", "Harry", "Tom"); Set<String> goodFriends = Sets.difference(friends, enemies); assertEquals(2, goodFriends.size()); ImmutableSet<String> immut = Sets.difference(friends, enemies).immutableCopy(); HashSet<String> mut = Sets.difference(friends, enemies).copyInto(new HashSet<String>()); enemies.add("Dave"); assertEquals(1, goodFriends.size());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 14.5K bytes - Viewed (0) -
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: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri May 12 18:32:03 UTC 2023 - 15.3K bytes - Viewed (0) -
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 Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 14:28:19 UTC 2024 - 21.8K bytes - Viewed (0) -
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 Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 14:28:19 UTC 2024 - 21.8K bytes - Viewed (0) -
docs/bucket/replication/setup_3site_replication.sh
./mc cp --enc-s3 "sitea/" --quiet /etc/hosts sitea/bucket sleep 1 echo "Copying data to source sitea/olockbucket" ./mc cp --quiet /etc/hosts sitea/olockbucket sleep 1 echo "Verifying the metadata difference between source and target" if diff -pruN <(./mc stat --no-list --json sitea/bucket/hosts | jq .) <(./mc stat --no-list --json siteb/bucket/hosts | jq .) | grep -q 'COMPLETED\|REPLICA'; then
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Sep 24 08:03:58 UTC 2024 - 10.3K bytes - Viewed (0) -
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: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Mon May 13 09:53:45 UTC 2024 - 15K bytes - Viewed (0) -
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: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 20.8K bytes - Viewed (0) -
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: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 21.2K bytes - Viewed (0) -
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: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 27K bytes - Viewed (0)