- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 300 for counter2 (0.28 sec)
-
platforms/software/testing-base/src/testFixtures/groovy/org/gradle/api/internal/tasks/testing/report/HtmlTestResultsFixture.groovy
assert testDiv != null def counter = testDiv.select("div.counter") assert counter != null assert counter.text() == tests as String } void assertHasFailures(int tests) { def testDiv = content.select("div#failures") assert testDiv != null def counter = testDiv.select("div.counter") assert counter != null assert counter.text() == tests as String }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 9.1K bytes - Viewed (0) -
tensorflow/cc/training/coordinator_test.cc
private: void CountThread(std::atomic<int>* counter, int until, Notification* start) { if (start != nullptr) start->WaitForNotification(); while (!coord_->ShouldStop() && counter->load() < until) { (*counter)++; Env::Default()->SleepForMicroseconds(10 * 1000); } coord_->RequestStop().IgnoreError(); } void SetStatusThread(const Status& status, BlockingCounter* counter,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 23 09:10:43 UTC 2023 - 6.9K bytes - Viewed (0) -
pkg/kubelet/winstats/network_stats_test.go
counters := make([]*fakePerfCounterImpl, 8) for i := 0; i < 8; i++ { counters[i] = &fakePerfCounterImpl{ name: fakeAdapterName, value: 1, raiseError: raiseError, } } return &networkCounter{ packetsReceivedPerSecondCounter: counters[0], packetsSentPerSecondCounter: counters[1], bytesReceivedPerSecondCounter: counters[2],
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Mar 13 12:08:15 UTC 2023 - 5.2K bytes - Viewed (0) -
platforms/jvm/jacoco/src/main/java/org/gradle/internal/jacoco/rules/JacocoLimitImpl.java
public class JacocoLimitImpl implements JacocoLimit { private String counter = "INSTRUCTION"; private String value = "COVEREDRATIO"; private BigDecimal minimum; private BigDecimal maximum; @Override public String getCounter() { return counter; } @Override public void setCounter(String counter) { this.counter = counter; } @Override public String getValue() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 14 16:03:36 UTC 2023 - 2.6K bytes - Viewed (0) -
platforms/software/dependency-management/src/scripts/process-log.groovy
int uniqueOpCount = 0 int uniqueExcludeCount = 0 Map<String, Counter> opCounters = [:].withDefault { new Counter(uniqueOpCount++) } Map<String, Counter> excludeCounters = [:].withDefault { new Counter(uniqueExcludeCount++) } class Counter { final int id Counter(int id) { this.id = id} int counter = -1 void inc() { counter++ } String getFormattedId() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 3.6K bytes - Viewed (0) -
src/sync/waitgroup.go
noCopy noCopy state atomic.Uint64 // high 32 bits are counter, low 32 bits are waiter count. sema uint32 } // Add adds delta, which may be negative, to the [WaitGroup] counter. // If the counter becomes zero, all goroutines blocked on [WaitGroup.Wait] are released. // If the counter goes negative, Add panics. // // Note that calls with a positive delta that occur when the counter is zero
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 21:14:51 UTC 2024 - 4K bytes - Viewed (0) -
platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/ExclusiveCacheAccessingWorkerTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:08:47 UTC 2023 - 4.9K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/telemetry/internal/upload/date.go
} // avoid parsing count files multiple times type parsedCache struct { mu sync.Mutex m map[string]*counter.File } func (u *uploader) parseCountFile(fname string) (*counter.File, error) { u.cache.mu.Lock() defer u.cache.mu.Unlock() if u.cache.m == nil { u.cache.m = make(map[string]*counter.File) } if f, ok := u.cache.m[fname]; ok { return f, nil } buf, err := os.ReadFile(fname) if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 21:12:15 UTC 2024 - 2.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/filters/metrics_test.go
}, status: true, want: ` # HELP authenticated_user_requests [ALPHA] Counter of authenticated requests broken out by username. # TYPE authenticated_user_requests counter authenticated_user_requests{username="admin"} 1 # HELP authentication_attempts [ALPHA] Counter of authenticated attempts. # TYPE authentication_attempts counter authentication_attempts{result="success"} 1 `, }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 20 13:35:55 UTC 2023 - 8.7K bytes - Viewed (0) -
src/net/http/triv.go
} // Simple counter server. POSTing to it will set the value. type Counter struct { mu sync.Mutex // protects n n int } // This makes Counter satisfy the [expvar.Var] interface, so we can export // it directly. func (ctr *Counter) String() string { ctr.mu.Lock() defer ctr.mu.Unlock() return strconv.Itoa(ctr.n) } func (ctr *Counter) ServeHTTP(w http.ResponseWriter, req *http.Request) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 10 03:29:50 UTC 2024 - 3.2K bytes - Viewed (0)