- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 529 for testfn (0.18 sec)
-
src/runtime/pprof/testdata/test64
Russ Cox <******@****.***> 1488850797 -0500
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 08 01:09:18 UTC 2017 - 760 bytes - Viewed (0) -
src/slices/sort_test.go
for i := 0; i < len(fs); i++ { testfs := Clone(fs) testfs[i] = math.NaN() fmin := Min(testfs) if !math.IsNaN(fmin) { t.Errorf("got min %v, want NaN", fmin) } fmax := Max(testfs) if !math.IsNaN(fmax) { t.Errorf("got max %v, want NaN", fmax) } } } func TestMinMaxPanics(t *testing.T) { intCmp := func(a, b int) int { return a - b }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 09 19:20:55 UTC 2024 - 9.5K bytes - Viewed (0) -
src/cmd/go/testdata/script/cover_cgo_extra_test.txt
[short] skip [!cgo] skip [compiler:gccgo] skip # gccgo has no cover tool # Test coverage on cgo code. This test case has an external # test that tests the code and an in-package test file with # no test cases. go test -short -cover cgocover3 stdout 'coverage:.*[1-9][0-9.]+%' ! stderr '[^0-9]0\.0%' -- go.mod -- module cgocover3 go 1.16 -- p.go -- package p /* void f(void) { } */ import "C"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 24 21:26:10 UTC 2022 - 584 bytes - Viewed (0) -
src/testing/testing.go
// For example, using "matching" to mean "whose name contains": // // go test -run '' # Run all tests. // go test -run Foo # Run top-level tests matching "Foo", such as "TestFooBar". // go test -run Foo/A= # For top-level tests matching "Foo", run subtests matching "A=". // go test -run /A=1 # For all top-level tests, run subtests matching "A=1". // go test -fuzz FuzzFoo # Fuzz the target matching "FuzzFoo" //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 76.1K bytes - Viewed (0) -
src/cmd/compile/internal/test/testdata/unsafe_test.go
return ret } func testdse(t *testing.T) { x := int64(-1) // construct two pointers that alias one another ui64 := (*uint64)(unsafe.Pointer(&x)) ui32 := (*uint32)(unsafe.Pointer(&x)) if want, got := uint32(0), alias_ssa(ui64, ui32); got != want { t.Fatalf("alias_ssa: wanted %d, got %d\n", want, got) } } func TestUnsafe(t *testing.T) { testf(t) testg(t) testdse(t)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Dec 23 06:40:04 UTC 2020 - 3K bytes - Viewed (2) -
src/strconv/testdata/testfp.txt
# Powers of 2. # %.20g versions. # random sources # random targets # random targets ± half a ULP # Difficult boundary cases, derived from tables given in # Vern Paxson, A Program for Testing IEEE Decimal-Binary Conversion # ftp://ftp.ee.lbl.gov/testbase-report.ps.Z # Table 1: Stress Inputs for Conversion to 53-bit Binary, < 1/2 ULP float64 %b 5e+125 6653062250012735p+365 float64 %b 69e+267 4705683757438170p+841
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 08 04:08:51 UTC 2014 - 7.9K bytes - Viewed (0) -
src/cmd/go/testdata/script/cover_pkgall_runtime.txt
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 19 19:57:03 UTC 2019 - 305 bytes - Viewed (0) -
tensorflow/c/eager/unified_api_test.cc
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Feb 27 13:57:45 UTC 2024 - 6.7K bytes - Viewed (0) -
src/cmd/go/testdata/script/cover_cgo_xtest.txt
package p_test import ( . "cgocover2" "testing" ) func TestF(t *testing.T) { F()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 24 21:26:10 UTC 2022 - 464 bytes - Viewed (0) -
src/cmd/go/testdata/script/test_relative_import.txt
env GO111MODULE=off # relative import not supported in module mode # Run tests outside GOPATH. env GOPATH=$WORK/tmp go test ./testimport stdout '^ok' -- testimport/p.go -- package p func F() int { return 1 } -- testimport/p1/p1.go -- package p1 func F() int { return 1 } -- testimport/p_test.go -- package p import ( "./p1" "testing" ) func TestF(t *testing.T) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 17 13:25:29 UTC 2020 - 443 bytes - Viewed (0)