Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 615 for parsable (0.21 sec)

  1. pkg/util/net/ip.go

    	for _, i := range ips {
    		ip, err := netip.ParseAddr(i)
    		if err != nil {
    			log.Debugf("ignoring un-parsable IP address: %v", err)
    			continue
    		}
    		if ip.Is4() {
    			ipv4 = append(ipv4, ip.String())
    		} else if ip.Is6() {
    			ipv6 = append(ipv6, ip.String())
    		} else {
    			log.Debugf("ignoring un-parsable IP address: %v", ip)
    		}
    	}
    	return
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 01 14:41:40 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. src/internal/syscall/unix/kernel_version_solaris.go

    	// Therefore, we use the Version field on Solaris when available.
    	ver := un.Version[:]
    	if runtime.GOOS == "illumos" {
    		// Illumos distributions use different formats without a parsable
    		// and unified pattern for the Version field while Release level
    		// string is guaranteed to be in x.y or x.y.z format regardless of
    		// whether the kernel is Solaris or illumos.
    		ver = un.Release[:]
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 03:10:07 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  3. cmd/net_test.go

    			sortedIPList: []string{"127.0.0.1"},
    		},
    		// Non parsable ip is assumed to be hostame and gets preserved
    		// as the left most elements, regardless of IP based sorting.
    		{
    			ipList:       []string{"hostname", "127.0.0.1", "192.168.1.106"},
    			sortedIPList: []string{"hostname", "192.168.1.106", "127.0.0.1"},
    		},
    		// Non parsable ip is assumed to be hostname, with a mixed input of ip and hostname.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Apr 19 08:43:09 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/utils/tpu_rewrite_device_util.h

    // devices are determined by looking up all TPU devices associated with each
    // TPU_SYSTEM:0 device found, alongside associated `topology_attr` and
    // `device_assignment_attr`. If `topology_attr` not an empty string (parsable to
    // TopologyProto), `device_assignment_attr` must not be empty also. When
    // `topology_attr` and `device_assignment_attr` are not empty, a general device
    // assignment based on those two attributes are used. Otherwise when
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 26 09:37:10 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/utils/tf_xla_mlir_translate.cc

      size_t numRead;
      mlir::Attribute attr = mlir::parseAttribute(input, context, {}, &numRead);
      if (!attr || !mlir::isa<mlir::StringAttr>(attr)) {
        LOG(ERROR) << "Input is not parsable as a MLIR StringAttr.";
        return nullptr;
      }
      auto str_attr = mlir::cast<mlir::StringAttr>(attr);
    
      mlir::DialectRegistry registry;
      RegisterMlirInputDialects(registry);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 18.8K bytes
    - Viewed (0)
  6. src/crypto/tls/handshake_messages_test.go

    					t.Errorf("#%d got:%#v want:%#v %x", i, m, m1, marshaled)
    					break
    				}
    
    				if i >= 3 {
    					// The first three message types (ClientHello,
    					// ServerHello and Finished) are allowed to
    					// have parsable prefixes because the extension
    					// data is optional and the length of the
    					// Finished varies across versions.
    					for j := 0; j < len(marshaled); j++ {
    						if m.unmarshal(marshaled[0:j]) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/apis/kubeadm/validation/validation.go

    				}
    			}
    		}
    	}
    	return allErrs
    }
    
    // ValidateURLs validates the URLs given in the string slice, makes sure they are parsable. Optionally, it can enforces HTTPS usage.
    func ValidateURLs(urls []string, requireHTTPS bool, fldPath *field.Path) field.ErrorList {
    	allErrs := field.ErrorList{}
    	for _, urlstr := range urls {
    		u, err := url.Parse(urlstr)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apimachinery/pkg/api/resource/quantity_test.go

    		{"1E12", decQuantity(1, 12, DecimalExponent)},
    		{"1e15", decQuantity(1, 15, DecimalExponent)},
    		{"1E18", decQuantity(1, 18, DecimalExponent)},
    
    		// Nonstandard but still parsable
    		{"1e14", decQuantity(1, 14, DecimalExponent)},
    		{"1e13", decQuantity(1, 13, DecimalExponent)},
    		{"1e3", decQuantity(1, 3, DecimalExponent)},
    		{"100.035k", decQuantity(100035, 0, DecimalSI)},
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:10 UTC 2024
    - 49.4K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/variable.mlir

      // CHECK: "tfl.pseudo_const"() <{value = dense<0> : tensor<3x2xi32>}> {tfl.is_variable} : () -> tensor<3x2xi32>
      %0 = "tfl.pseudo_const"() {value = dense<0> : tensor<3x2xi32>, tfl.is_variable} : () -> tensor<3x2xi32> loc("variable")
      func.return %0 : tensor<3x2xi32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 470 bytes
    - Viewed (0)
  10. cmd/server_test.go

    	// time.Time does not honor xml marshaller, it means that we need
    	// to encode/format it before giving it to xml marshaling.
    
    	// This below check adds client side verification to see if its
    	// truly parsable.
    
    	// listMultipartUploadsResponse - format for list multipart uploads response.
    	type listMultipartUploadsResponse struct {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 115.3K bytes
    - Viewed (0)
Back to top