16 const char* base =
static_cast<const char*
>(data);
17 fl::size first_idx = 0;
20 fl::size
step = count / 2;
21 fl::size mid_idx = first_idx +
step;
23 const void* mid_key = base + mid_idx * ops.element_size;
24 if (ops.less_fn(ops.less_ctx, mid_key, key)) {
25 first_idx = mid_idx + 1;
38 const char* base =
static_cast<const char*
>(data);
39 fl::size first_idx = 0;
42 fl::size
step = count / 2;
43 fl::size mid_idx = first_idx +
step;
44 const void* mid_key = base + mid_idx * ops.element_size;
46 if (!ops.less_fn(ops.less_ctx, key, mid_key)) {
47 first_idx = mid_idx + 1;
FL_NO_INLINE fl::size flat_map_lower_bound_idx(const void *data, fl::size n, const void *key, const flat_map_ops &ops) FL_NO_EXCEPT
FL_NO_INLINE fl::size flat_map_upper_bound_idx(const void *data, fl::size n, const void *key, const flat_map_ops &ops) FL_NO_EXCEPT
Compile-time linker keep-alive hook for a single fl::Bus.
constexpr enable_if< is_fixed_point< T >::value, T >::type step(T edge, T x) FL_NO_EXCEPT
InputGamut g FL_NO_EXCEPT
Base definition for an LED controller.