- Sort Score
- Result 10 results
- Languages All
Results 441 - 450 of 854 for Elements (0.13 sec)
-
android/guava/src/com/google/common/collect/AbstractMapBasedMultiset.java
if (occurrences == 0) { return count(element); } checkArgument(occurrences > 0, "occurrences cannot be negative: %s", occurrences); int entryIndex = backingMap.indexOf(element); if (entryIndex == -1) { backingMap.put(element, occurrences); size += occurrences; return 0; } int oldCount = backingMap.getValue(entryIndex);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 05 23:15:58 UTC 2025 - 7.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/CharsTest.java
testRotate(new char[] {'1'}, 0, 0, 1, new char[] {'1'}); testRotate(new char[] {'1'}, 1, 0, 1, new char[] {'1'}); testRotate(new char[] {'1'}, 1, 1, 1, new char[] {'1'}); // Rotate the central 5 elements, leaving the ends as-is testRotate( new char[] {'0', '1', '2', '3', '4', '5', '6'}, -6, 1, 6, new char[] {'0', '2', '3', '4', '5', '1', '6'}); testRotate(Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:45:32 UTC 2025 - 25.9K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/MavenLifecycleParticipantTest.java
dependency.setScope("system"); try { dependency.setSystemPath(new File( "src/test/projects/lifecycle-executor/project-with-additional-lifecycle-elements/pom.xml") .getCanonicalPath()); } catch (IOException e) { throw new RuntimeException(e); } project.getModel().addDependency(dependency);
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/project/MavenProject.java
/** * Returns a filtered list of class path elements. This method is invoked when the caller * requested that all dependencies are placed on the class path, with no module path element. * * @param scopeFilter a filter returning {@code true} for the artifact scopes to accept * @param includeTestDir whether to include the test directory in the classpath elements * @return paths of all artifacts placed on the classpathRegistered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Aug 29 12:47:20 UTC 2025 - 67K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lock/Smb2LockRequest.java
* * @param config the configuration for this request * @param fileId the file identifier for the file to lock * @param locks the array of lock elements to apply */ public Smb2LockRequest(final Configuration config, final byte[] fileId, final Smb2Lock[] locks) { super(config, SMB2_LOCK); this.fileId = fileId; this.locks = locks; }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.8K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingImmutableMap.java
public <T extends @Nullable Object> T[] toArray(T[] array) { T[] result = super.toArray(array); if (size() < result.length) { // It works around a GWT bug where elements after last is not // properly null'ed. @Nullable Object[] unsoundlyCovariantArray = result; unsoundlyCovariantArray[size()] = null; } return result;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 18:32:41 UTC 2025 - 4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableTable.java
*/ @GwtCompatible public abstract class ImmutableTable<R, C, V> extends AbstractTable<R, C, V> implements Serializable { /** * Returns a {@code Collector} that accumulates elements into an {@code ImmutableTable}. Each * input element is mapped to one cell in the returned table, with the rows, columns, and values * generated by applying the specified functions. *
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 21:07:18 UTC 2025 - 17.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Serialization.java
* support concurrent multisets whose content may change while the method is running. * * <p>The serialized output consists of the number of distinct elements, the first element, its * count, the second element, its count, and so on. */ static <E extends @Nullable Object> void writeMultiset( Multiset<E> multiset, ObjectOutputStream stream) throws IOException {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Dec 09 15:58:48 UTC 2025 - 6.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/SortedSetTestSuiteBuilder.java
derivedSuites.add(createSubsetSuite(parentBuilder, Bound.INCLUSIVE, Bound.EXCLUSIVE)); } return derivedSuites; } /** * Creates a suite whose set has some elements filtered out of view. * * <p>Because the set may be ascending or descending, this test must derive the relative order of * these extreme values rather than relying on their regular sort ordering. */
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 4.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/SynchronizedQueueTest.java
} @Override public @Nullable E peek() { assertTrue(Thread.holdsLock(mutex)); return delegate.peek(); } @Override public E element() { assertTrue(Thread.holdsLock(mutex)); return delegate.element(); } @Override public Iterator<E> iterator() { // We explicitly don't lock for iterator() assertFalse(Thread.holdsLock(mutex));Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 4.8K bytes - Viewed (0)