Home
last modified time | relevance | path

Searched refs:time_now (Results 1 – 25 of 1649) sorted by relevance

12345678910>>...66

/dports/net-p2p/c-lightning/lightning-0.10.2/ccan/ccan/htable/tools/
H A Dstringspeed.c73 start = time_now(); in main()
76 stop = time_now(); in main()
84 start = time_now(); in main()
88 stop = time_now(); in main()
93 start = time_now(); in main()
98 stop = time_now(); in main()
108 stop = time_now(); in main()
118 stop = time_now(); in main()
126 stop = time_now(); in main()
136 stop = time_now(); in main()
[all …]
H A Dspeed.c152 start = time_now(); in main()
155 stop = time_now(); in main()
174 stop = time_now(); in main()
185 stop = time_now(); in main()
195 stop = time_now(); in main()
205 stop = time_now(); in main()
214 stop = time_now(); in main()
224 stop = time_now(); in main()
239 stop = time_now(); in main()
256 stop = time_now(); in main()
[all …]
/dports/sysutils/cfengine316/cfengine-3.16.0/tests/unit/
H A Dconnection_management_test.c21 const time_t time_now = 100000; in test_purge_old_connections_nochange() local
26 xsnprintf(time_str, sizeof(time_str), "%ld", time_now - CONNECTION_MAX_AGE_SECONDS); in test_purge_old_connections_nochange()
29 xsnprintf(time_str, sizeof(time_str), "%ld", time_now - CONNECTION_MAX_AGE_SECONDS + 1); in test_purge_old_connections_nochange()
37 PurgeOldConnections(&connections, time_now); in test_purge_old_connections_nochange()
51 const time_t time_now = 100000; in test_purge_old_connections_purge_first() local
67 PurgeOldConnections(&connections, time_now); in test_purge_old_connections_purge_first()
81 const time_t time_now = 100000; in test_purge_old_connections_purge_middle() local
86 xsnprintf(time_str, sizeof(time_str), "%ld", time_now - CONNECTION_MAX_AGE_SECONDS); in test_purge_old_connections_purge_middle()
97 PurgeOldConnections(&connections, time_now); in test_purge_old_connections_purge_middle()
111 const time_t time_now = 100000; in test_purge_old_connections_purge_last() local
[all …]
/dports/sysutils/cfengine317/cfengine-3.17.0/tests/unit/
H A Dconnection_management_test.c21 const time_t time_now = 100000; in test_purge_old_connections_nochange() local
26 xsnprintf(time_str, sizeof(time_str), "%ld", time_now - CONNECTION_MAX_AGE_SECONDS); in test_purge_old_connections_nochange()
29 xsnprintf(time_str, sizeof(time_str), "%ld", time_now - CONNECTION_MAX_AGE_SECONDS + 1); in test_purge_old_connections_nochange()
37 PurgeOldConnections(&connections, time_now); in test_purge_old_connections_nochange()
51 const time_t time_now = 100000; in test_purge_old_connections_purge_first() local
67 PurgeOldConnections(&connections, time_now); in test_purge_old_connections_purge_first()
81 const time_t time_now = 100000; in test_purge_old_connections_purge_middle() local
86 xsnprintf(time_str, sizeof(time_str), "%ld", time_now - CONNECTION_MAX_AGE_SECONDS); in test_purge_old_connections_purge_middle()
97 PurgeOldConnections(&connections, time_now); in test_purge_old_connections_purge_middle()
111 const time_t time_now = 100000; in test_purge_old_connections_purge_last() local
[all …]
/dports/sysutils/cfengine/cfengine-3.19.0/tests/unit/
H A Dconnection_management_test.c21 const time_t time_now = 100000; in test_purge_old_connections_nochange() local
26 xsnprintf(time_str, sizeof(time_str), "%ld", time_now - CONNECTION_MAX_AGE_SECONDS); in test_purge_old_connections_nochange()
29 xsnprintf(time_str, sizeof(time_str), "%ld", time_now - CONNECTION_MAX_AGE_SECONDS + 1); in test_purge_old_connections_nochange()
37 PurgeOldConnections(&connections, time_now); in test_purge_old_connections_nochange()
51 const time_t time_now = 100000; in test_purge_old_connections_purge_first() local
67 PurgeOldConnections(&connections, time_now); in test_purge_old_connections_purge_first()
81 const time_t time_now = 100000; in test_purge_old_connections_purge_middle() local
86 xsnprintf(time_str, sizeof(time_str), "%ld", time_now - CONNECTION_MAX_AGE_SECONDS); in test_purge_old_connections_purge_middle()
97 PurgeOldConnections(&connections, time_now); in test_purge_old_connections_purge_middle()
111 const time_t time_now = 100000; in test_purge_old_connections_purge_last() local
[all …]
/dports/sysutils/cfengine-devel/core-d08ae9eff/tests/unit/
H A Dconnection_management_test.c21 const time_t time_now = 100000; in test_purge_old_connections_nochange() local
26 xsnprintf(time_str, sizeof(time_str), "%ld", time_now - CONNECTION_MAX_AGE_SECONDS); in test_purge_old_connections_nochange()
29 xsnprintf(time_str, sizeof(time_str), "%ld", time_now - CONNECTION_MAX_AGE_SECONDS + 1); in test_purge_old_connections_nochange()
37 PurgeOldConnections(&connections, time_now); in test_purge_old_connections_nochange()
51 const time_t time_now = 100000; in test_purge_old_connections_purge_first() local
67 PurgeOldConnections(&connections, time_now); in test_purge_old_connections_purge_first()
81 const time_t time_now = 100000; in test_purge_old_connections_purge_middle() local
86 xsnprintf(time_str, sizeof(time_str), "%ld", time_now - CONNECTION_MAX_AGE_SECONDS); in test_purge_old_connections_purge_middle()
97 PurgeOldConnections(&connections, time_now); in test_purge_old_connections_purge_middle()
111 const time_t time_now = 100000; in test_purge_old_connections_purge_last() local
[all …]
/dports/sysutils/cfengine318/cfengine-3.18.1/tests/unit/
H A Dconnection_management_test.c21 const time_t time_now = 100000; in test_purge_old_connections_nochange() local
26 xsnprintf(time_str, sizeof(time_str), "%ld", time_now - CONNECTION_MAX_AGE_SECONDS); in test_purge_old_connections_nochange()
29 xsnprintf(time_str, sizeof(time_str), "%ld", time_now - CONNECTION_MAX_AGE_SECONDS + 1); in test_purge_old_connections_nochange()
37 PurgeOldConnections(&connections, time_now); in test_purge_old_connections_nochange()
51 const time_t time_now = 100000; in test_purge_old_connections_purge_first() local
67 PurgeOldConnections(&connections, time_now); in test_purge_old_connections_purge_first()
81 const time_t time_now = 100000; in test_purge_old_connections_purge_middle() local
86 xsnprintf(time_str, sizeof(time_str), "%ld", time_now - CONNECTION_MAX_AGE_SECONDS); in test_purge_old_connections_purge_middle()
97 PurgeOldConnections(&connections, time_now); in test_purge_old_connections_purge_middle()
111 const time_t time_now = 100000; in test_purge_old_connections_purge_last() local
[all …]
/dports/sysutils/cfengine319/cfengine-3.19.0/tests/unit/
H A Dconnection_management_test.c21 const time_t time_now = 100000; in test_purge_old_connections_nochange() local
26 xsnprintf(time_str, sizeof(time_str), "%ld", time_now - CONNECTION_MAX_AGE_SECONDS); in test_purge_old_connections_nochange()
29 xsnprintf(time_str, sizeof(time_str), "%ld", time_now - CONNECTION_MAX_AGE_SECONDS + 1); in test_purge_old_connections_nochange()
37 PurgeOldConnections(&connections, time_now); in test_purge_old_connections_nochange()
51 const time_t time_now = 100000; in test_purge_old_connections_purge_first() local
67 PurgeOldConnections(&connections, time_now); in test_purge_old_connections_purge_first()
81 const time_t time_now = 100000; in test_purge_old_connections_purge_middle() local
86 xsnprintf(time_str, sizeof(time_str), "%ld", time_now - CONNECTION_MAX_AGE_SECONDS); in test_purge_old_connections_purge_middle()
97 PurgeOldConnections(&connections, time_now); in test_purge_old_connections_purge_middle()
111 const time_t time_now = 100000; in test_purge_old_connections_purge_last() local
[all …]
/dports/misc/heyu2/heyu-2.10/
H A Dmonitor.c93 time_t time_now, time_prev; in c_monitor() local
122 time_now = time_prev = time(NULL); in c_monitor()
144 second_tick(time_now, (long)(time_now - time_prev)); in c_monitor()
145 time_prev = time_now; in c_monitor()
157 time_t time_now, time_prev; in c_engine() local
181 time_now = time_prev = time(NULL); in c_engine()
218 midnight_tick(time_now); in c_engine()
223 hour_tick(time_now); in c_engine()
228 minute_tick(time_now); in c_engine()
233 second_tick(time_now, (long)(time_now - time_prev)); in c_engine()
[all …]
/dports/net-p2p/c-lightning/lightning-0.10.2/ccan/ccan/intmap/benchmark/
H A Dspeed.c88 seed = time_now().ts.tv_sec + time_now().ts.tv_nsec; in main()
94 end = time_now(); in main()
104 end = time_now(); in main()
114 end = time_now(); in main()
123 end = time_now(); in main()
133 end = time_now(); in main()
139 end = time_now(); in main()
155 end = time_now(); in main()
169 end = time_now(); in main()
175 end = time_now(); in main()
[all …]
/dports/net/freeswitch/freeswitch-1.10.3.-release/libs/apr-util/crypto/
H A Dgetuuid.c123 apr_uint64_t time_now; in true_random() local
135 get_system_time(&time_now); in true_random()
136 srand((unsigned int)(((time_now >> 32) ^ time_now) & 0xffffffff)); in true_random()
151 apr_uint64_t time_now; in get_current_time() local
155 get_system_time(&time_now); in get_current_time()
158 if (time_last != time_now) { in get_current_time()
162 if (time_last + fudge > time_now) in get_current_time()
163 fudge = time_last + fudge - time_now + 1; in get_current_time()
166 time_last = time_now; in get_current_time()
173 *timestamp = time_now + fudge; in get_current_time()
/dports/devel/apr1/apr-util-1.6.1/crypto/
H A Dgetuuid.c122 apr_uint64_t time_now; in true_random() local
134 time_now = apr_time_now(); in true_random()
135 srand((unsigned int)(((time_now >> 32) ^ time_now) & 0xffffffff)); in true_random()
150 apr_uint64_t time_now; in get_current_time() local
154 get_system_time(&time_now); in get_current_time()
157 if (time_last != time_now) { in get_current_time()
161 if (time_last + fudge > time_now) in get_current_time()
162 fudge = time_last + fudge - time_now + 1; in get_current_time()
165 time_last = time_now; in get_current_time()
172 *timestamp = time_now + fudge; in get_current_time()
/dports/games/emptyepsilon/SeriousProton-EE-2021.06.23/src/
H A Dtween.h14 …static inline T linear(float time_now, float time_start, float time_end, const T& value0, const T&… in linear() argument
16 float t = (time_now - time_start) / (time_end - time_start); in linear()
20 …static inline T easeInQuad(float time_now, float time_start, float time_end, const T& value0, cons… in easeInQuad() argument
22 float t = (time_now - time_start) / (time_end - time_start); in easeInQuad()
25 …static inline T easeOutQuad(float time_now, float time_start, float time_end, const T& value0, con… in easeOutQuad() argument
27 float t = (time_now - time_start) / (time_end - time_start); in easeOutQuad()
30 …static inline T easeInCubic(float time_now, float time_start, float time_end, const T& value0, con… in easeInCubic() argument
32 float t = (time_now - time_start) / (time_end - time_start); in easeInCubic()
35 …static inline T easeOutCubic(float time_now, float time_start, float time_end, const T& value0, co… in easeOutCubic() argument
37 float t = (time_now - time_start) / (time_end - time_start); in easeOutCubic()
/dports/news/golded+/golded-plus/golded+/goldlib/gall/
H A Dglog.cpp37 struct tm glog::time_now; member in glog
113 glocaltime(&time_now, &secs_now); in printf()
122 …sprintf(logbuf, "\n---------- %s, %s\n", strftimei(timebuf, 20, "%a %d %b %y", &time_now), progna… in printf()
126 …, "\n+ %s %4.4s Begin, %s\n", strftimei(timebuf, 20, "%d %b %H:%M:%S", &time_now), shortprogname, … in printf()
130 …sprintf(logbuf, "\n> %s %4.4s %s\n", strftimei(timebuf, 20, "%d-%b %H:%M:%S", &time_now), shortpro… in printf()
138 … sprintf(logbuf, "\n%s %s\n", strftimei(timebuf, 20, "%m/%d/%y %H:%M", &time_now), progname); in printf()
157 sprintf(logbuf, "%c %s %s", *buf, strftimei(timebuf, 10, "%H:%M:%S", &time_now), buf+2); in printf()
161 …sprintf(logbuf, "%c %s %4.4s %s", *buf, strftimei(timebuf, 20, "%d %b %H:%M:%S", &time_now), short… in printf()
165 …sprintf(logbuf, "%c %s %4.4s %s", *buf, strftimei(timebuf, 20, "%d-%b %H:%M:%S", &time_now), short… in printf()
169 sprintf(logbuf, "%s %s", strftimei(timebuf, 20, "%d-%b-%y %H:%M", &time_now), buf+2); in printf()
[all …]
/dports/sysutils/cronolog-devel/cronolog-1.7.1/src/
H A Dcronotest.c129 time_t time_now = time(NULL); in main() local
208 time_now = parse_time(start_time, use_american_date_formats); in main()
209 if (time_now == -1) in main()
236 tm = localtime(&time_now); in main()
238 printf("Start time is %s (%ld)\n", buf, time_now); in main()
242 tm = localtime(&time_now); in main()
244 printf("Period %d starts at %s (%ld): ", i, buf, time_now); in main()
245 time_now = start_of_this_period(time_now, periodicity, period_multiple); in main()
246 tm = localtime(&time_now); in main()
253 time_now = start_of_next_period(time_now, periodicity, period_multiple) + period_delay; in main()
H A Dcronolog.c230 time_t time_now; in main() local
393 if (time_now == -1) in main()
398 time_offset = time_now - time(NULL); in main()
463 time_now = time(NULL) + time_offset; in main()
468 if ((time_now >= next_period) && (log_fd >= 0)) in main()
485 alarm( next_period - time_now ); in main()
491 timestamp(time_now), time_now, in main()
493 next_period - time_now)); in main()
520 time_t time_now, time_t *pnext_period) in new_log_file() argument
533 timestamp(time_now), time_now, pfilename, in new_log_file()
[all …]
/dports/sysutils/cronolog/cronolog-8ea64c0/src/
H A Dcronotest.c129 time_t time_now = time(NULL); in main() local
208 time_now = parse_time(start_time, use_american_date_formats); in main()
209 if (time_now == -1) in main()
236 tm = localtime(&time_now); in main()
238 printf("Start time is %s (%ld)\n", buf, time_now); in main()
242 tm = localtime(&time_now); in main()
244 printf("Period %d starts at %s (%ld): ", i, buf, time_now); in main()
245 time_now = start_of_this_period(time_now, periodicity, period_multiple); in main()
246 tm = localtime(&time_now); in main()
253 time_now = start_of_next_period(time_now, periodicity, period_multiple) + period_delay; in main()
H A Dcronolog.c185 time_t time_now; in main() local
314 if (time_now == -1) in main()
319 time_offset = time_now - time(NULL); in main()
370 time_now = time(NULL) + time_offset; in main()
375 if ((time_now >= next_period) && (log_fd >= 0)) in main()
387 filename, sizeof (filename), time_now, &next_period); in main()
391 timestamp(time_now), time_now, in main()
393 next_period - time_now)); in main()
420 time_t time_now, time_t *pnext_period) in new_log_file() argument
432 timestamp(time_now), time_now, pfilename, in new_log_file()
[all …]
/dports/games/megaglest/megaglest-source-3.13.0/source/shared_lib/include/util/
H A Dgen_uuid.h186 uuid_time_t time_now; in true_random() local
189 get_system_time(&time_now); in true_random()
190 time_now = time_now / UUIDS_PER_TICK; in true_random()
191 srand((unsigned int) (((time_now >> 32) ^ time_now) & 0xffffffff)); in true_random()
243 uuid_time_t time_now; in get_current_time() local
246 get_system_time(&time_now); in get_current_time()
252 get_system_time(&time_now); in get_current_time()
255 if (time_last != time_now) { in get_current_time()
258 time_last = time_now; in get_current_time()
268 *timestamp = time_now + uuids_this_tick; in get_current_time()
/dports/benchmarks/netperf/netperf-d566775bf/src/
H A Dnet_uuid.c186 uuid_time_t time_now; in true_random() local
189 get_system_time(&time_now); in true_random()
190 time_now = time_now / UUIDS_PER_TICK; in true_random()
192 (((time_now >> 32) ^ time_now) & 0xffffffff)); in true_random()
247 uuid_time_t time_now; in get_current_time() local
250 get_system_time(&time_now); in get_current_time()
256 get_system_time(&time_now); in get_current_time()
259 if (time_last != time_now) { in get_current_time()
262 time_last = time_now; in get_current_time()
272 *timestamp = time_now + uuids_this_tick; in get_current_time()
/dports/net-im/py-matrix-synapse/synapse-1.50.2/synapse/rest/client/
H A Dsync.py229 time_now: int,
244 time_now,
260 time_now,
341 time_now: int,
365 time_now,
378 time_now: int,
400 time_now,
417 time_now: int,
472 time_now: int,
507 time_now: int,
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/catapult/third_party/gae_ts_mon/gae_ts_mon/
H A Dconfig.py50 def need_to_flush_metrics(time_now): argument
71 def flush_metrics_if_needed(time_now): argument
72 if not need_to_flush_metrics(time_now):
74 return _flush_metrics(time_now)
77 def _flush_metrics(time_now): argument
213 time_now = time_fn()
214 if need_to_flush_metrics(time_now):
274 time_now = time_fn()
315 time_now = self._time_fn()
319 'start_time': time_now,
[all …]
/dports/net-mgmt/zabbix54-proxy/zabbix-5.4.9/src/zabbix_server/availability/
H A Davail_manager.c56 double time_stat, time_idle = 0, time_now, time_flush, sec; in ZBX_THREAD_ENTRY() local
92 time_now = zbx_time(); in ZBX_THREAD_ENTRY()
94 if (STAT_INTERVAL < time_now - time_stat) in ZBX_THREAD_ENTRY()
99 interface_availabilities.values_num, processed_num, time_idle, time_now - time_stat); in ZBX_THREAD_ENTRY()
101 time_stat = time_now; in ZBX_THREAD_ENTRY()
113 time_idle += sec - time_now; in ZBX_THREAD_ENTRY()
124 if (ZBX_AVAILABILITY_MANAGER_FLUSH_DELAY_SEC < time_now - time_flush) in ZBX_THREAD_ENTRY()
126 time_flush = time_now; in ZBX_THREAD_ENTRY()
/dports/net-mgmt/zabbix54-server/zabbix-5.4.9/src/zabbix_server/availability/
H A Davail_manager.c56 double time_stat, time_idle = 0, time_now, time_flush, sec; in ZBX_THREAD_ENTRY() local
92 time_now = zbx_time(); in ZBX_THREAD_ENTRY()
94 if (STAT_INTERVAL < time_now - time_stat) in ZBX_THREAD_ENTRY()
99 interface_availabilities.values_num, processed_num, time_idle, time_now - time_stat); in ZBX_THREAD_ENTRY()
101 time_stat = time_now; in ZBX_THREAD_ENTRY()
113 time_idle += sec - time_now; in ZBX_THREAD_ENTRY()
124 if (ZBX_AVAILABILITY_MANAGER_FLUSH_DELAY_SEC < time_now - time_flush) in ZBX_THREAD_ENTRY()
126 time_flush = time_now; in ZBX_THREAD_ENTRY()
/dports/net-mgmt/zabbix54-agent/zabbix-5.4.9/src/zabbix_server/availability/
H A Davail_manager.c56 double time_stat, time_idle = 0, time_now, time_flush, sec; in ZBX_THREAD_ENTRY() local
92 time_now = zbx_time(); in ZBX_THREAD_ENTRY()
94 if (STAT_INTERVAL < time_now - time_stat) in ZBX_THREAD_ENTRY()
99 interface_availabilities.values_num, processed_num, time_idle, time_now - time_stat); in ZBX_THREAD_ENTRY()
101 time_stat = time_now; in ZBX_THREAD_ENTRY()
113 time_idle += sec - time_now; in ZBX_THREAD_ENTRY()
124 if (ZBX_AVAILABILITY_MANAGER_FLUSH_DELAY_SEC < time_now - time_flush) in ZBX_THREAD_ENTRY()
126 time_flush = time_now; in ZBX_THREAD_ENTRY()

12345678910>>...66