- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 228 for wasip1 (0.47 sec)
-
src/runtime/semasleep_test.go
// Copyright 2018 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 !plan9 && !windows && !js && !wasip1 package runtime_test import ( "io" "os/exec" "syscall" "testing" "time" ) // Issue #27250. Spurious wakeups to pthread_cond_timedwait_relative_np // shouldn't cause semasleep to retry with the same timeout which would
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 06 17:48:24 UTC 2023 - 3.5K bytes - Viewed (0) -
src/cmd/internal/bootstrap_test/experiment_toolid_test.go
// Verifies go.dev/issue/33091. func TestExperimentToolID(t *testing.T) { if testing.Short() { t.Skip("skipping test that rebuilds the entire toolchain twice") } switch runtime.GOOS { case "android", "ios", "js", "wasip1": t.Skipf("skipping because the toolchain does not have to bootstrap on GOOS=%s", runtime.GOOS) } realGoroot := testenv.GOROOT(t) // Set up GOROOT. goroot := t.TempDir()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 18:47:14 UTC 2023 - 3.3K bytes - Viewed (0) -
src/os/read_test.go
} } func TestReadOnlyWriteFile(t *testing.T) { if Getuid() == 0 { t.Skipf("Root can write to read-only files anyway, so skip the read-only test.") } if runtime.GOOS == "wasip1" { t.Skip("no support for file permissions on " + runtime.GOOS) } t.Parallel() // We don't want to use CreateTemp directly, since that opens a file for us as 0600. tempDir, err := MkdirTemp("", t.Name())
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 10 02:36:46 UTC 2024 - 3.2K bytes - Viewed (0) -
src/internal/testenv/testenv.go
return !testing.Short() && runtime.GOOS != "js" && runtime.GOOS != "wasip1" } // MustHaveExternalNetwork checks that the current system can use // external (non-localhost) networks. // If not, MustHaveExternalNetwork calls t.Skip with an explanation. func MustHaveExternalNetwork(t testing.TB) { if runtime.GOOS == "js" || runtime.GOOS == "wasip1" { t.Helper()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 16:41:38 UTC 2024 - 15.7K bytes - Viewed (0) -
src/net/iprawsock_posix.go
// Copyright 2010 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 || wasip1 || windows package net import ( "context" "syscall" ) func sockaddrToIP(sa syscall.Sockaddr) Addr { switch sa := sa.(type) { case *syscall.SockaddrInet4: return &IPAddr{IP: sa.Addr[0:]} case *syscall.SockaddrInet6:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 16:54:32 UTC 2024 - 3.9K bytes - Viewed (0) -
src/os/exec_unix.go
// Copyright 2009 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 os import ( "errors" "runtime" "syscall" "time" ) const ( // Special values for Process.Pid. pidUnset = 0 pidReleased = -1 ) func (p *Process) wait() (ps *ProcessState, err error) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 22:06:47 UTC 2024 - 4.1K bytes - Viewed (0) -
src/net/platform_test.go
t.Helper() // A few APIs like File and Read/WriteMsg{UDP,IP} are not // fully implemented yet on Plan 9 and Windows. switch runtime.GOOS { case "windows", "js", "wasip1": if network == "file+net" { t.Logf(format, args...) return } case "plan9": t.Logf(format, args...) return } t.Fatalf(format, args...)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 18 17:20:52 UTC 2023 - 4.3K bytes - Viewed (0) -
test/linkobj.go
// run //go:build !nacl && !js && gc && !wasip1 // Copyright 2016 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. // Test the compiler -linkobj flag. package main import ( "fmt" "io/ioutil" "log" "os" "os/exec" "strings" ) var pwd, tmpdir string func main() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:25 UTC 2023 - 3.5K bytes - Viewed (0) -
src/net/unixsock_test.go
"runtime" "syscall" "testing" "time" ) func TestReadUnixgramWithUnnamedSocket(t *testing.T) { if !testableNetwork("unixgram") { t.Skip("unixgram test") } switch runtime.GOOS { case "js", "wasip1": t.Skipf("skipping: syscall.Socket not implemented on %s", runtime.GOOS) } if runtime.GOOS == "openbsd" { testenv.SkipFlaky(t, 15157) } addr := testUnixAddr(t)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 18 17:20:52 UTC 2023 - 10.6K bytes - Viewed (0) -
src/cmd/go/internal/lockedfile/internal/filelock/filelock_test.go
// Copyright 2018 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 package filelock_test import ( "fmt" "internal/testenv" "os" "path/filepath" "runtime" "testing" "time" "cmd/go/internal/lockedfile/internal/filelock" ) func lock(t *testing.T, f *os.File) { t.Helper()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 06 22:37:50 UTC 2023 - 4K bytes - Viewed (0)