- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 1,665 for count1 (0.17 sec)
-
android/guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java
for (int i = 0; i < SIZE; i++) { aa.set(i, (double) COUNTDOWN); } Counter c1 = new Counter(aa); Counter c2 = new Counter(aa); Thread t1 = newStartedThread(c1); Thread t2 = newStartedThread(c2); awaitTermination(t1); awaitTermination(t2); assertEquals(SIZE * COUNTDOWN, c1.counts + c2.counts); } /** a deserialized serialized array holds same values */
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Jun 10 19:21:11 UTC 2024 - 10.5K bytes - Viewed (0) -
pkg/scheduler/framework/cycle_state_test.go
return false } return true }) if !isEqual { return false, msg } countB := 0 b.storage.Range(func(k, _ interface{}) bool { countB++ return true }) if countA != countB { return false, fmt.Sprintf("two Cyclestates have different numbers of data. A: %v, B: %v", countA, countB) } return true, "" } func TestCycleStateClone(t *testing.T) { tests := []struct {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 14 15:26:20 UTC 2022 - 3.9K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/flowcontrol/request/width_test.go
}, } for _, test := range tests { t.Run(test.name, func(t *testing.T) { counts := test.counts if len(counts) == 0 { counts = map[string]int64{} } countsFn := func(key string) (int64, error) { return counts[key], test.countErr } watchCountsFn := func(_ *apirequest.RequestInfo) int { return test.watchCount }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 17K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/tasks/TaskStatistics.java
eagerTasks.incrementAndGet(); synchronized (typeCounts) { Integer count = typeCounts.get(type); if (count == null) { count = 1; } else { count = count + 1; } typeCounts.put(type, count); } } } public void lazyTask() { if (collectStatistics) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 5.1K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformIsolationIntegrationTest.groovy
""" buildFile << """ def artifactType = Attribute.of('artifactType', String) class Counter implements Serializable { private int count = 0; public int increment() { return ++count; } public int getCount() { return count; } } class Resolve extends Copy { @Internal ArtifactCollection artifacts @Internal
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 24 06:54:47 UTC 2023 - 10.8K bytes - Viewed (0) -
test/maymorestack.go
// Test the maymorestack testing hook by injecting a hook that counts // how many times it is called and checking that count. package main import "runtime" var count uint32 //go:nosplit func mayMoreStack() { count++ } func main() { const wantCount = 128 anotherFunc(wantCount - 1) // -1 because the call to main already counted if count == 0 { panic("mayMoreStack not called")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 05 00:52:06 UTC 2021 - 1.1K bytes - Viewed (0) -
src/main/assemblies/extension/kibana/fess_log.ndjson
{"attributes":{"fields":"[{\"name\":\"_id\",\"type\":\"string\",\"esTypes\":[\"_id\"],\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":true,\"readFromDocValues\":false},{\"name\":\"_index\",\"type\":\"string\",\"esTypes\":[\"_index\"],\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":true,\"readFromDocValues\":false},{\"name\":\"_score\",\"type\":\"number\",\"count\":0,\"scripted\":false,\"searchable\":false,\"aggregatable\":false,\"readFromDocValues\":fal...
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Mon Aug 12 01:26:21 UTC 2019 - 18.2K bytes - Viewed (0) -
src/runtime/metrics/example_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 08 16:09:01 UTC 2021 - 2.6K bytes - Viewed (0) -
releasenotes/notes/configmap-mount.yaml
apiVersion: release-notes/v2 kind: feature area: installation issue: - 31410 releaseNotes: - | **Improved** configmaps to be read directly rather than from volume mounts. This improves the speed
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Mar 25 15:46:51 UTC 2021 - 311 bytes - Viewed (0) -
src/runtime/metrics_test.go
} if !reflect.DeepEqual(gcPauses.Counts, schedPausesTotalGC.Counts) { t.Errorf("/gc/pauses:seconds counts %v do not match /sched/pauses/total/gc:seconds counts %v", gcPauses.Counts, schedPausesTotalGC.Counts) } } func TestReadMetricsConsistency(t *testing.T) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 17:52:17 UTC 2024 - 45K bytes - Viewed (0)