Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 155 for iota (0.04 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/syscall/fs_wasip1.go

    )
    
    const (
    	FDFLAG_APPEND   = 0x0001
    	FDFLAG_DSYNC    = 0x0002
    	FDFLAG_NONBLOCK = 0x0004
    	FDFLAG_RSYNC    = 0x0008
    	FDFLAG_SYNC     = 0x0010
    )
    
    const (
    	RIGHT_FD_DATASYNC = 1 << iota
    	RIGHT_FD_READ
    	RIGHT_FD_SEEK
    	RIGHT_FDSTAT_SET_FLAGS
    	RIGHT_FD_SYNC
    	RIGHT_FD_TELL
    	RIGHT_FD_WRITE
    	RIGHT_FD_ADVISE
    	RIGHT_FD_ALLOCATE
    	RIGHT_PATH_CREATE_DIRECTORY
    	RIGHT_PATH_CREATE_FILE
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  5. src/os/exec.go

    	//
    	// This may be due to the host not supporting handles, or because
    	// Process was created as a literal, leaving handle unset.
    	//
    	// This must be the zero value so Process literals get modePID.
    	modePID processMode = iota
    
    	// modeHandle means that Process operations use handle, which is
    	// initialized with an OS process handle.
    	//
    	// Note that Release and Wait will deactivate and eventually close the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 22:06:47 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/printf/printf.go

    	Run:        run,
    	ResultType: reflect.TypeOf((*Result)(nil)),
    	FactTypes:  []analysis.Fact{new(isWrapper)},
    }
    
    // Kind is a kind of fmt function behavior.
    type Kind int
    
    const (
    	KindNone   Kind = iota // not a fmt wrapper function
    	KindPrint              // function behaves like fmt.Print
    	KindPrintf             // function behaves like fmt.Printf
    	KindErrorf             // function behaves like fmt.Errorf
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 32.5K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/block.go

    const (
    	// These values are arranged in what seems to be order of increasing alignment importance.
    	// Currently only a few are relevant.  Implicitly, they are all in a loop.
    	HotNotFlowIn Hotness = 1 << iota // This block is only reached by branches
    	HotInitial                       // In the block order, the first one for a given loop.  Not necessarily topological header.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  10. 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)
Back to top