1
0
mirror of https://gitlab.com/80486DX2-66/gists synced 2024-12-24 22:59:49 +05:30
Commit Graph

60 Commits

Author SHA1 Message Date
1ec1b4a9e7
C: add test for asprintf.c 2024-01-28 15:46:26 +03:00
8cd483c79e
add .editorconfig 2024-01-28 15:45:52 +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
0eaced9cde
bytebeat-render.js: rename *Name to *Path 2024-01-05 20:12:57 +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
3817607ee4
bytebeat-render.js: reformat the code 2024-01-01 01:42:17 +03:00
a46019a754
bytebeat-render.js: explicit GC 2024-01-01 01:34:18 +03:00
93ed0c917a
add python-programming/git_commit_simulator.py
Extend .gitignore for Python
2023-12-31 14:25:20 +03:00
6bb7482c3a
bytebeat-render.js: remove semicolons at EOLs 2023-12-30 16:35:28 +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
5f83c22ce8
bytebeat-render.js: simplify generateAudio 2023-12-29 22:31:26 +03:00
0b4349e8c3
bytebeat-render.js: ffmpeg call: remove -y argument 2023-12-29 20:23:16 +03:00
1606eb57d2
add js-programming/bytebeat-render.js 2023-12-29 19:55:56 +03:00
021333aca6
reverse-ramdisk.c: correct POSIX version requirement 2023-12-28 00:39:59 +03:00
1c61eec1ce
reverse-ramdisk.c: major rewrite, add POSIX code 2023-12-28 00:24:29 +03:00
b5c9a01749
reverse-ramdisk.c: omit curly brackets 2023-12-28 00:09:16 +03:00
03f7a5460a
reverse-ramdisk.c: fix segmentation fault, remove index check 2023-12-28 00:07:29 +03:00
be048aa266
reverse-ramdisk.c: correct snprintf call 2023-12-28 00:04:32 +03:00
f6a8c9025e
reverse-ramdisk.c: if not debug, set line_fail to nothing 2023-12-28 00:03:39 +03:00
3bfedd252d
reverse-ramdisk.c: set POSIX detection 2023-12-28 00:02:52 +03:00
df2d4f3dd9
reverse-ramdisk.c: reorder operations to improve speed 2023-12-27 21:58:50 +03:00
52aa23d585
reverse-ramdisk.c: include unistd.h 2023-12-27 21:53:52 +03:00
d9dfe5edf2
reverse-ramdisk.c: improve memory management 2023-12-27 21:45:53 +03:00
eae82bcceb
reverse-ramdisk.c: flush file buffer on each write 2023-12-27 21:30:42 +03:00