Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 481 for iota (0.07 sec)

  1. src/go/types/operand.go

    	"fmt"
    	"go/ast"
    	"go/constant"
    	"go/token"
    	. "internal/types/errors"
    )
    
    // An operandMode specifies the (addressing) mode of an operand.
    type operandMode byte
    
    const (
    	invalid   operandMode = iota // operand is invalid
    	novalue                      // operand represents no value (result of a function call w/o result)
    	builtin                      // operand is a built-in function
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 21:17:10 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  2. src/unicode/letter.go

    // BUG(r): There is no mechanism for full case folding, that is, for
    // characters that involve multiple runes in the input or output.
    
    // Indices into the Delta arrays inside CaseRanges for case mapping.
    const (
    	UpperCase = iota
    	LowerCase
    	TitleCase
    	MaxCase
    )
    
    type d [MaxCase]rune // to make the CaseRanges text shorter
    
    // If the Delta field of a [CaseRange] is UpperLower, it means
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 06 20:02:46 UTC 2023
    - 10K bytes
    - Viewed (0)
  3. src/go/parser/parser.go

    	pos := p.expect(keyword)
    	var lparen, rparen token.Pos
    	var list []ast.Spec
    	if p.tok == token.LPAREN {
    		lparen = p.pos
    		p.next()
    		for iota := 0; p.tok != token.RPAREN && p.tok != token.EOF; iota++ {
    			list = append(list, f(p.leadComment, keyword, iota))
    		}
    		rparen = p.expect(token.RPAREN)
    		p.expectSemi()
    	} else {
    		list = append(list, f(nil, keyword, 0))
    	}
    
    	return &ast.GenDecl{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 08 20:07:50 UTC 2023
    - 72.2K bytes
    - Viewed (0)
  4. src/runtime/runtime2.go

    	// _Gscanwaiting -> _Gscanrunnable are actually okay because
    	// they don't affect stack ownership.
    
    	// _Gidle means this goroutine was just allocated and has not
    	// yet been initialized.
    	_Gidle = iota // 0
    
    	// _Grunnable means this goroutine is on a run queue. It is
    	// not currently executing user code. The stack is not owned.
    	_Grunnable // 1
    
    	// _Grunning means this goroutine may execute user code. The
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 47.9K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/nilcheck.go

    	// i.e. struct fields and array elements, even with non-constant
    	// indices: x is non-nil iff x.a.b[i].c is.
    
    	type walkState int
    	const (
    		Work     walkState = iota // process nil checks and traverse to dominees
    		ClearPtr                  // forget the fact that ptr is nil
    	)
    
    	type bp struct {
    		block *Block // block, or nil in ClearPtr state
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 31 20:45:54 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/arch/x86/x86asm/inst.go

    // the interface value instead of requiring an allocation.
    
    // A Reg is a single register.
    // The zero Reg value has no name but indicates “no register.”
    type Reg uint8
    
    const (
    	_ Reg = iota
    
    	// 8-bit
    	AL
    	CL
    	DL
    	BL
    	AH
    	CH
    	DH
    	BH
    	SPB
    	BPB
    	SIB
    	DIB
    	R8B
    	R9B
    	R10B
    	R11B
    	R12B
    	R13B
    	R14B
    	R15B
    
    	// 16-bit
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/arch/arm/armasm/decode.go

    // The _offset and _postindex suffixes force the given addressing mode.
    // The rest should be somewhat self-explanatory, at least given
    // the decodeArg function.
    type instArg uint8
    
    const (
    	_ instArg = iota
    	arg_APSR
    	arg_FPSCR
    	arg_Dn_half
    	arg_R1_0
    	arg_R1_12
    	arg_R2_0
    	arg_R2_12
    	arg_R_0
    	arg_R_12
    	arg_R_12_nzcv
    	arg_R_16
    	arg_R_16_WB
    	arg_R_8
    	arg_R_rotate
    	arg_R_shift_R
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 22 17:16:14 UTC 2022
    - 12.6K bytes
    - Viewed (0)
  8. src/go/types/expr.go

    				// init expression/func declaration which contains
    				// them: use existing package-level declaration info.
    				decl := check.decl // capture for use in closure below
    				iota := check.iota // capture for use in closure below (go.dev/issue/22345)
    				// Don't type-check right away because the function may
    				// be part of a type definition to which the function
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 49.7K bytes
    - Viewed (0)
  9. src/runtime/traceruntime.go

    //
    // Note that traceBlockReasons should not be compared, since reasons that are
    // distinct by name may *not* be distinct by value.
    type traceBlockReason uint8
    
    const (
    	traceBlockGeneric traceBlockReason = iota
    	traceBlockForever
    	traceBlockNet
    	traceBlockSelect
    	traceBlockCondWait
    	traceBlockSync
    	traceBlockChanSend
    	traceBlockChanRecv
    	traceBlockGCMarkAssist
    	traceBlockGCSweep
    	traceBlockSystemGoroutine
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  10. src/runtime/mfinal.go

    	fin     [(_FinBlockSize - 2*goarch.PtrSize - 2*4) / unsafe.Sizeof(finalizer{})]finalizer
    }
    
    var fingStatus atomic.Uint32
    
    // finalizer goroutine status.
    const (
    	fingUninitialized uint32 = iota
    	fingCreated       uint32 = 1 << (iota - 1)
    	fingRunningFinalizer
    	fingWait
    	fingWake
    )
    
    var finlock mutex  // protects the following variables
    var fing *g        // goroutine that runs finalizers
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 01:56:56 UTC 2024
    - 19K bytes
    - Viewed (0)
Back to top