- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 914 for iterate (0.12 sec)
-
cmd/iam-store.go
if globalSiteReplicationSys.isEnabled() { secretKey, err := getTokenSigningKey() if err != nil { return nil, err } keys = append(keys, secretKey) } // Iterate over all keys and return with the first successful claim extraction for _, key := range keys { jwtClaims, err = getClaimsFromTokenWithSecret(u.Credentials.SessionToken, key) if err == nil { break }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Oct 14 16:35:37 UTC 2024 - 83.2K bytes - Viewed (0) -
cmd/erasure-object.go
} } }(index, disk) } wg.Wait() // Reduce errors for each object for objIndex := range objects { diskErrs := make([]error, len(storageDisks)) // Iterate over disks to fetch the error // of deleting of the current object for i := range delObjErrs { // delObjErrs[i] is not nil when disks[i] is also not nil if delObjErrs[i] != nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Oct 31 22:10:24 UTC 2024 - 78.8K bytes - Viewed (0) -
guava/src/com/google/common/collect/TreeTraverser.java
final Function<T, ? extends Iterable<T>> nodeToChildrenFunction) { checkNotNull(nodeToChildrenFunction); return new TreeTraverser<T>() { @Override public Iterable<T> children(T root) { return nodeToChildrenFunction.apply(root); } }; } /** Returns the children of the specified node. Must not contain null. */ public abstract Iterable<T> children(T root); /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 8.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/MinimalIterable.java
return (MinimalIterable) of(elements.toArray()); } private @Nullable Iterator<E> iterator; private MinimalIterable(Iterator<E> iterator) { this.iterator = iterator; } @Override public Iterator<E> iterator() { if (iterator == null) { // TODO: throw something else? Do we worry that people's code and tests
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 3.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapPutIterableTester.java
@MapFeature.Require(SUPPORTS_PUT) public void testPutAllEmptyIterableOnAbsentKey() { Iterable<V> iterable = new Iterable<V>() { @Override public Iterator<V> iterator() { return ImmutableSet.<V>of().iterator(); } }; assertFalse(multimap().putAll(k3(), iterable)); expectUnchanged(); } @CollectionSize.Require(absent = ZERO)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 7.7K bytes - Viewed (0) -
guava-testlib/test/com/google/common/collect/testing/MinimalIterableTest.java
assertThrows(NoSuchElementException.class, () -> iterator.next()); assertThrows(IllegalStateException.class, () -> iterable.iterator()); } public void testOf_one() { Iterable<String> iterable = MinimalIterable.of("a"); Iterator<String> iterator = iterable.iterator(); assertTrue(iterator.hasNext()); assertEquals("a", iterator.next()); assertFalse(iterator.hasNext());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 2.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/DerivedTestIteratorGenerator.java
TestSubjectGenerator<? extends Iterable<E>> collectionGenerator) { this.collectionGenerator = collectionGenerator; } @Override public TestSubjectGenerator<? extends Iterable<E>> getInnerGenerator() { return collectionGenerator; } @Override public Iterator<E> get() { return collectionGenerator.createTestSubject().iterator(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Apr 21 02:27:51 UTC 2017 - 1.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/IteratorTester.java
import java.util.Collections; import java.util.Iterator; import org.checkerframework.checker.nullness.qual.Nullable; /** * A utility for testing an Iterator implementation by comparing its behavior to that of a "known * good" reference implementation. In order to accomplish this, it's important to test a great * variety of sequences of the {@link Iterator#next}, {@link Iterator#hasNext} and {@link
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Feb 21 16:49:06 UTC 2024 - 4.3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/LineIterator.java
* for each構文で使用するために{@link LineIterator}をラップした{@link Iterable}を返します。 * * @param reader * 文字列を読み込む{@link Reader}。{@literal null}であってはいけません * @return {@link LineIterator}をラップした{@link Iterable} */ public static Iterable<String> iterable(final Reader reader) { assertArgumentNotNull("reader", reader); return iterable(new BufferedReader(reader)); } /**
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 3.8K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/ClassIterator.java
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 4.2K bytes - Viewed (0)