Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 284 for counter (0.51 sec)

  1. .github/actions/people/app/main.py

    class ContributorsResults(BaseModel):
        contributors: Counter
        commenters: Counter
        reviewers: Counter
        translation_reviewers: Counter
        authors: Dict[str, Author]
    
    
    def get_contributors(pr_nodes: List[PullRequestNode]) -> ContributorsResults:
        contributors = Counter()
        commenters = Counter()
        reviewers = Counter()
        translation_reviewers = Counter()
        authors: Dict[str, Author] = {}
    
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Mar 26 17:38:21 GMT 2024
    - 19.2K bytes
    - Viewed (1)
  2. docs/metrics/v3.md

    | `minio_cluster_health_drives_count`                | `gauge` | Count of all drives in the cluster             |        |
    | `minio_cluster_health_nodes_offline_count`         | `gauge` | Count of offline nodes in the cluster          |        |
    | `minio_cluster_health_nodes_online_count`          | `gauge` | Count of online nodes in the cluster           |        |
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 17:37:57 GMT 2024
    - 28.5K bytes
    - Viewed (0)
  3. cni/pkg/nodeagent/pod_cache_test.go

    	if !reflect.DeepEqual(netns1, netns2) {
    		t.Fatalf("Expected the same Netns for the same uid, got %v and %v", netns1, netns2)
    	}
    
    	if counter.Load() != 2 {
    		t.Fatalf("Expected openNetns to be called twice, got %d", counter.Load())
    	}
    }
    
    func TestUpsertPodCacheWithNewInode(t *testing.T) {
    	counter.Store(0)
    
    	p := newPodNetnsCache(openNsTestOverrideWithInodes(1, 2))
    
    	pod := &corev1.Pod{ObjectMeta: metav1.ObjectMeta{UID: "testUID"}}
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  4. tensorflow/c/eager/c_api_experimental.cc

      if (!result->counter->GetStatus().ok()) {
        delete result;
        return nullptr;
      }
      return result;
    }
    
    void TFE_MonitoringDeleteCounter1(TFE_MonitoringCounter1* counter) {
      delete counter;
    }
    
    TFE_MonitoringCounterCell* TFE_MonitoringGetCellCounter1(
        TFE_MonitoringCounter1* counter, const char* label1) {
      return static_cast<TFE_MonitoringCounterCell*>(
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 11 23:52:39 GMT 2024
    - 35.9K bytes
    - Viewed (3)
  5. 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 */
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 14.5K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/TrustedListenableFutureTaskTest.java

        for (int i = 0; i < 1000; i++) {
          final AtomicInteger counter = new AtomicInteger();
          final TrustedListenableFutureTask<Integer> task =
              TrustedListenableFutureTask.create(
                  new Callable<Integer>() {
                    @Override
                    public Integer call() {
                      return counter.incrementAndGet();
                    }
                  });
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/TrustedListenableFutureTaskTest.java

        for (int i = 0; i < 1000; i++) {
          final AtomicInteger counter = new AtomicInteger();
          final TrustedListenableFutureTask<Integer> task =
              TrustedListenableFutureTask.create(
                  new Callable<Integer>() {
                    @Override
                    public Integer call() {
                      return counter.incrementAndGet();
                    }
                  });
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/helper/CrawlingInfoHelperTest.java

            final AtomicInteger counter = new AtomicInteger(0);
            final ForkJoinPool pool = new ForkJoinPool(10);
            for (int i = 0; i < 1000; i++) {
                pool.execute(() -> {
                    assertEquals(result, crawlingInfoHelper.generateId(dataMap));
                    counter.incrementAndGet();
                });
            }
            pool.shutdown();
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 8.5K bytes
    - Viewed (0)
  9. tensorflow/c/eager/c_api_experimental.h

    // Deletes the Counter object.
    TF_CAPI_EXPORT extern void TFE_MonitoringDeleteCounter0(
        TFE_MonitoringCounter0* counter);
    // Retrieves the cell from the Counter object. The Counter object will manage
    // lifetime of the cell.
    TF_CAPI_EXPORT extern TFE_MonitoringCounterCell* TFE_MonitoringGetCellCounter0(
        TFE_MonitoringCounter0* counter);
    
    // APIs for Counter with 1 label.
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 39.5K bytes
    - Viewed (0)
  10. docs/en/docs/async.md

    While waiting and talking to your crush, from time to time, you check the number displayed on the counter to see if it's your turn already.
    
    Then at some point, it finally is your turn. You go to the counter, get your burgers and come back to the table.
    
    <img src="/img/async/concurrent-burgers/concurrent-burgers-06.png" class="illustration">
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 23K bytes
    - Viewed (0)
Back to top