[PATCH] Add function to add bits from array to bitvec

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/OpenBSC@lists.osmocom.org/.

Harald Welte laforge at gnumonks.org
Wed Mar 16 10:26:56 UTC 2016


Hi Max,

On Tue, Mar 15, 2016 at 02:51:08PM +0100, msuraev at sysmocom.de wrote:
> + *  \param[in] estimate indicates whether to return number of bits required
> + *  instead of actually changing bv

is it actually just estimating (i.e. taking a guess) of how many bits
were needed, or is it actually computing a definitive amount of output
bits?

Also, I would prefer to call it 'estimate_ownly' or
'determine_bits_only'.  Or even something like 'dry_run', which is used
a lot in command-line arguments to indicate that it will not actually
perform the operation.

-- 
- Harald Welte <laforge at gnumonks.org>           http://laforge.gnumonks.org/
============================================================================
"Privacy in residential applications is a desirable marketing option."
                                                  (ETSI EN 300 175-7 Ch. A6)



More information about the OpenBSC mailing list