Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 47 for newState (0.28 sec)

  1. src/cmd/vendor/golang.org/x/term/term_unix.go

    	termios, err := unix.IoctlGetTermios(fd, ioctlReadTermios)
    	if err != nil {
    		return nil, err
    	}
    
    	newState := *termios
    	newState.Lflag &^= unix.ECHO
    	newState.Lflag |= unix.ICANON | unix.ISIG
    	newState.Iflag |= unix.ICRNL
    	if err := unix.IoctlSetTermios(fd, ioctlWriteTermios, &newState); err != nil {
    		return nil, err
    	}
    
    	defer unix.IoctlSetTermios(fd, ioctlWriteTermios, termios)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  2. platforms/native/language-native/src/test/groovy/org/gradle/language/nativeplatform/internal/incremental/CompilationStateSerializerTest.groovy

            def state = compilationState(fileStates)
    
            then:
            def newState = serialized(state)
            newState.fileStates.size() == 2
    
            def emptyCompileState = newState.getState(fileEmpty)
            emptyCompileState.hash == TestHashCodes.hashCodeFrom(0x12345678)
            emptyCompileState.edges.empty
    
            def otherCompileState = newState.getState(fileTwo)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  3. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/filelock/LockFileAccess.java

            LockState newState = lockState.completeUpdate();
            lockStateAccess.writeState(lockFileAccess, newState);
            return newState;
        }
    
        public LockState markDirty(LockState lockState) throws IOException {
            LockState newState = lockState.beforeUpdate();
            lockStateAccess.writeState(lockFileAccess, newState);
            return newState;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  4. pkg/kubelet/pleg/generic.go

    	}
    	return true, nil
    }
    
    func generateEvents(podID types.UID, cid string, oldState, newState plegContainerState) []*PodLifecycleEvent {
    	if newState == oldState {
    		return nil
    	}
    
    	klog.V(4).InfoS("GenericPLEG", "podUID", podID, "containerID", cid, "oldState", oldState, "newState", newState)
    	switch newState {
    	case plegContainerRunning:
    		return []*PodLifecycleEvent{{ID: podID, Type: ContainerStarted, Data: cid}}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  5. src/cmd/go/internal/vcweb/script.go

    	}
    	return sc.handler, nil
    }
    
    // newState returns a new script.State for executing scripts in workDir.
    func (s *Server) newState(ctx context.Context, workDir string) (*script.State, error) {
    	ctx = &scriptCtx{
    		Context: ctx,
    		server:  s,
    	}
    
    	st, err := script.NewState(ctx, workDir, s.env)
    	if err != nil {
    		return nil, err
    	}
    	return st, nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 08 19:37:03 UTC 2022
    - 9K bytes
    - Viewed (0)
  6. src/internal/syscall/windows/security_windows.go

    //sys	adjustTokenPrivileges(token syscall.Token, disableAllPrivileges bool, newstate *TOKEN_PRIVILEGES, buflen uint32, prevstate *TOKEN_PRIVILEGES, returnlen *uint32) (ret uint32, err error) [true] = advapi32.AdjustTokenPrivileges
    
    func AdjustTokenPrivileges(token syscall.Token, disableAllPrivileges bool, newstate *TOKEN_PRIVILEGES, buflen uint32, prevstate *TOKEN_PRIVILEGES, returnlen *uint32) error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 04 07:21:38 UTC 2023
    - 4K bytes
    - Viewed (0)
  7. src/internal/trace/resources.go

    	// we don't need fields for every kind of resource.
    	id       int64
    	oldState uint8
    	newState uint8
    }
    
    func goStateTransition(id GoID, from, to GoState) StateTransition {
    	return StateTransition{
    		Resource: ResourceID{Kind: ResourceGoroutine, id: int64(id)},
    		oldState: uint8(from),
    		newState: uint8(to),
    	}
    }
    
    func procStateTransition(id ProcID, from, to ProcState) StateTransition {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 8K bytes
    - Viewed (0)
  8. subprojects/core/src/main/java/org/gradle/api/internal/DefaultMutationGuard.java

                    } finally {
                        setMutationGuardState(oldIsMutationAllowed);
                    }
                }
            };
        }
    
        private void setMutationGuardState(boolean newState) {
            if (newState) {
                removeThreadLocalStateIfMutationAllowed(true);
            } else {
                mutationGuardState.set(false);
            }
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Nov 22 19:47:53 UTC 2022
    - 3K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/builder/NodeStateTest.groovy

            def resolveState = Stub(ResolveState)
    
            def newState = new NodeState(idIdx++, Stub(ComponentState), resolveState, state, true)
            // if there are outgoing endorsing edges, also include a normal edge to make sure that it is filtered out
            metadata.dependencies >> ((0..<outgoingEndorsing).collect { edge(newState).dependencyMetadata } + (outgoingEndorsing > 0 ? [edge(newState, false).dependencyMetadata] : []))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 14:19:34 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  10. subprojects/core/src/main/java/org/gradle/api/internal/attributes/DefaultMutableAttributeContainer.java

                DefaultMutableAttributeContainer newState = new DefaultMutableAttributeContainer(immutableAttributesFactory);
                state.keySet().stream()
                        .filter(k -> !k.equals(key))
                        .forEach(k -> {
                            @SuppressWarnings("unchecked") Attribute<Object> objectKey = (Attribute<Object>) k;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 07 20:29:26 UTC 2023
    - 8.7K bytes
    - Viewed (0)
Back to top