C util library
Find a file
2022-05-11 19:18:45 +03:00
arch implement cu_memtest in x86-64 assembly in more efficient way that C does 2022-05-11 19:18:45 +03:00
.gitignore initial commit 2022-04-16 16:22:31 +03:00
array.c bitmap 1 2022-04-19 23:39:51 +03:00
array.h array_insert, array_remove 2022-04-18 21:11:09 +03:00
bitmap.c bitmap 1 2022-04-19 23:39:51 +03:00
bitmap.h bitmap_test 2022-04-20 15:52:31 +03:00
CMakeLists.txt add achitecture-dependent assembly to build, implement hardware byte-swapping 2022-05-11 18:48:46 +03:00
cutil.c implement cu_memtest in x86-64 assembly in more efficient way that C does 2022-05-11 19:18:45 +03:00
cutil.h implement cu_memtest in x86-64 assembly in more efficient way that C does 2022-05-11 19:18:45 +03:00
cutypes.h redefine architecture list as macro so therefore it can be used in preprocessor expressions. implement hardware byte-swapping, detect compile-time hardware capabilties to do that. 2022-04-29 06:36:01 +03:00
endian.c add achitecture-dependent assembly to build, implement hardware byte-swapping 2022-05-11 18:48:46 +03:00
endian.h implement functions to convert from host byte-order to little-endian or big-endian, convert to network order which defined as CU_NETWORK_ORDER. 2022-04-29 08:07:37 +03:00
list.c cutil redirect std functions to cu_ holders, array 4 2022-04-17 21:04:53 +03:00
list.h list_at 2022-04-16 16:44:10 +03:00
README.md update README.md with new functionality description 2022-05-03 09:10:58 +03:00
struct.c implement zero-terminated arrays, which are terminated by zeroed item (cu_memtest with item size) 2022-05-03 09:07:00 +03:00
struct.h test struct & value functionality, implement struct_size 2022-05-03 08:18:27 +03:00
test.c add achitecture-dependent assembly to build, implement hardware byte-swapping 2022-05-11 18:48:46 +03:00

cutil

C library to implement

  • data structures like linked-lists, vector arrays, maps
  • bitmaps & bitwise operations
  • architecture-dependent & hardware features
  • byte-order endianness detection, byte-swapping
  • structure object members mapping, dynamic processing, endianness auto-converting
  • dynamic-length structures, members sizes which are determined by mapping or run-time object member value