- Sort Score
- Result 10 results
- Languages All
Results 511 - 520 of 1,199 for expectGet (0.14 sec)
-
guava/src/com/google/common/collect/HashMultimap.java
* MultimapBuilder.hashKeys(expectedKeys).hashSetValues(expectedValuesPerKey).build()}, which * provides more control over the underlying data structure. * * @param expectedKeys the expected number of distinct keys * @param expectedValuesPerKey the expected average number of values per key * @throws IllegalArgumentException if {@code expectedKeys} or {@code expectedValuesPerKey} is * negative */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Aug 02 10:02:49 UTC 2024 - 6.1K bytes - Viewed (0) -
docs/bucket/replication/delete-replication.sh
./mc ls -r --versions myminio1/testbucket >/tmp/myminio1.txt ./mc ls -r --versions myminio2/testbucket >/tmp/myminio2.txt out=$(diff -qpruN /tmp/myminio1.txt /tmp/myminio2.txt) ret=$? if [ $ret -ne 0 ]; then echo "BUG: expected no missing entries after replication: $out" exit 1 fi ./mc rm myminio1/testbucket/dir/file sleep 1s ./mc ls -r --versions myminio1/testbucket >/tmp/myminio1.txt
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Sep 06 09:42:21 UTC 2024 - 3.9K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Predicate.java
* or method references instead of classes, leaving your code easier to migrate in the future. * * <p>To use a reference of this type (say, named {@code guavaPredicate}) in a context where {@code * java.util.function.Predicate} is expected, use the method reference {@code * guavaPredicate::apply}. For the other direction, use {@code javaUtilPredicate::test}. A future * version of this interface will be made to <i>extend</i> {@code java.util.function.Predicate}, so
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 15 16:12:13 UTC 2024 - 3.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableListTest.java
for (int i = 0; i < sample.size(); i++) { Collection<String> misleading = misleadingSizeCollection(delta); List<String> expected = sample.subList(0, i); misleading.addAll(expected); assertEquals(expected, ImmutableList.copyOf(misleading)); assertEquals(expected, ImmutableList.copyOf((Iterable<String>) misleading)); } } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 24.1K bytes - Viewed (0) -
internal/dsync/dsync_test.go
wg.Wait() // We expect at least 3 x 2 x testDrwMutexAcquireTimeout to have passed elapsed := time.Since(started) if elapsed < expect { t.Errorf("expected at least %v time have passed, however %v passed", expect, elapsed) } t.Logf("expected at least %v time have passed, %v passed", expect, elapsed) } // Test two locks for different resources, both succeed
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Jun 19 14:35:19 UTC 2024 - 11.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/BloomFilterTest.java
IllegalArgumentException expected = assertThrows( IllegalArgumentException.class, () -> { BloomFilter<String> unused = BloomFilter.create(HashTestUtils.BAD_FUNNEL, Integer.MAX_VALUE, Double.MIN_VALUE); }); assertThat(expected) .hasMessageThat()
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 14:28:19 UTC 2024 - 21.2K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/TearDownStackTest.java
assertEquals(false, tearDownTwo.ran); try { stack.runTearDown(); fail("runTearDown should have thrown an exception"); } catch (ClusterException expected) { assertThat(expected).hasCauseThat().hasMessageThat().isEqualTo("two"); } catch (RuntimeException e) { throw new RuntimeException(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Jun 21 10:19:29 UTC 2024 - 4.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/ClosingFutureFinishToValueAndCloserTest.java
ValueAndCloser<?> valueAndCloser = finishToValueAndCloser(closingFuture); try { valueAndCloser.get(); fail(); } catch (ExecutionException expected) { assertThat(expected).hasCauseThat().isSameInstanceAs(exception); } valueAndCloser.closeAsync(); } @Override void assertBecomesCanceled(ClosingFuture<?> closingFuture) throws ExecutionException {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 5.7K bytes - Viewed (0) -
doc/next/1-intro.md
--> <style> main ul li { margin: 0.5em 0; } </style> ## DRAFT RELEASE NOTES — Introduction to Go 1.24 {#introduction} **Go 1.24 is not yet released. These are work-in-progress release notes.
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Jul 22 17:55:04 UTC 2024 - 408 bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/FluentIterableTest.java
FluentIterable<String> cycle = FluentIterable.from(asList("a", "b")).cycle(); int howManyChecked = 0; for (String string : cycle) { String expected = (howManyChecked % 2 == 0) ? "a" : "b"; assertEquals(expected, string); if (howManyChecked++ == 5) { break; } } // We left the last iterator pointing to "b". But a new iterator should
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 30.4K bytes - Viewed (0)