- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for Newport (0.18 sec)
-
src/cmd/api/api_test.go
} // TODO(gri) remove extra pkg directory eventually goldenFile := filepath.Join("testdata", "src", "pkg", fi.Name(), "golden.txt") w := NewWalker(nil, "testdata/src/pkg") pkg, _ := w.import_(fi.Name()) w.export(pkg) if *updateGolden { os.Remove(goldenFile) f, err := os.Create(goldenFile) if err != nil { t.Fatal(err) } for _, feat := range w.Features() { fmt.Fprintf(f, "%s\n", feat) }
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) -
src/cmd/cgo/doc.go
that returns errno. # C references to Go Go functions can be exported for use by C code in the following way: //export MyFunction func MyFunction(arg1, arg2 int, arg3 string) int64 {...} //export MyFunction2 func MyFunction2(arg1, arg2 int, arg3 string) (int64, *C.char) {...} They will be available in the C code as:
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Sun Mar 31 09:02:45 GMT 2024 - 42.1K bytes - Viewed (0) -
doc/next/6-stdlib/99-minor/net/63116.md
The [DNSError] type now wraps errors caused by timeouts or cancellation. For example, `errors.Is(someDNSErr, context.DeadlineExceedeed)`
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Wed Apr 24 13:37:36 GMT 2024 - 198 bytes - Viewed (0) -
src/bytes/bytes_test.go
actual = f(tc.in, tc.arg) } else { actual = fb(tc.in, []byte(tc.arg)) } report := func(s []byte) string { if s == nil { return "nil" } else { return fmt.Sprintf("%q", s) } } if len(actual) != 0 { t.Errorf("%s(%s, %q) returned non-empty value", name, report(tc.in), tc.arg) } else { actualNil := actual == nil outNil := tc.out == nil
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Jan 24 16:07:25 GMT 2024 - 56.2K bytes - Viewed (0) -
.github/ISSUE_TEMPLATE/04-vuln.yml
value: "Please answer these questions before submitting your issue. Thanks! To add a new vulnerability to the Go vulnerability database (https://vuln.go.dev), see https://go.dev/s/vulndb-report-new. To report an issue about a report, see https://go.dev/s/vulndb-report-feedback." - type: textarea id: govulncheck-version attributes: label: govulncheck version
Others - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Thu Jan 04 23:31:17 GMT 2024 - 1.9K bytes - Viewed (0) -
doc/go_spec.html
operand only on the left-hand side of an <a href="#Assignment_statements">assignment statement</a>. </p> <p> Implementation restriction: A compiler need not report an error if an operand's type is a <a href="#Type_parameter_declarations">type parameter</a> with an empty <a href="#Interface_types">type set</a>. Functions with such type parameters
HTML - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Thu May 02 22:43:51 GMT 2024 - 279.6K bytes - Viewed (0) -
src/buildall.bash
targets="$(linux_targets) $(non_linux_targets)" failed=false for target in $targets do echo "" echo "### Building $target" export GOOS=$(echo $target | sed 's/-.*//') export GOARCH=$(echo $target | sed 's/.*-//') unset GOARM if [ "$GOARCH" = "arm5" ]; then export GOARCH=arm export GOARM=5 fi # Build and vet everything. # cmd/go/internal/work/exec.go enables the same vet flags during go test of std cmd
Shell Script - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Tue Apr 23 17:45:23 GMT 2024 - 2.1K bytes - Viewed (0) -
src/cmd/api/main_test.go
if exitCode == 1 { t.Errorf("API database problems found") } if !compareAPI(bw, features, required, exception) { t.Errorf("API differences found") } } // export emits the exported package features. func (w *Walker) export(pkg *apiPackage) { if verbose { log.Println(pkg) } pop := w.pushScope("pkg " + pkg.Path()) w.current = pkg w.collectDeprecated() scope := pkg.Scope()
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Tue Apr 09 20:48:51 GMT 2024 - 31.4K bytes - Viewed (0) -
doc/next/6-stdlib/99-minor/runtime/debug/42888.md
The [SetCrashOutput] function allows the user to specify an alternate file to which the runtime should write its fatal crash report. It may be used to construct an automated reporting mechanism for all unexpected crashes, not just those in goroutines that explicitly use
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Fri Apr 12 20:57:18 GMT 2024 - 283 bytes - Viewed (0) -
doc/go_mem.html
is entirely undefined, and the compiler may do anything at all. Go's approach aims to make errant programs more reliable and easier to debug, while still insisting that races are errors and that tools can diagnose and report them. </p> <h2 id="model">Memory Model</h2> <p> The following formal definition of Go's memory model closely follows the approach presented by Hans-J. Boehm and Sarita V. Adve in
HTML - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Mon Mar 04 15:54:42 GMT 2024 - 26.6K bytes - Viewed (0)