HomeSort by relevance Sort by last modified time
    Searched defs:Counter (Results 1 - 25 of 250) sorted by null

1 2 3 4 5 6 7 8 910

  /external/tensorflow/tensorflow/contrib/data/python/ops/
counter.py 15 """The Counter Dataset."""
27 def Counter(start=0, step=1, dtype=dtypes.int64):
43 dtype: counter data type.
48 with ops.name_scope("counter"):
  /external/google-breakpad/src/testing/gtest/samples/
sample4.h 37 // A simple monotonic counter.
38 class Counter {
43 // Creates a counter that starts at 0.
44 Counter() : counter_(0) {}
46 // Returns the current counter value, and increments it.
49 // Prints the current counter value to STDOUT.
  /external/googletest/googletest/samples/
sample4.h 37 // A simple monotonic counter.
38 class Counter {
43 // Creates a counter that starts at 0.
44 Counter() : counter_(0) {}
46 // Returns the current counter value, and increments it.
49 // Prints the current counter value to STDOUT.
  /external/llvm/lib/Fuzzer/test/
NthRunCrashTest.cpp 9 static int Counter;
12 if (Counter++ == 1000) {
  /external/protobuf/gtest/samples/
sample4.h 37 // A simple monotonic counter.
38 class Counter {
43 // Creates a counter that starts at 0.
44 Counter() : counter_(0) {}
46 // Returns the current counter value, and increments it.
49 // Prints the current counter value to STDOUT.
  /external/v8/testing/gtest/samples/
sample4.h 37 // A simple monotonic counter.
38 class Counter {
43 // Creates a counter that starts at 0.
44 Counter() : counter_(0) {}
46 // Returns the current counter value, and increments it.
49 // Prints the current counter value to STDOUT.
  /external/vulkan-validation-layers/tests/gtest-1.7.0/samples/
sample4.h 37 // A simple monotonic counter.
38 class Counter {
43 // Creates a counter that starts at 0.
44 Counter() : counter_(0) {}
46 // Returns the current counter value, and increments it.
49 // Prints the current counter value to STDOUT.
  /prebuilts/go/darwin-x86/src/cmd/vet/testdata/
atomic.go 13 type Counter uint64
24 var su struct{ Counter uint64 }
25 su.Counter = atomic.AddUint64(&su.Counter, 1) // ERROR "direct assignment to atomic value"
26 z1 := atomic.AddUint64(&su.Counter, 1)
29 var sp struct{ Counter *uint64 }
30 *sp.Counter = atomic.AddUint64(sp.Counter, 1) // ERROR "direct assignment to atomic value"
31 z2 := atomic.AddUint64(sp.Counter, 1)
  /prebuilts/go/linux-x86/src/cmd/vet/testdata/
atomic.go 13 type Counter uint64
24 var su struct{ Counter uint64 }
25 su.Counter = atomic.AddUint64(&su.Counter, 1) // ERROR "direct assignment to atomic value"
26 z1 := atomic.AddUint64(&su.Counter, 1)
29 var sp struct{ Counter *uint64 }
30 *sp.Counter = atomic.AddUint64(sp.Counter, 1) // ERROR "direct assignment to atomic value"
31 z2 := atomic.AddUint64(sp.Counter, 1)
  /prebuilts/ndk/r16/sources/third_party/googletest/googletest/samples/
sample4.h 37 // A simple monotonic counter.
38 class Counter {
43 // Creates a counter that starts at 0.
44 Counter() : counter_(0) {}
46 // Returns the current counter value, and increments it.
49 // Prints the current counter value to STDOUT.
  /prebuilts/ndk/r16/sources/third_party/vulkan/src/tests/gtest-1.7.0/samples/
sample4.h 37 // A simple monotonic counter.
38 class Counter {
43 // Creates a counter that starts at 0.
44 Counter() : counter_(0) {}
46 // Returns the current counter value, and increments it.
49 // Prints the current counter value to STDOUT.
  /device/linaro/bootloader/edk2/MdeModulePkg/Core/Dxe/Misc/
Stall.c 23 the number of ticks specified by the UINT64 Counter value. WaitForTick()
25 of ticks to wait, so this function loops when Counter is larger than 0xffffffff.
27 @param Counter Number of ticks to wait.
32 IN UINT64 Counter
35 while (RShiftU64 (Counter, 32) > 0) {
37 Counter -= 0xffffffff;
39 gMetronome->WaitForTick (gMetronome, (UINT32)Counter);
58 UINT64 Counter;
67 // Counter = Microseconds * 10 / gMetronome->TickPeriod
75 Counter = DivU64x32Remainder (
    [all...]
  /external/swiftshader/third_party/LLVM/utils/TableGen/
CallingConvEmitter.h 33 unsigned Counter;
  /external/swiftshader/third_party/subzero/runtime/
szrt_profiler.c 6 uint64_t Counter;
57 printf("%" PRIu64 "\t%s\n", (*curr)->Counter, (*curr)->BlockName);
  /external/libcxx/test/support/
Counter.h 20 class Counter : public Counter_base
23 Counter() : data_() { ++gConstructed; }
24 Counter(const T &data) : data_(data) { ++gConstructed; }
25 Counter(const Counter& rhs) : data_(rhs.data_) { ++gConstructed; }
26 Counter& operator=(const Counter& rhs) { ++gConstructed; data_ = rhs.data_; return *this; }
28 Counter(Counter&& rhs) : data_(std::move(rhs.data_)) { ++gConstructed; }
29 Counter& operator=(Counter&& rhs) { ++gConstructed; data_ = std::move(rhs.data_); return *this;
    [all...]
  /external/tensorflow/tensorflow/core/lib/monitoring/
mobile_counter.h 16 // Null implementation of the Counter metric for mobile platforms.
40 // Counter which has a null implementation.
42 class Counter {
44 ~Counter() {}
47 static Counter* New(MetricDefArgs&&... metric_def_args) {
48 return new Counter<NumLabels>();
57 Counter() {}
61 TF_DISALLOW_COPY_AND_ASSIGN(Counter);
counter.h 40 // CounterCell stores each value of an Counter.
73 // Counter allocates storage and maintains a cell for each value. You can
80 class Counter {
82 ~Counter() {
90 // auto* counter_with_label = Counter<1>::New("/tensorflow/counter",
91 // "Tensorflow counter", "MyLabelName");
93 static Counter* New(MetricDefArgs&&... metric_def_args);
101 explicit Counter(
125 TF_DISALLOW_COPY_AND_ASSIGN(Counter);
    [all...]
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/support/
Counter.h 20 class Counter : public Counter_base
23 Counter() : data_() { ++gConstructed; }
24 Counter(const T &data) : data_(data) { ++gConstructed; }
25 Counter(const Counter& rhs) : data_(rhs.data_) { ++gConstructed; }
26 Counter& operator=(const Counter& rhs) { ++gConstructed; data_ = rhs.data_; return *this; }
28 Counter(Counter&& rhs) : data_(std::move(rhs.data_)) { ++gConstructed; }
29 Counter& operator=(Counter&& rhs) { ++gConstructed; data_ = std::move(rhs.data_); return *this;
    [all...]
  /device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Platform/Generic/RuntimeDxe/StatusCode/Lib/RtMemoryStatusCode/
RtMemoryStatusCode.c 176 UINTN Counter;
185 for (Counter = mStatusCodeMemoryPpi.FirstEntry; Counter != mStatusCodeMemoryPpi.LastEntry; Counter++) {
189 if (Counter == MaxEntry) {
190 Counter = 0;
195 CurrentEntry = (EFI_STATUS_CODE_ENTRY *) (UINTN) (mStatusCodeMemoryPpi.Address + (Counter * sizeof (EFI_STATUS_CODE_ENTRY)));
  /external/guice/extensions/struts2/example/src/com/google/inject/struts2/example/
Counter.java 22 * Session-scoped counter.
25 public class Counter {
  /external/javassist/sample/rmi/
Counter.java 8 public class Counter {
25 web.exportObject("counter", new Counter());
30 "Usage: java sample.rmi.Counter <port number>");
  /external/syslinux/gnu-efi/gnu-efi-3.0/apps/
drv0.c 100 UINTN Counter;
116 InternalGnuEfiAppsDrv0ProtocolData.Counter ++;
132 *NumberOfHello = InternalGnuEfiAppsDrv0ProtocolData.Counter;
164 InternalGnuEfiAppsDrv0ProtocolData.Counter = 0;
  /frameworks/base/libs/hwui/tests/unit/
ThreadBaseTests.cpp 97 struct Counter {
98 Counter(EventCount* count) : mCount(count) { mCount->construct++; }
100 Counter(const Counter& other) : mCount(other.mCount) {
104 Counter(Counter&& other) : mCount(other.mCount) {
109 Counter& operator=(const Counter& other) {
115 Counter& operator=(Counter&& other)
    [all...]
  /prebuilts/go/darwin-x86/src/net/http/
triv.go 31 // Simple counter server. POSTing to it will set the value.
32 type Counter struct {
37 // This makes Counter satisfy the expvar.Var interface, so we can export
39 func (ctr *Counter) String() string {
45 func (ctr *Counter) ServeHTTP(w http.ResponseWriter, req *http.Request) {
59 fmt.Fprint(w, "counter reset\n")
62 fmt.Fprintf(w, "counter = %d\n", ctr.n)
126 // The counter is published as a variable directly.
127 ctr := new(Counter)
128 expvar.Publish("counter", ctr
    [all...]
  /prebuilts/go/linux-x86/src/net/http/
triv.go 31 // Simple counter server. POSTing to it will set the value.
32 type Counter struct {
37 // This makes Counter satisfy the expvar.Var interface, so we can export
39 func (ctr *Counter) String() string {
45 func (ctr *Counter) ServeHTTP(w http.ResponseWriter, req *http.Request) {
59 fmt.Fprint(w, "counter reset\n")
62 fmt.Fprintf(w, "counter = %d\n", ctr.n)
126 // The counter is published as a variable directly.
127 ctr := new(Counter)
128 expvar.Publish("counter", ctr
    [all...]

Completed in 727 milliseconds

1 2 3 4 5 6 7 8 910