- Sort Score
- Result 10 results
- Languages All
Results 741 - 750 of 1,826 for we (0.01 sec)
-
android/guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java
.containsExactly(0.0, 1.0, 3.0, 6.0, 10.0, 15.0, 21.0) .inOrder(); } public void testCopyOf_array_empty() { /* * We don't guarantee the same-as property, so we aren't obligated to test it. However, it's * useful in testing - when two things are the same then one can't have bugs the other doesn't. */ assertThat(ImmutableDoubleArray.copyOf(new double[0]))
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 21.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/DerivedComparable.java
import com.google.common.annotations.GwtCompatible; import com.google.common.annotations.GwtIncompatible; import com.google.common.annotations.J2ktIncompatible; /** * Simple derived class to verify that we handle generics correctly. * * @author Kevin Bourrillion */ @GwtCompatible public class DerivedComparable extends BaseComparable { public DerivedComparable(String s) { super(s); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 17:34:21 UTC 2025 - 1.1K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/MapMaker.java
public MapMaker concurrencyLevel(int concurrencyLevel) { checkArgument( concurrencyLevel >= 1, "concurrency level (%s) must be at least 1", concurrencyLevel); // GWT technically only supports concurrencyLevel == 1, but we silently // ignore other positive values. return this; } public <K, V> ConcurrentMap<K, V> makeMap() { return new ConcurrentHashMap<K, V>(initialCapacity); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 1.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/EnumMultiset.java
} @Override public int size() { return Ints.saturatedCast(size); } @Override public int count(@Nullable Object element) { // isActuallyE checks for null, but we check explicitly to help nullness checkers. if (element == null || !isActuallyE(element)) { return 0; } Enum<?> e = (Enum<?>) element; return counts[e.ordinal()]; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 9.3K bytes - Viewed (0) -
.teamcity/src/main/kotlin/configurations/CheckTeamCityKotlinDSL.kt
Registered: Wed Sep 10 11:36:15 UTC 2025 - Last Modified: Thu Jul 31 01:53:09 UTC 2025 - 1.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainBeforeHookTest.java
// This test verifies that the DBFluteSystem is properly unlocked and locked // during the process, though we can't directly test the lock state // When try { curtainBeforeHook.processDBFluteSystem(); // Then - if we get here without exception, the unlock/lock worked DfFinalTimeZoneProvider provider = getDBFluteSystemTimeZoneProvider();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 8.1K bytes - Viewed (0) -
guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java
latch = new CountDownLatch(1); future = createListenableFuture(Boolean.TRUE, null, latch); } @Override protected void tearDown() throws Exception { // Make sure we have no waiting threads. latch.countDown(); } /** Constructs a listenable future with a value available after the latch has counted down. */ protected abstract <V> ListenableFuture<V> createListenableFuture(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 6.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ComparisonChainTest.java
.add("aString", aString) .add("anInt", anInt) .add("anEnum", anEnum) .toString(); } } /** Validates that the Comparator equivalent we document is correct. */ @J2ktIncompatible // TODO b/315311435 - J2kt cannot emulate Comparator<C>.<U>thenComparing() public void testComparatorEquivalent() { Comparator<Foo> comparatorUsingComparisonChain =
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 12 03:05:13 UTC 2025 - 7.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/ResourcesTest.java
// Check that we can find a resource if it is visible to the context class // loader, even if it is not visible to the loader of the Resources class. File tempFile = createTempFile(); PrintWriter writer = new PrintWriter(tempFile, "UTF-8"); writer.println("rud a chur ar an méar fhada"); writer.close(); // First check that we can't find it without setting the context loader.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed May 14 19:40:47 UTC 2025 - 6.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/SynchronizedDequeTest.java
protected Deque<String> create() { TestDeque<String> inner = new TestDeque<>(); Deque<String> outer = Synchronized.deque(inner, inner.mutex); outer.add("foo"); // necessary because we try to remove elements later on return outer; } private static final class TestDeque<E> implements Deque<E> { private final Deque<E> delegate = new LinkedList<>();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 7.4K bytes - Viewed (0)