Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 143 for addr1 (0.06 sec)

  1. 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)
  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/cgo/gcc_stack_darwin.c

    x_cgo_getstackbound(uintptr bounds[2])
    {
    	void* addr;
    	size_t size;
    	pthread_t p;
    
    	p = pthread_self();
    	addr = pthread_get_stackaddr_np(p); // high address (!)
    	size = pthread_get_stacksize_np(p);
    
    	// bounds points into the Go stack. TSAN can't see the synchronization
    	// in Go around stack reuse.
    	_cgo_tsan_acquire();
    	bounds[0] = (uintptr)addr - size;
    	bounds[1] = (uintptr)addr;
    	_cgo_tsan_release();
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 01:32:45 UTC 2024
    - 617 bytes
    - Viewed (0)
  4. pilot/pkg/serviceregistry/kube/controller/ambient/helpers.go

    func parseCidrOrIP(ip string) (netip.Addr, error) {
    	if strings.Contains(ip, "/") {
    		prefix, err := netip.ParsePrefix(ip)
    		if err != nil {
    			return netip.Addr{}, err
    		}
    		if !prefix.IsSingleIP() {
    			return netip.Addr{}, fmt.Errorf("only single IP CIDR is allowed")
    		}
    		return prefix.Addr(), nil
    	}
    	return netip.ParseAddr(ip)
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 22 20:35:23 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  5. src/internal/msan/nomsan.go

    //go:build !msan
    
    package msan
    
    import (
    	"unsafe"
    )
    
    const Enabled = false
    
    func Read(addr unsafe.Pointer, sz uintptr) {
    }
    
    func Write(addr unsafe.Pointer, sz uintptr) {
    }
    
    func Malloc(addr unsafe.Pointer, sz uintptr) {
    }
    
    func Free(addr unsafe.Pointer, sz uintptr) {
    }
    
    func Move(dst, src unsafe.Pointer, sz uintptr) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 20 20:50:21 UTC 2024
    - 483 bytes
    - Viewed (0)
  6. src/runtime/traceallocfree.go

    	tl.eventWriter(traceGoRunning, traceProcRunning).commit(traceEvHeapObjectFree, traceHeapObjectID(addr))
    }
    
    // traceHeapObjectID creates a trace ID for a heap object at address addr.
    func traceHeapObjectID(addr uintptr) traceArg {
    	return traceArg(uint64(addr)-trace.minPageHeapAddr) / minHeapAlign
    }
    
    // GoroutineStackExists records that a goroutine stack already exists at address base with the provided size.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:32:51 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  7. test/escape_runtime_atomic.go

    package escape
    
    import (
    	"internal/runtime/atomic"
    	"unsafe"
    )
    
    // BAD: should always be "leaking param: addr to result ~r0 level=1$".
    func Loadp(addr unsafe.Pointer) unsafe.Pointer { // ERROR "leaking param: addr( to result ~r0 level=1)?$"
    	return atomic.Loadp(addr)
    }
    
    var ptr unsafe.Pointer
    
    func Storep() {
    	var x int // ERROR "moved to heap: x"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 874 bytes
    - Viewed (0)
  8. src/net/dnsconfig_windows.go

    			if err != nil {
    				continue
    			}
    			var ip IP
    			switch sa := sa.(type) {
    			case *syscall.SockaddrInet4:
    				ip = IPv4(sa.Addr[0], sa.Addr[1], sa.Addr[2], sa.Addr[3])
    			case *syscall.SockaddrInet6:
    				ip = make(IP, IPv6len)
    				copy(ip, sa.Addr[:])
    				if ip[0] == 0xfe && ip[1] == 0xc0 {
    					// fec0/10 IPv6 addresses are site local anycast DNS
    					// addresses Microsoft sets by default if no other
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 15 10:25:02 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  9. cni/pkg/ipset/nldeps_mock.go

    	return args.Error(0)
    }
    
    func (m *MockedIpsetDeps) clearEntriesWithIP(name string, ip netip.Addr) error {
    	args := m.Called(name, ip)
    	return args.Error(0)
    }
    
    func (m *MockedIpsetDeps) listEntriesByIP(name string) ([]netip.Addr, error) {
    	args := m.Called(name)
    	return args.Get(0).([]netip.Addr), args.Error(1)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 22:24:38 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  10. 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)
Back to top