- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 185 for wasip1 (0.23 sec)
-
test/fixedbugs/issue22660.go
// run //go:build !js && !wasip1 && gc // 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. package main import ( "bytes" "fmt" "io/ioutil" "log" "os" "os/exec" "path/filepath" "strings" ) func main() { f, err := ioutil.TempFile("", "issue22660.go") if err != nil { log.Fatal(err)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:25 UTC 2023 - 1K bytes - Viewed (0) -
src/os/path_unix.go
// Copyright 2011 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 const ( PathSeparator = '/' // OS-specific path separator PathListSeparator = ':' // OS-specific path list separator ) // IsPathSeparator reports whether c is a directory separator character.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 18:44:48 UTC 2024 - 1.2K bytes - Viewed (0) -
test/fixedbugs/issue36437.go
// run //go:build !nacl && !js && !wasip1 && gc // Copyright 2020 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. // Tests that when non-existent files are passed to the // compiler, such as in: // go tool compile foo // we don't print the beginning position: // foo:0: open foo: no such file or directory // but instead omit it and print out:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:25 UTC 2023 - 1.1K bytes - Viewed (0) -
src/internal/testenv/testenv_test.go
t.Run("MustHaveExec", func(t *testing.T) { testenv.MustHaveExec(t) t.Logf("MustHaveExec did not skip") hasExec = true }) switch runtime.GOOS { case "js", "wasip1": if hasExec { // js and wasip1 lack an “exec” syscall. t.Errorf("expected MustHaveExec to skip on %v", runtime.GOOS) } case "ios": if b := testenv.Builder(); isCorelliumBuilder(b) && !hasExec {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jan 25 23:12:44 UTC 2024 - 6.1K bytes - Viewed (0) -
src/internal/poll/sys_cloexec.go
// license that can be found in the LICENSE file. // This file implements accept for platforms that do not provide a fast path for // setting SetNonblock and CloseOnExec. //go:build aix || darwin || (js && wasm) || wasip1 package poll import ( "syscall" ) // Wrapper around the accept system call that marks the returned file // descriptor as nonblocking and close-on-exec.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 07 23:34:17 UTC 2023 - 1.1K bytes - Viewed (0) -
src/net/port_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 || wasip1 // Read system port mappings from /etc/services package net import ( "internal/bytealg" "sync" ) var onceReadServices sync.Once func readServices() { file, err := open("/etc/services") if err != nil { return }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 18 17:20:52 UTC 2023 - 1.2K bytes - Viewed (0) -
src/net/rlimit_unix.go
// Copyright 2023 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 || wasip1 package net import "syscall" // concurrentThreadsLimit returns the number of threads we permit to // run concurrently doing DNS lookups via cgo. A DNS lookup may use a // file descriptor so we limit this to less than the number of
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 18 17:20:52 UTC 2023 - 1.1K bytes - Viewed (0) -
src/net/rawconn_test.go
// license that can be found in the LICENSE file. package net import ( "bytes" "runtime" "testing" "time" ) func TestRawConnReadWrite(t *testing.T) { switch runtime.GOOS { case "plan9", "js", "wasip1": t.Skipf("not supported on %s", runtime.GOOS) } t.Run("TCP", func(t *testing.T) { handler := func(ls *localServer, ln Listener) { c, err := ln.Accept() if err != nil { t.Error(err) return
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 18 17:20:52 UTC 2023 - 4.3K bytes - Viewed (0) -
src/os/rawconn_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. // Test use of raw connections. // //go:build !plan9 && !js && !wasip1 package os_test import ( "os" "syscall" "testing" ) func TestRawConnReadWrite(t *testing.T) { t.Parallel() r, w, err := os.Pipe() if err != nil { t.Fatal(err) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 07 23:34:21 UTC 2023 - 1.1K bytes - Viewed (0) -
test/fixedbugs/issue14636.go
// run //go:build !nacl && !js && !wasip1 && !android && gc // 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. package main import ( "bytes" "log" "os/exec" "strings" ) func main() { checkLinkOutput("", "-B argument must start with 0x") checkLinkOutput("0", "-B argument must start with 0x")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:25 UTC 2023 - 1.2K bytes - Viewed (0)