/dports/www/moodle310/moodle/analytics/classes/local/time_splitting/ |
H A D | periodic.php | 85 $nexttime = (new \DateTimeImmutable())->setTimestamp($this->get_first_start()); 89 $range = $this->get_next_range($nexttime); 91 $nexttime = $nexttime->add($periodicity); 92 $range = $this->get_next_range($nexttime); 104 $nexttime = $nexttime->add($periodicity); 105 $range = $this->get_next_range($nexttime); 107 $endreached = (!empty($end) && $nexttime > $end);
|
/dports/www/moodle311/moodle/analytics/classes/local/time_splitting/ |
H A D | periodic.php | 85 $nexttime = (new \DateTimeImmutable())->setTimestamp($this->get_first_start()); 89 $range = $this->get_next_range($nexttime); 91 $nexttime = $nexttime->add($periodicity); 92 $range = $this->get_next_range($nexttime); 104 $nexttime = $nexttime->add($periodicity); 105 $range = $this->get_next_range($nexttime); 107 $endreached = (!empty($end) && $nexttime > $end);
|
/dports/www/moodle39/moodle/analytics/classes/local/time_splitting/ |
H A D | periodic.php | 85 $nexttime = (new \DateTimeImmutable())->setTimestamp($this->get_first_start()); 89 $range = $this->get_next_range($nexttime); 91 $nexttime = $nexttime->add($periodicity); 92 $range = $this->get_next_range($nexttime); 104 $nexttime = $nexttime->add($periodicity); 105 $range = $this->get_next_range($nexttime); 107 $endreached = (!empty($end) && $nexttime > $end);
|
/dports/deskutils/remind/remind-03.03.11/src/ |
H A D | queue.c | 160 q->tt.nexttime = CalculateNextTime(q); in HandleQueuedReminders() 236 (q->tt.nexttime == q->tt.ttime)) { in HandleQueuedReminders() 265 q->tt.nexttime = CalculateNextTime(q); in HandleQueuedReminders() 287 int curtime = q->tt.nexttime+1; in CalculateNextTime() 325 if (q->tt.nexttime != NO_TIME) { in FindNextReminder() 327 else if (q->tt.nexttime < ans->tt.nexttime) ans = q; in FindNextReminder() 351 if (q->tt.nexttime != NO_TIME) { in GotSigInt() 354 q->tt.nexttime / 60, TimeSep, q->tt.nexttime % 60, in GotSigInt() 464 if (q->tt.nexttime == NO_TIME) { in json_queue() 568 if (q->tt.nexttime != NO_TIME) { in DaemonWait() [all …]
|
/dports/audio/supercollider/SuperCollider-3.11.0-Source/SCClassLibrary/Common/Streams/ |
H A D | Ppar.sc | 13 var outval, stream, nexttime, now = 0.0; 18 if (priorityQ.notEmpty and: { (nexttime = priorityQ.topPriority) > 0.0 }) { 19 outval = Event.silent(nexttime, inval); 21 now = nexttime; 28 nexttime = priorityQ.topPriority; 29 if (nexttime.notNil, { 31 outval = Event.silent(nexttime - now, inval); 33 now = nexttime; 40 nexttime = priorityQ.topPriority; 41 outval.put(\delta, nexttime - now); [all …]
|
H A D | Pproto.sc | 14 var outval, stream, nexttime, now = 0.0; 19 if (priorityQ.notEmpty and: { (nexttime = priorityQ.topPriority) > 0.0 }, { 20 inval = Event.silent(nexttime, inval).yield; 21 now = nexttime; 36 nexttime = priorityQ.topPriority; 37 outval.put(\delta, nexttime - now); 41 now = nexttime;
|
H A D | Pspawner.sc | 42 var outevent, stream, nexttime, cleanup; 53 nexttime = priorityQ.topPriority; 54 if (nexttime.notNil, { 56 outevent = Event.silent(nexttime - now, event); 59 now = nexttime; 68 nexttime = priorityQ.topPriority; 69 outevent.put(\delta, nexttime - now); 72 now = nexttime;
|
/dports/www/netsurf/netsurf-3.10/frontends/atari/ |
H A D | schedule.c | 139 unsigned long nexttime; in schedule_run() local 151 nexttime = cur_nscb->timeout; in schedule_run() 184 nexttime = cur_nscb->timeout; in schedule_run() 189 if (nexttime > cur_nscb->timeout) { in schedule_run() 190 nexttime = cur_nscb->timeout; in schedule_run() 199 nexttime = nexttime - now; in schedule_run() 202 nexttime); in schedule_run() 205 return nexttime; in schedule_run()
|
/dports/sysutils/cluster-glue/Reusable-Cluster-Components-glue--0a7add1d9996/lib/clplumbing/ |
H A D | timers.c | 33 struct itimerval nexttime = in setmsrepeattimer() local 46 return setitimer(ITIMER_REAL, &nexttime, NULL); in setmsrepeattimer() 54 struct itimerval nexttime = in setmsalarm() local 59 return setitimer(ITIMER_REAL, &nexttime, NULL); in setmsalarm() 65 struct itimerval nexttime = in cancelmstimer() local 69 return setitimer(ITIMER_REAL, &nexttime, NULL); in cancelmstimer()
|
/dports/sysutils/oak/oak-1.5.0/ |
H A D | fire.c | 13 struct tm *nexttime; in oak_fire_create() local 39 nexttime=localtime(&now); in oak_fire_create() 40 nexttime->tm_sec=0; in oak_fire_create() 41 nexttime->tm_min=min; in oak_fire_create() 42 nexttime->tm_hour=hour; in oak_fire_create() 44 out->next=mktime(nexttime); in oak_fire_create()
|
/dports/www/moodle310/moodle/lib/tests/ |
H A D | scheduled_task_test.php | 71 $nexttime = $testclass->get_next_scheduled_time(); 100 $nexttime = $testclass->get_next_scheduled_time(); 109 $nexttime = $testclass->get_next_scheduled_time(); 118 $nexttime = $testclass->get_next_scheduled_time(); 126 $nexttime = $testclass->get_next_scheduled_time(); 128 $this->assertEquals(7, date('N', $nexttime)); 129 $this->assertEquals(0, date('i', $nexttime)); 139 $this->assertEquals(32, date('i', $nexttime)); 140 $this->assertEquals(0, date('G', $nexttime)); 141 $this->assertEquals(1, date('j', $nexttime)); [all …]
|
/dports/www/moodle39/moodle/lib/tests/ |
H A D | scheduled_task_test.php | 71 $nexttime = $testclass->get_next_scheduled_time(); 100 $nexttime = $testclass->get_next_scheduled_time(); 109 $nexttime = $testclass->get_next_scheduled_time(); 118 $nexttime = $testclass->get_next_scheduled_time(); 126 $nexttime = $testclass->get_next_scheduled_time(); 128 $this->assertEquals(7, date('N', $nexttime)); 129 $this->assertEquals(0, date('i', $nexttime)); 139 $this->assertEquals(32, date('i', $nexttime)); 140 $this->assertEquals(0, date('G', $nexttime)); 141 $this->assertEquals(1, date('j', $nexttime)); [all …]
|
/dports/www/moodle311/moodle/lib/tests/ |
H A D | scheduled_task_test.php | 71 $nexttime = $testclass->get_next_scheduled_time(); 100 $nexttime = $testclass->get_next_scheduled_time(); 109 $nexttime = $testclass->get_next_scheduled_time(); 118 $nexttime = $testclass->get_next_scheduled_time(); 126 $nexttime = $testclass->get_next_scheduled_time(); 128 $this->assertEquals(7, date('N', $nexttime)); 129 $this->assertEquals(0, date('i', $nexttime)); 139 $this->assertEquals(32, date('i', $nexttime)); 140 $this->assertEquals(0, date('G', $nexttime)); 141 $this->assertEquals(1, date('j', $nexttime)); [all …]
|
/dports/www/netsurf/netsurf-3.10/frontends/framebuffer/ |
H A D | schedule.c | 131 struct timeval nexttime; in schedule_run() local 143 nexttime = cur_nscb->tv; in schedule_run() 171 nexttime = cur_nscb->tv; in schedule_run() 176 if (timercmp(&nexttime, &cur_nscb->tv, >)) { in schedule_run() 177 nexttime = cur_nscb->tv; in schedule_run() 186 timersub(&nexttime, &tv, &rettime); in schedule_run()
|
/dports/www/netsurf/netsurf-3.10/frontends/monkey/ |
H A D | schedule.c | 136 struct timeval nexttime; in monkey_schedule_run() local 148 nexttime = cur_nscb->tv; in monkey_schedule_run() 176 nexttime = cur_nscb->tv; in monkey_schedule_run() 181 if (timercmp(&nexttime, &cur_nscb->tv, >)) { in monkey_schedule_run() 182 nexttime = cur_nscb->tv; in monkey_schedule_run() 191 timersub(&nexttime, &tv, &rettime); in monkey_schedule_run()
|
/dports/www/netsurf/netsurf-3.10/frontends/windows/ |
H A D | schedule.c | 140 struct timeval nexttime; in schedule_run() local 152 nexttime = cur_nscb->tv; in schedule_run() 188 nexttime = cur_nscb->tv; in schedule_run() 193 if (timercmp(&nexttime, &cur_nscb->tv, >)) { in schedule_run() 194 nexttime = cur_nscb->tv; in schedule_run() 203 timersub(&nexttime, &tv, &rettime); in schedule_run()
|
/dports/misc/gone/gone-1.3.6/ |
H A D | gone.c | 99 long nexttime; variable 244 nexttime = timval.tv_sec + (goneTime * 60); in main() 262 nexttime = timval.tv_sec + (goneTime * 60); in main() 466 if ( nexttime - timval.tv_sec >= 0 ) { in hi() 467 …printf("Timeout in %ld minutes and %ld seconds\n", (nexttime - timval.tv_sec)/60, (nexttime - timv… in hi() 471 …ed for %ld minutes and %ld seconds.\n", (timval.tv_sec - nexttime)/60, (timval.tv_sec - nexttime)%… in hi()
|
/dports/security/vault/vault-1.8.2/vendor/github.com/sethvargo/go-limiter/redisstore/ |
H A D | lua.go | 64 local nexttime = start + interval 65 return {tokens, nexttime, true} 73 local nexttime = start + ((currtick+1) * interval) 85 return {tokens, nexttime, true} 88 return {0, nexttime, false}
|
/dports/games/xnethack/xNetHack-xnh6.1/dat/ |
H A D | quest.lua | 597 nexttime = { 848 nexttime = { 1097 nexttime = { 1327 nexttime = { 1548 nexttime = { 1779 nexttime = { 2001 nexttime = { 2230 nexttime = { 2433 nexttime = { 2659 nexttime = { [all …]
|
/dports/sysutils/conky/conky-1.12.2/src/ |
H A D | ical.cc | 59 icaltimetype nexttime = icalrecur_iterator_next(ritr); in add_event() local 60 while (!icaltime_is_null_time(nexttime)) { in add_event() 61 if (icaltime_compare(nexttime, icaltime_from_timet_with_zone( in add_event() 63 start = nexttime; in add_event() 66 nexttime = icalrecur_iterator_next(ritr); in add_event()
|
/dports/sysutils/conky-awesome/conky-1.12.2/src/ |
H A D | ical.cc | 59 icaltimetype nexttime = icalrecur_iterator_next(ritr); in add_event() local 60 while (!icaltime_is_null_time(nexttime)) { in add_event() 61 if (icaltime_compare(nexttime, icaltime_from_timet_with_zone( in add_event() 63 start = nexttime; in add_event() 66 nexttime = icalrecur_iterator_next(ritr); in add_event()
|
/dports/net/frr7-pythontools/frr-frr-7.5.1/lib/ |
H A D | wheel.c | 65 wheel->nexttime * slots_to_skip, &wheel->timer); in wheel_timer_thread_helper() 100 wheel->nexttime = period / slots; in wheel_init() 108 wheel->nexttime, &wheel->timer); in wheel_init() 137 wheel->nexttime, &wheel->timer); in wheel_start()
|
/dports/net/frr7/frr-frr-7.5.1/lib/ |
H A D | wheel.c | 65 wheel->nexttime * slots_to_skip, &wheel->timer); in wheel_timer_thread_helper() 100 wheel->nexttime = period / slots; in wheel_init() 108 wheel->nexttime, &wheel->timer); in wheel_init() 137 wheel->nexttime, &wheel->timer); in wheel_start()
|
/dports/net-mgmt/xymon-server/xymon-4.3.30/xymond/ |
H A D | do_alert.c | 694 time_t nexttime = now+(30*86400); /* 30 days from now */ in next_alert() local 706 if ((r_next != -1) && (r_next < nexttime)) nexttime = r_next; in next_alert() 719 if (rpt->nextalert < nexttime) nexttime = rpt->nextalert; in next_alert() 722 if (r_next < nexttime) nexttime = r_next; in next_alert() 732 if ((now + 60) < nexttime) nexttime = now + 60; in next_alert() 741 if (r_next < nexttime) nexttime = r_next; in next_alert() 750 nexttime = now + 60; in next_alert() 753 return nexttime; in next_alert()
|
/dports/net-mgmt/xymon-client/xymon-4.3.30/xymond/ |
H A D | do_alert.c | 694 time_t nexttime = now+(30*86400); /* 30 days from now */ in next_alert() local 706 if ((r_next != -1) && (r_next < nexttime)) nexttime = r_next; in next_alert() 719 if (rpt->nextalert < nexttime) nexttime = rpt->nextalert; in next_alert() 722 if (r_next < nexttime) nexttime = r_next; in next_alert() 732 if ((now + 60) < nexttime) nexttime = now + 60; in next_alert() 741 if (r_next < nexttime) nexttime = r_next; in next_alert() 750 nexttime = now + 60; in next_alert() 753 return nexttime; in next_alert()
|