Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 441 for unixOS (0.12 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. src/net/cgo_unix_syscall.go

    package net
    
    import (
    	"internal/syscall/unix"
    	"runtime"
    	"syscall"
    	"unsafe"
    )
    
    const (
    	_C_AF_INET      = syscall.AF_INET
    	_C_AF_INET6     = syscall.AF_INET6
    	_C_AF_UNSPEC    = syscall.AF_UNSPEC
    	_C_EAI_AGAIN    = unix.EAI_AGAIN
    	_C_EAI_NONAME   = unix.EAI_NONAME
    	_C_EAI_SERVICE  = unix.EAI_SERVICE
    	_C_EAI_NODATA   = unix.EAI_NODATA
    	_C_EAI_OVERFLOW = unix.EAI_OVERFLOW
    	_C_EAI_SYSTEM   = unix.EAI_SYSTEM
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 07 23:50:56 UTC 2024
    - 3K bytes
    - Viewed (0)
  7. tools/istio-iptables/pkg/validation/vld_unix.go

    	return conn.Control(func(descriptor uintptr) {
    		err := unix.SetsockoptInt(int(descriptor), unix.SOL_SOCKET, unix.SO_REUSEADDR, 1)
    		if err != nil {
    			log.Errorf("Fail to set fd %d SO_REUSEADDR with error %v", descriptor, err)
    		}
    		err = unix.SetsockoptInt(int(descriptor), unix.SOL_SOCKET, unix.SO_REUSEPORT, 1)
    		if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 08 03:52:24 UTC 2024
    - 3K bytes
    - Viewed (0)
  8. src/net/unixsock_windows_test.go

    	if !windows.SupportUnixSocket() {
    		t.Skip("unix test")
    	}
    	handler := func(ls *localServer, ln Listener) {}
    	for _, laddr := range []string{"", testUnixAddr(t)} {
    		laddr := laddr
    		taddr := testUnixAddr(t)
    		ta, err := ResolveUnixAddr("unix", taddr)
    		if err != nil {
    			t.Fatal(err)
    		}
    		ln, err := ListenUnix("unix", ta)
    		if err != nil {
    			t.Fatal(err)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 12 17:24:57 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  9. pilot/cmd/pilot-agent/app/fds_unix.go

    // limitations under the License.
    
    package app
    
    import "golang.org/x/sys/unix"
    
    func raiseFileLimits() (uint64, error) {
    	rlimit := unix.Rlimit{}
    	if err := unix.Getrlimit(unix.RLIMIT_NOFILE, &rlimit); err != nil {
    		return 0, err
    	}
    	rlimit.Cur = rlimit.Max
    	if err := unix.Setrlimit(unix.RLIMIT_NOFILE, &rlimit); err != nil {
    		return 0, err
    	}
    
    	return rlimit.Cur, nil
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 06 22:16:26 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  10. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/DefaultConfigurableFilePermissions.java

                    other.unix(getOtherPartOf(normalizedPermissions));
                }
            } catch (IllegalArgumentException cause) {
                throw new InvalidUserDataException("'" + unixNumericOrSymbolic + "' isn't a proper Unix permission. " + cause.getMessage());
            }
        }
    
        @Override
        public void unix(int unixNumeric) {
            user.unix(getUserPartOf(unixNumeric));
            group.unix(getGroupPartOf(unixNumeric));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 4.4K bytes
    - Viewed (0)
Back to top