- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 45 for CHECK (0.37 sec)
-
src/bytes/buffer_test.go
check(t, "TestBasicOperations (1)", &buf, "") buf.Reset() check(t, "TestBasicOperations (2)", &buf, "") buf.Truncate(0) check(t, "TestBasicOperations (3)", &buf, "") n, err := buf.Write(testBytes[0:1]) if want := 1; err != nil || n != want { t.Errorf("Write: got (%d, %v), want (%d, %v)", n, err, want, nil) } check(t, "TestBasicOperations (4)", &buf, "a")
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Apr 26 13:31:36 GMT 2024 - 18.6K bytes - Viewed (0) -
src/cmd/api/api_test.go
} var ( updateGolden = flag.Bool("updategolden", false, "update golden files") ) func TestGolden(t *testing.T) { if *flagCheck { // slow, not worth repeating in -check t.Skip("skipping with -check set") } testenv.MustHaveGoBuild(t) td, err := os.Open("testdata/src/pkg") if err != nil { t.Fatal(err) } fis, err := td.Readdir(0) if err != nil { t.Fatal(err) } for _, fi := range fis {
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Jan 04 17:31:12 GMT 2024 - 7.1K bytes - Viewed (0) -
.github/ISSUE_TEMPLATE/12-telemetry.yml
Please draft the record entry for your proposal here. If multiple records need to be included, separate them with `---` lines. You can check the list of the approved counters and their current configuration in [config.txt](https://go.googlesource.com/telemetry/+/master/internal/configgen/config.txt). render: Text value: | counter: gopls/bug
Others - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon Nov 27 17:23:51 GMT 2023 - 2.4K bytes - Viewed (0) -
src/cmd/asm/main.go
"cmd/asm/internal/flags" "cmd/asm/internal/lex" "cmd/internal/bio" "cmd/internal/obj" "cmd/internal/objabi" ) func main() { log.SetFlags(0) log.SetPrefix("asm: ") buildcfg.Check() GOARCH := buildcfg.GOARCH flags.Parse() architecture := arch.Set(GOARCH, *flags.Shared || *flags.Dynlink) if architecture == nil { log.Fatalf("unrecognized architecture %s", GOARCH) }
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Tue Aug 29 07:48:38 GMT 2023 - 2.7K bytes - Viewed (0) -
src/cmd/cgo/internal/swig/swig_test.go
if !haveSwig { t.Skip("swig not found") } } func mustHaveSwigOnce(t *testing.T) { swig, err := exec.LookPath("swig") if err != nil { t.Skipf("swig not in PATH: %s", err) } // Check that swig was installed with Go support by checking // that a go directory exists inside the swiglib directory. // See https://golang.org/issue/23469. output, err := exec.Command(swig, "-go", "-swiglib").Output()
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri May 12 12:00:07 GMT 2023 - 3.7K bytes - Viewed (0) -
doc/asm.html
pseudo-register, not a hardware register, even on architectures with a hardware frame pointer. </p> <p> For assembly functions with Go prototypes, <code>go</code> <code>vet</code> will check that the argument names and offsets match. On 32-bit systems, the low and high 32 bits of a 64-bit value are distinguished by adding
HTML - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Tue Nov 28 19:15:27 GMT 2023 - 36.3K bytes - Viewed (0) -
src/archive/zip/fuzz_test.go
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Jan 13 18:06:33 GMT 2022 - 1.7K bytes - Viewed (0) -
src/bufio/bufio_test.go
b.WriteString("1234") tw.check(t, "", "") b.WriteString("56789012") // longer than BufSize tw.check(t, "12345678", "") // but not enough (after filling the partially-filled buffer) b.Flush() tw.check(t, "123456789012", "") } { tw := &teststringwriter{} b := NewWriterSize(tw, BufSize) b.WriteString("123456789") // long string, empty buffer: tw.check(t, "", "123456789") // use WriteString }
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Feb 10 18:56:01 GMT 2023 - 51.5K bytes - Viewed (0) -
src/bufio/scan.go
} // Request more data. return 0, nil, nil } // isSpace reports whether the character is a Unicode white space character. // We avoid dependency on the unicode package, but check validity of the implementation // in the tests. func isSpace(r rune) bool { if r <= '\u00FF' { // Obvious ASCII ones: \t through \r plus space. Plus two Latin-1 oddballs. switch r {
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon Oct 23 09:06:30 GMT 2023 - 14.2K bytes - Viewed (0) -
misc/ios/detect.go
fmt.Println() f, err := os.CreateTemp("", "go_ios_detect_") check(err) fname := f.Name() defer os.Remove(fname) out := output(parseMobileProvision(mp)) _, err = f.Write(out) check(err) check(f.Close()) cert, err := plistExtract(fname, "DeveloperCertificates:0") check(err) pcert, err := x509.ParseCertificate(cert) check(err) fmt.Printf("export GOIOS_DEV_ID=\"%s\"\n", pcert.Subject.CommonName)
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Oct 19 23:33:30 GMT 2023 - 3.2K bytes - Viewed (0)