- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 138 for iterated (0.17 sec)
-
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/builder/NodeState.java
} else { // The isEmpty check is not required, might look innocent, but Guava's performance bad for an empty immutable list // because it still creates an inner class for an iterator, which delegates to an Array iterator, which does... nothing. // so just adding this check has a significant impact because most components do not declare any capability if (!capabilities.isEmpty()) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 07 14:19:34 UTC 2024 - 58.9K bytes - Viewed (0) -
android/guava/src/com/google/common/base/CharMatcher.java
/** * Returns {@code true} if a character sequence contains at least one matching BMP character. * Equivalent to {@code !matchesNoneOf(sequence)}. * * <p>The default implementation iterates over the sequence, invoking {@link #matches} for each * character, until this returns {@code true} or the end is reached. * * @param sequence the character sequence to examine, possibly empty
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Feb 09 15:49:48 UTC 2024 - 53.7K bytes - Viewed (0) -
platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/collections/DefaultConfigurableFileCollectionSpec.groovy
def collection = Mock(Collection) this.collection.from(collection) when: this.collection.finalizeValue() then: 1 * collection.iterator() >> ['a', 'b'].iterator() 0 * collection._ 1 * fileResolver.resolve('a') >> file1 1 * fileResolver.resolve('b') >> file2 when: def files = this.collection.files then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Mar 18 17:09:50 UTC 2024 - 53K bytes - Viewed (0) -
guava/src/com/google/common/base/CharMatcher.java
/** * Returns {@code true} if a character sequence contains at least one matching BMP character. * Equivalent to {@code !matchesNoneOf(sequence)}. * * <p>The default implementation iterates over the sequence, invoking {@link #matches} for each * character, until this returns {@code true} or the end is reached. * * @param sequence the character sequence to examine, possibly empty
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Feb 09 15:49:48 UTC 2024 - 53.8K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/CollectionPropertySpec.groovy
property.set(toMutable(["abc"])) assertValueIs(["abc"]) } def "can set value from various collection types"() { def iterable = Stub(Iterable) iterable.iterator() >> ["4", "5"].iterator() expect: property.set(["1", "2"]) property.get() == toImmutable(["1", "2"]) property.set(["2", "3"] as Set) property.get() == toImmutable(["2", "3"])
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 17 11:41:55 UTC 2024 - 49.7K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CopyTaskIntegrationSpec.groovy
} } '''.stripIndent() when: run 'copy' then: def it = file('dest/two.a').readLines().iterator() it.next().startsWith('6') it.next().startsWith('11') it.next().startsWith('16') } def "can rename files in eachFile() action defined using Groovy closure"() { given:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 03 15:21:23 UTC 2024 - 67.9K bytes - Viewed (0) -
src/index/suffixarray/sais2.go
// but at a significant speed cost. Instead, we just write these // seven lines a few times in this source file. The copies below // refer back to the pattern established by this original as the // "LMS-substring iterator". // // In every scan through the text, c0, c1 are successive characters of text. // In this backward scan, c0 == text[i] and c1 == text[i+1]. // By scanning backward, we can keep track of whether the current
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 18 23:57:18 UTC 2024 - 52.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/MapMakerInternalMap.java
@Override public Set<Entry<K, V>> entrySet() { Set<Entry<K, V>> es = entrySet; return (es != null) ? es : (entrySet = new EntrySet()); } // Iterator Support abstract class HashIterator<T> implements Iterator<T> { int nextSegmentIndex; int nextTableIndex; @CheckForNull Segment<K, V, E, S> currentSegment; @CheckForNull AtomicReferenceArray<E> currentTable;
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Sat May 18 03:24:34 UTC 2024 - 90.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/MapMakerInternalMap.java
@Override public Set<Entry<K, V>> entrySet() { Set<Entry<K, V>> es = entrySet; return (es != null) ? es : (entrySet = new EntrySet()); } // Iterator Support abstract class HashIterator<T> implements Iterator<T> { int nextSegmentIndex; int nextTableIndex; @CheckForNull Segment<K, V, E, S> currentSegment; @CheckForNull AtomicReferenceArray<E> currentTable;
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Sat May 18 03:24:34 UTC 2024 - 90.8K bytes - Viewed (0) -
pkg/scheduler/framework/runtime/framework.go
return f.snapshotSharedLister } // IterateOverWaitingPods acquires a read lock and iterates over the WaitingPods map. func (f *frameworkImpl) IterateOverWaitingPods(callback func(framework.WaitingPod)) { f.waitingPods.iterate(callback) } // GetWaitingPod returns a reference to a WaitingPod given its UID.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 17 09:07:27 UTC 2024 - 60.9K bytes - Viewed (0)