Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 1,083 for adir (0.13 sec)

  1. staging/src/k8s.io/apiserver/pkg/cel/ip.go

    type IP struct {
    	netip.Addr
    }
    
    var (
    	IPType = cel.OpaqueType("net.IP")
    )
    
    // ConvertToNative implements ref.Val.ConvertToNative.
    func (d IP) ConvertToNative(typeDesc reflect.Type) (any, error) {
    	if reflect.TypeOf(d.Addr).AssignableTo(typeDesc) {
    		return d.Addr, nil
    	}
    	if reflect.TypeOf("").AssignableTo(typeDesc) {
    		return d.Addr.String(), nil
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 11:02:33 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  2. src/vendor/golang.org/x/net/lif/address.go

    	l := 4 + nlen + alen + slen
    	if len(b) < l {
    		return nil, errors.New("invalid address")
    	}
    	b = b[4:]
    	var addr []byte
    	if nlen > 0 {
    		b = b[nlen:]
    	}
    	if alen > 0 {
    		addr = make([]byte, alen)
    		copy(addr, b[:alen])
    	}
    	return addr, nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/sys/unix/sysvshm_unix.go

    package unix
    
    import "unsafe"
    
    // SysvShmAttach attaches the Sysv shared memory segment associated with the
    // shared memory identifier id.
    func SysvShmAttach(id int, addr uintptr, flag int) ([]byte, error) {
    	addr, errno := shmat(id, addr, flag)
    	if errno != nil {
    		return nil, errno
    	}
    
    	// Retrieve the size of the shared memory to enable slice creation
    	var info SysvShmDesc
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  4. src/cmd/pprof/pprof.go

    			out = append(out, &driver.Sym{
    				Name:  []string{s.Name},
    				File:  f.name,
    				Start: s.Addr,
    				End:   s.Addr + uint64(s.Size) - 1,
    			})
    		}
    	}
    	return out, nil
    }
    
    func (f *file) Close() error {
    	f.file.Close()
    	return nil
    }
    
    // newUI will be set in readlineui.go in some platforms
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  5. pkg/probe/grpc/grpc.go

    			return probe.Failure, fmt.Sprintf("timeout: failed to connect service %q within %v: %+v", addr, timeout, err), nil
    		} else {
    			klog.V(4).ErrorS(err, "failed to connect grpc service", "service", addr)
    			return probe.Failure, fmt.Sprintf("error: failed to connect service at %q: %+v", addr, err), nil
    		}
    	}
    
    	defer func() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 25 19:28:03 UTC 2023
    - 4K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top