Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for totalBytes (0.25 sec)

  1. pkg/volume/configmap/configmap.go

    				Namespace: b.pod.Namespace,
    				Name:      b.source.Name,
    			},
    		}
    	}
    
    	totalBytes := totalBytes(configMap)
    	klog.V(3).Infof("Received configMap %v/%v containing (%v) pieces of data, %v total bytes",
    		b.pod.Namespace,
    		b.source.Name,
    		len(configMap.Data)+len(configMap.BinaryData),
    		totalBytes)
    
    	payload, err := MakePayload(b.source.Items, configMap, b.source.DefaultMode, optional)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 10K bytes
    - Viewed (0)
  2. pkg/volume/secret/secret.go

    				Namespace: b.pod.Namespace,
    				Name:      b.source.SecretName,
    			},
    		}
    	}
    
    	totalBytes := totalSecretBytes(secret)
    	klog.V(3).Infof("Received secret %v/%v containing (%v) pieces of data, %v total bytes",
    		b.pod.Namespace,
    		b.source.SecretName,
    		len(secret.Data),
    		totalBytes)
    
    	payload, err := MakePayload(b.source.Items, secret, b.source.DefaultMode, optional)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  3. cmd/metrics-resource.go

    		writesAwait:       "Average time for write requests to be served on a drive",
    		percUtil:          "Percentage of time the disk was busy",
    		usedBytes:         "Used bytes on a drive",
    		totalBytes:        "Total bytes on a drive",
    		usedInodes:        "Total inodes used on a drive",
    		totalInodes:       "Total inodes on a drive",
    		cpuUser:           "CPU user time",
    		cpuSystem:         "CPU system time",
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 17 15:15:13 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  4. src/runtime/export_test.go

    func (a *AddrRanges) Add(r AddrRange) {
    	if !a.mutable {
    		throw("attempt to mutate immutable AddrRanges")
    	}
    	a.add(r.addrRange)
    }
    
    // TotalBytes returns the totalBytes field of the addrRanges.
    func (a *AddrRanges) TotalBytes() uintptr {
    	return a.addrRanges.totalBytes
    }
    
    // BitRange represents a range over a bitmap.
    type BitRange struct {
    	I, N uint // bit index and length in bits
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:50:53 UTC 2024
    - 46.1K bytes
    - Viewed (0)
  5. cmd/metrics-v2.go

    		Namespace: bucketMetricNamespace,
    		Subsystem: usageSubsystem,
    		Name:      totalBytes,
    		Help:      "Total bucket size in bytes",
    		Type:      gaugeMetric,
    	}
    }
    
    func getClusterUsageTotalBytesMD() MetricDescription {
    	return MetricDescription{
    		Namespace: clusterMetricNamespace,
    		Subsystem: usageSubsystem,
    		Name:      totalBytes,
    		Help:      "Total cluster usage in bytes",
    		Type:      gaugeMetric,
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:54 UTC 2024
    - 131.9K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/utils/convert_tensor.cc

    }
    
    ElementsAttr ConvertTensorOfCustomFloatType(const Tensor& tensor,
                                                RankedTensorType type) {
      auto buffer =
          llvm::ArrayRef(static_cast<char*>(tensor.data()), tensor.TotalBytes());
      return mlir::DenseElementsAttr::getFromRawBuffer(type, buffer);
    }
    
    absl::StatusOr<ElementsAttr> ConvertStringTensor(const Tensor& input_tensor,
                                                     ShapedType type) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 26 09:37:10 UTC 2024
    - 20.5K bytes
    - Viewed (0)
  7. tensorflow/compiler/jit/xla_launch_util.cc

        }
      }
    
      if (allocate_xla_tensors) {
        Tensor output_tensor;
        TF_RETURN_IF_ERROR(
            ctx->allocate_temp(output_dtype, output_shape, &output_tensor));
        if (output_tensor.TotalBytes() > 0) {
          XlaTensor* xla_tensor = XlaTensor::FromTensor(&output_tensor);
          TF_RET_CHECK(xla_tensor);
          xla_tensor->set_shaped_buffer(output.TakeSubTree({output_num}));
          if (use_multiple_streams) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 00:36:08 UTC 2024
    - 40.4K bytes
    - Viewed (0)
  8. src/runtime/metrics_test.go

    			cpu.total = samples[i].Value.Float64()
    		case "/cpu/classes/user:cpu-seconds":
    			cpu.user = samples[i].Value.Float64()
    		case "/memory/classes/total:bytes":
    			totalVirtual.got = samples[i].Value.Uint64()
    		case "/memory/classes/heap/objects:bytes":
    			objects.totalBytes = samples[i].Value.Uint64()
    		case "/gc/heap/objects:objects":
    			objects.total = samples[i].Value.Uint64()
    		case "/gc/heap/allocs:bytes":
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 45K bytes
    - Viewed (0)
  9. src/crypto/tls/tls_test.go

    			}
    		}
    	}()
    
    	b.SetBytes(totalBytes)
    	clientConfig := testConfig.Clone()
    	clientConfig.CipherSuites = nil // the defaults may prefer faster ciphers
    	clientConfig.DynamicRecordSizingDisabled = dynamicRecordSizingDisabled
    	clientConfig.MaxVersion = version
    
    	buf := make([]byte, bufsize)
    	chunks := int(math.Ceil(float64(totalBytes) / float64(len(buf))))
    	for i := 0; i < N; i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 60.5K bytes
    - Viewed (0)
  10. tensorflow/c/eager/c_api.cc

        return 0;
      }
      const tensorflow::Tensor* tensor;
      status->status = handle->Tensor(&tensor);
      if (!status->status.ok()) {
        return 0;
      }
      return tensor->TotalBytes();
    }
    
    TFE_Op* TFE_NewOp(TFE_Context* ctx, const char* op_or_function_name,
                      TF_Status* status) {
      tensorflow::ImmediateExecutionOperation* new_op =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 08:11:23 UTC 2024
    - 44K bytes
    - Viewed (0)
Back to top