Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 1,278 for adir (0.09 sec)

  1. src/net/net_fake.go

    			return ip
    		}
    	}
    
    	switch addr := addr.(type) {
    	case *TCPAddr:
    		ip := convertIP(addr.IP)
    		if ip == nil || len(ip) == len(addr.IP) {
    			return addr
    		}
    		return &TCPAddr{IP: ip, Port: addr.Port, Zone: addr.Zone}
    	case *UDPAddr:
    		ip := convertIP(addr.IP)
    		if ip == nil || len(ip) == len(addr.IP) {
    			return addr
    		}
    		return &UDPAddr{IP: ip, Port: addr.Port, Zone: addr.Zone}
    	default:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 27 19:24:21 UTC 2024
    - 26.4K bytes
    - Viewed (0)
  2. istioctl/pkg/writer/envoy/configdump/endpoint.go

    }
    
    func retrieveEndpointAddress(ep *endpoint.LbEndpoint) string {
    	addr := ep.GetEndpoint().GetAddress()
    	if addr := addr.GetSocketAddress(); addr != nil {
    		return addr.Address + ":" + strconv.Itoa(int(addr.GetPortValue()))
    	}
    	if addr := addr.GetPipe(); addr != nil {
    		return addr.GetPath()
    	}
    	if internal := addr.GetEnvoyInternalAddress(); internal != nil {
    		switch an := internal.GetAddressNameSpecifier().(type) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  3. src/runtime/race_amd64.s

    TEXT	runtime·RaceRead(SB), NOSPLIT, $0-8
    	// This needs to be a tail call, because raceread reads caller pc.
    	JMP	runtime·raceread(SB)
    
    // void runtime·racereadpc(void *addr, void *callpc, void *pc)
    TEXT	runtime·racereadpc(SB), NOSPLIT, $0-24
    	MOVQ	addr+0(FP), RARG1
    	MOVQ	callpc+8(FP), RARG2
    	MOVQ	pc+16(FP), RARG3
    	ADDQ	$1, RARG3 // pc is function start, tsan wants return address
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:37:29 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/netbios/NbtAddress.java

     * @return a four byte array
     */ 
    
        public byte[] getAddress() {    
            byte[] addr = new byte[4];
    
            addr[0] = (byte)(( address >>> 24 ) & 0xFF );
            addr[1] = (byte)(( address >>> 16 ) & 0xFF );
            addr[2] = (byte)(( address >>> 8 ) & 0xFF );
            addr[3] = (byte)( address & 0xFF );
            return addr;
        }
    
    /** 
     * To convert this address to an <code>InetAddress</code>.
     *
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 30.1K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sys/windows/dll_windows.go

    	switch len(a) {
    	case 0:
    		return syscall.Syscall(p.Addr(), uintptr(len(a)), 0, 0, 0)
    	case 1:
    		return syscall.Syscall(p.Addr(), uintptr(len(a)), a[0], 0, 0)
    	case 2:
    		return syscall.Syscall(p.Addr(), uintptr(len(a)), a[0], a[1], 0)
    	case 3:
    		return syscall.Syscall(p.Addr(), uintptr(len(a)), a[0], a[1], a[2])
    	case 4:
    		return syscall.Syscall6(p.Addr(), uintptr(len(a)), a[0], a[1], a[2], a[3], 0, 0)
    	case 5:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Dec 05 12:36:42 UTC 2020
    - 12K bytes
    - Viewed (0)
  6. src/net/net.go

    	// network address.
    	Source Addr
    
    	// Addr is the network address for which this error occurred.
    	// For local operations, like Listen or SetDeadline, Addr is
    	// the address of the local endpoint being manipulated.
    	// For operations involving a remote network connection, like
    	// Dial, Read, or Write, Addr is the remote address of that
    	// connection.
    	Addr Addr
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  7. pkg/registry/core/service/ipallocator/ipallocator.go

    func ipIterator(first netip.Addr, last netip.Addr, offset uint64) func() netip.Addr {
    	// There are no modulo operations for IP addresses
    	modulo := func(addr netip.Addr) netip.Addr {
    		if addr.Compare(last) == 1 {
    			return first
    		}
    		return addr
    	}
    	next := func(addr netip.Addr) netip.Addr {
    		return modulo(addr.Next())
    	}
    	start, err := addOffsetAddress(first, offset)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:05:04 UTC 2023
    - 17K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sys/plan9/zsyscall_plan9_amd64.go

    func stat(path string, edir []byte) (n int, err error) {
    	var _p0 *byte
    	_p0, err = BytePtrFromString(path)
    	if err != nil {
    		return
    	}
    	var _p1 unsafe.Pointer
    	if len(edir) > 0 {
    		_p1 = unsafe.Pointer(&edir[0])
    	} else {
    		_p1 = unsafe.Pointer(&_zero)
    	}
    	r0, _, e1 := Syscall(SYS_STAT, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(edir)))
    	n = int(r0)
    	if int32(r0) == -1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  9. src/syscall/zsyscall_plan9_386.go

    func stat(path string, edir []byte) (n int, err error) {
    	var _p0 *byte
    	_p0, err = BytePtrFromString(path)
    	if err != nil {
    		return
    	}
    	var _p1 unsafe.Pointer
    	if len(edir) > 0 {
    		_p1 = unsafe.Pointer(&edir[0])
    	} else {
    		_p1 = unsafe.Pointer(&_zero)
    	}
    	r0, _, e1 := Syscall(SYS_STAT, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(edir)))
    	n = int(r0)
    	if int32(r0) == -1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 6.2K bytes
    - Viewed (0)
  10. src/net/rawconn_unix_test.go

    	})
    	if err != nil {
    		return err
    	}
    	return operr
    }
    
    func controlRawConn(c syscall.RawConn, addr Addr) error {
    	var operr error
    	fn := func(s uintptr) {
    		_, operr = syscall.GetsockoptInt(int(s), syscall.SOL_SOCKET, syscall.SO_REUSEADDR)
    		if operr != nil {
    			return
    		}
    		switch addr := addr.(type) {
    		case *TCPAddr:
    			// There's no guarantee that IP-level socket
    			// options work well with dual stack sockets.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 29 16:24:51 UTC 2022
    - 3K bytes
    - Viewed (0)
Back to top