Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 1,295 for iterations (0.21 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/configuration/project/LifecycleProjectEvaluatorIntegrationTest.groovy

                }
            """
    
            when:
            succeeds('foo')
    
            then:
    
            def configOp = operations.only(ConfigureProjectBuildOperationType, { it.details.projectPath == ':foo' })
            with(operations.only(NotifyProjectBeforeEvaluatedBuildOperationType, { it.details.projectPath == ':foo' })) {
                displayName == 'Notify beforeEvaluate listeners of :foo'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  2. src/expvar/expvar.go

    	i, found := slices.BinarySearch(v.keys, key)
    	if found {
    		v.keys = slices.Delete(v.keys, i, i+1)
    		v.m.Delete(key)
    	}
    }
    
    // Do calls f for each entry in the map.
    // The map is locked during the iteration,
    // but existing entries may be concurrently updated.
    func (v *Map) Do(f func(KeyValue)) {
    	v.keysMu.RLock()
    	defer v.keysMu.RUnlock()
    	for _, k := range v.keys {
    		i, _ := v.m.Load(k)
    		val, _ := i.(Var)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 21:32:11 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  3. platforms/core-runtime/base-services/src/integTest/groovy/org/gradle/internal/operations/BuildOperationExecutorIntegrationTest.groovy

            }
    
            buildFile << """
                import org.gradle.internal.operations.BuildOperationExecutor
                import org.gradle.internal.operations.RunnableBuildOperation
                import org.gradle.internal.operations.BuildOperationContext
                import org.gradle.internal.operations.BuildOperationDescriptor
                import java.util.concurrent.CountDownLatch
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 12:12:49 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  4. src/maps/iter.go

    // The iteration order is not specified and is not guaranteed
    // to be the same from one call to the next.
    func All[Map ~map[K]V, K comparable, V any](m Map) iter.Seq2[K, V] {
    	return func(yield func(K, V) bool) {
    		for k, v := range m {
    			if !yield(k, v) {
    				return
    			}
    		}
    	}
    }
    
    // Keys returns an iterator over keys in m.
    // The iteration order is not specified and is not guaranteed
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 13:41:45 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  5. subprojects/core/src/test/groovy/org/gradle/configuration/project/LifecycleProjectEvaluatorTest.groovy

                assert state.configuring
            }
    
            and:
            state.executed
    
            and:
            operations.size() == 3
            assertConfigureOp(operations[0])
            assertBeforeEvaluateOp(operations[1])
            assertAfterEvaluateOp(operations[2])
        }
    
        void "notifies listeners and updates state on evaluation failure"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 13:46:07 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/internal/service/scopes/CoreCrossBuildSessionServices.java

    import org.gradle.internal.operations.BuildOperationExecutor;
    import org.gradle.internal.operations.BuildOperationListenerManager;
    import org.gradle.internal.operations.BuildOperationProgressEventEmitter;
    import org.gradle.internal.operations.BuildOperationRunner;
    import org.gradle.internal.operations.CurrentBuildOperationRef;
    import org.gradle.internal.operations.DefaultBuildOperationExecutor;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:34:44 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  7. platforms/ide/tooling-api-builders/src/main/java/org/gradle/tooling/internal/provider/runner/BuildPhaseOperationListener.java

    import org.gradle.internal.operations.BuildOperationCategory;
    import org.gradle.internal.operations.BuildOperationDescriptor;
    import org.gradle.internal.operations.BuildOperationIdFactory;
    import org.gradle.internal.operations.BuildOperationListener;
    import org.gradle.internal.operations.OperationFinishEvent;
    import org.gradle.internal.operations.OperationIdentifier;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  8. subprojects/core/src/integTest/groovy/org/gradle/api/PluginDetectionIntegrationTest.groovy

                    operations << 'withPlugin'
                }
    
                operations << "applying"
                apply plugin: pluginClass
                apply type: ruleSourceClass
                operations << "applied"
    
                task verify { doLast { assert operations == ['applying', 'withType', 'withId', 'withPlugin', 'applied'] } }
    
                gradle.buildFinished { loader.close() }
            """
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 18:26:28 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  9. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/protocol/InternalBuildProgressListener.java

        /**
         * The constant for the test execution operations.
         */
        String TEST_EXECUTION = "TEST_EXECUTION";
    
        /**
         * The constant for the task execution operations.
         */
        String TASK_EXECUTION = "TASK_EXECUTION";
    
        /**
         * The constant for the build execution operations.
         */
        String BUILD_EXECUTION = "BUILD_EXECUTION";
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 3K bytes
    - Viewed (0)
  10. subprojects/core/src/test/groovy/org/gradle/internal/operations/DefaultBuildOperationExecutorParallelExecutionTest.groovy

            operations * operation.run(_)
    
            where:
            // Where operations < maxThreads
            // operations = maxThreads
            // operations >> maxThreads
            operations | maxThreads
            0          | 1
            1          | 1
            20         | 1
            1          | 4
            4          | 4
            20         | 4
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 16:29:26 UTC 2024
    - 9.6K bytes
    - Viewed (0)
Back to top