- Sort Score
- Result 10 results
- Languages All
Results 371 - 380 of 2,067 for sizes (0.02 sec)
-
guava/src/com/google/common/collect/ImmutableSortedMap.java
default: Object[] keys = new Object[size]; Object[] values = new Object[size]; if (sameComparator) { // Need to check for nulls, but don't need to sort or validate. for (int i = 0; i < size; i++) { // requireNonNull is safe because the first `size` elements have been filled in. Entry<K, V> entry = requireNonNull(entryArray[i]);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 50.4K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/hash/ChecksumBenchmark.java
* * <ul> * <li>size: The length of the byte array to hash. * </ul> * * @author Colin Decker */ public class ChecksumBenchmark { // Use a constant seed for all of the benchmarks to ensure apples to apples comparisons. private static final int RANDOM_SEED = new Random().nextInt(); @Param({"10", "1000", "100000", "1000000"}) private int size; private byte[] testBytes;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 16 16:53:43 UTC 2024 - 3.4K bytes - Viewed (0) -
src/test/java/org/codelibs/core/misc/DisposableUtilTest.java
public void test1() throws Exception { DisposableUtil.add(new TestDisposable("a")); assertThat(DisposableUtil.disposables.size(), is(1)); DisposableUtil.dispose(); assertThat(count, is(1)); assertThat(names, is("a")); assertThat(DisposableUtil.disposables.size(), is(0)); } /** * @throws Exception */ @Test public void test2() throws Exception {
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 3.3K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabase.kt
val rule = findMatchingRule(domainLabels) if (domainLabels.size == rule.size && rule[0][0] != EXCEPTION_MARKER) { return null // The domain is a public suffix. } val firstLabelOffset = if (rule[0][0] == EXCEPTION_MARKER) { // Exception rules hold the effective TLD plus one. domainLabels.size - rule.size } else {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 11.7K bytes - Viewed (0) -
build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocExtensionsBuilderTest.groovy
doc.mergeContent() } then: doc.classExtensions.size() == 2 doc.classExtensions[0].pluginId == 'a' doc.classExtensions[0].extensionClasses == [n1: extensionA1, n2: extensionA2] doc.classExtensions[0].extensionProperties.size() == 2 doc.classExtensions[0].extensionBlocks.size() == 2 doc.classExtensions[1].pluginId == 'b'
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 7.5K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t06/ProjectInheritanceTest.java
Set set = project1.getArtifacts(); assertNotNull(set, "No artifacts"); assertTrue(set.size() > 0, "No Artifacts"); Iterator iter = set.iterator(); assertTrue(set.size() == 4, "Set size should be 4, is " + set.size()); while (iter.hasNext()) { Artifact artifact = (Artifact) iter.next();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapKeySetTester.java
int key0Count = multimap().get(k0()).size(); assertEquals(key0Count > 0, multimap().keySet().remove(k0())); assertEquals(getNumElements() - key0Count, multimap().size()); assertGet(k0()); } @CollectionSize.Require(absent = ZERO) @CollectionFeature.Require(SUPPORTS_ITERATOR_REMOVE) public void testKeySetIteratorRemove() { int key0Count = multimap().get(k0()).size();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 20:12:35 UTC 2024 - 3K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/DefaultGraphConflictResolver.java
} // System.err.println("Original graph("+graph.getVertices().size()+"):\n"+graph.toString()); // System.err.println("Cleaned("+requestedScope+") graph("+res.getVertices().size()+"):\n"+res.toString()); // System.err.println("Linked("+requestedScope+") // subgraph("+linkedRes.getVertices().size()+"):\n"+linkedRes.toString()); return findLinkedSubgraph(res);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/DenseImmutableTable.java
this.values = array; this.rowKeyToIndex = Maps.indexMap(rowSpace); this.columnKeyToIndex = Maps.indexMap(columnSpace); rowCounts = new int[rowKeyToIndex.size()]; columnCounts = new int[columnKeyToIndex.size()]; int[] cellRowIndices = new int[cellList.size()]; int[] cellColumnIndices = new int[cellList.size()];
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 10.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/searchlist/SearchBody.java
public class SearchBody extends ListForm { // `size` is an alias of `num`. // `size` is prepared to be compatible with other Admin APIs @ValidateTypeFailure public Integer size; @Override public void initialize() { if (size != null) { num = num == null || num < size ? size : num; } super.initialize(); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 1.2K bytes - Viewed (0)