Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for WASI (0.16 sec)

  1. src/runtime/internal/wasitest/tcpecho_test.go

    	// cannot access any information about the socket due to limitations
    	// with WASI preview 1 networking, and the WASM runtimes do not log the
    	// port when you pre-open a socket. So, we probe for a free port here.
    	// Given there's an unavoidable race condition, the test is disabled by
    	// default.
    	if os.Getenv("GOWASIENABLERACYTEST") != "1" {
    		t.Skip("skipping WASI test with unavoidable race condition")
    	}
    	var host string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 22:01:11 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. misc/wasm/go_wasip1_wasm_exec

    		;;
    	"wasmtime" | "")
    		exec wasmtime run --dir=/ --env PWD="$PWD" --env PATH="$PATH" -W max-wasm-stack=1048576 ${GOWASIRUNTIMEARGS:-} "$1" "${@:2}"
    		;;
    	*)
    		echo "Unknown Go WASI runtime specified: $GOWASIRUNTIME"
    		exit 1
    		;;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 17:09:10 UTC 2024
    - 797 bytes
    - Viewed (0)
  3. src/syscall/fs_wasip1.go

    		RIGHT_PATH_REMOVE_DIRECTORY |
    		RIGHT_PATH_UNLINK_FILE
    )
    
    // https://github.com/WebAssembly/WASI/blob/a2b96e81c0586125cc4dc79a5be0b78d9a059925/legacy/preview1/docs.md#-fd_closefd-fd---result-errno
    //
    //go:wasmimport wasi_snapshot_preview1 fd_close
    //go:noescape
    func fd_close(fd int32) Errno
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  4. src/syscall/syscall_wasip1.go

    // not have a mechanism to to spawn processes so there is no reason for an
    // application to take a dependency on this type.
    type Rusage struct {
    	Utime Timeval
    	Stime Timeval
    }
    
    // ProcAttr is a placeholder to allow compilation of the [os/exec] package
    // because we need Go programs to be portable across platforms. WASI does
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  5. src/runtime/netpoll_wasip1.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build wasip1
    
    package runtime
    
    import "unsafe"
    
    // WASI network poller.
    //
    // WASI preview 1 includes a poll_oneoff host function that behaves similarly
    // to poll(2) on Linux. Like poll(2), poll_oneoff is level triggered. It
    // accepts one or more subscriptions to FD read or write events.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 18:23:49 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  6. src/internal/poll/fd_wasip1.go

    package poll
    
    import (
    	"internal/byteorder"
    	"sync/atomic"
    	"syscall"
    	"unsafe"
    )
    
    type SysFile struct {
    	// RefCountPtr is a pointer to the reference count of Sysfd.
    	//
    	// WASI preview 1 lacks a dup(2) system call. When the os and net packages
    	// need to share a file/socket, instead of duplicating the underlying file
    	// descriptor, we instead provide a way to copy FD instances and manage the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 20:14:02 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  7. src/cmd/link/internal/wasm/asm.go

    		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
    		writeName(ctxt.Out, "memory")       // memory in wasi
    		ctxt.Out.WriteByte(0x02)            // mem export
    		writeUleb128(ctxt.Out, 0)           // memidx
    	case "js":
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 16:17:48 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  8. ChangeLog.md

    - [`KT-63612`](https://youtrack.jetbrains.com/issue/KT-63612) K2: Class is not abstract and does not implement abstract member
    - [`KT-63737`](https://youtrack.jetbrains.com/issue/KT-63737) Wasm: revise external declaration FE checker for WASI mode
    - [`KT-59782`](https://youtrack.jetbrains.com/issue/KT-59782) K2: Forbid local delegated properties with private accessors in public inline functions
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon May 27 17:14:23 UTC 2024
    - 292.1K bytes
    - Viewed (0)
Back to top