Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for CurrentState (0.32 sec)

  1. subprojects/core/src/main/java/org/gradle/process/internal/DefaultExecHandle.java

            ExecHandleState currentState;
            lock.lock();
            try {
                currentState = this.state;
            } finally {
                lock.unlock();
            }
    
            ExecResultImpl newResult = new ExecResultImpl(exitValue, execExceptionFor(failureCause, currentState), displayName);
            if (!currentState.isTerminal() && newState != ExecHandleState.DETACHED) {
                try {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/internal/model/StateTransitionController.java

            }
    
            public CurrentState<T> transitioningTo(T toState) {
                return new TransitioningToNewState<T>(toState, this);
            }
    
            public abstract CurrentState<T> nextState(T toState);
        }
    
        /**
         * Currently in the given state.
         */
        private static class InState<T> extends CurrentState<T> {
            private final DisplayName displayName;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 03 03:31:44 UTC 2023
    - 20.9K bytes
    - Viewed (0)
  3. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/resources/DefaultResourceLockCoordinationService.java

            DefaultResourceLockState previousState = currentState;
            this.currentState = newState;
            return previousState;
        }
    
        private void finishOperation(@Nullable DefaultResourceLockState previous) {
            if (currentOwner != Thread.currentThread()) {
                throw new IllegalStateException("Another thread holds the state lock.");
            }
            currentState = previous;
            if (currentState == null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 17:16:10 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/windows/service.go

    )
    
    type ENUM_SERVICE_STATUS struct {
    	ServiceName   *uint16
    	DisplayName   *uint16
    	ServiceStatus SERVICE_STATUS
    }
    
    type SERVICE_STATUS struct {
    	ServiceType             uint32
    	CurrentState            uint32
    	ControlsAccepted        uint32
    	Win32ExitCode           uint32
    	ServiceSpecificExitCode uint32
    	CheckPoint              uint32
    	WaitHint                uint32
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/registry/RuleBindingsTest.groovy

            addNode(node)
            node.state = currentState
    
            when:
            bindings.add(rule)
    
            then:
            IllegalStateException e = thrown()
            e.message == "Cannot add rule <rule> for model element 'a' at state ${requiredState.previous()} as this element is already at state $currentState."
    
            where:
            currentState                | requiredState
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 26.8K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/execution/plan/DefaultPlanExecutor.java

                for (WorkerState worker : workers) {
                    ExecutionState currentState = worker.state.get();
                    if (currentState == ExecutionState.Running) {
                        return null;
                    } else if (currentState == ExecutionState.Waiting) {
                        waitingWorkers++;
                    } else if (currentState == ExecutionState.Stopped) {
                        stoppedWorkers++;
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 16:29:26 UTC 2024
    - 29.1K bytes
    - Viewed (0)
  7. src/internal/syscall/windows/syscall_windows.go

    type SERVICE_STATUS struct {
    	ServiceType             uint32
    	CurrentState            uint32
    	ControlsAccepted        uint32
    	Win32ExitCode           uint32
    	ServiceSpecificExitCode uint32
    	CheckPoint              uint32
    	WaitHint                uint32
    }
    
    const (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 22:55:25 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  8. src/os/os_windows_test.go

    	if err != nil {
    		return
    	}
    	defer syscall.CloseHandle(srv)
    	var state windows.SERVICE_STATUS
    	err = windows.QueryServiceStatus(srv, &state)
    	if err != nil {
    		return
    	}
    	if state.CurrentState != windows.SERVICE_RUNNING {
    		t.Skip("Requires the Windows service Workstation, but it is detected that it is not enabled.")
    	}
    }
    
    func TestNetworkSymbolicLink(t *testing.T) {
    	testenv.MustHaveSymlink(t)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 41.8K bytes
    - Viewed (0)
Back to top