- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 196 for realized (0.26 sec)
-
platforms/native/language-native/src/test/groovy/org/gradle/language/internal/DefaultBinaryCollectionTest.groovy
} def "cannot add elements after collection is realized"() { given: container.add(Stub(SwiftBinary)) container.realizeNow() when: container.add(Stub(SwiftBinary)) then: def e = thrown(IllegalStateException) e.message == 'Cannot add an element to this collection as it has already been realized.' }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 18.4K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/collections/AbstractIterationOrderRetainingElementSource.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Mar 04 20:04:06 UTC 2024 - 13.6K bytes - Viewed (0) -
platforms/native/language-native/src/main/java/org/gradle/language/internal/DefaultBinaryCollection.java
} elements.add(element); } /** * Realizes the contents of this collection, running configuration actions and firing notifications. No further elements can be added. */ public void realizeNow() { if (state != State.Collecting) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 7.9K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/AbstractDomainObjectCollectionSpec.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 08 13:46:07 UTC 2024 - 52.4K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/collections/SortedSetElementSource.java
// Collect elements discarding potential side effects aggregated in the returned value collector.collectInto(builder); List<T> realized = builder.build(); for (T element : realized) { doAddRealized(element); } } } private void doAddRealized(T value) { if (values.add(value) && addRealizedAction != null) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 8.7K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/collections/ElementSource.java
public interface ElementSource<T> extends Iterable<T>, WithEstimatedSize, PendingSource<T>, WithMutationGuard { /** * Iterates over and realizes each of the elements of this source. */ @Override Iterator<T> iterator(); /** * Iterates over only the realized elements (without flushing any pending elements) */ Iterator<T> iteratorNoFlush(); /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 02 15:12:15 UTC 2023 - 1.9K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/TaskContainerIntegrationTest.groovy
tasks.register("bar", Delete) """ when: succeeds "help" then: // help task is realized and configured outputContains("configured :help") // are "built-in" tasks realized and configured? if (realizesBuiltInTasks) { outputContains("configured :tasks") outputContains("configured :projects") } else {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 12 07:46:00 UTC 2024 - 4.9K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/DeferredTaskConfigurationIntegrationTest.groovy
doLast { assert defaultTaskRealizedCount == 0, "All DefaultTask shouldn't be realized" assert zipTaskRealizedCount == 1, "All Zip task should be realized" } } ''' expect: succeeds "foo" } def "realizes only the task of the given type when verifying if a filtered task collection is empty"() { buildFile << '''
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 17 13:27:33 UTC 2024 - 12.9K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/collections/ElementSourceSpec.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Aug 25 10:08:46 UTC 2022 - 9.5K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/collections/IterationOrderRetainingSetElementSourceTest.groovy
source.contains("foo") } def "an element added as both a provider and a realized value is not duplicated"() { when: source.add("foo") source.addPending(provider("foo")) then: source.iterator().collect() == ["foo"] } def "an element added as both a provider and a realized value has the correct order"() { when: source.addPending(provider("foo"))
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 01 06:43:26 UTC 2024 - 4.2K bytes - Viewed (0)