- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 228 for wasip1 (0.11 sec)
-
test/live_uintptrkeepalive.go
// errorcheck -0 -m -live -std //go:build !windows && !js && !wasip1 // Copyright 2015 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 escape analysis and liveness inferred for uintptrkeepalive functions. // // This behavior is enabled automatically for function declarations with no
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:25 UTC 2023 - 2K bytes - Viewed (0) -
src/cmd/go/internal/toolchain/exec.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 !js && !wasip1 package toolchain import ( "cmd/go/internal/base" "internal/godebug" "os" "os/exec" "runtime" "syscall" ) // execGoToolchain execs the Go toolchain with the given name (gotoolchain), // GOROOT directory, and go command executable.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 19 14:42:39 UTC 2023 - 1.6K bytes - Viewed (0) -
test/linkx_run.go
// run //go:build !nacl && !js && !wasip1 && gc // Copyright 2014 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. // Run the linkx test. package main import ( "bytes" "fmt" "os" "os/exec" "strings" ) func main() { // test(" ") // old deprecated & removed syntax test("=") // new syntax }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:25 UTC 2023 - 1.7K bytes - Viewed (0) -
src/internal/poll/fd_posix.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 || windows package poll import ( "io" "syscall" ) // eofError returns io.EOF when fd is available for reading end of // file. func (fd *FD) eofError(n int, err error) error { if n == 0 && err == nil && fd.ZeroReadIsEOF {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 07 23:34:17 UTC 2023 - 1.9K bytes - Viewed (0) -
src/syscall/fs_wasip1_test.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 wasip1 package syscall_test import ( "syscall" "testing" ) var joinPathTests = [...]struct { dir, file, path string }{ 0: {".", ".", "."}, 1: {"./", "./", "./"}, 2: {"././././", ".", "."}, 3: {".", "./././", "./"}, 4: {".", "a", "a"},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 06 20:58:35 UTC 2023 - 2K bytes - Viewed (0) -
src/syscall/net_wasip1.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 wasip1 package syscall import "unsafe" const ( SHUT_RD = 0x1 SHUT_WR = 0x2 SHUT_RDWR = SHUT_RD | SHUT_WR ) type sdflags = uint32 //go:wasmimport wasi_snapshot_preview1 sock_accept //go:noescape
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 25 00:12:41 UTC 2023 - 1.8K bytes - Viewed (0) -
src/testing/run_example_wasm.go
// 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. //go:build js || wasip1 package testing import ( "fmt" "io" "os" "strings" "time" ) // TODO(@musiol, @odeke-em): unify this code back into // example.go when js/wasm gets an os.Pipe implementation. func runExample(eg InternalExample) (ok bool) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 11 20:56:32 UTC 2023 - 1.8K bytes - Viewed (0) -
test/const7.go
} if !bytes.Contains(output, []byte(msg)) { log.Fatalf("%s: wrong compiler error message:\n%s\n", name, output) } } func main() { if runtime.GOOS == "js" || runtime.GOOS == "wasip1" || runtime.Compiler != "gc" { return } dir, err := ioutil.TempDir("", "const7_") if err != nil { log.Fatalf("creating temp dir: %v\n", err) } defer os.RemoveAll(dir) const bitLimit = 512
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 11 20:56:32 UTC 2023 - 1.9K bytes - Viewed (0) -
src/net/file_wasip1.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 wasip1 package net import ( "os" "syscall" _ "unsafe" // for go:linkname ) func fileListener(f *os.File) (Listener, error) { filetype, err := fd_fdstat_get_type(f.PollFD().Sysfd) if err != nil { return nil, err }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 12 23:11:39 UTC 2023 - 2.2K bytes - Viewed (0) -
test/fixedbugs/bug369.go
// run //go:build !nacl && !js && !wasip1 && gc // 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. // Test that compiling with optimization turned on produces faster code. package main import ( "fmt" "io/ioutil" "os" "os/exec" "path/filepath" ) func main() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:25 UTC 2023 - 1.6K bytes - Viewed (0)