- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 36 for totalTime (0.19 sec)
-
pkg/volume/configmap/configmap.go
} } return payload, nil } func totalBytes(configMap *v1.ConfigMap) int { totalSize := 0 for _, value := range configMap.Data { totalSize += len(value) } for _, value := range configMap.BinaryData { totalSize += len(value) } return totalSize } // configMapVolumeUnmounter handles cleaning up configMap volumes. type configMapVolumeUnmounter struct {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 06:17:25 UTC 2024 - 10K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/api/validation/objectmeta.go
} return allErrs } func ValidateAnnotationsSize(annotations map[string]string) error { var totalSize int64 for k, v := range annotations { totalSize += (int64)(len(k)) + (int64)(len(v)) } if totalSize > (int64)(TotalAnnotationSizeLimitB) { return fmt.Errorf("annotations size %d is larger than limit %d", totalSize, TotalAnnotationSizeLimitB) } return nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Sep 07 03:12:31 UTC 2022 - 12K bytes - Viewed (0) -
src/net/splice_linux_test.go
f, err := os.OpenFile(os.DevNull, os.O_WRONLY, 0) if err != nil { b.Fatal(err) } defer f.Close() totalSize := b.N * bench.chunkSize client, server := spawnTestSocketPair(b, bench.proto) defer server.Close() cleanup, err := startTestSocketPeer(b, client, "w", bench.chunkSize, totalSize) if err != nil { client.Close() b.Fatalf("failed to start splice client: %v", err) } defer cleanup(b)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 21:49:26 UTC 2024 - 14.5K bytes - Viewed (0) -
cmd/erasure-server-pool-decom_gen.go
return } case "ss": z.StartSize, err = dc.ReadInt64() if err != nil { err = msgp.WrapError(err, "StartSize") return } case "ts": z.TotalSize, err = dc.ReadInt64() if err != nil { err = msgp.WrapError(err, "TotalSize") return } case "cs": z.CurrentSize, err = dc.ReadInt64() if err != nil { err = msgp.WrapError(err, "CurrentSize") return } case "cmp":
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jul 04 21:02:54 UTC 2022 - 26.7K bytes - Viewed (0) -
cmd/xl-storage-format_test.go
compareXLMetaV1(t, unMarshalXLMeta, jsoniterXLMeta) } // Test the predicted part size from the part index func TestGetPartSizeFromIdx(t *testing.T) { // Create test cases testCases := []struct { totalSize int64 partSize int64 partIndex int expectedSize int64 }{ // Total size is zero {0, 10, 1, 0}, // part size 2MiB, total size 4MiB
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Feb 22 06:26:06 UTC 2024 - 17.6K bytes - Viewed (0) -
cmd/data-usage_test.go
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed Mar 27 15:10:40 UTC 2024 - 14.1K bytes - Viewed (0) -
cmd/data-usage-cache.go
for tier, st := range ats.Tiers { stats[tier] = madmin.TierStats{ TotalSize: st.TotalSize, NumVersions: st.NumVersions, NumObjects: st.NumObjects, } } return } // tierStats holds per-tier stats of a remote tier. type tierStats struct { TotalSize uint64 `msg:"ts"` NumVersions int `msg:"nv"` NumObjects int `msg:"no"` }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 10 14:49:50 UTC 2024 - 42.8K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/kmsv2/envelope.go
func validateAnnotations(annotations map[string][]byte) error { var errs []error var totalSize uint64 for k, v := range annotations { if fieldErr := validation.IsFullyQualifiedDomainName(field.NewPath("annotations"), k); fieldErr != nil { errs = append(errs, fieldErr.ToAggregate()) } totalSize += uint64(len(k)) + uint64(len(v)) } if totalSize > annotationsMaxSize {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Oct 27 00:23:50 UTC 2023 - 18.7K bytes - Viewed (0) -
cmd/erasure-server-pool-decom.go
) // PoolDecommissionInfo currently decommissioning information type PoolDecommissionInfo struct { StartTime time.Time `json:"startTime" msg:"st"` StartSize int64 `json:"startSize" msg:"ss"` TotalSize int64 `json:"totalSize" msg:"ts"` CurrentSize int64 `json:"currentSize" msg:"cs"` Complete bool `json:"complete" msg:"cmp"` Failed bool `json:"failed" msg:"fl"` Canceled bool `json:"canceled" msg:"cnl"`
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Jun 06 14:30:43 UTC 2024 - 41.5K bytes - Viewed (1) -
pkg/apis/storage/validation/validation.go
} for k, v := range params { if len(k) < 1 { allErrs = append(allErrs, field.Invalid(fldPath, k, "field can not be empty.")) } totalSize += (int64)(len(k)) + (int64)(len(v)) } if totalSize > maxProvisionerParameterSize { allErrs = append(allErrs, field.TooLong(fldPath, "", maxProvisionerParameterSize)) } if !allowEmpty && len(params) == 0 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 28 00:47:13 UTC 2024 - 25.5K bytes - Viewed (0)