1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-23 00:00:06 +01:00
libwebsockets/minimal-examples-lowlevel/api-tests
Andy Green aadcd3c44a lws_fx: fixed point 3232 arithmetic
This introduces a fixed precision signed 32.32 fractional type that can
work on devices without an FPU.

The integer part works as an int32_t, the fractional part represents the
fractional proportion expressed as part of 100M, so 8 fractional decimal
digit precision which is more than enough for many applications.

Add and Sub are reasonably fast as they are scaled on to a combined
uint64_t, Multiply is a little slower as it takes four uint64_t multiplies
that are summed, and divide is expensive but accurate, done bitwise taking
up to 32 iterations involving uint64_t div and mod.
2022-03-15 10:28:09 +00:00
..
api-test-async-dns cmake: bring tls include requirement out as PUBLIC 2021-10-28 08:12:48 +01:00
api-test-backtrace alloc: compressed backtrace instrumentation support 2022-03-15 10:28:09 +00:00
api-test-cose examples: move existing to m-e-lowlevel and start repoulating m-e with SS 2021-10-08 09:49:05 +01:00
api-test-dhcpc coverity fixes 2022-01-16 10:48:11 +00:00
api-test-fts examples: move existing to m-e-lowlevel and start repoulating m-e with SS 2021-10-08 09:49:05 +01:00
api-test-gencrypto examples: move existing to m-e-lowlevel and start repoulating m-e with SS 2021-10-08 09:49:05 +01:00
api-test-jose examples: move existing to m-e-lowlevel and start repoulating m-e with SS 2021-10-08 09:49:05 +01:00
api-test-jrpc jrpc: add support 2021-10-11 09:10:15 +01:00
api-test-lecp examples: move existing to m-e-lowlevel and start repoulating m-e with SS 2021-10-08 09:49:05 +01:00
api-test-lejp examples: lgtm fixes now on by default 2021-11-29 15:18:15 +00:00
api-test-lws_cache cmake: Enable WITH_MINIMAL_EXAMPLES by default 2021-11-11 11:52:46 +00:00
api-test-lws_dsh examples: move existing to m-e-lowlevel and start repoulating m-e with SS 2021-10-08 09:49:05 +01:00
api-test-lws_map gcc4: conceal typedef in public header 2022-03-15 10:28:09 +00:00
api-test-lws_smd examples: lgtm fixes now on by default 2021-11-29 15:18:15 +00:00
api-test-lws_struct-json examples: move existing to m-e-lowlevel and start repoulating m-e with SS 2021-10-08 09:49:05 +01:00
api-test-lws_struct_sqlite examples: move existing to m-e-lowlevel and start repoulating m-e with SS 2021-10-08 09:49:05 +01:00
api-test-lws_tokenize lws_fx: fixed point 3232 arithmetic 2022-03-15 10:28:09 +00:00
api-test-lwsac examples: move existing to m-e-lowlevel and start repoulating m-e with SS 2021-10-08 09:49:05 +01:00
api-test-secure-streams examples: lgtm fixes now on by default 2021-11-29 15:18:15 +00:00
api-test-smtp_client examples: move existing to m-e-lowlevel and start repoulating m-e with SS 2021-10-08 09:49:05 +01:00
README.md examples: move existing to m-e-lowlevel and start repoulating m-e with SS 2021-10-08 09:49:05 +01:00

These are buildable test apps that run in CI to confirm correct api operation.

name tests
api-test-lwsac LWS Allocated Chunks api
api-test-lws_struct-json Selftests for lws_struct JSON serialization and deserialization
api-test-lws_tokenize Generic secure string tokenizer api
api-test-fts LWS Full-text Search api
api-test-gencrypto LWS Generic Crypto apis
api-test-jose LWS JOSE apis
api-test-smtp_client SMTP client for sending emails