- Sort Score
- Num 10 results
- Language All
Results 71 - 80 of 1,250 for add1 (0.02 seconds)
-
api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolverRequest.java
this.dependencies = (dependencies != null) ? dependencies : Collections.emptyList(); return this; } /** * Adds the specified direct dependency. * * @param dependency the dependency to add, may be {@code null} * @return this request for chaining, never {@code null} */ @Nonnull
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 10 07:30:49 GMT 2025 - 23K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt
val equalsOffset = indexOf('=', pos) if (equalsOffset == -1 || equalsOffset > ampersandOffset) { result.add(substring(pos, ampersandOffset)) result.add(null) // No value for this name. } else { result.add(substring(pos, equalsOffset)) result.add(substring(equalsOffset + 1, ampersandOffset)) } pos = ampersandOffset + 1 } return result
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Mon May 05 16:01:00 GMT 2025 - 63.5K bytes - Click Count (0) -
guava/src/com/google/common/collect/LinkedListMultimap.java
if (next == null) { throw new NoSuchElementException(); } current = next; seenKeys.add(current.getKey()); do { // skip ahead to next unseen key next = next.next; } while ((next != null) && !seenKeys.add(next.getKey())); return current.getKey(); } @Override public void remove() { checkForConcurrentModification();
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 27K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java
for (int i = entry.getCount(); i > 0; i--) { list.add(element); } } return list; } // Modification Operations /** * Adds a number of occurrences of the specified element to this multiset. * * @param element the element to add * @param occurrences the number of occurrences to add * @return the previous count of the element before the operation; possibly zero
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Dec 08 22:42:14 GMT 2025 - 22.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/ImmutableListTest.java
new ImmutableList.Builder<String>().add("a").add("b").add("a").add("c").build(); assertEquals(asList("a", "b", "a", "c"), list); } @GwtIncompatible("Builder impl") public void testBuilderForceCopy() { ImmutableList.Builder<Integer> builder = ImmutableList.builder(); Object[] prevArray = null; for (int i = 0; i < 10; i++) { builder.add(i); assertNotSame(builder.contents, prevArray);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 24.2K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/SequentialExecutor.java
/** Use {@link MoreExecutors#newSequentialExecutor} */ SequentialExecutor(Executor executor) { this.executor = Preconditions.checkNotNull(executor); } /** * Adds a task to the queue and makes sure a worker thread is running. * * <p>If this method throws, e.g. a {@code RejectedExecutionException} from the delegate executor,Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 10.6K bytes - Click Count (0) -
guava/src/com/google/common/util/concurrent/SequentialExecutor.java
/** Use {@link MoreExecutors#newSequentialExecutor} */ SequentialExecutor(Executor executor) { this.executor = Preconditions.checkNotNull(executor); } /** * Adds a task to the queue and makes sure a worker thread is running. * * <p>If this method throws, e.g. a {@code RejectedExecutionException} from the delegate executor,Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 10.6K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/PluginUpgradeStrategy.java
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 37K bytes - Click Count (0) -
cmd/admin-handlers_test.go
mkParams := func(clientToken string, forceStart, forceStop bool) url.Values { v := url.Values{} if clientToken != "" { v.Add(mgmtClientToken, clientToken) } if forceStart { v.Add(mgmtForceStart, "") } if forceStop { v.Add(mgmtForceStop, "") } return v } qParamsArr := []url.Values{ // Invalid cases mkParams("", true, true),
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 13.9K bytes - Click Count (1) -
guava-tests/test/com/google/common/collect/ImmutableListTest.java
new ImmutableList.Builder<String>().add("a").add("b").add("a").add("c").build(); assertEquals(asList("a", "b", "a", "c"), list); } @GwtIncompatible("Builder impl") public void testBuilderForceCopy() { ImmutableList.Builder<Integer> builder = ImmutableList.builder(); Object[] prevArray = null; for (int i = 0; i < 10; i++) { builder.add(i); assertNotSame(builder.contents, prevArray);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 23.6K bytes - Click Count (0)