Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 208 for Gdead (0.07 sec)

  1. src/internal/trace/internal/oldtrace/order.go

    	case EvGoUnblockLocal, EvGoSysExitLocal:
    		g = ev.Args[0]
    		init = gState{noseq, gWaiting}
    		next = gState{seqinc, gRunnable}
    		return
    	case EvGCStart:
    		g = garbage
    		init = gState{ev.Args[0], gDead}
    		next = gState{ev.Args[0] + 1, gDead}
    		return
    	default:
    		// no ordering requirements
    		g = unordered
    		return
    	}
    }
    
    func transitionReady(g uint64, curr, init gState) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 4K bytes
    - Viewed (0)
  2. src/cmd/trace/viewer.go

    		return true
    	})
    	return frames
    }
    
    func viewerGState(state trace.GoState, inMarkAssist bool) traceviewer.GState {
    	switch state {
    	case trace.GoUndetermined:
    		return traceviewer.GDead
    	case trace.GoNotExist:
    		return traceviewer.GDead
    	case trace.GoRunnable:
    		return traceviewer.GRunnable
    	case trace.GoRunning:
    		return traceviewer.GRunning
    	case trace.GoWaiting:
    		if inMarkAssist {
    			return traceviewer.GWaitingGC
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  3. src/internal/trace/traceviewer/emitter.go

    type heapStats struct {
    	heapAlloc uint64
    	nextGC    uint64
    }
    
    func viewerTime(t time.Duration) float64 {
    	return float64(t) / float64(time.Microsecond)
    }
    
    type GState int
    
    const (
    	GDead GState = iota
    	GRunnable
    	GRunning
    	GWaiting
    	GWaitingGC
    
    	gStateCount
    )
    
    type ThreadState int
    
    const (
    	ThreadStateInSyscall ThreadState = iota
    	ThreadStateInSyscallRuntime
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 21:29:58 UTC 2023
    - 20.4K bytes
    - Viewed (0)
  4. src/internal/trace/internal/oldtrace/parser.go

    // (for example, a P does not run two Gs at the same time, or a G is indeed
    // blocked before an unblock event).
    func (p *parser) postProcessTrace(events Events) error {
    	const (
    		gDead = iota
    		gRunnable
    		gRunning
    		gWaiting
    	)
    	type gdesc struct {
    		state        int
    		ev           *Event
    		evStart      *Event
    		evCreate     *Event
    		evMarkAssist *Event
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:15:28 UTC 2024
    - 46.8K bytes
    - Viewed (0)
  5. src/runtime/runtime2.go

    	// goroutines to the end of the run queue.
    	//
    	// Note that while other P's may atomically CAS this to zero,
    	// only the owner P can CAS it to a valid G.
    	runnext guintptr
    
    	// Available G's (status == Gdead)
    	gFree struct {
    		gList
    		n int32
    	}
    
    	sudogcache []*sudog
    	sudogbuf   [128]*sudog
    
    	// Cache of mspan objects from the heap.
    	mspancache struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 47.9K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/shift/dead.go

    package shift
    
    // Simplified dead code detector.
    // Used for skipping shift checks on unreachable arch-specific code.
    
    import (
    	"go/ast"
    	"go/constant"
    	"go/types"
    )
    
    // updateDead puts unreachable "if" and "case" nodes into dead.
    func updateDead(info *types.Info, dead map[ast.Node]bool, node ast.Node) {
    	if dead[node] {
    		// The node is already marked as dead.
    		return
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 06 18:23:38 UTC 2018
    - 2.2K bytes
    - Viewed (0)
  7. src/runtime/proc.go

    		newg = malg(stackMin)
    		casgstatus(newg, _Gidle, _Gdead)
    		allgadd(newg) // publishes with a g->status of Gdead so GC scanner doesn't look at uninitialized stack.
    	}
    	if newg.stack.hi == 0 {
    		throw("newproc1: newg missing stack")
    	}
    
    	if readgstatus(newg) != _Gdead {
    		throw("newproc1: new g is not Gdead")
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
  8. test/fixedbugs/issue9608.dir/issue9608.go

    // license that can be found in the LICENSE file.
    
    package main
    
    func fail() // unimplemented, to test dead code elimination
    
    // Test dead code elimination in if statements
    func init() {
    	if false {
    		fail()
    	}
    	if 0 == 1 {
    		fail()
    	}
    }
    
    // Test dead code elimination in ordinary switch statements
    func init() {
    	const x = 0
    	switch x {
    	case 1:
    		fail()
    	}
    
    	switch 1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 23 05:12:39 UTC 2016
    - 1K bytes
    - Viewed (0)
  9. src/internal/zstd/testdata/1890a371.gettysburg.txt-100x.zst

    unfinished work which they who fought here have thus far so nobly advanced. It is rather for us to be here dedicated to the great task remaining before us - that from these honored dead we take increased devotion to that cause for which they gave the last full measure of devotion - that we here highly resolve that these dead shall not have died in vain - that this nation, under God, shall have a new birth of freedom - and that government of the people, by the people, for the people, shall not perish...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 27 14:35:13 UTC 2023
    - 826 bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/g3doc/tf_dialects.md

    input (control and non-control) is dead, all the outputs (control and
    non-control) are dead as well. For `tf_executor.Merge`, the output is dead only
    when either an input control token is dead or all of the regular inputs are
    dead. For `tf_executor.ControlTrigger`, a live control output is always produced
    even when some control inputs are dead.
    
    ### `tf_executor.graph` Operation
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 13 16:33:28 UTC 2021
    - 16K bytes
    - Viewed (0)
Back to top