- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 1,131 for haslit (0.38 sec)
-
guava-tests/test/com/google/common/cache/CacheManualTest.java
assertEquals(ImmutableMap.of(), cache.getAllPresent(asList(1, 2, 3))); stats = cache.stats(); assertEquals(3, stats.missCount()); assertEquals(0, stats.loadSuccessCount()); assertEquals(0, stats.loadExceptionCount()); assertEquals(0, stats.hitCount()); cache.put(2, 22); assertEquals(ImmutableMap.of(2, 22), cache.getAllPresent(asList(1, 2, 3))); stats = cache.stats();
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 5.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/CompactHashSetTest.java
@GwtIncompatible // java.util.Arrays#copyOf(Object[], int), java.lang.reflect.Array public class CompactHashSetTest extends TestCase { public static Test suite() { List<Feature<?>> allFeatures = Arrays.<Feature<?>>asList( CollectionSize.ANY, CollectionFeature.ALLOWS_NULL_VALUES, CollectionFeature.FAILS_FAST_ON_CONCURRENT_MODIFICATION, CollectionFeature.GENERAL_PURPOSE,
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 22 20:09:59 UTC 2024 - 4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/EnumMultisetTest.java
* See the License for the specific language governing permissions and * limitations under the License. */ package com.google.common.collect; import static java.util.Arrays.asList; import com.google.common.annotations.GwtCompatible; import com.google.common.annotations.GwtIncompatible; import com.google.common.annotations.J2ktIncompatible; import com.google.common.collect.testing.AnEnum;
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Feb 26 16:35:21 UTC 2024 - 5.8K bytes - Viewed (0) -
guava/src/com/google/common/primitives/ImmutableDoubleArray.java
return parent.subArray(fromIndex, toIndex).asList(); } // The default List spliterator is not efficiently splittable @Override public Spliterator<Double> spliterator() { return parent.spliterator(); } @Override public boolean equals(@CheckForNull Object object) { if (object instanceof AsList) { AsList that = (AsList) object;
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri May 12 16:34:24 UTC 2023 - 21.7K bytes - Viewed (0) -
guava/src/com/google/common/primitives/ImmutableLongArray.java
return parent.subArray(fromIndex, toIndex).asList(); } // The default List spliterator is not efficiently splittable @Override public Spliterator<Long> spliterator() { return parent.spliterator(); } @Override public boolean equals(@CheckForNull Object object) { if (object instanceof AsList) { AsList that = (AsList) object;
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri May 12 16:34:24 UTC 2023 - 21K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/CollectionToArrayTester.java
Helpers.assertEqualIgnoringOrder(Arrays.asList(expected), Arrays.asList(actual)); } private void expectArrayContentsInOrder(List<E> expected, Object[] actual) { assertEquals("toArray() ordered contents: ", expected, Arrays.asList(actual)); } /** * Returns the {@link Method} instance for {@link #testToArray_isPlainObjectArray()} so that tests * of {@link Arrays#asList(Object[])} can suppress it with {@code
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 21 16:49:06 UTC 2024 - 7.9K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableSortedMultiset.java
* <p>See the Guava User Guide article on <a href= * "https://github.com/google/guava/wiki/ImmutableCollectionsExplained">immutable collections</a>. * * @author Louis Wasserman * @since 12.0 */ @GwtIncompatible // hasn't been tested yet @ElementTypesAreNonnullByDefault public abstract class ImmutableSortedMultiset<E> extends ImmutableMultiset<E> implements SortedMultiset<E> { // TODO(lowasser): GWT compatibility /**
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed May 08 03:01:02 UTC 2024 - 29.5K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/internal/util/NumberUtil.java
private static final List<String> UNITS = unmodifiableList(asList(" B", " KiB", " MiB", " GiB", " TiB", " PiB", " EiB")); private static final List<String> ORDINAL_SUFFIXES = unmodifiableList(asList("th", "st", "nd", "rd", "th", "th", "th", "th", "th", "th")); /** * Percentage (0-...) of given input. *
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 3.3K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/collections/ListElementSource.java
} private List<T> asList() { return Lists.newArrayList(listIterator()); } @Override public T get(int index) { return asList().get(index); } @Override public int indexOf(Object o) { return asList().indexOf(o); } @Override public int lastIndexOf(Object o) { return asList().lastIndexOf(o); } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 02 15:12:15 UTC 2023 - 7K bytes - Viewed (0) -
platforms/core-configuration/input-tracking/src/test/groovy/org/gradle/internal/configuration/inputs/AccessTrackingSetTest.groovy
when: def result = set.containsAll(Arrays.asList('existing', 'other')) then: result 1 * listener.onAccess('existing') 1 * listener.onAccess('other') 0 * listener._ } def "containsAll of missing elements is tracked"() { when: def result = set.containsAll(Arrays.asList('missing', 'alsoMissing')) then: !result
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Nov 11 00:37:04 UTC 2023 - 6K bytes - Viewed (0)