Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 14 of 14 for getStrings (0.12 sec)

  1. pkg/kubelet/config/config.go

    func recordFirstSeenTime(pod *v1.Pod) {
    	klog.V(4).InfoS("Receiving a new pod", "pod", klog.KObj(pod))
    	pod.Annotations[kubetypes.ConfigFirstSeenAnnotationKey] = kubetypes.NewTimestamp().GetString()
    }
    
    // updateAnnotations returns an Annotation map containing the api annotation map plus
    // locally managed annotations
    func updateAnnotations(existing, ref *v1.Pod) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/utils/const_tensor_utils.cc

      if (tensor.type == tflite::TensorType_STRING) {
        for (int i = 0; i < tflite::GetStringCount(buffer.data()); ++i) {
          tflite::StringRef str = tflite::GetString(buffer.data(), i);
          ret.add_string_val(str.str, str.len);
        }
        return ret;
      }
      std::string content;
      content.assign(reinterpret_cast<const char*>(buffer.data()), buffer.size());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 07 23:04:40 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  3. cmd/endpoint.go

    // HTTPS - returns true if secure for URLEndpointType.
    func (endpoints Endpoints) HTTPS() bool {
    	return endpoints[0].HTTPS()
    }
    
    // GetString - returns endpoint string of i-th endpoint (0-based),
    // and empty string for invalid indexes.
    func (endpoints Endpoints) GetString(i int) string {
    	if i < 0 || i >= len(endpoints) {
    		return ""
    	}
    	return endpoints[i].String()
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  4. cmd/erasure-sets.go

    	// Existing formats are available (i.e. ok), so save it in
    	// result, also populate disks to be healed.
    	for i, format := range formats {
    		drive := endpoints.GetString(i)
    		state := madmin.DriveStateCorrupt
    		switch {
    		case format != nil:
    			state = madmin.DriveStateOk
    		case sErrs[i] == errUnformattedDisk:
    			state = madmin.DriveStateMissing
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 37.7K bytes
    - Viewed (0)
Back to top