Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 208 for iota (0.14 sec)

  1. src/cmd/link/internal/ld/main.go

    // neither true nor false, allowing it to be set from context (e.g. from another
    // flag).
    // *ternaryFlag implements flag.Value.
    type ternaryFlag int
    
    const (
    	ternaryFlagUnset ternaryFlag = iota
    	ternaryFlagFalse
    	ternaryFlagTrue
    )
    
    func (t *ternaryFlag) Set(s string) error {
    	v, err := strconv.ParseBool(s)
    	if err != nil {
    		return err
    	}
    	if v {
    		*t = ternaryFlagTrue
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 16:59:50 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  2. src/internal/trace/oldtrace.go

    	lastTs         Time
    	procMs         map[ProcID]ThreadID
    	lastStwReason  uint64
    
    	inlineToStringID  []uint64
    	builtinToStringID []uint64
    }
    
    const (
    	// Block reasons
    	sForever = iota
    	sPreempted
    	sGosched
    	sSleep
    	sChanSend
    	sChanRecv
    	sNetwork
    	sSync
    	sSyncCond
    	sSelect
    	sEmpty
    	sMarkAssistWait
    
    	// STW kinds
    	sSTWUnknown
    	sSTWGCMarkTermination
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  3. src/log/slog/value.go

    )
    
    // Kind is the kind of a [Value].
    type Kind int
    
    // The following list is sorted alphabetically, but it's also important that
    // KindAny is 0 so that a zero Value represents nil.
    
    const (
    	KindAny Kind = iota
    	KindBool
    	KindDuration
    	KindFloat64
    	KindInt64
    	KindString
    	KindTime
    	KindUint64
    	KindGroup
    	KindLogValuer
    )
    
    var kindStrings = []string{
    	"Any",
    	"Bool",
    	"Duration",
    	"Float64",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:12:08 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  4. src/runtime/pprof/proto.go

    //	1<<0 (lookupTried) : symbol lookup was performed
    //	1<<1 (lookupFailed): symbol lookup was performed but failed
    type symbolizeFlag uint8
    
    const (
    	lookupTried  symbolizeFlag = 1 << iota
    	lookupFailed symbolizeFlag = 1 << iota
    )
    
    const (
    	// message Profile
    	tagProfile_SampleType        = 1  // repeated ValueType
    	tagProfile_Sample            = 2  // repeated Sample
    	tagProfile_Mapping           = 3  // repeated Mapping
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 13 20:40:52 UTC 2023
    - 25.7K bytes
    - Viewed (0)
  5. src/cmd/internal/src/pos.go

    	//
    	// When code generation occurs any remaining default-marked positions are replaced with not-statement
    	// positions.
    	//
    	PosDefaultStmt uint = iota // Default; position is not a statement boundary, but might be if optimization removes the designated statement boundary
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 01 15:52:41 UTC 2023
    - 15.5K bytes
    - Viewed (0)
  6. src/runtime/mgclimit.go

    // to execute its function.
    //
    // This type may use no more than limiterEventBits bits of information.
    type limiterEventType uint8
    
    const (
    	limiterEventNone           limiterEventType = iota // None of the following events.
    	limiterEventIdleMarkWork                           // Refers to an idle mark worker (see gcMarkWorkerMode).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 22:07:41 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/schedule.go

    // license that can be found in the LICENSE file.
    
    package ssa
    
    import (
    	"cmd/compile/internal/base"
    	"cmd/compile/internal/types"
    	"container/heap"
    	"sort"
    )
    
    const (
    	ScorePhi       = iota // towards top of block
    	ScoreArg              // must occur at the top of the entry block
    	ScoreInitMem          // after the args - used as mark by debug info generation
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 08 15:53:17 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  8. src/internal/trace/trace_test.go

    		// The goroutines are careful to call runtime.Gosched in between blocking,
    		// so there should never be a clean block/unblock on the goroutine unless
    		// the runtime was generating extraneous events.
    		const (
    			entered = iota
    			blocked
    			runnable
    			running
    		)
    		gs := make(map[trace.GoID]int)
    		seenSpecialGoroutines := false
    		r, err := trace.NewReader(bytes.NewReader(tb))
    		if err != nil {
    			t.Error(err)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  9. src/runtime/syscall_windows.go

    	retPop uintptr  // For 386 cdecl, how many bytes to pop on return
    	abiMap abiDesc
    }
    
    // abiPartKind is the action an abiPart should take.
    type abiPartKind int
    
    const (
    	abiPartBad   abiPartKind = iota
    	abiPartStack             // Move a value from memory to the stack.
    	abiPartReg               // Move a value from memory to a register.
    )
    
    // abiPart encodes a step in translating between calling ABIs.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:12:46 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/asmdecl/asmdecl.go

    	Run:  run,
    }
    
    // 'kind' is a kind of assembly variable.
    // The kinds 1, 2, 4, 8 stand for values of that size.
    type asmKind int
    
    // These special kinds are not valid sizes.
    const (
    	asmString asmKind = 100 + iota
    	asmSlice
    	asmArray
    	asmInterface
    	asmEmptyInterface
    	asmStruct
    	asmComplex
    )
    
    // An asmArch describes assembly parameters for an architecture
    type asmArch struct {
    	name      string
    	bigEndian bool
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 22.8K bytes
    - Viewed (0)
Back to top