- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 91 for io16 (0.05 sec)
-
src/net/example_test.go
// Output: // fc00:: // 10.255.0.0 } func ExampleIP_To16() { ipv6 := net.IP{0xfc, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0} ipv4 := net.IPv4(10, 255, 0, 0) fmt.Println(ipv6.To16()) fmt.Println(ipv4.To16()) // Output: // fc00:: // 10.255.0.0 } func ExampleIP_to4() { ipv6 := net.IP{0xfc, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0} ipv4 := net.IPv4(10, 255, 0, 0)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 13 16:36:59 UTC 2021 - 8.5K bytes - Viewed (0) -
src/net/dial_test.go
{"tcp4", "127.0.0.1", &TCPAddr{IP: ParseIP("::")}, &AddrError{Err: "some error"}}, {"tcp4", "127.0.0.1", &TCPAddr{IP: ParseIP("127.0.0.1").To4()}, nil}, {"tcp4", "127.0.0.1", &TCPAddr{IP: ParseIP("127.0.0.1").To16()}, nil}, {"tcp4", "127.0.0.1", &TCPAddr{IP: IPv6loopback}, errNoSuitableAddress}, {"tcp4", "127.0.0.1", &UDPAddr{}, &AddrError{Err: "some error"}}, {"tcp4", "127.0.0.1", &UnixAddr{}, &AddrError{Err: "some error"}},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 20 06:04:31 UTC 2024 - 30.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/common/uniform_quantized_types.cc
// `tfl.quantize` or `tfl.dequantize` ops. ui8, i8 and i16 are supported. bool IsSupportedByTfliteQuantizeOrDequantizeOps(IntegerType storage_type) { if (storage_type.getWidth() == 8 || (storage_type.isSigned() && storage_type.getWidth() == 16)) { return true; } LLVM_DEBUG(llvm::dbgs() << "Uniform quantize / dequantize op only supports ui8, i8 or " "i16 for the storage type of uniform quantized type. Got: "
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 8.4K bytes - Viewed (0) -
tools/istio-iptables/pkg/validation/vld_unix.go
return } defer file.Close() fd := file.Fd() // Detect underlying ip is v4 or v6 ip := conn.RemoteAddr().(*net.TCPAddr).IP isIpv4 := false if ip.To4() != nil { isIpv4 = true } else if ip.To16() != nil { isIpv4 = false } else { err = fmt.Errorf("neither ipv6 nor ipv4 original addr: %s", ip) return } // golang doesn't provide a struct sockaddr_storage // IPv6MTUInfo is chosen because
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Feb 08 03:52:24 UTC 2024 - 3K bytes - Viewed (0) -
pkg/controller/nodeipam/ipam/cidrset/cidr_set.go
{ j := uint32(index) << uint32(32-s.nodeMaskSize) ipInt := (binary.BigEndian.Uint32(s.clusterCIDR.IP)) | j ip = make([]byte, net.IPv4len) binary.BigEndian.PutUint32(ip, ipInt) } case s.clusterCIDR.IP.To16() != nil: { // leftClusterIP | rightClusterIP // 2001:0DB8:1234:0000:0000:0000:0000:0000 const v6NBits = 128 const halfV6NBits = v6NBits / 2
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 11 08:53:03 UTC 2023 - 9.4K bytes - Viewed (0) -
src/vendor/golang.org/x/net/nettest/nettest.go
if ip.IsLoopback() { // addressing scope of the loopback address depends on each implementation return nil, false } if ip := ip.To16(); ip != nil && ip.To4() == nil { return ip, true } default: if ip := ip.To4(); ip != nil { return ip, true } if ip := ip.To16(); ip != nil { return ip, true } } return nil, false
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 8.5K bytes - Viewed (0) -
test/literal.go
// int16 var i10 int16 = 0 var i11 int16 = 1 var i12 int16 = -1 var i13 int16 = 32767 var i14 int16 = -32767 var i15 int16 = -32768 var i16 int16 = +32767 assert(i11 == i10+1, "i11") assert(i12 == -i11, "i12") assert(i13 == -i14, "i13") assert(-(i15+1) == i16, "i15") // int32 var i20 int32 = 0 var i21 int32 = 1 var i22 int32 = -1 var i23 int32 = 2147483647 var i24 int32 = -2147483647
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 12 18:17:49 UTC 2013 - 5K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/constants_offset.mlir
// CHECK: value = dense<[1, 2, 3, 4]> : tensor<4xi8> %0 = "tfl.pseudo_const" () { value = dense<[1, 2, 3, 4]> : tensor<4xi8> } : () -> tensor<4xi8> func.return %0 : tensor<4xi8> } func.func @i16() -> tensor<4xi16> { // CHECK-LABEL: @i16 // CHECK: value = dense<[1, 2, 3, 258]> : tensor<4xi16> %0 = "tfl.pseudo_const" () { value = dense<[1, 2, 3, 258]> : tensor<4xi16> } : () -> tensor<4xi16> func.return %0 : tensor<4xi16> }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:41:17 UTC 2024 - 12.1K bytes - Viewed (0) -
src/encoding/xml/read_test.go
<WhitespaceValuesParent> <BFalse> false </BFalse> <BTrue> true </BTrue> <I> 266703 </I> <INeg> -266703 </INeg> <I8> 112 </I8> <I8Neg> -112 </I8Neg> <I16> 6703 </I16> <I16Neg> -6703 </I16Neg> <I32> 266703 </I32> <I32Neg> -266703 </I32Neg> <I64> 266703 </I64> <I64Neg> -266703 </I64Neg> <UI> 266703 </UI> <UI8> 112 </UI8>
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 26 19:58:28 UTC 2024 - 29.1K bytes - Viewed (0) -
src/net/interface_plan9.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 06 14:00:54 UTC 2024 - 4.7K bytes - Viewed (0)