Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 426 for addr1 (0.04 sec)

  1. internal/http/listener_test.go

    				t.Fatalf("Test %d: error: expected = <nil>, got = %v", i+1, err)
    			}
    		}
    
    		addrs := listener.Addrs()
    		addrSet := set.NewStringSet()
    		for _, addr := range addrs {
    			addrSet.Add(addr.String())
    		}
    
    		if !addrSet.Equals(testCase.expectedAddrs) {
    			t.Fatalf("Test %d: addr: expected = %v, got = %v", i+1, testCase.expectedAddrs, addrs)
    		}
    
    		listener.Close()
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 17:41:02 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  2. src/net/dial_test.go

    		}
    	}
    
    	for i, tt := range tests {
    		d := &Dialer{LocalAddr: tt.laddr}
    		var addr string
    		ip := ParseIP(tt.raddr)
    		if ip.To4() != nil {
    			addr = lss[0].Listener.Addr().String()
    		}
    		if ip.To16() != nil && ip.To4() == nil {
    			addr = lss[1].Listener.Addr().String()
    		}
    		c, err := d.Dial(tt.network, addr)
    		if err == nil && tt.error != nil || err != nil && tt.error == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 20 06:04:31 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  3. src/net/net_windows_test.go

    			continue
    		}
    		have := make([]string, 0)
    		addrs, err := ifi.Addrs()
    		if err != nil {
    			t.Fatal(err)
    		}
    		for _, addr := range addrs {
    			switch addr := addr.(type) {
    			case *IPNet:
    				if addr.IP.To4() != nil {
    					have = append(have, addr.String())
    				}
    				if addr.IP.To16() != nil && addr.IP.To4() == nil {
    					// netsh does not output netmask for ipv6, so ignore ipv6 mask
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  4. pkg/registry/core/service/ipallocator/ipallocator_test.go

    			addrs: math.MaxInt32 - 1,
    		},
    		{
    			name:  "full IPv4 range",
    			cidr:  "0.0.0.0/0",
    			addrs: math.MaxUint32 - 1,
    		},
    		{
    			name:  "supported IPv6 cidr",
    			cidr:  "2001:db2::/112",
    			addrs: 65535,
    		},
    		{
    			name:  "single IPv6 host",
    			cidr:  "2001:db8::/128",
    			addrs: 0,
    		},
    		{
    			name:  "small IPv6 cidr",
    			cidr:  "2001:db8::/127",
    			addrs: 1,
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jun 25 13:14:46 UTC 2023
    - 24.2K bytes
    - Viewed (0)
  5. src/runtime/os_freebsd.go

    		return
    	}
    	print("umtx_wait addr=", addr, " val=", val, " ret=", ret, "\n")
    	*(*int32)(unsafe.Pointer(uintptr(0x1005))) = 0x1005
    }
    
    //go:nosplit
    func futexwakeup(addr *uint32, cnt uint32) {
    	ret := sys_umtx_op(addr, _UMTX_OP_WAKE_PRIVATE, cnt, 0, nil)
    	if ret >= 0 {
    		return
    	}
    
    	systemstack(func() {
    		print("umtx_wake_addr=", addr, " ret=", ret, "\n")
    	})
    }
    
    func thr_start()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 11.6K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/unix/zsysnum_freebsd_386.go

    	SYS_MSYNC                    = 65  // { int msync(void *addr, size_t len, int flags); }
    	SYS_VFORK                    = 66  // { int vfork(void); }
    	SYS_SBRK                     = 69  // { int sbrk(int incr); }
    	SYS_SSTK                     = 70  // { int sstk(int incr); }
    	SYS_MUNMAP                   = 73  // { int munmap(void *addr, size_t len); }
    	SYS_MPROTECT                 = 74  // { int mprotect(void *addr, size_t len, int prot); }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 36.1K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sys/unix/zsysnum_freebsd_riscv64.go

    	SYS_MSYNC                    = 65  // { int msync(void *addr, size_t len, int flags); }
    	SYS_VFORK                    = 66  // { int vfork(void); }
    	SYS_SBRK                     = 69  // { int sbrk(int incr); }
    	SYS_SSTK                     = 70  // { int sstk(int incr); }
    	SYS_MUNMAP                   = 73  // { int munmap(void *addr, size_t len); }
    	SYS_MPROTECT                 = 74  // { int mprotect(void *addr, size_t len, int prot); }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 36.1K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sys/unix/zsysnum_freebsd_amd64.go

    	SYS_MSYNC                    = 65  // { int msync(void *addr, size_t len, int flags); }
    	SYS_VFORK                    = 66  // { int vfork(void); }
    	SYS_SBRK                     = 69  // { int sbrk(int incr); }
    	SYS_SSTK                     = 70  // { int sstk(int incr); }
    	SYS_MUNMAP                   = 73  // { int munmap(void *addr, size_t len); }
    	SYS_MPROTECT                 = 74  // { int mprotect(void *addr, size_t len, int prot); }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 36.1K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/unix/zsysnum_freebsd_arm.go

    	SYS_MSYNC                    = 65  // { int msync(void *addr, size_t len, int flags); }
    	SYS_VFORK                    = 66  // { int vfork(void); }
    	SYS_SBRK                     = 69  // { int sbrk(int incr); }
    	SYS_SSTK                     = 70  // { int sstk(int incr); }
    	SYS_MUNMAP                   = 73  // { int munmap(void *addr, size_t len); }
    	SYS_MPROTECT                 = 74  // { int mprotect(void *addr, size_t len, int prot); }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 36.1K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/zsysnum_freebsd_arm64.go

    	SYS_MSYNC                    = 65  // { int msync(void *addr, size_t len, int flags); }
    	SYS_VFORK                    = 66  // { int vfork(void); }
    	SYS_SBRK                     = 69  // { int sbrk(int incr); }
    	SYS_SSTK                     = 70  // { int sstk(int incr); }
    	SYS_MUNMAP                   = 73  // { int munmap(void *addr, size_t len); }
    	SYS_MPROTECT                 = 74  // { int mprotect(void *addr, size_t len, int prot); }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 36.1K bytes
    - Viewed (0)
Back to top