- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 114 for didn (0.15 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/google/MultisetAddTester.java
try { getMultiset().add(e0(), 2); fail("unsupported multiset.add(E, int) didn't throw exception"); } catch (UnsupportedOperationException required) { } } @CollectionFeature.Require(SUPPORTS_ADD) public void testAddOccurrencesNegative() { try { getMultiset().add(e0(), -1); fail("multiset.add(E, -1) didn't throw an exception"); } catch (IllegalArgumentException required) { } }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Jan 09 20:10:38 GMT 2018 - 4.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/CacheBuilderTest.java
assertEquals(1, map.segments[3].table.length()); } public void testInitialCapacity_large() { CacheBuilder.newBuilder().initialCapacity(Integer.MAX_VALUE); // that the builder didn't blow up is enough; // don't actually create this monster! } public void testConcurrencyLevel_zero() { CacheBuilder<Object, Object> builder = CacheBuilder.newBuilder(); try {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Oct 03 20:10:02 GMT 2023 - 23.2K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultisetRemoveTester.java
"multiset.remove(absent, 2) didn't return 0 or throw an exception", 0, getMultiset().remove(e3(), 2)); } catch (UnsupportedOperationException ok) { } } @CollectionFeature.Require(SUPPORTS_REMOVE) public void testRemove_occurrences_0() { int oldCount = getMultiset().count(e0()); assertEquals( "multiset.remove(E, 0) didn't return the old count", oldCount,
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 7K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultisetCountTester.java
public class MultisetCountTester<E> extends AbstractMultisetTester<E> { public void testCount_0() { assertEquals("multiset.count(missing) didn't return 0", 0, getMultiset().count(e3())); } @CollectionSize.Require(absent = ZERO) public void testCount_1() { assertEquals("multiset.count(present) didn't return 1", 1, getMultiset().count(e0())); } @CollectionSize.Require(SEVERAL) public void testCount_3() {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 3.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultisetCountTester.java
public class MultisetCountTester<E> extends AbstractMultisetTester<E> { public void testCount_0() { assertEquals("multiset.count(missing) didn't return 0", 0, getMultiset().count(e3())); } @CollectionSize.Require(absent = ZERO) public void testCount_1() { assertEquals("multiset.count(present) didn't return 1", 1, getMultiset().count(e0())); } @CollectionSize.Require(SEVERAL) public void testCount_3() {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 3.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultisetAddTester.java
try { getMultiset().add(e0(), 2); fail("unsupported multiset.add(E, int) didn't throw exception"); } catch (UnsupportedOperationException required) { } } @CollectionFeature.Require(SUPPORTS_ADD) public void testAddOccurrencesNegative() { try { getMultiset().add(e0(), -1); fail("multiset.add(E, -1) didn't throw an exception"); } catch (IllegalArgumentException required) { } }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Jan 09 20:10:38 GMT 2018 - 4.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultisetRemoveTester.java
"multiset.remove(absent, 2) didn't return 0 or throw an exception", 0, getMultiset().remove(e3(), 2)); } catch (UnsupportedOperationException ok) { } } @CollectionFeature.Require(SUPPORTS_REMOVE) public void testRemove_occurrences_0() { int oldCount = getMultiset().count(e0()); assertEquals( "multiset.remove(E, 0) didn't return the old count", oldCount,
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 7K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/LenientSerializableTester.java
* identical to the original. * * @author Chris Povirk */ /* * The whole thing is really @GwtIncompatible, but GwtJUnitConvertedTestModule doesn't have a * parameter for non-GWT, non-test files, and it didn't seem worth adding one for this unusual case. */ @GwtCompatible(emulated = true) final class LenientSerializableTester { /* * TODO(cpovirk): move this to c.g.c.testing if we allow for c.g.c.annotations dependencies so
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Aug 04 15:33:27 GMT 2020 - 2.5K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/Crc32cHashFunction.java
protected HashCode makeHash() { if (!finished) { // processRemaining does teardown we always want to do -- the folding together of the four // rolling CRCs. So we call it on an empty ByteBuffer if we didn't already. processRemaining(EMPTY); } return HashCode.fromInt(~crc0); } static final int[] BYTE_TABLE = {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Apr 20 18:43:59 GMT 2021 - 21.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/graph/AbstractGraphTest.java
*/ public abstract class AbstractGraphTest { Graph<Integer> graph; /** * The same reference as {@link #graph}, except as a mutable graph. This field is null in case * {@link #createGraph()} didn't return a mutable graph. */ MutableGraph<Integer> graphAsMutableGraph; static final Integer N1 = 1; static final Integer N2 = 2; static final Integer N3 = 3; static final Integer N4 = 4;
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Jan 22 17:29:38 GMT 2024 - 16.6K bytes - Viewed (0)