Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 228 for wasip1 (0.12 sec)

  1. 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)
  2. src/mime/type_unix.go

    // Copyright 2010 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 mime
    
    import (
    	"bufio"
    	"os"
    	"strings"
    )
    
    func init() {
    	osInitMime = initMimeUnix
    }
    
    // See https://specifications.freedesktop.org/shared-mime-info-spec/shared-mime-info-spec-0.21.html
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 11 20:56:32 UTC 2023
    - 3K bytes
    - Viewed (0)
  3. src/net/file_wasip1_test.go

    // license that can be found in the LICENSE file.
    
    //go:build wasip1
    
    package net
    
    import (
    	"syscall"
    	"testing"
    )
    
    // The tests in this file intend to validate the ability for net.FileConn and
    // net.FileListener to handle both TCP and UDP sockets. Ideally we would test
    // the public interface by constructing an *os.File from a file descriptor
    // opened on a socket, but the WASI preview 1 specification is too limited to
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 13 21:06:56 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  4. test/fixedbugs/issue19658.go

    // run
    //go:build !nacl && !js && !wasip1 && !gccgo
    
    // 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.
    
    // ensure that panic(x) where x is a numeric type displays a readable number
    package main
    
    import (
    	"bytes"
    	"fmt"
    	"io/ioutil"
    	"log"
    	"os"
    	"os/exec"
    	"path/filepath"
    )
    
    const fn = `
    package main
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 11 20:56:32 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  5. 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)
  6. src/internal/testenv/exec.go

    	}
    }
    
    var (
    	tryExecOnce sync.Once
    	tryExecErr  error
    )
    
    func tryExec() error {
    	switch runtime.GOOS {
    	case "wasip1", "js", "ios":
    	default:
    		// Assume that exec always works on non-mobile platforms and Android.
    		return nil
    	}
    
    	// ios has an exec syscall but on real iOS devices it might return a
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 27 17:53:23 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  7. src/net/lookup_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 || wasip1
    
    package net
    
    import (
    	"context"
    	"internal/bytealg"
    	"sync"
    )
    
    var onceReadProtocols sync.Once
    
    // readProtocols loads contents of /etc/protocols into protocols map
    // for quick access.
    func readProtocols() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:20:52 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  8. src/net/fd_fake.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 net
    
    import (
    	"internal/poll"
    	"runtime"
    	"time"
    )
    
    const (
    	readSyscallName  = "fd_read"
    	writeSyscallName = "fd_write"
    )
    
    // Network file descriptor.
    type netFD struct {
    	pfd poll.FD
    
    	// immutable until Close
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 15:56:08 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  9. src/syscall/env_unix.go

    // Copyright 2010 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) || plan9 || wasip1
    
    // Unix environment variables.
    
    package syscall
    
    import (
    	"runtime"
    	"sync"
    )
    
    var (
    	// envOnce guards initialization by copyenv, which populates env.
    	envOnce sync.Once
    
    	// envLock guards env and envs.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 06 20:58:35 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  10. src/os/exec_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 os
    
    import (
    	"internal/itoa"
    	"internal/syscall/execenv"
    	"runtime"
    	"syscall"
    )
    
    // The only signal values guaranteed to be present in the os package on all
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 22:06:47 UTC 2024
    - 3.7K bytes
    - Viewed (0)
Back to top