- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 81 for pos3 (0.06 sec)
-
src/cmd/vendor/golang.org/x/tools/internal/analysisinternal/analysis.go
// 'pos' represents the position at which the identifiers may be inserted. 'pos' must be within // the scope of each of identifier we select. Otherwise, we will insert a variable at 'pos' that // is unrecognized. func MatchingIdents(typs []types.Type, node ast.Node, pos token.Pos, info *types.Info, pkg *types.Package) map[types.Type][]string {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 11.7K bytes - Viewed (0) -
src/cmd/compile/internal/syntax/positions.go
} m = n.Type // expressions case *BadExpr: return n.Pos() case *Name: p := n.Pos() return MakePos(p.Base(), p.Line(), p.Col()+uint(len(n.Value))) case *BasicLit: p := n.Pos() return MakePos(p.Base(), p.Line(), p.Col()+uint(len(n.Value))) case *CompositeLit: return n.Rbrace case *KeyValueExpr: m = n.Value case *FuncLit: m = n.Body
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 17:49:19 UTC 2024 - 6.5K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/diagnostic.go
TextEdits []TextEdit } // A TextEdit represents the replacement of the code between Pos and End with the new text. // Each TextEdit should apply to a single file. End should not be earlier in the file than Pos. type TextEdit struct { // For a pure insertion, End can either be set to Pos or token.NoPos. Pos token.Pos End token.Pos NewText []byte
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 2.6K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/directive/directive.go
inHeader: true, } } func (check *checker) nonGoFile(pos token.Pos, fullText string) { // Process each line. text := fullText inStar := false for text != "" { offset := len(fullText) - len(text) var line string line, text, _ = strings.Cut(text, "\n") if !inStar && strings.HasPrefix(line, "//") { check.comment(pos+token.Pos(offset), line) continue }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 5.4K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/rewritePPC64.go
v.AuxInt = int32ToAuxInt(2) v0 := b.NewValue0(v.Pos, OpPPC64SLD, t) v1 := b.NewValue0(v.Pos, OpPPC64MOVHZreg, typ.Int64) v1.AddArg(x) v0.AddArg2(v1, y) v2 := b.NewValue0(v.Pos, OpPPC64MOVDconst, typ.Int64) v2.AuxInt = int64ToAuxInt(0) v3 := b.NewValue0(v.Pos, OpPPC64CMPconst, types.TypeFlags) v3.AuxInt = int64ToAuxInt(0) v4 := b.NewValue0(v.Pos, OpPPC64ANDconst, typ.Int)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 19:02:52 UTC 2024 - 360.2K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/func.go
v.ID = ID } else { v = &Value{ID: ID} } } v.Op = op v.Type = t v.Block = b if notStmtBoundary(op) { pos = pos.WithNotStmt() } v.Pos = pos b.Values = append(b.Values, v) return v } // newValueNoBlock allocates a new Value with the given fields. // The returned value is not placed in any block. Once the caller
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 19:44:43 UTC 2024 - 25.8K bytes - Viewed (0) -
pilot/pkg/networking/core/listener_waypoint.go
post = extension.PopAppendHTTP(post, wasm, extensions.PluginPhase_STATS) post = extension.PopAppendHTTP(post, wasm, extensions.PluginPhase_UNSPECIFIED_PHASE) post = append(post, xdsfilters.WaypointUpstreamMetadataFilter) post = append(post, lb.push.Telemetry.HTTPFilters(lb.node, cls, svc)...) return }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jun 14 04:34:37 UTC 2024 - 27.6K bytes - Viewed (0) -
src/cmd/compile/internal/ssagen/ssa.go
p := Arch.Ginsnop(s.pp) p.Pos = p.Pos.WithIsStmt() if b.Pos == src.NoXPos { b.Pos = p.Pos // It needs a file, otherwise a no-file non-zero line causes confusion. See #35652. if b.Pos == src.NoXPos { b.Pos = s.pp.Text.Pos // Sometimes p.Pos is empty. See #35695. } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 19:44:43 UTC 2024 - 284.9K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/analysis.go
func (pass *Pass) Reportf(pos token.Pos, format string, args ...interface{}) { msg := fmt.Sprintf(format, args...) pass.Report(Diagnostic{Pos: pos, Message: msg}) } // The Range interface provides a range. It's equivalent to and satisfied by // ast.Node. type Range interface { Pos() token.Pos // position of first character belonging to the node
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 9.1K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/stringintconv/string.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 5.2K bytes - Viewed (0)