Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 743 for unixOS (0.14 sec)

  1. src/cmd/go/internal/modindex/syslist.go

    	"openbsd":   true,
    	"plan9":     true,
    	"solaris":   true,
    	"wasip1":    true,
    	"windows":   true,
    	"zos":       true,
    }
    
    // unixOS is the set of GOOS values matched by the "unix" build tag.
    // This is not used for filename matching.
    // This list also appears in cmd/dist/build.go.
    var unixOS = map[string]bool{
    	"aix":       true,
    	"android":   true,
    	"darwin":    true,
    	"dragonfly": true,
    	"freebsd":   true,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 04 01:45:58 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  2. src/go/build/syslist.go

    	"plan9":     true,
    	"solaris":   true,
    	"wasip1":    true,
    	"windows":   true,
    	"zos":       true,
    }
    
    // unixOS is the set of GOOS values matched by the "unix" build tag.
    // This is not used for filename matching.
    // This list also appears in cmd/dist/build.go and
    // cmd/go/internal/imports/build.go.
    var unixOS = map[string]bool{
    	"aix":       true,
    	"android":   true,
    	"darwin":    true,
    	"dragonfly": true,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 30 18:50:57 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  3. src/internal/goos/unix.go

    // Copyright 2022 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
    
    package goos
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 09 14:05:53 UTC 2022
    - 211 bytes
    - Viewed (0)
  4. pkg/util/filesystem/util_windows_test.go

    	// Replace the temporary file with an actual Unix domain socket file
    	os.Remove(testFile)
    	ta, err := net.ResolveUnixAddr("unix", testFile)
    	require.NoError(t, err, "Failed to ResolveUnixAddr.")
    	unixln, err := net.ListenUnix("unix", ta)
    	require.NoError(t, err, "Failed to ListenUnix.")
    
    	// Wait for the goroutine to finish, then close the socket
    	wg.Wait()
    	unixln.Close()
    }
    
    func TestAbsWithSlash(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 09:10:26 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  5. src/runtime/fds_unix.go

    // license that can be found in the LICENSE file.
    
    //go:build unix
    
    package runtime
    
    func checkfds() {
    	if islibrary || isarchive {
    		// If the program is actually a library, presumably being consumed by
    		// another program, we don't want to mess around with the file
    		// descriptors.
    		return
    	}
    
    	const (
    		// F_GETFD, EBADF, O_RDWR are standard across all unixes we support, so
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 27 22:20:25 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/term/term_unix.go

    	// the termios(3) manpage.
    	termios.Iflag &^= unix.IGNBRK | unix.BRKINT | unix.PARMRK | unix.ISTRIP | unix.INLCR | unix.IGNCR | unix.ICRNL | unix.IXON
    	termios.Oflag &^= unix.OPOST
    	termios.Lflag &^= unix.ECHO | unix.ECHONL | unix.ICANON | unix.ISIG | unix.IEXTEN
    	termios.Cflag &^= unix.CSIZE | unix.PARENB
    	termios.Cflag |= unix.CS8
    	termios.Cc[unix.VMIN] = 1
    	termios.Cc[unix.VTIME] = 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  7. pkg/kubelet/eviction/threshold_notifier_linux.go

    	var err error
    	watchfd, err = unix.Open(fmt.Sprintf("%s/%s", path, attribute), unix.O_RDONLY|unix.O_CLOEXEC, 0)
    	if err != nil {
    		return nil, err
    	}
    	defer unix.Close(watchfd)
    	controlfd, err = unix.Open(fmt.Sprintf("%s/cgroup.event_control", path), unix.O_WRONLY|unix.O_CLOEXEC, 0)
    	if err != nil {
    		return nil, err
    	}
    	defer unix.Close(controlfd)
    	eventfd, err = unix.Eventfd(0, unix.EFD_CLOEXEC)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 01 21:59:54 UTC 2022
    - 5.8K bytes
    - Viewed (0)
  8. src/cmd/internal/osinfo/os_unix.go

    //go:build unix
    
    package osinfo
    
    import "golang.org/x/sys/unix"
    
    // Version returns the OS version name/number.
    func Version() (string, error) {
    	var uts unix.Utsname
    	if err := unix.Uname(&uts); err != nil {
    		return "", err
    	}
    
    	sysname := unix.ByteSliceToString(uts.Sysname[:])
    	release := unix.ByteSliceToString(uts.Release[:])
    	version := unix.ByteSliceToString(uts.Version[:])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 30 23:58:34 UTC 2022
    - 666 bytes
    - Viewed (0)
  9. platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/DefaultConfigurableFilePermissionsTest.java

            assertInvalidUnixPermission("rwxrwx|wx", "'rwxrwx|wx' isn't a proper Unix permission. '|' is not a valid Unix permission READ flag, must be 'r' or '-'.");
            assertInvalidUnixPermission("r|xrwxrwx", "'r|xrwxrwx' isn't a proper Unix permission. '|' is not a valid Unix permission WRITE flag, must be 'w' or '-'.");
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  10. src/path/filepath/example_unix_test.go

    import (
    	"fmt"
    	"path/filepath"
    )
    
    func ExampleSplitList() {
    	fmt.Println("On Unix:", filepath.SplitList("/a/b/c:/usr/bin"))
    	// Output:
    	// On Unix: [/a/b/c /usr/bin]
    }
    
    func ExampleRel() {
    	paths := []string{
    		"/a/b/c",
    		"/b/c",
    		"./b/c",
    	}
    	base := "/a"
    
    	fmt.Println("On Unix:")
    	for _, p := range paths {
    		rel, err := filepath.Rel(base, p)
    		fmt.Printf("%q: %q %v\n", p, rel, err)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 3.4K bytes
    - Viewed (0)
Back to top