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

103 Commits

Author SHA1 Message Date
bfd51c23c2 C: add static-vs-dynamic-mem-alloc.c 2024-02-24 12:02:14 +03:00
3e37f5fb73 C: reverse-ramdisk.c: tf_free: prevent memory leaks 2024-02-22 22:00:45 +03:00
bae1b1a301 C: reverse-ramdisk.c: fix memory usage in tf_alloc 2024-02-22 21:10:55 +03:00
9c47cde541 C: reverse-ramdisk.c: make use of ternary operator 2024-02-22 20:29:14 +03:00
544ae06944 C: reverse-ramdisk.c: apply D.R.Y. to conditional compilation 2024-02-22 20:28:41 +03:00
d36ed5f273 C: reverse-ramdisk.c: reformat macros 2024-02-22 20:21:07 +03:00
4d797a9854 C: pure_getline.h: move include statements 2024-02-22 19:20:26 +03:00
c1916f928c C: freadln.h: fix syntax; reformat 2024-02-22 19:09:37 +03:00
8f4b853094 C: clock-malfunction-imitation.c: reformat 2024-02-21 21:53:22 +03:00
a0d4c9d104 C: clock-malfunction-imitation.c: remove unsafe optimization 2024-02-21 21:52:41 +03:00
5123278748 C: clock-malfunction-imitation.c: remove IR leftovers 2024-02-21 21:51:26 +03:00
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
d1026e247c Python: add ASCII_to_CJK.py 2024-02-18 15:54:44 +03:00
07cadd5e87 Python: add base64_text_decode.py 2024-02-10 15:22:46 +03:00
45f76698a6 D: countLettersInTextFile.d: remove last extra line 2024-02-04 12:59:59 +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
881748f4d1 D: gitignore: remove unnecessary entries 2024-02-01 22:28:01 +03:00
21f9eca378 JavaScript: extend .gitignore file 2024-01-31 23:51:25 +03:00
7a3d73a6bf JavaScript: add busy-loop-delay.js 2024-01-31 23:46:48 +03:00
510bf7a595 bytebeat-render.js: update the main notice 2024-01-31 23:44:45 +03:00
33c341f7e8 bytebeat-render.js: fix memory usage, fixup for 2e15e4addc 2024-01-31 23:41:49 +03:00
2e15e4addc bytebeat-render.js: improve the loop algorithm 2024-01-31 22:31:55 +03:00
ac9bdfdd75 bytebeat-render.js: comment 24: "change" -> "enable" 2024-01-31 22:30:50 +03:00
64702d0ebf update gitignore_clean.py to version bcbdbf22e2 2024-01-31 22:26:45 +03:00
03e02868b8 optimize .gitignore files 2024-01-31 22:24:38 +03:00
a8f909d1a9 D: add countLettersInTextFile.d 2024-01-31 20:00:17 +03:00
f5fd670db6 C: add pure_getline.* 2024-01-28 22:47:01 +03:00
3dfe8a8d14 update .editorconfig to template 2024-01-28 17:09:01 +03:00
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