style: clang-format
This commit is contained in:
@@ -33,7 +33,8 @@ static void buffer_key_init(void) {
|
|||||||
|
|
||||||
/* Returns the next power of two of a number */
|
/* Returns the next power of two of a number */
|
||||||
static size_t next_power_two(size_t len) {
|
static size_t next_power_two(size_t len) {
|
||||||
if (len == 0) return 1;
|
if (len == 0)
|
||||||
|
return 1;
|
||||||
|
|
||||||
size_t p = 1;
|
size_t p = 1;
|
||||||
while (p < len) {
|
while (p < len) {
|
||||||
|
|||||||
@@ -6,7 +6,8 @@
|
|||||||
|
|
||||||
/* Returns the next power of two of a number */
|
/* Returns the next power of two of a number */
|
||||||
static size_t next_power_two(size_t len) {
|
static size_t next_power_two(size_t len) {
|
||||||
if (len == 0) return 1;
|
if (len == 0)
|
||||||
|
return 1;
|
||||||
|
|
||||||
size_t p = 1;
|
size_t p = 1;
|
||||||
while (p < len) {
|
while (p < len) {
|
||||||
|
|||||||
Reference in New Issue
Block a user