Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 155 for iota (0.04 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. src/internal/coverage/cfile/emit.go

    	covProfileAlreadyEmitted bool
    )
    
    // fileType is used to select between counter-data files and
    // meta-data files.
    type fileType int
    
    const (
    	noFile = 1 << iota
    	metaDataFile
    	counterDataFile
    )
    
    // emitMetaData emits the meta-data output file for this coverage run.
    // This entry point is intended to be invoked by the compiler from
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:57:47 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  8. 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)
  9. src/net/dnsclient_unix.go

    	hostLookupFiles:    "files",
    	hostLookupDNS:      "dns",
    }
    
    func (o hostLookupOrder) String() string {
    	if s, ok := lookupOrderName[o]; ok {
    		return s
    	}
    	return "hostLookupOrder=" + itoa.Itoa(int(o)) + "??"
    }
    
    func (r *Resolver) goLookupHostOrder(ctx context.Context, name string, order hostLookupOrder, conf *dnsConfig) (addrs []string, err error) {
    	if order == hostLookupFilesDNS || order == hostLookupFiles {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:23:45 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  10. 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)
Back to top