Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 107 for sigaddr (0.09 sec)

  1. src/net/iprawsock_test.go

    	litAddrOrName string
    	addr          *IPAddr
    	err           error
    }
    
    var resolveIPAddrTests = []resolveIPAddrTest{
    	{"ip", "127.0.0.1", &IPAddr{IP: IPv4(127, 0, 0, 1)}, nil},
    	{"ip4", "127.0.0.1", &IPAddr{IP: IPv4(127, 0, 0, 1)}, nil},
    	{"ip4:icmp", "127.0.0.1", &IPAddr{IP: IPv4(127, 0, 0, 1)}, nil},
    
    	{"ip", "::1", &IPAddr{IP: ParseIP("::1")}, nil},
    	{"ip6", "::1", &IPAddr{IP: ParseIP("::1")}, nil},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:20:52 UTC 2023
    - 6K bytes
    - Viewed (0)
  2. src/cmd/vendor/github.com/google/pprof/internal/binutils/disasm.go

    	buf := bytes.NewBuffer(syms)
    
    	for {
    		symAddr, name, err := nextSymbol(buf)
    		if err == io.EOF {
    			// Done. If there was an unfinished group, append it.
    			if len(names) != 0 {
    				if match := matchSymbol(names, start, symAddr-1, r, address); match != nil {
    					symbols = append(symbols, &plugin.Sym{Name: match, File: file, Start: start, End: symAddr - 1})
    				}
    			}
    
    			// And return the symbols.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 15 16:39:48 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  3. src/runtime/defs_linux_mips64x.go

    	sa_restorer uintptr
    }
    
    type siginfoFields struct {
    	si_signo int32
    	si_code  int32
    	si_errno int32
    	__pad0   [1]int32
    	// below here is a union; si_addr is the only field we use
    	si_addr uint64
    }
    
    type siginfo struct {
    	siginfoFields
    
    	// Pad struct to the max size in the kernel.
    	_ [_si_max_size - unsafe.Sizeof(siginfoFields{})]byte
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 19:05:10 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  4. src/runtime/defs_linux_mipsx.go

    	sa_restorer uintptr
    }
    
    type siginfoFields struct {
    	si_signo int32
    	si_code  int32
    	si_errno int32
    	// below here is a union; si_addr is the only field we use
    	si_addr uint32
    }
    
    type siginfo struct {
    	siginfoFields
    
    	// Pad struct to the max size in the kernel.
    	_ [_si_max_size - unsafe.Sizeof(siginfoFields{})]byte
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 19:05:10 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  5. src/runtime/defs_linux_ppc64le.go

    	sa_flags    uint64
    	sa_restorer uintptr
    	sa_mask     uint64
    }
    
    type siginfoFields struct {
    	si_signo int32
    	si_errno int32
    	si_code  int32
    	// below here is a union; si_addr is the only field we use
    	si_addr uint64
    }
    
    type siginfo struct {
    	siginfoFields
    
    	// Pad struct to the max size in the kernel.
    	_ [_si_max_size - unsafe.Sizeof(siginfoFields{})]byte
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 19:05:10 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  6. src/net/iprawsock.go

    // BUG(mikio): On Windows, the File method of IPConn is not
    // implemented.
    
    // IPAddr represents the address of an IP end point.
    type IPAddr struct {
    	IP   IP
    	Zone string // IPv6 scoped addressing zone
    }
    
    // Network returns the address's network name, "ip".
    func (a *IPAddr) Network() string { return "ip" }
    
    func (a *IPAddr) String() string {
    	if a == nil {
    		return "<nil>"
    	}
    	ip := ipEmptyString(a.IP)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  7. test/escape_slice.go

    }
    
    func setupTestData() {
    	resolveIPAddrTests = append(resolveIPAddrTests,
    		[]resolveIPAddrTest{ // ERROR "\[\]resolveIPAddrTest{...} does not escape"
    			{"ip",
    				"localhost",
    				&IPAddr{IP: IPv4(127, 0, 0, 1)}, // ERROR "&IPAddr{...} escapes to heap"
    				nil},
    			{"ip4",
    				"localhost",
    				&IPAddr{IP: IPv4(127, 0, 0, 1)}, // ERROR "&IPAddr{...} escapes to heap"
    				nil},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 18:50:24 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  8. src/runtime/defs_linux_arm.go

    	_ [_sigev_max_size - unsafe.Sizeof(sigeventFields{})]byte
    }
    
    type siginfoFields struct {
    	si_signo int32
    	si_errno int32
    	si_code  int32
    	// below here is a union; si_addr is the only field we use
    	si_addr uint32
    }
    
    type siginfo struct {
    	siginfoFields
    
    	// Pad struct to the max size in the kernel.
    	_ [_si_max_size - unsafe.Sizeof(siginfoFields{})]byte
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 19:05:10 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  9. hack/run-prometheus-on-etcd-scrapes.sh

    }
    
    trap cleanup_prom EXIT
    
    chmod +r "$CONFIG" "$UNPACKDIR"
    
    tar xzf "$scrapes_file" -C "$UNPACKDIR"
    
    if which ip > /dev/null; then
        IPADDR=$(ip addr show scope global up |
    	     grep -w inet | head -1 |
    	     awk '{ print $2 }' | awk -F/ '{ print $1 }')
    else
        IPADDR=$(ifconfig | grep -w inet | grep -Fv 127.0.0. | head -1 |
    	     awk '{ print $2 }' | awk -F/ '{ print $1 }')
    fi
    
    echo
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 08 20:28:05 UTC 2021
    - 2.9K bytes
    - Viewed (0)
  10. src/net/addrselect_test.go

    	"reflect"
    	"testing"
    )
    
    func TestSortByRFC6724(t *testing.T) {
    	tests := []struct {
    		in      []IPAddr
    		srcs    []netip.Addr
    		want    []IPAddr
    		reverse bool // also test it starting backwards
    	}{
    		// Examples from RFC 6724 section 10.2:
    
    		// Prefer matching scope.
    		{
    			in: []IPAddr{
    				{IP: ParseIP("2001:db8:1::1")},
    				{IP: ParseIP("198.51.100.121")},
    			},
    			srcs: []netip.Addr{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 05 07:16:00 UTC 2022
    - 8.5K bytes
    - Viewed (0)
Back to top