Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 316 for isSocket (0.27 sec)

  1. pkg/volume/hostpath/host_path_test.go

    			}
    		}
    
    		if tc.isSocket {
    			if !oftc.IsSocket() {
    				t.Errorf("[%d: %q] expected socket file, got unexpected: %s", i, tc.name, path)
    			}
    			if oftc.IsDir() {
    				t.Errorf("[%d: %q] expected socket file, got unexpected folder: %s", i, tc.name, path)
    			}
    			if oftc.IsFile() {
    				t.Errorf("[%d: %q] expected socket file, got unexpected file: %s", i, tc.name, path)
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 00:37:30 UTC 2023
    - 20.5K bytes
    - Viewed (0)
  2. pkg/volume/hostpath/host_path.go

    	case v1.HostPathFile:
    		if !ftc.IsFile() {
    			return fmt.Errorf("hostPath type check failed: %s is not a file", ftc.GetPath())
    		}
    	case v1.HostPathSocket:
    		if !ftc.IsSocket() {
    			return fmt.Errorf("hostPath type check failed: %s is not a socket file", ftc.GetPath())
    		}
    	case v1.HostPathCharDev:
    		if !ftc.IsChar() {
    			return fmt.Errorf("hostPath type check failed: %s is not a character device", ftc.GetPath())
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  3. src/syscall/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: Tue Nov 21 22:23:07 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/ConnectionSpecTest.kt

          )
        assertThat(tlsSpec.isCompatible(socket)).isTrue()
        applyConnectionSpec(tlsSpec, socket, isFallback = false)
        assertThat(socket.enabledProtocols).containsExactly(
          TlsVersion.TLS_1_2.javaName,
        )
        assertThat(socket.enabledCipherSuites.toList())
          .containsExactlyInAnyOrder(
            CipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256.javaName,
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  5. pkg/kubelet/cm/cpumanager/cpu_assignment_test.go

    		},
    		{
    			"dual socket, multi numa per socket, HT, 1 sockets free",
    			topoDualSocketMultiNumaPerSocketHT,
    			mustParseCPUSet(t, "1-79"),
    			[]int{1},
    		},
    		{
    			"dual socket, multi numa per socket, HT, 0 sockets free",
    			topoDualSocketMultiNumaPerSocketHT,
    			mustParseCPUSet(t, "1-78"),
    			[]int{},
    		},
    		{
    			"dual numa, multi socket per per socket, HT, 4 sockets free",
    			fakeTopoMultiSocketDualSocketPerNumaHT,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 09 17:31:37 UTC 2023
    - 22.7K bytes
    - Viewed (0)
  6. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

          }
    
          val source = socket.source().buffer()
          val sink = socket.sink().buffer()
    
          while (processOneRequest(socket, source, sink)) {
          }
    
          if (sequenceNumber == 0) {
            logger.warning(
              "${this@MockWebServer} connection from ${raw.inetAddress} didn't make a request",
            )
          }
    
          socket.close()
          openClientSockets.remove(socket)
        }
    
        /**
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sun Mar 31 17:16:15 UTC 2024
    - 37.4K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnection.kt

      val connectionPool: RealConnectionPool,
      override val route: Route,
      /** The low-level TCP socket. */
      private var rawSocket: Socket?,
      /**
       * The application layer socket. Either an [SSLSocket] layered over [rawSocket], or [rawSocket]
       * itself if this connection does not use SSL.
       */
      private var socket: Socket?,
      private var handshake: Handshake?,
      private var protocol: Protocol?,
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  8. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/remote/internal/inet/SocketConnection.java

        public SocketConnection(SocketChannel socket, MessageSerializer streamSerializer, StatefulSerializer<T> messageSerializer) {
            this.socket = socket;
            try {
                // NOTE: we use non-blocking IO as there is no reliable way when using blocking IO to shutdown reads while
                // keeping writes active. For example, Socket.shutdownInput() does not work on Windows.
                socket.configureBlocking(false);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  9. pkg/kube/inject/testdata/inject/hello-multi.yaml.injected

            prometheus.io/port: "15020"
            prometheus.io/scrape: "true"
            sidecar.istio.io/status: '{"initContainers":["istio-init"],"containers":["istio-proxy"],"volumes":["workload-socket","credential-socket","workload-certs","istio-envoy","istio-data","istio-podinfo","istio-token","istiod-ca-cert"],"imagePullSecrets":null,"revision":"default"}'
          creationTimestamp: null
          labels:
            app: hello
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Feb 27 16:55:16 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SmbTransport.java

            do {
    /* These Socket constructors attempt to connect before SO_TIMEOUT can be applied
                if (localAddr == null) {
                    socket = new Socket( address.getHostAddress(), 139 );
                } else {
                    socket = new Socket( address.getHostAddress(), 139, localAddr, localPort );
                }
                socket.setSoTimeout( SO_TIMEOUT );
    */
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 31.2K bytes
    - Viewed (0)
Back to top