- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 33 for sizes (0.17 sec)
-
android/guava/src/com/google/common/collect/MapMakerInternalMap.java
* which are awaiting cleanup. */ volatile int count; /** * Number of updates that alter the size of the table. This is used during bulk-read methods to * make sure they see a consistent snapshot: If modCounts change during a traversal of segments * computing size or checking containsValue, then we might have an inconsistent view of state so * (usually) must retry. */ int modCount;
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 91.9K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java
assertEquals("maven-it-plugin-b", pom.getValue("build/plugins[2]/artifactId")); assertEquals(1, ((List<?>) pom.getValue("build/plugins[1]/executions")).size()); assertEquals("maven-it-plugin-a", pom.getValue("reporting/plugins[1]/artifactId")); assertEquals(1, ((List<?>) pom.getValue("reporting/plugins[1]/reportSets")).size());
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 93.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Sets.java
public static <E> Set<Set<E>> combinations(Set<E> set, final int size) { final ImmutableMap<E, Integer> index = Maps.indexMap(set); checkNonnegative(size, "size"); checkArgument(size <= index.size(), "size (%s) must be <= set.size() (%s)", size, index.size()); if (size == 0) { return ImmutableSet.<Set<E>>of(ImmutableSet.<E>of()); } else if (size == index.size()) { return ImmutableSet.<Set<E>>of(index.keySet());
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed May 01 18:44:57 GMT 2024 - 77.4K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/project/MavenProject.java
private List<String> getClasspathElements(final Predicate<String> scopeFilter, final boolean includeTestDir) throws DependencyResolutionRequiredException { final List<String> list = new ArrayList<>(getArtifacts().size() + 2); if (includeTestDir) { String d = getBuild().getTestOutputDirectory(); if (d != null) { list.add(d); } }
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Mar 01 17:18:13 GMT 2024 - 56.6K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelBuilder.java
} } private Model assembleInheritance( List<Model> lineage, ModelBuilderRequest request, ModelProblemCollector problems) { Model parent = lineage.get(lineage.size() - 1); for (int i = lineage.size() - 2; i >= 0; i--) { Model child = lineage.get(i); parent = inheritanceAssembler.assembleModelInheritance(child, parent, request, problems); } return parent;
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri May 03 08:48:38 GMT 2024 - 61.5K bytes - Viewed (0) -
android/guava/src/com/google/common/base/CharMatcher.java
} } @GwtIncompatible // SmallCharMatcher private static boolean isSmall(int totalCharacters, int tableLength) { return totalCharacters <= SmallCharMatcher.MAX_SIZE && tableLength > (totalCharacters * 4 * Character.SIZE); // err on the side of BitSetMatcher } /** Sets bits in {@code table} matched by this matcher. */ @GwtIncompatible // used only from other GwtIncompatible code
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri Feb 09 15:49:48 GMT 2024 - 53.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/TypeTokenTest.java
assertEquals(Integer.class, TypeToken.of(Integer.class).getType()); } public void testMethod_getOwnerType() throws NoSuchMethodException { Method sizeMethod = List.class.getMethod("size"); assertEquals( TypeToken.of(List.class), TypeToken.of(List.class).method(sizeMethod).getOwnerType()); assertEquals( new TypeToken<List<String>>() {},
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Thu Feb 22 17:15:24 GMT 2024 - 88.7K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Preconditions.java
} else if (size < 0) { throw new IllegalArgumentException("negative size: " + size); } else { // index >= size return lenientFormat("%s (%s) must be less than size (%s)", desc, index, size); } } /** * Ensures that {@code index} specifies a valid <i>position</i> in an array, list or string of
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Apr 11 11:52:14 GMT 2024 - 52.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableSortedMap.java
} @CanIgnoreReturnValue Builder<K, V> combine(ImmutableSortedMap.Builder<K, V> other) { ensureCapacity(size + other.size); System.arraycopy(other.keys, 0, this.keys, this.size, other.size); System.arraycopy(other.values, 0, this.values, this.size, other.size); size += other.size; return this; } /** * Returns a newly-created immutable sorted map. *
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed May 01 18:44:57 GMT 2024 - 53.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/SetsTest.java
int size = elements.length; // Remove last element, if size > 1 Set<String> set1 = (size > 1) ? Sets.newHashSet(Arrays.asList(elements).subList(0, size - 1)) : Sets.newHashSet(elements); // Remove first element, if size > 0 Set<String> set2 =
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 49.3K bytes - Viewed (0)