- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 5,200 for p$ (0.03 sec)
-
src/cmd/go/testdata/script/work_sync.txt
replace ( example.com/p => ../p example.com/q => ../q ) -- b/b.go -- package b import ( "example.com/p" "example.com/q" ) func Foo() { p.P() q.Q() } -- p/go.mod -- go 1.18 module example.com/p -- p/p.go -- package p func P() {} -- q/go.mod -- go 1.18 module example.com/q -- q/q.go -- package q func Q() {} -- r/go.mod -- go 1.18
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 16 17:32:23 UTC 2021 - 1.2K bytes - Viewed (0) -
src/internal/types/testdata/fixedbugs/issue59956.go
// license that can be found in the LICENSE file. package p func f1(func(int)) func f2(func(int), func(string)) func f3(func(int), func(string), func(float32)) func g1[P any](P) {} func _() { f1(g1) f2(g1, g1) f3(g1, g1, g1) } // More complex examples func g2[P any](P, P) {} func h3[P any](func(P), func(P), func() P) {}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 04 17:35:44 UTC 2023 - 873 bytes - Viewed (0) -
src/cmd/go/testdata/script/work_sync_relevant_dependency.txt
import ( "example.com/q" ) func Foo() { q.Q() } -- p/go.mod -- go 1.18 module example.com/p -- p/p.go -- package p func P() {} -- q/go.mod -- go 1.18 module example.com/q require example.com/p v1.1.0 replace example.com/p => ../p -- q/q.go -- package q import example.com/p func Q() { p.P()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 16 17:32:23 UTC 2021 - 1.2K bytes - Viewed (0) -
src/go/printer/testdata/generics.golden
func f[P any](T1[P], T2[P]) T3[P] func (x T[P]) m() func (T[P]) m(x T[P]) P func _() { type _ []T[P] var _ []T[P] _ = []T[P]{} } // type constraint literals with elided interfaces func _[P ~int, Q int | string]() {} func _[P struct{ f int }, Q *P]() {} // various potentially ambiguous type parameter lists (issue #49482) type _[P *T,] struct{} type _[P T | T] struct{} type _[P T | T | T | T] struct{}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 06 16:18:34 UTC 2022 - 2.6K bytes - Viewed (0) -
src/cmd/compile/internal/syntax/testdata/issue49482.go
package p type ( // these need a comma to disambiguate _[P *T,] struct{} _[P *T, _ any] struct{} _[P (*T),] struct{} _[P (*T), _ any] struct{} _[P (T),] struct{} _[P (T), _ any] struct{} // these parse as name followed by type _[P *struct{}] struct{} _[P (*struct{})] struct{} _[P ([]int)] struct{}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 30 18:02:18 UTC 2022 - 965 bytes - Viewed (0) -
src/cmd/gofmt/testdata/typeparams.golden
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 28 15:34:22 UTC 2021 - 680 bytes - Viewed (0) -
src/cmd/gofmt/testdata/typeparams.input
func (x T[P]) m() func ((T[P])) m(x T[P]) P func _() { type _ []T[P] var _ []T[P] _ = []T[P]{}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 28 15:34:22 UTC 2021 - 677 bytes - Viewed (0) -
src/go/printer/gobuild.go
// Skip leading space at beginning of line. blank := true for pos < len(p.output) && (p.output[pos] == ' ' || p.output[pos] == '\t') { pos++ } // Skip over // comment if any. if pos+3 < len(p.output) && p.output[pos] == tabwriter.Escape && p.output[pos+1] == '/' && p.output[pos+2] == '/' { blank = false for pos < len(p.output) && !isNL(p.output[pos]) { pos++ } } // Skip over \n at end of line.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 4.6K bytes - Viewed (0) -
src/cmd/compile/internal/syntax/dumper.go
case reflect.Slice: if x.IsNil() { p.printf("nil") return } p.printf("%s (%d entries) {", x.Type(), x.Len()) if x.Len() > 0 { p.indent++ p.printf("\n") for i, n := 0, x.Len(); i < n; i++ { p.printf("%d: ", i) p.dump(x.Index(i), nil) p.printf("\n") } p.indent-- } p.printf("}") case reflect.Struct: typ := x.Type()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jan 08 17:32:14 UTC 2021 - 4.5K bytes - Viewed (0) -
src/go/scanner/errors.go
func (p *ErrorList) Add(pos token.Position, msg string) { *p = append(*p, &Error{pos, msg}) } // Reset resets an [ErrorList] to no errors. func (p *ErrorList) Reset() { *p = (*p)[0:0] } // [ErrorList] implements the sort Interface. func (p ErrorList) Len() int { return len(p) } func (p ErrorList) Swap(i, j int) { p[i], p[j] = p[j], p[i] } func (p ErrorList) Less(i, j int) bool {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 12:02:03 UTC 2023 - 3K bytes - Viewed (0)