HomeSort by relevance Sort by last modified time
    Searched refs:timer_count (Results 1 - 5 of 5) sorted by null

  /external/grpc-grpc/src/core/lib/iomgr/
timer_heap.cc 74 if (heap->timer_count >= 8 &&
75 heap->timer_count <= heap->timer_capacity / SHRINK_FULLNESS_FACTOR / 2) {
76 heap->timer_capacity = heap->timer_count * SHRINK_FULLNESS_FACTOR;
88 adjust_downwards(heap->timers, i, heap->timer_count, timer);
99 if (heap->timer_count == heap->timer_capacity) {
105 timer->heap_index = heap->timer_count;
106 adjust_upwards(heap->timers, heap->timer_count, timer);
107 heap->timer_count++;
113 if (i == heap->timer_count - 1) {
114 heap->timer_count--
    [all...]
timer_heap.h 28 uint32_t timer_count; member in struct:__anon23159
  /external/grpc-grpc/test/core/iomgr/
timer_heap_test.cc 46 for (i = 0; i < pq->timer_count; i++) {
54 for (i = 0; i < pq->timer_count; ++i) {
57 if (left_child < pq->timer_count) {
60 if (right_child < pq->timer_count) {
97 GPR_ASSERT(pq.timer_count == num_test_elements);
242 GPR_ASSERT(i == pq.timer_count);
245 GPR_ASSERT(num_elements == pq.timer_count);
248 while (pq.timer_count > num_elements / 4) {
249 grpc_timer* const te = pq.timers[pq.timer_count - 1];
253 GPR_ASSERT(num_elements / 4 == pq.timer_count);
    [all...]
  /external/python/cpython2/Lib/idlelib/
ParenMatch.py 123 def handle_restore_timer(self, timer_count):
124 if timer_count == self.counter:
  /external/python/cpython3/Lib/idlelib/
parenmatch.py 113 def handle_restore_timer(self, timer_count):
114 if timer_count == self.counter:

Completed in 453 milliseconds