Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. 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)
  2. 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)
  3. src/runtime/metrics/value.go

    	"math"
    	"unsafe"
    )
    
    // ValueKind is a tag for a metric [Value] which indicates its type.
    type ValueKind int
    
    const (
    	// KindBad indicates that the Value has no type and should not be used.
    	KindBad ValueKind = iota
    
    	// KindUint64 indicates that the type of the Value is a uint64.
    	KindUint64
    
    	// KindFloat64 indicates that the type of the Value is a float64.
    	KindFloat64
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 16:59:11 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  4. src/cmd/internal/obj/ppc64/a.out.go

    	BO_NOTBCR  = 4  // branch on not cr value
    )
    
    // Bit settings from the CR
    
    const (
    	C_COND_LT = iota // 0 result is negative
    	C_COND_GT        // 1 result is positive
    	C_COND_EQ        // 2 result is zero
    	C_COND_SO        // 3 summary overflow or FP compare w/ NaN
    )
    
    const (
    	C_NONE     = iota
    	C_REGP     /* An even numbered gpr which can be used a gpr pair argument */
    	C_REG      /* Any gpr register */
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 01 18:50:29 UTC 2024
    - 16K bytes
    - Viewed (0)
  5. src/internal/trace/traceviewer/emitter.go

    	return float64(t) / float64(time.Microsecond)
    }
    
    type GState int
    
    const (
    	GDead GState = iota
    	GRunnable
    	GRunning
    	GWaiting
    	GWaitingGC
    
    	gStateCount
    )
    
    type ThreadState int
    
    const (
    	ThreadStateInSyscall ThreadState = iota
    	ThreadStateInSyscallRuntime
    	ThreadStateRunning
    
    	threadStateCount
    )
    
    type frameNode struct {
    	id       int
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 21:29:58 UTC 2023
    - 20.4K bytes
    - Viewed (0)
  6. 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)
  7. src/internal/coverage/cmerge/merge.go

    // with merging of counter data for a given function.
    
    import (
    	"fmt"
    	"internal/coverage"
    	"math"
    )
    
    type ModeMergePolicy uint8
    
    const (
    	ModeMergeStrict ModeMergePolicy = iota
    	ModeMergeRelaxed
    )
    
    // Merger provides state and methods to help manage the process of
    // merging together coverage counter data for a given function, for
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 12 23:26:34 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  8. src/internal/abi/symtab.go

    	// Examples of TopFrame functions include goexit, which appears
    	// at the top of a user goroutine stack, and mstart, which appears
    	// at the top of a system goroutine stack.
    	FuncFlagTopFrame FuncFlag = 1 << iota
    
    	// FuncFlagSPWrite indicates a function that writes an arbitrary value to SP
    	// (any write other than adding or subtracting a constant amount).
    	// The traceback routines cannot encode such changes into the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 14:25:22 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top