Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 919 for unixOS (0.18 sec)

  1. src/net/splice_linux.go

    // copies from and to userspace. c must be a TCP connection.
    // Currently, spliceTo is only enabled if w is a stream-oriented Unix connection.
    //
    // If spliceTo returns handled == false, it has performed no work.
    func spliceTo(w io.Writer, c *netFD) (written int64, err error, handled bool) {
    	uc, ok := w.(*UnixConn)
    	if !ok || uc.fd.net != "unix" {
    		return
    	}
    
    	written, handled, err = pollSplice(&uc.fd.pfd, &c.pfd, 1<<63-1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 21:49:26 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  2. cni/pkg/pluginlistener/listener.go

    	"os"
    	"path/filepath"
    
    	"istio.io/istio/pkg/log"
    )
    
    func NewListener(path string) (net.Listener, error) {
    	// Remove unix socket before use.
    	if err := os.Remove(path); err != nil && !os.IsNotExist(err) {
    		// Anything other than "file not found" is an error.
    		return nil, fmt.Errorf("failed to remove unix://%s: %v", path, err)
    	}
    
    	// Attempt to create the folder in case it doesn't exist
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 26 20:34:28 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  3. src/internal/syscall/unix/kernel_version_solaris_test.go

    		if err != syscall.EINTR {
    			break
    		}
    	}
    	wantAccept4 := err != syscall.ENOSYS
    	gotAccept4 := unix.SupportAccept4()
    	if wantAccept4 != gotAccept4 {
    		t.Fatalf("SupportAccept4, got %t; want %t", gotAccept4, wantAccept4)
    	}
    
    	// Test that the version returned by KernelVersion matches expectations.
    	major, minor := unix.KernelVersion()
    	t.Logf("Kernel version: %d.%d", major, minor)
    	if runtime.GOOS == "illumos" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:17:25 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  4. pkg/kubelet/util/util_unix.go

    limitations under the License.
    */
    
    package util
    
    import (
    	"net/url"
    	"path/filepath"
    )
    
    const (
    	// unixProtocol is the network protocol of unix socket.
    	unixProtocol = "unix"
    )
    
    // LocalEndpoint returns the full path to a unix socket at the given endpoint
    func LocalEndpoint(path, file string) (string, error) {
    	u := url.URL{
    		Scheme: unixProtocol,
    		Path:   path,
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 08:58:18 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/phases/kubelet/flags_test.go

    			opts: kubeletFlagsOpts{
    				nodeRegOpts: &kubeadmapi.NodeRegistrationOptions{
    					CRISocket: "unix:///var/run/containerd/containerd.sock",
    					KubeletExtraArgs: []kubeadmapi.Arg{
    						{Name: "hostname-override", Value: "override-name"},
    					},
    				},
    			},
    			expected: []kubeadmapi.Arg{
    				{Name: "container-runtime-endpoint", Value: "unix:///var/run/containerd/containerd.sock"},
    				{Name: "hostname-override", Value: "override-name"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 24 07:02:51 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  6. src/net/unixsock_test.go

    	if !testableNetwork("unix") {
    		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: Mon Sep 18 17:20:52 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  7. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CopyTaskChildSpecIntegrationTest.groovy

                        println(filePermissions.getOrNull() == null ? "DEFAULT" : filePermissions.get().toUnixNumeric())
                        dirPermissions {unix(0755) }
                        println(dirPermissions.getOrNull() == null ? "DEFAULT" : dirPermissions.get().toUnixNumeric())
                        dirPermissions {unix(0755) }
                    }
                }
    
                tasks.register("copy", Copy) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  8. src/runtime/fds_nonunix.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 !unix
    
    package runtime
    
    func checkfds() {
    	// Nothing to do on non-Unix platforms.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jul 25 16:33:33 UTC 2023
    - 256 bytes
    - Viewed (0)
  9. src/cmd/go/internal/script/cmds_nonunix.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 !unix
    
    package script
    
    func isETXTBSY(err error) bool {
    	// syscall.ETXTBSY is only meaningful on Unix platforms.
    	return false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 00:12:01 UTC 2024
    - 301 bytes
    - Viewed (0)
  10. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/ProcessFixture.groovy

            println "Killing process with pid: $pid"
            if (pid == null) {
                throw new RuntimeException("Unable to force kill the process because provided pid is null!")
            }
            if (!(OperatingSystem.current().unix || OperatingSystem.current().windows)) {
                throw new RuntimeException("This implementation does not know how to forcefully kill a process on os: " + OperatingSystem.current())
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5.6K bytes
    - Viewed (0)
Back to top