Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 82 for ifmat6 (0.13 sec)

  1. src/net/interface_linux_test.go

    		}
    	}()
    
    	var ifmat4 []Addr
    	for _, ifi := range igmpInterfaceTable {
    		ifmat := parseProcNetIGMP("testdata/igmp", &ifi)
    		ifmat4 = append(ifmat4, ifmat...)
    	}
    	if len(ifmat4) != numOfTestIPv4MCAddrs {
    		t.Fatalf("got %d; want %d", len(ifmat4), numOfTestIPv4MCAddrs)
    	}
    
    	var ifmat6 []Addr
    	for _, ifi := range igmp6InterfaceTable {
    		ifmat := parseProcNetIGMP6("testdata/igmp6", &ifi)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 06 00:05:32 UTC 2018
    - 3.7K bytes
    - Viewed (0)
  2. src/net/interface_linux.go

    func interfaceMulticastAddrTable(ifi *Interface) ([]Addr, error) {
    	ifmat4 := parseProcNetIGMP("/proc/net/igmp", ifi)
    	ifmat6 := parseProcNetIGMP6("/proc/net/igmp6", ifi)
    	return append(ifmat4, ifmat6...), nil
    }
    
    func parseProcNetIGMP(path string, ifi *Interface) []Addr {
    	fd, err := open(path)
    	if err != nil {
    		return nil
    	}
    	defer fd.close()
    	var (
    		ifmat []Addr
    		name  string
    	)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Aug 27 05:42:03 UTC 2022
    - 7K bytes
    - Viewed (0)
  3. src/strconv/ftoaryu_test.go

    	for x := -1600; x <= +1600; x++ {
    		iMath := MulByLog2Log10(x)
    		fMath := int(math.Floor(float64(x) * math.Ln2 / math.Ln10))
    		if iMath != fMath {
    			t.Errorf("mulByLog2Log10(%d) failed: %d vs %d\n", x, iMath, fMath)
    		}
    	}
    }
    
    func TestMulByLog10Log2(t *testing.T) {
    	for x := -500; x <= +500; x++ {
    		iMath := MulByLog10Log2(x)
    		fMath := int(math.Floor(float64(x) * math.Ln10 / math.Ln2))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 15 08:44:21 UTC 2021
    - 759 bytes
    - Viewed (0)
  4. src/vendor/golang.org/x/net/route/sys_darwin.go

    	ifam.parse = ifam.parseInterfaceAddrMessage
    	ifmam := &wireFormat{extOff: sizeofIfmaMsghdrDarwin15, bodyOff: sizeofIfmaMsghdrDarwin15}
    	ifmam.parse = ifmam.parseInterfaceMulticastAddrMessage
    	ifmam2 := &wireFormat{extOff: sizeofIfmaMsghdr2Darwin15, bodyOff: sizeofIfmaMsghdr2Darwin15}
    	ifmam2.parse = ifmam2.parseInterfaceMulticastAddrMessage
    	// Darwin kernels require 32-bit aligned access to routing facilities.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 05 19:54:32 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  5. src/net/interface_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    	ifStats := interfaceStats(ift)
    	ifat, err := InterfaceAddrs()
    	if err != nil {
    		t.Fatal(err)
    	}
    	uniStats, err := validateInterfaceUnicastAddrs(ifat)
    	if err != nil {
    		t.Fatal(err)
    	}
    	var multiStats routeStats
    	for _, ifi := range ift {
    		ifmat, err := ifi.MulticastAddrs()
    		if err != nil {
    			t.Fatal(ifi, err)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:20:52 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  6. src/net/interface_darwin.go

    				ip = IPv4(sa.IP[0], sa.IP[1], sa.IP[2], sa.IP[3])
    			case *route.Inet6Addr:
    				ip = make(IP, IPv6len)
    				copy(ip, sa.IP[:])
    			}
    			if ip != nil {
    				ifmat = append(ifmat, &IPAddr{IP: ip})
    			}
    		}
    	}
    	return ifmat, nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 11 20:28:54 UTC 2019
    - 1.3K bytes
    - Viewed (0)
  7. src/net/interface_freebsd.go

    				ip = IPv4(sa.IP[0], sa.IP[1], sa.IP[2], sa.IP[3])
    			case *route.Inet6Addr:
    				ip = make(IP, IPv6len)
    				copy(ip, sa.IP[:])
    			}
    			if ip != nil {
    				ifmat = append(ifmat, &IPAddr{IP: ip})
    			}
    		}
    	}
    	return ifmat, nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Oct 02 16:05:55 UTC 2021
    - 1.3K bytes
    - Viewed (0)
  8. internal/config/cache/remote.go

    	}
    
    	statusCode()
    }
    
    // CondCheck represents the conditional request made to the remote cache
    // for validation during GET/HEAD object requests.
    type CondCheck struct {
    	ObjectInfo
    	IfMatch           string     `json:"ifMatch,omitempty" msg:",omitempty"`
    	IfNoneMatch       string     `json:"ifNoneMatch,omitempty" msg:",omitempty"`
    	IfModifiedSince   *time.Time `json:"ifModSince,omitempty" msg:",omitempty"`
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Nov 22 21:46:17 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  9. src/vendor/golang.org/x/net/route/sys_freebsd.go

    		compatFreeBSD32 = true // 386 emulation on amd64
    	}
    	var rtm, ifm, ifam, ifmam, ifanm *wireFormat
    	if compatFreeBSD32 {
    		rtm = &wireFormat{extOff: sizeofRtMsghdrFreeBSD10Emu - sizeofRtMetricsFreeBSD10Emu, bodyOff: sizeofRtMsghdrFreeBSD10Emu}
    		ifm = &wireFormat{extOff: 16}
    		ifam = &wireFormat{extOff: sizeofIfaMsghdrFreeBSD10Emu, bodyOff: sizeofIfaMsghdrFreeBSD10Emu}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 05 19:54:32 UTC 2022
    - 4.7K bytes
    - Viewed (0)
  10. src/vendor/golang.org/x/net/route/sys_dragonfly.go

    	ifam := &wireFormat{extOff: sizeofIfaMsghdrDragonFlyBSD4, bodyOff: sizeofIfaMsghdrDragonFlyBSD4}
    	ifam.parse = ifam.parseInterfaceAddrMessage
    	ifmam := &wireFormat{extOff: sizeofIfmaMsghdrDragonFlyBSD4, bodyOff: sizeofIfmaMsghdrDragonFlyBSD4}
    	ifmam.parse = ifmam.parseInterfaceMulticastAddrMessage
    	ifanm := &wireFormat{extOff: sizeofIfAnnouncemsghdrDragonFlyBSD4, bodyOff: sizeofIfAnnouncemsghdrDragonFlyBSD4}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 05 19:54:32 UTC 2022
    - 2.7K bytes
    - Viewed (0)
Back to top