Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 279 for counter (0.17 sec)

  1. tensorflow/c/eager/c_api_experimental_test.cc

      EXPECT_EQ(
          6, metrics->point_set_map.at("test/counter")->points.at(0)->int64_value);
    
      TFE_MonitoringDeleteCounter0(counter);
      metrics = collection_registry->CollectMetrics(options);
      EXPECT_EQ(metrics->point_set_map.end(),
                metrics->point_set_map.find("test/counter"));
    }
    
    TEST(CAPI, MonitoringCounterMultiple) {
      TF_Status* status = TF_NewStatus();
      auto* counter1 = TFE_MonitoringNewCounter1("test/counter1", status,
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 03:14:26 GMT 2023
    - 31.5K bytes
    - Viewed (1)
  2. 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)
  3. 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)
  4. 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)
  5. src/main/java/org/codelibs/fess/job/CrawlJob.java

                        }
                        counter.incrementAndGet();
                    } else if (logger.isDebugEnabled()) {
                        logger.debug("{} is not running.", scheduledJob.getId());
                    }
                }
            });
            return counter.get();
        }
    
        protected void executeCrawler() {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 15K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ConcurrentHashMultiset.java

       */
      @CanIgnoreReturnValue
      @Override
      public int setCount(E element, int count) {
        checkNotNull(element);
        checkNonnegative(count, "count");
        while (true) {
          AtomicInteger existingCounter = Maps.safeGet(countMap, element);
          if (existingCounter == null) {
            if (count == 0) {
              return 0;
            } else {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 20.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/TempFileCreator.java

          @SuppressWarnings("GoodTime") // reading system time without TimeSource
          String baseName = System.currentTimeMillis() + "-";
    
          for (int counter = 0; counter < TEMP_DIR_ATTEMPTS; counter++) {
            File tempDir = new File(baseDir, baseName + counter);
            if (tempDir.mkdir()) {
              return tempDir;
            }
          }
          throw new IllegalStateException(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Oct 06 17:11:11 GMT 2023
    - 12.5K bytes
    - Viewed (0)
  8. cmd/metrics-v3-types.go

    type MetricType int
    
    const (
    	// CounterMT - represents a counter metric.
    	CounterMT MetricType = iota
    	// GaugeMT - represents a gauge metric.
    	GaugeMT
    	// HistogramMT - represents a histogram metric.
    	HistogramMT
    )
    
    func (mt MetricType) String() string {
    	switch mt {
    	case CounterMT:
    		return "counter"
    	case GaugeMT:
    		return "gauge"
    	case HistogramMT:
    		return "histogram"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 30 15:05:22 GMT 2024
    - 14.7K bytes
    - Viewed (0)
  9. cmd/http-stats.go

    	sync.RWMutex
    }
    
    // Inc increments the api stats counter.
    func (stats *HTTPAPIStats) Inc(api string) {
    	if stats == nil {
    		return
    	}
    	stats.Lock()
    	defer stats.Unlock()
    	if stats.apiStats == nil {
    		stats.apiStats = make(map[string]int)
    	}
    	stats.apiStats[api]++
    }
    
    // Dec increments the api stats counter.
    func (stats *HTTPAPIStats) Dec(api string) {
    	if stats == nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Mar 10 09:15:15 GMT 2024
    - 11.4K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/base/SuppliersTest.java

                Thread.yield();
                counter = nextValue;
                return counter;
              }
            };
    
        final int numThreads = 10;
        final int iterations = 1000;
        Thread[] threads = new Thread[numThreads];
        for (int i = 0; i < numThreads; i++) {
          threads[i] =
              new Thread() {
                @Override
                public void run() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 18.1K bytes
    - Viewed (0)
Back to top