- Sort Score
- Result 10 results
- Languages All
Results 511 - 520 of 784 for iterator (0.05 sec)
-
android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java
assertEquals("[]", q.toString()); assertTrue(Arrays.equals(q.toArray(), new Object[0])); assertFalse(q.iterator().hasNext()); try { q.element(); shouldThrow(); } catch (NoSuchElementException success) { } try { q.iterator().next(); shouldThrow(); } catch (NoSuchElementException success) { } try {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 02:42:09 UTC 2024 - 37.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java
* #expectContents(Object[]) expectContents(E...)} and other convenience methods. The creation of * multiple containers in a single method is discouraged in most cases, but it is vital to the * iterator tests. * * @return the new container instance * @param newValue the new container instance */ @CanIgnoreReturnValue protected C resetContainer(C newValue) { container = newValue;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 8.8K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java
importIds.add(importing); // Model v4 List<org.apache.maven.api.model.DependencyManagement> importMgmts = new ArrayList<>(); for (Iterator<Dependency> it = depMgmt.getDependencies().iterator(); it.hasNext(); ) { Dependency dependency = it.next(); if (!("pom".equals(dependency.getType()) && "import".equals(dependency.getScope()))
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 83.6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/TraversalUtil.java
import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotEmpty; import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotNull; import java.io.File; import java.net.URL; import java.util.Iterator; import java.util.List; import java.util.Set; import java.util.concurrent.ConcurrentMap; import java.util.jar.JarFile; import java.util.zip.ZipEntry; import java.util.zip.ZipInputStream;
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 19.5K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnectionPool.kt
scheduleOpener(connection.route.address) true } else { scheduleCloser() false } } fun evictAll() { val i = connections.iterator() while (i.hasNext()) { val connection = i.next() val socketToClose = connection.withLock { if (connection.calls.isEmpty()) { i.remove()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Apr 20 17:03:43 UTC 2024 - 16.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ContiguousSetTest.java
for (int i = 0; i < 3; i++) { assertEquals(i + 1, list.get(i).intValue()); } assertEquals(ImmutableList.of(1, 2, 3), ImmutableList.copyOf(list.iterator())); assertEquals(ImmutableList.of(1, 2, 3), ImmutableList.copyOf(list.toArray(new Integer[0]))); } @J2ktIncompatible @GwtIncompatible // suite public static class BuiltTests extends TestCase {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Oct 15 17:36:06 UTC 2024 - 19K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/ImmutableIntArray.java
private final ImmutableIntArray parent; private AsList(ImmutableIntArray parent) { this.parent = parent; } // inherit: isEmpty, containsAll, toArray x2, iterator, listIterator, stream, forEach, mutations @Override public int size() { return parent.length(); } @Override public Integer get(int index) { return parent.get(index);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 25 18:05:56 UTC 2024 - 22.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableSetMultimap.java
} /** * Returns an immutable multimap containing the specified entries. The returned multimap iterates * over keys in the order they were first encountered in the input, and the values for each key * are iterated in the order they were encountered. If two values for the same key are {@linkplain * Object#equals equal}, the first value encountered is used. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 26.2K bytes - Viewed (0) -
internal/jwt/parser.go
"encoding/base64" "errors" "fmt" "hash" "sync" "time" "github.com/buger/jsonparser" "github.com/dustin/go-humanize" jwtgo "github.com/golang-jwt/jwt/v4" jsoniter "github.com/json-iterator/go" ) // SigningMethodHMAC - Implements the HMAC-SHA family of signing methods signing methods // Expects key type of []byte for both signing and validation type SigningMethodHMAC struct { Name string
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Sep 17 16:45:46 UTC 2024 - 14.1K bytes - Viewed (0) -
cmd/xl-storage-format-v1.go
package cmd import ( "encoding/binary" "encoding/hex" "encoding/json" "fmt" "time" "github.com/cespare/xxhash/v2" jsoniter "github.com/json-iterator/go" ) // XL constants. const ( // XL metadata file carries per object metadata. xlStorageFormatFileV1 = "xl.json" ) // Valid - tells us if the format is sane by validating
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 22 15:30:50 UTC 2024 - 8.4K bytes - Viewed (0)