- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 100 for wasip1 (0.22 sec)
-
test/fixedbugs/issue33275_run.go
// run //go:build !nacl && !js && !wasip1 && !gccgo // Copyright 2019 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. // Make sure we don't get an index out of bounds error // while trying to print a map that is concurrently modified. // The runtime might complain (throw) if it detects the modification, // so we have to run the test as a subprocess.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:25 UTC 2023 - 717 bytes - Viewed (0) -
src/syscall/timestruct.go
// 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. //go:build unix || (js && wasm) || wasip1 package syscall // TimespecToNsec returns the time stored in ts as nanoseconds. func TimespecToNsec(ts Timespec) int64 { return ts.Nano() } // NsecToTimespec converts a number of nanoseconds into a [Timespec].
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 21:03:59 UTC 2024 - 958 bytes - Viewed (0) -
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/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) -
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)