This commit is contained in:
2025-02-07 12:07:32 +03:00
parent e34d804dda
commit 19a2577564
252 changed files with 33086 additions and 12 deletions

1
.gitignore vendored
View File

@@ -25,7 +25,6 @@ dump.rdb
output/
*.db
.stellar
vdocs/
data.ms/
test_basic
cli/hero

View File

@@ -31,7 +31,7 @@ fn do() ! {
mut cmd := Command{
name: 'hero'
description: 'Your HERO toolset.'
version: '2.0.6'
version: '1.0.2'
}
// herocmds.cmd_run_add_flags(mut cmd)

View File

@@ -26,9 +26,9 @@ os.chdir(herolib_path) or {
panic('Failed to change directory to herolib: ${err}')
}
os.rmdir_all('_docs') or {}
os.rmdir_all('docs') or {}
os.rmdir_all('vdocs') or {}
os.mkdir_all('_docs') or {}
os.mkdir_all('docs') or {}
os.mkdir_all('vdocs') or {}
// Generate HTML documentation
println('Generating HTML documentation...')
@@ -42,13 +42,12 @@ os.chdir(abs_dir_of_script) or {
// Generate Markdown documentation
println('Generating Markdown documentation...')
os.rmdir_all('vdocs') or {}
// if os.system('v doc -m -no-color -f md -o ../vdocs/v/') != 0 {
// panic('Failed to generate V markdown documentation')
// }
if os.system('v doc -m -no-color -f md -o vdocs/herolib/') != 0 {
if os.system('v doc -m -no-color -f md -o vdocs/') != 0 {
panic('Failed to generate Hero markdown documentation')
}

View File

@@ -5,18 +5,36 @@ set -e
os_name="$(uname -s)"
arch_name="$(uname -m)"
# Base URL for GitHub releases
base_url="https://github.com/freeflowuniverse/herolib/releases/download/v1.0.1"
# Select the URL based on the platform
if [[ "$os_name" == "Linux" && "$arch_name" == "x86_64" ]]; then
url="https://f003.backblazeb2.com/file/threefold/linux-i64/hero"
url="$base_url/hero-x86_64-unknown-linux-musl"
elif [[ "$os_name" == "Linux" && "$arch_name" == "aarch64" ]]; then
url="$base_url/hero-aarch64-unknown-linux-musl"
elif [[ "$os_name" == "Darwin" && "$arch_name" == "arm64" ]]; then
url="https://f003.backblazeb2.com/file/threefold/macos-arm64/hero"
# elif [[ "$os_name" == "Darwin" && "$arch_name" == "x86_64" ]]; then
# url="https://f003.backblazeb2.com/file/threefold/macos-i64/hero"
url="$base_url/hero-aarch64-apple-darwin"
elif [[ "$os_name" == "Darwin" && "$arch_name" == "x86_64" ]]; then
url="$base_url/hero-x86_64-apple-darwin"
else
echo "Unsupported platform."
echo "Unsupported platform: $os_name $arch_name"
exit 1
fi
# # Select the URL based on the platform
# if [[ "$os_name" == "Linux" && "$arch_name" == "x86_64" ]]; then
# url="https://f003.backblazeb2.com/file/threefold/linux-i64/hero"
# elif [[ "$os_name" == "Darwin" && "$arch_name" == "arm64" ]]; then
# url="https://f003.backblazeb2.com/file/threefold/macos-arm64/hero"
# # elif [[ "$os_name" == "Darwin" && "$arch_name" == "x86_64" ]]; then
# # url="https://f003.backblazeb2.com/file/threefold/macos-i64/hero"
# else
# echo "Unsupported platform."
# exit 1
# fi
# Check for existing hero installations
existing_hero=$(which hero 2>/dev/null || true)
if [ ! -z "$existing_hero" ]; then

452
vdocs/arrays.md Normal file
View File

@@ -0,0 +1,452 @@
# module arrays
## Contents
- [append](#append)
- [binary_search](#binary_search)
- [carray_to_varray](#carray_to_varray)
- [chunk](#chunk)
- [chunk_while](#chunk_while)
- [concat](#concat)
- [copy](#copy)
- [distinct](#distinct)
- [each](#each)
- [each_indexed](#each_indexed)
- [filter_indexed](#filter_indexed)
- [find_first](#find_first)
- [find_last](#find_last)
- [flat_map](#flat_map)
- [flat_map_indexed](#flat_map_indexed)
- [flatten](#flatten)
- [fold](#fold)
- [fold_indexed](#fold_indexed)
- [group](#group)
- [group_by](#group_by)
- [idx_max](#idx_max)
- [idx_min](#idx_min)
- [index_of_first](#index_of_first)
- [index_of_last](#index_of_last)
- [join_to_string](#join_to_string)
- [lower_bound](#lower_bound)
- [map_indexed](#map_indexed)
- [map_of_counts](#map_of_counts)
- [map_of_indexes](#map_of_indexes)
- [max](#max)
- [merge](#merge)
- [min](#min)
- [partition](#partition)
- [reduce](#reduce)
- [reduce_indexed](#reduce_indexed)
- [rotate_left](#rotate_left)
- [rotate_right](#rotate_right)
- [sum](#sum)
- [uniq](#uniq)
- [uniq_all_repeated](#uniq_all_repeated)
- [uniq_only](#uniq_only)
- [uniq_only_repeated](#uniq_only_repeated)
- [upper_bound](#upper_bound)
- [window](#window)
- [WindowAttribute](#WindowAttribute)
## append
Example
```v
arrays.append([1, 3, 5, 7], [2, 4, 6, 8]) // => [1, 3, 5, 7, 2, 4, 6, 8]
```
[[Return to contents]](#Contents)
## binary_search
Example
```v
arrays.binary_search([1, 2, 3, 4], 4)! // => 3
```
[[Return to contents]](#Contents)
## carray_to_varray
[[Return to contents]](#Contents)
## chunk
Example
```v
arrays.chunk([1, 2, 3, 4, 5, 6, 7, 8, 9], 2)) // => [[1, 2], [3, 4], [5, 6], [7, 8], [9]]
```
[[Return to contents]](#Contents)
## chunk_while
Examples
```v
assert arrays.chunk_while([0,9,2,2,3,2,7,5,9,5],fn(x int,y int)bool{return x<=y})==[[0,9],[2,2,3],[2,7],[5,9],[5]]
assert arrays.chunk_while('aaaabbbcca'.runes(),fn(x rune,y rune)bool{return x==y})==[[`a`,`a`,`a`,`a`],[`b`,`b`,`b`],[`c`,`c`],[`a`]]
assert arrays.chunk_while('aaaabbbcca'.runes(),fn(x rune,y rune)bool{return x==y}).map({it[0]:it.len})==[{`a`:4},{`b`:3},{`c`:2},{`a`:1}]
```
[[Return to contents]](#Contents)
## concat
Examples
```v
arrays.concat([1, 2, 3], 4, 5, 6) == [1, 2, 3, 4, 5, 6] // => true
arrays.concat([1, 2, 3], ...[4, 5, 6]) == [1, 2, 3, 4, 5, 6] // => true
arr << [4, 5, 6] // does what you need if arr is mutable
```
[[Return to contents]](#Contents)
## copy
[[Return to contents]](#Contents)
## distinct
Example
```v
assert arrays.distinct( [5, 5, 1, 5, 2, 1, 1, 9] ) == [1, 2, 5, 9]
```
[[Return to contents]](#Contents)
## each
[[Return to contents]](#Contents)
## each_indexed
[[Return to contents]](#Contents)
## filter_indexed
[[Return to contents]](#Contents)
## find_first
Example
```v
arrays.find_first([1, 2, 3, 4, 5], fn (i int) bool { return i == 3 })? // => 3
```
[[Return to contents]](#Contents)
## find_last
Example
```v
arrays.find_last([1, 2, 3, 4, 5], fn (i int) bool { return i == 3})? // => 3
```
[[Return to contents]](#Contents)
## flat_map
[[Return to contents]](#Contents)
## flat_map_indexed
[[Return to contents]](#Contents)
## flatten
Example
```v
arrays.flatten[int]([[1, 2, 3], [4, 5]]) // => [1, 2, 3, 4, 5]
```
[[Return to contents]](#Contents)
## fold
Example
```v
// Sum the length of each string in an array
a := ['Hi', 'all']
r := arrays.fold[string, int](a, 0,
fn (r int, t string) int { return r + t.len })
assert r == 5
```
[[Return to contents]](#Contents)
## fold_indexed
[[Return to contents]](#Contents)
## group
Example
```v
arrays.group[int]([1, 2, 3], [4, 5, 6]) // => [[1, 4], [2, 5], [3, 6]]
```
[[Return to contents]](#Contents)
## group_by
Example
```v
arrays.group_by[int, string](['H', 'el', 'lo'], fn (v string) int { return v.len }) // => {1: ['H'], 2: ['el', 'lo']}
```
[[Return to contents]](#Contents)
## idx_max
Example
```v
arrays.idx_max([1, 2, 3, 0, 9])! // => 4
```
[[Return to contents]](#Contents)
## idx_min
Example
```v
arrays.idx_min([1, 2, 3, 0, 9])! // => 3
```
[[Return to contents]](#Contents)
## index_of_first
Example
```v
arrays.index_of_first([4,5,0,7,0,9], fn(idx int, x int) bool { return x == 0 }) == 2
```
[[Return to contents]](#Contents)
## index_of_last
Example
```v
arrays.index_of_last([4,5,0,7,0,9], fn(idx int, x int) bool { return x == 0 }) == 4
```
[[Return to contents]](#Contents)
## join_to_string
[[Return to contents]](#Contents)
## lower_bound
Example
```v
arrays.lower_bound([2, 4, 6, 8], 3)! // => 4
```
[[Return to contents]](#Contents)
## map_indexed
[[Return to contents]](#Contents)
## map_of_counts
Example
```v
arrays.map_of_counts([1,2,3,4,4,2,1,4,4]) == {1: 2, 2: 2, 3: 1, 4: 4}
```
[[Return to contents]](#Contents)
## map_of_indexes
Example
```v
arrays.map_of_indexes([1,2,3,4,4,2,1,4,4,999]) == {1: [0, 6], 2: [1, 5], 3: [2], 4: [3, 4, 7, 8], 999: [9]}
```
[[Return to contents]](#Contents)
## max
Example
```v
arrays.max([1, 2, 3, 0, 9])! // => 9
```
[[Return to contents]](#Contents)
## merge
Example
```v
arrays.merge([1, 3, 5, 7], [2, 4, 6, 8]) // => [1, 2, 3, 4, 5, 6, 7, 8]
```
[[Return to contents]](#Contents)
## min
Example
```v
arrays.min([1, 2, 3, 0, 9])! // => 0
```
[[Return to contents]](#Contents)
## partition
[[Return to contents]](#Contents)
## reduce
Example
```v
arrays.reduce([1, 2, 3, 4, 5], fn (t1 int, t2 int) int { return t1 * t2 })! // => 120
```
[[Return to contents]](#Contents)
## reduce_indexed
[[Return to contents]](#Contents)
## rotate_left
Example
```v
mut x := [1,2,3,4,5,6]
arrays.rotate_left(mut x, 2)
println(x) // [3, 4, 5, 6, 1, 2]
```
[[Return to contents]](#Contents)
## rotate_right
Example
```v
mut x := [1,2,3,4,5,6]
arrays.rotate_right(mut x, 2)
println(x) // [5, 6, 1, 2, 3, 4]
```
[[Return to contents]](#Contents)
## sum
Example
```v
arrays.sum([1, 2, 3, 4, 5])! // => 15
```
[[Return to contents]](#Contents)
## uniq
Examples
```v
assert arrays.uniq( []int{} ) == []
assert arrays.uniq( [1, 1] ) == [1]
assert arrays.uniq( [2, 1] ) == [2, 1]
assert arrays.uniq( [5, 5, 1, 5, 2, 1, 1, 9] ) == [5, 1, 5, 2, 1, 9]
```
[[Return to contents]](#Contents)
## uniq_all_repeated
Examples
```v
assert arrays.uniq_all_repeated( []int{} ) == []
assert arrays.uniq_all_repeated( [1, 5] ) == []
assert arrays.uniq_all_repeated( [5, 5] ) == [5,5]
assert arrays.uniq_all_repeated( [5, 5, 1, 5, 2, 1, 1, 9] ) == [5, 5, 1, 1]
```
[[Return to contents]](#Contents)
## uniq_only
Examples
```v
assert arrays.uniq_only( []int{} ) == []
assert arrays.uniq_only( [1, 1] ) == []
assert arrays.uniq_only( [2, 1] ) == [2, 1]
assert arrays.uniq_only( [1, 5, 5, 1, 5, 2, 1, 1, 9] ) == [1, 1, 5, 2, 9]
```
[[Return to contents]](#Contents)
## uniq_only_repeated
Examples
```v
assert arrays.uniq_only_repeated( []int{} ) == []
assert arrays.uniq_only_repeated( [1, 5] ) == []
assert arrays.uniq_only_repeated( [5, 5] ) == [5]
assert arrays.uniq_only_repeated( [5, 5, 1, 5, 2, 1, 1, 9] ) == [5, 1]
```
[[Return to contents]](#Contents)
## upper_bound
Example
```v
arrays.upper_bound([2, 4, 6, 8], 3)! // => 2
```
[[Return to contents]](#Contents)
## window
Examples
```v
arrays.window([1, 2, 3, 4], size: 2) // => [[1, 2], [2, 3], [3, 4]]
arrays.window([1, 2, 3, 4, 5, 6, 7, 8, 9, 10], size: 3, step: 2) // => [[1, 2, 3], [3, 4, 5], [5, 6, 7], [7, 8, 9]]
```
[[Return to contents]](#Contents)
## WindowAttribute
[[Return to contents]](#Contents)
#### Powered by vdoc. Generated on: 7 Feb 2025 12:06:55

32
vdocs/arrays.parallel.md Normal file
View File

@@ -0,0 +1,32 @@
# module arrays.parallel
## Contents
- [amap](#amap)
- [run](#run)
- [Params](#Params)
## amap
Example
```v
squares := parallel.amap([1, 2, 3, 4, 5], 2, fn (i) { return i * i })
```
[[Return to contents]](#Contents)
## run
Example
```v
parallel.run([1, 2, 3, 4, 5], 2, fn (i) { println(i) })
```
[[Return to contents]](#Contents)
## Params
[[Return to contents]](#Contents)
#### Powered by vdoc. Generated on: 7 Feb 2025 12:06:55

124
vdocs/benchmark.md Normal file
View File

@@ -0,0 +1,124 @@
# module benchmark
## Contents
- [Constants](#Constants)
- [new_benchmark](#new_benchmark)
- [new_benchmark_no_cstep](#new_benchmark_no_cstep)
- [new_benchmark_pointer](#new_benchmark_pointer)
- [start](#start)
- [Benchmark](#Benchmark)
- [set_total_expected_steps](#set_total_expected_steps)
- [stop](#stop)
- [step](#step)
- [step_restart](#step_restart)
- [fail](#fail)
- [ok](#ok)
- [skip](#skip)
- [fail_many](#fail_many)
- [ok_many](#ok_many)
- [neither_fail_nor_ok](#neither_fail_nor_ok)
- [measure](#measure)
- [record_measure](#record_measure)
- [step_message_with_label_and_duration](#step_message_with_label_and_duration)
- [step_message_with_label](#step_message_with_label)
- [step_message](#step_message)
- [step_message_ok](#step_message_ok)
- [step_message_fail](#step_message_fail)
- [step_message_skip](#step_message_skip)
- [total_message](#total_message)
- [all_recorded_measures](#all_recorded_measures)
- [total_duration](#total_duration)
- [MessageOptions](#MessageOptions)
## Constants
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
## new_benchmark
[[Return to contents]](#Contents)
## new_benchmark_no_cstep
[[Return to contents]](#Contents)
## new_benchmark_pointer
[[Return to contents]](#Contents)
## start
[[Return to contents]](#Contents)
## Benchmark
[[Return to contents]](#Contents)
## set_total_expected_steps
[[Return to contents]](#Contents)
## stop
[[Return to contents]](#Contents)
## step
[[Return to contents]](#Contents)
## step_restart
[[Return to contents]](#Contents)
## fail
[[Return to contents]](#Contents)
## ok
[[Return to contents]](#Contents)
## skip
[[Return to contents]](#Contents)
## fail_many
[[Return to contents]](#Contents)
## ok_many
[[Return to contents]](#Contents)
## neither_fail_nor_ok
[[Return to contents]](#Contents)
## measure
[[Return to contents]](#Contents)
## record_measure
[[Return to contents]](#Contents)
## step_message_with_label_and_duration
[[Return to contents]](#Contents)
## step_message_with_label
[[Return to contents]](#Contents)
## step_message
[[Return to contents]](#Contents)
## step_message_ok
[[Return to contents]](#Contents)
## step_message_fail
[[Return to contents]](#Contents)
## step_message_skip
[[Return to contents]](#Contents)
## total_message
[[Return to contents]](#Contents)
## all_recorded_measures
[[Return to contents]](#Contents)
## total_duration
[[Return to contents]](#Contents)
## MessageOptions
[[Return to contents]](#Contents)
#### Powered by vdoc. Generated on: 7 Feb 2025 12:06:55

201
vdocs/bitfield.md Normal file
View File

@@ -0,0 +1,201 @@
# module bitfield
## Contents
- [bf_and](#bf_and)
- [bf_not](#bf_not)
- [bf_or](#bf_or)
- [bf_xor](#bf_xor)
- [from_bytes](#from_bytes)
- [from_bytes_lowest_bits_first](#from_bytes_lowest_bits_first)
- [from_str](#from_str)
- [hamming](#hamming)
- [join](#join)
- [new](#new)
- [BitField](#BitField)
- [str](#str)
- [free](#free)
- [get_bit](#get_bit)
- [set_bit](#set_bit)
- [clear_bit](#clear_bit)
- [extract](#extract)
- [insert](#insert)
- [extract_lowest_bits_first](#extract_lowest_bits_first)
- [insert_lowest_bits_first](#insert_lowest_bits_first)
- [set_all](#set_all)
- [clear_all](#clear_all)
- [toggle_bit](#toggle_bit)
- [set_if](#set_if)
- [toggle_bits](#toggle_bits)
- [set_bits](#set_bits)
- [clear_bits](#clear_bits)
- [has](#has)
- [all](#all)
- [get_size](#get_size)
- [clone](#clone)
- [==](#==)
- [pop_count](#pop_count)
- [pos](#pos)
- [slice](#slice)
- [reverse](#reverse)
- [resize](#resize)
- [rotate](#rotate)
- [shift_left](#shift_left)
- [shift_right](#shift_right)
## bf_and
[[Return to contents]](#Contents)
## bf_not
[[Return to contents]](#Contents)
## bf_or
[[Return to contents]](#Contents)
## bf_xor
[[Return to contents]](#Contents)
## from_bytes
[[Return to contents]](#Contents)
## from_bytes_lowest_bits_first
[[Return to contents]](#Contents)
## from_str
[[Return to contents]](#Contents)
## hamming
[[Return to contents]](#Contents)
## join
[[Return to contents]](#Contents)
## new
[[Return to contents]](#Contents)
## BitField
[[Return to contents]](#Contents)
## str
[[Return to contents]](#Contents)
## free
[[Return to contents]](#Contents)
## get_bit
[[Return to contents]](#Contents)
## set_bit
[[Return to contents]](#Contents)
## clear_bit
[[Return to contents]](#Contents)
## extract
[[Return to contents]](#Contents)
## insert
[[Return to contents]](#Contents)
## extract_lowest_bits_first
[[Return to contents]](#Contents)
## insert_lowest_bits_first
[[Return to contents]](#Contents)
## set_all
[[Return to contents]](#Contents)
## clear_all
[[Return to contents]](#Contents)
## toggle_bit
[[Return to contents]](#Contents)
## set_if
[[Return to contents]](#Contents)
## toggle_bits
Example
```v
toggle_bits(1,3,5,7)
```
[[Return to contents]](#Contents)
## set_bits
Example
```v
set_bits(1,3,5,7)
```
[[Return to contents]](#Contents)
## clear_bits
Example
```v
clear_bits(1,3,5,7)
```
[[Return to contents]](#Contents)
## has
Example
```v
has(1,3,5,7)
```
[[Return to contents]](#Contents)
## all
Example
```v
all(1,3,5,7)
```
[[Return to contents]](#Contents)
## get_size
[[Return to contents]](#Contents)
## clone
[[Return to contents]](#Contents)
## ==
[[Return to contents]](#Contents)
## pop_count
[[Return to contents]](#Contents)
## pos
[[Return to contents]](#Contents)
## slice
[[Return to contents]](#Contents)
## reverse
[[Return to contents]](#Contents)
## resize
[[Return to contents]](#Contents)
## rotate
[[Return to contents]](#Contents)
## shift_left
[[Return to contents]](#Contents)
## shift_right
[[Return to contents]](#Contents)
#### Powered by vdoc. Generated on: 7 Feb 2025 12:06:55

2572
vdocs/builtin.md Normal file

File diff suppressed because it is too large Load Diff

61
vdocs/builtin.wchar.md Normal file
View File

@@ -0,0 +1,61 @@
# module builtin.wchar
## Contents
- [Constants](#Constants)
- [from_rune](#from_rune)
- [from_string](#from_string)
- [length_in_bytes](#length_in_bytes)
- [length_in_characters](#length_in_characters)
- [to_string](#to_string)
- [to_string2](#to_string2)
- [Character](#Character)
- [str](#str)
- [==](#==)
- [to_rune](#to_rune)
- [C.wchar_t](#C.wchar_t)
## Constants
[[Return to contents]](#Contents)
## from_rune
[[Return to contents]](#Contents)
## from_string
[[Return to contents]](#Contents)
## length_in_bytes
[[Return to contents]](#Contents)
## length_in_characters
Example
```v
assert unsafe { wchar.length_in_characters(wchar.from_string('abc')) } == 3
```
[[Return to contents]](#Contents)
## to_string
[[Return to contents]](#Contents)
## to_string2
[[Return to contents]](#Contents)
## Character
[[Return to contents]](#Contents)
## str
[[Return to contents]](#Contents)
## ==
[[Return to contents]](#Contents)
## to_rune
[[Return to contents]](#Contents)
## C.wchar_t
[[Return to contents]](#Contents)
#### Powered by vdoc. Generated on: 7 Feb 2025 12:06:55

162
vdocs/cli.md Normal file
View File

@@ -0,0 +1,162 @@
# module cli
## Contents
- [print_help_for_command](#print_help_for_command)
- [print_manpage_for_command](#print_manpage_for_command)
- [FnCommandCallback](#FnCommandCallback)
- [str](#str)
- [[]Flag](#[]Flag)
- [get_all_found](#get_all_found)
- [get_bool](#get_bool)
- [get_int](#get_int)
- [get_ints](#get_ints)
- [get_float](#get_float)
- [get_floats](#get_floats)
- [get_string](#get_string)
- [get_strings](#get_strings)
- [FlagType](#FlagType)
- [Command](#Command)
- [add_command](#add_command)
- [add_commands](#add_commands)
- [add_flag](#add_flag)
- [add_flags](#add_flags)
- [execute_help](#execute_help)
- [execute_man](#execute_man)
- [full_name](#full_name)
- [help_message](#help_message)
- [is_root](#is_root)
- [manpage](#manpage)
- [parse](#parse)
- [root](#root)
- [setup](#setup)
- [str](#str)
- [version](#version)
- [CommandFlag](#CommandFlag)
- [Flag](#Flag)
- [get_bool](#get_bool)
- [get_int](#get_int)
- [get_ints](#get_ints)
- [get_float](#get_float)
- [get_floats](#get_floats)
- [get_string](#get_string)
- [get_strings](#get_strings)
- [parse](#parse)
## print_help_for_command
[[Return to contents]](#Contents)
## print_manpage_for_command
[[Return to contents]](#Contents)
## FnCommandCallback
## str
[[Return to contents]](#Contents)
## []Flag
## get_all_found
[[Return to contents]](#Contents)
## get_bool
[[Return to contents]](#Contents)
## get_int
[[Return to contents]](#Contents)
## get_ints
[[Return to contents]](#Contents)
## get_float
[[Return to contents]](#Contents)
## get_floats
[[Return to contents]](#Contents)
## get_string
[[Return to contents]](#Contents)
## get_strings
[[Return to contents]](#Contents)
## FlagType
[[Return to contents]](#Contents)
## Command
[[Return to contents]](#Contents)
## add_command
[[Return to contents]](#Contents)
## add_commands
[[Return to contents]](#Contents)
## add_flag
[[Return to contents]](#Contents)
## add_flags
[[Return to contents]](#Contents)
## execute_help
[[Return to contents]](#Contents)
## execute_man
[[Return to contents]](#Contents)
## full_name
[[Return to contents]](#Contents)
## help_message
[[Return to contents]](#Contents)
## is_root
[[Return to contents]](#Contents)
## manpage
[[Return to contents]](#Contents)
## parse
[[Return to contents]](#Contents)
## root
[[Return to contents]](#Contents)
## setup
[[Return to contents]](#Contents)
## str
[[Return to contents]](#Contents)
## version
[[Return to contents]](#Contents)
## CommandFlag
[[Return to contents]](#Contents)
## Flag
[[Return to contents]](#Contents)
## get_bool
[[Return to contents]](#Contents)
## get_int
[[Return to contents]](#Contents)
## get_ints
[[Return to contents]](#Contents)
## get_float
[[Return to contents]](#Contents)
## get_floats
[[Return to contents]](#Contents)
## get_string
[[Return to contents]](#Contents)
## get_strings
[[Return to contents]](#Contents)
## parse
[[Return to contents]](#Contents)
#### Powered by vdoc. Generated on: 7 Feb 2025 12:06:55

42
vdocs/clipboard.dummy.md Normal file
View File

@@ -0,0 +1,42 @@
# module clipboard.dummy
## Contents
- [new_clipboard](#new_clipboard)
- [new_primary](#new_primary)
- [Clipboard](#Clipboard)
- [set_text](#set_text)
- [get_text](#get_text)
- [clear](#clear)
- [free](#free)
- [has_ownership](#has_ownership)
- [check_availability](#check_availability)
## new_clipboard
[[Return to contents]](#Contents)
## new_primary
[[Return to contents]](#Contents)
## Clipboard
[[Return to contents]](#Contents)
## set_text
[[Return to contents]](#Contents)
## get_text
[[Return to contents]](#Contents)
## clear
[[Return to contents]](#Contents)
## free
[[Return to contents]](#Contents)
## has_ownership
[[Return to contents]](#Contents)
## check_availability
[[Return to contents]](#Contents)
#### Powered by vdoc. Generated on: 7 Feb 2025 12:06:55

66
vdocs/clipboard.md Normal file
View File

@@ -0,0 +1,66 @@
# module clipboard
## Contents
- [new](#new)
- [new_primary](#new_primary)
- [Clipboard](#Clipboard)
- [check_availability](#check_availability)
- [check_ownership](#check_ownership)
- [clear](#clear)
- [clear_all](#clear_all)
- [copy](#copy)
- [destroy](#destroy)
- [free](#free)
- [get_text](#get_text)
- [has_ownership](#has_ownership)
- [is_available](#is_available)
- [paste](#paste)
- [set_text](#set_text)
## new
[[Return to contents]](#Contents)
## new_primary
[[Return to contents]](#Contents)
## Clipboard
[[Return to contents]](#Contents)
## check_availability
[[Return to contents]](#Contents)
## check_ownership
[[Return to contents]](#Contents)
## clear
[[Return to contents]](#Contents)
## clear_all
[[Return to contents]](#Contents)
## copy
[[Return to contents]](#Contents)
## destroy
[[Return to contents]](#Contents)
## free
[[Return to contents]](#Contents)
## get_text
[[Return to contents]](#Contents)
## has_ownership
[[Return to contents]](#Contents)
## is_available
[[Return to contents]](#Contents)
## paste
[[Return to contents]](#Contents)
## set_text
[[Return to contents]](#Contents)
#### Powered by vdoc. Generated on: 7 Feb 2025 12:06:55

62
vdocs/clipboard.x11.md Normal file
View File

@@ -0,0 +1,62 @@
# module clipboard.x11
## Contents
- [new_clipboard](#new_clipboard)
- [new_primary](#new_primary)
- [C.Display](#C.Display)
- [C.XDestroyWindowEvent](#C.XDestroyWindowEvent)
- [C.XSelectionClearEvent](#C.XSelectionClearEvent)
- [C.XSelectionEvent](#C.XSelectionEvent)
- [C.XSelectionRequestEvent](#C.XSelectionRequestEvent)
- [Clipboard](#Clipboard)
- [check_availability](#check_availability)
- [free](#free)
- [clear](#clear)
- [has_ownership](#has_ownership)
- [set_text](#set_text)
- [get_text](#get_text)
## new_clipboard
[[Return to contents]](#Contents)
## new_primary
[[Return to contents]](#Contents)
## C.Display
[[Return to contents]](#Contents)
## C.XDestroyWindowEvent
[[Return to contents]](#Contents)
## C.XSelectionClearEvent
[[Return to contents]](#Contents)
## C.XSelectionEvent
[[Return to contents]](#Contents)
## C.XSelectionRequestEvent
[[Return to contents]](#Contents)
## Clipboard
[[Return to contents]](#Contents)
## check_availability
[[Return to contents]](#Contents)
## free
[[Return to contents]](#Contents)
## clear
[[Return to contents]](#Contents)
## has_ownership
[[Return to contents]](#Contents)
## set_text
[[Return to contents]](#Contents)
## get_text
[[Return to contents]](#Contents)
#### Powered by vdoc. Generated on: 7 Feb 2025 12:06:55

28
vdocs/compress.deflate.md Normal file
View File

@@ -0,0 +1,28 @@
# module compress.deflate
## Contents
- [compress](#compress)
- [decompress](#decompress)
## compress
Example
```v
compressed := deflate.compress(b)!
```
[[Return to contents]](#Contents)
## decompress
Example
```v
decompressed := deflate.decompress(b)!
```
[[Return to contents]](#Contents)
#### Powered by vdoc. Generated on: 7 Feb 2025 12:06:55

66
vdocs/compress.gzip.md Normal file
View File

@@ -0,0 +1,66 @@
# module compress.gzip
## Contents
- [Constants](#Constants)
- [compress](#compress)
- [decompress](#decompress)
- [validate](#validate)
- [CompressFlags](#CompressFlags)
- [DecompressFlags](#DecompressFlags)
- [CompressParams](#CompressParams)
- [DecompressParams](#DecompressParams)
- [GzipHeader](#GzipHeader)
## Constants
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
## compress
Example
```v
compressed := gzip.compress(b, compression_level:4095)!
```
[[Return to contents]](#Contents)
## decompress
Example
```v
decompressed := gzip.decompress(b)!
```
[[Return to contents]](#Contents)
## validate
[[Return to contents]](#Contents)
## CompressFlags
[[Return to contents]](#Contents)
## DecompressFlags
[[Return to contents]](#Contents)
## CompressParams
[[Return to contents]](#Contents)
## DecompressParams
[[Return to contents]](#Contents)
## GzipHeader
[[Return to contents]](#Contents)
#### Powered by vdoc. Generated on: 7 Feb 2025 12:06:55

18
vdocs/compress.md Normal file
View File

@@ -0,0 +1,18 @@
# module compress
## Contents
- [Constants](#Constants)
- [compress](#compress)
- [decompress](#decompress)
## Constants
[[Return to contents]](#Contents)
## compress
[[Return to contents]](#Contents)
## decompress
[[Return to contents]](#Contents)
#### Powered by vdoc. Generated on: 7 Feb 2025 12:06:55

106
vdocs/compress.szip.md Normal file
View File

@@ -0,0 +1,106 @@
# module compress.szip
## Contents
- [extract_zip_to_dir](#extract_zip_to_dir)
- [open](#open)
- [zip_files](#zip_files)
- [zip_folder](#zip_folder)
- [Fn_on_extract_entry](#Fn_on_extract_entry)
- [Zip](#Zip)
- [close](#close)
- [open_entry](#open_entry)
- [open_entry_by_index](#open_entry_by_index)
- [close_entry](#close_entry)
- [name](#name)
- [index](#index)
- [is_dir](#is_dir)
- [size](#size)
- [crc32](#crc32)
- [write_entry](#write_entry)
- [create_entry](#create_entry)
- [read_entry](#read_entry)
- [read_entry_buf](#read_entry_buf)
- [extract_entry](#extract_entry)
- [total](#total)
- [CompressionLevel](#CompressionLevel)
- [OpenMode](#OpenMode)
- [C.zip_t](#C.zip_t)
- [ZipFolderOptions](#ZipFolderOptions)
## extract_zip_to_dir
[[Return to contents]](#Contents)
## open
[[Return to contents]](#Contents)
## zip_files
[[Return to contents]](#Contents)
## zip_folder
[[Return to contents]](#Contents)
## Fn_on_extract_entry
[[Return to contents]](#Contents)
## Zip
[[Return to contents]](#Contents)
## close
[[Return to contents]](#Contents)
## open_entry
[[Return to contents]](#Contents)
## open_entry_by_index
[[Return to contents]](#Contents)
## close_entry
[[Return to contents]](#Contents)
## name
[[Return to contents]](#Contents)
## index
[[Return to contents]](#Contents)
## is_dir
[[Return to contents]](#Contents)
## size
[[Return to contents]](#Contents)
## crc32
[[Return to contents]](#Contents)
## write_entry
[[Return to contents]](#Contents)
## create_entry
[[Return to contents]](#Contents)
## read_entry
[[Return to contents]](#Contents)
## read_entry_buf
[[Return to contents]](#Contents)
## extract_entry
[[Return to contents]](#Contents)
## total
[[Return to contents]](#Contents)
## CompressionLevel
[[Return to contents]](#Contents)
## OpenMode
[[Return to contents]](#Contents)
## C.zip_t
[[Return to contents]](#Contents)
## ZipFolderOptions
[[Return to contents]](#Contents)
#### Powered by vdoc. Generated on: 7 Feb 2025 12:06:55

28
vdocs/compress.zlib.md Normal file
View File

@@ -0,0 +1,28 @@
# module compress.zlib
## Contents
- [compress](#compress)
- [decompress](#decompress)
## compress
Example
```v
compressed := zlib.compress(b)!
```
[[Return to contents]](#Contents)
## decompress
Example
```v
decompressed := zlib.decompress(b)!
```
[[Return to contents]](#Contents)
#### Powered by vdoc. Generated on: 7 Feb 2025 12:06:55

148
vdocs/compress.zstd.md Normal file
View File

@@ -0,0 +1,148 @@
# module compress.zstd
## Contents
- [check_zstd](#check_zstd)
- [compress](#compress)
- [decompress](#decompress)
- [default_c_level](#default_c_level)
- [get_error_name](#get_error_name)
- [is_error](#is_error)
- [load_array](#load_array)
- [max_c_level](#max_c_level)
- [min_c_level](#min_c_level)
- [new_cctx](#new_cctx)
- [new_dctx](#new_dctx)
- [store_array](#store_array)
- [version_number](#version_number)
- [version_string](#version_string)
- [ZSTD_CCtx](#ZSTD_CCtx)
- [set_parameter](#set_parameter)
- [compress_stream2](#compress_stream2)
- [free_cctx](#free_cctx)
- [ZSTD_DCtx](#ZSTD_DCtx)
- [set_parameter](#set_parameter)
- [decompress_stream](#decompress_stream)
- [free_dctx](#free_dctx)
- [ZSTD_EndDirective](#ZSTD_EndDirective)
- [ZSTD_ResetDirective](#ZSTD_ResetDirective)
- [ZSTD_cParameter](#ZSTD_cParameter)
- [ZSTD_dParameter](#ZSTD_dParameter)
- [ZSTD_strategy](#ZSTD_strategy)
- [CompressParams](#CompressParams)
- [DecompressParams](#DecompressParams)
- [ZSTD_bounds](#ZSTD_bounds)
- [ZSTD_inBuffer](#ZSTD_inBuffer)
- [ZSTD_outBuffer](#ZSTD_outBuffer)
## check_zstd
[[Return to contents]](#Contents)
## compress
Example
```v
compressed := zstd.compress(b)!
```
[[Return to contents]](#Contents)
## decompress
Example
```v
decompressed := zstd.decompress(b)!
```
[[Return to contents]](#Contents)
## default_c_level
[[Return to contents]](#Contents)
## get_error_name
[[Return to contents]](#Contents)
## is_error
[[Return to contents]](#Contents)
## load_array
[[Return to contents]](#Contents)
## max_c_level
[[Return to contents]](#Contents)
## min_c_level
[[Return to contents]](#Contents)
## new_cctx
[[Return to contents]](#Contents)
## new_dctx
[[Return to contents]](#Contents)
## store_array
[[Return to contents]](#Contents)
## version_number
[[Return to contents]](#Contents)
## version_string
[[Return to contents]](#Contents)
## ZSTD_CCtx
[[Return to contents]](#Contents)
## set_parameter
[[Return to contents]](#Contents)
## compress_stream2
[[Return to contents]](#Contents)
## free_cctx
[[Return to contents]](#Contents)
## ZSTD_DCtx
[[Return to contents]](#Contents)
## set_parameter
[[Return to contents]](#Contents)
## decompress_stream
[[Return to contents]](#Contents)
## free_dctx
[[Return to contents]](#Contents)
## ZSTD_EndDirective
[[Return to contents]](#Contents)
## ZSTD_ResetDirective
[[Return to contents]](#Contents)
## ZSTD_cParameter
[[Return to contents]](#Contents)
## ZSTD_dParameter
[[Return to contents]](#Contents)
## ZSTD_strategy
[[Return to contents]](#Contents)
## CompressParams
[[Return to contents]](#Contents)
## DecompressParams
[[Return to contents]](#Contents)
## ZSTD_bounds
[[Return to contents]](#Contents)
## ZSTD_inBuffer
[[Return to contents]](#Contents)
## ZSTD_outBuffer
[[Return to contents]](#Contents)
#### Powered by vdoc. Generated on: 7 Feb 2025 12:06:55

166
vdocs/context.md Normal file
View File

@@ -0,0 +1,166 @@
# module context
## Contents
- [background](#background)
- [todo](#todo)
- [with_cancel](#with_cancel)
- [with_deadline](#with_deadline)
- [with_timeout](#with_timeout)
- [with_value](#with_value)
- [Any](#Any)
- [Canceler](#Canceler)
- [Context](#Context)
- [str](#str)
- [BackgroundContext](#BackgroundContext)
- [str](#str)
- [CancelFn](#CancelFn)
- [Key](#Key)
- [TodoContext](#TodoContext)
- [str](#str)
- [CancelContext](#CancelContext)
- [deadline](#deadline)
- [done](#done)
- [err](#err)
- [value](#value)
- [str](#str)
- [EmptyContext](#EmptyContext)
- [deadline](#deadline)
- [done](#done)
- [err](#err)
- [value](#value)
- [str](#str)
- [TimerContext](#TimerContext)
- [deadline](#deadline)
- [done](#done)
- [err](#err)
- [value](#value)
- [cancel](#cancel)
- [str](#str)
- [ValueContext](#ValueContext)
- [deadline](#deadline)
- [done](#done)
- [err](#err)
- [value](#value)
- [str](#str)
## background
[[Return to contents]](#Contents)
## todo
[[Return to contents]](#Contents)
## with_cancel
[[Return to contents]](#Contents)
## with_deadline
[[Return to contents]](#Contents)
## with_timeout
[[Return to contents]](#Contents)
## with_value
[[Return to contents]](#Contents)
## Any
[[Return to contents]](#Contents)
## Canceler
[[Return to contents]](#Contents)
## Context
[[Return to contents]](#Contents)
## str
[[Return to contents]](#Contents)
## BackgroundContext
## str
[[Return to contents]](#Contents)
## CancelFn
[[Return to contents]](#Contents)
## Key
[[Return to contents]](#Contents)
## TodoContext
## str
[[Return to contents]](#Contents)
## CancelContext
[[Return to contents]](#Contents)
## deadline
[[Return to contents]](#Contents)
## done
[[Return to contents]](#Contents)
## err
[[Return to contents]](#Contents)
## value
[[Return to contents]](#Contents)
## str
[[Return to contents]](#Contents)
## EmptyContext
[[Return to contents]](#Contents)
## deadline
[[Return to contents]](#Contents)
## done
[[Return to contents]](#Contents)
## err
[[Return to contents]](#Contents)
## value
[[Return to contents]](#Contents)
## str
[[Return to contents]](#Contents)
## TimerContext
[[Return to contents]](#Contents)
## deadline
[[Return to contents]](#Contents)
## done
[[Return to contents]](#Contents)
## err
[[Return to contents]](#Contents)
## value
[[Return to contents]](#Contents)
## cancel
[[Return to contents]](#Contents)
## str
[[Return to contents]](#Contents)
## ValueContext
[[Return to contents]](#Contents)
## deadline
[[Return to contents]](#Contents)
## done
[[Return to contents]](#Contents)
## err
[[Return to contents]](#Contents)
## value
[[Return to contents]](#Contents)
## str
[[Return to contents]](#Contents)
#### Powered by vdoc. Generated on: 7 Feb 2025 12:06:55

View File

@@ -0,0 +1,52 @@
# module context.onecontext
## Contents
- [Constants](#Constants)
- [merge](#merge)
- [OneContext](#OneContext)
- [deadline](#deadline)
- [done](#done)
- [err](#err)
- [value](#value)
- [run](#run)
- [str](#str)
- [cancel](#cancel)
- [run_two_contexts](#run_two_contexts)
- [run_multiple_contexts](#run_multiple_contexts)
## Constants
[[Return to contents]](#Contents)
## merge
[[Return to contents]](#Contents)
## OneContext
## deadline
[[Return to contents]](#Contents)
## done
[[Return to contents]](#Contents)
## err
[[Return to contents]](#Contents)
## value
[[Return to contents]](#Contents)
## run
[[Return to contents]](#Contents)
## str
[[Return to contents]](#Contents)
## cancel
[[Return to contents]](#Contents)
## run_two_contexts
[[Return to contents]](#Contents)
## run_multiple_contexts
[[Return to contents]](#Contents)
#### Powered by vdoc. Generated on: 7 Feb 2025 12:06:55

10
vdocs/coroutines.md Normal file
View File

@@ -0,0 +1,10 @@
# module coroutines
## Contents
- [sleep](#sleep)
## sleep
[[Return to contents]](#Contents)
#### Powered by vdoc. Generated on: 7 Feb 2025 12:06:55

32
vdocs/crypto.aes.md Normal file
View File

@@ -0,0 +1,32 @@
# module crypto.aes
## Contents
- [Constants](#Constants)
- [new_cipher](#new_cipher)
- [AesCipher](#AesCipher)
- [free](#free)
- [block_size](#block_size)
- [encrypt](#encrypt)
- [decrypt](#decrypt)
## Constants
[[Return to contents]](#Contents)
## new_cipher
[[Return to contents]](#Contents)
## AesCipher
## free
[[Return to contents]](#Contents)
## block_size
[[Return to contents]](#Contents)
## encrypt
[[Return to contents]](#Contents)
## decrypt
[[Return to contents]](#Contents)
#### Powered by vdoc. Generated on: 7 Feb 2025 12:06:55

48
vdocs/crypto.bcrypt.md Normal file
View File

@@ -0,0 +1,48 @@
# module crypto.bcrypt
## Contents
- [Constants](#Constants)
- [compare_hash_and_password](#compare_hash_and_password)
- [generate_from_password](#generate_from_password)
- [generate_salt](#generate_salt)
- [Hashed](#Hashed)
- [free](#free)
## Constants
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
## compare_hash_and_password
[[Return to contents]](#Contents)
## generate_from_password
[[Return to contents]](#Contents)
## generate_salt
[[Return to contents]](#Contents)
## Hashed
[[Return to contents]](#Contents)
## free
[[Return to contents]](#Contents)
#### Powered by vdoc. Generated on: 7 Feb 2025 12:06:55

100
vdocs/crypto.blake2b.md Normal file
View File

@@ -0,0 +1,100 @@
# module crypto.blake2b
## Contents
- [Constants](#Constants)
- [new160](#new160)
- [new256](#new256)
- [new384](#new384)
- [new512](#new512)
- [new_digest](#new_digest)
- [new_pmac160](#new_pmac160)
- [new_pmac256](#new_pmac256)
- [new_pmac384](#new_pmac384)
- [new_pmac512](#new_pmac512)
- [pmac160](#pmac160)
- [pmac256](#pmac256)
- [pmac384](#pmac384)
- [pmac512](#pmac512)
- [sum160](#sum160)
- [sum256](#sum256)
- [sum384](#sum384)
- [sum512](#sum512)
- [Digest](#Digest)
- [str](#str)
- [write](#write)
- [checksum](#checksum)
## Constants
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
## new160
[[Return to contents]](#Contents)
## new256
[[Return to contents]](#Contents)
## new384
[[Return to contents]](#Contents)
## new512
[[Return to contents]](#Contents)
## new_digest
[[Return to contents]](#Contents)
## new_pmac160
[[Return to contents]](#Contents)
## new_pmac256
[[Return to contents]](#Contents)
## new_pmac384
[[Return to contents]](#Contents)
## new_pmac512
[[Return to contents]](#Contents)
## pmac160
[[Return to contents]](#Contents)
## pmac256
[[Return to contents]](#Contents)
## pmac384
[[Return to contents]](#Contents)
## pmac512
[[Return to contents]](#Contents)
## sum160
[[Return to contents]](#Contents)
## sum256
[[Return to contents]](#Contents)
## sum384
[[Return to contents]](#Contents)
## sum512
[[Return to contents]](#Contents)
## Digest
## str
[[Return to contents]](#Contents)
## write
[[Return to contents]](#Contents)
## checksum
[[Return to contents]](#Contents)
#### Powered by vdoc. Generated on: 7 Feb 2025 12:06:55

100
vdocs/crypto.blake2s.md Normal file
View File

@@ -0,0 +1,100 @@
# module crypto.blake2s
## Contents
- [Constants](#Constants)
- [new128](#new128)
- [new160](#new160)
- [new224](#new224)
- [new256](#new256)
- [new_digest](#new_digest)
- [new_pmac128](#new_pmac128)
- [new_pmac160](#new_pmac160)
- [new_pmac224](#new_pmac224)
- [new_pmac256](#new_pmac256)
- [pmac128](#pmac128)
- [pmac160](#pmac160)
- [pmac224](#pmac224)
- [pmac256](#pmac256)
- [sum128](#sum128)
- [sum160](#sum160)
- [sum224](#sum224)
- [sum256](#sum256)
- [Digest](#Digest)
- [str](#str)
- [write](#write)
- [checksum](#checksum)
## Constants
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
## new128
[[Return to contents]](#Contents)
## new160
[[Return to contents]](#Contents)
## new224
[[Return to contents]](#Contents)
## new256
[[Return to contents]](#Contents)
## new_digest
[[Return to contents]](#Contents)
## new_pmac128
[[Return to contents]](#Contents)
## new_pmac160
[[Return to contents]](#Contents)
## new_pmac224
[[Return to contents]](#Contents)
## new_pmac256
[[Return to contents]](#Contents)
## pmac128
[[Return to contents]](#Contents)
## pmac160
[[Return to contents]](#Contents)
## pmac224
[[Return to contents]](#Contents)
## pmac256
[[Return to contents]](#Contents)
## sum128
[[Return to contents]](#Contents)
## sum160
[[Return to contents]](#Contents)
## sum224
[[Return to contents]](#Contents)
## sum256
[[Return to contents]](#Contents)
## Digest
## str
[[Return to contents]](#Contents)
## write
[[Return to contents]](#Contents)
## checksum
[[Return to contents]](#Contents)
#### Powered by vdoc. Generated on: 7 Feb 2025 12:06:55

50
vdocs/crypto.blake3.md Normal file
View File

@@ -0,0 +1,50 @@
# module crypto.blake3
## Contents
- [Constants](#Constants)
- [sum256](#sum256)
- [sum_derive_key256](#sum_derive_key256)
- [sum_keyed256](#sum_keyed256)
- [Digest.new_derive_key_hash](#Digest.new_derive_key_hash)
- [Digest.new_hash](#Digest.new_hash)
- [Digest.new_keyed_hash](#Digest.new_keyed_hash)
- [Digest](#Digest)
- [write](#write)
- [checksum](#checksum)
## Constants
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
## sum256
[[Return to contents]](#Contents)
## sum_derive_key256
[[Return to contents]](#Contents)
## sum_keyed256
[[Return to contents]](#Contents)
## Digest.new_derive_key_hash
[[Return to contents]](#Contents)
## Digest.new_hash
[[Return to contents]](#Contents)
## Digest.new_keyed_hash
[[Return to contents]](#Contents)
## Digest
## write
[[Return to contents]](#Contents)
## checksum
[[Return to contents]](#Contents)
#### Powered by vdoc. Generated on: 7 Feb 2025 12:06:55

36
vdocs/crypto.blowfish.md Normal file
View File

@@ -0,0 +1,36 @@
# module crypto.blowfish
## Contents
- [Constants](#Constants)
- [expand_key](#expand_key)
- [expand_key_with_salt](#expand_key_with_salt)
- [new_cipher](#new_cipher)
- [new_salted_cipher](#new_salted_cipher)
- [Blowfish](#Blowfish)
- [encrypt](#encrypt)
## Constants
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
## expand_key
[[Return to contents]](#Contents)
## expand_key_with_salt
[[Return to contents]](#Contents)
## new_cipher
[[Return to contents]](#Contents)
## new_salted_cipher
[[Return to contents]](#Contents)
## Blowfish
[[Return to contents]](#Contents)
## encrypt
[[Return to contents]](#Contents)
#### Powered by vdoc. Generated on: 7 Feb 2025 12:06:55

90
vdocs/crypto.cipher.md Normal file
View File

@@ -0,0 +1,90 @@
# module crypto.cipher
## Contents
- [new_cbc](#new_cbc)
- [new_cfb_decrypter](#new_cfb_decrypter)
- [new_cfb_encrypter](#new_cfb_encrypter)
- [new_ctr](#new_ctr)
- [new_ofb](#new_ofb)
- [safe_xor_bytes](#safe_xor_bytes)
- [xor_bytes](#xor_bytes)
- [xor_words](#xor_words)
- [Block](#Block)
- [BlockMode](#BlockMode)
- [Stream](#Stream)
- [Cbc](#Cbc)
- [free](#free)
- [encrypt_blocks](#encrypt_blocks)
- [decrypt_blocks](#decrypt_blocks)
- [Cfb](#Cfb)
- [free](#free)
- [xor_key_stream](#xor_key_stream)
- [Ctr](#Ctr)
- [free](#free)
- [xor_key_stream](#xor_key_stream)
- [Ofb](#Ofb)
- [xor_key_stream](#xor_key_stream)
## new_cbc
[[Return to contents]](#Contents)
## new_cfb_decrypter
[[Return to contents]](#Contents)
## new_cfb_encrypter
[[Return to contents]](#Contents)
## new_ctr
[[Return to contents]](#Contents)
## new_ofb
[[Return to contents]](#Contents)
## safe_xor_bytes
[[Return to contents]](#Contents)
## xor_bytes
[[Return to contents]](#Contents)
## xor_words
[[Return to contents]](#Contents)
## Block
[[Return to contents]](#Contents)
## BlockMode
[[Return to contents]](#Contents)
## Stream
[[Return to contents]](#Contents)
## Cbc
## free
[[Return to contents]](#Contents)
## encrypt_blocks
[[Return to contents]](#Contents)
## decrypt_blocks
[[Return to contents]](#Contents)
## Cfb
## free
[[Return to contents]](#Contents)
## xor_key_stream
[[Return to contents]](#Contents)
## Ctr
## free
[[Return to contents]](#Contents)
## xor_key_stream
[[Return to contents]](#Contents)
## Ofb
## xor_key_stream
[[Return to contents]](#Contents)
#### Powered by vdoc. Generated on: 7 Feb 2025 12:06:55

38
vdocs/crypto.des.md Normal file
View File

@@ -0,0 +1,38 @@
# module crypto.des
## Contents
- [encrypt_block](#encrypt_block)
- [new_cipher](#new_cipher)
- [new_triple_des_cipher](#new_triple_des_cipher)
- [DesCipher](#DesCipher)
- [encrypt](#encrypt)
- [decrypt](#decrypt)
- [TripleDesCipher](#TripleDesCipher)
- [encrypt](#encrypt)
- [decrypt](#decrypt)
## encrypt_block
[[Return to contents]](#Contents)
## new_cipher
[[Return to contents]](#Contents)
## new_triple_des_cipher
[[Return to contents]](#Contents)
## DesCipher
## encrypt
[[Return to contents]](#Contents)
## decrypt
[[Return to contents]](#Contents)
## TripleDesCipher
## encrypt
[[Return to contents]](#Contents)
## decrypt
[[Return to contents]](#Contents)
#### Powered by vdoc. Generated on: 7 Feb 2025 12:06:55

102
vdocs/crypto.ecdsa.md Normal file
View File

@@ -0,0 +1,102 @@
# module crypto.ecdsa
## Contents
- [generate_key](#generate_key)
- [new_key_from_seed](#new_key_from_seed)
- [privkey_from_string](#privkey_from_string)
- [pubkey_from_bytes](#pubkey_from_bytes)
- [pubkey_from_string](#pubkey_from_string)
- [PrivateKey.new](#PrivateKey.new)
- [HashConfig](#HashConfig)
- [Nid](#Nid)
- [C.BIO](#C.BIO)
- [CurveOptions](#CurveOptions)
- [PrivateKey](#PrivateKey)
- [sign](#sign)
- [sign_with_options](#sign_with_options)
- [bytes](#bytes)
- [seed](#seed)
- [public_key](#public_key)
- [equal](#equal)
- [free](#free)
- [PublicKey](#PublicKey)
- [bytes](#bytes)
- [equal](#equal)
- [free](#free)
- [verify](#verify)
- [SignerOpts](#SignerOpts)
## generate_key
[[Return to contents]](#Contents)
## new_key_from_seed
[[Return to contents]](#Contents)
## privkey_from_string
[[Return to contents]](#Contents)
## pubkey_from_bytes
[[Return to contents]](#Contents)
## pubkey_from_string
[[Return to contents]](#Contents)
## PrivateKey.new
[[Return to contents]](#Contents)
## HashConfig
[[Return to contents]](#Contents)
## Nid
[[Return to contents]](#Contents)
## C.BIO
[[Return to contents]](#Contents)
## CurveOptions
[[Return to contents]](#Contents)
## PrivateKey
[[Return to contents]](#Contents)
## sign
[[Return to contents]](#Contents)
## sign_with_options
[[Return to contents]](#Contents)
## bytes
[[Return to contents]](#Contents)
## seed
[[Return to contents]](#Contents)
## public_key
[[Return to contents]](#Contents)
## equal
[[Return to contents]](#Contents)
## free
[[Return to contents]](#Contents)
## PublicKey
[[Return to contents]](#Contents)
## bytes
[[Return to contents]](#Contents)
## equal
[[Return to contents]](#Contents)
## free
[[Return to contents]](#Contents)
## verify
[[Return to contents]](#Contents)
## SignerOpts
[[Return to contents]](#Contents)
#### Powered by vdoc. Generated on: 7 Feb 2025 12:06:55

View File

@@ -0,0 +1,224 @@
# module crypto.ed25519.internal.edwards25519
## Contents
- [Constants](#Constants)
- [new_generator_point](#new_generator_point)
- [new_identity_point](#new_identity_point)
- [new_scalar](#new_scalar)
- [Scalar](#Scalar)
- [add](#add)
- [bytes](#bytes)
- [equal](#equal)
- [invert](#invert)
- [multiply](#multiply)
- [multiply_add](#multiply_add)
- [negate](#negate)
- [non_adjacent_form](#non_adjacent_form)
- [set](#set)
- [set_bytes_with_clamping](#set_bytes_with_clamping)
- [set_canonical_bytes](#set_canonical_bytes)
- [set_uniform_bytes](#set_uniform_bytes)
- [subtract](#subtract)
- [Element](#Element)
- [zero](#zero)
- [one](#one)
- [reduce](#reduce)
- [add](#add)
- [subtract](#subtract)
- [negate](#negate)
- [invert](#invert)
- [square](#square)
- [multiply](#multiply)
- [pow_22523](#pow_22523)
- [sqrt_ratio](#sqrt_ratio)
- [selected](#selected)
- [is_negative](#is_negative)
- [absolute](#absolute)
- [set](#set)
- [set_bytes](#set_bytes)
- [bytes](#bytes)
- [equal](#equal)
- [swap](#swap)
- [mult_32](#mult_32)
- [Point](#Point)
- [add](#add)
- [bytes](#bytes)
- [bytes_montgomery](#bytes_montgomery)
- [equal](#equal)
- [mult_by_cofactor](#mult_by_cofactor)
- [multi_scalar_mult](#multi_scalar_mult)
- [negate](#negate)
- [scalar_base_mult](#scalar_base_mult)
- [scalar_mult](#scalar_mult)
- [set](#set)
- [set_bytes](#set_bytes)
- [subtract](#subtract)
- [vartime_double_scalar_base_mult](#vartime_double_scalar_base_mult)
- [vartime_multiscalar_mult](#vartime_multiscalar_mult)
## Constants
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
## new_generator_point
[[Return to contents]](#Contents)
## new_identity_point
[[Return to contents]](#Contents)
## new_scalar
[[Return to contents]](#Contents)
## Scalar
## add
[[Return to contents]](#Contents)
## bytes
[[Return to contents]](#Contents)
## equal
[[Return to contents]](#Contents)
## invert
[[Return to contents]](#Contents)
## multiply
[[Return to contents]](#Contents)
## multiply_add
[[Return to contents]](#Contents)
## negate
[[Return to contents]](#Contents)
## non_adjacent_form
[[Return to contents]](#Contents)
## set
[[Return to contents]](#Contents)
## set_bytes_with_clamping
[[Return to contents]](#Contents)
## set_canonical_bytes
[[Return to contents]](#Contents)
## set_uniform_bytes
[[Return to contents]](#Contents)
## subtract
[[Return to contents]](#Contents)
## Element
[[Return to contents]](#Contents)
## zero
[[Return to contents]](#Contents)
## one
[[Return to contents]](#Contents)
## reduce
[[Return to contents]](#Contents)
## add
[[Return to contents]](#Contents)
## subtract
[[Return to contents]](#Contents)
## negate
[[Return to contents]](#Contents)
## invert
[[Return to contents]](#Contents)
## square
[[Return to contents]](#Contents)
## multiply
[[Return to contents]](#Contents)
## pow_22523
[[Return to contents]](#Contents)
## sqrt_ratio
[[Return to contents]](#Contents)
## selected
[[Return to contents]](#Contents)
## is_negative
[[Return to contents]](#Contents)
## absolute
[[Return to contents]](#Contents)
## set
[[Return to contents]](#Contents)
## set_bytes
[[Return to contents]](#Contents)
## bytes
[[Return to contents]](#Contents)
## equal
[[Return to contents]](#Contents)
## swap
[[Return to contents]](#Contents)
## mult_32
[[Return to contents]](#Contents)
## Point
[[Return to contents]](#Contents)
## add
[[Return to contents]](#Contents)
## bytes
[[Return to contents]](#Contents)
## bytes_montgomery
[[Return to contents]](#Contents)
## equal
[[Return to contents]](#Contents)
## mult_by_cofactor
[[Return to contents]](#Contents)
## multi_scalar_mult
[[Return to contents]](#Contents)
## negate
[[Return to contents]](#Contents)
## scalar_base_mult
[[Return to contents]](#Contents)
## scalar_mult
[[Return to contents]](#Contents)
## set
[[Return to contents]](#Contents)
## set_bytes
[[Return to contents]](#Contents)
## subtract
[[Return to contents]](#Contents)
## vartime_double_scalar_base_mult
[[Return to contents]](#Contents)
## vartime_multiscalar_mult
[[Return to contents]](#Contents)
#### Powered by vdoc. Generated on: 7 Feb 2025 12:06:55

60
vdocs/crypto.ed25519.md Normal file
View File

@@ -0,0 +1,60 @@
# module crypto.ed25519
## Contents
- [Constants](#Constants)
- [generate_key](#generate_key)
- [new_key_from_seed](#new_key_from_seed)
- [sign](#sign)
- [verify](#verify)
- [PrivateKey](#PrivateKey)
- [seed](#seed)
- [public_key](#public_key)
- [equal](#equal)
- [sign](#sign)
- [PublicKey](#PublicKey)
- [equal](#equal)
## Constants
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
## generate_key
[[Return to contents]](#Contents)
## new_key_from_seed
[[Return to contents]](#Contents)
## sign
[[Return to contents]](#Contents)
## verify
[[Return to contents]](#Contents)
## PrivateKey
[[Return to contents]](#Contents)
## seed
[[Return to contents]](#Contents)
## public_key
[[Return to contents]](#Contents)
## equal
[[Return to contents]](#Contents)
## sign
[[Return to contents]](#Contents)
## PublicKey
[[Return to contents]](#Contents)
## equal
[[Return to contents]](#Contents)
#### Powered by vdoc. Generated on: 7 Feb 2025 12:06:55

14
vdocs/crypto.hmac.md Normal file
View File

@@ -0,0 +1,14 @@
# module crypto.hmac
## Contents
- [equal](#equal)
- [new](#new)
## equal
[[Return to contents]](#Contents)
## new
[[Return to contents]](#Contents)
#### Powered by vdoc. Generated on: 7 Feb 2025 12:06:55

View File

@@ -0,0 +1,38 @@
# module crypto.internal.subtle
## Contents
- [any_overlap](#any_overlap)
- [constant_time_byte_eq](#constant_time_byte_eq)
- [constant_time_compare](#constant_time_compare)
- [constant_time_copy](#constant_time_copy)
- [constant_time_eq](#constant_time_eq)
- [constant_time_less_or_eq](#constant_time_less_or_eq)
- [constant_time_select](#constant_time_select)
- [inexact_overlap](#inexact_overlap)
## any_overlap
[[Return to contents]](#Contents)
## constant_time_byte_eq
[[Return to contents]](#Contents)
## constant_time_compare
[[Return to contents]](#Contents)
## constant_time_copy
[[Return to contents]](#Contents)
## constant_time_eq
[[Return to contents]](#Contents)
## constant_time_less_or_eq
[[Return to contents]](#Contents)
## constant_time_select
[[Return to contents]](#Contents)
## inexact_overlap
[[Return to contents]](#Contents)
#### Powered by vdoc. Generated on: 7 Feb 2025 12:06:55

10
vdocs/crypto.md Normal file
View File

@@ -0,0 +1,10 @@
# module crypto
## Contents
- [Hash](#Hash)
## Hash
[[Return to contents]](#Contents)
#### Powered by vdoc. Generated on: 7 Feb 2025 12:06:55

57
vdocs/crypto.md5.md Normal file
View File

@@ -0,0 +1,57 @@
# module crypto.md5
## Contents
- [Constants](#Constants)
- [hexhash](#hexhash)
- [new](#new)
- [sum](#sum)
- [Digest](#Digest)
- [free](#free)
- [reset](#reset)
- [write](#write)
- [sum](#sum)
- [size](#size)
- [block_size](#block_size)
## Constants
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
## hexhash
Example
```v
assert md5.hexhash('V') == '5206560a306a2e085a437fd258eb57ce'
```
[[Return to contents]](#Contents)
## new
[[Return to contents]](#Contents)
## sum
[[Return to contents]](#Contents)
## Digest
## free
[[Return to contents]](#Contents)
## reset
[[Return to contents]](#Contents)
## write
[[Return to contents]](#Contents)
## sum
[[Return to contents]](#Contents)
## size
[[Return to contents]](#Contents)
## block_size
[[Return to contents]](#Contents)
#### Powered by vdoc. Generated on: 7 Feb 2025 12:06:55

10
vdocs/crypto.pbkdf2.md Normal file
View File

@@ -0,0 +1,10 @@
# module crypto.pbkdf2
## Contents
- [key](#key)
## key
[[Return to contents]](#Contents)
#### Powered by vdoc. Generated on: 7 Feb 2025 12:06:55

46
vdocs/crypto.pem.md Normal file
View File

@@ -0,0 +1,46 @@
# module crypto.pem
## Contents
- [decode](#decode)
- [decode_only](#decode_only)
- [Block.new](#Block.new)
- [Header](#Header)
- [str](#str)
- [Block](#Block)
- [encode](#encode)
- [free](#free)
- [header_by_key](#header_by_key)
- [EncodeConfig](#EncodeConfig)
## decode
[[Return to contents]](#Contents)
## decode_only
[[Return to contents]](#Contents)
## Block.new
[[Return to contents]](#Contents)
## Header
[[Return to contents]](#Contents)
## str
[[Return to contents]](#Contents)
## Block
[[Return to contents]](#Contents)
## encode
[[Return to contents]](#Contents)
## free
[[Return to contents]](#Contents)
## header_by_key
[[Return to contents]](#Contents)
## EncodeConfig
[[Return to contents]](#Contents)
#### Powered by vdoc. Generated on: 7 Feb 2025 12:06:55

28
vdocs/crypto.rand.md Normal file
View File

@@ -0,0 +1,28 @@
# module crypto.rand
## Contents
- [bytes](#bytes)
- [int_big](#int_big)
- [int_u64](#int_u64)
- [read](#read)
- [ReadError](#ReadError)
- [msg](#msg)
## bytes
[[Return to contents]](#Contents)
## int_big
[[Return to contents]](#Contents)
## int_u64
[[Return to contents]](#Contents)
## read
[[Return to contents]](#Contents)
## ReadError
## msg
[[Return to contents]](#Contents)
#### Powered by vdoc. Generated on: 7 Feb 2025 12:06:55

24
vdocs/crypto.rc4.md Normal file
View File

@@ -0,0 +1,24 @@
# module crypto.rc4
## Contents
- [new_cipher](#new_cipher)
- [Cipher](#Cipher)
- [free](#free)
- [reset](#reset)
- [xor_key_stream](#xor_key_stream)
## new_cipher
[[Return to contents]](#Contents)
## Cipher
## free
[[Return to contents]](#Contents)
## reset
[[Return to contents]](#Contents)
## xor_key_stream
[[Return to contents]](#Contents)
#### Powered by vdoc. Generated on: 7 Feb 2025 12:06:55

16
vdocs/crypto.scrypt.md Normal file
View File

@@ -0,0 +1,16 @@
# module crypto.scrypt
## Contents
- [Constants](#Constants)
- [scrypt](#scrypt)
## Constants
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
## scrypt
[[Return to contents]](#Contents)
#### Powered by vdoc. Generated on: 7 Feb 2025 12:06:55

50
vdocs/crypto.sha1.md Normal file
View File

@@ -0,0 +1,50 @@
# module crypto.sha1
## Contents
- [Constants](#Constants)
- [hexhash](#hexhash)
- [new](#new)
- [sum](#sum)
- [Digest](#Digest)
- [free](#free)
- [reset](#reset)
- [write](#write)
- [sum](#sum)
- [size](#size)
- [block_size](#block_size)
## Constants
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
## hexhash
[[Return to contents]](#Contents)
## new
[[Return to contents]](#Contents)
## sum
[[Return to contents]](#Contents)
## Digest
## free
[[Return to contents]](#Contents)
## reset
[[Return to contents]](#Contents)
## write
[[Return to contents]](#Contents)
## sum
[[Return to contents]](#Contents)
## size
[[Return to contents]](#Contents)
## block_size
[[Return to contents]](#Contents)
#### Powered by vdoc. Generated on: 7 Feb 2025 12:06:55

82
vdocs/crypto.sha256.md Normal file
View File

@@ -0,0 +1,82 @@
# module crypto.sha256
## Contents
- [Constants](#Constants)
- [hexhash](#hexhash)
- [hexhash_224](#hexhash_224)
- [new](#new)
- [new224](#new224)
- [sum](#sum)
- [sum224](#sum224)
- [sum256](#sum256)
- [Digest](#Digest)
- [free](#free)
- [reset](#reset)
- [write](#write)
- [sum](#sum)
- [size](#size)
- [block_size](#block_size)
## Constants
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
## hexhash
Example
```v
assert sha256.hexhash('V') == 'de5a6f78116eca62d7fc5ce159d23ae6b889b365a1739ad2cf36f925a140d0cc'
```
[[Return to contents]](#Contents)
## hexhash_224
[[Return to contents]](#Contents)
## new
[[Return to contents]](#Contents)
## new224
[[Return to contents]](#Contents)
## sum
Example
```v
assert sha256.sum('V'.bytes()).len > 0 == true
```
[[Return to contents]](#Contents)
## sum224
[[Return to contents]](#Contents)
## sum256
[[Return to contents]](#Contents)
## Digest
## free
[[Return to contents]](#Contents)
## reset
[[Return to contents]](#Contents)
## write
[[Return to contents]](#Contents)
## sum
[[Return to contents]](#Contents)
## size
[[Return to contents]](#Contents)
## block_size
[[Return to contents]](#Contents)
#### Powered by vdoc. Generated on: 7 Feb 2025 12:06:55

118
vdocs/crypto.sha3.md Normal file
View File

@@ -0,0 +1,118 @@
# module crypto.sha3
## Contents
- [Constants](#Constants)
- [keccak256](#keccak256)
- [keccak512](#keccak512)
- [new128xof](#new128xof)
- [new224](#new224)
- [new256](#new256)
- [new256keccak](#new256keccak)
- [new256xof](#new256xof)
- [new384](#new384)
- [new512](#new512)
- [new512keccak](#new512keccak)
- [new_digest](#new_digest)
- [new_xof_digest](#new_xof_digest)
- [shake128](#shake128)
- [shake256](#shake256)
- [sum224](#sum224)
- [sum256](#sum256)
- [sum384](#sum384)
- [sum512](#sum512)
- [Digest](#Digest)
- [write](#write)
- [checksum](#checksum)
- [Padding](#Padding)
- [PaddingConfig](#PaddingConfig)
## Constants
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
## keccak256
[[Return to contents]](#Contents)
## keccak512
[[Return to contents]](#Contents)
## new128xof
[[Return to contents]](#Contents)
## new224
[[Return to contents]](#Contents)
## new256
[[Return to contents]](#Contents)
## new256keccak
[[Return to contents]](#Contents)
## new256xof
[[Return to contents]](#Contents)
## new384
[[Return to contents]](#Contents)
## new512
[[Return to contents]](#Contents)
## new512keccak
[[Return to contents]](#Contents)
## new_digest
[[Return to contents]](#Contents)
## new_xof_digest
[[Return to contents]](#Contents)
## shake128
[[Return to contents]](#Contents)
## shake256
[[Return to contents]](#Contents)
## sum224
[[Return to contents]](#Contents)
## sum256
[[Return to contents]](#Contents)
## sum384
[[Return to contents]](#Contents)
## sum512
[[Return to contents]](#Contents)
## Digest
## write
[[Return to contents]](#Contents)
## checksum
[[Return to contents]](#Contents)
## Padding
[[Return to contents]](#Contents)
## PaddingConfig
[[Return to contents]](#Contents)
#### Powered by vdoc. Generated on: 7 Feb 2025 12:06:55

92
vdocs/crypto.sha512.md Normal file
View File

@@ -0,0 +1,92 @@
# module crypto.sha512
## Contents
- [Constants](#Constants)
- [hexhash](#hexhash)
- [hexhash_384](#hexhash_384)
- [hexhash_512_224](#hexhash_512_224)
- [hexhash_512_256](#hexhash_512_256)
- [new](#new)
- [new384](#new384)
- [new512_224](#new512_224)
- [new512_256](#new512_256)
- [sum384](#sum384)
- [sum512](#sum512)
- [sum512_224](#sum512_224)
- [sum512_256](#sum512_256)
- [Digest](#Digest)
- [free](#free)
- [reset](#reset)
- [write](#write)
- [sum](#sum)
- [size](#size)
- [block_size](#block_size)
## Constants
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
## hexhash
[[Return to contents]](#Contents)
## hexhash_384
[[Return to contents]](#Contents)
## hexhash_512_224
[[Return to contents]](#Contents)
## hexhash_512_256
[[Return to contents]](#Contents)
## new
[[Return to contents]](#Contents)
## new384
[[Return to contents]](#Contents)
## new512_224
[[Return to contents]](#Contents)
## new512_256
[[Return to contents]](#Contents)
## sum384
[[Return to contents]](#Contents)
## sum512
[[Return to contents]](#Contents)
## sum512_224
[[Return to contents]](#Contents)
## sum512_256
[[Return to contents]](#Contents)
## Digest
## free
[[Return to contents]](#Contents)
## reset
[[Return to contents]](#Contents)
## write
[[Return to contents]](#Contents)
## sum
[[Return to contents]](#Contents)
## size
[[Return to contents]](#Contents)
## block_size
[[Return to contents]](#Contents)
#### Powered by vdoc. Generated on: 7 Feb 2025 12:06:55

42
vdocs/datatypes.fsm.md Normal file
View File

@@ -0,0 +1,42 @@
# module datatypes.fsm
## Contents
- [new](#new)
- [ConditionFn](#ConditionFn)
- [EventHandlerFn](#EventHandlerFn)
- [StateMachine](#StateMachine)
- [set_state](#set_state)
- [get_state](#get_state)
- [add_state](#add_state)
- [add_transition](#add_transition)
- [run](#run)
## new
[[Return to contents]](#Contents)
## ConditionFn
[[Return to contents]](#Contents)
## EventHandlerFn
[[Return to contents]](#Contents)
## StateMachine
[[Return to contents]](#Contents)
## set_state
[[Return to contents]](#Contents)
## get_state
[[Return to contents]](#Contents)
## add_state
[[Return to contents]](#Contents)
## add_transition
[[Return to contents]](#Contents)
## run
[[Return to contents]](#Contents)
#### Powered by vdoc. Generated on: 7 Feb 2025 12:06:55

510
vdocs/datatypes.md Normal file
View File

@@ -0,0 +1,510 @@
# module datatypes
## Contents
- [new_bloom_filter](#new_bloom_filter)
- [new_bloom_filter_fast](#new_bloom_filter_fast)
- [new_ringbuffer](#new_ringbuffer)
- [BSTree[T]](#BSTree[T])
- [insert](#insert)
- [contains](#contains)
- [remove](#remove)
- [is_empty](#is_empty)
- [in_order_traversal](#in_order_traversal)
- [post_order_traversal](#post_order_traversal)
- [pre_order_traversal](#pre_order_traversal)
- [to_left](#to_left)
- [to_right](#to_right)
- [max](#max)
- [min](#min)
- [BloomFilter[T]](#BloomFilter[T])
- [add](#add)
- [exists](#exists)
- [@union](#@union)
- [intersection](#intersection)
- [DoublyLinkedList[T]](#DoublyLinkedList[T])
- [is_empty](#is_empty)
- [len](#len)
- [first](#first)
- [last](#last)
- [push_back](#push_back)
- [push_front](#push_front)
- [push_many](#push_many)
- [pop_back](#pop_back)
- [pop_front](#pop_front)
- [insert](#insert)
- [index](#index)
- [delete](#delete)
- [str](#str)
- [array](#array)
- [next](#next)
- [iterator](#iterator)
- [back_iterator](#back_iterator)
- [DoublyListIterBack[T]](#DoublyListIterBack[T])
- [next](#next)
- [DoublyListIter[T]](#DoublyListIter[T])
- [next](#next)
- [LinkedList[T]](#LinkedList[T])
- [is_empty](#is_empty)
- [len](#len)
- [first](#first)
- [last](#last)
- [index](#index)
- [push](#push)
- [push_many](#push_many)
- [pop](#pop)
- [shift](#shift)
- [insert](#insert)
- [prepend](#prepend)
- [str](#str)
- [array](#array)
- [next](#next)
- [iterator](#iterator)
- [ListIter[T]](#ListIter[T])
- [next](#next)
- [MinHeap[T]](#MinHeap[T])
- [insert](#insert)
- [insert_many](#insert_many)
- [pop](#pop)
- [peek](#peek)
- [len](#len)
- [Queue[T]](#Queue[T])
- [is_empty](#is_empty)
- [len](#len)
- [peek](#peek)
- [last](#last)
- [index](#index)
- [push](#push)
- [pop](#pop)
- [str](#str)
- [array](#array)
- [RingBuffer[T]](#RingBuffer[T])
- [push](#push)
- [pop](#pop)
- [push_many](#push_many)
- [pop_many](#pop_many)
- [is_empty](#is_empty)
- [is_full](#is_full)
- [capacity](#capacity)
- [clear](#clear)
- [occupied](#occupied)
- [remaining](#remaining)
- [Set[T]](#Set[T])
- [exists](#exists)
- [add](#add)
- [remove](#remove)
- [pick](#pick)
- [rest](#rest)
- [pop](#pop)
- [clear](#clear)
- [==](#==)
- [is_empty](#is_empty)
- [size](#size)
- [copy](#copy)
- [add_all](#add_all)
- [@union](#@union)
- [intersection](#intersection)
- [-](#-)
- [subset](#subset)
- [Stack[T]](#Stack[T])
- [is_empty](#is_empty)
- [len](#len)
- [peek](#peek)
- [push](#push)
- [pop](#pop)
- [str](#str)
- [array](#array)
- [Direction](#Direction)
- [AABB](#AABB)
- [BSTree](#BSTree)
- [DoublyLinkedList](#DoublyLinkedList)
- [DoublyListIter](#DoublyListIter)
- [DoublyListIterBack](#DoublyListIterBack)
- [LinkedList](#LinkedList)
- [ListIter](#ListIter)
- [ListNode](#ListNode)
- [MinHeap](#MinHeap)
- [Quadtree](#Quadtree)
- [create](#create)
- [insert](#insert)
- [retrieve](#retrieve)
- [clear](#clear)
- [get_nodes](#get_nodes)
- [Queue](#Queue)
- [RingBuffer](#RingBuffer)
- [Set](#Set)
- [Stack](#Stack)
## new_bloom_filter
[[Return to contents]](#Contents)
## new_bloom_filter_fast
[[Return to contents]](#Contents)
## new_ringbuffer
[[Return to contents]](#Contents)
## BSTree[T]
## insert
[[Return to contents]](#Contents)
## contains
[[Return to contents]](#Contents)
## remove
[[Return to contents]](#Contents)
## is_empty
[[Return to contents]](#Contents)
## in_order_traversal
[[Return to contents]](#Contents)
## post_order_traversal
[[Return to contents]](#Contents)
## pre_order_traversal
[[Return to contents]](#Contents)
## to_left
[[Return to contents]](#Contents)
## to_right
[[Return to contents]](#Contents)
## max
[[Return to contents]](#Contents)
## min
[[Return to contents]](#Contents)
## BloomFilter[T]
## add
[[Return to contents]](#Contents)
## exists
[[Return to contents]](#Contents)
## @union
[[Return to contents]](#Contents)
## intersection
[[Return to contents]](#Contents)
## DoublyLinkedList[T]
## is_empty
[[Return to contents]](#Contents)
## len
[[Return to contents]](#Contents)
## first
[[Return to contents]](#Contents)
## last
[[Return to contents]](#Contents)
## push_back
[[Return to contents]](#Contents)
## push_front
[[Return to contents]](#Contents)
## push_many
[[Return to contents]](#Contents)
## pop_back
[[Return to contents]](#Contents)
## pop_front
[[Return to contents]](#Contents)
## insert
[[Return to contents]](#Contents)
## index
[[Return to contents]](#Contents)
## delete
[[Return to contents]](#Contents)
## str
[[Return to contents]](#Contents)
## array
[[Return to contents]](#Contents)
## next
[[Return to contents]](#Contents)
## iterator
[[Return to contents]](#Contents)
## back_iterator
[[Return to contents]](#Contents)
## DoublyListIterBack[T]
## next
[[Return to contents]](#Contents)
## DoublyListIter[T]
## next
[[Return to contents]](#Contents)
## LinkedList[T]
## is_empty
[[Return to contents]](#Contents)
## len
[[Return to contents]](#Contents)
## first
[[Return to contents]](#Contents)
## last
[[Return to contents]](#Contents)
## index
[[Return to contents]](#Contents)
## push
[[Return to contents]](#Contents)
## push_many
[[Return to contents]](#Contents)
## pop
[[Return to contents]](#Contents)
## shift
[[Return to contents]](#Contents)
## insert
[[Return to contents]](#Contents)
## prepend
[[Return to contents]](#Contents)
## str
[[Return to contents]](#Contents)
## array
[[Return to contents]](#Contents)
## next
[[Return to contents]](#Contents)
## iterator
[[Return to contents]](#Contents)
## ListIter[T]
## next
[[Return to contents]](#Contents)
## MinHeap[T]
## insert
[[Return to contents]](#Contents)
## insert_many
[[Return to contents]](#Contents)
## pop
[[Return to contents]](#Contents)
## peek
[[Return to contents]](#Contents)
## len
[[Return to contents]](#Contents)
## Queue[T]
## is_empty
[[Return to contents]](#Contents)
## len
[[Return to contents]](#Contents)
## peek
[[Return to contents]](#Contents)
## last
[[Return to contents]](#Contents)
## index
[[Return to contents]](#Contents)
## push
[[Return to contents]](#Contents)
## pop
[[Return to contents]](#Contents)
## str
[[Return to contents]](#Contents)
## array
[[Return to contents]](#Contents)
## RingBuffer[T]
## push
[[Return to contents]](#Contents)
## pop
[[Return to contents]](#Contents)
## push_many
[[Return to contents]](#Contents)
## pop_many
[[Return to contents]](#Contents)
## is_empty
[[Return to contents]](#Contents)
## is_full
[[Return to contents]](#Contents)
## capacity
[[Return to contents]](#Contents)
## clear
[[Return to contents]](#Contents)
## occupied
[[Return to contents]](#Contents)
## remaining
[[Return to contents]](#Contents)
## Set[T]
## exists
[[Return to contents]](#Contents)
## add
[[Return to contents]](#Contents)
## remove
[[Return to contents]](#Contents)
## pick
[[Return to contents]](#Contents)
## rest
[[Return to contents]](#Contents)
## pop
[[Return to contents]](#Contents)
## clear
[[Return to contents]](#Contents)
## ==
[[Return to contents]](#Contents)
## is_empty
[[Return to contents]](#Contents)
## size
[[Return to contents]](#Contents)
## copy
[[Return to contents]](#Contents)
## add_all
[[Return to contents]](#Contents)
## @union
[[Return to contents]](#Contents)
## intersection
[[Return to contents]](#Contents)
## -
[[Return to contents]](#Contents)
## subset
[[Return to contents]](#Contents)
## Stack[T]
## is_empty
[[Return to contents]](#Contents)
## len
[[Return to contents]](#Contents)
## peek
[[Return to contents]](#Contents)
## push
[[Return to contents]](#Contents)
## pop
[[Return to contents]](#Contents)
## str
[[Return to contents]](#Contents)
## array
[[Return to contents]](#Contents)
## Direction
[[Return to contents]](#Contents)
## AABB
[[Return to contents]](#Contents)
## BSTree
[[Return to contents]](#Contents)
## DoublyLinkedList
[[Return to contents]](#Contents)
## DoublyListIter
[[Return to contents]](#Contents)
## DoublyListIterBack
[[Return to contents]](#Contents)
## LinkedList
[[Return to contents]](#Contents)
## ListIter
[[Return to contents]](#Contents)
## ListNode
[[Return to contents]](#Contents)
## MinHeap
[[Return to contents]](#Contents)
## Quadtree
[[Return to contents]](#Contents)
## create
[[Return to contents]](#Contents)
## insert
[[Return to contents]](#Contents)
## retrieve
[[Return to contents]](#Contents)
## clear
[[Return to contents]](#Contents)
## get_nodes
[[Return to contents]](#Contents)
## Queue
[[Return to contents]](#Contents)
## RingBuffer
[[Return to contents]](#Contents)
## Set
[[Return to contents]](#Contents)
## Stack
[[Return to contents]](#Contents)
#### Powered by vdoc. Generated on: 7 Feb 2025 12:06:55

38
vdocs/db.mssql.md Normal file
View File

@@ -0,0 +1,38 @@
# module db.mssql
## Contents
- [Config](#Config)
- [get_conn_str](#get_conn_str)
- [Connection](#Connection)
- [connect](#connect)
- [close](#close)
- [query](#query)
- [Result](#Result)
- [Row](#Row)
## Config
[[Return to contents]](#Contents)
## get_conn_str
[[Return to contents]](#Contents)
## Connection
[[Return to contents]](#Contents)
## connect
[[Return to contents]](#Contents)
## close
[[Return to contents]](#Contents)
## query
[[Return to contents]](#Contents)
## Result
[[Return to contents]](#Contents)
## Row
[[Return to contents]](#Contents)
#### Powered by vdoc. Generated on: 7 Feb 2025 12:06:55

400
vdocs/db.mysql.md Normal file
View File

@@ -0,0 +1,400 @@
# module db.mysql
## Contents
- [Constants](#Constants)
- [connect](#connect)
- [debug](#debug)
- [get_client_info](#get_client_info)
- [get_client_version](#get_client_version)
- [ConnectionFlag](#ConnectionFlag)
- [FieldType](#FieldType)
- [str](#str)
- [get_len](#get_len)
- [C.MYSQL](#C.MYSQL)
- [C.MYSQL_BIND](#C.MYSQL_BIND)
- [C.MYSQL_FIELD](#C.MYSQL_FIELD)
- [C.MYSQL_RES](#C.MYSQL_RES)
- [C.MYSQL_STMT](#C.MYSQL_STMT)
- [Config](#Config)
- [DB](#DB)
- [affected_rows](#affected_rows)
- [autocommit](#autocommit)
- [change_user](#change_user)
- [close](#close)
- [commit](#commit)
- [create](#create)
- [delete](#delete)
- [drop](#drop)
- [dump_debug_info](#dump_debug_info)
- [escape_string](#escape_string)
- [exec](#exec)
- [exec_none](#exec_none)
- [exec_one](#exec_one)
- [exec_param](#exec_param)
- [exec_param_many](#exec_param_many)
- [get_host_info](#get_host_info)
- [get_option](#get_option)
- [get_server_info](#get_server_info)
- [get_server_version](#get_server_version)
- [info](#info)
- [init_stmt](#init_stmt)
- [insert](#insert)
- [last_id](#last_id)
- [ping](#ping)
- [prepare](#prepare)
- [query](#query)
- [real_query](#real_query)
- [refresh](#refresh)
- [reset](#reset)
- [select](#select)
- [select_db](#select_db)
- [set_option](#set_option)
- [tables](#tables)
- [update](#update)
- [use_result](#use_result)
- [Field](#Field)
- [str](#str)
- [Result](#Result)
- [fetch_row](#fetch_row)
- [n_rows](#n_rows)
- [n_fields](#n_fields)
- [rows](#rows)
- [maps](#maps)
- [fields](#fields)
- [free](#free)
- [Row](#Row)
- [Stmt](#Stmt)
- [str](#str)
- [prepare](#prepare)
- [bind_params](#bind_params)
- [execute](#execute)
- [next](#next)
- [gen_metadata](#gen_metadata)
- [fetch_fields](#fetch_fields)
- [fetch_stmt](#fetch_stmt)
- [close](#close)
- [error](#error)
- [bind_bool](#bind_bool)
- [bind_byte](#bind_byte)
- [bind_u8](#bind_u8)
- [bind_i8](#bind_i8)
- [bind_i16](#bind_i16)
- [bind_u16](#bind_u16)
- [bind_int](#bind_int)
- [bind_u32](#bind_u32)
- [bind_i64](#bind_i64)
- [bind_u64](#bind_u64)
- [bind_f32](#bind_f32)
- [bind_f64](#bind_f64)
- [bind_text](#bind_text)
- [bind_null](#bind_null)
- [bind](#bind)
- [bind_res](#bind_res)
- [bind_result_buffer](#bind_result_buffer)
- [store_result](#store_result)
- [fetch_column](#fetch_column)
- [StmtHandle](#StmtHandle)
- [execute](#execute)
- [close](#close)
## Constants
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
## connect
[[Return to contents]](#Contents)
## debug
[[Return to contents]](#Contents)
## get_client_info
[[Return to contents]](#Contents)
## get_client_version
[[Return to contents]](#Contents)
## ConnectionFlag
[[Return to contents]](#Contents)
## FieldType
[[Return to contents]](#Contents)
## str
[[Return to contents]](#Contents)
## get_len
[[Return to contents]](#Contents)
## C.MYSQL
[[Return to contents]](#Contents)
## C.MYSQL_BIND
[[Return to contents]](#Contents)
## C.MYSQL_FIELD
[[Return to contents]](#Contents)
## C.MYSQL_RES
[[Return to contents]](#Contents)
## C.MYSQL_STMT
[[Return to contents]](#Contents)
## Config
[[Return to contents]](#Contents)
## DB
[[Return to contents]](#Contents)
## affected_rows
[[Return to contents]](#Contents)
## autocommit
[[Return to contents]](#Contents)
## change_user
[[Return to contents]](#Contents)
## close
[[Return to contents]](#Contents)
## commit
[[Return to contents]](#Contents)
## create
[[Return to contents]](#Contents)
## delete
[[Return to contents]](#Contents)
## drop
[[Return to contents]](#Contents)
## dump_debug_info
[[Return to contents]](#Contents)
## escape_string
[[Return to contents]](#Contents)
## exec
[[Return to contents]](#Contents)
## exec_none
[[Return to contents]](#Contents)
## exec_one
[[Return to contents]](#Contents)
## exec_param
[[Return to contents]](#Contents)
## exec_param_many
[[Return to contents]](#Contents)
## get_host_info
[[Return to contents]](#Contents)
## get_option
[[Return to contents]](#Contents)
## get_server_info
[[Return to contents]](#Contents)
## get_server_version
[[Return to contents]](#Contents)
## info
[[Return to contents]](#Contents)
## init_stmt
[[Return to contents]](#Contents)
## insert
[[Return to contents]](#Contents)
## last_id
[[Return to contents]](#Contents)
## ping
[[Return to contents]](#Contents)
## prepare
[[Return to contents]](#Contents)
## query
[[Return to contents]](#Contents)
## real_query
[[Return to contents]](#Contents)
## refresh
[[Return to contents]](#Contents)
## reset
[[Return to contents]](#Contents)
## select
[[Return to contents]](#Contents)
## select_db
[[Return to contents]](#Contents)
## set_option
[[Return to contents]](#Contents)
## tables
[[Return to contents]](#Contents)
## update
[[Return to contents]](#Contents)
## use_result
[[Return to contents]](#Contents)
## Field
[[Return to contents]](#Contents)
## str
[[Return to contents]](#Contents)
## Result
[[Return to contents]](#Contents)
## fetch_row
[[Return to contents]](#Contents)
## n_rows
[[Return to contents]](#Contents)
## n_fields
[[Return to contents]](#Contents)
## rows
[[Return to contents]](#Contents)
## maps
[[Return to contents]](#Contents)
## fields
[[Return to contents]](#Contents)
## free
[[Return to contents]](#Contents)
## Row
[[Return to contents]](#Contents)
## Stmt
[[Return to contents]](#Contents)
## str
[[Return to contents]](#Contents)
## prepare
[[Return to contents]](#Contents)
## bind_params
[[Return to contents]](#Contents)
## execute
[[Return to contents]](#Contents)
## next
[[Return to contents]](#Contents)
## gen_metadata
[[Return to contents]](#Contents)
## fetch_fields
[[Return to contents]](#Contents)
## fetch_stmt
[[Return to contents]](#Contents)
## close
[[Return to contents]](#Contents)
## error
[[Return to contents]](#Contents)
## bind_bool
[[Return to contents]](#Contents)
## bind_byte
[[Return to contents]](#Contents)
## bind_u8
[[Return to contents]](#Contents)
## bind_i8
[[Return to contents]](#Contents)
## bind_i16
[[Return to contents]](#Contents)
## bind_u16
[[Return to contents]](#Contents)
## bind_int
[[Return to contents]](#Contents)
## bind_u32
[[Return to contents]](#Contents)
## bind_i64
[[Return to contents]](#Contents)
## bind_u64
[[Return to contents]](#Contents)
## bind_f32
[[Return to contents]](#Contents)
## bind_f64
[[Return to contents]](#Contents)
## bind_text
[[Return to contents]](#Contents)
## bind_null
[[Return to contents]](#Contents)
## bind
[[Return to contents]](#Contents)
## bind_res
[[Return to contents]](#Contents)
## bind_result_buffer
[[Return to contents]](#Contents)
## store_result
[[Return to contents]](#Contents)
## fetch_column
[[Return to contents]](#Contents)
## StmtHandle
[[Return to contents]](#Contents)
## execute
[[Return to contents]](#Contents)
## close
[[Return to contents]](#Contents)
#### Powered by vdoc. Generated on: 7 Feb 2025 12:06:55

130
vdocs/db.pg.md Normal file
View File

@@ -0,0 +1,130 @@
# module db.pg
## Contents
- [connect](#connect)
- [connect_with_conninfo](#connect_with_conninfo)
- [ConnStatusType](#ConnStatusType)
- [ExecStatusType](#ExecStatusType)
- [Oid](#Oid)
- [C.PGconn](#C.PGconn)
- [C.PGresult](#C.PGresult)
- [C.pg_conn](#C.pg_conn)
- [C.pg_result](#C.pg_result)
- [Config](#Config)
- [DB](#DB)
- [close](#close)
- [copy_expert](#copy_expert)
- [create](#create)
- [delete](#delete)
- [drop](#drop)
- [exec](#exec)
- [exec_one](#exec_one)
- [exec_param](#exec_param)
- [exec_param2](#exec_param2)
- [exec_param_many](#exec_param_many)
- [exec_prepared](#exec_prepared)
- [insert](#insert)
- [last_id](#last_id)
- [prepare](#prepare)
- [q_int](#q_int)
- [q_string](#q_string)
- [q_strings](#q_strings)
- [select](#select)
- [update](#update)
- [Row](#Row)
## connect
[[Return to contents]](#Contents)
## connect_with_conninfo
[[Return to contents]](#Contents)
## ConnStatusType
[[Return to contents]](#Contents)
## ExecStatusType
[[Return to contents]](#Contents)
## Oid
[[Return to contents]](#Contents)
## C.PGconn
[[Return to contents]](#Contents)
## C.PGresult
[[Return to contents]](#Contents)
## C.pg_conn
[[Return to contents]](#Contents)
## C.pg_result
[[Return to contents]](#Contents)
## Config
[[Return to contents]](#Contents)
## DB
[[Return to contents]](#Contents)
## close
[[Return to contents]](#Contents)
## copy_expert
[[Return to contents]](#Contents)
## create
[[Return to contents]](#Contents)
## delete
[[Return to contents]](#Contents)
## drop
[[Return to contents]](#Contents)
## exec
[[Return to contents]](#Contents)
## exec_one
[[Return to contents]](#Contents)
## exec_param
[[Return to contents]](#Contents)
## exec_param2
[[Return to contents]](#Contents)
## exec_param_many
[[Return to contents]](#Contents)
## exec_prepared
[[Return to contents]](#Contents)
## insert
[[Return to contents]](#Contents)
## last_id
[[Return to contents]](#Contents)
## prepare
[[Return to contents]](#Contents)
## q_int
[[Return to contents]](#Contents)
## q_string
[[Return to contents]](#Contents)
## q_strings
[[Return to contents]](#Contents)
## select
[[Return to contents]](#Contents)
## update
[[Return to contents]](#Contents)
## Row
[[Return to contents]](#Contents)
#### Powered by vdoc. Generated on: 7 Feb 2025 12:06:55

234
vdocs/db.sqlite.md Normal file
View File

@@ -0,0 +1,234 @@
# module db.sqlite
## Contents
- [Constants](#Constants)
- [connect](#connect)
- [connect_full](#connect_full)
- [get_default_vfs](#get_default_vfs)
- [get_vfs](#get_vfs)
- [is_error](#is_error)
- [Sqlite3_file](#Sqlite3_file)
- [Sqlite3_io_methods](#Sqlite3_io_methods)
- [Sqlite3_vfs](#Sqlite3_vfs)
- [register_as_nondefault](#register_as_nondefault)
- [unregister](#unregister)
- [JournalMode](#JournalMode)
- [OpenModeFlag](#OpenModeFlag)
- [Result](#Result)
- [is_error](#is_error)
- [SyncMode](#SyncMode)
- [C.sqlite3](#C.sqlite3)
- [C.sqlite3_file](#C.sqlite3_file)
- [C.sqlite3_io_methods](#C.sqlite3_io_methods)
- [C.sqlite3_stmt](#C.sqlite3_stmt)
- [C.sqlite3_vfs](#C.sqlite3_vfs)
- [DB](#DB)
- [busy_timeout](#busy_timeout)
- [close](#close)
- [create](#create)
- [create_table](#create_table)
- [delete](#delete)
- [drop](#drop)
- [error_message](#error_message)
- [exec](#exec)
- [exec_map](#exec_map)
- [exec_none](#exec_none)
- [exec_one](#exec_one)
- [exec_param](#exec_param)
- [exec_param_many](#exec_param_many)
- [get_affected_rows_count](#get_affected_rows_count)
- [insert](#insert)
- [journal_mode](#journal_mode)
- [last_id](#last_id)
- [last_insert_rowid](#last_insert_rowid)
- [q_int](#q_int)
- [q_string](#q_string)
- [select](#select)
- [str](#str)
- [synchronization_mode](#synchronization_mode)
- [update](#update)
- [Row](#Row)
- [Stmt](#Stmt)
## Constants
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
## connect
[[Return to contents]](#Contents)
## connect_full
[[Return to contents]](#Contents)
## get_default_vfs
[[Return to contents]](#Contents)
## get_vfs
[[Return to contents]](#Contents)
## is_error
[[Return to contents]](#Contents)
## Sqlite3_file
[[Return to contents]](#Contents)
## Sqlite3_io_methods
[[Return to contents]](#Contents)
## Sqlite3_vfs
[[Return to contents]](#Contents)
## register_as_nondefault
[[Return to contents]](#Contents)
## unregister
[[Return to contents]](#Contents)
## JournalMode
[[Return to contents]](#Contents)
## OpenModeFlag
[[Return to contents]](#Contents)
## Result
[[Return to contents]](#Contents)
## is_error
[[Return to contents]](#Contents)
## SyncMode
[[Return to contents]](#Contents)
## C.sqlite3
[[Return to contents]](#Contents)
## C.sqlite3_file
[[Return to contents]](#Contents)
## C.sqlite3_io_methods
[[Return to contents]](#Contents)
## C.sqlite3_stmt
[[Return to contents]](#Contents)
## C.sqlite3_vfs
[[Return to contents]](#Contents)
## DB
[[Return to contents]](#Contents)
## busy_timeout
[[Return to contents]](#Contents)
## close
[[Return to contents]](#Contents)
## create
[[Return to contents]](#Contents)
## create_table
[[Return to contents]](#Contents)
## delete
[[Return to contents]](#Contents)
## drop
[[Return to contents]](#Contents)
## error_message
[[Return to contents]](#Contents)
## exec
[[Return to contents]](#Contents)
## exec_map
[[Return to contents]](#Contents)
## exec_none
[[Return to contents]](#Contents)
## exec_one
[[Return to contents]](#Contents)
## exec_param
[[Return to contents]](#Contents)
## exec_param_many
[[Return to contents]](#Contents)
## get_affected_rows_count
[[Return to contents]](#Contents)
## insert
[[Return to contents]](#Contents)
## journal_mode
[[Return to contents]](#Contents)
## last_id
[[Return to contents]](#Contents)
## last_insert_rowid
[[Return to contents]](#Contents)
## q_int
[[Return to contents]](#Contents)
## q_string
[[Return to contents]](#Contents)
## select
[[Return to contents]](#Contents)
## str
[[Return to contents]](#Contents)
## synchronization_mode
[[Return to contents]](#Contents)
## update
[[Return to contents]](#Contents)
## Row
[[Return to contents]](#Contents)
## Stmt
[[Return to contents]](#Contents)
#### Powered by vdoc. Generated on: 7 Feb 2025 12:06:55

60
vdocs/dl.loader.md Normal file
View File

@@ -0,0 +1,60 @@
# module dl.loader
## Contents
- [Constants](#Constants)
- [get_or_create_dynamic_lib_loader](#get_or_create_dynamic_lib_loader)
- [registered_dl_loader_keys](#registered_dl_loader_keys)
- [DynamicLibLoader](#DynamicLibLoader)
- [open](#open)
- [close](#close)
- [get_sym](#get_sym)
- [unregister](#unregister)
- [DynamicLibLoaderConfig](#DynamicLibLoaderConfig)
## Constants
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
## get_or_create_dynamic_lib_loader
[[Return to contents]](#Contents)
## registered_dl_loader_keys
[[Return to contents]](#Contents)
## DynamicLibLoader
[[Return to contents]](#Contents)
## open
[[Return to contents]](#Contents)
## close
[[Return to contents]](#Contents)
## get_sym
[[Return to contents]](#Contents)
## unregister
[[Return to contents]](#Contents)
## DynamicLibLoaderConfig
[[Return to contents]](#Contents)
#### Powered by vdoc. Generated on: 7 Feb 2025 12:06:55

58
vdocs/dl.md Normal file
View File

@@ -0,0 +1,58 @@
# module dl
## Contents
- [Constants](#Constants)
- [close](#close)
- [dlerror](#dlerror)
- [get_libname](#get_libname)
- [get_shared_library_extension](#get_shared_library_extension)
- [open](#open)
- [open_opt](#open_opt)
- [sym](#sym)
- [sym_opt](#sym_opt)
## Constants
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
## close
[[Return to contents]](#Contents)
## dlerror
[[Return to contents]](#Contents)
## get_libname
[[Return to contents]](#Contents)
## get_shared_library_extension
[[Return to contents]](#Contents)
## open
[[Return to contents]](#Contents)
## open_opt
[[Return to contents]](#Contents)
## sym
[[Return to contents]](#Contents)
## sym_opt
[[Return to contents]](#Contents)
#### Powered by vdoc. Generated on: 7 Feb 2025 12:06:55

86
vdocs/dlmalloc.md Normal file
View File

@@ -0,0 +1,86 @@
# module dlmalloc
## Contents
- [Constants](#Constants)
- [calloc](#calloc)
- [free](#free)
- [get_system_allocator](#get_system_allocator)
- [malloc](#malloc)
- [memalign](#memalign)
- [new](#new)
- [realloc](#realloc)
- [Map_flags](#Map_flags)
- [Mm_prot](#Mm_prot)
- [Allocator](#Allocator)
- [Dlmalloc](#Dlmalloc)
- [calloc_must_clear](#calloc_must_clear)
- [calloc](#calloc)
- [free_](#free_)
- [malloc](#malloc)
- [realloc](#realloc)
- [memalign](#memalign)
## Constants
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
## calloc
[[Return to contents]](#Contents)
## free
[[Return to contents]](#Contents)
## get_system_allocator
[[Return to contents]](#Contents)
## malloc
[[Return to contents]](#Contents)
## memalign
[[Return to contents]](#Contents)
## new
[[Return to contents]](#Contents)
## realloc
[[Return to contents]](#Contents)
## Map_flags
[[Return to contents]](#Contents)
## Mm_prot
[[Return to contents]](#Contents)
## Allocator
[[Return to contents]](#Contents)
## Dlmalloc
[[Return to contents]](#Contents)
## calloc_must_clear
[[Return to contents]](#Contents)
## calloc
[[Return to contents]](#Contents)
## free_
[[Return to contents]](#Contents)
## malloc
[[Return to contents]](#Contents)
## realloc
[[Return to contents]](#Contents)
## memalign
[[Return to contents]](#Contents)
#### Powered by vdoc. Generated on: 7 Feb 2025 12:06:55

78
vdocs/encoding.base32.md Normal file
View File

@@ -0,0 +1,78 @@
# module encoding.base32
## Contents
- [Constants](#Constants)
- [decode](#decode)
- [decode_string_to_string](#decode_string_to_string)
- [decode_to_string](#decode_to_string)
- [encode](#encode)
- [encode_string_to_string](#encode_string_to_string)
- [encode_to_string](#encode_to_string)
- [new_encoding](#new_encoding)
- [new_encoding_with_padding](#new_encoding_with_padding)
- [new_std_encoding](#new_std_encoding)
- [new_std_encoding_with_padding](#new_std_encoding_with_padding)
- [Encoding](#Encoding)
- [encode_to_string](#encode_to_string)
- [encode_string_to_string](#encode_string_to_string)
- [decode_string](#decode_string)
- [decode_string_to_string](#decode_string_to_string)
- [decode](#decode)
## Constants
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
## decode
[[Return to contents]](#Contents)
## decode_string_to_string
[[Return to contents]](#Contents)
## decode_to_string
[[Return to contents]](#Contents)
## encode
[[Return to contents]](#Contents)
## encode_string_to_string
[[Return to contents]](#Contents)
## encode_to_string
[[Return to contents]](#Contents)
## new_encoding
[[Return to contents]](#Contents)
## new_encoding_with_padding
[[Return to contents]](#Contents)
## new_std_encoding
[[Return to contents]](#Contents)
## new_std_encoding_with_padding
[[Return to contents]](#Contents)
## Encoding
## encode_to_string
[[Return to contents]](#Contents)
## encode_string_to_string
[[Return to contents]](#Contents)
## decode_string
[[Return to contents]](#Contents)
## decode_string_to_string
[[Return to contents]](#Contents)
## decode
[[Return to contents]](#Contents)
#### Powered by vdoc. Generated on: 7 Feb 2025 12:06:55

74
vdocs/encoding.base58.md Normal file
View File

@@ -0,0 +1,74 @@
# module encoding.base58
## Contents
- [Constants](#Constants)
- [decode](#decode)
- [decode_bytes](#decode_bytes)
- [decode_int](#decode_int)
- [decode_int_walpha](#decode_int_walpha)
- [decode_walpha](#decode_walpha)
- [decode_walpha_bytes](#decode_walpha_bytes)
- [encode](#encode)
- [encode_bytes](#encode_bytes)
- [encode_int](#encode_int)
- [encode_int_walpha](#encode_int_walpha)
- [encode_walpha](#encode_walpha)
- [encode_walpha_bytes](#encode_walpha_bytes)
- [new_alphabet](#new_alphabet)
- [Alphabet](#Alphabet)
- [str](#str)
## Constants
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
## decode
[[Return to contents]](#Contents)
## decode_bytes
[[Return to contents]](#Contents)
## decode_int
[[Return to contents]](#Contents)
## decode_int_walpha
[[Return to contents]](#Contents)
## decode_walpha
[[Return to contents]](#Contents)
## decode_walpha_bytes
[[Return to contents]](#Contents)
## encode
[[Return to contents]](#Contents)
## encode_bytes
[[Return to contents]](#Contents)
## encode_int
[[Return to contents]](#Contents)
## encode_int_walpha
[[Return to contents]](#Contents)
## encode_walpha
[[Return to contents]](#Contents)
## encode_walpha_bytes
[[Return to contents]](#Contents)
## new_alphabet
[[Return to contents]](#Contents)
## Alphabet
## str
[[Return to contents]](#Contents)
#### Powered by vdoc. Generated on: 7 Feb 2025 12:06:55

64
vdocs/encoding.base64.md Normal file
View File

@@ -0,0 +1,64 @@
# module encoding.base64
## Contents
- [decode](#decode)
- [decode_in_buffer](#decode_in_buffer)
- [decode_in_buffer_bytes](#decode_in_buffer_bytes)
- [decode_str](#decode_str)
- [encode](#encode)
- [encode_in_buffer](#encode_in_buffer)
- [encode_str](#encode_str)
- [url_decode](#url_decode)
- [url_decode_str](#url_decode_str)
- [url_encode](#url_encode)
- [url_encode_str](#url_encode_str)
## decode
Example
```v
assert base64.decode('ViBpbiBiYXNlIDY0') == 'V in base 64'
```
[[Return to contents]](#Contents)
## decode_in_buffer
[[Return to contents]](#Contents)
## decode_in_buffer_bytes
[[Return to contents]](#Contents)
## decode_str
[[Return to contents]](#Contents)
## encode
Example
```v
assert base64.encode('V in base 64') == 'ViBpbiBiYXNlIDY0'
```
[[Return to contents]](#Contents)
## encode_in_buffer
[[Return to contents]](#Contents)
## encode_str
[[Return to contents]](#Contents)
## url_decode
[[Return to contents]](#Contents)
## url_decode_str
[[Return to contents]](#Contents)
## url_encode
[[Return to contents]](#Contents)
## url_encode_str
[[Return to contents]](#Contents)
#### Powered by vdoc. Generated on: 7 Feb 2025 12:06:55

226
vdocs/encoding.binary.md Normal file
View File

@@ -0,0 +1,226 @@
# module encoding.binary
## Contents
- [big_endian_get_u16](#big_endian_get_u16)
- [big_endian_get_u32](#big_endian_get_u32)
- [big_endian_get_u64](#big_endian_get_u64)
- [big_endian_put_u16](#big_endian_put_u16)
- [big_endian_put_u16_at](#big_endian_put_u16_at)
- [big_endian_put_u16_end](#big_endian_put_u16_end)
- [big_endian_put_u16_fixed](#big_endian_put_u16_fixed)
- [big_endian_put_u32](#big_endian_put_u32)
- [big_endian_put_u32_at](#big_endian_put_u32_at)
- [big_endian_put_u32_end](#big_endian_put_u32_end)
- [big_endian_put_u32_fixed](#big_endian_put_u32_fixed)
- [big_endian_put_u64](#big_endian_put_u64)
- [big_endian_put_u64_at](#big_endian_put_u64_at)
- [big_endian_put_u64_end](#big_endian_put_u64_end)
- [big_endian_put_u64_fixed](#big_endian_put_u64_fixed)
- [big_endian_u16](#big_endian_u16)
- [big_endian_u16_at](#big_endian_u16_at)
- [big_endian_u16_end](#big_endian_u16_end)
- [big_endian_u16_fixed](#big_endian_u16_fixed)
- [big_endian_u32](#big_endian_u32)
- [big_endian_u32_at](#big_endian_u32_at)
- [big_endian_u32_end](#big_endian_u32_end)
- [big_endian_u32_fixed](#big_endian_u32_fixed)
- [big_endian_u64](#big_endian_u64)
- [big_endian_u64_at](#big_endian_u64_at)
- [big_endian_u64_end](#big_endian_u64_end)
- [big_endian_u64_fixed](#big_endian_u64_fixed)
- [little_endian_f32_at](#little_endian_f32_at)
- [little_endian_get_u16](#little_endian_get_u16)
- [little_endian_get_u32](#little_endian_get_u32)
- [little_endian_get_u64](#little_endian_get_u64)
- [little_endian_put_u16](#little_endian_put_u16)
- [little_endian_put_u16_at](#little_endian_put_u16_at)
- [little_endian_put_u16_end](#little_endian_put_u16_end)
- [little_endian_put_u16_fixed](#little_endian_put_u16_fixed)
- [little_endian_put_u32](#little_endian_put_u32)
- [little_endian_put_u32_at](#little_endian_put_u32_at)
- [little_endian_put_u32_end](#little_endian_put_u32_end)
- [little_endian_put_u32_fixed](#little_endian_put_u32_fixed)
- [little_endian_put_u64](#little_endian_put_u64)
- [little_endian_put_u64_at](#little_endian_put_u64_at)
- [little_endian_put_u64_end](#little_endian_put_u64_end)
- [little_endian_put_u64_fixed](#little_endian_put_u64_fixed)
- [little_endian_u16](#little_endian_u16)
- [little_endian_u16_at](#little_endian_u16_at)
- [little_endian_u16_end](#little_endian_u16_end)
- [little_endian_u16_fixed](#little_endian_u16_fixed)
- [little_endian_u32](#little_endian_u32)
- [little_endian_u32_at](#little_endian_u32_at)
- [little_endian_u32_end](#little_endian_u32_end)
- [little_endian_u32_fixed](#little_endian_u32_fixed)
- [little_endian_u64](#little_endian_u64)
- [little_endian_u64_at](#little_endian_u64_at)
- [little_endian_u64_end](#little_endian_u64_end)
- [little_endian_u64_fixed](#little_endian_u64_fixed)
## big_endian_get_u16
[[Return to contents]](#Contents)
## big_endian_get_u32
[[Return to contents]](#Contents)
## big_endian_get_u64
[[Return to contents]](#Contents)
## big_endian_put_u16
[[Return to contents]](#Contents)
## big_endian_put_u16_at
[[Return to contents]](#Contents)
## big_endian_put_u16_end
[[Return to contents]](#Contents)
## big_endian_put_u16_fixed
[[Return to contents]](#Contents)
## big_endian_put_u32
[[Return to contents]](#Contents)
## big_endian_put_u32_at
[[Return to contents]](#Contents)
## big_endian_put_u32_end
[[Return to contents]](#Contents)
## big_endian_put_u32_fixed
[[Return to contents]](#Contents)
## big_endian_put_u64
[[Return to contents]](#Contents)
## big_endian_put_u64_at
[[Return to contents]](#Contents)
## big_endian_put_u64_end
[[Return to contents]](#Contents)
## big_endian_put_u64_fixed
[[Return to contents]](#Contents)
## big_endian_u16
[[Return to contents]](#Contents)
## big_endian_u16_at
[[Return to contents]](#Contents)
## big_endian_u16_end
[[Return to contents]](#Contents)
## big_endian_u16_fixed
[[Return to contents]](#Contents)
## big_endian_u32
[[Return to contents]](#Contents)
## big_endian_u32_at
[[Return to contents]](#Contents)
## big_endian_u32_end
[[Return to contents]](#Contents)
## big_endian_u32_fixed
[[Return to contents]](#Contents)
## big_endian_u64
[[Return to contents]](#Contents)
## big_endian_u64_at
[[Return to contents]](#Contents)
## big_endian_u64_end
[[Return to contents]](#Contents)
## big_endian_u64_fixed
[[Return to contents]](#Contents)
## little_endian_f32_at
[[Return to contents]](#Contents)
## little_endian_get_u16
[[Return to contents]](#Contents)
## little_endian_get_u32
[[Return to contents]](#Contents)
## little_endian_get_u64
[[Return to contents]](#Contents)
## little_endian_put_u16
[[Return to contents]](#Contents)
## little_endian_put_u16_at
[[Return to contents]](#Contents)
## little_endian_put_u16_end
[[Return to contents]](#Contents)
## little_endian_put_u16_fixed
[[Return to contents]](#Contents)
## little_endian_put_u32
[[Return to contents]](#Contents)
## little_endian_put_u32_at
[[Return to contents]](#Contents)
## little_endian_put_u32_end
[[Return to contents]](#Contents)
## little_endian_put_u32_fixed
[[Return to contents]](#Contents)
## little_endian_put_u64
[[Return to contents]](#Contents)
## little_endian_put_u64_at
[[Return to contents]](#Contents)
## little_endian_put_u64_end
[[Return to contents]](#Contents)
## little_endian_put_u64_fixed
[[Return to contents]](#Contents)
## little_endian_u16
[[Return to contents]](#Contents)
## little_endian_u16_at
[[Return to contents]](#Contents)
## little_endian_u16_end
[[Return to contents]](#Contents)
## little_endian_u16_fixed
[[Return to contents]](#Contents)
## little_endian_u32
[[Return to contents]](#Contents)
## little_endian_u32_at
[[Return to contents]](#Contents)
## little_endian_u32_end
[[Return to contents]](#Contents)
## little_endian_u32_fixed
[[Return to contents]](#Contents)
## little_endian_u64
[[Return to contents]](#Contents)
## little_endian_u64_at
[[Return to contents]](#Contents)
## little_endian_u64_end
[[Return to contents]](#Contents)
## little_endian_u64_fixed
[[Return to contents]](#Contents)
#### Powered by vdoc. Generated on: 7 Feb 2025 12:06:55

144
vdocs/encoding.csv.md Normal file
View File

@@ -0,0 +1,144 @@
# module encoding.csv
## Contents
- [Constants](#Constants)
- [csv_reader](#csv_reader)
- [csv_reader_from_string](#csv_reader_from_string)
- [csv_sequential_reader](#csv_sequential_reader)
- [decode](#decode)
- [new_reader](#new_reader)
- [new_reader_from_file](#new_reader_from_file)
- [new_writer](#new_writer)
- [CellValue](#CellValue)
- [Reader](#Reader)
- [read](#read)
- [Writer](#Writer)
- [write](#write)
- [str](#str)
- [ColumType](#ColumType)
- [GetCellConfig](#GetCellConfig)
- [GetHeaderConf](#GetHeaderConf)
- [HeaderItem](#HeaderItem)
- [RandomAccessReader](#RandomAccessReader)
- [dispose_csv_reader](#dispose_csv_reader)
- [map_csv](#map_csv)
- [get_row](#get_row)
- [get_cell](#get_cell)
- [get_cellt](#get_cellt)
- [build_header_dict](#build_header_dict)
- [rows_count](#rows_count)
- [RandomAccessReaderConfig](#RandomAccessReaderConfig)
- [ReaderConfig](#ReaderConfig)
- [SequentialReader](#SequentialReader)
- [dispose_csv_reader](#dispose_csv_reader)
- [has_data](#has_data)
- [get_next_row](#get_next_row)
- [SequentialReaderConfig](#SequentialReaderConfig)
- [WriterConfig](#WriterConfig)
## Constants
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
## csv_reader
[[Return to contents]](#Contents)
## csv_reader_from_string
[[Return to contents]](#Contents)
## csv_sequential_reader
[[Return to contents]](#Contents)
## decode
[[Return to contents]](#Contents)
## new_reader
[[Return to contents]](#Contents)
## new_reader_from_file
[[Return to contents]](#Contents)
## new_writer
[[Return to contents]](#Contents)
## CellValue
[[Return to contents]](#Contents)
## Reader
## read
[[Return to contents]](#Contents)
## Writer
## write
[[Return to contents]](#Contents)
## str
[[Return to contents]](#Contents)
## ColumType
[[Return to contents]](#Contents)
## GetCellConfig
[[Return to contents]](#Contents)
## GetHeaderConf
[[Return to contents]](#Contents)
## HeaderItem
[[Return to contents]](#Contents)
## RandomAccessReader
[[Return to contents]](#Contents)
## dispose_csv_reader
[[Return to contents]](#Contents)
## map_csv
[[Return to contents]](#Contents)
## get_row
[[Return to contents]](#Contents)
## get_cell
[[Return to contents]](#Contents)
## get_cellt
[[Return to contents]](#Contents)
## build_header_dict
[[Return to contents]](#Contents)
## rows_count
[[Return to contents]](#Contents)
## RandomAccessReaderConfig
[[Return to contents]](#Contents)
## ReaderConfig
[[Return to contents]](#Contents)
## SequentialReader
[[Return to contents]](#Contents)
## dispose_csv_reader
[[Return to contents]](#Contents)
## has_data
[[Return to contents]](#Contents)
## get_next_row
[[Return to contents]](#Contents)
## SequentialReaderConfig
[[Return to contents]](#Contents)
## WriterConfig
[[Return to contents]](#Contents)
#### Powered by vdoc. Generated on: 7 Feb 2025 12:06:55

14
vdocs/encoding.hex.md Normal file
View File

@@ -0,0 +1,14 @@
# module encoding.hex
## Contents
- [decode](#decode)
- [encode](#encode)
## decode
[[Return to contents]](#Contents)
## encode
[[Return to contents]](#Contents)
#### Powered by vdoc. Generated on: 7 Feb 2025 12:06:55

22
vdocs/encoding.html.md Normal file
View File

@@ -0,0 +1,22 @@
# module encoding.html
## Contents
- [escape](#escape)
- [unescape](#unescape)
- [EscapeConfig](#EscapeConfig)
- [UnescapeConfig](#UnescapeConfig)
## escape
[[Return to contents]](#Contents)
## unescape
[[Return to contents]](#Contents)
## EscapeConfig
[[Return to contents]](#Contents)
## UnescapeConfig
[[Return to contents]](#Contents)
#### Powered by vdoc. Generated on: 7 Feb 2025 12:06:55

30
vdocs/encoding.iconv.md Normal file
View File

@@ -0,0 +1,30 @@
# module encoding.iconv
## Contents
- [create_utf_string_with_bom](#create_utf_string_with_bom)
- [encoding_to_vstring](#encoding_to_vstring)
- [read_file_encoding](#read_file_encoding)
- [remove_utf_string_with_bom](#remove_utf_string_with_bom)
- [vstring_to_encoding](#vstring_to_encoding)
- [write_file_encoding](#write_file_encoding)
## create_utf_string_with_bom
[[Return to contents]](#Contents)
## encoding_to_vstring
[[Return to contents]](#Contents)
## read_file_encoding
[[Return to contents]](#Contents)
## remove_utf_string_with_bom
[[Return to contents]](#Contents)
## vstring_to_encoding
[[Return to contents]](#Contents)
## write_file_encoding
[[Return to contents]](#Contents)
#### Powered by vdoc. Generated on: 7 Feb 2025 12:06:55

38
vdocs/encoding.leb128.md Normal file
View File

@@ -0,0 +1,38 @@
# module encoding.leb128
## Contents
- [decode_i32](#decode_i32)
- [decode_i64](#decode_i64)
- [decode_u32](#decode_u32)
- [decode_u64](#decode_u64)
- [encode_i32](#encode_i32)
- [encode_i64](#encode_i64)
- [encode_u32](#encode_u32)
- [encode_u64](#encode_u64)
## decode_i32
[[Return to contents]](#Contents)
## decode_i64
[[Return to contents]](#Contents)
## decode_u32
[[Return to contents]](#Contents)
## decode_u64
[[Return to contents]](#Contents)
## encode_i32
[[Return to contents]](#Contents)
## encode_i64
[[Return to contents]](#Contents)
## encode_u32
[[Return to contents]](#Contents)
## encode_u64
[[Return to contents]](#Contents)
#### Powered by vdoc. Generated on: 7 Feb 2025 12:06:55

38
vdocs/encoding.txtar.md Normal file
View File

@@ -0,0 +1,38 @@
# module encoding.txtar
## Contents
- [pack](#pack)
- [parse](#parse)
- [parse_file](#parse_file)
- [unpack](#unpack)
- [Archive](#Archive)
- [str](#str)
- [unpack_to](#unpack_to)
- [File](#File)
## pack
[[Return to contents]](#Contents)
## parse
[[Return to contents]](#Contents)
## parse_file
[[Return to contents]](#Contents)
## unpack
[[Return to contents]](#Contents)
## Archive
[[Return to contents]](#Contents)
## str
[[Return to contents]](#Contents)
## unpack_to
[[Return to contents]](#Contents)
## File
[[Return to contents]](#Contents)
#### Powered by vdoc. Generated on: 7 Feb 2025 12:06:55

View File

@@ -0,0 +1,18 @@
# module encoding.utf8.east_asian
## Contents
- [display_width](#display_width)
- [east_asian_width_property_at](#east_asian_width_property_at)
- [EastAsianWidthProperty](#EastAsianWidthProperty)
## display_width
[[Return to contents]](#Contents)
## east_asian_width_property_at
[[Return to contents]](#Contents)
## EastAsianWidthProperty
[[Return to contents]](#Contents)
#### Powered by vdoc. Generated on: 7 Feb 2025 12:06:55

82
vdocs/encoding.utf8.md Normal file
View File

@@ -0,0 +1,82 @@
# module encoding.utf8
## Contents
- [get_rune](#get_rune)
- [get_uchar](#get_uchar)
- [is_control](#is_control)
- [is_global_punct](#is_global_punct)
- [is_letter](#is_letter)
- [is_number](#is_number)
- [is_punct](#is_punct)
- [is_rune_global_punct](#is_rune_global_punct)
- [is_rune_punct](#is_rune_punct)
- [is_space](#is_space)
- [is_uchar_global_punct](#is_uchar_global_punct)
- [is_uchar_punct](#is_uchar_punct)
- [len](#len)
- [raw_index](#raw_index)
- [reverse](#reverse)
- [to_lower](#to_lower)
- [to_upper](#to_upper)
- [validate](#validate)
- [validate_str](#validate_str)
## get_rune
[[Return to contents]](#Contents)
## get_uchar
[[Return to contents]](#Contents)
## is_control
[[Return to contents]](#Contents)
## is_global_punct
[[Return to contents]](#Contents)
## is_letter
[[Return to contents]](#Contents)
## is_number
[[Return to contents]](#Contents)
## is_punct
[[Return to contents]](#Contents)
## is_rune_global_punct
[[Return to contents]](#Contents)
## is_rune_punct
[[Return to contents]](#Contents)
## is_space
[[Return to contents]](#Contents)
## is_uchar_global_punct
[[Return to contents]](#Contents)
## is_uchar_punct
[[Return to contents]](#Contents)
## len
[[Return to contents]](#Contents)
## raw_index
[[Return to contents]](#Contents)
## reverse
[[Return to contents]](#Contents)
## to_lower
[[Return to contents]](#Contents)
## to_upper
[[Return to contents]](#Contents)
## validate
[[Return to contents]](#Contents)
## validate_str
[[Return to contents]](#Contents)
#### Powered by vdoc. Generated on: 7 Feb 2025 12:06:55

124
vdocs/encoding.xml.md Normal file
View File

@@ -0,0 +1,124 @@
# module encoding.xml
## Contents
- [Constants](#Constants)
- [escape_text](#escape_text)
- [parse_single_node](#parse_single_node)
- [unescape_text](#unescape_text)
- [XMLDocument.from_file](#XMLDocument.from_file)
- [XMLDocument.from_reader](#XMLDocument.from_reader)
- [XMLDocument.from_string](#XMLDocument.from_string)
- [DTDListItem](#DTDListItem)
- [XMLNodeContents](#XMLNodeContents)
- [DTDElement](#DTDElement)
- [DTDEntity](#DTDEntity)
- [DocumentType](#DocumentType)
- [DocumentTypeDefinition](#DocumentTypeDefinition)
- [EscapeConfig](#EscapeConfig)
- [UnescapeConfig](#UnescapeConfig)
- [XMLCData](#XMLCData)
- [XMLComment](#XMLComment)
- [XMLDocument](#XMLDocument)
- [get_element_by_id](#get_element_by_id)
- [get_elements_by_attribute](#get_elements_by_attribute)
- [get_elements_by_tag](#get_elements_by_tag)
- [pretty_str](#pretty_str)
- [str](#str)
- [validate](#validate)
- [XMLNode](#XMLNode)
- [get_element_by_id](#get_element_by_id)
- [get_elements_by_attribute](#get_elements_by_attribute)
- [get_elements_by_tag](#get_elements_by_tag)
- [pretty_str](#pretty_str)
## Constants
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
## escape_text
[[Return to contents]](#Contents)
## parse_single_node
[[Return to contents]](#Contents)
## unescape_text
[[Return to contents]](#Contents)
## XMLDocument.from_file
[[Return to contents]](#Contents)
## XMLDocument.from_reader
[[Return to contents]](#Contents)
## XMLDocument.from_string
[[Return to contents]](#Contents)
## DTDListItem
[[Return to contents]](#Contents)
## XMLNodeContents
[[Return to contents]](#Contents)
## DTDElement
[[Return to contents]](#Contents)
## DTDEntity
[[Return to contents]](#Contents)
## DocumentType
[[Return to contents]](#Contents)
## DocumentTypeDefinition
[[Return to contents]](#Contents)
## EscapeConfig
[[Return to contents]](#Contents)
## UnescapeConfig
[[Return to contents]](#Contents)
## XMLCData
[[Return to contents]](#Contents)
## XMLComment
[[Return to contents]](#Contents)
## XMLDocument
[[Return to contents]](#Contents)
## get_element_by_id
[[Return to contents]](#Contents)
## get_elements_by_attribute
[[Return to contents]](#Contents)
## get_elements_by_tag
[[Return to contents]](#Contents)
## pretty_str
[[Return to contents]](#Contents)
## str
[[Return to contents]](#Contents)
## validate
[[Return to contents]](#Contents)
## XMLNode
[[Return to contents]](#Contents)
## get_element_by_id
[[Return to contents]](#Contents)
## get_elements_by_attribute
[[Return to contents]](#Contents)
## get_elements_by_tag
[[Return to contents]](#Contents)
## pretty_str
[[Return to contents]](#Contents)
#### Powered by vdoc. Generated on: 7 Feb 2025 12:06:55

78
vdocs/eventbus.md Normal file
View File

@@ -0,0 +1,78 @@
# module eventbus
## Contents
- [new](#new)
- [EventBus.new](#EventBus.new)
- [EventBus[T]](#EventBus[T])
- [publish](#publish)
- [clear_all](#clear_all)
- [has_subscriber](#has_subscriber)
- [EventHandlerFn](#EventHandlerFn)
- [Subscriber[T]](#Subscriber[T])
- [subscribe](#subscribe)
- [subscribe_method](#subscribe_method)
- [unsubscribe_method](#unsubscribe_method)
- [unsubscribe_receiver](#unsubscribe_receiver)
- [subscribe_once](#subscribe_once)
- [is_subscribed](#is_subscribed)
- [is_subscribed_method](#is_subscribed_method)
- [unsubscribe](#unsubscribe)
- [EventBus](#EventBus)
- [Publisher](#Publisher)
- [Subscriber](#Subscriber)
## new
[[Return to contents]](#Contents)
## EventBus.new
[[Return to contents]](#Contents)
## EventBus[T]
## publish
[[Return to contents]](#Contents)
## clear_all
[[Return to contents]](#Contents)
## has_subscriber
[[Return to contents]](#Contents)
## EventHandlerFn
[[Return to contents]](#Contents)
## Subscriber[T]
## subscribe
[[Return to contents]](#Contents)
## subscribe_method
[[Return to contents]](#Contents)
## unsubscribe_method
[[Return to contents]](#Contents)
## unsubscribe_receiver
[[Return to contents]](#Contents)
## subscribe_once
[[Return to contents]](#Contents)
## is_subscribed
[[Return to contents]](#Contents)
## is_subscribed_method
[[Return to contents]](#Contents)
## unsubscribe
[[Return to contents]](#Contents)
## EventBus
[[Return to contents]](#Contents)
## Publisher
[[Return to contents]](#Contents)
## Subscriber
[[Return to contents]](#Contents)
#### Powered by vdoc. Generated on: 7 Feb 2025 12:06:55

212
vdocs/flag.md Normal file
View File

@@ -0,0 +1,212 @@
# module flag
## Contents
- [Constants](#Constants)
- [new_flag_parser](#new_flag_parser)
- [to_doc](#to_doc)
- [to_struct](#to_struct)
- [using](#using)
- [[]Flag](#[]Flag)
- [str](#str)
- [FieldHints](#FieldHints)
- [ParseMode](#ParseMode)
- [Show](#Show)
- [Style](#Style)
- [DocConfig](#DocConfig)
- [DocLayout](#DocLayout)
- [max_width](#max_width)
- [DocOptions](#DocOptions)
- [Flag](#Flag)
- [str](#str)
- [FlagConfig](#FlagConfig)
- [FlagMapper](#FlagMapper)
- [no_matches](#no_matches)
- [parse](#parse)
- [to_doc](#to_doc)
- [fields_docs](#fields_docs)
- [to_struct](#to_struct)
- [FlagParser](#FlagParser)
- [usage_example](#usage_example)
- [footer](#footer)
- [application](#application)
- [version](#version)
- [description](#description)
- [skip_executable](#skip_executable)
- [allow_unknown_args](#allow_unknown_args)
- [bool_opt](#bool_opt)
- [bool](#bool)
- [int_multi](#int_multi)
- [int_opt](#int_opt)
- [int](#int)
- [float_multi](#float_multi)
- [float_opt](#float_opt)
- [float](#float)
- [string_multi](#string_multi)
- [string_opt](#string_opt)
- [string](#string)
- [limit_free_args_to_at_least](#limit_free_args_to_at_least)
- [limit_free_args_to_exactly](#limit_free_args_to_exactly)
- [limit_free_args](#limit_free_args)
- [arguments_description](#arguments_description)
- [usage](#usage)
- [finalize](#finalize)
- [remaining_parameters](#remaining_parameters)
- [ParseConfig](#ParseConfig)
## Constants
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
## new_flag_parser
[[Return to contents]](#Contents)
## to_doc
[[Return to contents]](#Contents)
## to_struct
[[Return to contents]](#Contents)
## using
[[Return to contents]](#Contents)
## []Flag
## str
[[Return to contents]](#Contents)
## FieldHints
[[Return to contents]](#Contents)
## ParseMode
[[Return to contents]](#Contents)
## Show
[[Return to contents]](#Contents)
## Style
[[Return to contents]](#Contents)
## DocConfig
[[Return to contents]](#Contents)
## DocLayout
[[Return to contents]](#Contents)
## max_width
[[Return to contents]](#Contents)
## DocOptions
[[Return to contents]](#Contents)
## Flag
[[Return to contents]](#Contents)
## str
[[Return to contents]](#Contents)
## FlagConfig
[[Return to contents]](#Contents)
## FlagMapper
[[Return to contents]](#Contents)
## no_matches
[[Return to contents]](#Contents)
## parse
[[Return to contents]](#Contents)
## to_doc
[[Return to contents]](#Contents)
## fields_docs
[[Return to contents]](#Contents)
## to_struct
[[Return to contents]](#Contents)
## FlagParser
[[Return to contents]](#Contents)
## usage_example
[[Return to contents]](#Contents)
## footer
[[Return to contents]](#Contents)
## application
[[Return to contents]](#Contents)
## version
[[Return to contents]](#Contents)
## description
[[Return to contents]](#Contents)
## skip_executable
[[Return to contents]](#Contents)
## allow_unknown_args
[[Return to contents]](#Contents)
## bool_opt
[[Return to contents]](#Contents)
## bool
[[Return to contents]](#Contents)
## int_multi
[[Return to contents]](#Contents)
## int_opt
[[Return to contents]](#Contents)
## int
[[Return to contents]](#Contents)
## float_multi
[[Return to contents]](#Contents)
## float_opt
[[Return to contents]](#Contents)
## float
[[Return to contents]](#Contents)
## string_multi
[[Return to contents]](#Contents)
## string_opt
[[Return to contents]](#Contents)
## string
[[Return to contents]](#Contents)
## limit_free_args_to_at_least
[[Return to contents]](#Contents)
## limit_free_args_to_exactly
[[Return to contents]](#Contents)
## limit_free_args
[[Return to contents]](#Contents)
## arguments_description
[[Return to contents]](#Contents)
## usage
[[Return to contents]](#Contents)
## finalize
[[Return to contents]](#Contents)
## remaining_parameters
[[Return to contents]](#Contents)
## ParseConfig
[[Return to contents]](#Contents)
#### Powered by vdoc. Generated on: 7 Feb 2025 12:06:55

158
vdocs/fontstash.md Normal file
View File

@@ -0,0 +1,158 @@
# module fontstash
## Contents
- [Constants](#Constants)
- [create_internal](#create_internal)
- [delete_internal](#delete_internal)
- [Context](#Context)
- [set_error_callback](#set_error_callback)
- [get_atlas_size](#get_atlas_size)
- [expand_atlas](#expand_atlas)
- [reset_atlas](#reset_atlas)
- [get_font_by_name](#get_font_by_name)
- [add_fallback_font](#add_fallback_font)
- [add_font_mem](#add_font_mem)
- [push_state](#push_state)
- [pop_state](#pop_state)
- [clear_state](#clear_state)
- [set_size](#set_size)
- [set_color](#set_color)
- [set_spacing](#set_spacing)
- [set_blur](#set_blur)
- [set_align](#set_align)
- [set_alignment](#set_alignment)
- [set_font](#set_font)
- [draw_text](#draw_text)
- [text_bounds](#text_bounds)
- [line_bounds](#line_bounds)
- [vert_metrics](#vert_metrics)
- [text_iter_init](#text_iter_init)
- [text_iter_next](#text_iter_next)
- [get_texture_data](#get_texture_data)
- [validate_texture](#validate_texture)
- [draw_debug](#draw_debug)
- [Align](#Align)
- [ErrorCode](#ErrorCode)
- [Flags](#Flags)
- [C.FONScontext](#C.FONScontext)
- [C.FONSfont](#C.FONSfont)
- [C.FONSparams](#C.FONSparams)
- [C.FONSquad](#C.FONSquad)
- [C.FONStextIter](#C.FONStextIter)
## Constants
[[Return to contents]](#Contents)
## create_internal
[[Return to contents]](#Contents)
## delete_internal
[[Return to contents]](#Contents)
## Context
[[Return to contents]](#Contents)
## set_error_callback
[[Return to contents]](#Contents)
## get_atlas_size
[[Return to contents]](#Contents)
## expand_atlas
[[Return to contents]](#Contents)
## reset_atlas
[[Return to contents]](#Contents)
## get_font_by_name
[[Return to contents]](#Contents)
## add_fallback_font
[[Return to contents]](#Contents)
## add_font_mem
[[Return to contents]](#Contents)
## push_state
[[Return to contents]](#Contents)
## pop_state
[[Return to contents]](#Contents)
## clear_state
[[Return to contents]](#Contents)
## set_size
[[Return to contents]](#Contents)
## set_color
[[Return to contents]](#Contents)
## set_spacing
[[Return to contents]](#Contents)
## set_blur
[[Return to contents]](#Contents)
## set_align
[[Return to contents]](#Contents)
## set_alignment
[[Return to contents]](#Contents)
## set_font
[[Return to contents]](#Contents)
## draw_text
[[Return to contents]](#Contents)
## text_bounds
[[Return to contents]](#Contents)
## line_bounds
[[Return to contents]](#Contents)
## vert_metrics
[[Return to contents]](#Contents)
## text_iter_init
[[Return to contents]](#Contents)
## text_iter_next
[[Return to contents]](#Contents)
## get_texture_data
[[Return to contents]](#Contents)
## validate_texture
[[Return to contents]](#Contents)
## draw_debug
[[Return to contents]](#Contents)
## Align
[[Return to contents]](#Contents)
## ErrorCode
[[Return to contents]](#Contents)
## Flags
[[Return to contents]](#Contents)
## C.FONScontext
[[Return to contents]](#Contents)
## C.FONSfont
[[Return to contents]](#Contents)
## C.FONSparams
[[Return to contents]](#Contents)
## C.FONSquad
[[Return to contents]](#Contents)
## C.FONStextIter
[[Return to contents]](#Contents)
#### Powered by vdoc. Generated on: 7 Feb 2025 12:06:55

270
vdocs/gg.m4.md Normal file
View File

@@ -0,0 +1,270 @@
# module gg.m4
## Contents
- [Constants](#Constants)
- [add](#add)
- [blank_v4](#blank_v4)
- [calc_tr_matrices](#calc_tr_matrices)
- [deg](#deg)
- [det](#det)
- [look_at](#look_at)
- [mul](#mul)
- [mul_vec](#mul_vec)
- [one_v4](#one_v4)
- [ortho](#ortho)
- [perspective](#perspective)
- [rad](#rad)
- [rotate](#rotate)
- [scale](#scale)
- [set_m4](#set_m4)
- [set_v4](#set_v4)
- [sub](#sub)
- [unit_m4](#unit_m4)
- [vec3](#vec3)
- [vec4](#vec4)
- [zero_m4](#zero_m4)
- [zero_v4](#zero_v4)
- [Mat4](#Mat4)
- [str](#str)
- [clean](#clean)
- [sum_all](#sum_all)
- [is_equal](#is_equal)
- [get_e](#get_e)
- [get_f](#get_f)
- [set_e](#set_e)
- [set_f](#set_f)
- [copy](#copy)
- [set_trace](#set_trace)
- [get_trace](#get_trace)
- [set_f32](#set_f32)
- [set_row](#set_row)
- [get_row](#get_row)
- [set_col](#set_col)
- [get_col](#get_col)
- [swap_col](#swap_col)
- [swap_row](#swap_row)
- [transpose](#transpose)
- [mul_scalar](#mul_scalar)
- [+](#+)
- [-](#-)
- [*](#*)
- [inverse](#inverse)
- [translate](#translate)
- [Vec4](#Vec4)
- [str](#str)
- [is_equal](#is_equal)
- [clean](#clean)
- [copy](#copy)
- [mul_scalar](#mul_scalar)
- [inv](#inv)
- [normalize](#normalize)
- [normalize3](#normalize3)
- [mod](#mod)
- [mod3](#mod3)
- [sum](#sum)
- [+](#+)
- [-](#-)
- [*](#*)
- [%](#%)
- [mul_vec4](#mul_vec4)
## Constants
[[Return to contents]](#Contents)
## add
[[Return to contents]](#Contents)
## blank_v4
[[Return to contents]](#Contents)
## calc_tr_matrices
[[Return to contents]](#Contents)
## deg
[[Return to contents]](#Contents)
## det
[[Return to contents]](#Contents)
## look_at
[[Return to contents]](#Contents)
## mul
[[Return to contents]](#Contents)
## mul_vec
[[Return to contents]](#Contents)
## one_v4
[[Return to contents]](#Contents)
## ortho
[[Return to contents]](#Contents)
## perspective
[[Return to contents]](#Contents)
## rad
[[Return to contents]](#Contents)
## rotate
[[Return to contents]](#Contents)
## scale
[[Return to contents]](#Contents)
## set_m4
[[Return to contents]](#Contents)
## set_v4
[[Return to contents]](#Contents)
## sub
[[Return to contents]](#Contents)
## unit_m4
[[Return to contents]](#Contents)
## vec3
[[Return to contents]](#Contents)
## vec4
[[Return to contents]](#Contents)
## zero_m4
[[Return to contents]](#Contents)
## zero_v4
[[Return to contents]](#Contents)
## Mat4
[[Return to contents]](#Contents)
## str
[[Return to contents]](#Contents)
## clean
[[Return to contents]](#Contents)
## sum_all
[[Return to contents]](#Contents)
## is_equal
[[Return to contents]](#Contents)
## get_e
[[Return to contents]](#Contents)
## get_f
[[Return to contents]](#Contents)
## set_e
[[Return to contents]](#Contents)
## set_f
[[Return to contents]](#Contents)
## copy
[[Return to contents]](#Contents)
## set_trace
[[Return to contents]](#Contents)
## get_trace
[[Return to contents]](#Contents)
## set_f32
[[Return to contents]](#Contents)
## set_row
[[Return to contents]](#Contents)
## get_row
[[Return to contents]](#Contents)
## set_col
[[Return to contents]](#Contents)
## get_col
[[Return to contents]](#Contents)
## swap_col
[[Return to contents]](#Contents)
## swap_row
[[Return to contents]](#Contents)
## transpose
[[Return to contents]](#Contents)
## mul_scalar
[[Return to contents]](#Contents)
## +
[[Return to contents]](#Contents)
## -
[[Return to contents]](#Contents)
## *
[[Return to contents]](#Contents)
## inverse
[[Return to contents]](#Contents)
## translate
[[Return to contents]](#Contents)
## Vec4
[[Return to contents]](#Contents)
## str
[[Return to contents]](#Contents)
## is_equal
[[Return to contents]](#Contents)
## clean
[[Return to contents]](#Contents)
## copy
[[Return to contents]](#Contents)
## mul_scalar
[[Return to contents]](#Contents)
## inv
[[Return to contents]](#Contents)
## normalize
[[Return to contents]](#Contents)
## normalize3
[[Return to contents]](#Contents)
## mod
[[Return to contents]](#Contents)
## mod3
[[Return to contents]](#Contents)
## sum
[[Return to contents]](#Contents)
## +
[[Return to contents]](#Contents)
## -
[[Return to contents]](#Contents)
## *
[[Return to contents]](#Contents)
## %
[[Return to contents]](#Contents)
## mul_vec4
[[Return to contents]](#Contents)
#### Powered by vdoc. Generated on: 7 Feb 2025 12:06:55

476
vdocs/gg.md Normal file
View File

@@ -0,0 +1,476 @@
# module gg
## Contents
- [create_default_pass](#create_default_pass)
- [dpi_scale](#dpi_scale)
- [high_dpi](#high_dpi)
- [is_fullscreen](#is_fullscreen)
- [new_context](#new_context)
- [screen_size](#screen_size)
- [set_window_title](#set_window_title)
- [start](#start)
- [toggle_fullscreen](#toggle_fullscreen)
- [window_size](#window_size)
- [window_size_real_pixels](#window_size_real_pixels)
- [Color](#Color)
- [FNCb](#FNCb)
- [FNChar](#FNChar)
- [FNClick](#FNClick)
- [FNEvent](#FNEvent)
- [FNEvent2](#FNEvent2)
- [FNFail](#FNFail)
- [FNKeyDown](#FNKeyDown)
- [FNKeyUp](#FNKeyUp)
- [FNMove](#FNMove)
- [FNUnClick](#FNUnClick)
- [FT](#FT)
- [flush](#flush)
- [TouchPoint](#TouchPoint)
- [EndEnum](#EndEnum)
- [ImageEffect](#ImageEffect)
- [KeyCode](#KeyCode)
- [Modifier](#Modifier)
- [MouseButton](#MouseButton)
- [MouseButtons](#MouseButtons)
- [PaintStyle](#PaintStyle)
- [PenLineType](#PenLineType)
- [Config](#Config)
- [Context](#Context)
- [begin](#begin)
- [cache_image](#cache_image)
- [create_image](#create_image)
- [create_image_from_byte_array](#create_image_from_byte_array)
- [create_image_from_memory](#create_image_from_memory)
- [create_image_with_size](#create_image_with_size)
- [draw_arc_empty](#draw_arc_empty)
- [draw_arc_filled](#draw_arc_filled)
- [draw_arc_line](#draw_arc_line)
- [draw_circle_empty](#draw_circle_empty)
- [draw_circle_filled](#draw_circle_filled)
- [draw_circle_line](#draw_circle_line)
- [draw_circle_with_segments](#draw_circle_with_segments)
- [draw_convex_poly](#draw_convex_poly)
- [draw_cubic_bezier](#draw_cubic_bezier)
- [draw_cubic_bezier_in_steps](#draw_cubic_bezier_in_steps)
- [draw_cubic_bezier_recursive](#draw_cubic_bezier_recursive)
- [draw_cubic_bezier_recursive_scalar](#draw_cubic_bezier_recursive_scalar)
- [draw_ellipse_empty](#draw_ellipse_empty)
- [draw_ellipse_filled](#draw_ellipse_filled)
- [draw_image](#draw_image)
- [draw_image_3d](#draw_image_3d)
- [draw_image_by_id](#draw_image_by_id)
- [draw_image_flipped](#draw_image_flipped)
- [draw_image_part](#draw_image_part)
- [draw_image_with_config](#draw_image_with_config)
- [draw_line](#draw_line)
- [draw_line_with_config](#draw_line_with_config)
- [draw_pixel](#draw_pixel)
- [draw_pixels](#draw_pixels)
- [draw_poly_empty](#draw_poly_empty)
- [draw_polygon_filled](#draw_polygon_filled)
- [draw_rect](#draw_rect)
- [draw_rect_empty](#draw_rect_empty)
- [draw_rect_filled](#draw_rect_filled)
- [draw_rounded_rect_empty](#draw_rounded_rect_empty)
- [draw_rounded_rect_filled](#draw_rounded_rect_filled)
- [draw_slice_empty](#draw_slice_empty)
- [draw_slice_filled](#draw_slice_filled)
- [draw_square_empty](#draw_square_empty)
- [draw_square_filled](#draw_square_filled)
- [draw_text](#draw_text)
- [draw_text2](#draw_text2)
- [draw_text_def](#draw_text_def)
- [draw_text_default](#draw_text_default)
- [draw_triangle_empty](#draw_triangle_empty)
- [draw_triangle_filled](#draw_triangle_filled)
- [end](#end)
- [get_cached_image_by_idx](#get_cached_image_by_idx)
- [has_text_style](#has_text_style)
- [new_streaming_image](#new_streaming_image)
- [quit](#quit)
- [record_frame](#record_frame)
- [refresh_ui](#refresh_ui)
- [remove_cached_image_by_idx](#remove_cached_image_by_idx)
- [resize](#resize)
- [run](#run)
- [scissor_rect](#scissor_rect)
- [set_bg_color](#set_bg_color)
- [set_text_cfg](#set_text_cfg)
- [set_text_style](#set_text_style)
- [show_fps](#show_fps)
- [text_height](#text_height)
- [text_size](#text_size)
- [text_width](#text_width)
- [update_pixel_data](#update_pixel_data)
- [window_size](#window_size)
- [DrawImageConfig](#DrawImageConfig)
- [DrawPixelConfig](#DrawPixelConfig)
- [DrawRectParams](#DrawRectParams)
- [DrawTextParams](#DrawTextParams)
- [EndOptions](#EndOptions)
- [Event](#Event)
- [FPSConfig](#FPSConfig)
- [Image](#Image)
- [init_sokol_image](#init_sokol_image)
- [update_pixel_data](#update_pixel_data)
- [PenConfig](#PenConfig)
- [PipelineContainer](#PipelineContainer)
- [Rect](#Rect)
- [SSRecorderSettings](#SSRecorderSettings)
- [Size](#Size)
- [StreamingImageConfig](#StreamingImageConfig)
## create_default_pass
[[Return to contents]](#Contents)
## dpi_scale
[[Return to contents]](#Contents)
## high_dpi
[[Return to contents]](#Contents)
## is_fullscreen
[[Return to contents]](#Contents)
## new_context
[[Return to contents]](#Contents)
## screen_size
[[Return to contents]](#Contents)
## set_window_title
[[Return to contents]](#Contents)
## start
[[Return to contents]](#Contents)
## toggle_fullscreen
[[Return to contents]](#Contents)
## window_size
[[Return to contents]](#Contents)
## window_size_real_pixels
[[Return to contents]](#Contents)
## Color
[[Return to contents]](#Contents)
## FNCb
[[Return to contents]](#Contents)
## FNChar
[[Return to contents]](#Contents)
## FNClick
[[Return to contents]](#Contents)
## FNEvent
[[Return to contents]](#Contents)
## FNEvent2
[[Return to contents]](#Contents)
## FNFail
[[Return to contents]](#Contents)
## FNKeyDown
[[Return to contents]](#Contents)
## FNKeyUp
[[Return to contents]](#Contents)
## FNMove
[[Return to contents]](#Contents)
## FNUnClick
[[Return to contents]](#Contents)
## FT
## flush
[[Return to contents]](#Contents)
## TouchPoint
[[Return to contents]](#Contents)
## EndEnum
[[Return to contents]](#Contents)
## ImageEffect
[[Return to contents]](#Contents)
## KeyCode
[[Return to contents]](#Contents)
## Modifier
[[Return to contents]](#Contents)
## MouseButton
[[Return to contents]](#Contents)
## MouseButtons
[[Return to contents]](#Contents)
## PaintStyle
[[Return to contents]](#Contents)
## PenLineType
[[Return to contents]](#Contents)
## Config
[[Return to contents]](#Contents)
## Context
[[Return to contents]](#Contents)
## begin
[[Return to contents]](#Contents)
## cache_image
[[Return to contents]](#Contents)
## create_image
[[Return to contents]](#Contents)
## create_image_from_byte_array
[[Return to contents]](#Contents)
## create_image_from_memory
[[Return to contents]](#Contents)
## create_image_with_size
[[Return to contents]](#Contents)
## draw_arc_empty
[[Return to contents]](#Contents)
## draw_arc_filled
[[Return to contents]](#Contents)
## draw_arc_line
[[Return to contents]](#Contents)
## draw_circle_empty
[[Return to contents]](#Contents)
## draw_circle_filled
[[Return to contents]](#Contents)
## draw_circle_line
[[Return to contents]](#Contents)
## draw_circle_with_segments
[[Return to contents]](#Contents)
## draw_convex_poly
[[Return to contents]](#Contents)
## draw_cubic_bezier
[[Return to contents]](#Contents)
## draw_cubic_bezier_in_steps
[[Return to contents]](#Contents)
## draw_cubic_bezier_recursive
[[Return to contents]](#Contents)
## draw_cubic_bezier_recursive_scalar
[[Return to contents]](#Contents)
## draw_ellipse_empty
[[Return to contents]](#Contents)
## draw_ellipse_filled
[[Return to contents]](#Contents)
## draw_image
[[Return to contents]](#Contents)
## draw_image_3d
[[Return to contents]](#Contents)
## draw_image_by_id
[[Return to contents]](#Contents)
## draw_image_flipped
[[Return to contents]](#Contents)
## draw_image_part
[[Return to contents]](#Contents)
## draw_image_with_config
[[Return to contents]](#Contents)
## draw_line
[[Return to contents]](#Contents)
## draw_line_with_config
[[Return to contents]](#Contents)
## draw_pixel
[[Return to contents]](#Contents)
## draw_pixels
[[Return to contents]](#Contents)
## draw_poly_empty
[[Return to contents]](#Contents)
## draw_polygon_filled
[[Return to contents]](#Contents)
## draw_rect
[[Return to contents]](#Contents)
## draw_rect_empty
[[Return to contents]](#Contents)
## draw_rect_filled
[[Return to contents]](#Contents)
## draw_rounded_rect_empty
[[Return to contents]](#Contents)
## draw_rounded_rect_filled
[[Return to contents]](#Contents)
## draw_slice_empty
[[Return to contents]](#Contents)
## draw_slice_filled
[[Return to contents]](#Contents)
## draw_square_empty
[[Return to contents]](#Contents)
## draw_square_filled
[[Return to contents]](#Contents)
## draw_text
[[Return to contents]](#Contents)
## draw_text2
[[Return to contents]](#Contents)
## draw_text_def
[[Return to contents]](#Contents)
## draw_text_default
[[Return to contents]](#Contents)
## draw_triangle_empty
[[Return to contents]](#Contents)
## draw_triangle_filled
[[Return to contents]](#Contents)
## end
[[Return to contents]](#Contents)
## get_cached_image_by_idx
[[Return to contents]](#Contents)
## has_text_style
[[Return to contents]](#Contents)
## new_streaming_image
[[Return to contents]](#Contents)
## quit
[[Return to contents]](#Contents)
## record_frame
[[Return to contents]](#Contents)
## refresh_ui
[[Return to contents]](#Contents)
## remove_cached_image_by_idx
[[Return to contents]](#Contents)
## resize
[[Return to contents]](#Contents)
## run
[[Return to contents]](#Contents)
## scissor_rect
[[Return to contents]](#Contents)
## set_bg_color
[[Return to contents]](#Contents)
## set_text_cfg
[[Return to contents]](#Contents)
## set_text_style
[[Return to contents]](#Contents)
## show_fps
[[Return to contents]](#Contents)
## text_height
[[Return to contents]](#Contents)
## text_size
[[Return to contents]](#Contents)
## text_width
[[Return to contents]](#Contents)
## update_pixel_data
[[Return to contents]](#Contents)
## window_size
[[Return to contents]](#Contents)
## DrawImageConfig
[[Return to contents]](#Contents)
## DrawPixelConfig
[[Return to contents]](#Contents)
## DrawRectParams
[[Return to contents]](#Contents)
## DrawTextParams
[[Return to contents]](#Contents)
## EndOptions
[[Return to contents]](#Contents)
## Event
[[Return to contents]](#Contents)
## FPSConfig
[[Return to contents]](#Contents)
## Image
[[Return to contents]](#Contents)
## init_sokol_image
[[Return to contents]](#Contents)
## update_pixel_data
[[Return to contents]](#Contents)
## PenConfig
[[Return to contents]](#Contents)
## PipelineContainer
[[Return to contents]](#Contents)
## Rect
[[Return to contents]](#Contents)
## SSRecorderSettings
[[Return to contents]](#Contents)
## Size
[[Return to contents]](#Contents)
## StreamingImageConfig
[[Return to contents]](#Contents)
#### Powered by vdoc. Generated on: 7 Feb 2025 12:06:55

144
vdocs/gx.md Normal file
View File

@@ -0,0 +1,144 @@
# module gx
## Contents
- [Constants](#Constants)
- [color_from_string](#color_from_string)
- [hex](#hex)
- [rgb](#rgb)
- [rgba](#rgba)
- [HorizontalAlign](#HorizontalAlign)
- [VerticalAlign](#VerticalAlign)
- [Color](#Color)
- [+](#+)
- [-](#-)
- [*](#*)
- [/](#/)
- [over](#over)
- [eq](#eq)
- [str](#str)
- [rgba8](#rgba8)
- [bgra8](#bgra8)
- [abgr8](#abgr8)
- [to_css_string](#to_css_string)
- [Image](#Image)
- [is_empty](#is_empty)
- [TextCfg](#TextCfg)
- [to_css_string](#to_css_string)
## Constants
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
## color_from_string
[[Return to contents]](#Contents)
## hex
[[Return to contents]](#Contents)
## rgb
[[Return to contents]](#Contents)
## rgba
[[Return to contents]](#Contents)
## HorizontalAlign
[[Return to contents]](#Contents)
## VerticalAlign
[[Return to contents]](#Contents)
## Color
[[Return to contents]](#Contents)
## +
[[Return to contents]](#Contents)
## -
[[Return to contents]](#Contents)
## *
[[Return to contents]](#Contents)
## /
[[Return to contents]](#Contents)
## over
[[Return to contents]](#Contents)
## eq
[[Return to contents]](#Contents)
## str
[[Return to contents]](#Contents)
## rgba8
[[Return to contents]](#Contents)
## bgra8
[[Return to contents]](#Contents)
## abgr8
[[Return to contents]](#Contents)
## to_css_string
[[Return to contents]](#Contents)
## Image
[[Return to contents]](#Contents)
## is_empty
[[Return to contents]](#Contents)
## TextCfg
[[Return to contents]](#Contents)
## to_css_string
[[Return to contents]](#Contents)
#### Powered by vdoc. Generated on: 7 Feb 2025 12:06:55

28
vdocs/hash.crc32.md Normal file
View File

@@ -0,0 +1,28 @@
# module hash.crc32
## Contents
- [Constants](#Constants)
- [new](#new)
- [sum](#sum)
- [Crc32](#Crc32)
- [checksum](#checksum)
## Constants
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
## new
[[Return to contents]](#Contents)
## sum
[[Return to contents]](#Contents)
## Crc32
## checksum
[[Return to contents]](#Contents)
#### Powered by vdoc. Generated on: 7 Feb 2025 12:06:55

38
vdocs/hash.fnv1a.md Normal file
View File

@@ -0,0 +1,38 @@
# module hash.fnv1a
## Contents
- [sum32](#sum32)
- [sum32_bytes](#sum32_bytes)
- [sum32_string](#sum32_string)
- [sum32_struct](#sum32_struct)
- [sum64](#sum64)
- [sum64_bytes](#sum64_bytes)
- [sum64_string](#sum64_string)
- [sum64_struct](#sum64_struct)
## sum32
[[Return to contents]](#Contents)
## sum32_bytes
[[Return to contents]](#Contents)
## sum32_string
[[Return to contents]](#Contents)
## sum32_struct
[[Return to contents]](#Contents)
## sum64
[[Return to contents]](#Contents)
## sum64_bytes
[[Return to contents]](#Contents)
## sum64_string
[[Return to contents]](#Contents)
## sum64_struct
[[Return to contents]](#Contents)
#### Powered by vdoc. Generated on: 7 Feb 2025 12:06:55

30
vdocs/hash.md Normal file
View File

@@ -0,0 +1,30 @@
# module hash
## Contents
- [sum64](#sum64)
- [sum64_string](#sum64_string)
- [wyhash64_c](#wyhash64_c)
- [wyhash_c](#wyhash_c)
- [wymum](#wymum)
- [Hash](#Hash)
## sum64
[[Return to contents]](#Contents)
## sum64_string
[[Return to contents]](#Contents)
## wyhash64_c
[[Return to contents]](#Contents)
## wyhash_c
[[Return to contents]](#Contents)
## wymum
[[Return to contents]](#Contents)
## Hash
[[Return to contents]](#Contents)
#### Powered by vdoc. Generated on: 7 Feb 2025 12:06:55

150
vdocs/io.md Normal file
View File

@@ -0,0 +1,150 @@
# module io
## Contents
- [Constants](#Constants)
- [cp](#cp)
- [make_readerwriter](#make_readerwriter)
- [new_buffered_reader](#new_buffered_reader)
- [new_buffered_writer](#new_buffered_writer)
- [new_multi_writer](#new_multi_writer)
- [read_all](#read_all)
- [read_any](#read_any)
- [RandomReader](#RandomReader)
- [RandomWriter](#RandomWriter)
- [Reader](#Reader)
- [ReaderWriter](#ReaderWriter)
- [Writer](#Writer)
- [ReaderWriterImpl](#ReaderWriterImpl)
- [read](#read)
- [write](#write)
- [BufferedReadLineConfig](#BufferedReadLineConfig)
- [BufferedReader](#BufferedReader)
- [read](#read)
- [free](#free)
- [end_of_stream](#end_of_stream)
- [read_line](#read_line)
- [BufferedReaderConfig](#BufferedReaderConfig)
- [BufferedWriter](#BufferedWriter)
- [reset](#reset)
- [buffered](#buffered)
- [flush](#flush)
- [available](#available)
- [write](#write)
- [BufferedWriterConfig](#BufferedWriterConfig)
- [CopySettings](#CopySettings)
- [Eof](#Eof)
- [MultiWriter](#MultiWriter)
- [write](#write)
- [NotExpected](#NotExpected)
- [ReadAllConfig](#ReadAllConfig)
## Constants
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
## cp
[[Return to contents]](#Contents)
## make_readerwriter
[[Return to contents]](#Contents)
## new_buffered_reader
[[Return to contents]](#Contents)
## new_buffered_writer
[[Return to contents]](#Contents)
## new_multi_writer
[[Return to contents]](#Contents)
## read_all
[[Return to contents]](#Contents)
## read_any
[[Return to contents]](#Contents)
## RandomReader
[[Return to contents]](#Contents)
## RandomWriter
[[Return to contents]](#Contents)
## Reader
[[Return to contents]](#Contents)
## ReaderWriter
[[Return to contents]](#Contents)
## Writer
[[Return to contents]](#Contents)
## ReaderWriterImpl
## read
[[Return to contents]](#Contents)
## write
[[Return to contents]](#Contents)
## BufferedReadLineConfig
[[Return to contents]](#Contents)
## BufferedReader
[[Return to contents]](#Contents)
## read
[[Return to contents]](#Contents)
## free
[[Return to contents]](#Contents)
## end_of_stream
[[Return to contents]](#Contents)
## read_line
[[Return to contents]](#Contents)
## BufferedReaderConfig
[[Return to contents]](#Contents)
## BufferedWriter
[[Return to contents]](#Contents)
## reset
[[Return to contents]](#Contents)
## buffered
[[Return to contents]](#Contents)
## flush
[[Return to contents]](#Contents)
## available
[[Return to contents]](#Contents)
## write
[[Return to contents]](#Contents)
## BufferedWriterConfig
[[Return to contents]](#Contents)
## CopySettings
[[Return to contents]](#Contents)
## Eof
[[Return to contents]](#Contents)
## MultiWriter
[[Return to contents]](#Contents)
## write
[[Return to contents]](#Contents)
## NotExpected
[[Return to contents]](#Contents)
## ReadAllConfig
[[Return to contents]](#Contents)
#### Powered by vdoc. Generated on: 7 Feb 2025 12:06:55

86
vdocs/io.string_reader.md Normal file
View File

@@ -0,0 +1,86 @@
# module io.string_reader
## Contents
- [StringReader.new](#StringReader.new)
- [StringReader](#StringReader)
- [needs_fill](#needs_fill)
- [needs_fill_until](#needs_fill_until)
- [fill_buffer](#fill_buffer)
- [fill_buffer_until](#fill_buffer_until)
- [read_all_bytes](#read_all_bytes)
- [read_all](#read_all)
- [read_bytes](#read_bytes)
- [read_string](#read_string)
- [read](#read)
- [read_line](#read_line)
- [write](#write)
- [get_data](#get_data)
- [get_part](#get_part)
- [get_string](#get_string)
- [get_string_part](#get_string_part)
- [flush](#flush)
- [free](#free)
- [StringReaderParams](#StringReaderParams)
## StringReader.new
[[Return to contents]](#Contents)
## StringReader
[[Return to contents]](#Contents)
## needs_fill
[[Return to contents]](#Contents)
## needs_fill_until
[[Return to contents]](#Contents)
## fill_buffer
[[Return to contents]](#Contents)
## fill_buffer_until
[[Return to contents]](#Contents)
## read_all_bytes
[[Return to contents]](#Contents)
## read_all
[[Return to contents]](#Contents)
## read_bytes
[[Return to contents]](#Contents)
## read_string
[[Return to contents]](#Contents)
## read
[[Return to contents]](#Contents)
## read_line
[[Return to contents]](#Contents)
## write
[[Return to contents]](#Contents)
## get_data
[[Return to contents]](#Contents)
## get_part
[[Return to contents]](#Contents)
## get_string
[[Return to contents]](#Contents)
## get_string_part
[[Return to contents]](#Contents)
## flush
[[Return to contents]](#Contents)
## free
[[Return to contents]](#Contents)
## StringReaderParams
[[Return to contents]](#Contents)
#### Powered by vdoc. Generated on: 7 Feb 2025 12:06:55

22
vdocs/io.util.md Normal file
View File

@@ -0,0 +1,22 @@
# module io.util
## Contents
- [temp_dir](#temp_dir)
- [temp_file](#temp_file)
- [TempDirOptions](#TempDirOptions)
- [TempFileOptions](#TempFileOptions)
## temp_dir
[[Return to contents]](#Contents)
## temp_file
[[Return to contents]](#Contents)
## TempDirOptions
[[Return to contents]](#Contents)
## TempFileOptions
[[Return to contents]](#Contents)
#### Powered by vdoc. Generated on: 7 Feb 2025 12:06:55

82
vdocs/json.cjson.md Normal file
View File

@@ -0,0 +1,82 @@
# module json.cjson
## Contents
- [create_array](#create_array)
- [create_bool](#create_bool)
- [create_false](#create_false)
- [create_null](#create_null)
- [create_number](#create_number)
- [create_object](#create_object)
- [create_raw](#create_raw)
- [create_string](#create_string)
- [create_true](#create_true)
- [delete](#delete)
- [version](#version)
- [Node](#Node)
- [add_item_to_object](#add_item_to_object)
- [add_item_to_array](#add_item_to_array)
- [print](#print)
- [print_unformatted](#print_unformatted)
- [str](#str)
- [CJsonType](#CJsonType)
- [C.cJSON](#C.cJSON)
## create_array
[[Return to contents]](#Contents)
## create_bool
[[Return to contents]](#Contents)
## create_false
[[Return to contents]](#Contents)
## create_null
[[Return to contents]](#Contents)
## create_number
[[Return to contents]](#Contents)
## create_object
[[Return to contents]](#Contents)
## create_raw
[[Return to contents]](#Contents)
## create_string
[[Return to contents]](#Contents)
## create_true
[[Return to contents]](#Contents)
## delete
[[Return to contents]](#Contents)
## version
[[Return to contents]](#Contents)
## Node
[[Return to contents]](#Contents)
## add_item_to_object
[[Return to contents]](#Contents)
## add_item_to_array
[[Return to contents]](#Contents)
## print
[[Return to contents]](#Contents)
## print_unformatted
[[Return to contents]](#Contents)
## str
[[Return to contents]](#Contents)
## CJsonType
[[Return to contents]](#Contents)
## C.cJSON
[[Return to contents]](#Contents)
#### Powered by vdoc. Generated on: 7 Feb 2025 12:06:55

22
vdocs/json.md Normal file
View File

@@ -0,0 +1,22 @@
# module json
## Contents
- [decode](#decode)
- [encode](#encode)
- [encode_pretty](#encode_pretty)
- [C.cJSON](#C.cJSON)
## decode
[[Return to contents]](#Contents)
## encode
[[Return to contents]](#Contents)
## encode_pretty
[[Return to contents]](#Contents)
## C.cJSON
[[Return to contents]](#Contents)
#### Powered by vdoc. Generated on: 7 Feb 2025 12:06:55

218
vdocs/log.md Normal file
View File

@@ -0,0 +1,218 @@
# module log
## Contents
- [debug](#debug)
- [error](#error)
- [fatal](#fatal)
- [get_level](#get_level)
- [get_logger](#get_logger)
- [info](#info)
- [level_from_tag](#level_from_tag)
- [new_thread_safe_log](#new_thread_safe_log)
- [set_always_flush](#set_always_flush)
- [set_level](#set_level)
- [set_logger](#set_logger)
- [target_from_label](#target_from_label)
- [use_stdout](#use_stdout)
- [warn](#warn)
- [Logger](#Logger)
- [Level](#Level)
- [LogTarget](#LogTarget)
- [TimeFormat](#TimeFormat)
- [C.log__Logger](#C.log__Logger)
- [Log](#Log)
- [get_level](#get_level)
- [set_level](#set_level)
- [set_full_logpath](#set_full_logpath)
- [set_output_label](#set_output_label)
- [set_output_path](#set_output_path)
- [set_output_stream](#set_output_stream)
- [log_to_console_too](#log_to_console_too)
- [flush](#flush)
- [close](#close)
- [reopen](#reopen)
- [send_output](#send_output)
- [fatal](#fatal)
- [error](#error)
- [warn](#warn)
- [info](#info)
- [debug](#debug)
- [free](#free)
- [set_time_format](#set_time_format)
- [set_always_flush](#set_always_flush)
- [get_time_format](#get_time_format)
- [set_custom_time_format](#set_custom_time_format)
- [get_custom_time_format](#get_custom_time_format)
- [set_short_tag](#set_short_tag)
- [get_short_tag](#get_short_tag)
- [ThreadSafeLog](#ThreadSafeLog)
- [free](#free)
- [set_level](#set_level)
- [set_always_flush](#set_always_flush)
- [debug](#debug)
- [info](#info)
- [warn](#warn)
- [error](#error)
- [fatal](#fatal)
## debug
[[Return to contents]](#Contents)
## error
[[Return to contents]](#Contents)
## fatal
[[Return to contents]](#Contents)
## get_level
[[Return to contents]](#Contents)
## get_logger
[[Return to contents]](#Contents)
## info
[[Return to contents]](#Contents)
## level_from_tag
[[Return to contents]](#Contents)
## new_thread_safe_log
[[Return to contents]](#Contents)
## set_always_flush
[[Return to contents]](#Contents)
## set_level
[[Return to contents]](#Contents)
## set_logger
[[Return to contents]](#Contents)
## target_from_label
[[Return to contents]](#Contents)
## use_stdout
[[Return to contents]](#Contents)
## warn
[[Return to contents]](#Contents)
## Logger
[[Return to contents]](#Contents)
## Level
[[Return to contents]](#Contents)
## LogTarget
[[Return to contents]](#Contents)
## TimeFormat
[[Return to contents]](#Contents)
## C.log__Logger
[[Return to contents]](#Contents)
## Log
[[Return to contents]](#Contents)
## get_level
[[Return to contents]](#Contents)
## set_level
[[Return to contents]](#Contents)
## set_full_logpath
[[Return to contents]](#Contents)
## set_output_label
[[Return to contents]](#Contents)
## set_output_path
[[Return to contents]](#Contents)
## set_output_stream
[[Return to contents]](#Contents)
## log_to_console_too
[[Return to contents]](#Contents)
## flush
[[Return to contents]](#Contents)
## close
[[Return to contents]](#Contents)
## reopen
[[Return to contents]](#Contents)
## send_output
[[Return to contents]](#Contents)
## fatal
[[Return to contents]](#Contents)
## error
[[Return to contents]](#Contents)
## warn
[[Return to contents]](#Contents)
## info
[[Return to contents]](#Contents)
## debug
[[Return to contents]](#Contents)
## free
[[Return to contents]](#Contents)
## set_time_format
[[Return to contents]](#Contents)
## set_always_flush
[[Return to contents]](#Contents)
## get_time_format
[[Return to contents]](#Contents)
## set_custom_time_format
[[Return to contents]](#Contents)
## get_custom_time_format
[[Return to contents]](#Contents)
## set_short_tag
[[Return to contents]](#Contents)
## get_short_tag
[[Return to contents]](#Contents)
## ThreadSafeLog
[[Return to contents]](#Contents)
## free
[[Return to contents]](#Contents)
## set_level
[[Return to contents]](#Contents)
## set_always_flush
[[Return to contents]](#Contents)
## debug
[[Return to contents]](#Contents)
## info
[[Return to contents]](#Contents)
## warn
[[Return to contents]](#Contents)
## error
[[Return to contents]](#Contents)
## fatal
[[Return to contents]](#Contents)
#### Powered by vdoc. Generated on: 7 Feb 2025 12:06:55

22
vdocs/main.md Normal file
View File

@@ -0,0 +1,22 @@
# module main
## Contents
- [extract_transitions](#extract_transitions)
- [get_transitions](#get_transitions)
- [main](#main)
- [read_file](#read_file)
## extract_transitions
[[Return to contents]](#Contents)
## get_transitions
[[Return to contents]](#Contents)
## main
[[Return to contents]](#Contents)
## read_file
[[Return to contents]](#Contents)
#### Powered by vdoc. Generated on: 7 Feb 2025 12:06:55

38
vdocs/maps.md Normal file
View File

@@ -0,0 +1,38 @@
# module maps
## Contents
- [filter](#filter)
- [flat_map](#flat_map)
- [from_array](#from_array)
- [invert](#invert)
- [merge](#merge)
- [merge_in_place](#merge_in_place)
- [to_array](#to_array)
- [to_map](#to_map)
## filter
[[Return to contents]](#Contents)
## flat_map
[[Return to contents]](#Contents)
## from_array
[[Return to contents]](#Contents)
## invert
[[Return to contents]](#Contents)
## merge
[[Return to contents]](#Contents)
## merge_in_place
[[Return to contents]](#Contents)
## to_array
[[Return to contents]](#Contents)
## to_map
[[Return to contents]](#Contents)
#### Powered by vdoc. Generated on: 7 Feb 2025 12:06:55

224
vdocs/math.big.md Normal file
View File

@@ -0,0 +1,224 @@
# module math.big
## Contents
- [Constants](#Constants)
- [integer_from_bytes](#integer_from_bytes)
- [integer_from_i64](#integer_from_i64)
- [integer_from_int](#integer_from_int)
- [integer_from_radix](#integer_from_radix)
- [integer_from_string](#integer_from_string)
- [integer_from_u32](#integer_from_u32)
- [integer_from_u64](#integer_from_u64)
- [Integer](#Integer)
- [abs](#abs)
- [neg](#neg)
- [+](#+)
- [-](#-)
- [*](#*)
- [div_mod](#div_mod)
- [div_mod_checked](#div_mod_checked)
- [/](#/)
- [%](#%)
- [div_checked](#div_checked)
- [mod_checked](#mod_checked)
- [pow](#pow)
- [mod_pow](#mod_pow)
- [big_mod_pow](#big_mod_pow)
- [inc](#inc)
- [dec](#dec)
- [==](#==)
- [abs_cmp](#abs_cmp)
- [<](#<)
- [get_bit](#get_bit)
- [set_bit](#set_bit)
- [bitwise_or](#bitwise_or)
- [bitwise_and](#bitwise_and)
- [bitwise_not](#bitwise_not)
- [bitwise_xor](#bitwise_xor)
- [left_shift](#left_shift)
- [right_shift](#right_shift)
- [bin_str](#bin_str)
- [hex](#hex)
- [radix_str](#radix_str)
- [str](#str)
- [int](#int)
- [bytes](#bytes)
- [factorial](#factorial)
- [isqrt](#isqrt)
- [isqrt_checked](#isqrt_checked)
- [gcd](#gcd)
- [gcd_binary](#gcd_binary)
- [gcd_euclid](#gcd_euclid)
- [mod_inverse](#mod_inverse)
- [is_odd](#is_odd)
- [is_power_of_2](#is_power_of_2)
- [bit_len](#bit_len)
- [IntegerConfig](#IntegerConfig)
## Constants
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
## integer_from_bytes
[[Return to contents]](#Contents)
## integer_from_i64
[[Return to contents]](#Contents)
## integer_from_int
[[Return to contents]](#Contents)
## integer_from_radix
[[Return to contents]](#Contents)
## integer_from_string
[[Return to contents]](#Contents)
## integer_from_u32
[[Return to contents]](#Contents)
## integer_from_u64
[[Return to contents]](#Contents)
## Integer
[[Return to contents]](#Contents)
## abs
[[Return to contents]](#Contents)
## neg
[[Return to contents]](#Contents)
## +
[[Return to contents]](#Contents)
## -
[[Return to contents]](#Contents)
## *
[[Return to contents]](#Contents)
## div_mod
[[Return to contents]](#Contents)
## div_mod_checked
[[Return to contents]](#Contents)
## /
[[Return to contents]](#Contents)
## %
[[Return to contents]](#Contents)
## div_checked
[[Return to contents]](#Contents)
## mod_checked
[[Return to contents]](#Contents)
## pow
[[Return to contents]](#Contents)
## mod_pow
[[Return to contents]](#Contents)
## big_mod_pow
[[Return to contents]](#Contents)
## inc
[[Return to contents]](#Contents)
## dec
[[Return to contents]](#Contents)
## ==
[[Return to contents]](#Contents)
## abs_cmp
[[Return to contents]](#Contents)
## <
[[Return to contents]](#Contents)
## get_bit
[[Return to contents]](#Contents)
## set_bit
[[Return to contents]](#Contents)
## bitwise_or
[[Return to contents]](#Contents)
## bitwise_and
[[Return to contents]](#Contents)
## bitwise_not
[[Return to contents]](#Contents)
## bitwise_xor
[[Return to contents]](#Contents)
## left_shift
[[Return to contents]](#Contents)
## right_shift
[[Return to contents]](#Contents)
## bin_str
[[Return to contents]](#Contents)
## hex
[[Return to contents]](#Contents)
## radix_str
[[Return to contents]](#Contents)
## str
[[Return to contents]](#Contents)
## int
[[Return to contents]](#Contents)
## bytes
[[Return to contents]](#Contents)
## factorial
[[Return to contents]](#Contents)
## isqrt
[[Return to contents]](#Contents)
## isqrt_checked
[[Return to contents]](#Contents)
## gcd
[[Return to contents]](#Contents)
## gcd_binary
[[Return to contents]](#Contents)
## gcd_euclid
[[Return to contents]](#Contents)
## mod_inverse
[[Return to contents]](#Contents)
## is_odd
[[Return to contents]](#Contents)
## is_power_of_2
[[Return to contents]](#Contents)
## bit_len
[[Return to contents]](#Contents)
## IntegerConfig
[[Return to contents]](#Contents)
#### Powered by vdoc. Generated on: 7 Feb 2025 12:06:55

174
vdocs/math.bits.md Normal file
View File

@@ -0,0 +1,174 @@
# module math.bits
## Contents
- [add_32](#add_32)
- [add_64](#add_64)
- [div_32](#div_32)
- [div_64](#div_64)
- [f32_bits](#f32_bits)
- [f32_from_bits](#f32_from_bits)
- [f64_bits](#f64_bits)
- [f64_from_bits](#f64_from_bits)
- [leading_zeros_16](#leading_zeros_16)
- [leading_zeros_32](#leading_zeros_32)
- [leading_zeros_64](#leading_zeros_64)
- [leading_zeros_8](#leading_zeros_8)
- [len_16](#len_16)
- [len_32](#len_32)
- [len_64](#len_64)
- [len_8](#len_8)
- [mul_32](#mul_32)
- [mul_64](#mul_64)
- [normalize](#normalize)
- [ones_count_16](#ones_count_16)
- [ones_count_32](#ones_count_32)
- [ones_count_64](#ones_count_64)
- [ones_count_8](#ones_count_8)
- [rem_32](#rem_32)
- [rem_64](#rem_64)
- [reverse_16](#reverse_16)
- [reverse_32](#reverse_32)
- [reverse_64](#reverse_64)
- [reverse_8](#reverse_8)
- [reverse_bytes_16](#reverse_bytes_16)
- [reverse_bytes_32](#reverse_bytes_32)
- [reverse_bytes_64](#reverse_bytes_64)
- [rotate_left_16](#rotate_left_16)
- [rotate_left_32](#rotate_left_32)
- [rotate_left_64](#rotate_left_64)
- [rotate_left_8](#rotate_left_8)
- [sub_32](#sub_32)
- [sub_64](#sub_64)
- [trailing_zeros_16](#trailing_zeros_16)
- [trailing_zeros_32](#trailing_zeros_32)
- [trailing_zeros_64](#trailing_zeros_64)
- [trailing_zeros_8](#trailing_zeros_8)
## add_32
[[Return to contents]](#Contents)
## add_64
[[Return to contents]](#Contents)
## div_32
[[Return to contents]](#Contents)
## div_64
[[Return to contents]](#Contents)
## f32_bits
[[Return to contents]](#Contents)
## f32_from_bits
[[Return to contents]](#Contents)
## f64_bits
[[Return to contents]](#Contents)
## f64_from_bits
[[Return to contents]](#Contents)
## leading_zeros_16
[[Return to contents]](#Contents)
## leading_zeros_32
[[Return to contents]](#Contents)
## leading_zeros_64
[[Return to contents]](#Contents)
## leading_zeros_8
[[Return to contents]](#Contents)
## len_16
[[Return to contents]](#Contents)
## len_32
[[Return to contents]](#Contents)
## len_64
[[Return to contents]](#Contents)
## len_8
[[Return to contents]](#Contents)
## mul_32
[[Return to contents]](#Contents)
## mul_64
[[Return to contents]](#Contents)
## normalize
[[Return to contents]](#Contents)
## ones_count_16
[[Return to contents]](#Contents)
## ones_count_32
[[Return to contents]](#Contents)
## ones_count_64
[[Return to contents]](#Contents)
## ones_count_8
[[Return to contents]](#Contents)
## rem_32
[[Return to contents]](#Contents)
## rem_64
[[Return to contents]](#Contents)
## reverse_16
[[Return to contents]](#Contents)
## reverse_32
[[Return to contents]](#Contents)
## reverse_64
[[Return to contents]](#Contents)
## reverse_8
[[Return to contents]](#Contents)
## reverse_bytes_16
[[Return to contents]](#Contents)
## reverse_bytes_32
[[Return to contents]](#Contents)
## reverse_bytes_64
[[Return to contents]](#Contents)
## rotate_left_16
[[Return to contents]](#Contents)
## rotate_left_32
[[Return to contents]](#Contents)
## rotate_left_64
[[Return to contents]](#Contents)
## rotate_left_8
[[Return to contents]](#Contents)
## sub_32
[[Return to contents]](#Contents)
## sub_64
[[Return to contents]](#Contents)
## trailing_zeros_16
[[Return to contents]](#Contents)
## trailing_zeros_32
[[Return to contents]](#Contents)
## trailing_zeros_64
[[Return to contents]](#Contents)
## trailing_zeros_8
[[Return to contents]](#Contents)
#### Powered by vdoc. Generated on: 7 Feb 2025 12:06:55

198
vdocs/math.complex.md Normal file
View File

@@ -0,0 +1,198 @@
# module math.complex
## Contents
- [complex](#complex)
- [Complex](#Complex)
- [str](#str)
- [abs](#abs)
- [mod](#mod)
- [angle](#angle)
- [+](#+)
- [-](#-)
- [*](#*)
- [/](#/)
- [add](#add)
- [subtract](#subtract)
- [multiply](#multiply)
- [divide](#divide)
- [conjugate](#conjugate)
- [addinv](#addinv)
- [mulinv](#mulinv)
- [pow](#pow)
- [root](#root)
- [exp](#exp)
- [ln](#ln)
- [log](#log)
- [arg](#arg)
- [cpow](#cpow)
- [sin](#sin)
- [cos](#cos)
- [tan](#tan)
- [cot](#cot)
- [sec](#sec)
- [csc](#csc)
- [asin](#asin)
- [acos](#acos)
- [atan](#atan)
- [acot](#acot)
- [asec](#asec)
- [acsc](#acsc)
- [sinh](#sinh)
- [cosh](#cosh)
- [tanh](#tanh)
- [coth](#coth)
- [sech](#sech)
- [csch](#csch)
- [asinh](#asinh)
- [acosh](#acosh)
- [atanh](#atanh)
- [acoth](#acoth)
- [acsch](#acsch)
- [equals](#equals)
## complex
[[Return to contents]](#Contents)
## Complex
[[Return to contents]](#Contents)
## str
[[Return to contents]](#Contents)
## abs
[[Return to contents]](#Contents)
## mod
[[Return to contents]](#Contents)
## angle
[[Return to contents]](#Contents)
## +
[[Return to contents]](#Contents)
## -
[[Return to contents]](#Contents)
## *
[[Return to contents]](#Contents)
## /
[[Return to contents]](#Contents)
## add
[[Return to contents]](#Contents)
## subtract
[[Return to contents]](#Contents)
## multiply
[[Return to contents]](#Contents)
## divide
[[Return to contents]](#Contents)
## conjugate
[[Return to contents]](#Contents)
## addinv
[[Return to contents]](#Contents)
## mulinv
[[Return to contents]](#Contents)
## pow
[[Return to contents]](#Contents)
## root
[[Return to contents]](#Contents)
## exp
[[Return to contents]](#Contents)
## ln
[[Return to contents]](#Contents)
## log
[[Return to contents]](#Contents)
## arg
[[Return to contents]](#Contents)
## cpow
[[Return to contents]](#Contents)
## sin
[[Return to contents]](#Contents)
## cos
[[Return to contents]](#Contents)
## tan
[[Return to contents]](#Contents)
## cot
[[Return to contents]](#Contents)
## sec
[[Return to contents]](#Contents)
## csc
[[Return to contents]](#Contents)
## asin
[[Return to contents]](#Contents)
## acos
[[Return to contents]](#Contents)
## atan
[[Return to contents]](#Contents)
## acot
[[Return to contents]](#Contents)
## asec
[[Return to contents]](#Contents)
## acsc
[[Return to contents]](#Contents)
## sinh
[[Return to contents]](#Contents)
## cosh
[[Return to contents]](#Contents)
## tanh
[[Return to contents]](#Contents)
## coth
[[Return to contents]](#Contents)
## sech
[[Return to contents]](#Contents)
## csch
[[Return to contents]](#Contents)
## asinh
[[Return to contents]](#Contents)
## acosh
[[Return to contents]](#Contents)
## atanh
[[Return to contents]](#Contents)
## acoth
[[Return to contents]](#Contents)
## acsch
[[Return to contents]](#Contents)
## equals
[[Return to contents]](#Contents)
#### Powered by vdoc. Generated on: 7 Feb 2025 12:06:55

134
vdocs/math.easing.md Normal file
View File

@@ -0,0 +1,134 @@
# module math.easing
## Contents
- [in_back](#in_back)
- [in_bounce](#in_bounce)
- [in_circ](#in_circ)
- [in_cubic](#in_cubic)
- [in_elastic](#in_elastic)
- [in_expo](#in_expo)
- [in_out_back](#in_out_back)
- [in_out_bounce](#in_out_bounce)
- [in_out_circ](#in_out_circ)
- [in_out_cubic](#in_out_cubic)
- [in_out_elastic](#in_out_elastic)
- [in_out_expo](#in_out_expo)
- [in_out_quad](#in_out_quad)
- [in_out_quart](#in_out_quart)
- [in_out_quint](#in_out_quint)
- [in_out_sine](#in_out_sine)
- [in_quad](#in_quad)
- [in_quart](#in_quart)
- [in_quint](#in_quint)
- [in_sine](#in_sine)
- [linear](#linear)
- [out_back](#out_back)
- [out_bounce](#out_bounce)
- [out_circ](#out_circ)
- [out_cubic](#out_cubic)
- [out_elastic](#out_elastic)
- [out_expo](#out_expo)
- [out_quad](#out_quad)
- [out_quart](#out_quart)
- [out_quint](#out_quint)
- [out_sine](#out_sine)
- [EasingFN](#EasingFN)
## in_back
[[Return to contents]](#Contents)
## in_bounce
[[Return to contents]](#Contents)
## in_circ
[[Return to contents]](#Contents)
## in_cubic
[[Return to contents]](#Contents)
## in_elastic
[[Return to contents]](#Contents)
## in_expo
[[Return to contents]](#Contents)
## in_out_back
[[Return to contents]](#Contents)
## in_out_bounce
[[Return to contents]](#Contents)
## in_out_circ
[[Return to contents]](#Contents)
## in_out_cubic
[[Return to contents]](#Contents)
## in_out_elastic
[[Return to contents]](#Contents)
## in_out_expo
[[Return to contents]](#Contents)
## in_out_quad
[[Return to contents]](#Contents)
## in_out_quart
[[Return to contents]](#Contents)
## in_out_quint
[[Return to contents]](#Contents)
## in_out_sine
[[Return to contents]](#Contents)
## in_quad
[[Return to contents]](#Contents)
## in_quart
[[Return to contents]](#Contents)
## in_quint
[[Return to contents]](#Contents)
## in_sine
[[Return to contents]](#Contents)
## linear
[[Return to contents]](#Contents)
## out_back
[[Return to contents]](#Contents)
## out_bounce
[[Return to contents]](#Contents)
## out_circ
[[Return to contents]](#Contents)
## out_cubic
[[Return to contents]](#Contents)
## out_elastic
[[Return to contents]](#Contents)
## out_expo
[[Return to contents]](#Contents)
## out_quad
[[Return to contents]](#Contents)
## out_quart
[[Return to contents]](#Contents)
## out_quint
[[Return to contents]](#Contents)
## out_sine
[[Return to contents]](#Contents)
## EasingFN
[[Return to contents]](#Contents)
#### Powered by vdoc. Generated on: 7 Feb 2025 12:06:55

66
vdocs/math.fractions.md Normal file
View File

@@ -0,0 +1,66 @@
# module math.fractions
## Contents
- [approximate](#approximate)
- [approximate_with_eps](#approximate_with_eps)
- [fraction](#fraction)
- [Fraction](#Fraction)
- [str](#str)
- [+](#+)
- [-](#-)
- [*](#*)
- [/](#/)
- [negate](#negate)
- [reciprocal](#reciprocal)
- [reduce](#reduce)
- [f64](#f64)
- [==](#==)
- [<](#<)
## approximate
[[Return to contents]](#Contents)
## approximate_with_eps
[[Return to contents]](#Contents)
## fraction
[[Return to contents]](#Contents)
## Fraction
[[Return to contents]](#Contents)
## str
[[Return to contents]](#Contents)
## +
[[Return to contents]](#Contents)
## -
[[Return to contents]](#Contents)
## *
[[Return to contents]](#Contents)
## /
[[Return to contents]](#Contents)
## negate
[[Return to contents]](#Contents)
## reciprocal
[[Return to contents]](#Contents)
## reduce
[[Return to contents]](#Contents)
## f64
[[Return to contents]](#Contents)
## ==
[[Return to contents]](#Contents)
## <
[[Return to contents]](#Contents)
#### Powered by vdoc. Generated on: 7 Feb 2025 12:06:55

112
vdocs/math.internal.md Normal file
View File

@@ -0,0 +1,112 @@
# module math.internal
## Contents
- [Constants](#Constants)
## Constants
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
#### Powered by vdoc. Generated on: 7 Feb 2025 12:06:55

541
vdocs/math.md Normal file
View File

@@ -0,0 +1,541 @@
# module math
## Contents
- [Constants](#Constants)
- [abs](#abs)
- [acos](#acos)
- [acosh](#acosh)
- [alike](#alike)
- [angle_diff](#angle_diff)
- [aprox_cos](#aprox_cos)
- [aprox_sin](#aprox_sin)
- [asin](#asin)
- [asinh](#asinh)
- [atan](#atan)
- [atan2](#atan2)
- [atanh](#atanh)
- [cbrt](#cbrt)
- [ceil](#ceil)
- [clamp](#clamp)
- [clip](#clip)
- [close](#close)
- [copysign](#copysign)
- [cos](#cos)
- [cosf](#cosf)
- [cosh](#cosh)
- [cot](#cot)
- [count_digits](#count_digits)
- [cube](#cube)
- [cubic_bezier](#cubic_bezier)
- [cubic_bezier_a](#cubic_bezier_a)
- [cubic_bezier_coords](#cubic_bezier_coords)
- [cubic_bezier_fa](#cubic_bezier_fa)
- [degrees](#degrees)
- [digits](#digits)
- [divide_euclid](#divide_euclid)
- [divide_floored](#divide_floored)
- [divide_truncated](#divide_truncated)
- [egcd](#egcd)
- [erf](#erf)
- [erfc](#erfc)
- [exp](#exp)
- [exp2](#exp2)
- [expm1](#expm1)
- [f32_bits](#f32_bits)
- [f32_from_bits](#f32_from_bits)
- [f64_bits](#f64_bits)
- [f64_from_bits](#f64_from_bits)
- [factorial](#factorial)
- [factoriali](#factoriali)
- [floor](#floor)
- [floorf](#floorf)
- [fmod](#fmod)
- [frexp](#frexp)
- [gamma](#gamma)
- [gcd](#gcd)
- [get_high_word](#get_high_word)
- [hypot](#hypot)
- [ilog_b](#ilog_b)
- [inf](#inf)
- [is_finite](#is_finite)
- [is_inf](#is_inf)
- [is_nan](#is_nan)
- [lcm](#lcm)
- [ldexp](#ldexp)
- [log](#log)
- [log10](#log10)
- [log1p](#log1p)
- [log2](#log2)
- [log_b](#log_b)
- [log_factorial](#log_factorial)
- [log_gamma](#log_gamma)
- [log_gamma_sign](#log_gamma_sign)
- [log_n](#log_n)
- [logf](#logf)
- [max](#max)
- [maxof](#maxof)
- [min](#min)
- [minmax](#minmax)
- [minof](#minof)
- [mix](#mix)
- [mod](#mod)
- [modf](#modf)
- [modulo_euclid](#modulo_euclid)
- [modulo_floored](#modulo_floored)
- [modulo_truncated](#modulo_truncated)
- [nan](#nan)
- [nextafter](#nextafter)
- [nextafter32](#nextafter32)
- [normalize](#normalize)
- [pow](#pow)
- [pow10](#pow10)
- [powf](#powf)
- [powi](#powi)
- [q_rsqrt](#q_rsqrt)
- [radians](#radians)
- [round](#round)
- [round_sig](#round_sig)
- [round_to_even](#round_to_even)
- [scalbn](#scalbn)
- [sign](#sign)
- [signbit](#signbit)
- [signi](#signi)
- [sin](#sin)
- [sincos](#sincos)
- [sinf](#sinf)
- [sinh](#sinh)
- [sqrt](#sqrt)
- [sqrtf](#sqrtf)
- [sqrti](#sqrti)
- [square](#square)
- [tan](#tan)
- [tanf](#tanf)
- [tanh](#tanh)
- [tolerance](#tolerance)
- [trunc](#trunc)
- [veryclose](#veryclose)
- [with_set_high_word](#with_set_high_word)
- [with_set_low_word](#with_set_low_word)
- [BezierPoint](#BezierPoint)
- [DigitParams](#DigitParams)
- [DivResult](#DivResult)
## Constants
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
## abs
[[Return to contents]](#Contents)
## acos
[[Return to contents]](#Contents)
## acosh
[[Return to contents]](#Contents)
## alike
[[Return to contents]](#Contents)
## angle_diff
[[Return to contents]](#Contents)
## aprox_cos
[[Return to contents]](#Contents)
## aprox_sin
[[Return to contents]](#Contents)
## asin
[[Return to contents]](#Contents)
## asinh
[[Return to contents]](#Contents)
## atan
[[Return to contents]](#Contents)
## atan2
[[Return to contents]](#Contents)
## atanh
[[Return to contents]](#Contents)
## cbrt
[[Return to contents]](#Contents)
## ceil
[[Return to contents]](#Contents)
## clamp
[[Return to contents]](#Contents)
## clip
[[Return to contents]](#Contents)
## close
[[Return to contents]](#Contents)
## copysign
[[Return to contents]](#Contents)
## cos
[[Return to contents]](#Contents)
## cosf
[[Return to contents]](#Contents)
## cosh
[[Return to contents]](#Contents)
## cot
[[Return to contents]](#Contents)
## count_digits
[[Return to contents]](#Contents)
## cube
[[Return to contents]](#Contents)
## cubic_bezier
[[Return to contents]](#Contents)
## cubic_bezier_a
[[Return to contents]](#Contents)
## cubic_bezier_coords
[[Return to contents]](#Contents)
## cubic_bezier_fa
[[Return to contents]](#Contents)
## degrees
[[Return to contents]](#Contents)
## digits
Examples
```v
assert math.digits(12345, base: 10) == [5,4,3,2,1]
assert math.digits(12345, reverse: true) == [1,2,3,4,5]
```
[[Return to contents]](#Contents)
## divide_euclid
[[Return to contents]](#Contents)
## divide_floored
[[Return to contents]](#Contents)
## divide_truncated
[[Return to contents]](#Contents)
## egcd
[[Return to contents]](#Contents)
## erf
[[Return to contents]](#Contents)
## erfc
[[Return to contents]](#Contents)
## exp
[[Return to contents]](#Contents)
## exp2
[[Return to contents]](#Contents)
## expm1
[[Return to contents]](#Contents)
## f32_bits
[[Return to contents]](#Contents)
## f32_from_bits
[[Return to contents]](#Contents)
## f64_bits
[[Return to contents]](#Contents)
## f64_from_bits
[[Return to contents]](#Contents)
## factorial
[[Return to contents]](#Contents)
## factoriali
[[Return to contents]](#Contents)
## floor
[[Return to contents]](#Contents)
## floorf
[[Return to contents]](#Contents)
## fmod
[[Return to contents]](#Contents)
## frexp
[[Return to contents]](#Contents)
## gamma
[[Return to contents]](#Contents)
## gcd
[[Return to contents]](#Contents)
## get_high_word
[[Return to contents]](#Contents)
## hypot
[[Return to contents]](#Contents)
## ilog_b
[[Return to contents]](#Contents)
## inf
[[Return to contents]](#Contents)
## is_finite
[[Return to contents]](#Contents)
## is_inf
[[Return to contents]](#Contents)
## is_nan
[[Return to contents]](#Contents)
## lcm
[[Return to contents]](#Contents)
## ldexp
[[Return to contents]](#Contents)
## log
[[Return to contents]](#Contents)
## log10
[[Return to contents]](#Contents)
## log1p
[[Return to contents]](#Contents)
## log2
[[Return to contents]](#Contents)
## log_b
[[Return to contents]](#Contents)
## log_factorial
[[Return to contents]](#Contents)
## log_gamma
[[Return to contents]](#Contents)
## log_gamma_sign
[[Return to contents]](#Contents)
## log_n
[[Return to contents]](#Contents)
## logf
[[Return to contents]](#Contents)
## max
[[Return to contents]](#Contents)
## maxof
[[Return to contents]](#Contents)
## min
[[Return to contents]](#Contents)
## minmax
[[Return to contents]](#Contents)
## minof
[[Return to contents]](#Contents)
## mix
[[Return to contents]](#Contents)
## mod
[[Return to contents]](#Contents)
## modf
[[Return to contents]](#Contents)
## modulo_euclid
[[Return to contents]](#Contents)
## modulo_floored
[[Return to contents]](#Contents)
## modulo_truncated
[[Return to contents]](#Contents)
## nan
[[Return to contents]](#Contents)
## nextafter
[[Return to contents]](#Contents)
## nextafter32
[[Return to contents]](#Contents)
## normalize
[[Return to contents]](#Contents)
## pow
[[Return to contents]](#Contents)
## pow10
[[Return to contents]](#Contents)
## powf
[[Return to contents]](#Contents)
## powi
[[Return to contents]](#Contents)
## q_rsqrt
[[Return to contents]](#Contents)
## radians
[[Return to contents]](#Contents)
## round
[[Return to contents]](#Contents)
## round_sig
[[Return to contents]](#Contents)
## round_to_even
[[Return to contents]](#Contents)
## scalbn
[[Return to contents]](#Contents)
## sign
[[Return to contents]](#Contents)
## signbit
[[Return to contents]](#Contents)
## signi
[[Return to contents]](#Contents)
## sin
[[Return to contents]](#Contents)
## sincos
[[Return to contents]](#Contents)
## sinf
[[Return to contents]](#Contents)
## sinh
[[Return to contents]](#Contents)
## sqrt
[[Return to contents]](#Contents)
## sqrtf
[[Return to contents]](#Contents)
## sqrti
[[Return to contents]](#Contents)
## square
[[Return to contents]](#Contents)
## tan
[[Return to contents]](#Contents)
## tanf
[[Return to contents]](#Contents)
## tanh
[[Return to contents]](#Contents)
## tolerance
[[Return to contents]](#Contents)
## trunc
[[Return to contents]](#Contents)
## veryclose
[[Return to contents]](#Contents)
## with_set_high_word
[[Return to contents]](#Contents)
## with_set_low_word
[[Return to contents]](#Contents)
## BezierPoint
[[Return to contents]](#Contents)
## DigitParams
[[Return to contents]](#Contents)
## DivResult
[[Return to contents]](#Contents)
#### Powered by vdoc. Generated on: 7 Feb 2025 12:06:55

146
vdocs/math.stats.md Normal file
View File

@@ -0,0 +1,146 @@
# module math.stats
## Contents
- [absdev](#absdev)
- [absdev_mean](#absdev_mean)
- [covariance](#covariance)
- [covariance_mean](#covariance_mean)
- [freq](#freq)
- [geometric_mean](#geometric_mean)
- [harmonic_mean](#harmonic_mean)
- [kurtosis](#kurtosis)
- [kurtosis_mean_stddev](#kurtosis_mean_stddev)
- [lag1_autocorrelation](#lag1_autocorrelation)
- [lag1_autocorrelation_mean](#lag1_autocorrelation_mean)
- [max](#max)
- [max_index](#max_index)
- [mean](#mean)
- [median](#median)
- [min](#min)
- [min_index](#min_index)
- [minmax](#minmax)
- [minmax_index](#minmax_index)
- [mode](#mode)
- [population_stddev](#population_stddev)
- [population_stddev_mean](#population_stddev_mean)
- [population_variance](#population_variance)
- [population_variance_mean](#population_variance_mean)
- [quantile](#quantile)
- [range](#range)
- [rms](#rms)
- [sample_stddev](#sample_stddev)
- [sample_stddev_mean](#sample_stddev_mean)
- [sample_variance](#sample_variance)
- [sample_variance_mean](#sample_variance_mean)
- [skew](#skew)
- [skew_mean_stddev](#skew_mean_stddev)
- [tss](#tss)
- [tss_mean](#tss_mean)
## absdev
[[Return to contents]](#Contents)
## absdev_mean
[[Return to contents]](#Contents)
## covariance
[[Return to contents]](#Contents)
## covariance_mean
[[Return to contents]](#Contents)
## freq
[[Return to contents]](#Contents)
## geometric_mean
[[Return to contents]](#Contents)
## harmonic_mean
[[Return to contents]](#Contents)
## kurtosis
[[Return to contents]](#Contents)
## kurtosis_mean_stddev
[[Return to contents]](#Contents)
## lag1_autocorrelation
[[Return to contents]](#Contents)
## lag1_autocorrelation_mean
[[Return to contents]](#Contents)
## max
[[Return to contents]](#Contents)
## max_index
[[Return to contents]](#Contents)
## mean
[[Return to contents]](#Contents)
## median
[[Return to contents]](#Contents)
## min
[[Return to contents]](#Contents)
## min_index
[[Return to contents]](#Contents)
## minmax
[[Return to contents]](#Contents)
## minmax_index
[[Return to contents]](#Contents)
## mode
[[Return to contents]](#Contents)
## population_stddev
[[Return to contents]](#Contents)
## population_stddev_mean
[[Return to contents]](#Contents)
## population_variance
[[Return to contents]](#Contents)
## population_variance_mean
[[Return to contents]](#Contents)
## quantile
[[Return to contents]](#Contents)
## range
[[Return to contents]](#Contents)
## rms
[[Return to contents]](#Contents)
## sample_stddev
[[Return to contents]](#Contents)
## sample_stddev_mean
[[Return to contents]](#Contents)
## sample_variance
[[Return to contents]](#Contents)
## sample_variance_mean
[[Return to contents]](#Contents)
## skew
[[Return to contents]](#Contents)
## skew_mean_stddev
[[Return to contents]](#Contents)
## tss
[[Return to contents]](#Contents)
## tss_mean
[[Return to contents]](#Contents)
#### Powered by vdoc. Generated on: 7 Feb 2025 12:06:55

420
vdocs/math.unsigned.md Normal file
View File

@@ -0,0 +1,420 @@
# module math.unsigned
## Contents
- [Constants](#Constants)
- [add_128](#add_128)
- [add_256](#add_256)
- [div_128](#div_128)
- [mul_128](#mul_128)
- [mul_256](#mul_256)
- [sub_128](#sub_128)
- [sub_256](#sub_256)
- [uint128_from_64](#uint128_from_64)
- [uint128_from_dec_str](#uint128_from_dec_str)
- [uint128_new](#uint128_new)
- [uint256_from_128](#uint256_from_128)
- [uint256_from_64](#uint256_from_64)
- [uint256_from_dec_str](#uint256_from_dec_str)
- [Uint128](#Uint128)
- [is_zero](#is_zero)
- [equals](#equals)
- [equals_64](#equals_64)
- [cmp](#cmp)
- [cmp_64](#cmp_64)
- [and](#and)
- [and_64](#and_64)
- [or_](#or_)
- [or_64](#or_64)
- [xor](#xor)
- [xor_64](#xor_64)
- [add](#add)
- [add_64](#add_64)
- [sub](#sub)
- [sub_64](#sub_64)
- [mul](#mul)
- [mul_64](#mul_64)
- [overflowing_mul_64](#overflowing_mul_64)
- [overflowing_add_64](#overflowing_add_64)
- [div](#div)
- [mod](#mod)
- [mod_64](#mod_64)
- [quo_rem_64](#quo_rem_64)
- [quo_rem](#quo_rem)
- [lsh](#lsh)
- [rsh](#rsh)
- [leading_zeros](#leading_zeros)
- [trailing_zeros](#trailing_zeros)
- [ones_count](#ones_count)
- [rotate_left](#rotate_left)
- [rotate_right](#rotate_right)
- [reverse](#reverse)
- [reverse_bytes](#reverse_bytes)
- [not](#not)
- [len](#len)
- [str](#str)
- [put_bytes](#put_bytes)
- [/](#/)
- [%](#%)
- [+](#+)
- [-](#-)
- [*](#*)
- [<](#<)
- [Uint256](#Uint256)
- [is_zero](#is_zero)
- [equals](#equals)
- [equals_128](#equals_128)
- [cmp](#cmp)
- [cmp_128](#cmp_128)
- [not](#not)
- [and](#and)
- [and_128](#and_128)
- [or_](#or_)
- [or_128](#or_128)
- [xor](#xor)
- [xor_128](#xor_128)
- [add](#add)
- [overflowing_add](#overflowing_add)
- [add_128](#add_128)
- [sub](#sub)
- [sub_128](#sub_128)
- [mul](#mul)
- [mul_128](#mul_128)
- [quo_rem](#quo_rem)
- [quo_rem_128](#quo_rem_128)
- [quo_rem_64](#quo_rem_64)
- [rsh](#rsh)
- [lsh](#lsh)
- [div](#div)
- [div_128](#div_128)
- [div_64](#div_64)
- [mod](#mod)
- [mod_128](#mod_128)
- [mod_64](#mod_64)
- [rotate_left](#rotate_left)
- [rotate_right](#rotate_right)
- [len](#len)
- [leading_zeros](#leading_zeros)
- [trailing_zeros](#trailing_zeros)
- [ones_count](#ones_count)
- [str](#str)
- [/](#/)
- [%](#%)
- [+](#+)
- [-](#-)
- [*](#*)
- [<](#<)
## Constants
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
[[Return to contents]](#Contents)
## add_128
[[Return to contents]](#Contents)
## add_256
[[Return to contents]](#Contents)
## div_128
[[Return to contents]](#Contents)
## mul_128
[[Return to contents]](#Contents)
## mul_256
[[Return to contents]](#Contents)
## sub_128
[[Return to contents]](#Contents)
## sub_256
[[Return to contents]](#Contents)
## uint128_from_64
[[Return to contents]](#Contents)
## uint128_from_dec_str
[[Return to contents]](#Contents)
## uint128_new
[[Return to contents]](#Contents)
## uint256_from_128
[[Return to contents]](#Contents)
## uint256_from_64
[[Return to contents]](#Contents)
## uint256_from_dec_str
[[Return to contents]](#Contents)
## Uint128
[[Return to contents]](#Contents)
## is_zero
[[Return to contents]](#Contents)
## equals
[[Return to contents]](#Contents)
## equals_64
[[Return to contents]](#Contents)
## cmp
[[Return to contents]](#Contents)
## cmp_64
[[Return to contents]](#Contents)
## and
[[Return to contents]](#Contents)
## and_64
[[Return to contents]](#Contents)
## or_
[[Return to contents]](#Contents)
## or_64
[[Return to contents]](#Contents)
## xor
[[Return to contents]](#Contents)
## xor_64
[[Return to contents]](#Contents)
## add
[[Return to contents]](#Contents)
## add_64
[[Return to contents]](#Contents)
## sub
[[Return to contents]](#Contents)
## sub_64
[[Return to contents]](#Contents)
## mul
[[Return to contents]](#Contents)
## mul_64
[[Return to contents]](#Contents)
## overflowing_mul_64
[[Return to contents]](#Contents)
## overflowing_add_64
[[Return to contents]](#Contents)
## div
[[Return to contents]](#Contents)
## mod
[[Return to contents]](#Contents)
## mod_64
[[Return to contents]](#Contents)
## quo_rem_64
[[Return to contents]](#Contents)
## quo_rem
[[Return to contents]](#Contents)
## lsh
[[Return to contents]](#Contents)
## rsh
[[Return to contents]](#Contents)
## leading_zeros
[[Return to contents]](#Contents)
## trailing_zeros
[[Return to contents]](#Contents)
## ones_count
[[Return to contents]](#Contents)
## rotate_left
[[Return to contents]](#Contents)
## rotate_right
[[Return to contents]](#Contents)
## reverse
[[Return to contents]](#Contents)
## reverse_bytes
[[Return to contents]](#Contents)
## not
[[Return to contents]](#Contents)
## len
[[Return to contents]](#Contents)
## str
[[Return to contents]](#Contents)
## put_bytes
[[Return to contents]](#Contents)
## /
[[Return to contents]](#Contents)
## %
[[Return to contents]](#Contents)
## +
[[Return to contents]](#Contents)
## -
[[Return to contents]](#Contents)
## *
[[Return to contents]](#Contents)
## <
[[Return to contents]](#Contents)
## Uint256
[[Return to contents]](#Contents)
## is_zero
[[Return to contents]](#Contents)
## equals
[[Return to contents]](#Contents)
## equals_128
[[Return to contents]](#Contents)
## cmp
[[Return to contents]](#Contents)
## cmp_128
[[Return to contents]](#Contents)
## not
[[Return to contents]](#Contents)
## and
[[Return to contents]](#Contents)
## and_128
[[Return to contents]](#Contents)
## or_
[[Return to contents]](#Contents)
## or_128
[[Return to contents]](#Contents)
## xor
[[Return to contents]](#Contents)
## xor_128
[[Return to contents]](#Contents)
## add
[[Return to contents]](#Contents)
## overflowing_add
[[Return to contents]](#Contents)
## add_128
[[Return to contents]](#Contents)
## sub
[[Return to contents]](#Contents)
## sub_128
[[Return to contents]](#Contents)
## mul
[[Return to contents]](#Contents)
## mul_128
[[Return to contents]](#Contents)
## quo_rem
[[Return to contents]](#Contents)
## quo_rem_128
[[Return to contents]](#Contents)
## quo_rem_64
[[Return to contents]](#Contents)
## rsh
[[Return to contents]](#Contents)
## lsh
[[Return to contents]](#Contents)
## div
[[Return to contents]](#Contents)
## div_128
[[Return to contents]](#Contents)
## div_64
[[Return to contents]](#Contents)
## mod
[[Return to contents]](#Contents)
## mod_128
[[Return to contents]](#Contents)
## mod_64
[[Return to contents]](#Contents)
## rotate_left
[[Return to contents]](#Contents)
## rotate_right
[[Return to contents]](#Contents)
## len
[[Return to contents]](#Contents)
## leading_zeros
[[Return to contents]](#Contents)
## trailing_zeros
[[Return to contents]](#Contents)
## ones_count
[[Return to contents]](#Contents)
## str
[[Return to contents]](#Contents)
## /
[[Return to contents]](#Contents)
## %
[[Return to contents]](#Contents)
## +
[[Return to contents]](#Contents)
## -
[[Return to contents]](#Contents)
## *
[[Return to contents]](#Contents)
## <
[[Return to contents]](#Contents)
#### Powered by vdoc. Generated on: 7 Feb 2025 12:06:55

652
vdocs/math.vec.md Normal file
View File

@@ -0,0 +1,652 @@
# module math.vec
## Contents
- [Constants](#Constants)
- [vec2](#vec2)
- [vec3](#vec3)
- [vec4](#vec4)
- [Vec2[T]](#Vec2[T])
- [zero](#zero)
- [one](#one)
- [copy](#copy)
- [from](#from)
- [from_vec3](#from_vec3)
- [as_vec3](#as_vec3)
- [from_vec4](#from_vec4)
- [as_vec4](#as_vec4)
- [+](#+)
- [add](#add)
- [add_scalar](#add_scalar)
- [plus](#plus)
- [plus_scalar](#plus_scalar)
- [-](#-)
- [sub](#sub)
- [sub_scalar](#sub_scalar)
- [subtract](#subtract)
- [subtract_scalar](#subtract_scalar)
- [*](#*)
- [mul](#mul)
- [mul_scalar](#mul_scalar)
- [multiply](#multiply)
- [multiply_scalar](#multiply_scalar)
- [/](#/)
- [div](#div)
- [div_scalar](#div_scalar)
- [divide](#divide)
- [divide_scalar](#divide_scalar)
- [magnitude](#magnitude)
- [magnitude_x](#magnitude_x)
- [magnitude_y](#magnitude_y)
- [dot](#dot)
- [cross](#cross)
- [unit](#unit)
- [perp_cw](#perp_cw)
- [perp_ccw](#perp_ccw)
- [perpendicular](#perpendicular)
- [project](#project)
- [eq](#eq)
- [eq_epsilon](#eq_epsilon)
- [eq_approx](#eq_approx)
- [is_approx_zero](#is_approx_zero)
- [eq_scalar](#eq_scalar)
- [distance](#distance)
- [manhattan_distance](#manhattan_distance)
- [angle_between](#angle_between)
- [angle_towards](#angle_towards)
- [angle](#angle)
- [abs](#abs)
- [clean](#clean)
- [clean_tolerance](#clean_tolerance)
- [inv](#inv)
- [normalize](#normalize)
- [sum](#sum)
- [Vec3[T]](#Vec3[T])
- [zero](#zero)
- [one](#one)
- [copy](#copy)
- [from](#from)
- [from_vec2](#from_vec2)
- [as_vec2](#as_vec2)
- [from_vec4](#from_vec4)
- [as_vec4](#as_vec4)
- [+](#+)
- [add](#add)
- [add_vec2](#add_vec2)
- [add_scalar](#add_scalar)
- [plus](#plus)
- [plus_vec2](#plus_vec2)
- [plus_scalar](#plus_scalar)
- [-](#-)
- [sub](#sub)
- [sub_scalar](#sub_scalar)
- [subtract](#subtract)
- [subtract_scalar](#subtract_scalar)
- [*](#*)
- [mul](#mul)
- [mul_scalar](#mul_scalar)
- [multiply](#multiply)
- [multiply_scalar](#multiply_scalar)
- [/](#/)
- [div](#div)
- [div_scalar](#div_scalar)
- [divide](#divide)
- [divide_scalar](#divide_scalar)
- [magnitude](#magnitude)
- [dot](#dot)
- [cross](#cross)
- [unit](#unit)
- [perpendicular](#perpendicular)
- [project](#project)
- [eq](#eq)
- [eq_epsilon](#eq_epsilon)
- [eq_approx](#eq_approx)
- [is_approx_zero](#is_approx_zero)
- [eq_scalar](#eq_scalar)
- [distance](#distance)
- [manhattan_distance](#manhattan_distance)
- [angle_between](#angle_between)
- [abs](#abs)
- [clean](#clean)
- [clean_tolerance](#clean_tolerance)
- [inv](#inv)
- [normalize](#normalize)
- [sum](#sum)
- [Vec4[T]](#Vec4[T])
- [zero](#zero)
- [one](#one)
- [copy](#copy)
- [from](#from)
- [from_vec2](#from_vec2)
- [as_vec2](#as_vec2)
- [from_vec3](#from_vec3)
- [as_vec3](#as_vec3)
- [+](#+)
- [add](#add)
- [add_vec2](#add_vec2)
- [add_vec3](#add_vec3)
- [add_scalar](#add_scalar)
- [plus](#plus)
- [plus_scalar](#plus_scalar)
- [-](#-)
- [sub](#sub)
- [sub_scalar](#sub_scalar)
- [subtract](#subtract)
- [subtract_scalar](#subtract_scalar)
- [*](#*)
- [mul](#mul)
- [mul_scalar](#mul_scalar)
- [multiply](#multiply)
- [multiply_scalar](#multiply_scalar)
- [/](#/)
- [div](#div)
- [div_scalar](#div_scalar)
- [divide](#divide)
- [divide_scalar](#divide_scalar)
- [magnitude](#magnitude)
- [dot](#dot)
- [cross_xyz](#cross_xyz)
- [unit](#unit)
- [perpendicular](#perpendicular)
- [project](#project)
- [eq](#eq)
- [eq_epsilon](#eq_epsilon)
- [eq_approx](#eq_approx)
- [is_approx_zero](#is_approx_zero)
- [eq_scalar](#eq_scalar)
- [distance](#distance)
- [manhattan_distance](#manhattan_distance)
- [abs](#abs)
- [clean](#clean)
- [clean_tolerance](#clean_tolerance)
- [inv](#inv)
- [normalize](#normalize)
- [sum](#sum)
- [Vec2](#Vec2)
- [Vec3](#Vec3)
- [Vec4](#Vec4)
## Constants
[[Return to contents]](#Contents)
## vec2
[[Return to contents]](#Contents)
## vec3
[[Return to contents]](#Contents)
## vec4
[[Return to contents]](#Contents)
## Vec2[T]
## zero
[[Return to contents]](#Contents)
## one
[[Return to contents]](#Contents)
## copy
[[Return to contents]](#Contents)
## from
[[Return to contents]](#Contents)
## from_vec3
[[Return to contents]](#Contents)
## as_vec3
[[Return to contents]](#Contents)
## from_vec4
[[Return to contents]](#Contents)
## as_vec4
[[Return to contents]](#Contents)
## +
[[Return to contents]](#Contents)
## add
[[Return to contents]](#Contents)
## add_scalar
[[Return to contents]](#Contents)
## plus
[[Return to contents]](#Contents)
## plus_scalar
[[Return to contents]](#Contents)
## -
[[Return to contents]](#Contents)
## sub
[[Return to contents]](#Contents)
## sub_scalar
[[Return to contents]](#Contents)
## subtract
[[Return to contents]](#Contents)
## subtract_scalar
[[Return to contents]](#Contents)
## *
[[Return to contents]](#Contents)
## mul
[[Return to contents]](#Contents)
## mul_scalar
[[Return to contents]](#Contents)
## multiply
[[Return to contents]](#Contents)
## multiply_scalar
[[Return to contents]](#Contents)
## /
[[Return to contents]](#Contents)
## div
[[Return to contents]](#Contents)
## div_scalar
[[Return to contents]](#Contents)
## divide
[[Return to contents]](#Contents)
## divide_scalar
[[Return to contents]](#Contents)
## magnitude
[[Return to contents]](#Contents)
## magnitude_x
[[Return to contents]](#Contents)
## magnitude_y
[[Return to contents]](#Contents)
## dot
[[Return to contents]](#Contents)
## cross
[[Return to contents]](#Contents)
## unit
[[Return to contents]](#Contents)
## perp_cw
[[Return to contents]](#Contents)
## perp_ccw
[[Return to contents]](#Contents)
## perpendicular
[[Return to contents]](#Contents)
## project
[[Return to contents]](#Contents)
## eq
[[Return to contents]](#Contents)
## eq_epsilon
[[Return to contents]](#Contents)
## eq_approx
[[Return to contents]](#Contents)
## is_approx_zero
[[Return to contents]](#Contents)
## eq_scalar
[[Return to contents]](#Contents)
## distance
[[Return to contents]](#Contents)
## manhattan_distance
[[Return to contents]](#Contents)
## angle_between
[[Return to contents]](#Contents)
## angle_towards
[[Return to contents]](#Contents)
## angle
[[Return to contents]](#Contents)
## abs
[[Return to contents]](#Contents)
## clean
[[Return to contents]](#Contents)
## clean_tolerance
[[Return to contents]](#Contents)
## inv
[[Return to contents]](#Contents)
## normalize
[[Return to contents]](#Contents)
## sum
[[Return to contents]](#Contents)
## Vec3[T]
## zero
[[Return to contents]](#Contents)
## one
[[Return to contents]](#Contents)
## copy
[[Return to contents]](#Contents)
## from
[[Return to contents]](#Contents)
## from_vec2
[[Return to contents]](#Contents)
## as_vec2
[[Return to contents]](#Contents)
## from_vec4
[[Return to contents]](#Contents)
## as_vec4
[[Return to contents]](#Contents)
## +
[[Return to contents]](#Contents)
## add
[[Return to contents]](#Contents)
## add_vec2
[[Return to contents]](#Contents)
## add_scalar
[[Return to contents]](#Contents)
## plus
[[Return to contents]](#Contents)
## plus_vec2
[[Return to contents]](#Contents)
## plus_scalar
[[Return to contents]](#Contents)
## -
[[Return to contents]](#Contents)
## sub
[[Return to contents]](#Contents)
## sub_scalar
[[Return to contents]](#Contents)
## subtract
[[Return to contents]](#Contents)
## subtract_scalar
[[Return to contents]](#Contents)
## *
[[Return to contents]](#Contents)
## mul
[[Return to contents]](#Contents)
## mul_scalar
[[Return to contents]](#Contents)
## multiply
[[Return to contents]](#Contents)
## multiply_scalar
[[Return to contents]](#Contents)
## /
[[Return to contents]](#Contents)
## div
[[Return to contents]](#Contents)
## div_scalar
[[Return to contents]](#Contents)
## divide
[[Return to contents]](#Contents)
## divide_scalar
[[Return to contents]](#Contents)
## magnitude
[[Return to contents]](#Contents)
## dot
[[Return to contents]](#Contents)
## cross
[[Return to contents]](#Contents)
## unit
[[Return to contents]](#Contents)
## perpendicular
[[Return to contents]](#Contents)
## project
[[Return to contents]](#Contents)
## eq
[[Return to contents]](#Contents)
## eq_epsilon
[[Return to contents]](#Contents)
## eq_approx
[[Return to contents]](#Contents)
## is_approx_zero
[[Return to contents]](#Contents)
## eq_scalar
[[Return to contents]](#Contents)
## distance
[[Return to contents]](#Contents)
## manhattan_distance
[[Return to contents]](#Contents)
## angle_between
[[Return to contents]](#Contents)
## abs
[[Return to contents]](#Contents)
## clean
[[Return to contents]](#Contents)
## clean_tolerance
[[Return to contents]](#Contents)
## inv
[[Return to contents]](#Contents)
## normalize
[[Return to contents]](#Contents)
## sum
[[Return to contents]](#Contents)
## Vec4[T]
## zero
[[Return to contents]](#Contents)
## one
[[Return to contents]](#Contents)
## copy
[[Return to contents]](#Contents)
## from
[[Return to contents]](#Contents)
## from_vec2
[[Return to contents]](#Contents)
## as_vec2
[[Return to contents]](#Contents)
## from_vec3
[[Return to contents]](#Contents)
## as_vec3
[[Return to contents]](#Contents)
## +
[[Return to contents]](#Contents)
## add
[[Return to contents]](#Contents)
## add_vec2
[[Return to contents]](#Contents)
## add_vec3
[[Return to contents]](#Contents)
## add_scalar
[[Return to contents]](#Contents)
## plus
[[Return to contents]](#Contents)
## plus_scalar
[[Return to contents]](#Contents)
## -
[[Return to contents]](#Contents)
## sub
[[Return to contents]](#Contents)
## sub_scalar
[[Return to contents]](#Contents)
## subtract
[[Return to contents]](#Contents)
## subtract_scalar
[[Return to contents]](#Contents)
## *
[[Return to contents]](#Contents)
## mul
[[Return to contents]](#Contents)
## mul_scalar
[[Return to contents]](#Contents)
## multiply
[[Return to contents]](#Contents)
## multiply_scalar
[[Return to contents]](#Contents)
## /
[[Return to contents]](#Contents)
## div
[[Return to contents]](#Contents)
## div_scalar
[[Return to contents]](#Contents)
## divide
[[Return to contents]](#Contents)
## divide_scalar
[[Return to contents]](#Contents)
## magnitude
[[Return to contents]](#Contents)
## dot
[[Return to contents]](#Contents)
## cross_xyz
[[Return to contents]](#Contents)
## unit
[[Return to contents]](#Contents)
## perpendicular
[[Return to contents]](#Contents)
## project
[[Return to contents]](#Contents)
## eq
[[Return to contents]](#Contents)
## eq_epsilon
[[Return to contents]](#Contents)
## eq_approx
[[Return to contents]](#Contents)
## is_approx_zero
[[Return to contents]](#Contents)
## eq_scalar
[[Return to contents]](#Contents)
## distance
[[Return to contents]](#Contents)
## manhattan_distance
[[Return to contents]](#Contents)
## abs
[[Return to contents]](#Contents)
## clean
[[Return to contents]](#Contents)
## clean_tolerance
[[Return to contents]](#Contents)
## inv
[[Return to contents]](#Contents)
## normalize
[[Return to contents]](#Contents)
## sum
[[Return to contents]](#Contents)
## Vec2
[[Return to contents]](#Contents)
## Vec3
[[Return to contents]](#Contents)
## Vec4
[[Return to contents]](#Contents)
#### Powered by vdoc. Generated on: 7 Feb 2025 12:06:55

58
vdocs/net.conv.md Normal file
View File

@@ -0,0 +1,58 @@
# module net.conv
## Contents
- [hton16](#hton16)
- [hton32](#hton32)
- [hton64](#hton64)
- [htonf32](#htonf32)
- [htonf64](#htonf64)
- [ntoh16](#ntoh16)
- [ntoh32](#ntoh32)
- [ntoh64](#ntoh64)
- [reverse_bytes_u16](#reverse_bytes_u16)
- [reverse_bytes_u32](#reverse_bytes_u32)
- [reverse_bytes_u64](#reverse_bytes_u64)
- [u64tovarint](#u64tovarint)
- [varinttou64](#varinttou64)
## hton16
[[Return to contents]](#Contents)
## hton32
[[Return to contents]](#Contents)
## hton64
[[Return to contents]](#Contents)
## htonf32
[[Return to contents]](#Contents)
## htonf64
[[Return to contents]](#Contents)
## ntoh16
[[Return to contents]](#Contents)
## ntoh32
[[Return to contents]](#Contents)
## ntoh64
[[Return to contents]](#Contents)
## reverse_bytes_u16
[[Return to contents]](#Contents)
## reverse_bytes_u32
[[Return to contents]](#Contents)
## reverse_bytes_u64
[[Return to contents]](#Contents)
## u64tovarint
[[Return to contents]](#Contents)
## varinttou64
[[Return to contents]](#Contents)
#### Powered by vdoc. Generated on: 7 Feb 2025 12:06:55

40
vdocs/net.ftp.md Normal file
View File

@@ -0,0 +1,40 @@
# module net.ftp
## Contents
- [new](#new)
- [FTP](#FTP)
- [connect](#connect)
- [login](#login)
- [close](#close)
- [pwd](#pwd)
- [cd](#cd)
- [dir](#dir)
- [get](#get)
## new
[[Return to contents]](#Contents)
## FTP
## connect
[[Return to contents]](#Contents)
## login
[[Return to contents]](#Contents)
## close
[[Return to contents]](#Contents)
## pwd
[[Return to contents]](#Contents)
## cd
[[Return to contents]](#Contents)
## dir
[[Return to contents]](#Contents)
## get
[[Return to contents]](#Contents)
#### Powered by vdoc. Generated on: 7 Feb 2025 12:06:55

114
vdocs/net.html.md Normal file
View File

@@ -0,0 +1,114 @@
# module net.html
## Contents
- [parse](#parse)
- [parse_file](#parse_file)
- [CloseTagType](#CloseTagType)
- [DocumentObjectModel](#DocumentObjectModel)
- [get_root](#get_root)
- [get_tags](#get_tags)
- [get_tags_by_class_name](#get_tags_by_class_name)
- [get_tags_by_attribute](#get_tags_by_attribute)
- [get_tags_by_attribute_value](#get_tags_by_attribute_value)
- [GetTagsOptions](#GetTagsOptions)
- [Parser](#Parser)
- [add_code_tag](#add_code_tag)
- [split_parse](#split_parse)
- [parse_html](#parse_html)
- [finalize](#finalize)
- [get_dom](#get_dom)
- [Tag](#Tag)
- [text](#text)
- [str](#str)
- [get_tag](#get_tag)
- [get_tags](#get_tags)
- [get_tag_by_attribute](#get_tag_by_attribute)
- [get_tags_by_attribute](#get_tags_by_attribute)
- [get_tag_by_attribute_value](#get_tag_by_attribute_value)
- [get_tags_by_attribute_value](#get_tags_by_attribute_value)
- [get_tag_by_class_name](#get_tag_by_class_name)
- [get_tags_by_class_name](#get_tags_by_class_name)
## parse
[[Return to contents]](#Contents)
## parse_file
[[Return to contents]](#Contents)
## CloseTagType
[[Return to contents]](#Contents)
## DocumentObjectModel
[[Return to contents]](#Contents)
## get_root
[[Return to contents]](#Contents)
## get_tags
[[Return to contents]](#Contents)
## get_tags_by_class_name
[[Return to contents]](#Contents)
## get_tags_by_attribute
[[Return to contents]](#Contents)
## get_tags_by_attribute_value
[[Return to contents]](#Contents)
## GetTagsOptions
[[Return to contents]](#Contents)
## Parser
[[Return to contents]](#Contents)
## add_code_tag
[[Return to contents]](#Contents)
## split_parse
[[Return to contents]](#Contents)
## parse_html
[[Return to contents]](#Contents)
## finalize
[[Return to contents]](#Contents)
## get_dom
[[Return to contents]](#Contents)
## Tag
[[Return to contents]](#Contents)
## text
[[Return to contents]](#Contents)
## str
[[Return to contents]](#Contents)
## get_tag
[[Return to contents]](#Contents)
## get_tags
[[Return to contents]](#Contents)
## get_tag_by_attribute
[[Return to contents]](#Contents)
## get_tags_by_attribute
[[Return to contents]](#Contents)
## get_tag_by_attribute_value
[[Return to contents]](#Contents)
## get_tags_by_attribute_value
[[Return to contents]](#Contents)
## get_tag_by_class_name
[[Return to contents]](#Contents)
## get_tags_by_class_name
[[Return to contents]](#Contents)
#### Powered by vdoc. Generated on: 7 Feb 2025 12:06:55

10
vdocs/net.http.chunked.md Normal file
View File

@@ -0,0 +1,10 @@
# module net.http.chunked
## Contents
- [decode](#decode)
## decode
[[Return to contents]](#Contents)
#### Powered by vdoc. Generated on: 7 Feb 2025 12:06:55

Some files were not shown because too many files have changed in this diff Show More