Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 123 for iota (0.05 sec)

  1. src/cmd/compile/internal/types/alg.go

    // AlgKind describes the kind of algorithms used for comparing and
    // hashing a Type.
    type AlgKind int8
    
    //go:generate stringer -type AlgKind -trimprefix A alg.go
    
    const (
    	AUNK   AlgKind = iota
    	ANOEQ          // Types cannot be compared
    	ANOALG         // implies ANOEQ, and in addition has a part that is marked Noalg
    	AMEM           // Type can be compared/hashed as regular memory.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 18 15:30:00 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. src/cmd/go/internal/modload/search.go

    	"cmd/go/internal/search"
    	"cmd/go/internal/str"
    	"cmd/go/internal/trace"
    	"cmd/internal/pkgpattern"
    
    	"golang.org/x/mod/module"
    )
    
    type stdFilter int8
    
    const (
    	omitStd = stdFilter(iota)
    	includeStd
    )
    
    // matchPackages is like m.MatchPackages, but uses a local variable (rather than
    // a global) for tags, can include or exclude packages in the standard library,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 17:55:15 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/tools/go/analysis/validate.go

    func Validate(analyzers []*Analyzer) error {
    	// Map each fact type to its sole generating analyzer.
    	factTypes := make(map[reflect.Type]*Analyzer)
    
    	// Traverse the Requires graph, depth first.
    	const (
    		white = iota
    		grey
    		black
    		finished
    	)
    	color := make(map[*Analyzer]uint8)
    	var visit func(a *Analyzer) error
    	visit = func(a *Analyzer) error {
    		if a == nil {
    			return fmt.Errorf("nil *Analyzer")
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 21:52:54 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. src/cmd/asm/internal/lex/lex.go

    type ScanToken rune
    
    const (
    	// Asm defines some two-character lexemes. We make up
    	// a rune/ScanToken value for them - ugly but simple.
    	LSH          ScanToken = -1000 - iota // << Left shift.
    	RSH                                   // >> Logical right shift.
    	ARR                                   // -> Used on ARM for shift type 3, arithmetic right shift.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 29 18:31:05 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/syntax/nodes.go

    )
    
    type expr struct {
    	node
    	typeAndValue // After typechecking, contains the results of typechecking this expression.
    }
    
    func (*expr) aExpr() {}
    
    type ChanDir uint
    
    const (
    	_ ChanDir = iota
    	SendOnly
    	RecvOnly
    )
    
    // ----------------------------------------------------------------------------
    // Statements
    
    type (
    	Stmt interface {
    		Node
    		aStmt()
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 20 14:52:38 UTC 2023
    - 9K bytes
    - Viewed (0)
  10. src/log/syslog/syslog.go

    	// These are the same on Linux, BSD, and OS X.
    	LOG_EMERG Priority = iota
    	LOG_ALERT
    	LOG_CRIT
    	LOG_ERR
    	LOG_WARNING
    	LOG_NOTICE
    	LOG_INFO
    	LOG_DEBUG
    )
    
    const (
    	// Facility.
    
    	// From /usr/include/sys/syslog.h.
    	// These are the same up to LOG_FTP on Linux, BSD, and OS X.
    	LOG_KERN Priority = iota << 3
    	LOG_USER
    	LOG_MAIL
    	LOG_DAEMON
    	LOG_AUTH
    	LOG_SYSLOG
    	LOG_LPR
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 23 22:56:07 UTC 2023
    - 7.5K bytes
    - Viewed (0)
Back to top