Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for withState (0.29 sec)

  1. subprojects/composite-builds/src/main/java/org/gradle/composite/internal/plugins/CompositeBuildPluginResolverContributor.java

                    return PluginResult.NO_INCLUDED_BUILDS;
                }
                for (IncludedBuildState build : includedBuilds) {
                    Optional<PluginResolution> pluginResolution = build.withState(gradleInternal -> LocalPluginResolution.resolvePlugin(gradleInternal, requestedPluginId));
                    if (pluginResolution.isPresent()) {
                        return new ResolvedPlugin(pluginResolution.get());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 12 19:30:55 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  2. subprojects/composite-builds/src/main/java/org/gradle/composite/internal/DefaultIncludedBuildTaskGraph.java

                }
            } finally {
                current.set(previous);
            }
        }
    
        @Override
        public IncludedBuildTaskResource locateTask(TaskIdentifier taskIdentifier) {
            return withState(workGraph -> {
                BuildState build = buildRegistry.getBuild(taskIdentifier.getBuildIdentifier());
                ExportedTaskNode taskNode = build.getWorkGraph().locateTask(taskIdentifier);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 10:04:24 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  3. staging/src/k8s.io/client-go/applyconfigurations/core/v1/containerstatus.go

    	b.Name = &value
    	return b
    }
    
    // WithState sets the State field in the declarative configuration to the given value
    // and returns the receiver, so that objects can be built by chaining "With" function invocations.
    // If called multiple times, the State field is set to the value of the last call.
    func (b *ContainerStatusApplyConfiguration) WithState(value *ContainerStateApplyConfiguration) *ContainerStatusApplyConfiguration {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  4. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/resources/DefaultResourceLockCoordinationServiceTest.groovy

                    }
                })
    
                thread.blockUntil.executed2
            }
    
            then:
            lock1.lockedState
            lock2.lockedState
        }
    
        def "interrupting a withState call waiting for a resource makes it retry acquiring the lock"() {
            def lock1 = resourceLock("lock1", true)
            def count = 0
            Thread blockingThread = null
    
            when:
            async {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 17:16:10 UTC 2024
    - 15.4K bytes
    - Viewed (0)
Back to top