- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 2,486 for cgoUse (0.19 sec)
-
src/runtime/cgo.go
func cgoUse(any) { throw("cgoUse should not be called") } // cgoAlwaysFalse is a boolean value that is always false. // The cgo-generated code says if cgoAlwaysFalse { cgoUse(p) }. // The compiler cannot see that cgoAlwaysFalse is always false, // so it emits the test and keeps the call, giving the desired // escape analysis result. The test is cheaper than the call. var cgoAlwaysFalse bool var cgo_yield = &_cgo_yield func cgoNoCallback(v bool) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:16:47 UTC 2024 - 3.1K bytes - Viewed (0) -
src/runtime/linkname.go
package runtime import _ "unsafe" // used in internal/godebug and syscall //go:linkname write // used by cgo //go:linkname _cgo_panic_internal //go:linkname cgoAlwaysFalse //go:linkname cgoUse //go:linkname cgoCheckPointer //go:linkname cgoCheckResult //go:linkname cgoNoCallback //go:linkname gobytes //go:linkname gostringn // used in plugin //go:linkname doInit // used in math/bits
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 778 bytes - Viewed (0) -
src/cmd/compile/internal/types2/issues_test.go
var _ syscall.Errno func _Cgo_ptr(ptr unsafe.Pointer) unsafe.Pointer { return ptr } //go:linkname _Cgo_always_false runtime.cgoAlwaysFalse var _Cgo_always_false bool //go:linkname _Cgo_use runtime.cgoUse func _Cgo_use(interface{}) type _Ctype_int int32 type _Ctype_struct_layout struct { field _Ctype_int } type _Ctype_void [0]byte //go:linkname _cgo_runtime_cgocall runtime.cgocall
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 28.1K bytes - Viewed (0) -
src/go/types/issues_test.go
var _ syscall.Errno func _Cgo_ptr(ptr unsafe.Pointer) unsafe.Pointer { return ptr } //go:linkname _Cgo_always_false runtime.cgoAlwaysFalse var _Cgo_always_false bool //go:linkname _Cgo_use runtime.cgoUse func _Cgo_use(interface{}) type _Ctype_int int32 type _Ctype_struct_layout struct { field _Ctype_int } type _Ctype_void [0]byte //go:linkname _cgo_runtime_cgocall runtime.cgocall
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 28.1K bytes - Viewed (0) -
src/cmd/cgo/out.go
} if err := fgcc.Close(); err != nil { fatalf("%s", err) } if err := fgcch.Close(); err != nil { fatalf("%s", err) } if *exportHeader != "" && len(p.ExpFunc) > 0 { fexp := creat(*exportHeader) fgcch, err := os.Open(*objDir + "_cgo_export.h") if err != nil { fatalf("%s", err) } defer fgcch.Close() _, err = io.Copy(fexp, fgcch) if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 29 16:41:10 UTC 2024 - 59.6K bytes - Viewed (0) -
internal/http/close.go
"io" xioutil "github.com/minio/minio/internal/ioutil" ) // DrainBody close non nil response with any response Body. // convenient wrapper to drain any remaining data on response body. // // Subsequently this allows golang http RoundTripper // to reuse the same connection for future requests. func DrainBody(respBody io.ReadCloser) { // Callers should close resp.Body when done reading from it.
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Jan 18 07:03:17 UTC 2024 - 1.7K bytes - Viewed (0) -
src/runtime/internal/wasitest/tcpecho_test.go
"math/rand" "net" "os" "os/exec" "testing" "time" ) func TestTCPEcho(t *testing.T) { if target != "wasip1/wasm" { t.Skip() } // We're unable to use port 0 here (let the OS choose a spare port). // Although the WASM runtime accepts port 0, and the WASM module listens // successfully, there's no way for this test to query the selected port // so that it can connect to the WASM module. The WASM module itself
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 22:01:11 UTC 2024 - 2.4K bytes - Viewed (0) -
docs/hotfixes.md
``` commit 4f3317effea38c203c358af9cb5ce3c0e4173976 Author: Klaus Post <******@****.***> Date: Mon Nov 8 08:41:27 2021 -0800 Close stream on panic (#13605) Always close streamHTTPResponse on panic on main thread to avoid write/flush after response handler has returned. ``` ``` λ git cherry-pick 4f3317effea38c203c358af9cb5ce3c0e4173976 ```
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed Feb 14 21:36:02 UTC 2024 - 5K bytes - Viewed (0) -
src/syscall/exec_unix_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 22 04:41:27 UTC 2024 - 7.9K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/troubleshooting/version_catalog_problems.adoc
[[reserved_alias_name]] == Use of a reserved alias name This error indicates that you chose an alias which is a reserved name. Typically this happens if you choose an alias which starts with `versions`, `bundles`, or `plugins` or contains `extensions`, `convention`, `class`, as it may clash with generated accessors. To fix this problem, you must choose a different alias. [[undefined_version_reference]] == Undefined version reference
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jan 13 21:49:09 UTC 2024 - 8.2K bytes - Viewed (0)