- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 513 for gojs (0.04 sec)
-
src/syscall/js/js.go
return string(b) } //go:wasmimport gojs syscall/js.valuePrepareString func valuePrepareString(v ref) (ref, int) // valueLoadString loads string data located at ref v into byte slice b. // // (noescape): This is safe because the byte slice is only used as a destination // for storing the string data and references to it are not maintained. // //go:wasmimport gojs syscall/js.valueLoadString //go:noescape
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 19 14:35:26 UTC 2024 - 19.5K bytes - Viewed (0) -
src/cmd/compile/internal/ssagen/abi.go
} if wi.Module == wasm.GojsModule { // Functions that are imported from the "gojs" module use a special // ABI that just accepts the stack pointer. // Example: // // //go:wasmimport gojs add // func importedAdd(a, b uint) uint // // will roughly become // // (import "gojs" "add" (func (param i32))) wi.Params = []obj.WasmField{{Type: obj.WasmI32}} } else {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 13.8K bytes - Viewed (0) -
src/net/conf.go
case confVal.netGo: if netGoBuildTag { println("go package net: built with netgo build tag; using Go's DNS resolver") } else { println("go package net: GODEBUG setting forcing use of Go's resolver") } case !cgoAvailable: println("go package net: cgo resolver not supported; using Go's DNS resolver") case confVal.netCgo || confVal.preferCgo: println("go package net: using cgo DNS resolver")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat May 18 03:13:26 UTC 2024 - 15.5K bytes - Viewed (0) -
src/cmd/distpack/pack.go
if goroot == "" { log.Fatalf("missing $GOROOT") } gohostos = runtime.GOOS gohostarch = runtime.GOARCH goos = os.Getenv("GOOS") if goos == "" { goos = gohostos } goarch = os.Getenv("GOARCH") if goarch == "" { goarch = gohostarch } goosUnderGoarch := goos + "_" + goarch goosDashGoarch := goos + "-" + goarch exe := "" if goos == "windows" { exe = ".exe" }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 19:41:17 UTC 2024 - 10.9K bytes - Viewed (0) -
src/make.bash
# Default is "gcc". Also supported: "clang". # # CC_FOR_TARGET: Command line to run to compile C code for GOARCH. # This is used by cgo. Default is CC. # # CC_FOR_${GOOS}_${GOARCH}: Command line to run to compile C code for specified ${GOOS} and ${GOARCH}. # (for example, CC_FOR_linux_arm) # If this is not set, the build will use CC_FOR_TARGET if appropriate, or CC. #
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 13:48:46 UTC 2024 - 7.6K bytes - Viewed (0) -
src/runtime/extern.go
// when possible, a release tag like "go1.3". func Version() string { return buildVersion } // GOOS is the running program's operating system target: // one of darwin, freebsd, linux, and so on. // To view possible combinations of GOOS and GOARCH, run "go tool dist list". const GOOS string = goos.GOOS // GOARCH is the running program's architecture target: // one of 386, amd64, arm, s390x, and so on.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 17:52:17 UTC 2024 - 18.9K bytes - Viewed (0) -
src/cmd/dist/build.go
case "gc", "cmd_go_bootstrap", "go1.1": return true case "linux": return goos == "linux" || goos == "android" case "solaris": return goos == "solaris" || goos == "illumos" case "darwin": return goos == "darwin" || goos == "ios" case goos, goarch: return true case "unix": return unixOS[goos] default: return false } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 18:34:40 UTC 2024 - 54K bytes - Viewed (0) -
src/cmd/internal/testdir/testdir_test.go
if *target != "" { // When -target is set, propagate it to GOOS/GOARCH in our environment // so that all commands run with the target GOOS/GOARCH. // // We do this before even calling "go env", because GOOS/GOARCH can // affect other settings we get from go env (notably CGO_ENABLED). goos, goarch, ok := strings.Cut(*target, "/") if !ok { t.Fatalf("bad -target flag %q, expected goos/goarch", *target) } t.Setenv("GOOS", goos)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 21 20:08:06 UTC 2024 - 57.5K bytes - Viewed (0) -
src/cmd/dist/test.go
if goarch == "ppc64" && goos != "aix" { return false } return true } func (t *tester) internalLink() bool { if gohostos == "dragonfly" { // linkmode=internal fails on dragonfly since errno is a TLS relocation. return false } if goos == "android" { return false } if goos == "ios" { return false } if goos == "windows" && goarch == "arm64" {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 16:01:35 UTC 2024 - 50K bytes - Viewed (0) -
src/internal/platform/supported.go
} // CgoSupported reports whether goos/goarch supports cgo. func CgoSupported(goos, goarch string) bool { return distInfo[OSArch{goos, goarch}].CgoSupported } // FirstClass reports whether goos/goarch is considered a “first class” port. // (See https://go.dev/wiki/PortingPolicy#first-class-ports.) func FirstClass(goos, goarch string) bool { return distInfo[OSArch{goos, goarch}].FirstClass }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat May 04 07:50:22 UTC 2024 - 7.6K bytes - Viewed (0)