- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 111 for iota (0.06 sec)
-
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/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/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/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/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/mfinal.go
fin [(_FinBlockSize - 2*goarch.PtrSize - 2*4) / unsafe.Sizeof(finalizer{})]finalizer } var fingStatus atomic.Uint32 // finalizer goroutine status. const ( fingUninitialized uint32 = iota fingCreated uint32 = 1 << (iota - 1) fingRunningFinalizer fingWait fingWake ) var finlock mutex // protects the following variables var fing *g // goroutine that runs finalizers
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 01:56:56 UTC 2024 - 19K bytes - Viewed (0) -
src/crypto/tls/quic.go
"errors" "fmt" ) // QUICEncryptionLevel represents a QUIC encryption level used to transmit // handshake messages. type QUICEncryptionLevel int const ( QUICEncryptionLevelInitial = QUICEncryptionLevel(iota) QUICEncryptionLevelEarly QUICEncryptionLevelHandshake QUICEncryptionLevelApplication ) func (l QUICEncryptionLevel) String() string { switch l { case QUICEncryptionLevelInitial: return "Initial"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 17:23:54 UTC 2024 - 15.1K 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)