Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 449 for iota (0.06 sec)

  1. src/cmd/vendor/golang.org/x/tools/go/ast/inspector/typeof.go

    //
    // The initial map-based implementation was too slow;
    // see https://go-review.googlesource.com/c/tools/+/135655/1/go/ast/inspector/inspector.go#196
    
    import (
    	"go/ast"
    	"math"
    )
    
    const (
    	nArrayType = iota
    	nAssignStmt
    	nBadDecl
    	nBadExpr
    	nBadStmt
    	nBasicLit
    	nBinaryExpr
    	nBlockStmt
    	nBranchStmt
    	nCallExpr
    	nCaseClause
    	nChanType
    	nCommClause
    	nComment
    	nCommentGroup
    	nCompositeLit
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 18 21:28:13 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  2. src/unicode/graphic.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package unicode
    
    // Bit masks for each code point under U+0100, for fast lookup.
    const (
    	pC     = 1 << iota // a control character.
    	pP                 // a punctuation character.
    	pN                 // a numeral.
    	pS                 // a symbolic character.
    	pZ                 // a spacing character.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 06 20:02:46 UTC 2023
    - 4.4K 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/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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top