Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 73 for io16 (0.05 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. src/net/interface_plan9.go

    			}
    			var mask IPMask
    			if ip.To4() != nil { // IPv4 or IPv6 IPv4-mapped address
    				mask = CIDRMask(pfxlen-8*len(v4InV6Prefix), 8*IPv4len)
    			}
    			if ip.To16() != nil && ip.To4() == nil { // IPv6 address
    				mask = CIDRMask(pfxlen, 8*IPv6len)
    			}
    
    			addrs = append(addrs, &IPNet{IP: ip, Mask: mask})
    		}
    	}
    
    	return addrs, nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 06 14:00:54 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/constants.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)
  8. tensorflow/compiler/mlir/lite/tests/post-quantize.mlir

        %cell_input = "tfl.pseudo_qconst"() {qtype = tensor<1x20x!quant.uniform<i16:f32, 0.006:-34>>, value = dense<1> : tensor<1x20xi6>} : () -> tensor<1x20x!quant.uniform<i16:f32, 0.006:-34>>
        %0 = "tfl.unidirectional_sequence_lstm"(%input,
          %cst_11, %cst_11, %cst_11, %cst_11,
          %cst_3, %cst_3, %cst_3, %cst_3,
          %cst_2, %cst_2, %cst_2,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  9. cmd/server-startup-msg.go

    	printObjectAPIMsg()
    }
    
    // Returns true if input is IPv6
    func isIPv6(host string) bool {
    	h, _, err := net.SplitHostPort(host)
    	if err != nil {
    		h = host
    	}
    	ip := net.ParseIP(h)
    	return ip.To16() != nil && ip.To4() == nil
    }
    
    // strip api endpoints list with standard ports such as
    // port "80" and "443" before displaying on the startup
    // banner.  Returns a new list of API endpoints.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/common/uniform_quantized_types.h

    bool IsI32F32UniformQuantizedPerAxisType(Type type);
    
    // Determines whether the storage type of a quantized type is supported by
    // `tfl.quantize` or `tfl.dequantize` ops. ui8, i8 and i16 are supported.
    bool IsSupportedByTfliteQuantizeOrDequantizeOps(IntegerType storage_type);
    
    // Returns true if a type is quantized tensor type.
    bool IsQuantizedTensorType(Type type);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.7K bytes
    - Viewed (0)
Back to top