Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 207 for iota (0.05 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/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)
  8. 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)
  9. src/go/types/basic.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package types
    
    // BasicKind describes the kind of basic type.
    type BasicKind int
    
    const (
    	Invalid BasicKind = iota // type is invalid
    
    	// predeclared types
    	Bool
    	Int
    	Int8
    	Int16
    	Int32
    	Int64
    	Uint
    	Uint8
    	Uint16
    	Uint32
    	Uint64
    	Uintptr
    	Float32
    	Float64
    	Complex64
    	Complex128
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/tools/internal/stdlib/stdlib.go

    	Kind    Kind
    	Version Version // Go version that first included the symbol
    }
    
    // A Kind indicates the kind of a symbol:
    // function, variable, constant, type, and so on.
    type Kind int8
    
    const (
    	Invalid Kind = iota // Example name:
    	Type                // "Buffer"
    	Func                // "Println"
    	Var                 // "EOF"
    	Const               // "Pi"
    	Field               // "Point.X"
    	Method              // "(*Buffer).Grow"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 2.4K bytes
    - Viewed (0)
Back to top