Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 173 for adir (0.05 sec)

  1. src/net/unixsock_posix.go

    	return c.fd.writeTo(b, sa)
    }
    
    func (c *UnixConn) writeMsg(b, oob []byte, addr *UnixAddr) (n, oobn int, err error) {
    	if c.fd.sotype == syscall.SOCK_DGRAM && c.fd.isConnected {
    		return 0, 0, ErrWriteToConnected
    	}
    	var sa syscall.Sockaddr
    	if addr != nil {
    		if addr.Net != sotypeToNet(c.fd.sotype) {
    			return 0, 0, syscall.EAFNOSUPPORT
    		}
    		sa = &syscall.SockaddrUnix{Name: addr.Name}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:54:32 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. src/internal/msan/msan.go

    	"unsafe"
    )
    
    const Enabled = true
    
    //go:linkname Read runtime.msanread
    func Read(addr unsafe.Pointer, sz uintptr)
    
    //go:linkname Write runtime.msanwrite
    func Write(addr unsafe.Pointer, sz uintptr)
    
    //go:linkname Malloc runtime.msanmalloc
    func Malloc(addr unsafe.Pointer, sz uintptr)
    
    //go:linkname Free runtime.msanfree
    func Free(addr unsafe.Pointer, sz uintptr)
    
    //go:linkname Move runtime.msanmove
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 20 20:50:21 UTC 2024
    - 647 bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top