- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 9,335 for whave (0.08 sec)
-
src/cmd/compile/internal/typecheck/subr.go
} else if have != nil && have.Sym == missing.Sym { return fmt.Sprintf("%v does not implement %v (wrong type for %v method)\n"+ "\t\thave %v%S\n\t\twant %v%S", t, iface, missing.Sym, have.Sym, have.Type, missing.Sym, missing.Type) } else if ptr != 0 { return fmt.Sprintf("%v does not implement %v (%v method has pointer receiver)", t, iface, missing.Sym) } else if have != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 05 19:45:58 UTC 2023 - 20.2K bytes - Viewed (0) -
src/internal/types/testdata/check/expr3.go
f2(3.14) /* ERROR "not enough arguments in call to f2\n\thave (number)\n\twant (float32, string)" */ f2(3.14, "foo") f2(x /* ERRORx `cannot use .* in argument` */ , "foo") f2(g0 /* ERROR "used as value" */ ()) /* ERROR "not enough arguments in call to f2\n\thave (func())\n\twant (float32, string)" */ f2(g1()) /* ERROR "not enough arguments in call to f2\n\thave (int)\n\twant (float32, string)" */
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 16 22:41:49 UTC 2023 - 15.6K bytes - Viewed (0) -
src/cmd/go/internal/modfetch/codehost/git_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Dec 14 19:46:23 UTC 2023 - 18.9K bytes - Viewed (0) -
src/net/http/cookie_test.go
} var benchmarkCookieString string b.ReportAllocs() b.ResetTimer() for i := 0; i < b.N; i++ { benchmarkCookieString = c.String() } if have, want := benchmarkCookieString, wantCookieString; have != want { b.Fatalf("Have: %v Want: %v", have, want) } } func BenchmarkReadSetCookies(b *testing.B) { header := Header{ "Set-Cookie": {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 18:33:05 UTC 2024 - 26.2K bytes - Viewed (0) -
src/internal/types/testdata/fixedbugs/issue39634.go
// crash 20 type Z20 /* ERROR "invalid recursive type" */ interface{ Z20 } func F20[t Z20]() { F20(t /* ERROR "invalid composite literal type" */ /* ERROR "too many arguments in call to F20\n\thave (unknown type)\n\twant ()" */ {}) } // crash 21 type Z21 /* ERROR "invalid recursive type" */ interface{ Z21 } func F21[T Z21]() { ( /* ERROR "not used" */ F21[Z21]) } // crash 24
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 05 18:13:11 UTC 2024 - 3.4K bytes - Viewed (0) -
test/fixedbugs/issue4215.go
return 2.3 // ERROR "not enough return values\n\thave \(number\)\n\twant \(int, int\)|not enough arguments to return" } func foo2() { return int(2), 2 // ERROR "too many (arguments to return|return values)\n\thave \(int, number\)\n\twant \(\)|return with value in function with no return type" } func foo3(v int) (a, b, c, d int) { if v >= 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 18 21:43:02 UTC 2022 - 2K bytes - Viewed (0) -
src/debug/elf/file_test.go
} defer f.Close() if f.FileHeader != tt.hdr { t.Errorf("open %s:\n\thave %#v\n\twant %#v\n", tt.file, f.FileHeader, tt.hdr) continue } for i, s := range f.Sections { if i >= len(tt.sections) { break } sh := tt.sections[i] if s.SectionHeader != sh { t.Errorf("open %s, section %d:\n\thave %#v\n\twant %#v\n", tt.file, i, s.SectionHeader, sh) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 22 16:22:42 UTC 2023 - 60.1K bytes - Viewed (0) -
test/fixedbugs/issue48835.go
func f() { var x int f0(1) // ERROR "too many arguments in call to f0\n\thave \(number\)\n\twant \(\)" f0(x) // ERROR "too many arguments in call to f0\n\thave \(int\)\n\twant \(\)" f1() // ERROR "not enough arguments in call to f1\n\thave \(\)\n\twant \(int\)" f1(1, 2) // ERROR "too many arguments in call to f1\n\thave \(number, number\)\n\twant \(int\)"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 24 20:57:46 UTC 2021 - 1K bytes - Viewed (0) -
testing/architecture-test/src/changes/archunit-store/provider-task-properties.txt
Method <org.gradle.api.tasks.GradleBuild.getBuildFile()> does not have raw return type assignable to org.gradle.api.provider.Property in (GradleBuild.java:0) Method <org.gradle.api.tasks.GradleBuild.getBuildName()> does not have raw return type assignable to org.gradle.api.provider.Property in (GradleBuild.java:0)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 11 13:33:20 UTC 2024 - 51.8K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/text/language/tables.go
15: {want: 0x71, have: 0x3e2, distance: 0xa, oneway: true}, 16: {want: 0x75, have: 0x139, distance: 0xa, oneway: true}, 17: {want: 0x82, have: 0x1be, distance: 0xa, oneway: true}, 18: {want: 0xa5, have: 0x139, distance: 0xa, oneway: true}, 19: {want: 0xb2, have: 0x15e, distance: 0xa, oneway: true}, 20: {want: 0xdd, have: 0x153, distance: 0xa, oneway: true},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 24 13:01:26 UTC 2024 - 14.2K bytes - Viewed (0)