/dports/sysutils/vector/vector-0.10.0/cargo-crates/futures-timer-3.0.2/src/native/ |
H A D | timer.rs | 42 pub struct TimerHandle { struct 85 pub fn handle(&self) -> TimerHandle { in handle() argument 86 TimerHandle { in handle() 225 impl TimerHandle { impl 254 drop(TimerHandle::from_usize(val)); in set_as_global_fallback() 265 unsafe fn from_usize(val: usize) -> TimerHandle { in from_usize() argument 267 TimerHandle { inner } in from_usize() 271 impl Default for TimerHandle { implementation 272 fn default() -> TimerHandle { in default() 306 let handle = TimerHandle::from_usize(fallback); in default() [all …]
|
/dports/games/abstreet/abstreet-0.2.9-49-g74aca40c0/cargo-crates/calloop-0.4.4/src/sources/ |
H A D | timer.rs | 58 pub fn handle(&self) -> TimerHandle<T> { in handle() 59 TimerHandle { in handle() 69 pub struct TimerHandle<T> { struct 74 impl<T> Clone for TimerHandle<T> { argument 75 fn clone(&self) -> TimerHandle<T> { in clone() 76 TimerHandle { in clone() 82 impl<T> TimerHandle<T> { impl 138 type Event = (T, TimerHandle<T>); 160 struct Dispatcher<Data, T, F: FnMut((T, TimerHandle<T>), &mut Data)> { 166 impl<Data, T, F: FnMut((T, TimerHandle<T>), &mut Data)> EventDispatcher<Data> [all …]
|
/dports/dns/flamethrower/flamethrower-0.11.0/flame/ |
H A D | trafgen.cpp | 254 _finish_session_timer = _loop->resource<uvw::TimerHandle>(); in start_wait_timer_for_tcp_finish() 256 uvw::TimerHandle &h) { in start_wait_timer_for_tcp_finish() 274 _finish_session_timer->start(uvw::TimerHandle::Time{1}, uvw::TimerHandle::Time{50}); in start_wait_timer_for_tcp_finish() 319 _sender_timer = _loop->resource<uvw::TimerHandle>(); in start() 320 … _sender_timer->on<uvw::TimerEvent>([this](const uvw::TimerEvent &event, uvw::TimerHandle &h) { in start() 330 … _sender_timer->start(uvw::TimerHandle::Time{1}, uvw::TimerHandle::Time{_traf_config->s_delay}); in start() 335 _timeout_timer = _loop->resource<uvw::TimerHandle>(); in start() 336 _timeout_timer->on<uvw::TimerEvent>([this](const uvw::TimerEvent &event, uvw::TimerHandle &h) { in start() 339 …_timeout_timer->start(uvw::TimerHandle::Time{_traf_config->r_timeout * 1000}, uvw::TimerHandle::Ti… in start() 341 _shutdown_timer = _loop->resource<uvw::TimerHandle>(); in start() [all …]
|
H A D | trafgen.h | 70 std::shared_ptr<uvw::TimerHandle> _sender_timer; 71 std::shared_ptr<uvw::TimerHandle> _timeout_timer; 72 std::shared_ptr<uvw::TimerHandle> _shutdown_timer; 73 std::shared_ptr<uvw::TimerHandle> _finish_session_timer;
|
H A D | main.cpp | 149 auto qps_timer = loop->resource<uvw::TimerHandle>(); in flow_change() 154 qps_timer->start(uvw::TimerHandle::Time{flow.second}, uvw::TimerHandle::Time{0}); in flow_change() 185 std::shared_ptr<uvw::TimerHandle> run_timer; in main() 186 std::shared_ptr<uvw::TimerHandle> qgen_loop_timer; in main() 452 run_timer = loop->resource<uvw::TimerHandle>(); in main() 454 run_timer->start(uvw::TimerHandle::Time{runtime_limit * 1000}, uvw::TimerHandle::Time{0}); in main() 458 qgen_loop_timer = loop->resource<uvw::TimerHandle>(); in main() 463 qgen_loop_timer->start(uvw::TimerHandle::Time{500}, uvw::TimerHandle::Time{500}); in main()
|
/dports/dns/flamethrower/flamethrower-0.11.0/3rd/uvw/uvw/ |
H A D | timer.hpp | 30 class TimerHandle final: public Handle<TimerHandle, uv_timer_t> { class 32 TimerHandle &timer = *(static_cast<TimerHandle*>(handle->data)); in startCallback()
|
/dports/net/astron/Astron-c8ba982/src/deps/uvw/uvw/ |
H A D | timer.hpp | 30 class TimerHandle final: public Handle<TimerHandle, uv_timer_t> { class 32 TimerHandle &timer = *(static_cast<TimerHandle*>(handle->data)); in startCallback()
|
/dports/net/astron/Astron-c8ba982/src/util/ |
H A D | Timeout.cpp | 31 m_timer = m_loop->resource<uvw::TimerHandle>(); in setup() 33 m_timer->on<uvw::TimerEvent>([self = this](const uvw::TimerEvent&, uvw::TimerHandle&) { in setup() argument 71 m_timer->start(uvw::TimerHandle::Time{m_timeout_interval}, uvw::TimerHandle::Time{0}); in reset()
|
/dports/x11/alacritty/alacritty-0.9.0/cargo-crates/calloop-0.6.5/src/sources/ |
H A D | timer.rs | 46 pub fn handle(&self) -> TimerHandle<T> { in handle() 47 TimerHandle { in handle() 57 pub struct TimerHandle<T> { struct 63 impl<T> Clone for TimerHandle<T> { argument 64 fn clone(&self) -> TimerHandle<T> { in clone() 65 TimerHandle { in clone() 76 impl<T> TimerHandle<T> { implementation 108 type Metadata = TimerHandle<T>; 120 let mut handle = TimerHandle { in process_events()
|
/dports/editors/lazarus-qt5-devel/lazarus-6df7e8756882f7d7f28f662011ee72f21746c580/components/lclextensions/include/gtk/ |
H A D | delphicompat.inc | 208 TimerHandle: guint; 283 //DebugLn('gtkTimerCalled for TimerHandle: %d',[TimerHandle]); 284 if TimerHandle <> 0 then 315 TimerInfo^.TimerHandle := gtk_timeout_add(uElapse, @gtkTimerCB, TimerInfo); 316 //DebugLn('SetTimer HWnd: %d ID: %d TimerHandle: %d',[hWnd,nIDEvent,TimerInfo^.TimerHandle]); 326 //DebugLn('KillTimer HWnd: %d ID: %d TimerHandle: %d',[hWnd,nIDEvent,TimerInfo^.TimerHandle]); 327 gtk_timeout_remove(TimerInfo^.TimerHandle); 329 //todo: see if is really necessary to set TimerHandle to 0 and check in gtkTimerCB 330 TimerInfo^.TimerHandle := 0;
|
/dports/editors/lazarus/lazarus/components/lclextensions/include/gtk/ |
H A D | delphicompat.inc | 208 TimerHandle: guint; 283 //DebugLn('gtkTimerCalled for TimerHandle: %d',[TimerHandle]); 284 if TimerHandle <> 0 then 315 TimerInfo^.TimerHandle := gtk_timeout_add(uElapse, @gtkTimerCB, TimerInfo); 316 //DebugLn('SetTimer HWnd: %d ID: %d TimerHandle: %d',[hWnd,nIDEvent,TimerInfo^.TimerHandle]); 326 //DebugLn('KillTimer HWnd: %d ID: %d TimerHandle: %d',[hWnd,nIDEvent,TimerInfo^.TimerHandle]); 327 gtk_timeout_remove(TimerInfo^.TimerHandle); 329 //todo: see if is really necessary to set TimerHandle to 0 and check in gtkTimerCB 330 TimerInfo^.TimerHandle := 0;
|
/dports/editors/lazarus-qt5/lazarus/components/lclextensions/include/gtk/ |
H A D | delphicompat.inc | 208 TimerHandle: guint; 283 //DebugLn('gtkTimerCalled for TimerHandle: %d',[TimerHandle]); 284 if TimerHandle <> 0 then 315 TimerInfo^.TimerHandle := gtk_timeout_add(uElapse, @gtkTimerCB, TimerInfo); 316 //DebugLn('SetTimer HWnd: %d ID: %d TimerHandle: %d',[hWnd,nIDEvent,TimerInfo^.TimerHandle]); 326 //DebugLn('KillTimer HWnd: %d ID: %d TimerHandle: %d',[hWnd,nIDEvent,TimerInfo^.TimerHandle]); 327 gtk_timeout_remove(TimerInfo^.TimerHandle); 329 //todo: see if is really necessary to set TimerHandle to 0 and check in gtkTimerCB 330 TimerInfo^.TimerHandle := 0;
|
/dports/editors/lazarus-devel/lazarus-6df7e8756882f7d7f28f662011ee72f21746c580/components/lclextensions/include/gtk/ |
H A D | delphicompat.inc | 208 TimerHandle: guint; 283 //DebugLn('gtkTimerCalled for TimerHandle: %d',[TimerHandle]); 284 if TimerHandle <> 0 then 315 TimerInfo^.TimerHandle := gtk_timeout_add(uElapse, @gtkTimerCB, TimerInfo); 316 //DebugLn('SetTimer HWnd: %d ID: %d TimerHandle: %d',[hWnd,nIDEvent,TimerInfo^.TimerHandle]); 326 //DebugLn('KillTimer HWnd: %d ID: %d TimerHandle: %d',[hWnd,nIDEvent,TimerInfo^.TimerHandle]); 327 gtk_timeout_remove(TimerInfo^.TimerHandle); 329 //todo: see if is really necessary to set TimerHandle to 0 and check in gtkTimerCB 330 TimerInfo^.TimerHandle := 0;
|
/dports/multimedia/gstreamer1-plugins-rust/gst-plugins-rs-d0466b3eee114207f851b37cae0015c0e718f021/cargo-crates/tokio-1.10.1/src/time/driver/ |
H A D | entry.rs | 316 pub(crate) struct TimerHandle { struct 402 pub(super) fn handle(&self) -> TimerHandle { in handle() argument 403 TimerHandle { in handle() 460 type Handle = TimerHandle; 469 TimerHandle { inner: ptr } in from_raw() 560 impl TimerHandle { impl
|
/dports/security/vaultwarden/vaultwarden-1.23.1/cargo-crates/tokio-1.14.0/src/time/driver/ |
H A D | entry.rs | 316 pub(crate) struct TimerHandle { struct 402 pub(super) fn handle(&self) -> TimerHandle { in handle() argument 403 TimerHandle { in handle() 460 type Handle = TimerHandle; 469 TimerHandle { inner: ptr } in from_raw() 560 impl TimerHandle { impl
|
/dports/lang/gleam/gleam-0.18.2/cargo-crates/tokio-1.14.0/src/time/driver/ |
H A D | entry.rs | 316 pub(crate) struct TimerHandle { struct 402 pub(super) fn handle(&self) -> TimerHandle { in handle() argument 403 TimerHandle { in handle() 460 type Handle = TimerHandle; 469 TimerHandle { inner: ptr } in from_raw() 560 impl TimerHandle { impl
|
/dports/x11-wm/leftwm/leftwm-0.2.11/cargo-crates/tokio-1.14.0/src/time/driver/ |
H A D | entry.rs | 316 pub(crate) struct TimerHandle { struct 402 pub(super) fn handle(&self) -> TimerHandle { in handle() argument 403 TimerHandle { in handle() 460 type Handle = TimerHandle; 469 TimerHandle { inner: ptr } in from_raw() 560 impl TimerHandle { impl
|
/dports/accessibility/wl-gammarelay-rs/wl-gammarelay-rs-0.2.1/cargo-crates/tokio-1.16.1/src/time/driver/ |
H A D | entry.rs | 318 pub(crate) struct TimerHandle { struct 404 pub(super) fn handle(&self) -> TimerHandle { in handle() argument 405 TimerHandle { in handle() 462 type Handle = TimerHandle; 471 TimerHandle { inner: ptr } in from_raw() 562 impl TimerHandle { impl
|
/dports/dns/encrypted-dns-server/encrypted-dns-server-0.9.1/cargo-crates/tokio-1.12.0/src/time/driver/ |
H A D | entry.rs | 316 pub(crate) struct TimerHandle { struct 402 pub(super) fn handle(&self) -> TimerHandle { in handle() argument 403 TimerHandle { in handle() 460 type Handle = TimerHandle; 469 TimerHandle { inner: ptr } in from_raw() 560 impl TimerHandle { implementation
|
/dports/dns/doh-proxy/doh-proxy-0.9.2/cargo-crates/tokio-1.11.0/src/time/driver/ |
H A D | entry.rs | 316 pub(crate) struct TimerHandle { struct 402 pub(super) fn handle(&self) -> TimerHandle { in handle() argument 403 TimerHandle { in handle() 460 type Handle = TimerHandle; 469 TimerHandle { inner: ptr } in from_raw() 560 impl TimerHandle { impl
|
/dports/net/routinator/routinator-0.10.2/cargo-crates/tokio-1.9.0/src/time/driver/ |
H A D | entry.rs | 316 pub(crate) struct TimerHandle { struct 402 pub(super) fn handle(&self) -> TimerHandle { in handle() argument 403 TimerHandle { in handle() 460 type Handle = TimerHandle; 469 TimerHandle { inner: ptr } in from_raw() 560 impl TimerHandle { impl
|
/dports/editors/helix/helix-0.5.0/cargo-crates/tokio-1.12.0/src/time/driver/ |
H A D | entry.rs | 316 pub(crate) struct TimerHandle { struct 402 pub(super) fn handle(&self) -> TimerHandle { in handle() argument 403 TimerHandle { in handle() 460 type Handle = TimerHandle; 469 TimerHandle { inner: ptr } in from_raw() 560 impl TimerHandle { impl
|
/dports/www/ffsend/ffsend-ccd489ce2e75b91c0f17fbf13dbd91fe84f5ad98/cargo-crates/tokio-1.12.0/src/time/driver/ |
H A D | entry.rs | 316 pub(crate) struct TimerHandle { struct 402 pub(super) fn handle(&self) -> TimerHandle { in handle() argument 403 TimerHandle { in handle() 460 type Handle = TimerHandle; 469 TimerHandle { inner: ptr } in from_raw() 560 impl TimerHandle { implementation
|
/dports/www/rearx/rearx-0.1.4/cargo-crates/tokio-1.3.0/src/time/driver/ |
H A D | entry.rs | 316 pub(crate) struct TimerHandle { struct 402 pub(super) fn handle(&self) -> TimerHandle { in handle() argument 403 TimerHandle { in handle() 460 type Handle = TimerHandle; 469 TimerHandle { inner: ptr } in from_raw() 556 impl TimerHandle { implementation
|
/dports/security/arti/arti-9d0ede26801cdb182daa85c3eb5f0058dc178eb6/cargo-crates/tokio-1.14.0/src/time/driver/ |
H A D | entry.rs | 316 pub(crate) struct TimerHandle { struct 402 pub(super) fn handle(&self) -> TimerHandle { in handle() argument 403 TimerHandle { in handle() 460 type Handle = TimerHandle; 469 TimerHandle { inner: ptr } in from_raw() 560 impl TimerHandle { impl
|