Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for SocketType (0.2 sec)

  1. src/syscall/creds_test.go

    // socket for this to work.
    func TestSCMCredentials(t *testing.T) {
    	socketTypeTests := []struct {
    		socketType int
    		dataLen    int
    	}{
    		{
    			syscall.SOCK_STREAM,
    			1,
    		}, {
    			syscall.SOCK_DGRAM,
    			0,
    		},
    	}
    
    	for _, tt := range socketTypeTests {
    		fds, err := syscall.Socketpair(syscall.AF_LOCAL, tt.socketType, 0)
    		if err != nil {
    			t.Fatalf("Socketpair: %v", err)
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 17 02:43:05 UTC 2022
    - 3.4K bytes
    - Viewed (0)
  2. pkg/volume/hostpath/host_path.go

    	if err != nil {
    		return false
    	}
    	return string(charDevType) == string(v1.HostPathCharDev)
    }
    
    func (ftc *fileTypeChecker) IsSocket() bool {
    	socketType, err := ftc.hu.GetFileType(ftc.path)
    	if err != nil {
    		return false
    	}
    	return string(socketType) == string(v1.HostPathSocket)
    }
    
    func (ftc *fileTypeChecker) GetPath() string {
    	return ftc.path
    }
    
    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/types_windows.go

    	ProviderId        GUID
    	CatalogEntryId    uint32
    	ProtocolChain     WSAProtocolChain
    	Version           int32
    	AddressFamily     int32
    	MaxSockAddr       int32
    	MinSockAddr       int32
    	SocketType        int32
    	Protocol          int32
    	ProtocolMaxOffset int32
    	NetworkByteOrder  int32
    	SecurityScheme    int32
    	MessageSize       uint32
    	ProviderReserved  uint32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 20 06:04:31 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/windows/types_windows.go

    	ProviderId        GUID
    	CatalogEntryId    uint32
    	ProtocolChain     WSAProtocolChain
    	Version           int32
    	AddressFamily     int32
    	MaxSockAddr       int32
    	MinSockAddr       int32
    	SocketType        int32
    	Protocol          int32
    	ProtocolMaxOffset int32
    	NetworkByteOrder  int32
    	SecurityScheme    int32
    	MessageSize       uint32
    	ProviderReserved  uint32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 05 22:18:42 UTC 2024
    - 104.1K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"WSAProtocolInfo.ServiceFlags1", Field, 2},
    		{"WSAProtocolInfo.ServiceFlags2", Field, 2},
    		{"WSAProtocolInfo.ServiceFlags3", Field, 2},
    		{"WSAProtocolInfo.ServiceFlags4", Field, 2},
    		{"WSAProtocolInfo.SocketType", Field, 2},
    		{"WSAProtocolInfo.Version", Field, 2},
    		{"WSARecv", Func, 0},
    		{"WSARecvFrom", Func, 0},
    		{"WSASYS_STATUS_LEN", Const, 0},
    		{"WSASend", Func, 0},
    		{"WSASendTo", Func, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
  6. api/go1.2.txt

    pkg syscall (windows-386), type WSAProtocolInfo struct, ServiceFlags3 uint32
    pkg syscall (windows-386), type WSAProtocolInfo struct, ServiceFlags4 uint32
    pkg syscall (windows-386), type WSAProtocolInfo struct, SocketType int32
    pkg syscall (windows-386), type WSAProtocolInfo struct, Version int32
    pkg syscall (windows-amd64), const BASE_PROTOCOL = 1
    pkg syscall (windows-amd64), const BASE_PROTOCOL ideal-int
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 18 04:36:59 UTC 2013
    - 1.9M bytes
    - Viewed (0)
Back to top