Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 547 for _counters (0.14 sec)

  1. guava-tests/test/com/google/common/util/concurrent/ListenerCallQueueTest.java

        queue.addListener(listener, directExecutor());
    
        Multiset<Object> counters = ConcurrentHashMultiset.create();
        queue.enqueue(incrementingEvent(counters, listener, 1));
        queue.enqueue(incrementingEvent(counters, listener, 2));
        queue.enqueue(incrementingEvent(counters, listener, 3));
        queue.enqueue(incrementingEvent(counters, listener, 4));
        assertEquals(0, counters.size());
        queue.dispatch();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 09 22:57:07 UTC 2022
    - 8.2K bytes
    - Viewed (0)
  2. src/cmd/go/script_test.go

    			// not a counter file
    			continue
    		}
    		counters, _, err := countertest.ReadFile(filepath.Join(localDir, dirent.Name()))
    		if err != nil {
    			t.Fatalf("reading counter file: %v", err)
    		}
    		for k, v := range counters {
    			totals[k] += v
    		}
    	}
    
    	return totals
    }
    
    func checkCounters(t *testing.T, telemetryDir string) {
    	counters := readCounters(t, telemetryDir)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 18:15:22 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  3. src/cmd/internal/cov/covcmd/cmddefs.go

    	// eliminates redundant counters).
    	Strategy string
    
    	// Prefix assigned to the names of counter variables generated
    	// during instrumentation by cmd/cover.
    	CounterPrefix string
    
    	// Name chosen for the package ID variable generated during
    	// instrumentation.
    	PkgIdVar string
    
    	// Counter mode (e.g. set/count/atomic)
    	CounterMode string
    
    	// Counter granularity (perblock or perfunc).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Sep 30 16:13:15 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/telemetry/README.md

    change in breaking ways as the telemetry integration is refined.
    
    ## Notable Packages
    
    - The [x/telemetry/counter](https://pkg.go.dev/golang.org/x/telemetry/counter)
      package provides a library for instrumenting programs with counters and stack
      reports.
    - The [x/telemetry/upload](https://pkg.go.dev/golang.org/x/telemetry/upload)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:57:25 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/authorization/cel/metrics_test.go

    			want: `
    			# HELP apiserver_authorization_match_condition_evaluation_errors_total [ALPHA] Total number of errors when an authorization webhook encounters a match condition error split by authorizer type and name.
    			# TYPE apiserver_authorization_match_condition_evaluation_errors_total counter
    			apiserver_authorization_match_condition_evaluation_errors_total{name="wh1.example.com",type="Webhook"} 1
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 22:41:27 UTC 2024
    - 4K bytes
    - Viewed (0)
  6. 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,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 03 03:14:26 UTC 2023
    - 31.5K bytes
    - Viewed (0)
  7. src/internal/coverage/pods/pods.go

    // (e.g. avoids looking at things that are not meta-data files or
    // counter-data files). CollectPods also skips over 'orphaned' counter
    // data files (e.g. counter data files for which we can't find the
    // corresponding meta-data file). If "warn" is true, CollectPods will
    // issue warnings to stderr when it encounters non-fatal problems (for
    // orphans or a directory with no meta-data files).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/aes/aes_test.go

    	t.Run("gcm unsafe", func(t *testing.T) {
    		testGCMNonce(t, newGCMTransformerWithUniqueKeyUnsafeTest, 0, func(i int, nonce []byte) {
    			counter := binary.LittleEndian.Uint64(nonce)
    			if uint64(i+1) != counter { // add one because the counter starts at 1, not 0
    				t.Errorf("counter nonce is invalid: want %d, got %d", i+1, counter)
    			}
    		})
    	})
    
    	t.Run("gcm extended nonce", func(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 21 19:25:52 UTC 2023
    - 23.2K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/telemetry/internal/counter/stackcounter.go

    	c.mu.Lock()
    	defer c.mu.Unlock()
    	counters := make([]*Counter, len(c.stacks))
    	for i, s := range c.stacks {
    		counters[i] = s.counter
    	}
    	return counters
    }
    
    func eq(a, b []uintptr) bool {
    	if len(a) != len(b) {
    		return false
    	}
    	for i := range a {
    		if a[i] != b[i] {
    			return false
    		}
    	}
    	return true
    }
    
    // ReadStack reads the given stack counter.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:10:54 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  10. src/cmd/covdata/metamerge.go

    	// FIXME: in theory either A) len(val.Counters) is zero, or B)
    	// the two lengths are equal. Assert if not? Of course, we could
    	// see odd stuff if there is source file skew.
    	if *verbflag > 4 {
    		fmt.Printf("visit pk=%d fid=%d len(counters)=%d\n", data.PkgIdx, data.FuncIdx, len(data.Counters))
    	}
    	if len(val.Counters) < len(data.Counters) {
    		t := val.Counters
    		val.Counters = mm.AllocateCounters(len(data.Counters))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 12 17:17:47 UTC 2024
    - 12.1K bytes
    - Viewed (0)
Back to top