Home
last modified time | relevance | path

Searched refs:time_allowed (Results 1 – 10 of 10) sorted by relevance

/dports/net-im/py-matrix-synapse/synapse-1.50.2/tests/api/
H A Dtest_ratelimiting.py17 self.assertEquals(10.0, time_allowed)
23 self.assertEquals(10.0, time_allowed)
29 self.assertEquals(20.0, time_allowed)
48 self.assertEquals(10.0, time_allowed)
54 self.assertEquals(10.0, time_allowed)
60 self.assertEquals(20.0, time_allowed)
79 self.assertEquals(-1, time_allowed)
85 self.assertEquals(-1, time_allowed)
91 self.assertEquals(-1, time_allowed)
150 self.assertEqual(1.1, time_allowed)
[all …]
/dports/net-im/py-matrix-synapse/synapse-1.50.2/synapse/api/
H A Dratelimiting.py150 time_allowed = time_start + (action_count - burst_count + 1) / rate_hz
153 if time_allowed < time_now_s:
154 time_allowed = time_now_s
160 time_allowed = -1
162 return allowed, time_allowed
223 allowed, time_allowed = await self.can_do_action(
235 retry_after_ms=int(1000 * (time_allowed - time_now_s))
/dports/games/openclonk/openclonk-release-8.1-src/planet/Worlds.ocf/HorridHighway.ocs/LocomotiveHighway.ocd/
H A DScript.c75 this.time_allowed = 4 * LandscapeWidth() / 5; in func()
83 if (time <= this.time_allowed)
88 if (time > this.time_allowed)
/dports/devel/thonny/thonny-3.3.14/thonny/
H A Dmisc_utils.py389 def __init__(self, time_allowed): argument
391 self.time_allowed = time_allowed
399 return max(self.time_allowed - self.time_spent, 0)
/dports/graphics/blender/blender-2.91.0/source/blender/editors/space_view3d/
H A Dview3d_view.c102 double time_allowed; member
242 sms.time_allowed = (double)smooth_viewtx / 1000.0; in ED_view3d_smooth_view_ex()
251 sms.time_allowed *= (double)fabsf( in ED_view3d_smooth_view_ex()
328 if (sms->time_allowed != 0.0) { in view3d_smoothview_apply()
329 step = (float)((rv3d->smooth_timer->duration) / sms->time_allowed); in view3d_smoothview_apply()
434 rv3d->sms->time_allowed = 0.0; /* force finishing */ in ED_view3d_smooth_view_force_finish()
/dports/net-p2p/vuze/vuze-5.7.4.0_2/org/gudy/azureus2/pluginsimpl/local/utils/security/
H A DSESTSConnectionImpl.java118 int time_allowed = connection.getConnectMethodCount() * CRYPTO_SETUP_TIMEOUT;
120 if ( now - connection.create_time > time_allowed ){
/dports/net-im/py-matrix-synapse/synapse-1.50.2/synapse/handlers/
H A Droom_member.py363 time_allowed,
368 retry_after_ms=int(1000 * (time_allowed - time_now_s))
781 time_allowed,
788 retry_after_ms=int(1000 * (time_allowed - time_now_s))
/dports/graphics/blender/blender-2.91.0/source/blender/editors/interface/
H A Dview2d_ops.c1657 double time_allowed; member
1731 sms.time_allowed = (double)smooth_viewtx / 1000.0; in UI_view2d_smooth_view()
1734 sms.time_allowed *= (double)fac; in UI_view2d_smooth_view()
1776 if (sms->time_allowed != 0.0) { in view2d_smoothview_invoke()
1777 step = (float)((v2d->smooth_timer->duration) / sms->time_allowed); in view2d_smoothview_invoke()
/dports/www/hotcrp/hotcrp-2.102/src/
H A Dconference.php49 function time_allowed($with_grace) { function in ResponseRound
2306 if ($rrd->time_allowed(true))
2317 return $rrd && $rrd->time_allowed(true);
H A Dcontact.php3000 || $rrd->time_allowed(true))
3033 if ($rrd->time_allowed())