Home
last modified time | relevance | path

Searched refs:burst (Results 1 - 25 of 35) sorted by relevance

12

/third_party/nghttp2/lib/
H A Dnghttp2_ratelim.c28 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 Dnghttp2_ratelim.h35 /* 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 Dnghttp2_option.c148 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 Dnghttp2_ratelim.c28 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 Dnghttp2_ratelim.h35 /* 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 Dnghttp2_option.c148 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 Dutil-ratelimit.c34 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 Dutil-ratelimit.h40 unsigned int burst; member
44 void ratelimit_init(struct ratelimit *r, uint64_t ival_us, unsigned int burst);
/third_party/ffmpeg/tools/
H A Dtrasher.c66 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 Dratelimit.h29 unsigned burst; member
37 .burst = (_burst), \
47 r->burst = (_burst); \
H A Dratelimit.c47 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 Dbsd_busspace.c28 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 Dshrpx_rate_limit.cc41 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 Dshrpx_rate_limit.h42 RateLimit(struct ev_loop *loop, ev_io *w, size_t rate, size_t burst,
H A Dshrpx_connection.cc70 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 DQuirksManager.cpp45 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 Dnghttp2_ratelim_test.c39 CU_ASSERT(1000 == rl.burst); in test_nghttp2_ratelim_update()
/third_party/skia/third_party/externals/oboe/tests/
H A DtestStreamOpen.cpp358 int32_t burst = mStream->getFramesPerBurst(); in TEST_F() local
360 ASSERT_LE(bufferSize, burst * 3); in TEST_F()
/third_party/ffmpeg/libavfilter/
H A Daf_adeclick.c55 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 DNativeAudioContext.cpp521 int32_t burst = outputStream->getFramesPerBurst(); in configureBuilder() local
522 builder.setBufferCapacityInFrames(2 * burst); in configureBuilder()
/third_party/libbpf/include/uapi/linux/
H A Dpkt_cls.h86 __u32 burst; member
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/
H A Dieee802_11_common.h255 int burst; /* maximum burst time in 0.1 ms, i.e., 10 = 1 ms */ member
/third_party/pulseaudio/src/modules/
H A Dmodule-udev-detect.c357 d->ratelimit.burst, in verify_access()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
H A Dap_config.h196 int burst; /* maximum burst time in 0.1 ms, i.e., 10 = 1 ms */ member
/third_party/nghttp2/lib/includes/nghttp2/
H A Dnghttp2.h2769 * 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);

Completed in 21 milliseconds

12