From 03bb1302aa9d0ea59e57b536d104427f110407fb Mon Sep 17 00:00:00 2001 From: github-actions <${GITHUB_ACTOR}@users.noreply.github.com> Date: Wed, 12 Oct 2022 14:52:19 +0000 Subject: [PATCH] Documentation for 8241a58d42afaad3f326b0c14e651aeb83864d60 --- d1/dc7/run__length__encoding_8c.html | 297 ++++++++++++++++++ d1/dc7/run__length__encoding_8c.js | 6 + ...8dca7b867074164d5f45b0f3851269d_cgraph.map | 4 + ...8dca7b867074164d5f45b0f3851269d_cgraph.md5 | 1 + ...8dca7b867074164d5f45b0f3851269d_cgraph.svg | 42 +++ ...66f6b31b5ad750f1fe042a706a4e3d4_cgraph.map | 5 + ...66f6b31b5ad750f1fe042a706a4e3d4_cgraph.md5 | 1 + ...66f6b31b5ad750f1fe042a706a4e3d4_cgraph.svg | 57 ++++ d5/d88/md__d_i_r_e_c_t_o_r_y.html | 1 + dc/dcb/run__length__encoding_8c__incl.map | 7 + dc/dcb/run__length__encoding_8c__incl.md5 | 1 + dc/dcb/run__length__encoding_8c__incl.svg | 81 +++++ dir_a52f4d3d586a58b02f3a4ddf0a992157.html | 3 + dir_a52f4d3d586a58b02f3a4ddf0a992157.js | 1 + files.html | 7 +- globals_func_m.html | 2 +- globals_func_r.html | 1 + globals_func_t.html | 2 +- globals_m.html | 2 +- globals_r.html | 1 + globals_t.html | 2 +- navtreedata.js | 6 +- navtreeindex0.js | 10 +- navtreeindex1.js | 18 +- navtreeindex2.js | 10 +- navtreeindex3.js | 20 +- search/all_14.js | 4 +- search/all_16.js | 4 +- search/all_f.js | 2 +- search/files_12.js | 3 +- search/functions_12.js | 3 +- search/functions_14.js | 2 +- search/functions_d.js | 2 +- 33 files changed, 563 insertions(+), 45 deletions(-) create mode 100644 d1/dc7/run__length__encoding_8c.html create mode 100644 d1/dc7/run__length__encoding_8c.js create mode 100644 d1/dc7/run__length__encoding_8c_aa8dca7b867074164d5f45b0f3851269d_cgraph.map create mode 100644 d1/dc7/run__length__encoding_8c_aa8dca7b867074164d5f45b0f3851269d_cgraph.md5 create mode 100644 d1/dc7/run__length__encoding_8c_aa8dca7b867074164d5f45b0f3851269d_cgraph.svg create mode 100644 d1/dc7/run__length__encoding_8c_ae66f6b31b5ad750f1fe042a706a4e3d4_cgraph.map create mode 100644 d1/dc7/run__length__encoding_8c_ae66f6b31b5ad750f1fe042a706a4e3d4_cgraph.md5 create mode 100644 d1/dc7/run__length__encoding_8c_ae66f6b31b5ad750f1fe042a706a4e3d4_cgraph.svg create mode 100644 dc/dcb/run__length__encoding_8c__incl.map create mode 100644 dc/dcb/run__length__encoding_8c__incl.md5 create mode 100644 dc/dcb/run__length__encoding_8c__incl.svg diff --git a/d1/dc7/run__length__encoding_8c.html b/d1/dc7/run__length__encoding_8c.html new file mode 100644 index 00000000..139d3e0b --- /dev/null +++ b/d1/dc7/run__length__encoding_8c.html @@ -0,0 +1,297 @@ + + +
+ + + + +
+ Algorithms_in_C 1.0.0
+
+ Set of algorithms implemented in C.
+ |
+
Encode a null terminated string using Run-length encoding +More...
+#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <assert.h>
+Functions | |
char * | run_length_encode (char *str) |
for IO operations More... | |
static void | test () |
Self-test implementations. More... | |
int | main () |
Main function. More... | |
Encode a null terminated string using Run-length encoding
+ +Run-length encoding is a lossless compression algorithm. It works by counting the consecutive occurences symbols and encodes that series of consecutive symbols into the counted symbol and a number denoting the number of consecutive occorences.
+For example the string "AAAABBCCD" gets encoded into "4A2B2C1D"
+int main | +( | +void | +) | ++ |
char * run_length_encode | +( | +char * | +str | ) | ++ |
for IO operations
+for string functions for malloc/free for assert
+Encodes a null-terminated string using run-length encoding
str | String to encode |
+
|
+ +static | +
Self-test implementations.
+