Home
last modified time | relevance | path

Searched defs:ticker (Results 1 – 25 of 62) sorted by relevance

123

/external/guava/guava-testlib/test/com/google/common/testing/
DFakeTickerTest.java46 FakeTicker ticker = new FakeTicker(); in testAdvance() local
57 FakeTicker ticker = new FakeTicker(); in testAutoIncrementStep_returnsSameInstance() local
62 FakeTicker ticker = new FakeTicker().setAutoIncrementStep(10, TimeUnit.NANOSECONDS); in testAutoIncrementStep_nanos() local
69 FakeTicker ticker = new FakeTicker().setAutoIncrementStep(1, TimeUnit.MILLISECONDS); in testAutoIncrementStep_millis() local
76 FakeTicker ticker = new FakeTicker().setAutoIncrementStep(3, TimeUnit.SECONDS); in testAutoIncrementStep_seconds() local
84 FakeTicker ticker = new FakeTicker().setAutoIncrementStep(java.time.Duration.ofMillis(1)); in testAutoIncrementStep_duration() local
91 FakeTicker ticker = new FakeTicker().setAutoIncrementStep(10, TimeUnit.NANOSECONDS); in testAutoIncrementStep_resetToZero() local
106 FakeTicker ticker = new FakeTicker(); in testAutoIncrement_negative() local
117 final FakeTicker ticker = new FakeTicker(); in testConcurrentAdvance() local
140 final FakeTicker ticker = in testConcurrentAutoIncrementStep() local
/external/guava/android/guava-testlib/test/com/google/common/testing/
DFakeTickerTest.java45 FakeTicker ticker = new FakeTicker(); in testAdvance() local
54 FakeTicker ticker = new FakeTicker(); in testAutoIncrementStep_returnsSameInstance() local
59 FakeTicker ticker = new FakeTicker().setAutoIncrementStep(10, TimeUnit.NANOSECONDS); in testAutoIncrementStep_nanos() local
66 FakeTicker ticker = new FakeTicker().setAutoIncrementStep(1, TimeUnit.MILLISECONDS); in testAutoIncrementStep_millis() local
73 FakeTicker ticker = new FakeTicker().setAutoIncrementStep(3, TimeUnit.SECONDS); in testAutoIncrementStep_seconds() local
80 FakeTicker ticker = new FakeTicker().setAutoIncrementStep(10, TimeUnit.NANOSECONDS); in testAutoIncrementStep_resetToZero() local
95 FakeTicker ticker = new FakeTicker(); in testAutoIncrement_negative() local
106 final FakeTicker ticker = new FakeTicker(); in testConcurrentAdvance() local
129 final FakeTicker ticker = in testConcurrentAutoIncrementStep() local
/external/guava/guava-tests/test/com/google/common/cache/
DCacheExpirationTest.java50 FakeTicker ticker = new FakeTicker(); in testExpiration_expireAfterWrite() local
63 FakeTicker ticker = new FakeTicker(); in testExpiration_expireAfterAccess() local
78 FakeTicker ticker, in checkExpiration()
91 CacheTesting.expireEntries((LoadingCache<?, ?>) cache, EXPIRING_TIME, ticker); in checkExpiration() local
96 CacheTesting.expireEntries((LoadingCache<?, ?>) cache, EXPIRING_TIME, ticker); in checkExpiration() local
102 FakeTicker ticker = new FakeTicker(); in testExpiringGet_expireAfterWrite() local
115 FakeTicker ticker = new FakeTicker(); in testExpiringGet_expireAfterAccess() local
130 FakeTicker ticker, in runExpirationTest()
154 CacheTesting.expireEntries((LoadingCache<?, ?>) cache, EXPIRING_TIME, ticker); in runExpirationTest() local
169 CacheTesting.expireEntries((LoadingCache<?, ?>) cache, EXPIRING_TIME, ticker); in runExpirationTest() local
[all …]
DCacheRefreshTest.java31 FakeTicker ticker = new FakeTicker(); in testAutoRefresh() local
/external/guava/android/guava-tests/test/com/google/common/cache/
DCacheExpirationTest.java50 FakeTicker ticker = new FakeTicker(); in testExpiration_expireAfterWrite() local
63 FakeTicker ticker = new FakeTicker(); in testExpiration_expireAfterAccess() local
78 FakeTicker ticker, in checkExpiration()
91 CacheTesting.expireEntries((LoadingCache<?, ?>) cache, EXPIRING_TIME, ticker); in checkExpiration() local
96 CacheTesting.expireEntries((LoadingCache<?, ?>) cache, EXPIRING_TIME, ticker); in checkExpiration() local
102 FakeTicker ticker = new FakeTicker(); in testExpiringGet_expireAfterWrite() local
115 FakeTicker ticker = new FakeTicker(); in testExpiringGet_expireAfterAccess() local
130 FakeTicker ticker, in runExpirationTest()
154 CacheTesting.expireEntries((LoadingCache<?, ?>) cache, EXPIRING_TIME, ticker); in runExpirationTest() local
169 CacheTesting.expireEntries((LoadingCache<?, ?>) cache, EXPIRING_TIME, ticker); in runExpirationTest() local
[all …]
DCacheRefreshTest.java31 FakeTicker ticker = new FakeTicker(); in testAutoRefresh() local
/external/jemalloc_new/include/jemalloc/internal/
Dticker.h20 ticker_init(ticker_t *ticker, int32_t nticks) { in ticker_init()
26 ticker_copy(ticker_t *ticker, const ticker_t *other) { in ticker_copy()
31 ticker_read(const ticker_t *ticker) { in ticker_read()
59 ticker_fixup(ticker_t *ticker) { in ticker_fixup()
65 ticker_ticks(ticker_t *ticker, int32_t nticks) { in ticker_ticks()
74 ticker_tick(ticker_t *ticker) { in ticker_tick()
/external/dagger2/java/dagger/producers/monitoring/
DTimingProductionComponentMonitor.java34 private final Ticker ticker; field in TimingProductionComponentMonitor
37 TimingProductionComponentMonitor(ProductionComponentTimingRecorder recorder, Ticker ticker) { in TimingProductionComponentMonitor()
50 private final Ticker ticker; field in TimingProductionComponentMonitor.Factory
56 Factory(ProductionComponentTimingRecorder.Factory recorderFactory, Ticker ticker) { in Factory()
/external/guava/android/guava/src/com/google/common/base/
DStopwatch.java91 private final Ticker ticker; field in Stopwatch
110 public static Stopwatch createUnstarted(Ticker ticker) { in createUnstarted()
128 public static Stopwatch createStarted(Ticker ticker) { in createStarted()
136 Stopwatch(Ticker ticker) { in Stopwatch()
/external/guava/guava/src/com/google/common/base/
DStopwatch.java93 private final Ticker ticker; field in Stopwatch
112 public static Stopwatch createUnstarted(Ticker ticker) { in createUnstarted()
130 public static Stopwatch createStarted(Ticker ticker) { in createStarted()
138 Stopwatch(Ticker ticker) { in Stopwatch()
/external/grpc-grpc-java/context/src/main/java/io/grpc/
DDeadline.java51 static Deadline after(long duration, TimeUnit units, Ticker ticker) { in after()
56 private final Ticker ticker; field in Deadline
60 private Deadline(Ticker ticker, long offset, boolean baseInstantAlreadyExpired) { in Deadline()
64 private Deadline(Ticker ticker, long baseInstant, long offset, in Deadline()
/external/caliper/caliper/src/main/java/com/google/caliper/worker/
DRuntimeWorker.java45 protected final Ticker ticker; field in RuntimeWorker
52 Method method, Random random, Ticker ticker, in RuntimeWorker()
105 @BenchmarkMethod Method method, Random random, Ticker ticker, in Micro()
131 @BenchmarkMethod Method method, Random random, Ticker ticker, in Pico()
/external/jemalloc_new/test/unit/
Dticker.c8 ticker_t ticker; in TEST_BEGIN() local
32 ticker_t ticker; in TEST_BEGIN() local
/external/grpc-grpc-java/netty/src/test/java/io/grpc/netty/
DMaxConnectionIdleManagerTest.java39 private final Ticker ticker = new Ticker() { field in MaxConnectionIdleManagerTest
105 TestMaxConnectionIdleManager(long maxConnectionIdleInNanos, Ticker ticker) { in TestMaxConnectionIdleManager()
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/synchronization/internal/
Dper_thread_sem.cc55 const int ticker = in Tick() local
83 int ticker = identity->ticker.load(std::memory_order_relaxed); in AbslInternalPerThreadSemWait() local
/external/openscreen/third_party/abseil/src/absl/synchronization/internal/
Dper_thread_sem.cc55 const int ticker = in Tick() local
83 int ticker = identity->ticker.load(std::memory_order_relaxed); in AbslInternalPerThreadSemWait() local
/external/libtextclassifier/abseil-cpp/absl/synchronization/internal/
Dper_thread_sem.cc55 const int ticker = in Tick() local
83 int ticker = identity->ticker.load(std::memory_order_relaxed); in AbslInternalPerThreadSemWait() local
/external/webrtc/third_party/abseil-cpp/absl/synchronization/internal/
Dper_thread_sem.cc55 const int ticker = in Tick() local
83 int ticker = identity->ticker.load(std::memory_order_relaxed); in AbslInternalPerThreadSemWait() local
/external/angle/third_party/abseil-cpp/absl/synchronization/internal/
Dper_thread_sem.cc55 const int ticker = in Tick() local
83 int ticker = identity->ticker.load(std::memory_order_relaxed); in ABSL_INTERNAL_C_SYMBOL() local
/external/abseil-cpp/absl/synchronization/internal/
Dper_thread_sem.cc55 const int ticker = in Tick() local
83 int ticker = identity->ticker.load(std::memory_order_relaxed); in AbslInternalPerThreadSemWait() local
/external/grpc-grpc-java/netty/src/main/java/io/grpc/netty/
DMaxConnectionIdleManager.java39 private final Ticker ticker; field in MaxConnectionIdleManager
54 MaxConnectionIdleManager(long maxConnectionIdleInNanos, Ticker ticker) { in MaxConnectionIdleManager()
DKeepAliveEnforcer.java33 private final Ticker ticker; field in KeepAliveEnforcer
45 KeepAliveEnforcer(boolean permitWithoutCalls, long minTime, TimeUnit unit, Ticker ticker) { in KeepAliveEnforcer()
/external/setupcompat/main/java/com/google/android/setupcompat/internal/
DClockProvider.java48 private static Ticker ticker = SYSTEM_TICKER; field in ClockProvider
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/
DKeepAliveManager.java38 private final Ticker ticker; field in KeepAliveManager
134 Ticker ticker, long keepAliveTimeInNanos, long keepAliveTimeoutInNanos, in KeepAliveManager()
/external/guava/android/guava/src/com/google/common/cache/
DCacheBuilder.java252 @NullableDecl Ticker ticker; field in CacheBuilder
762 public CacheBuilder<K, V> ticker(Ticker ticker) { in ticker() argument

123