- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 103 for iota (0.04 sec)
-
src/cmd/compile/internal/types2/resolver.go
check.declare(fileScope, nil, pkgName, nopos) } case *syntax.ConstDecl: // iota is the index of the current constDecl within the group if first < 0 || s.Group == nil || file.DeclList[index-1].(*syntax.ConstDecl).Group != s.Group { first = index last = nil } iota := constant.MakeInt64(int64(index - first)) // determine which initialization expressions to use
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 18 14:10:44 UTC 2024 - 26.3K bytes - Viewed (0) -
src/cmd/compile/internal/types2/stmt.go
defer func(env environment, indent int) { check.environment = env check.indent = indent }(check.environment, check.indent) check.environment = environment{ decl: decl, scope: sig.scope, iota: iota, sig: sig, } check.indent = 0 check.stmtList(0, body.List) if check.hasLabel && !check.conf.IgnoreBranchErrors { check.labels(body) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 30.7K bytes - Viewed (0) -
src/runtime/lockrank.go
// in addition to satisfying the partial order in lockPartialOrder. // A few ranks allow self-cycles, which are specified in lockPartialOrder. const ( lockRankUnknown lockRank = iota lockRankSysmon lockRankScavenge lockRankForcegc lockRankDefer lockRankSweepWaiters lockRankAssistQueue lockRankSweep lockRankTestR lockRankTestW lockRankTimerSend lockRankAllocmW
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 17:47:01 UTC 2024 - 19.9K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/typesinternal/errorcode.go
// of an assignment." // // Example: // var x = _ InvalidBlank // InvalidIota occurs when the predeclared identifier iota is used outside // of a constant declaration. // // Example: // var x = iota InvalidIota // MissingInitBody occurs when an init function is missing its body. // // Example: // func init() MissingInitBody
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 02:38:00 UTC 2024 - 34K bytes - Viewed (0) -
src/syscall/js/js.go
gcPtr *ref // used to trigger the finalizer when the Value is not referenced any more } const ( // the type flags need to be in sync with wasm_exec.js typeFlagNone = iota typeFlagObject typeFlagString typeFlagSymbol typeFlagFunction ) func makeValue(r ref) Value { var gcPtr *ref typeFlag := (r >> 32) & 7 if (r>>32)&nanHead == nanHead && typeFlag != typeFlagNone {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 19 14:35:26 UTC 2024 - 19.5K bytes - Viewed (0) -
src/runtime/metrics.go
metrics[name] = d metricsUnlock() } // statDep is a dependency on a group of statistics // that a metric might have. type statDep uint const ( heapStatsDep statDep = iota // corresponds to heapStatsAggregate sysStatsDep // corresponds to sysStatsAggregate cpuStatsDep // corresponds to cpuStatsAggregate gcStatsDep // corresponds to gcStatsAggregate
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 08 21:03:13 UTC 2024 - 26K bytes - Viewed (0) -
src/runtime/runtime1.go
// The cached value is a uint32 in which the low bits // are the "crash" and "all" settings and the remaining // bits are the traceback value (0 off, 1 on, 2 include system). const ( tracebackCrash = 1 << iota tracebackAll tracebackShift = iota ) var traceback_cache uint32 = 2 << tracebackShift var traceback_env uint32 // gotraceback returns the current traceback settings. // // If level is 0, suppress all tracebacks.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 17:52:17 UTC 2024 - 19.3K bytes - Viewed (0) -
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) -
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) -
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)