Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 663 for counter1 (0.25 sec)

  1. android/guava-tests/test/com/google/common/io/CountingOutputStreamTest.java

        counter.write(data, 0, 5);
        written += 5;
        assertEquals(written, out.size());
        assertEquals(written, counter.getCount());
    
        counter.write(data, 2, 5);
        written += 5;
        assertEquals(written, out.size());
        assertEquals(written, counter.getCount());
    
        // Test that illegal arguments do not affect count
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  2. common-protos/k8s.io/api/batch/v1/generated.proto

      //   running pods are terminated.
      // - Ignore: indicates that the counter towards the .backoffLimit is not
      //   incremented and a replacement pod is created.
      // - Count: indicates that the pod is handled in the default way - the
      //   counter towards the .backoffLimit is incremented.
      // Additional values are considered to be added in the future. Clients should
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  3. pkg/scheduler/metrics/metric_recorder_test.go

    	"testing"
    )
    
    var _ MetricRecorder = &fakePodsRecorder{}
    
    type fakePodsRecorder struct {
    	counter int64
    }
    
    func (r *fakePodsRecorder) Inc() {
    	atomic.AddInt64(&r.counter, 1)
    }
    
    func (r *fakePodsRecorder) Dec() {
    	atomic.AddInt64(&r.counter, -1)
    }
    
    func (r *fakePodsRecorder) Clear() {
    	atomic.StoreInt64(&r.counter, 0)
    }
    
    func TestInc(t *testing.T) {
    	fakeRecorder := fakePodsRecorder{}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 09 00:51:07 UTC 2019
    - 2.2K bytes
    - Viewed (0)
  4. src/internal/godebug/godebug.go

    // String returns a printable form for the setting: name=value.
    func (s *Setting) String() string {
    	return s.Name() + "=" + s.Value()
    }
    
    // IncNonDefault increments the non-default behavior counter
    // associated with the given setting.
    // This counter is exposed in the runtime/metrics value
    // /godebug/non-default-behavior/<name>:events.
    //
    // Note that Value must be called at least once before IncNonDefault.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Mar 09 14:19:39 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. docs/metrics/v3.md

    | `minio_api_requests_rejected_auth_total`       | `counter` | Total number of requests rejected for auth failure      | `type,pool_index,server`         |
    | `minio_api_requests_rejected_header_total`     | `counter` | Total number of requests rejected for invalid header    | `type,pool_index,server`         |
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 06 09:36:25 UTC 2024
    - 40.9K bytes
    - Viewed (0)
  10. 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)
Back to top