- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 19 for testOf (0.49 sec)
-
src/cmd/cgo/internal/testcarchive/carchive_test.go
t.Fatal(err) } } const testar = `#!/usr/bin/env bash while [[ $1 == -* ]] >/dev/null; do shift done echo "testar" > $1 echo "testar" > PWD/testar.ran ` func TestExtar(t *testing.T) { switch GOOS { case "windows": t.Skip("skipping signal test on Windows") } if runtime.Compiler == "gccgo" { t.Skip("skipping -extar test when using gccgo") } globalSkip(t)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 12 00:43:51 UTC 2023 - 34.8K bytes - Viewed (0) -
src/cmd/go/script_test.go
"golang.org/x/telemetry/counter/countertest" ) var testSum = flag.String("testsum", "", `may be tidy, listm, or listall. If set, TestScript generates a go.sum file at the beginning of each test and updates test files if they pass.`) // TestScript runs the tests in testdata/script/*.txt. func TestScript(t *testing.T) { testenv.MustHaveGoBuild(t) testenv.SkipIfShortAndSlow(t) srv, err := vcstest.NewServer() if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 18:15:22 UTC 2024 - 12.2K bytes - Viewed (0) -
src/cmd/go/internal/test/testflag.go
// to have "test" before them, and reading the command line for the test binary. // Unfortunately for us, we need to do our own flag processing because go test // grabs some flags but otherwise its command line is just a holding place for // pkg.test's arguments. // We allow known flags both before and after the package name list, // to allow both // // go test fmt -custom-flag-for-fmt-test // go test -x math
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 19:25:24 UTC 2024 - 12.2K bytes - Viewed (0) -
src/cmd/go/internal/modfetch/codehost/git_test.go
var gitrepo1, hgrepo1, vgotest1 string var altRepos = func() []string { return []string{ "localGitRepo", hgrepo1, } } // TODO: Convert gitrepo1 to svn, bzr, fossil and add tests. // For now, at least the hgrepo1 tests check the general vcs.go logic. // localGitRepo is like gitrepo1 but allows archive access // (although that doesn't really matter after CL 120041), // and has a file:// URL instead of http:// or https://
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/cmd/covdata/tool_test.go
// TestMain used here so that we can leverage the test executable // itself as a cmd/covdata executable; compare to similar usage in // the cmd/go tests. func TestMain(m *testing.M) { // When CMDCOVDATA_TEST_RUN_MAIN is set, we're reusing the test // binary as cmd/cover. In this case we run the main func exported // via export_test.go, and exit; CMDCOVDATA_TEST_RUN_MAIN is set below // for actual test invocations.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 07 20:46:32 UTC 2024 - 24.5K bytes - Viewed (0) -
src/cmd/compile/internal/liveness/intervals.go
// sorted sequence of disjoint ranges or intervals. An Intervals // example: { [0,5) [9-12) [100,101) }, which corresponds to the // numbers 0-4, 9-11, and 100. Once an Intervals object is created, it // can be tested to see if it has any overlap with another Intervals // object, or it can be merged with another Intervals object to form a // union of the two. // // The intended use case for this helper is in describing object or
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 29 21:55:27 UTC 2024 - 10K bytes - Viewed (0) -
src/cmd/compile/internal/walk/switch.go
nif := ir.NewIfStmt(base.Pos.WithNotStmt(), typecheck.DefaultLit(typecheck.Expr(c.test(expr)), nil), []ir.Node{c.jmp}, nil) out.Append(nif) out = &nif.Else } return } // The strategy here is to find a simple test to divide the set of possible strings // that might match expr approximately in half. // The test we're going to use is to do an ordered comparison of a single byte
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:34:01 UTC 2024 - 30.1K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/poset.go
if cur == dst { return } seen.Set(cur) l, r := po.chl(cur), po.chr(cur) if !seen.Test(l) { po.findpaths1(l, dst, seen, path) } if !seen.Test(r) { po.findpaths1(r, dst, seen, path) } if path.Test(l) || path.Test(r) { path.Set(cur) } } // Check whether it is recorded that i1!=i2 func (po *poset) isnoneq(i1, i2 uint32) bool {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 04 17:23:05 UTC 2023 - 37.2K bytes - Viewed (0) -
src/cmd/go/internal/mvs/mvs_test.go
A1: B1 C1 B1: C1 C1: req M A B: A1 B1 ` func Test(t *testing.T) { var ( name string reqs reqsMap fns []func(*testing.T) ) flush := func() { if name != "" { t.Run(name, func(t *testing.T) { for _, fn := range fns { fn(t) } if len(fns) == 0 { t.Errorf("no functions tested") } }) } } m := func(s string) module.Version {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 23 19:01:26 UTC 2023 - 11.5K bytes - Viewed (0) -
src/cmd/compile/internal/test/testdata/fp_test.go
expectFalse(t, fmt.Sprintf("%v==%v", a, b), c2) expectFalse(t, fmt.Sprintf("%v!=%v", a, a), c3) expectTrue(t, fmt.Sprintf("%v!=%v", a, b), c4) } // TestFP tests that we get the right answer for floating point expressions. func TestFP(t *testing.T) { a := 3.0 b := 4.0 c := float32(3.0) d := float32(4.0) tiny := float32(1.5e-45) // smallest f32 denorm = 2**(-149)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 05 17:54:15 UTC 2022 - 35K bytes - Viewed (0)