no work only paperclip
parent
a0a855463d
commit
daa9757375
|
@ -1,6 +1,6 @@
|
||||||
cmake_minimum_required(VERSION 3.20)
|
cmake_minimum_required(VERSION 3.20)
|
||||||
include(cmake/color.cmake)
|
include(cmake/color.cmake)
|
||||||
set(BLT_VERSION 0.18.36)
|
set(BLT_VERSION 0.18.37)
|
||||||
set(BLT_TEST_VERSION 0.0.1)
|
set(BLT_TEST_VERSION 0.0.1)
|
||||||
|
|
||||||
set(BLT_TARGET BLT)
|
set(BLT_TARGET BLT)
|
||||||
|
|
|
@ -39,9 +39,10 @@ namespace blt
|
||||||
*/
|
*/
|
||||||
void handle_mmap_error(blt::logging::logger func);
|
void handle_mmap_error(blt::logging::logger func);
|
||||||
|
|
||||||
inline static constexpr blt::size_t align_to_size(blt::size_t in, blt::size_t align)
|
inline static constexpr blt::size_t align_size_to(blt::size_t size, blt::size_t align)
|
||||||
{
|
{
|
||||||
return 0;
|
const blt::size_t MASK = ~(align - 1);
|
||||||
|
return (size & MASK) + align;
|
||||||
}
|
}
|
||||||
|
|
||||||
void* allocate_2mb_huge_pages(blt::size_t bytes);
|
void* allocate_2mb_huge_pages(blt::size_t bytes);
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 8a889d3699b3c09ade435641fb034427f3fd12b6
|
Subproject commit d88c5e15079047777b418132ece5879e7c9aaa2b
|
Loading…
Reference in New Issue