Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 48 for wasip1 (0.82 sec)

  1. 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)
  2. 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)
  3. test/fixedbugs/issue21317.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.
    
    // As of "Mon 6 Nov 2017", run.go doesn't yet have proper
    // column matching so instead match the output manually
    // by exec-ing
    
    package main
    
    import (
    	"fmt"
    	"io/ioutil"
    	"log"
    	"os"
    	"os/exec"
    	"strings"
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  4. src/os/stat_unix.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 os
    
    import (
    	"syscall"
    )
    
    // Stat returns the [FileInfo] structure describing file.
    // If there is an error, it will be of type [*PathError].
    func (f *File) Stat() (FileInfo, error) {
    	if f == nil {
    		return nil, ErrInvalid
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 22:38:03 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  5. src/net/ipsock_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 || wasip1 || windows
    
    package net
    
    import (
    	"context"
    	"internal/poll"
    	"net/netip"
    	"runtime"
    	"syscall"
    	_ "unsafe" // for linkname
    )
    
    // probe probes IPv4, IPv6 and IPv4-mapped IPv6 communication
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  6. src/runtime/stubs2.go

    // 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.
    
    //go:build !aix && !darwin && !js && !openbsd && !plan9 && !solaris && !wasip1 && !windows
    
    package runtime
    
    import (
    	"internal/runtime/atomic"
    	"unsafe"
    )
    
    // read calls the read system call.
    // It returns a non-negative number of bytes written or a negative errno value.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  7. src/crypto/rand/rand.go

    //   - On other Unix-like systems, Reader reads from /dev/urandom.
    //   - On Windows, Reader uses the ProcessPrng API.
    //   - On js/wasm, Reader uses the Web Crypto API.
    //   - On wasip1/wasm, Reader uses random_get from wasi_snapshot_preview1.
    var Reader io.Reader
    
    // Read is a helper function that calls Reader.Read using io.ReadFull.
    // On return, n == len(b) if and only if err == nil.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 20:02:21 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  8. src/cmd/internal/bootstrap_test/reboot_test.go

    	"testing"
    	"time"
    )
    
    func TestRepeatBootstrap(t *testing.T) {
    	if testing.Short() {
    		t.Skip("skipping test that rebuilds the entire toolchain")
    	}
    	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)
    
    	// To ensure that bootstrapping doesn't unexpectedly depend
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  9. src/syscall/syscall_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 (
    	"errors"
    	"internal/itoa"
    	"internal/oserror"
    	"unsafe"
    )
    
    type Dircookie = uint64
    
    type Filetype = uint8
    
    const (
    	FILETYPE_UNKNOWN Filetype = iota
    	FILETYPE_BLOCK_DEVICE
    	FILETYPE_CHARACTER_DEVICE
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  10. src/os/user/listgroups_unix_test.go

    // Copyright 2021 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 ((darwin || dragonfly || freebsd || (js && wasm) || wasip1 || (!android && linux) || netbsd || openbsd || solaris) && ((!cgo && !darwin) || osusergo)) || aix || illumos
    
    package user
    
    import (
    	"fmt"
    	"slices"
    	"strings"
    	"testing"
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 3K bytes
    - Viewed (0)
Back to top