- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 6,081 for f$ (0.07 sec)
-
src/cmd/go/testdata/script/test_fuzz_mutate_crash.txt
func FuzzWithGoexit(f *testing.F) { f.Add([]byte("aa")) f.Fuzz(func(t *testing.T, b []byte) { if string(b) != "aa" { runtime.Goexit() } }) } func FuzzWithFail(f *testing.F) { f.Add([]byte("aa")) f.Fuzz(func(t *testing.T, b []byte) { if string(b) != "aa" { t.Fail() } }) } func FuzzWithLogFail(f *testing.F) { f.Add([]byte("aa")) f.Fuzz(func(t *testing.T, b []byte) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 16 16:53:11 UTC 2023 - 8.3K bytes - Viewed (0) -
src/cmd/compile/internal/types2/mono_test.go
} // TODO(mdempsky): Validate specific error messages and positioning. var bads = []string{ "func F[T any](x T) { F(&x) }", "func F[T any]() { F[*T]() }", "func F[T any]() { F[[]T]() }", "func F[T any]() { F[[1]T]() }", "func F[T any]() { F[chan T]() }", "func F[T any]() { F[map[*T]int]() }", "func F[T any]() { F[map[error]T]() }", "func F[T any]() { F[func(T)]() }", "func F[T any]() { F[func() T]() }",
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 28 17:58:07 UTC 2023 - 2.5K bytes - Viewed (0) -
src/cmd/go/testdata/script/test_fuzz_setenv.txt
} func FuzzB(f *testing.F) { if os.Getenv("TEST_FUZZ_SETENV_A") != "" { f.Fatal("environment variable not cleared after FuzzA") } f.Skip() } func isWorker() bool { f := flag.Lookup("test.fuzzworker") if f == nil { return false } get, ok := f.Value.(flag.Getter) if !ok { return false } return get.Get() == interface{}(true)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 16 16:53:11 UTC 2023 - 943 bytes - Viewed (0) -
test/fixedbugs/issue7863.go
) type Foo int64 func (f *Foo) F() int64 { return int64(*f) } type Bar int64 func (b Bar) F() int64 { return int64(b) } type Baz int32 func (b Baz) F() int64 { return int64(b) } func main() { foo := Foo(123) f := foo.F if foo.F() != f() { bug() fmt.Println("foo.F", foo.F(), f()) } bar := Bar(123) f = bar.F if bar.F() != f() { bug()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 790 bytes - Viewed (0) -
test/fuse.go
} func fNeqLeqU(a uint32, f float64) bool { return a != 2 && f > Cf2 || a <= 2 && f < -Cf2 // ERROR "Redirect Leq32U based on Neq32$" } func fLessEq(a int, f float64) bool { return a < 0 && f > Cf2 || a == 0 && f < -Cf2 } func fLessNeq(a int32, f float64) bool { return a < 0 && f > Cf2 || a != 0 && f < -Cf2 } func fLessLess(a float32, f float64) bool {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 23 00:02:36 UTC 2024 - 5.3K bytes - Viewed (0) -
pkg/test/framework/components/echo/match/matchers_test.go
} func (f fakeInstance) PortForName(name string) echo.Port { return f.Config().Ports.MustForName(name) } func (f fakeInstance) Config() echo.Config { cfg := echo.Config(f) _ = cfg.FillDefaults(nil) return cfg } func (f fakeInstance) ServiceName() string { return f.Config().Service } func (f fakeInstance) NamespaceName() string { return f.Config().NamespaceName() }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 22:12:34 UTC 2024 - 5.2K bytes - Viewed (0) -
test/fixedbugs/bug473.go
package main func F(a ...interface{}) interface{} { s := 0 for _, v := range a { s += v.(int) } return s } var V1 = F(V10, V4, V3, V11) var V2 = F(V1) var V3 = F(1) var V4 = F(2) var V5 = F(3) var V6 = F(4) var V7 = F(5) var V8 = F(V14, V7, V3, V6, V5) var V9 = F(V4, F(V12)) var V10 = F(V4, V9) var V11 = F(6)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 1K bytes - Viewed (0) -
src/go/types/generate_test.go
"lookup.go": func(f *ast.File) { fixTokenPos(f) }, "main_test.go": nil, "map.go": nil, "mono.go": func(f *ast.File) { fixTokenPos(f) insertImportPath(f, `"go/ast"`) renameSelectorExprs(f, "syntax.Expr->ast.Expr") }, "named.go": func(f *ast.File) { fixTokenPos(f); renameSelectors(f, "Trace->_Trace") },
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:01:18 UTC 2024 - 16.5K bytes - Viewed (0) -
src/cmd/go/testdata/script/test_fuzz.txt
} func FuzzPass(f *testing.F) { fuzzFn(f) } func FuzzPassString(f *testing.F) { f.Add("some seed corpus") f.Fuzz(func(*testing.T, string) {}) } func FuzzPanic(f *testing.F) { f.Fuzz(func(t *testing.T, b []byte) {}) } func FuzzInNestedDir(f *testing.F) { f.Fuzz(func(t *testing.T, b []byte) {}) } func FuzzWrongType(f *testing.F) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 16 16:53:11 UTC 2023 - 10.2K bytes - Viewed (0) -
src/cmd/go/testdata/script/test_fuzz_cleanup.txt
"testing" ) func FuzzTargetSkip(f *testing.F) { f.Cleanup(func() { f.Log("cleanup") }) f.Skip() } func FuzzTargetFatal(f *testing.F) { f.Cleanup(func() { f.Log("cleanup") }) f.Fatal() } func FuzzTargetGoexit(f *testing.F) { f.Cleanup(func() { f.Log("cleanup") }) runtime.Goexit() } func FuzzTargetPanic(f *testing.F) { f.Cleanup(func() { f.Log("cleanup") }) panic("oh no") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 16 16:53:11 UTC 2023 - 1.4K bytes - Viewed (0)