- Sort Score
- Result 10 results
- Languages All
Results 171 - 180 of 228 for wasip1 (0.18 sec)
-
src/net/conf.go
if goosPrefersCgo() { confVal.preferCgo = true return } // The remaining checks are specific to Unix systems. switch runtime.GOOS { case "plan9", "windows", "js", "wasip1": return } // If any environment-specified resolver options are specified, // prefer the cgo resolver. // Note that LOCALDOMAIN can change behavior merely by being // specified with the empty string.
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/net/udpsock_test.go
} if addr != nil { t.Errorf("ReadFromUDP got addr %+#v want nil", addr) } } func TestAllocs(t *testing.T) { switch runtime.GOOS { case "plan9", "js", "wasip1": // These implementations have not been optimized. t.Skipf("skipping on %v", runtime.GOOS) } if !testableNetwork("udp4") { t.Skipf("skipping: udp4 not available") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 18 17:20:52 UTC 2023 - 17.2K bytes - Viewed (0) -
src/cmd/dist/test.go
cpu: "10", pkg: "sync", }) } const cgoHeading = "Testing cgo" if t.cgoEnabled { t.registerCgoTests(cgoHeading) } if goos == "wasip1" { t.registerTest("wasip1 host tests", &goTest{ variant: "host", pkg: "runtime/internal/wasitest", timeout: 1 * time.Minute, runOnHost: true, }) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 16:01:35 UTC 2024 - 50K bytes - Viewed (0) -
src/runtime/pprof/proto_test.go
} map2 = &profile.Mapping{ ID: 1, Start: start, Limit: end, File: exe, BuildID: buildID, HasFunctions: true, } case "js", "wasip1": addr1 = uint64(abi.FuncPCABIInternal(f1)) addr2 = uint64(abi.FuncPCABIInternal(f2)) default: addr1 = uint64(abi.FuncPCABIInternal(f1)) addr2 = uint64(abi.FuncPCABIInternal(f2))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 31 23:21:53 UTC 2024 - 17K bytes - Viewed (0) -
src/os/timeout_test.go
// Copyright 2017 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:build !js && !plan9 && !wasip1 && !windows package os_test import ( "fmt" "io" "math/rand" "os" "os/signal" "runtime" "sync" "syscall" "testing" "time" ) func TestNonpollableDeadline(t *testing.T) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 14 00:03:57 UTC 2023 - 17.1K bytes - Viewed (0) -
src/cmd/link/internal/wasm/asm.go
sizeOffset := writeSecHeader(ctxt, sectionExport) switch buildcfg.GOOS { case "wasip1": writeUleb128(ctxt.Out, 2) // number of exports s := ldr.Lookup("_rt0_wasm_wasip1", 0) idx := uint32(lenHostImports) + uint32(ldr.SymValue(s)>>16) - funcValueOffset writeName(ctxt.Out, "_start") // the wasi entrypoint ctxt.Out.WriteByte(0x00) // func export writeUleb128(ctxt.Out, uint64(idx)) // funcidx
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jan 22 16:17:48 UTC 2024 - 21.9K bytes - Viewed (0) -
src/net/tcpsock_test.go
t.Errorf("Read(buf) = %d, %v, want %d, nil", n, err, x) } c.Close() <-done }) } } func TestCopyPipeIntoTCP(t *testing.T) { switch runtime.GOOS { case "js", "wasip1": t.Skipf("skipping: os.Pipe not supported on %s", runtime.GOOS) } ln := newLocalListener(t, "tcp") defer ln.Close() errc := make(chan error, 1) defer func() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 20 06:04:31 UTC 2024 - 17.7K bytes - Viewed (0) -
src/internal/poll/fd_unix.go
// Copyright 2017 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:build unix || (js && wasm) || wasip1 package poll import ( "internal/itoa" "internal/syscall/unix" "io" "sync/atomic" "syscall" ) // FD is a file descriptor. The net and os packages use this type as a
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 31 04:09:44 UTC 2024 - 17.9K bytes - Viewed (0) -
src/path/filepath/path_test.go
// and only on some file systems (AFS, FAT). To avoid errors during // all.bash on those file systems, skip during go test -short. // Chmod is not supported on wasip1. if runtime.GOOS == "windows" || runtime.GOOS == "wasip1" { t.Skip("skipping on " + runtime.GOOS) } if os.Getuid() == 0 { t.Skip("skipping as root") } if testing.Short() { t.Skip("skipping in short mode") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 22 16:38:19 UTC 2024 - 47.1K bytes - Viewed (0) -
src/time/sleep_test.go
// // Even if GOMAXPROCS=1, we expect the runtime to eventually schedule // the AfterFunc goroutine instead of the runnable channel goroutine. // However, in https://go.dev/issue/65178 this was observed to live-lock // on wasip1/wasm and js/wasm after <10000 runs. defer runtime.GOMAXPROCS(runtime.GOMAXPROCS(1)) var ( wg sync.WaitGroup stop atomic.Bool c = make(chan bool, 1) ) wg.Add(2) go func() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 22 16:33:57 UTC 2024 - 22.5K bytes - Viewed (0)