Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 91 for io16 (0.05 sec)

  1. src/runtime/iface_test.go

    		{name: "Econstflt", fn: func() { e = 99.0 }}, // constants do not allocate
    		{name: "Econststr", fn: func() { e = "change" }},
    		{name: "I8", fn: func() { i1 = eight8I }},
    		{name: "I16", fn: func() { i1 = zero16I }},
    		{name: "I32", fn: func() { i1 = zero32I }},
    		{name: "I64", fn: func() { i1 = zero64I }},
    		{name: "Istr", fn: func() { i1 = zerostrI }},
    		{name: "Islice", fn: func() { i1 = zerosliceI }},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 7.5K bytes
    - Viewed (0)
  2. src/net/cgo_unix.go

    }
    
    func cgoSockaddr(ip IP, zone string) (*_C_struct_sockaddr, _C_socklen_t) {
    	if ip4 := ip.To4(); ip4 != nil {
    		return cgoSockaddrInet4(ip4), _C_socklen_t(syscall.SizeofSockaddrInet4)
    	}
    	if ip6 := ip.To16(); ip6 != nil {
    		return cgoSockaddrInet6(ip6, zoneCache.index(zone)), _C_socklen_t(syscall.SizeofSockaddrInet6)
    	}
    	return nil, 0
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:23:45 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  3. pkg/registry/core/service/ipallocator/cidrallocator.go

    	// address, _ := netip.AddrFromSlice(net.ParseIPSloppy(192.168.0.1)) returns
    	// an address like ::ffff:192.168.0.1/32
    	bytes := ip.To4()
    	if bytes == nil {
    		bytes = ip.To16()
    	}
    	// AddrFromSlice returns Addr{}, false if the input is invalid.
    	address, _ := netip.AddrFromSlice(bytes)
    	return address
    }
    
    // Convert netutils.IPFamily to v1.IPFamily
    // TODO: consolidate helpers
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  4. src/net/http/socks_bundle.go

    	b = b[:0]
    	b = append(b, socksVersion5, byte(d.cmd), 0)
    	if ip := net.ParseIP(host); ip != nil {
    		if ip4 := ip.To4(); ip4 != nil {
    			b = append(b, socksAddrTypeIPv4)
    			b = append(b, ip4...)
    		} else if ip6 := ip.To16(); ip6 != nil {
    			b = append(b, socksAddrTypeIPv6)
    			b = append(b, ip6...)
    		} else {
    			return nil, errors.New("unknown address type")
    		}
    	} else {
    		if len(host) > 255 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 11 22:42:18 UTC 2023
    - 12.9K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/stablehlo/tests/legalize_hlo.mlir

        %12 = "mhlo.compare"(%arg1, %arg3) {comparison_direction = #mhlo<comparison_direction LT>} : (tensor<i16>, tensor<i16>) -> tensor<i1>
        %13 = "mhlo.select"(%12, %arg1, %arg3) : (tensor<i1>, tensor<i16>, tensor<i16>) -> tensor<i16>
        %14 = "mhlo.compare"(%arg1, %arg3) {comparison_direction = #mhlo<comparison_direction EQ>} : (tensor<i16>, tensor<i16>) -> tensor<i1>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 29 07:26:59 UTC 2024
    - 340.2K bytes
    - Viewed (0)
  6. test/ken/modconst.go

    		a := int16(rand.Uint32())
    		a >>= uint(rand.Intn(16))
    		if -a != a {
    			return a
    		}
    	}
    	return 0 // impossible
    }
    
    func i16test(a, b, c int16) {
    	d := a % c
    	if d != b {
    		println("i16", a, b, c, d)
    		panic("fail")
    	}
    }
    
    func i16run() {
    	var a, b int16
    
    	for i := 0; i < Count; i++ {
    		a = i16rand()
    
    		b = a % 1
    		i16test(a, b, 1)
    		b = a % 2
    		i16test(a, b, 2)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Sep 08 17:28:20 UTC 2019
    - 9.2K bytes
    - Viewed (0)
  7. test/ken/divconst.go

    		a := int16(rand.Uint32())
    		a >>= uint(rand.Intn(16))
    		if -a != a {
    			return a
    		}
    	}
    	return 0 // impossible
    }
    
    func i16test(a, b, c int16) {
    	d := a / c
    	if d != b {
    		println("i16", a, b, c, d)
    		panic("fail")
    	}
    }
    
    func i16run() {
    	var a, b int16
    
    	for i := 0; i < Count; i++ {
    		a = i16rand()
    
    		b = a / 1
    		i16test(a, b, 1)
    		b = a / 2
    		i16test(a, b, 2)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 05:24:24 UTC 2012
    - 9.2K bytes
    - Viewed (0)
  8. src/runtime/map_test.go

    type structKey struct {
    }
    
    func (structKey) String() string {
    	return "structKey"
    }
    
    func TestEmptyMapWithInterfaceKey(t *testing.T) {
    	var (
    		b    bool
    		i    int
    		i8   int8
    		i16  int16
    		i32  int32
    		i64  int64
    		ui   uint
    		ui8  uint8
    		ui16 uint16
    		ui32 uint32
    		ui64 uint64
    		uipt uintptr
    		f32  float32
    		f64  float64
    		c64  complex64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  9. pkg/registry/core/service/ipallocator/controller/repairip.go

    	// address, _ := netip.AddrFromSlice(net.ParseIPSloppy(192.168.0.1)) returns
    	// an address like ::ffff:192.168.0.1/32
    	bytes := ip.To4()
    	if bytes == nil {
    		bytes = ip.To16()
    	}
    	// AddrFromSlice returns Addr{}, false if the input is invalid.
    	address, _ := netip.AddrFromSlice(bytes)
    	return address
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  10. src/runtime/debuglog.go

    //go:nosplit
    func (l *dlogger) i(x int) *dlogger {
    	return l.i64(int64(x))
    }
    
    //go:nosplit
    func (l *dlogger) i8(x int8) *dlogger {
    	return l.i64(int64(x))
    }
    
    //go:nosplit
    func (l *dlogger) i16(x int16) *dlogger {
    	return l.i64(int64(x))
    }
    
    //go:nosplit
    func (l *dlogger) i32(x int32) *dlogger {
    	return l.i64(int64(x))
    }
    
    //go:nosplit
    func (l *dlogger) i64(x int64) *dlogger {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 15:10:48 UTC 2024
    - 18.3K bytes
    - Viewed (0)
Back to top