Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 536 for adir (0.09 sec)

  1. security/pkg/server/ca/authenticate/xfcc_authenticator.go

    	return &security.Caller{
    		AuthSource: security.AuthSourceClientCertificate,
    		Identities: ids,
    	}, nil
    }
    
    func isTrustedAddress(addr string, trustedCidrs []string) bool {
    	ip, _, err := net.SplitHostPort(addr)
    	if err != nil {
    		log.Warnf("peer address %s can not be split in to proper host and port", addr)
    		return false
    	}
    	for _, cidr := range trustedCidrs {
    		if isInRange(ip, cidr) {
    			return true
    		}
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 17:05:56 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. src/net/interface.go

    // interface.
    func (ifi *Interface) Addrs() ([]Addr, error) {
    	if ifi == nil {
    		return nil, &OpError{Op: "route", Net: "ip+net", Source: nil, Addr: nil, Err: errInvalidInterface}
    	}
    	ifat, err := interfaceAddrTable(ifi)
    	if err != nil {
    		err = &OpError{Op: "route", Net: "ip+net", Source: nil, Addr: nil, Err: err}
    	}
    	return ifat, err
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:53 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  3. src/net/tcpsock_test.go

    	for _, tt := range resolveTCPAddrTests {
    		addr, err := ResolveTCPAddr(tt.network, tt.litAddrOrName)
    		if !reflect.DeepEqual(addr, tt.addr) || !reflect.DeepEqual(err, tt.err) {
    			t.Errorf("ResolveTCPAddr(%q, %q) = %#v, %v, want %#v, %v", tt.network, tt.litAddrOrName, addr, err, tt.addr, tt.err)
    			continue
    		}
    		if err == nil {
    			addr2, err := ResolveTCPAddr(addr.Network(), addr.String())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 20 06:04:31 UTC 2024
    - 17.7K bytes
    - Viewed (0)
  4. src/net/dial.go

    	}
    	naddrs := addrs[:0]
    	for _, addr := range addrs {
    		if addr.Network() != hint.Network() {
    			return nil, &AddrError{Err: "mismatched local address type", Addr: hint.String()}
    		}
    		switch addr := addr.(type) {
    		case *TCPAddr:
    			if !wildcard && !addr.isWildcard() && !addr.IP.matchAddrFamily(tcp.IP) {
    				continue
    			}
    			naddrs = append(naddrs, addr)
    		case *UDPAddr:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 20 06:04:31 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  5. src/syscall/dll_windows.go

    }
    
    // A Proc implements access to a procedure inside a [DLL].
    type Proc struct {
    	Dll  *DLL
    	Name string
    	addr uintptr
    }
    
    // Addr returns the address of the procedure represented by p.
    // The return value can be passed to Syscall to run the procedure.
    func (p *Proc) Addr() uintptr {
    	return p.addr
    }
    
    // Call executes procedure p with arguments a.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  6. cmd/net.go

    	u, err := url.Parse(hostAddr)
    	if err != nil {
    		return "", "", err
    	}
    
    	addr = u.Host
    	scheme = u.Scheme
    
    	// Use the given parameter again if url.Parse()
    	// didn't return any useful result.
    	if addr == "" {
    		addr = hostAddr
    		scheme = "http"
    	}
    
    	// At this point, addr can be one of the following form:
    	//	":9000"
    	//	"localhost:9000"
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  7. src/cmd/vendor/github.com/google/pprof/internal/report/source.go

    		var lastAddr, maxAddr uint64
    		for i, inst := range insts {
    			addr := inst.Addr + base
    
    			// Guard against duplicate output from Disasm.
    			if addr <= maxAddr {
    				continue
    			}
    			maxAddr = addr
    
    			length := 1
    			if i+1 < len(insts) && insts[i+1].Addr > inst.Addr {
    				// Extend to next instruction.
    				length = int(insts[i+1].Addr - inst.Addr)
    			}
    
    			// Get inlined-call-stack for address.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 31.3K bytes
    - Viewed (0)
  8. src/internal/runtime/atomic/atomic_arm64.s

    	RET
    
    // void *·Loadp(void *volatile *addr)
    TEXT ·Loadp(SB),NOSPLIT,$0-16
    	MOVD	ptr+0(FP), R0
    	LDAR	(R0), R0
    	MOVD	R0, ret+8(FP)
    	RET
    
    // uint32 ·LoadAcq(uint32 volatile* addr)
    TEXT ·LoadAcq(SB),NOSPLIT,$0-12
    	B	·Load(SB)
    
    // uint64 ·LoadAcquintptr(uint64 volatile* addr)
    TEXT ·LoadAcq64(SB),NOSPLIT,$0-16
    	B	·Load64(SB)
    
    // uintptr ·LoadAcq64(uintptr volatile* addr)
    TEXT ·LoadAcquintptr(SB),NOSPLIT,$0-16
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 9K bytes
    - Viewed (0)
  9. src/strings/builder.go

    		// that was causing b to escape and be heap allocated.
    		// See issue 23382.
    		// TODO: once issue 7921 is fixed, this should be reverted to
    		// just "b.addr = b".
    		b.addr = (*Builder)(abi.NoEscape(unsafe.Pointer(b)))
    	} else if b.addr != b {
    		panic("strings: illegal use of non-zero Builder copied by value")
    	}
    }
    
    // String returns the accumulated string.
    func (b *Builder) String() string {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 17 21:09:59 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  10. cni/pkg/ipset/ipset.go

    	destroySet(name string) error
    	addIP(name string, ip netip.Addr, ipProto uint8, comment string, replace bool) error
    	deleteIP(name string, ip netip.Addr, ipProto uint8) error
    	flush(name string) error
    	clearEntriesWithComment(name string, comment string) error
    	clearEntriesWithIP(name string, ip netip.Addr) error
    	listEntriesByIP(name string) ([]netip.Addr, error)
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 22:24:38 UTC 2024
    - 3.9K bytes
    - Viewed (0)
Back to top