/third_party/nghttp2/lib/ |
H A D | nghttp2_ratelim.c | 28 void nghttp2_ratelim_init(nghttp2_ratelim *rl, uint64_t burst, uint64_t rate) { in nghttp2_ratelim_init() argument 29 rl->val = rl->burst = burst; in nghttp2_ratelim_init() 50 rl->val = rl->burst; in nghttp2_ratelim_update() 58 rl->val = rl->burst; in nghttp2_ratelim_update() 64 rl->val = nghttp2_min(rl->val, rl->burst); in nghttp2_ratelim_update()
|
H A D | nghttp2_ratelim.h | 35 /* burst is the maximum value of val. */ 36 uint64_t burst; member 47 void nghttp2_ratelim_init(nghttp2_ratelim *rl, uint64_t burst, uint64_t rate);
|
H A D | nghttp2_option.c | 148 uint64_t burst, uint64_t rate) { in nghttp2_option_set_stream_reset_rate_limit() 150 option->stream_reset_burst = burst; in nghttp2_option_set_stream_reset_rate_limit() 147 nghttp2_option_set_stream_reset_rate_limit(nghttp2_option *option, uint64_t burst, uint64_t rate) nghttp2_option_set_stream_reset_rate_limit() argument
|
/third_party/node/deps/nghttp2/lib/ |
H A D | nghttp2_ratelim.c | 28 void nghttp2_ratelim_init(nghttp2_ratelim *rl, uint64_t burst, uint64_t rate) { in nghttp2_ratelim_init() argument 29 rl->val = rl->burst = burst; in nghttp2_ratelim_init() 50 rl->val = rl->burst; in nghttp2_ratelim_update() 58 rl->val = rl->burst; in nghttp2_ratelim_update() 64 rl->val = nghttp2_min(rl->val, rl->burst); in nghttp2_ratelim_update()
|
H A D | nghttp2_ratelim.h | 35 /* burst is the maximum value of val. */ 36 uint64_t burst; member 47 void nghttp2_ratelim_init(nghttp2_ratelim *rl, uint64_t burst, uint64_t rate);
|
H A D | nghttp2_option.c | 148 uint64_t burst, uint64_t rate) { in nghttp2_option_set_stream_reset_rate_limit() 150 option->stream_reset_burst = burst; in nghttp2_option_set_stream_reset_rate_limit() 147 nghttp2_option_set_stream_reset_rate_limit(nghttp2_option *option, uint64_t burst, uint64_t rate) nghttp2_option_set_stream_reset_rate_limit() argument
|
/third_party/libinput/src/ |
H A D | util-ratelimit.c | 34 ratelimit_init(struct ratelimit *r, uint64_t ival_us, unsigned int burst) in ratelimit_init() argument 38 r->burst = burst; in ratelimit_init() 61 if (r->interval <= 0 || r->burst <= 0) in ratelimit_test() 74 if (r->num < r->burst) { in ratelimit_test() 75 /* continue burst */ in ratelimit_test() 76 return (++r->num == r->burst) ? RATELIMIT_THRESHOLD in ratelimit_test()
|
H A D | util-ratelimit.h | 40 unsigned int burst; member 44 void ratelimit_init(struct ratelimit *r, uint64_t ival_us, unsigned int burst);
|
/third_party/ffmpeg/tools/ |
H A D | trasher.c | 66 int burst = 1 + ran() * (uint64_t) (abs(maxburst) - 1) / UINT32_MAX; in main() local 71 burst = -maxburst; in main() 73 if (pos + burst > length) in main() 76 while (burst--) { in main()
|
/third_party/pulseaudio/src/pulsecore/ |
H A D | ratelimit.h | 29 unsigned burst; member 37 .burst = (_burst), \ 47 r->burst = (_burst); \
|
H A D | ratelimit.c | 47 pa_assert(r->burst > 0); in pa_ratelimit_test() 63 if (r->n_printed <= r->burst) in pa_ratelimit_test()
|
/third_party/FreeBSD/stand/kshim/ |
H A D | bsd_busspace.c | 28 struct burst { struct 199 enum { BURST = sizeof(struct burst) / 4 }; in bus_space_read_region_4() 204 *(struct burst *)datap = *((/* volatile */ struct burst *)h); in bus_space_read_region_4() 221 enum { BURST = sizeof(struct burst) / 4 }; in bus_space_write_region_4() 226 *((/* volatile */ struct burst *)h) = *(struct burst *)datap; in bus_space_write_region_4()
|
/third_party/nghttp2/src/ |
H A D | shrpx_rate_limit.cc | 41 RateLimit::RateLimit(struct ev_loop *loop, ev_io *w, size_t rate, size_t burst, in RateLimit() argument 47 burst_(burst), in RateLimit() 48 avail_(burst), in RateLimit()
|
H A D | shrpx_rate_limit.h | 42 RateLimit(struct ev_loop *loop, ev_io *w, size_t rate, size_t burst,
|
H A D | shrpx_connection.cc | 70 wlimit(loop, &wev, write_limit.rate, write_limit.burst), 71 rlimit(loop, &rev, read_limit.rate, read_limit.burst, this),
|
/third_party/skia/third_party/externals/oboe/src/common/ |
H A D | QuirksManager.cpp | 45 int32_t burst = stream.getFramesPerBurst(); in clipBufferSize() local 46 int32_t minSize = bottomMargin * burst; in clipBufferSize() 51 int32_t maxSize = stream.getBufferCapacityInFrames() - (topMargin * burst); in clipBufferSize()
|
/third_party/nghttp2/tests/ |
H A D | nghttp2_ratelim_test.c | 39 CU_ASSERT(1000 == rl.burst); in test_nghttp2_ratelim_update()
|
/third_party/skia/third_party/externals/oboe/tests/ |
H A D | testStreamOpen.cpp | 358 int32_t burst = mStream->getFramesPerBurst(); in TEST_F() local 360 ASSERT_LE(bufferSize, burst * 3); in TEST_F()
|
/third_party/ffmpeg/libavfilter/ |
H A D | af_adeclick.c | 55 double burst; member 103 { "burst", "set burst fusion", OFFSET(burst), AV_OPT_TYPE_DOUBLE, {.dbl=2}, 0, 10, AF }, 104 { "b", "set burst fusion", OFFSET(burst), AV_OPT_TYPE_DOUBLE, {.dbl=2}, 0, 10, AF }, 127 s->nb_burst_samples = s->window_size * s->burst / 1000.; in config_input()
|
/third_party/skia/third_party/externals/oboe/apps/OboeTester/app/src/main/cpp/ |
H A D | NativeAudioContext.cpp | 521 int32_t burst = outputStream->getFramesPerBurst(); in configureBuilder() local 522 builder.setBufferCapacityInFrames(2 * burst); in configureBuilder()
|
/third_party/libbpf/include/uapi/linux/ |
H A D | pkt_cls.h | 86 __u32 burst; member
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/ |
H A D | ieee802_11_common.h | 255 int burst; /* maximum burst time in 0.1 ms, i.e., 10 = 1 ms */ member
|
/third_party/pulseaudio/src/modules/ |
H A D | module-udev-detect.c | 357 d->ratelimit.burst, in verify_access()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/ |
H A D | ap_config.h | 196 int burst; /* maximum burst time in 0.1 ms, i.e., 10 = 1 ms */ member
|
/third_party/nghttp2/lib/includes/nghttp2/ |
H A D | nghttp2.h | 2769 * based rate limiter. |burst| specifies the number of tokens that is 2774 * connection. |burst| and |rate| default to 1000 and 33 2779 uint64_t burst, uint64_t rate);
|