Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 154 for iota (0.08 sec)

  1. src/syscall/fs_wasip1.go

    )
    
    const (
    	FDFLAG_APPEND   = 0x0001
    	FDFLAG_DSYNC    = 0x0002
    	FDFLAG_NONBLOCK = 0x0004
    	FDFLAG_RSYNC    = 0x0008
    	FDFLAG_SYNC     = 0x0010
    )
    
    const (
    	RIGHT_FD_DATASYNC = 1 << iota
    	RIGHT_FD_READ
    	RIGHT_FD_SEEK
    	RIGHT_FDSTAT_SET_FLAGS
    	RIGHT_FD_SYNC
    	RIGHT_FD_TELL
    	RIGHT_FD_WRITE
    	RIGHT_FD_ADVISE
    	RIGHT_FD_ALLOCATE
    	RIGHT_PATH_CREATE_DIRECTORY
    	RIGHT_PATH_CREATE_FILE
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/named.go

    	ctxt            *Context  // local Context; set to nil after full expansion
    }
    
    // namedState represents the possible states that a named type may assume.
    type namedState uint32
    
    const (
    	unresolved namedState = iota // tparams, underlying type and methods might be unavailable
    	resolved                     // resolve has run; methods might be incomplete (for instances)
    	complete                     // all data is known
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 20:03:31 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  3. src/text/template/parse/node.go

    // Type returns itself and provides an easy default implementation
    // for embedding in a Node. Embedded in all non-trivial Nodes.
    func (t NodeType) Type() NodeType {
    	return t
    }
    
    const (
    	NodeText       NodeType = iota // Plain text.
    	NodeAction                     // A non-control action such as a field evaluation.
    	NodeBool                       // A boolean constant.
    	NodeChain                      // A sequence of field accesses.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:57:51 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/mod/modfile/read.go

    	in.pos.Byte += size
    	return int(r)
    }
    
    type token struct {
    	kind   tokenKind
    	pos    Position
    	endPos Position
    	text   string
    }
    
    type tokenKind int
    
    const (
    	_EOF tokenKind = -(iota + 1)
    	_EOLCOMMENT
    	_IDENT
    	_STRING
    	_COMMENT
    
    	// newlines and punctuation tokens are allowed as ASCII codes.
    )
    
    func (k tokenKind) isComment() bool {
    	return k == _COMMENT || k == _EOLCOMMENT
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  5. src/go/types/named.go

    	ctxt            *Context  // local Context; set to nil after full expansion
    }
    
    // namedState represents the possible states that a named type may assume.
    type namedState uint32
    
    const (
    	unresolved namedState = iota // tparams, underlying type and methods might be unavailable
    	resolved                     // resolve has run; methods might be incomplete (for instances)
    	complete                     // all data is known
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 20:03:31 UTC 2024
    - 24K bytes
    - Viewed (0)
  6. src/go/types/resolver.go

    				}
    			case constDecl:
    				// declare all constants
    				for i, name := range d.spec.Names {
    					obj := NewConst(name.Pos(), pkg, name.Name, nil, constant.MakeInt64(int64(d.iota)))
    
    					var init ast.Expr
    					if i < len(d.init) {
    						init = d.init[i]
    					}
    
    					d := &declInfo{file: fileScope, vtyp: d.typ, init: init, inherited: d.inherited}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 16:22:59 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  7. src/net/dial.go

    // mptcpStatus is a tristate for Multipath TCP, see go.dev/issue/56539
    type mptcpStatus uint8
    
    const (
    	// The value 0 is the system default, linked to defaultMPTCPEnabled
    	mptcpUseDefault mptcpStatus = iota
    	mptcpEnabled
    	mptcpDisabled
    )
    
    func (m *mptcpStatus) get() bool {
    	switch *m {
    	case mptcpEnabled:
    		return true
    	case mptcpDisabled:
    		return false
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 20 06:04:31 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types2/check.go

    	scope         *Scope                    // top-most scope for lookups
    	pos           syntax.Pos                // if valid, identifiers are looked up as if at position pos (used by Eval)
    	iota          constant.Value            // value of iota in a constant declaration; nil otherwise
    	errpos        syntax.Pos                // if valid, identifier position of a constant with inherited initializer
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  9. src/internal/abi/type.go

    }
    
    // A Kind represents the specific kind of type that a Type represents.
    // The zero Kind is not a valid kind.
    type Kind uint8
    
    const (
    	Invalid Kind = iota
    	Bool
    	Int
    	Int8
    	Int16
    	Int32
    	Int64
    	Uint
    	Uint8
    	Uint16
    	Uint32
    	Uint64
    	Uintptr
    	Float32
    	Float64
    	Complex64
    	Complex128
    	Array
    	Chan
    	Func
    	Interface
    	Map
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 17 21:09:59 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/types2/operand.go

    	"cmd/compile/internal/syntax"
    	"fmt"
    	"go/constant"
    	. "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
    - 11K bytes
    - Viewed (0)
Back to top