1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-15 17:43:51 +01:00

8 Commits

Author SHA1 Message Date
Marian Buschsieweke
cac44edec7
tree-wide: replace multiple empty lines with one
For each C source/header `$file`: `sed -e '/^$/N;/^\n$/D' -i $file`.
2025-05-21 22:51:04 +02:00
KSKNico
e6b17fa5cb sys: replace header guards with #pragma once 2025-05-16 19:40:06 +02:00
Koen Zandberg
cb221aaaf0
memarray: Add extend and reduce functions 2021-01-15 11:39:08 +01:00
Koen Zandberg
a2ce2e9cfb
memarray: Add memarray_available function 2021-01-15 11:39:07 +01:00
Koen Zandberg
bdf2bf537a
memarray: Inline short alloc and free functions
These functions are short enough that inlining them actually reduces the
flash footprint of the test on the samr21-xpro
2020-12-20 17:24:56 +01:00
Koen Zandberg
232237796a
memarray: Add memarray_calloc
The memarray_alloc can be error prone to use as the block returned can
contain data from previous uses. The memarray_calloc call added in this
commit always zeroes the block before returning it to the user.
2020-09-02 19:16:30 +02:00
Jose Alamos
6089f4a10c doc/mem_management: add implementations and utils 2018-09-27 10:54:39 +02:00
tobhe
509f40a81c memarray: add fixed-size memory block allocator 2018-04-10 14:37:29 +02:00