1
0
mirror of https://gitlab.com/80486DX2-66/gists synced 2024-12-27 14:50:23 +05:30
Commit Graph

68 Commits

Author SHA1 Message Date
685154e035
C: clock-malfunction-imitation.c: optimize sizeof(time(NULL)) 2024-02-21 19:11:30 +03:00
96af138bb7
C: clock-malfunction-imitation.c: fix syntax 2024-02-20 22:18:40 +03:00
f345d55d3a
C: clock-malfunction-imitation.c: reformat macros 2024-02-20 19:47:40 +03:00
130179ab6b
C: add str_replace.* 2024-02-20 19:41:24 +03:00
eb34ee33b3
C: categorize files, update .gitignore 2024-02-20 19:36:12 +03:00
73257b0c55
C: add freadln.* 2024-02-20 01:38:45 +03:00
714d32b4b4
C: pure_getline.c: add arguments docs 2024-02-20 01:36:11 +03:00
f9985a55ce
C: pure_getline.c: remove string reallocation 2024-02-20 01:34:07 +03:00
d25a4aa7f3
C: jokes/brexit.c: fix the Windows issue 2024-02-04 12:36:27 +03:00
5557621438
C: jokes/brexit.c: document the Windows issue 2024-02-04 12:25:38 +03:00
4e08a91184
C: jokes/brexit.c: C99: change asm to __asm__ 2024-02-04 12:21:09 +03:00
9e3d804e6e
C: jokes/brexit.c: don't include stdio.h 2024-02-04 12:20:17 +03:00
92da46ef9a
C: jokes/brexit.c: reorder __attribute__ place 2024-02-04 12:19:42 +03:00
5095bb1f47
C: jokes/brexit.c: remove _Noreturn 2024-02-04 12:05:05 +03:00
2ab2a332a1
C: jokes/brexit.c: simplify, fix SIGSEGV
Fix the indentation
2024-02-04 11:55:56 +03:00
2001b310d7
C: jokes/brexit.c: add _Noreturn, remove last empty line 2024-02-04 11:38:43 +03:00
de0b86824d
C: add jokes/brexit.c 2024-02-04 11:36:09 +03:00
03e02868b8
optimize .gitignore files 2024-01-31 22:24:38 +03:00
f5fd670db6
C: add pure_getline.* 2024-01-28 22:47:01 +03:00
1ec1b4a9e7
C: add test for asprintf.c 2024-01-28 15:46:26 +03:00
b10cdd7215
asprintf.c: fix use of malloc
1. Pass `size_t` variable to `malloc`
2. Multiply the count of bytes to allocate by `sizeof(char)`
2024-01-28 13:49:25 +03:00
cde36888a3
asprintf.c: optimize size + 1
with fixup applied
2024-01-28 13:43:56 +03:00
f98cbbaf84
add copyleft notices 2024-01-25 20:33:58 +03:00
f65917aec9
C: add clock-malfunction-imitation.c 2024-01-25 20:23:51 +03:00
8b243b9bea
C: add fwrite_le.* 2024-01-24 20:01:23 +03:00
30dee62706
rename floatscan_experiment.c -> floatscan-experiment.c 2024-01-16 01:24:07 +03:00
71f8f052d3
floatscan_experiment.c: fix typo 2024-01-15 23:49:03 +03:00
a47bdb62c5
add c-programming/floatscan_experiment.c 2024-01-15 23:38:02 +03:00
5464b1f85a
add c-programming/asprintf.* 2024-01-15 19:42:17 +03:00
1085b5df6e
add more .gitignore files 2024-01-11 23:16:25 +03:00
1960bb9866
reverse-ramdisk.c: change to-do list 2024-01-06 22:28:06 +03:00
57730252f0
reverse-ramdisk.c: define DBG_PRINT if TEST is defined 2024-01-06 22:26:22 +03:00
226cb79663
reverse-ramdisk.c: test: extract constants 2024-01-06 22:23:13 +03:00
ab8843ee14
reverse-ramdisk.c: change comment style and wrap 2024-01-03 22:02:31 +03:00
7ab89ffc53
reverse-ramdisk.c: extend the test, add more IRs 2024-01-03 21:57:59 +03:00
0355b33d84
reverse-ramdisk.c: bytes_written: reduce #if scope 2024-01-03 21:49:23 +03:00
9059cf1056
reverse-ramdisk.c: remove an unnecessary cast 2024-01-03 21:43:22 +03:00
e7990709ed
reverse-ramdisk.c: improve format of read IR 2024-01-03 21:30:07 +03:00
8e7743af40
reverse-ramdisk.c: use %p instead of PRIXPTR 2024-01-03 21:26:13 +03:00
888b257a7b
reverse-ramdisk.c: convert macro names to upper case 2024-01-03 21:21:29 +03:00
a5898629f1
reverse-ramdisk.c: use size_t type for enumerating 2024-01-03 21:10:22 +03:00
db83a7a2e4
reverse-ramdisk.c: improve len_digit calculation 2024-01-03 21:07:45 +03:00
438d62dbcd
reverse-ramdisk.c: fix reallocation, reduce code 2024-01-03 21:03:43 +03:00
50a6998d59
reverse-ramdisk.c: fix fail condition after realloc 2024-01-03 20:51:22 +03:00
8de851ad79
reverse-ramdisk.c: add mutex in TempFile struct 2024-01-03 20:05:14 +03:00
e70d50cee4
reverse-ramdisk.c: TempFile: reduce #if scope 2024-01-03 19:51:43 +03:00
27b4045373
reverse-ramdisk.c: rename variable data to src 2023-12-30 16:04:28 +03:00
eaf2bd306c
reverse-ramdisk.c: comment: fix ratio 2023-12-30 16:01:21 +03:00
d08f28b6e8
reverse-ramdisk.c: simplify macro line_fail 2023-12-30 13:42:54 +03:00
021333aca6
reverse-ramdisk.c: correct POSIX version requirement 2023-12-28 00:39:59 +03:00