Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,268 for unmix (0.04 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. internal/http/dial_linux.go

    			// Enable custom socket send/recv buffers.
    			if opts.SendBufSize > 0 {
    				_ = unix.SetsockoptInt(fd, unix.SOL_SOCKET, unix.SO_SNDBUF, opts.SendBufSize)
    			}
    
    			if opts.RecvBufSize > 0 {
    				_ = unix.SetsockoptInt(fd, unix.SOL_SOCKET, unix.SO_RCVBUF, opts.RecvBufSize)
    			}
    
    			// Enable TCP open
    			// https://lwn.net/Articles/508865/ - 32k queue size.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 22 23:07:14 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  8. src/archive/tar/strconv_test.go

    		{"-1", time.Unix(-1, -0e0+0e0), true},
    		{"-1.999000", time.Unix(-1, -1e9+1e6), true},
    		{"-1.999999", time.Unix(-1, -1e9+1e3), true},
    		{"-1.999999999", time.Unix(-1, -1e9+1e0), true},
    		{"0.000000001", time.Unix(0, 1e0+0e0), true},
    		{"0.000001", time.Unix(0, 1e3+0e0), true},
    		{"0.001000", time.Unix(0, 1e6+0e0), true},
    		{"0", time.Unix(0, 0e0), true},
    		{"0.999000", time.Unix(0, 1e9-1e6), true},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 09 05:28:50 UTC 2021
    - 14K bytes
    - Viewed (0)
  9. src/os/user/cgo_lookup_syscall.go

    	var result *_C_struct_group
    	errno = unix.Getgrgid(gid, &grp, buf, size, &result)
    	return grp, result != nil, errno
    }
    
    const (
    	_C__SC_GETPW_R_SIZE_MAX = unix.SC_GETPW_R_SIZE_MAX
    	_C__SC_GETGR_R_SIZE_MAX = unix.SC_GETGR_R_SIZE_MAX
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 11 04:31:34 UTC 2022
    - 2.2K bytes
    - Viewed (0)
  10. pkg/proxy/ipvs/util/ipvs_linux_test.go

    		}
    	}
    }
    
    func Test_stringToProtocol(t *testing.T) {
    	tests := []string{
    		"TCP", "UDP", "ICMP", "SCTP",
    	}
    	expected := []uint16{
    		uint16(unix.IPPROTO_TCP), uint16(unix.IPPROTO_UDP), uint16(0), uint16(unix.IPPROTO_SCTP),
    	}
    	for i := range tests {
    		got := stringToProtocol(tests[i])
    		if got != expected[i] {
    			t.Errorf("stringToProtocol() failed - got %#v, want %#v",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 27 16:37:50 UTC 2023
    - 9.9K bytes
    - Viewed (0)
Back to top