Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 198 for iota (0.04 sec)

  1. src/runtime/tracestatus.go

    // statuses.
    type traceGoStatus uint8
    
    const (
    	traceGoBad traceGoStatus = iota
    	traceGoRunnable
    	traceGoRunning
    	traceGoSyscall
    	traceGoWaiting
    )
    
    // traceProcStatus is the status of a P.
    //
    // They mostly correspond to the various P statuses.
    type traceProcStatus uint8
    
    const (
    	traceProcBad traceProcStatus = iota
    	traceProcRunning
    	traceProcIdle
    	traceProcSyscall
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 17:03:35 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  2. src/cmd/internal/goobj/objfile.go

    	ObjFlagStd                      // standard library package
    )
    
    // Sym.Flag
    const (
    	SymFlagDupok = 1 << iota
    	SymFlagLocal
    	SymFlagTypelink
    	SymFlagLeaf
    	SymFlagNoSplit
    	SymFlagReflectMethod
    	SymFlagGoType
    )
    
    // Sym.Flag2
    const (
    	SymFlagUsedInIface = 1 << iota
    	SymFlagItab
    	SymFlagDict
    	SymFlagPkgInit
    	SymFlagLinkname
    	SymFlagABIWrapper
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  3. src/sync/mutex.go

    	sema  uint32
    }
    
    // A Locker represents an object that can be locked and unlocked.
    type Locker interface {
    	Lock()
    	Unlock()
    }
    
    const (
    	mutexLocked = 1 << iota // mutex is locked
    	mutexWoken
    	mutexStarving
    	mutexWaiterShift = iota
    
    	// Mutex fairness.
    	//
    	// Mutex can be in 2 modes of operations: normal and starvation.
    	// In normal mode waiters are queued in FIFO order, but a woken up waiter
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 21:14:51 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  4. src/internal/trace/event/go122/event.go

    )
    
    // Experiments.
    const (
    	// AllocFree is the alloc-free events experiment.
    	AllocFree event.Experiment = 1 + iota
    )
    
    // Experimental events.
    const (
    	_ event.Type = 127 + iota
    
    	// Experimental events for AllocFree.
    
    	// Experimental heap span events. Added in Go 1.23.
    	EvSpan      // heap span exists [timestamp, id, npages, type/class]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  5. src/internal/trace/internal/oldtrace/order.go

    package oldtrace
    
    import "errors"
    
    type orderEvent struct {
    	ev   Event
    	proc *proc
    }
    
    type gStatus int
    
    type gState struct {
    	seq    uint64
    	status gStatus
    }
    
    const (
    	gDead gStatus = iota
    	gRunnable
    	gRunning
    	gWaiting
    
    	unordered = ^uint64(0)
    	garbage   = ^uint64(0) - 1
    	noseq     = ^uint64(0)
    	seqinc    = ^uint64(0) - 1
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 4K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/typexpr.go

    		return
    
    	case *Const:
    		check.addDeclDep(obj)
    		if !isValid(typ) {
    			return
    		}
    		if obj == universeIota {
    			if check.iota == nil {
    				check.error(e, InvalidIota, "cannot use iota outside constant declaration")
    				return
    			}
    			x.val = check.iota
    		} else {
    			x.val = obj.val
    		}
    		assert(x.val != nil)
    		x.mode = constant_
    
    	case *TypeName:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types2/universe.go

    }
    
    var predeclaredConsts = [...]struct {
    	name string
    	kind BasicKind
    	val  constant.Value
    }{
    	{"true", UntypedBool, constant.MakeBool(true)},
    	{"false", UntypedBool, constant.MakeBool(false)},
    	{"iota", UntypedInt, constant.MakeInt64(0)},
    }
    
    func defPredeclaredConsts() {
    	for _, c := range predeclaredConsts {
    		def(NewConst(nopos, nil, c.name, Typ[c.kind], c.val))
    	}
    }
    
    func defPredeclaredNil() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  8. src/go/types/universe.go

    }
    
    var predeclaredConsts = [...]struct {
    	name string
    	kind BasicKind
    	val  constant.Value
    }{
    	{"true", UntypedBool, constant.MakeBool(true)},
    	{"false", UntypedBool, constant.MakeBool(false)},
    	{"iota", UntypedInt, constant.MakeInt64(0)},
    }
    
    func defPredeclaredConsts() {
    	for _, c := range predeclaredConsts {
    		def(NewConst(nopos, nil, c.name, Typ[c.kind], c.val))
    	}
    }
    
    func defPredeclaredNil() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  9. src/internal/trace/resources.go

    // GoState represents the state of a goroutine.
    //
    // New GoStates may be added in the future. Users of this type must be robust
    // to that possibility.
    type GoState uint8
    
    const (
    	GoUndetermined GoState = iota // No information is known about the goroutine.
    	GoNotExist                    // Goroutine does not exist.
    	GoRunnable                    // Goroutine is runnable but not running.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 8K bytes
    - Viewed (0)
  10. src/cmd/link/internal/sym/symkind.go

    type SymKind uint8
    
    // Defined SymKind values.
    //
    // TODO(rsc): Give idiomatic Go names.
    //
    //go:generate stringer -type=SymKind
    const (
    	Sxxx SymKind = iota
    	STEXT
    	SELFRXSECT
    	SMACHOPLT
    
    	// Read-only sections.
    	STYPE
    	SSTRING
    	SGOSTRING
    	SGOFUNC
    	SGCBITS
    	SRODATA
    	SFUNCTAB
    
    	SELFROSECT
    
    	// Read-only sections with relocations.
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 13:29:54 UTC 2024
    - 5.6K bytes
    - Viewed (0)
Back to top