Commit Graph

  • 66dfd956da Fix 64 bit variants. Note undefined behavior main Nils O. Selåsdal 2026-05-20 20:33:10 +02:00
  • c7d175d90f Remove scons support Nils O. Selåsdal 2026-05-20 20:07:43 +02:00
  • fb0efd9cbb Fix nextpow2 , provide optimized and 64 bit variants Nils O. Selåsdal 2026-05-20 20:05:49 +02:00
  • 735c5cb77e Moved allocators to lilalloc repo Nils O. Selåsdal 2026-05-11 22:41:49 +02:00
  • d58e24f6a9 Minor cleanup Nils O. Selåsdal 2026-04-21 23:01:22 +02:00
  • d1a45cf8e0 Comments Nils O. Selåsdal 2026-04-21 22:53:07 +02:00
  • 36457f775f Improve sarena.h Nils O. Selåsdal 2026-04-21 13:20:07 +02:00
  • afc3148de3 Update slot_allocator Nils O. Selåsdal 2026-04-21 13:10:03 +02:00
  • a695653e27 Better name Nils O. Selåsdal 2026-04-21 01:19:07 +02:00
  • a4cae42114 small_allocator improvements Nils O. Selåsdal 2026-04-21 01:00:49 +02:00
  • 24d9994c87 Header only file doesn't need c++ guard Nils O. Selåsdal 2026-04-20 23:38:21 +02:00
  • d85735add9 Simple slot allocator Nils O. Selåsdal 2026-04-20 23:36:55 +02:00
  • 0c6301954f Update sarena.h, header only now Nils O. Selåsdal 2026-04-19 21:05:57 +02:00
  • fc418f6163 sarena, add temp allocations Nils O. Selåsdal 2026-04-19 04:23:52 +02:00
  • aba9cba602 Reformat & cleanup Nils O. Selåsdal 2026-04-19 04:22:23 +02:00
  • 64a5b20941 Comment update Nils O. Selåsdal 2026-04-15 19:40:11 +02:00
  • 0073924050 Fix inital alignment Nils O. Selåsdal 2026-04-09 16:06:22 +02:00
  • 0ca7f64c83 Shrink block header, restrict allocator to 4Gb Nils O. Selåsdal 2026-04-09 15:27:40 +02:00
  • 1b61b3c6d0 Minor cleanups Nils O. Selåsdal 2026-04-08 23:36:29 +02:00
  • 055338b1e9 Cleanups Nils O. Selåsdal 2026-04-08 23:26:28 +02:00
  • 271c2a611f Use doubly linked list for O(1) free() Nils O. Selåsdal 2026-04-08 22:26:33 +02:00
  • 88e9f95988 Small general purpose allocator Nils O. Selåsdal 2026-04-08 22:11:18 +02:00
  • a4547f6736 spool: Clean up with gcc/clang specific features Nils O. Selåsdal 2026-04-07 20:59:33 +02:00
  • 4e28b2255c Remove main Nils O. Selåsdal 2026-04-06 23:40:48 +02:00
  • b2f834b7cd cmake: Debug build sets DEBUG, properly find check lib Nils O. Selåsdal 2026-04-06 23:25:56 +02:00
  • 85713d25c1 Add pool allocator Nils O. Selåsdal 2026-04-06 22:20:49 +02:00
  • 7cf73fe561 Fix sarena comments Nils O. Selåsdal 2026-04-06 22:20:32 +02:00
  • 3e4826cf36 Add simple static arena allocator Nils O. Selåsdal 2026-04-06 14:37:00 +02:00
  • 309787bc48 Merge branch 'cmake' Nils O. Selåsdal 2025-10-04 21:41:41 +02:00
  • 82e2337ecc Substitube build_type Nils O. Selåsdal 2025-10-04 21:35:39 +02:00
  • b2d56f8094 Macro safe slot_allocator.h Nils O. Selåsdal 2025-07-21 20:30:33 +02:00
  • 251246924d Add slot allocator Nils O. Selåsdal 2025-07-21 19:57:26 +02:00
  • 7408c48dff Add uc_bv_find_first_zero Nils O. Selåsdal 2025-07-20 21:44:11 +02:00
  • 5b5ca445e9 Nuke warnings in tests Nils O. Selåsdal 2025-07-18 22:45:08 +02:00
  • cfe647f85d Project setups Nils O. Selåsdal 2025-07-18 21:54:13 +02:00
  • abf430dabb Align osx&linux build Nils O. Selåsdal 2025-07-17 14:04:14 +02:00
  • 2bd91ae751 link with threads Nils O. Selåsdal 2025-07-16 20:02:25 +02:00
  • 2278080b69 Update tests for cmake Nils O. Selåsdal 2025-07-16 19:51:06 +02:00
  • b74a4ab663 Fix const warnings Nils O. Selåsdal 2025-07-16 09:02:33 +02:00
  • 6d7b80a6d2 Build on osx Nils O. Selåsdal 2025-07-16 00:50:07 +02:00
  • c0d46d31fb fix test/salloc_align.c Nils O. Selåsdal 2025-07-05 22:50:18 +02:00
  • e4a3654d98 osx cmake wip Nils O. Selåsdal 2025-07-16 00:39:20 +02:00
  • 0f6f6d4ccc Merge branch 'master' of https://sdal.tech/gitea/noselasd/libucore into cmake Nils O. Selåsdal 2025-07-16 00:10:44 +02:00
  • 393106ea4e fix test/salloc_align.c Nils O. Selåsdal 2025-07-05 22:50:18 +02:00
  • 97bf06b2e8 Refactor SAlloc Nils O. Selåsdal 2025-07-05 20:09:12 +02:00
  • 1f6dee3a9a Tidy up ringbuf and make tests Nils O. Selåsdal 2025-07-05 20:03:24 +02:00
  • 7373a93f9b Fix SAlloc warnings Nils O. Selåsdal 2025-07-05 20:03:00 +02:00
  • fb8979d695 Update tests for new check library & osx Nils O. Selåsdal 2025-06-28 00:56:58 +02:00
  • 9d2ed015f3 Better naming in iomux Nils O. Selåsdal 2025-06-28 00:11:32 +02:00
  • a6a7b67d72 build on osx Nils O. Selåsdal 2025-06-27 23:29:09 +02:00
  • f0685abf62 Support bsd in fd_utils Nils O. Selåsdal 2025-06-27 23:14:38 +02:00
  • 01db95842d Inline alloc the SAlloc struct Nils O. Selåsdal 2025-06-27 23:05:56 +02:00
  • 22e4bbd2f9 Bump to python 3 Nils O. Selåsdal 2025-06-27 23:05:46 +02:00
  • 43f3a3372e Allow wquque to use callback to free an mbuf - so mbufs can be reused/pooled Nils O. Selåsdal 2016-12-07 20:58:39 +01:00
  • a6fe01978c Propagate error back from iomux_select_update_events Nils O. Selåsdal 2016-12-07 20:57:59 +01:00
  • 422667aa7e Use CMAKE_C_STANDARD variable for setting C standard Nils O. Selåsdal 2016-11-29 09:39:20 +01:00
  • 70db91e0de Compile with -std=gnu99 Nils O. Selåsdal 2016-11-22 16:24:28 +01:00
  • 542e6122d6 Remove Debug config, should rather use CMAKE_BUILD_TYPE variable rather Nils O. Selåsdal 2016-10-06 20:06:35 +02:00
  • b55c8d68a5 Add more compiler flags that was used with scons Nils O. Selåsdal 2016-10-04 19:50:38 +02:00
  • 55846a0e42 Initial conversion to CMake Nils O. Selåsdal 2016-10-02 21:39:02 +02:00
  • 260d2c67c2 Enable client based search engine for Doxygen Nils O. Selåsdal 2016-04-26 10:11:01 +02:00
  • 20a14306bb Clarify uc_timer_add docs Nils O. Selåsdal 2016-03-19 18:57:49 +01:00
  • c520b6caec Leave to SConscript files to decide default targets Nils O. Selåsdal 2016-03-14 12:18:31 +01:00
  • 0a34c799ce Add gettokens test for double " Nils O. Selåsdal 2016-03-09 00:37:10 +01:00
  • 57e8bfb156 Add --sanetizer to run with gcc sanitation Nils O. Selåsdal 2016-03-09 00:31:54 +01:00
  • 21703ded30 prefux gettokens/getfields with uc_ Nils O. Selåsdal 2016-03-09 00:10:23 +01:00
  • c3c9f25dc6 Add tests for getfields and gettokens Nils O. Selåsdal 2016-03-09 00:06:59 +01:00
  • fae2a60203 Small cmd progress Nils O. Selåsdal 2016-03-07 22:18:15 +01:00
  • 28d56d64f6 Merge branch 'dev' of ssh://box/var/lib/git/libucore into dev Nils O. Selåsdal 2016-03-07 22:14:07 +01:00
  • 5307930535 Use gcc builtins (if gcc 5 or newer) for saturating math Nils O. Selåsdal 2016-03-04 11:38:51 +01:00
  • d70ab1fe09 Use ck_assert_int_eq instead of ck_assert_uint_eq for compatibility with older check version Nils O. Selåsdal 2016-02-08 13:34:22 +01:00
  • d6c3cfb973 Use ck_assert_int_eq instead of ck_assert_uint_eq for compatibility with older check version Nils O. Selåsdal 2016-02-08 13:34:22 +01:00
  • a686ba1975 Add gettokens() string function Nils O. Selåsdal 2016-01-08 09:43:04 +01:00
  • 433fdd0a4b IMplement help system. Though it need refactoring. Nils O. Selåsdal 2015-12-15 22:26:59 +01:00
  • f107898919 Prepare for handling descriptions Nils O. Selåsdal 2015-12-12 20:42:18 +01:00
  • e902b04996 Implement completion Nils O. Selåsdal 2015-12-10 22:47:41 +01:00
  • db78689015 Add uc_strv_reverse Nils O. Selåsdal 2015-12-10 19:13:16 +01:00
  • 9b70b64729 Implement argument collecting Nils O. Selåsdal 2015-12-10 18:51:51 +01:00
  • 5d54702501 Improve docs of strvec Nils O. Selåsdal 2015-12-10 18:11:37 +01:00
  • d4619418f0 Add support for lists Nils O. Selåsdal 2015-12-08 23:59:39 +01:00
  • 8adec5408e Progress on cmd Nils O. Selåsdal 2015-12-08 18:52:25 +01:00
  • 44d8d10d35 Exampel code for pipe Nils O. Selåsdal 2015-12-10 12:31:20 +01:00
  • c87137cb4f Fix redundant setting of events in iomux_update_events Nils O. Selåsdal 2015-12-10 12:29:47 +01:00
  • 94dcd522aa Pass the wqueue directly to the wqueue callback functions Nils O. Selåsdal 2015-12-04 22:25:57 +01:00
  • 1d26348bb0 iomux_signal.h and wqueue.h should be usable in C++. Add to IOMux doxygen group too. Nils O. Selåsdal 2015-12-04 22:18:29 +01:00
  • fb5b5f0692 Handle case of uc_wqueue_handle_write operating on an empty queue Nils O. Selåsdal 2015-12-04 21:49:53 +01:00
  • 877b2edf5b Free stuff in biffer/read_file tests Nils O. Selåsdal 2015-12-01 23:16:47 +01:00
  • 07e0032258 Free bitvec in bitvec test Nils O. Selåsdal 2015-12-01 23:14:16 +01:00
  • b025b8aec2 More coverage in iomux_signal test Nils O. Selåsdal 2015-12-01 23:06:33 +01:00
  • a314c624d1 make static, to not pollute globals Nils O. Selåsdal 2015-12-01 23:02:27 +01:00
  • 5b12583a89 Add iomux signal test Nils O. Selåsdal 2015-12-01 23:01:24 +01:00
  • 4d8aeee671 Fix return value of unregister signal if it failed Nils O. Selåsdal 2015-12-01 22:56:22 +01:00
  • 2b48fe9403 Add example for iomux signals Nils O. Selåsdal 2015-11-30 20:34:32 +01:00
  • a8dffbc71e Add unix signal integration with the iomux Nils O. Selåsdal 2015-11-28 15:38:21 +01:00
  • 9bb7cc335a Add uc_wqueue_flush() to immedately preform mbuf writes Nils O. Selåsdal 2015-11-29 01:05:40 +01:00
  • c9aff6f910 Tidy up uc_iomux_waker_init Nils O. Selåsdal 2015-11-28 21:51:19 +01:00
  • 9416c58457 Check snprintf for -1 Nils O. Selåsdal 2015-11-25 09:40:21 +01:00
  • 6a2ecdf2f4 Fix the wqueue header, and update example Nils O. Selåsdal 2015-11-12 18:05:41 +01:00
  • 74701edf31 Add documentation for the wqueue Nils O. Selåsdal 2015-11-11 21:41:21 +01:00
  • 4707f89bc8 Merge branch 'dev' of /var/lib/git/libucore into dev Nils O. Selåsdal 2015-11-10 21:37:22 +01:00