Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 61 for totalTime (0.28 sec)

  1. 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)
  2. pkg/apis/storage/validation/validation_test.go

    		}
    	}
    
    	// generate a map longer than maxProvisionerParameterSize
    	longParameters := make(map[string]string)
    	totalSize := 0
    	for totalSize < maxProvisionerParameterSize {
    		k := fmt.Sprintf("param/%d", totalSize)
    		v := fmt.Sprintf("value-%d", totalSize)
    		longParameters[k] = v
    		totalSize = totalSize + len(k) + len(v)
    	}
    
    	errorCases := map[string]storage.StorageClass{
    		"namespace is present": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 69.7K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. cmd/data-usage_test.go

    	getSize := func(item scannerItem) (sizeS sizeSummary, err error) {
    		if item.Typ&os.ModeDir == 0 {
    			var s os.FileInfo
    			s, err = os.Stat(item.Path)
    			if err != nil {
    				return
    			}
    			sizeS.totalSize = s.Size()
    			sizeS.versions++
    			return sizeS, nil
    		}
    		return
    	}
    
    	weSleep := func() bool { return false }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Mar 27 15:10:40 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. src/internal/trace/traceviewer/static/trace_viewer_full.html

    const blinkRCSGroupCollection=runtimeGroupCollection.blinkRCSGroupCollection;if(runtimeGroupCollection.blinkCppTotalTime>0&&blinkRCSGroupCollection.totalTime>0){this.$.blink_rcs_heading.textContent='Blink Runtime Call S...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 20:45:06 UTC 2023
    - 2.5M bytes
    - Viewed (0)
Back to top