- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 123 for iota (0.04 sec)
-
src/internal/trace/parser.go
package trace // Frame is a frame in stack traces. type Frame struct { PC uint64 Fn string File string Line int } const ( // Special P identifiers: FakeP = 1000000 + iota TimerP // depicts timer unblocks NetpollP // depicts network unblocks SyscallP // depicts returns from syscalls GCP // depicts GC state ProfileP // depicts recording of CPU profile samples )
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:31:04 UTC 2024 - 4.7K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/text/internal/language/match.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package language import "errors" type scriptRegionFlags uint8 const ( isList = 1 << iota scriptInFrom regionInFrom ) func (t *Tag) setUndefinedLang(id Language) { if t.LangID == 0 { t.LangID = id } } func (t *Tag) setUndefinedScript(id Script) { if t.ScriptID == 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 24 13:01:26 UTC 2024 - 5.7K bytes - Viewed (0) -
src/html/template/content.go
// the encapsulated content should come from a trusted source, // as it will be included verbatim in the template output. Srcset string ) type contentType uint8 const ( contentTypePlain contentType = iota contentTypeCSS contentTypeHTML contentTypeHTMLAttr contentTypeJS contentTypeJSStr contentTypeURL contentTypeSrcset // contentTypeUnsafe is used in attr.go for values that affect how
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 01 14:30:25 UTC 2023 - 6.2K bytes - Viewed (0) -
test/typeparam/graph.go
workqueue = append(workqueue, nodePath[_Node, _Edge]{a, ve}) visited[a] = true } } } } return nil, errors.New("no path") } type direction int const ( north direction = iota ne east se south sw west nw up down ) func (dir direction) String() string { strs := map[direction]string{ north: "north", ne: "ne",
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 26 19:58:28 UTC 2024 - 5.7K bytes - Viewed (0) -
src/net/http/fcgi/fcgi.go
const flagKeepConn = 1 const ( maxWrite = 65535 // maximum record body maxPad = 255 ) const ( roleResponder = iota + 1 // only Responders are implemented. roleAuthorizer roleFilter ) const ( statusRequestComplete = iota statusCantMultiplex statusOverloaded statusUnknownRole ) type header struct { Version uint8 Type recType
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jul 11 18:51:39 UTC 2023 - 5.9K bytes - Viewed (0) -
src/cmd/compile/internal/types2/selection.go
// inserted for "pointerness" are not evaluated until the function is // called, so a T.f or (*T).f expression never panics. type SelectionKind int const ( FieldVal SelectionKind = iota // x.f is a struct field selector MethodVal // x.f is a method selector MethodExpr // x.f is a method expression ) // A Selection describes a selector expression x.f.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 22 19:32:17 UTC 2024 - 5.8K bytes - Viewed (0) -
src/cmd/compile/internal/types2/errors.go
// TODO(gri) We may also want to augment the error message and // refer to the position (pos) in the original expression. if check.errpos.Pos().IsKnown() { assert(check.iota != nil) pos = check.errpos } // Report invalid syntax trees explicitly. if code == InvalidSyntaxTree { msg = "invalid syntax tree: " + msg }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 29 22:06:18 UTC 2024 - 6.6K bytes - Viewed (0) -
src/go/parser/interface.go
} // A Mode value is a set of flags (or 0). // They control the amount of source code parsed and other optional // parser functionality. type Mode uint const ( PackageClauseOnly Mode = 1 << iota // stop parsing after package clause ImportsOnly // stop parsing after import declarations ParseComments // parse comments and add them to AST
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 12:02:03 UTC 2023 - 7.5K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/slog/slog.go
// A position describes what is expected to appear in an argument position. type position int const ( // key is an argument position that should hold a string key or an Attr. key position = iota // value is an argument position that should hold a value. value // unknown represents that we do not know if position should hold a key or a value. unknown ) func run(pass *analysis.Pass) (any, error) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 7.2K bytes - Viewed (0) -
src/runtime/sigqueue.go
wanted [(_NSIG + 31) / 32]uint32 ignored [(_NSIG + 31) / 32]uint32 recv [(_NSIG + 31) / 32]uint32 state atomic.Uint32 delivering atomic.Uint32 inuse bool } const ( sigIdle = iota sigReceiving sigSending ) // sigsend delivers a signal from sighandler to the internal signal delivery queue. // It reports whether the signal was sent. If not, the caller typically crashes the program.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 7.6K bytes - Viewed (0)