- Sort Score
- Num 10 results
- Language All
Results 391 - 400 of 658 for iterator (0.09 seconds)
-
okhttp/src/jvmTest/kotlin/okhttp3/RecordingExecutor.kt
fun assertJobs(vararg expectedUrls: String) { val actualUrls = calls.map { it.request.url.toString() } assertThat(actualUrls).containsExactly(*expectedUrls) } fun finishJob(url: String) { val i = calls.iterator() while (i.hasNext()) { val call = i.next() if (call.request.url.toString() == url) { i.remove() dispatcherTest.dispatcher.finishedAccessor(call) return } }
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Mon Oct 06 18:34:01 GMT 2025 - 2.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ImmutableMultisetFloodingTest.java
return ImmutableMultiset.copyOf(keys); } }, COPY_OF_ITERATOR { @Override public ImmutableMultiset<Object> create(List<?> keys) { return ImmutableMultiset.copyOf(keys.iterator()); } }, BUILDER_ADD_ENTRY_BY_ENTRY { @Override public ImmutableMultiset<Object> create(List<?> keys) { ImmutableMultiset.Builder<Object> builder = ImmutableMultiset.builder();
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 2.5K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/EmptyContiguousSet.java
return false; } @GwtIncompatible // not used by GWT emulation @Override int indexOf(@Nullable Object target) { return -1; } @Override public UnmodifiableIterator<C> iterator() { return emptyIterator(); } @GwtIncompatible // NavigableSet @Override public UnmodifiableIterator<C> descendingIterator() { return emptyIterator(); } @Override
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 4.1K bytes - Click Count (0) -
guava/src/com/google/common/collect/RegularImmutableSet.java
// (In the backport, we don't need this suppression, but we keep it to minimize diffs.) @SuppressWarnings("unchecked") @Override public UnmodifiableIterator<E> iterator() { return (UnmodifiableIterator<E>) Iterators.forArray(elements); } @Override public Spliterator<E> spliterator() { return Spliterators.spliterator(elements, SPLITERATOR_CHARACTERISTICS); } @Override
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 21:07:18 GMT 2025 - 3.8K bytes - Click Count (0) -
internal/crypto/sse-kms.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package crypto import ( "context" "encoding/base64" "errors" "net/http" "path" "strings" jsoniter "github.com/json-iterator/go" xhttp "github.com/minio/minio/internal/http" "github.com/minio/minio/internal/kms" "github.com/minio/minio/internal/logger" ) type ssekms struct{} var (
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue May 07 23:55:37 GMT 2024 - 8.5K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableTable.java
} /** * Returns an immutable copy of the provided table. * * <p>The {@link Table#cellSet()} iteration order of the provided table determines the iteration * ordering of all views in the returned table. Note that some views of the original table and the * copied table may have different iteration orders. For more control over the ordering, create aCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 21:07:18 GMT 2025 - 17.3K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/CollectPreconditions.java
static void checkPositive(int value, String name) { if (value <= 0) { throw new IllegalArgumentException(name + " must be positive but was: " + value); } } /** * Precondition tester for {@code Iterator.remove()} that throws an exception with a consistent * error message. */ static void checkRemove(boolean canRemove) { checkState(canRemove, "no calls to next() since the last call to remove()"); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Nov 10 21:56:42 GMT 2025 - 2.1K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/NavigableSetNavigationTester.java
import com.google.common.collect.testing.features.CollectionSize; import java.lang.reflect.Method; import java.util.ArrayList; import java.util.Collections; import java.util.Iterator; import java.util.List; import java.util.NavigableSet; import java.util.TreeSet; import org.junit.Ignore; /** * A generic JUnit test which tests operations on a NavigableSet. Can't be invoked directly; please
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 8.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/AbstractMapEntryTest.java
return value; } }; } private static <K extends @Nullable Object, V extends @Nullable Object> Entry<K, V> control( K key, V value) { return singletonMap(key, value).entrySet().iterator().next(); } public void testToString() { assertEquals("foo=1", entry("foo", 1).toString()); } public void testToStringNull() { assertEquals("null=1", entry(NK, 1).toString());Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 3.1K bytes - Click Count (0) -
guava/src/com/google/common/graph/IncidentEdgeSet.java
import java.util.AbstractSet; import java.util.Set; import org.jspecify.annotations.Nullable; /** * Abstract base class for an incident edges set that allows different implementations of {@link * AbstractSet#iterator()}. */ abstract class IncidentEdgeSet<N> extends AbstractSet<EndpointPair<N>> { final N node; final ArchetypeGraph<N> graph; final EdgeType edgeType; enum EdgeType {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 07 15:57:03 GMT 2025 - 3.3K bytes - Click Count (0)