Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 288 for iota (0.04 sec)

  1. src/runtime/traceexp.go

    type traceExperiment uint8
    
    const (
    	// traceNoExperiment indicates no experiment.
    	traceNoExperiment traceExperiment = iota
    
    	// traceExperimentAllocFree is an experiment to add alloc/free events to the trace.
    	traceExperimentAllocFree
    )
    
    // Experimental events.
    const (
    	_ traceEv = 127 + iota
    
    	// Experimental events for ExperimentAllocFree.
    
    	// Experimental heap span events. IDs map reversibly to base addresses.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:47:01 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. src/cmd/internal/obj/loong64/a.out.go

    const (
    	NSNAME = 8
    	NSYM   = 50
    	NREG   = 32 // number of general registers
    	NFREG  = 32 // number of floating point registers
    )
    
    const (
    	REG_R0 = obj.RBaseLOONG64 + iota // must be a multiple of 32
    	REG_R1
    	REG_R2
    	REG_R3
    	REG_R4
    	REG_R5
    	REG_R6
    	REG_R7
    	REG_R8
    	REG_R9
    	REG_R10
    	REG_R11
    	REG_R12
    	REG_R13
    	REG_R14
    	REG_R15
    	REG_R16
    	REG_R17
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 02:04:54 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  3. src/internal/trace/event/requirements.go

    type SchedReqs struct {
    	Thread    Constraint
    	Proc      Constraint
    	Goroutine Constraint
    }
    
    // Constraint represents a various presence requirements.
    type Constraint uint8
    
    const (
    	MustNotHave Constraint = iota
    	MayHave
    	MustHave
    )
    
    // UserGoReqs is a common requirement among events that are running
    // or are close to running user code.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 685 bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/decl.go

    func (check *Checker) constDecl(obj *Const, typ, init syntax.Expr, inherited bool) {
    	assert(obj.typ == nil)
    
    	// use the correct value of iota and errpos
    	defer func(iota constant.Value, errpos syntax.Pos) {
    		check.iota = iota
    		check.errpos = errpos
    	}(check.iota, check.errpos)
    	check.iota = obj.val
    	check.errpos = nopos
    
    	// provide valid constant value under all circumstances
    	obj.val = constant.MakeUnknown()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 29.6K bytes
    - Viewed (0)
  5. src/internal/abi/rangefuncconsts.go

    // and panic indicators, and the runtime, which turns them into more meaningful strings
    // For best code generation, RF_DONE and RF_READY should be 0 and 1.
    const (
    	RF_DONE          = RF_State(iota) // body of loop has exited in a non-panic way
    	RF_READY                          // body of loop has not exited yet, is not running  -- this is not a panic index
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:04:30 UTC 2024
    - 940 bytes
    - Viewed (0)
  6. src/go/types/chan.go

    	dir  ChanDir
    	elem Type
    }
    
    // A ChanDir value indicates a channel direction.
    type ChanDir int
    
    // The direction of a channel is indicated by one of these constants.
    const (
    	SendRecv ChanDir = iota
    	SendOnly
    	RecvOnly
    )
    
    // NewChan returns a new channel type for the given direction and element type.
    func NewChan(dir ChanDir, elem Type) *Chan {
    	return &Chan{dir: dir, elem: elem}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 1K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/text/internal/language/common.go

    package language
    
    // This file contains code common to the maketables.go and the package code.
    
    // AliasType is the type of an alias in AliasMap.
    type AliasType int8
    
    const (
    	Deprecated AliasType = iota
    	Macro
    	Legacy
    
    	AliasTypeUnknown AliasType = -1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 334 bytes
    - Viewed (0)
  8. src/internal/trace/value.go

    type Value struct {
    	kind   ValueKind
    	scalar uint64
    }
    
    // ValueKind is the type of a dynamically-typed value from a trace.
    type ValueKind uint8
    
    const (
    	ValueBad ValueKind = iota
    	ValueUint64
    )
    
    // Kind returns the ValueKind of the value.
    //
    // It represents the underlying structure of the value.
    //
    // New ValueKinds may be added in the future. Users of this type must be robust
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  9. src/go/ast/scope.go

    //
    // The Data fields contains object-specific data:
    //
    //	Kind    Data type         Data value
    //	Pkg     *Scope            package scope
    //	Con     int               iota for the respective declaration
    //
    // Deprecated: The relationship between Idents and Objects cannot be
    // correctly computed without type information. For example, the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 28 21:32:41 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  10. src/go/types/decl.go

    }
    
    func (check *Checker) constDecl(obj *Const, typ, init ast.Expr, inherited bool) {
    	assert(obj.typ == nil)
    
    	// use the correct value of iota
    	defer func(iota constant.Value, errpos positioner) {
    		check.iota = iota
    		check.errpos = errpos
    	}(check.iota, check.errpos)
    	check.iota = obj.val
    	check.errpos = nil
    
    	// provide valid constant value under all circumstances
    	obj.val = constant.MakeUnknown()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 31K bytes
    - Viewed (0)
Back to top