Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 3,604 for pcount (0.18 sec)

  1. src/internal/diff/diff.go

    			// Special case: empty file shows up as 0,0 not 1,0.
    			if count.x > 0 {
    				chunk.x++
    			}
    			if count.y > 0 {
    				chunk.y++
    			}
    			fmt.Fprintf(&out, "@@ -%d,%d +%d,%d @@\n", chunk.x, count.x, chunk.y, count.y)
    			for _, s := range ctext {
    				out.WriteString(s)
    			}
    			count.x = 0
    			count.y = 0
    			ctext = ctext[:0]
    		}
    
    		// If we reached EOF, we're done.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 14:13:04 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  2. src/runtime/metrics/description.go

    	// "byte*cpu-seconds", and "bytes/second/second".
    	//
    	// For histograms, multiple units may apply. For instance, the units of the buckets and
    	// the count. By convention, for histograms, the units of the count are always "samples"
    	// with the type of sample evident by the metric's name, while the unit in the name
    	// specifies the buckets' unit.
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 06 17:59:12 UTC 2023
    - 19.6K bytes
    - Viewed (0)
  3. pkg/kube/inject/testdata/inject/auth.non-default-service-account.yaml

    John Howard <******@****.***> 1565919828 -0700
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Aug 16 01:43:48 UTC 2019
    - 498 bytes
    - Viewed (0)
  4. src/runtime/pprof/pprof_test.go

    			// loop-i goroutine should be present in the profile too.
    			counts := make(map[string]int)
    			for _, s := range p.Sample {
    				label := s.Label[t.Name()+"-loop-i"]
    				if len(label) > 0 {
    					counts[label[0]]++
    				}
    			}
    			for j, max := 0, len(counts)-1; j <= max; j++ {
    				n := counts[fmt.Sprint(j)]
    				if n == 1 || (n == 2 && j == max) {
    					continue
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 68.8K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/queueset/queueset_test.go

    func fairAlloc(demands []float64, capacity float64) []float64 {
    	count := len(demands)
    	indices := make([]int, count)
    	for i := 0; i < count; i++ {
    		indices[i] = i
    	}
    	sort.Slice(indices, func(i, j int) bool { return demands[indices[i]] < demands[indices[j]] })
    	alloc := make([]float64, count)
    	var next int
    	var prevAlloc float64
    	for ; next < count; next++ {
    		// `capacity` is how much remains assuming that
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 26 12:55:23 UTC 2023
    - 58.4K bytes
    - Viewed (0)
  6. src/runtime/metrics_test.go

    			for i := range objects.alloc.Counts {
    				if objects.alloc.Counts[i] < objects.free.Counts[i] {
    					t.Errorf("found more allocs than frees in object dist bucket %d", i)
    					continue
    				}
    				gotAlloc += objects.alloc.Counts[i]
    				gotFree += objects.free.Counts[i]
    			}
    			if got := gotAlloc - gotFree; got != want {
    				t.Errorf("object distribution counts don't match count of live objects: got %d, want %d", got, want)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 45K bytes
    - Viewed (0)
  7. src/runtime/mprof.go

    			bp := b.bp()
    			r := profilerecord.BlockProfileRecord{
    				Count:  int64(bp.count),
    				Cycles: bp.cycles,
    				Stack:  b.stk(),
    			}
    			// Prevent callers from having to worry about division by zero errors.
    			// See discussion on http://golang.org/cl/299991.
    			if r.Count == 0 {
    				r.Count = 1
    			}
    			copyFn(r)
    		}
    	}
    	unlock(&profBlockLock)
    	return
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  8. pkg/scheduler/framework/plugins/nodevolumelimits/non_csi_test.go

    			maxVols:      3,
    			test:         "new pod's count considers PVCs backed by AzureDisk volumes",
    		},
    		{
    			newPod:       splitPVCPod(azureDiskVolumeFilterType),
    			existingPods: []*v1.Pod{splitAzureDiskPod, oneAzureDiskPod},
    			filterName:   azureDiskVolumeFilterType,
    			maxVols:      3,
    			test:         "new pod's count ignores PVCs not backed by AzureDisk volumes",
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Dec 30 23:00:56 UTC 2023
    - 36.8K bytes
    - Viewed (0)
  9. src/runtime/pprof/pprof.go

    	count: countThreadCreate,
    	write: writeThreadCreate,
    }
    
    var heapProfile = &Profile{
    	name:  "heap",
    	count: countHeap,
    	write: writeHeap,
    }
    
    var allocsProfile = &Profile{
    	name:  "allocs",
    	count: countHeap, // identical to heap profile
    	write: writeAlloc,
    }
    
    var blockProfile = &Profile{
    	name:  "block",
    	count: countBlock,
    	write: writeBlock,
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 30.6K bytes
    - Viewed (0)
  10. src/runtime/mstats.go

    	// During program execution we only count number of frees and amount of freed memory.
    	// Current number of alive objects in the heap and amount of alive heap memory
    	// are calculated by scanning all spans.
    	// Total number of mallocs is calculated as number of frees plus number of alive objects.
    	// Similarly, total amount of allocated memory is calculated as amount of freed memory
    	// plus amount of alive heap memory.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 08 21:03:13 UTC 2024
    - 34.2K bytes
    - Viewed (0)
Back to top