- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 185 for iota (0.1 sec)
-
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/go/types/hilbert_test.go
for j := 0; j < n; j++ { if j > 0 { g.p(", ") } g.p("h%d_%d", i, j) } if i == 0 { g.p(" = ") for j := 0; j < n; j++ { if j > 0 { g.p(", ") } g.p("1.0/(iota + %d)", j+1) } } g.p("\n") } g.p(")\n\n") } func (g *gen) inverse(n int) { g.p(`// Inverse Hilbert matrix const ( `) for i := 0; i < n; i++ { for j := 0; j < n; j++ {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 03 18:48:38 UTC 2024 - 3.5K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/ast/inspector/typeof.go
// // The initial map-based implementation was too slow; // see https://go-review.googlesource.com/c/tools/+/135655/1/go/ast/inspector/inspector.go#196 import ( "go/ast" "math" ) const ( nArrayType = iota nAssignStmt nBadDecl nBadExpr nBadStmt nBasicLit nBinaryExpr nBlockStmt nBranchStmt nCallExpr nCaseClause nChanType nCommClause nComment nCommentGroup nCompositeLit
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 18 21:28:13 UTC 2023 - 4.8K bytes - Viewed (0) -
src/unicode/graphic.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package unicode // Bit masks for each code point under U+0100, for fast lookup. const ( pC = 1 << iota // a control character. pP // a punctuation character. pN // a numeral. pS // a symbolic character. pZ // a spacing character.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 06 20:02:46 UTC 2023 - 4.4K 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) -
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)