libosmocore[master]: Add octet-aligned/unaligned shift functions

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/gerrit-log@lists.osmocom.org/.

Holger Freyther gerrit-no-reply at lists.osmocom.org
Mon Jun 20 19:28:27 UTC 2016


Patch Set 4:

(2 comments)

https://gerrit.osmocom.org/#/c/326/4/src/bits.c
File src/bits.c:

Line 73: 	if (!num_whole_bytes)
Cool! bugfix or optimization?


https://gerrit.osmocom.org/#/c/326/4/tests/bits/bitrev_test.c
File tests/bits/bitrev_test.c:

Line 208: static void sh_chk(const uint8_t *in, uint8_t len, unsigned int nib, bool r)
why move from size_t to uint8_t?


-- 
To view, visit https://gerrit.osmocom.org/326
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I2b1901c4161e8035f059585901dca593b661556d
Gerrit-PatchSet: 4
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Owner: Max <msuraev at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Holger Freyther <holger at freyther.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-HasComments: Yes



More information about the gerrit-log mailing list