Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 446 for isSocket (0.34 sec)

  1. pkg/kubelet/pluginmanager/pluginwatcher/plugin_watcher.go

    		return nil
    	}
    
    	if !fi.IsDir() {
    		isSocket, err := util.IsUnixDomainSocket(util.NormalizePath(event.Name))
    		if err != nil {
    			return fmt.Errorf("failed to determine if file: %s is a unix domain socket: %v", event.Name, err)
    		}
    		if !isSocket {
    			klog.V(5).InfoS("Ignoring non socket file", "path", fi.Name())
    			return nil
    		}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 01 00:26:37 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  2. pkg/volume/util/hostutil/hostutil_windows.go

    	// os.Stat will return a 1920 error (windows.ERROR_CANT_ACCESS_FILE) if we use it on a Unix Socket
    	// on Windows. In this case, we need to use a different method to check if it's a Unix Socket.
    	if err == errUnknownFileType || isSystemCannotAccessErr(err) {
    		if isSocket, errSocket := filesystem.IsUnixDomainSocket(pathname); errSocket == nil && isSocket {
    			return FileTypeSocket, nil
    		}
    	}
    
    	return filetype, err
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 13:38:40 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/util/runtime/runtime.go

    func detectCRISocketImpl(isSocket func(string) bool, knownCRISockets []string) (string, error) {
    	foundCRISockets := []string{}
    
    	for _, socket := range knownCRISockets {
    		if isSocket(socket) {
    			foundCRISockets = append(foundCRISockets, socket)
    		}
    	}
    
    	switch len(foundCRISockets) {
    	case 0:
    		// Fall back to the default socket if no CRI is detected, we can error out later on if we need it
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 06:33:22 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  4. releasenotes/notes/exit-if-sds-socket-not-found.yaml

    kind: bug-fix
    area: security
    issue:
    - 45534
    releaseNotes:
    - |
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jul 11 22:42:46 UTC 2023
    - 313 bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sys/unix/syscall_linux_386.go

    	_, e := socketcall(_CONNECT, uintptr(s), uintptr(addr), uintptr(addrlen), 0, 0, 0)
    	if e != 0 {
    		err = e
    	}
    	return
    }
    
    func socket(domain int, typ int, proto int) (fd int, err error) {
    	fd, e := rawsocketcall(_SOCKET, uintptr(domain), uintptr(typ), uintptr(proto), 0, 0, 0)
    	if e != 0 {
    		err = e
    	}
    	return
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  6. src/syscall/syscall_linux_s390x.go

    		err = errnoErr(e1)
    	}
    	return
    }
    
    // On s390x Linux, all the socket calls go through an extra indirection.
    // The arguments to the underlying system call are the number below
    // and a pointer to an array of uintptr.  We hide the pointer in the
    // socketcall assembly to avoid allocation on every system call.
    
    const (
    	// see linux/net.h
    	_SOCKET      = 1
    	_BIND        = 2
    	_CONNECT     = 3
    	_LISTEN      = 4
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 22:23:07 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  7. okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingSocketFactory.kt

      }
    
      @Throws(IOException::class)
      override fun createSocket(
        host: String,
        port: Int,
      ): Socket {
        val socket = delegate.createSocket(host, port)
        return configureSocket(socket)
      }
    
      @Throws(IOException::class)
      override fun createSocket(
        host: String,
        port: Int,
        localAddress: InetAddress,
        localPort: Int,
      ): Socket {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  8. src/net/internal/socktest/switch.go

    	sw.stats = make(stats)
    }
    
    // Stats returns a list of per-cookie socket statistics.
    func (sw *Switch) Stats() []Stat {
    	var st []Stat
    	sw.smu.RLock()
    	for _, s := range sw.stats {
    		ns := *s
    		st = append(st, ns)
    	}
    	sw.smu.RUnlock()
    	return st
    }
    
    // Sockets returns mappings of socket descriptor to socket status.
    func (sw *Switch) Sockets() Sockets {
    	sw.smu.RLock()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/WebSocket.kt

    /**
     * A non-blocking interface to a web socket. Use the [factory][WebSocket.Factory] to create
     * instances; usually this is [OkHttpClient].
     *
     * ## Web Socket Lifecycle
     *
     * Upon normal operation each web socket progresses through a sequence of states:
     *
     *  * **Connecting:** the initial state of each web socket. Messages may be enqueued but they won't
     *    be transmitted until the web socket is open.
     *
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  10. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/remote/internal/inet/TcpIncomingConnector.java

                                socket.close();
                                continue;
                            }
                            LOGGER.debug("Accepted connection from {} to {}.", socket.socket().getRemoteSocketAddress(), socket.socket().getLocalSocketAddress());
                            try {
                                action.execute(new SocketConnectCompletion(socket));
                            } catch (Throwable t) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 5.4K bytes
    - Viewed (0)
Back to top