- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 208 for iota (0.12 sec)
-
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) -
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) -
src/cmd/compile/internal/ssa/loopreschedchecks.go
} lastMems[b.ID] = last } return lastMems } // mark values type markKind uint8 const ( notFound markKind = iota // block has not been discovered yet notExplored // discovered and in queue, outedges not processed yet explored // discovered and in queue, outedges processed
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 22 21:17:10 UTC 2023 - 16K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
src/encoding/gob/type.go
decIndir int8 // number of indirections to reach the receiver type; may be negative } // externalEncoding bits const ( xGob = 1 + iota // GobEncoder or GobDecoder xBinary // encoding.BinaryMarshaler or encoding.BinaryUnmarshaler xText // encoding.TextMarshaler or encoding.TextUnmarshaler )
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 02:00:26 UTC 2024 - 27.2K bytes - Viewed (0) -
src/cmd/compile/internal/syntax/printer.go
// This file implements printing of syntax trees in source format. package syntax import ( "fmt" "io" "strings" ) // Form controls print formatting. type Form uint const ( _ Form = iota // default LineForm // use spaces instead of linebreaks where possible ShortForm // like LineForm but print "…" for non-empty function or composite literal bodies )
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 24 07:17:27 UTC 2023 - 21.5K bytes - Viewed (0) -
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)