1
0
mirror of https://gitlab.com/80486DX2-66/gists synced 2025-05-31 08:31:41 +05:30

236 Commits

Author SHA1 Message Date
aa22481f13
static-vs-dynamic-mem-alloc.c: use realistic memory growth 2025-03-02 13:12:50 +03:00
91801fdc5a
static-vs-dynamic-mem-alloc.c: fix output format 2025-03-02 13:11:02 +03:00
ad9ee13fb6
C: jokes: add .gitignore 2025-03-02 13:06:59 +03:00
2517537ee9
C: add static-const-variable.c 2025-03-02 12:28:40 +03:00
a4912b3671
static-vs-dynamic-mem-alloc.c: function empty: discard mem 2025-03-02 12:27:40 +03:00
0c8f34b6fe
asprintf.c: use long double type for calculation 2^32 - 1 2024-12-30 23:51:23 +03:00
ae71ff9c42
asprintf.c: fix the critical bug: copy the arguments 2024-12-30 23:49:50 +03:00
545ac7e706
clock_hr_microsec.h: include header time.h 2024-12-30 21:00:31 +03:00
2bc49fc527
freadln.c: add missing inclusion of string.h 2024-12-30 20:06:54 +03:00
f8227e4ffb
reverse-ramdisk.c: revision 2 2024-07-31 01:30:03 +03:00
60b6a4cb86
reverse-ramdisk.c: return EXIT_SUCCESS instead of 0 2024-07-30 17:57:26 +03:00
ea8aad6108
reverse-ramdisk.c: implement tf_finish 2024-07-30 17:56:40 +03:00
de03ab20f9
reverse-ramdisk.c: fix file locking 2024-07-30 17:50:36 +03:00
b1cce2603a
reverse-ramdisk.c: reformat 2024-07-30 17:50:04 +03:00
57c368e6c9
reverse-ramdisk.c: improve readability and optimize 2024-07-30 17:46:22 +03:00
61bc7a0725
reverse-ramdisk.c: fix grammar 2024-07-30 17:42:49 +03:00
3f4c38c1e1
reverse-ramdisk.c: reduce memory overhead 2024-07-30 17:40:45 +03:00
9c44ce5af2
reverse-ramdisk.c: fix memory safety 2024-07-30 17:39:00 +03:00
044c7b892c
reverse-ramdisk.c: tf_alloc: use permissions 2024-07-30 17:34:24 +03:00
068591cd8e
relicense everything under CC0-1.0 or Unlicense, add SPDX ID 2024-07-15 00:03:15 +03:00
a4f2974468
clock_hr_microsec.c: reformat 2024-07-04 23:09:45 +03:00
5a785bfd9f
bool-operations.c: optimize printf(s "\n") to puts(s) 2024-07-03 11:21:38 +03:00
1ff2eec112
str_replace.h: add missing macros 2024-06-28 14:03:49 +03:00
6b0cde0aa2
str_replace.c: do not exit program on malloc failure 2024-06-28 14:02:06 +03:00
32050ac6a8
str_replace.c: dedicate a parameter for backward search
Improve the test
2024-06-28 14:01:30 +03:00
1ad67ca96c
str_replace.c: label code blocks 2024-06-28 13:58:56 +03:00
c3d1f9350a
str_replace.h: make sure the header is included only once 2024-06-28 13:56:17 +03:00
f62488731f
str_replace.c: fix grammar 2024-06-28 13:53:30 +03:00
e7272e8043
portable_basename.* + clock_hr_microsec.*: split and improve 2024-06-28 13:51:54 +03:00
841472299f
clock-malfunction-imitation.c: explain more 2024-06-28 13:48:45 +03:00
ce575434ef
opt_int_div.h: prevent multiple inclusion 2024-06-26 12:16:50 +03:00
998b3a1e28
portable_basename.c: replace TODO + FIXME to just FIXME 2024-06-26 12:00:13 +03:00
269c1dec27
safe_mem.test.c: enhance macro DUMP_INT_ARRAY for multiple scenarios 2024-06-26 11:57:03 +03:00
f14e505673
cpuid_vendor_id.mod.c: reformat 2024-06-26 11:48:55 +03:00
a748a8ea99
reverse-ramdisk.c: improve the instructions 2024-06-26 11:47:31 +03:00
95fa449675
portable_basename.c: remove junk 2024-06-26 11:45:55 +03:00
339eb170ec
cpuid_vendor_id.mod.c: make use of enum 2024-06-26 00:18:51 +03:00
6efb83187f
clock-malfunction-imitation.c: optimize the use of STDOUT functions 2024-06-26 00:11:02 +03:00
3165f3c358
clock-malfunction-imitation.c: seed stdlib randomization 2024-06-26 00:07:49 +03:00
c2947aee3a
clock-malfunction-imitation.c: simplify randomization 2024-06-26 00:05:49 +03:00
f4b69e0f9f
clock-malfunction-imitation.c: fix the comment 2024-06-26 00:02:14 +03:00
1b0b255229
bool-operations.c: drop \t, use string padding 2024-06-25 23:15:35 +03:00
cbaf939777
bool-operations.c: compare to unsigned char 2024-06-25 23:14:34 +03:00
105deedfac
bool-operations.c: make use of EXIT_SUCCESS 2024-06-25 23:10:50 +03:00
ee3c8b26c7
C: add portable_basename.* 2024-06-25 22:35:10 +03:00
1def3d4b9c
floatscan-experiment.c: always use local copysignl 2024-06-25 16:42:40 +03:00
ba278632e2
C: jokes: add bytebeat-cryptic.c 2024-06-25 16:41:39 +03:00
d285fe2950
C: add string_case.* 2024-06-25 16:40:18 +03:00
006b4ec9b2
floatscan-experiment.c: implement copysignl 2024-06-25 12:17:46 +03:00
7fae55a31e
floatscan-experiment.c: rename floatscan to interface_floatscan 2024-06-25 12:16:32 +03:00