- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 24 for testOf (0.06 sec)
-
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/tests/tests.go
ok = false } } return ok } func isTestingType(typ types.Type, testingType string) bool { // No Unalias here: I doubt "go test" recognizes // "type A = *testing.T; func Test(A) {}" as a test. ptr, ok := typ.(*types.Pointer) if !ok { return false } return analysisutil.IsNamedType(ptr.Elem(), "testing", testingType) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 02:38:00 UTC 2024 - 14.4K 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/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/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/go/testdata/script/README
This directory holds test scripts *.txt run during 'go test cmd/go'. To run a specific script foo.txt go test cmd/go -run=Script/^foo$ In general script files should have short names: a few words, not whole sentences. The first word should be the general category of behavior being tested, often the name of a go subcommand (list, build, test, ...) or concept (vendor, pattern).
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 22:16:54 UTC 2024 - 12.5K bytes - Viewed (0) -
src/cmd/link/internal/ld/dwarf_test.go
} t.Fatalf("error reading linentry: %v", err) } // check LE contains an entry to test.go if le.File == nil { continue } file := filepath.Base(le.File.Name) if file == "test.go" { found = true break } } if !found { t.Errorf("no LPT entries for test.go") } } const zeroSizedVarProg = ` package main import ( "fmt"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 08 01:38:11 UTC 2024 - 48.6K 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/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/crypto/x509/name_constraints_test.go
continue } if !ok { continue } if mailbox.local != test.localPart || mailbox.domain != test.domain { t.Errorf("#%d: %q parsed as (%q, %q), but wanted (%q, %q)", i, test.in, mailbox.local, mailbox.domain, test.localPart, test.domain) } } } func TestBadNamesInConstraints(t *testing.T) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 09 22:40:21 UTC 2024 - 45.2K 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)