Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 44 for newGState (0.15 sec)

  1. src/cmd/trace/goroutinegen.go

    	st := ev.StateTransition()
    	goID := st.Resource.Goroutine()
    
    	// If we haven't seen this goroutine before, create a new
    	// gState for it.
    	gs, ok := g.gStates[goID]
    	if !ok {
    		gs = newGState[trace.GoID](goID)
    		g.gStates[goID] = gs
    	}
    
    	// Try to augment the name of the goroutine.
    	gs.augmentName(st.Stack)
    
    	// Handle the goroutine state transition.
    	from, to := st.Goroutine()
    	if from == to {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  2. src/cmd/trace/gstate.go

    	startCause struct {
    		time     trace.Time
    		name     string
    		resource uint64
    		stack    trace.Stack
    	}
    }
    
    // newGState constructs a new goroutine state for the goroutine
    // identified by the provided ID.
    func newGState[R resource](goID trace.GoID) *gState[R] {
    	return &gState[R]{
    		baseName:     fmt.Sprintf("G%d", goID),
    		executing:    R(noResource),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  3. src/cmd/trace/procgen.go

    	st := ev.StateTransition()
    	goID := st.Resource.Goroutine()
    
    	// If we haven't seen this goroutine before, create a new
    	// gState for it.
    	gs, ok := g.gStates[goID]
    	if !ok {
    		gs = newGState[trace.ProcID](goID)
    		g.gStates[goID] = gs
    	}
    	// If we haven't already named this goroutine, try to name it.
    	gs.augmentName(st.Stack)
    
    	// Handle the goroutine state transition.
    	from, to := st.Goroutine()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  4. src/cmd/trace/threadgen.go

    		}
    	}
    
    	st := ev.StateTransition()
    	goID := st.Resource.Goroutine()
    
    	// If we haven't seen this goroutine before, create a new
    	// gState for it.
    	gs, ok := g.gStates[goID]
    	if !ok {
    		gs = newGState[trace.ThreadID](goID)
    		g.gStates[goID] = gs
    	}
    	// If we haven't already named this goroutine, try to name it.
    	gs.augmentName(st.Stack)
    
    	// Handle the goroutine state transition.
    	from, to := st.Goroutine()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. tensorflow/compiler/mlir/quantization/stablehlo/passes/quantization_patterns.h

          OperationState new_state(candidate_op->getLoc(),
                                   candidate_op->getName().getStringRef(), inputs,
                                   output_types, candidate_op->getAttrs());
          for (int i = 0; i < candidate_op->getNumRegions(); ++i) {
            new_state.addRegion();
          }
          Operation* quantized_op = rewriter.create(new_state);
          if (candidate_op->getNumRegions() != 0) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 10.9K bytes
    - Viewed (0)
Back to top