cosmopolitan/test/tool/net
Jōshin 6e6fc38935
Apply clang-format update to repo (#1154)
Commit bc6c183 introduced a bunch of discrepancies between what files
look like in the repo and what clang-format says they should look like.
However, there were already a few discrepancies prior to that. Most of
these discrepancies seemed to be unintentional, but a few of them were
load-bearing (e.g., a #include that violated header ordering needing
something to have been #defined by a 'later' #include.)

I opted to take what I hope is a relatively smooth-brained approach: I
reverted the .clang-format change, ran clang-format on the whole repo,
reapplied the .clang-format change, reran clang-format again, and then
reverted the commit that contained the first run. Thus the full effect
of this PR should only be to apply the changed formatting rules to the
repo, and from skimming the results, this seems to be the case.

My work can be checked by applying the short, manual commits, and then
rerunning the command listed in the autogenerated commits (those whose
messages I have prefixed auto:) and seeing if your results agree.

It might be that the other diffs should be fixed at some point but I'm
leaving that aside for now.

fd '\.c(c|pp)?$' --print0| xargs -0 clang-format -i
2024-04-25 10:38:00 -07:00
..
argon2_test.lua Refactor pledge() to be more configurable 2022-08-11 11:35:30 -07:00
base64_test.lua Refactor pledge() to be more configurable 2022-08-11 11:35:30 -07:00
BUILD.mk Stop using .com extension in monorepo 2024-03-03 03:12:19 -08:00
curve25519_test.lua Add Curve25519 method in help.txt + add new specs file (#1096) 2024-01-21 06:58:48 -08:00
encodejson_test.lua Fix JSON single quote escaping (fixes #512) 2022-08-31 07:53:57 -05:00
encodelua_test.lua Refactor pledge() to be more configurable 2022-08-11 11:35:30 -07:00
futex_test.lua Fix naming for redbean shared memory atomics 2022-10-06 09:41:22 -07:00
jsonorg_fail_test.lua Refactor pledge() to be more configurable 2022-08-11 11:35:30 -07:00
jsonorg_pass_test.lua Refactor pledge() to be more configurable 2022-08-11 11:35:30 -07:00
jsontestsuite_fail1_test.lua Refactor pledge() to be more configurable 2022-08-11 11:35:30 -07:00
jsontestsuite_fail2_test.lua Refactor pledge() to be more configurable 2022-08-11 11:35:30 -07:00
jsontestsuite_fail3_test.lua Refactor pledge() to be more configurable 2022-08-11 11:35:30 -07:00
jsontestsuite_fail4_test.lua Refactor pledge() to be more configurable 2022-08-11 11:35:30 -07:00
jsontestsuite_okay_test.lua Refactor pledge() to be more configurable 2022-08-11 11:35:30 -07:00
jsontestsuite_pass_test.lua Refactor pledge() to be more configurable 2022-08-11 11:35:30 -07:00
lfuncs_test.lua Add EncodeBase32() to Redbean (#856) 2023-10-11 20:06:20 -07:00
ljson_test.lua Fix JSON single quote escaping (fixes #512) 2022-08-31 07:53:57 -05:00
lre_test.lua Refactor pledge() to be more configurable 2022-08-11 11:35:30 -07:00
lua_test.lua Rename MapContentType to ProgramContentType (#570) 2022-08-24 09:35:17 -07:00
lunix_test.lua Make improvements 2023-06-03 08:12:22 -07:00
mapshared_test.lua Add shared memory hit counter example to redbean 2022-10-08 08:39:13 -07:00
md5_test.lua Refactor pledge() to be more configurable 2022-08-11 11:35:30 -07:00
path_test.lua Refactor pledge() to be more configurable 2022-08-11 11:35:30 -07:00
redbean_test.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
sha_test.lua Refactor pledge() to be more configurable 2022-08-11 11:35:30 -07:00
slurp_test.lua Add automatic TMPDIR setup/teardown to GNU Make 2022-08-14 02:03:41 -07:00
spinlock_test.lua Add shared memory apis to redbean 2022-10-06 04:55:26 -07:00
sqlite_test.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
sqlite_test.lua Add database and statement readonly checks to sqlite in redbean (#914) 2023-11-05 13:29:09 -08:00
uuidv4_test.lua Change loop bound on uuidv4 test (#1143) 2024-04-12 12:22:34 -04:00