- Sort Score
- Result 10 results
- Languages All
Results 1351 - 1360 of 1,980 for size0 (0.04 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/OneSizeGenerator.java
import java.util.ArrayList; import java.util.Collection; import java.util.List; import org.checkerframework.checker.nullness.qual.Nullable; /** * Generator for collection of a particular size. * * @author George van den Driessche */ @GwtCompatible @ElementTypesAreNonnullByDefault public final class OneSizeGenerator<T, E extends @Nullable Object> implements OneSizeTestContainerGenerator<T, E> {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 2.5K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/RemovalListener.java
* resulting in notification could have occurred to an entry being manually removed or replaced, or * due to eviction resulting from timed expiration, exceeding a maximum size, or garbage collection. * * <p>An instance may be called concurrently by multiple threads to process different entries. * Implementations of this interface should avoid performing blocking calls or synchronizing on
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jun 15 18:00:07 UTC 2021 - 2K bytes - Viewed (0) -
guava/src/com/google/common/collect/SingletonImmutableSet.java
final transient E element; SingletonImmutableSet(E element) { this.element = Preconditions.checkNotNull(element); } @Override public int size() { return 1; } @Override public boolean contains(@CheckForNull Object target) { return element.equals(target); } @Override public UnmodifiableIterator<E> iterator() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 2.6K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/math/DoubleMathBenchmark.java
@BeforeExperiment void setUp() { for (int i = 0; i < ARRAY_SIZE; i++) { positiveDoubles[i] = randomPositiveDouble(); doubles[i] = randomDouble(Long.SIZE); factorials[i] = RANDOM_SOURCE.nextInt(100); } } @Benchmark long log2(int reps) { long tmp = 0; for (int i = 0; i < reps; i++) { int j = i & ARRAY_MASK;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 2.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/CollectionClearTester.java
@CollectionFeature.Require(SUPPORTS_REMOVE) public void testClear() { collection.clear(); assertTrue("After clear(), a collection should be empty.", collection.isEmpty()); assertEquals(0, collection.size()); assertFalse(collection.iterator().hasNext()); } @CollectionFeature.Require(absent = SUPPORTS_REMOVE) @CollectionSize.Require(absent = ZERO) public void testClear_unsupported() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 20:00:30 UTC 2024 - 3.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/ListMultimapAsMapTester.java
public void testValuesRemove() { resetContainer(mapEntry(k0(), v0()), mapEntry(k1(), v0()), mapEntry(k0(), v3())); assertTrue(multimap().asMap().values().remove(singletonList(v0()))); assertEquals(2, multimap().size()); assertEquals(singletonMap(k0(), Lists.newArrayList(v0(), v3())), multimap().asMap()); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 3.9K bytes - Viewed (0) -
android/guava/src/com/google/thirdparty/publicsuffix/TrieParser.java
* Parses a serialized trie representation of a map of reversed public suffixes into an immutable * map of public suffixes. The encoded trie string may be broken into multiple chunks to avoid the * 64k limit on string literal size. In-memory strings can be much larger (2G). */ static ImmutableMap<String, PublicSuffixType> parseTrie(CharSequence... encodedChunks) { String encoded = DIRECT_JOINER.join(encodedChunks);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 13 19:20:43 UTC 2022 - 4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/config/cbean/bs/BsDataConfigCB.java
} if (_specification != null) { builder.setFetchSource(_specification.columnList.toArray(new String[_specification.columnList.size()]), null); } return builder; } // ===================================================================================
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 7.5K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/DefaultProfileSelector.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.3K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/Graph.java
// we are already visiting this vertex, this mean we have a cycle int pos = cycle.lastIndexOf(v.label); List<String> ret = cycle.subList(pos, cycle.size()); ret.add(v.label); return ret; } } return null; } static class Vertex { final String label;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.6K bytes - Viewed (0)