- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 1,278 for adir (0.05 sec)
-
pilot/pkg/util/network/ip.go
// provide an IPv6 address or ensure the hostname resolves to only IPv6 addresses. func ResolveAddr(addr string, lookupIPAddr ...lookupIPAddrType) (string, error) { if addr == "" { return "", ErrResolveNoAddress } host, port, err := net.SplitHostPort(addr) if err != nil { return "", err } log.Infof("Attempting to lookup address: %s", host)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Dec 21 21:27:21 UTC 2023 - 6.3K bytes - Viewed (0) -
src/net/rawconn_windows_test.go
} return operr } func controlRawConn(c syscall.RawConn, addr Addr) error { var operr error fn := func(s uintptr) { var v, l int32 l = int32(unsafe.Sizeof(v)) operr = syscall.Getsockopt(syscall.Handle(s), syscall.SOL_SOCKET, syscall.SO_REUSEADDR, (*byte)(unsafe.Pointer(&v)), &l) if operr != nil { return } switch addr := addr.(type) { case *TCPAddr: // There's no guarantee that IP-level socket
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 18 08:47:18 UTC 2020 - 3.1K bytes - Viewed (0) -
src/runtime/msan.go
//go:build msan package runtime import ( "unsafe" ) // Public memory sanitizer API. func MSanRead(addr unsafe.Pointer, len int) { msanread(addr, uintptr(len)) } func MSanWrite(addr unsafe.Pointer, len int) { msanwrite(addr, uintptr(len)) } // Private interface for the runtime. const msanenabled = true // If we are running on the system stack, the C program may have
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 20 20:50:21 UTC 2024 - 1.6K bytes - Viewed (0) -
internal/handlers/proxy.go
raddr, _, _ := net.SplitHostPort(addr) if raddr == "" { return addr } return raddr } // GetSourceIP retrieves the IP from the request headers // and falls back to r.RemoteAddr when necessary. func GetSourceIP(r *http.Request) string { addr := GetSourceIPRaw(r) if strings.ContainsRune(addr, ':') { return "[" + addr + "]" } return addr
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri Dec 22 00:56:55 UTC 2023 - 5.1K bytes - Viewed (0) -
src/internal/syscall/windows/zsyscall_windows.go
} func GetProfilesDirectory(dir *uint16, dirLen *uint32) (err error) { r1, _, e1 := syscall.Syscall(procGetProfilesDirectoryW.Addr(), 2, uintptr(unsafe.Pointer(dir)), uintptr(unsafe.Pointer(dirLen)), 0) if r1 == 0 { err = errnoErr(e1) } return } func WSAGetOverlappedResult(h syscall.Handle, o *syscall.Overlapped, bytes *uint32, wait bool, flags *uint32) (err error) { var _p0 uint32 if wait { _p0 = 1 }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 21 11:49:46 UTC 2024 - 18.4K bytes - Viewed (0) -
src/fmt/gostringer_example_test.go
Name string Age uint Addr *Address } // GoString makes Person satisfy the GoStringer interface. // The return value is valid Go code that can be used to reproduce the Person struct. func (p Person) GoString() string { if p.Addr != nil { return fmt.Sprintf("Person{Name: %q, Age: %d, Addr: &Address{City: %q, State: %q, Country: %q}}", p.Name, int(p.Age), p.Addr.City, p.Addr.State, p.Addr.Country) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 06 04:25:17 UTC 2018 - 1.5K bytes - Viewed (0) -
src/internal/race/norace.go
) const Enabled = false func Acquire(addr unsafe.Pointer) { } func Release(addr unsafe.Pointer) { } func ReleaseMerge(addr unsafe.Pointer) { } func Disable() { } func Enable() { } func Read(addr unsafe.Pointer) { } func Write(addr unsafe.Pointer) { } func ReadRange(addr unsafe.Pointer, len int) { } func WriteRange(addr unsafe.Pointer, len int) { }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:27 UTC 2023 - 603 bytes - Viewed (0) -
src/runtime/msan0.go
const msanenabled = false // Because msanenabled is false, none of these functions should be called. func msanread(addr unsafe.Pointer, sz uintptr) { throw("msan") } func msanwrite(addr unsafe.Pointer, sz uintptr) { throw("msan") } func msanmalloc(addr unsafe.Pointer, sz uintptr) { throw("msan") } func msanfree(addr unsafe.Pointer, sz uintptr) { throw("msan") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 28 18:17:57 UTC 2021 - 725 bytes - Viewed (0) -
src/cmd/asm/internal/asm/asm.go
p.errorf("%s: expected immediate constant; found %s", op, obj.Dconv(prog, addr)) } return addr.Offset } // getRegister checks that addr represents a register and returns its value. func (p *Parser) getRegister(prog *obj.Prog, op obj.As, addr *obj.Addr) int16 { if addr.Type != obj.TYPE_REG || addr.Offset != 0 || addr.Name != 0 || addr.Index != 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 02:04:54 UTC 2024 - 25.5K bytes - Viewed (0) -
src/runtime/msan_amd64.s
MOVQ addr+0(FP), RARG0 MOVQ sz+8(FP), RARG1 // void __msan_write_go(void *addr, uintptr_t sz); MOVQ $__msan_write_go(SB), AX JMP msancall<>(SB) // func runtime·msanmalloc(addr unsafe.Pointer, sz uintptr) TEXT runtime·msanmalloc(SB), NOSPLIT, $0-16 MOVQ addr+0(FP), RARG0 MOVQ sz+8(FP), RARG1 // void __msan_malloc_go(void *addr, uintptr_t sz); MOVQ $__msan_malloc_go(SB), AX JMP msancall<>(SB)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 09 01:36:54 UTC 2024 - 2.3K bytes - Viewed (0)