Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 73 for io16 (0.09 sec)

  1. src/net/net_windows_test.go

    					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
    					have = append(have, addr.IP.String())
    				}
    			case *IPAddr:
    				if addr.IP.To4() != nil {
    					have = append(have, addr.String())
    				}
    				if addr.IP.To16() != nil && addr.IP.To4() == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  2. src/runtime/debuglog_test.go

    		t.Fatalf("want %q, got %q", want, got)
    	}
    }
    
    func TestDebugLogTypes(t *testing.T) {
    	skipDebugLog(t)
    	runtime.ResetDebugLog()
    	var varString = strings.Repeat("a", 4)
    	runtime.Dlog().B(true).B(false).I(-42).I16(0x7fff).U64(^uint64(0)).Hex(0xfff).P(nil).S(varString).S("const string").End()
    	got := dlogCanonicalize(runtime.DumpDebugLog())
    	if want := "[] true false -42 32767 18446744073709551615 0xfff 0x0 aaaa const string\n"; got != want {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 18 16:59:26 UTC 2022
    - 4.9K bytes
    - Viewed (0)
  3. src/net/ipsock_posix.go

    	// IPv6 wildcard address.
    	if len(ip) == 0 || ip.Equal(IPv4zero) {
    		ip = IPv6zero
    	}
    	// We accept any IPv6 address including IPv4-mapped
    	// IPv6 address.
    	ip6 := ip.To16()
    	if ip6 == nil {
    		return syscall.SockaddrInet6{}, &AddrError{Err: "non-IPv6 address", Addr: ip.String()}
    	}
    	sa := syscall.SockaddrInet6{Port: port, ZoneId: uint32(zoneCache.index(zone))}
    	copy(sa.Addr[:], ip6)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/transforms/while_loop_outline.cc

      auto elemType = getElementTypeOrSelf(type);
      // F16, F32, F64, BF16 types are allowed.
      if (elemType.isBF16() || elemType.isF16() || elemType.isF32() ||
          elemType.isF64())
        return true;
    
      // I1, I4, I8, I16, I32, I64 types are allowed.
      if (elemType.isInteger(1) || elemType.isInteger(4) || elemType.isInteger(8) ||
          elemType.isInteger(16) || elemType.isInteger(32) ||
          elemType.isInteger(64))
        return true;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_patterns.td

    include "mlir/Dialect/Tensor/IR/TensorOps.td"
    include "stablehlo/dialect/ChloOps.td"
    include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops.td"
    include "mhlo/IR/hlo_ops.td"
    
    def SignedIntTensor : TensorOf<[I1, I8, I16, I32, I64]>;
    def UnsignedIntTensor : TensorOf<[UI8, UI16, UI32, UI64]>;
    
    // IEEE compliant floating point tensors.
    def IEEEFloatTensor : TensorOf<[F16, F32, F64]>;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 06 18:46:23 UTC 2024
    - 34.8K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top