- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 481 for iota (0.08 sec)
-
src/go/types/errsupport.go
// inaccessible x.foo != foo cannot refer to unexported field foo // missing x.foo != foO type X has no field or method foo const ( ok = iota missing // no object found misspelled // found object with different spelling unexported // found object with name differing only in first letter
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 03 18:48:38 UTC 2024 - 4.5K bytes - Viewed (0) -
src/cmd/internal/sys/arch.go
import "encoding/binary" // ArchFamily represents a family of one or more related architectures. // For example, ppc64 and ppc64le are both members of the PPC64 family. type ArchFamily byte const ( NoArch ArchFamily = iota AMD64 ARM ARM64 I386 Loong64 MIPS MIPS64 PPC64 RISCV64 S390X Wasm ) // Arch represents an individual architecture. type Arch struct { Name string
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 13 19:51:03 UTC 2022 - 6.2K 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/go/types/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 != nil && check.errpos.Pos().IsValid() { assert(check.iota != nil) posn = 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 - 8.5K bytes - Viewed (0) -
doc/go1.17_spec.html
b = 1 << iota // b == 2 (iota == 1) c = 3 // c == 3 (iota == 2, unused) d = 1 << iota // d == 8 (iota == 3) ) const ( u = iota * 42 // u == 0 (untyped integer constant) v float64 = iota * 42 // v == 42.0 (float64 constant) w = iota * 42 // w == 84 (untyped integer constant) ) const x = iota // x == 0
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 11 20:22:45 UTC 2024 - 211.6K 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/cmd/internal/cov/readcovdata.go
Finish() } type CovDataReaderFlags uint32 const ( CovDataReaderNoFlags CovDataReaderFlags = 0 PanicOnError = 1 << iota PanicOnWarning ) func (r *CovDataReader) Visit() error { podlist, err := pods.CollectPods(r.indirs, false) if err != nil { return fmt.Errorf("reading inputs: %v", err) } if len(podlist) == 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 14 00:03:57 UTC 2023 - 8.4K 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/cmd/dist/util.go
sort.Strings(out) keep := out[:0] for _, x := range out { if len(keep) == 0 || keep[len(keep)-1] != x { keep = append(keep, x) } } return keep } const ( CheckExit = 1 << iota ShowOutput Background ) var outputLock sync.Mutex // run is like runEnv with no additional environment. func run(dir string, mode int, cmd ...string) string { return runEnv(dir, mode, nil, cmd...) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 23 17:50:29 UTC 2023 - 11.2K bytes - Viewed (0) -
src/go/doc/exports.go
// identifiers on the LHS with underscore, so that it matches // the sequence of expression on the RHS. // // Similarly, if there are no type and values, then this expression // must be following an iota expression, where order matters. if updateIdentList(s.Names) { r.filterType(nil, s.Type) return true } } else { s.Names = filterIdentList(s.Names) if len(s.Names) > 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 01 18:18:07 UTC 2022 - 8.5K bytes - Viewed (0)