- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 249 for pcount (0.13 sec)
-
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) -
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) -
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) -
docs/en/data/people.yml
experts: - login: Kludex count: 608 avatarUrl: https://avatars.githubusercontent.com/u/7353520?u=62adc405ef418f4b6c8caa93d3eb8ab107bc4927&v=4 url: https://github.com/Kludex - login: dmontagu count: 241 avatarUrl: https://avatars.githubusercontent.com/u/35119617?u=540f30c937a6450812628b9592a1dfe91bbe148e&v=4 url: https://github.com/dmontagu - login: jgould22 count: 241
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Mon Jun 03 01:09:53 UTC 2024 - 55.4K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/services/BuildServiceIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jun 06 19:15:46 UTC 2024 - 61K bytes - Viewed (0) -
src/sync/atomic/atomic_test.go
func hammerAddInt32Method(uaddr *uint32, count int) { addr := (*Int32)(unsafe.Pointer(uaddr)) for i := 0; i < count; i++ { addr.Add(1) } } func hammerAddUint32(addr *uint32, count int) { for i := 0; i < count; i++ { AddUint32(addr, 1) } } func hammerAddUint32Method(uaddr *uint32, count int) { addr := (*Uint32)(unsafe.Pointer(uaddr)) for i := 0; i < count; i++ { addr.Add(1) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:37:29 UTC 2024 - 71.4K bytes - Viewed (0) -
src/runtime/mgcpacer.go
func (c *gcControllerState) addScannableStack(pp *p, amount int64) { if pp == nil { c.maxStackScan.Add(amount) return } pp.maxStackScanDelta += amount if pp.maxStackScanDelta >= maxStackScanSlack || pp.maxStackScanDelta <= -maxStackScanSlack { c.maxStackScan.Add(pp.maxStackScanDelta) pp.maxStackScanDelta = 0 } } func (c *gcControllerState) addGlobals(amount int64) { c.globalsScan.Add(amount) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 55.4K bytes - Viewed (0) -
tests/integration/ambient/baseline_test.go
{ Port: echo.Port{Name: "http"}, Scheme: scheme.HTTP, Count: 10, // TODO use more }, //{ // Port: echo.Port{Name: "http"}, // Scheme: scheme.WebSocket, // Count: 4, // Timeout: time.Second * 2, //}, { Port: echo.Port{Name: "tcp"}, Scheme: scheme.TCP, Count: 1, }, //{ // Port: echo.Port{Name: "grpc"}, // Scheme: scheme.GRPC,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 12 00:07:28 UTC 2024 - 78.4K bytes - Viewed (0) -
tests/query_test.go
} if totalBatch != 6 { t.Errorf("incorrect total batch, expects: %v, got %v", 6, totalBatch) } var count int64 DB.Model(&User{}).Where("name = ?", "find_in_batches_new").Count(&count) if count != 6 { t.Errorf("incorrect count after update, expects: %v, got %v", 6, count) } } func TestFindInBatchesWithOffsetLimit(t *testing.T) { users := []User{
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Wed May 08 04:07:58 UTC 2024 - 49.8K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/kuberuntime_container.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 54.7K bytes - Viewed (0)