Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/KaisenAmin/c_std
/ functions
Functions
2,651 in github.com/KaisenAmin/c_std
⨍
Functions
2,651
◇
Types & classes
138
Function
jwt_set_issuer
* @brief Set the `iss` (issuer) standard claim. NULL inputs are no-ops. */
jwt/jwt.c:1253
Function
jwt_set_jwt_id
* @brief Set the `jti` (JWT ID) standard claim — unique per-token ID. */
jwt/jwt.c:1329
Function
jwt_set_not_before
* @brief Set the `nbf` (not-before) claim. Unix seconds. */
jwt/jwt.c:1313
Function
jwt_set_subject
* @brief Set the `sub` (subject) standard claim. NULL inputs are no-ops. */
jwt/jwt.c:1261
Function
list_assign
* @brief Assigns values to the list from an array. * * This function assigns values from a given array to the list, replacing its current contents.
list/list.c:850
Function
list_back
* @brief Returns a pointer to the value at the back of the list. * * This function retrieves the value stored at the back of the list (the tail node
list/list.c:181
Function
list_begin
* @brief Returns an iterator to the first element of the list. * * This function returns a pointer to the first element in the list. If the list is
list/list.c:705
Function
list_cbegin
* @brief Returns a constant iterator to the first element of the list. * * This function returns a constant pointer to the first element in the list
list/list.c:777
Function
list_cend
* @brief Returns a constant iterator to the end of the list. * * This function returns a constant iterator (pointer) to the element following the la
list/list.c:795
Function
list_crbegin
* @brief Returns a constant reverse iterator to the last element of the list. * * This function returns a constant reverse iterator (pointer) to the
list/list.c:813
Function
list_create
* @brief Creates a new list with the specified item size and comparison function. * * This function initializes a new list, allocating memory for it
list/list.c:125
Function
list_crend
* @brief Returns a constant reverse iterator to the theoretical element preceding the first element of the list. * * This function returns a constan
list/list.c:831
Function
list_deallocate
* @brief Deallocates the list and frees all associated memory. * * This function clears all elements from the list and frees the memory associated w
list/list.c:683
Function
list_emplace_back
* @brief Inserts an element at the back of the list without copying. * * This function inserts an element at the back of the list by directly using
list/list.c:918
Function
list_emplace_front
* @brief Inserts an element at the front of the list without copying. * * This function inserts an element at the front of the list by directly usin
list/list.c:880
Function
list_empty
* @brief Checks if the list is empty. * * This function checks whether the list contains any elements. It returns true if the list is empty, * and
list/list.c:649
Function
list_end
* @brief Returns an iterator to the element following the last element of the list. * * This function returns a pointer to the element following the
list/list.c:724
Function
list_erase
* @brief Erases an element from the list at the specified index. * * This function removes the element at the specified index in the list. The remov
list/list.c:272
Function
list_front
* @brief Returns a pointer to the value at the front of the list. * * This function retrieves the value stored at the front of the list (the head no
list/list.c:157
Function
list_insert
* @brief Inserts a new element at the specified index in the list. * * This function inserts a new element at the specified index in the list. If th
list/list.c:208
Function
list_is_greater_or_equal
* @brief Checks if the first list is lexicographically greater than or equal to the second list. * * @param list1 Pointer to the first list. * @pa
list/list.c:1372
Function
list_is_less_or_equal
* @brief Checks if the first list is lexicographically less than or equal to the second list. * * @param list1 Pointer to the first list. * @param
list/list.c:1351
Function
list_is_not_equal
* @brief Checks if two lists are not lexicographically equal. * * @param list1 Pointer to the first list. * @param list2 Pointer to the second lis
list/list.c:1392
Function
list_length
* @brief Returns the number of elements in the list. * * This function returns the number of elements currently stored in the list. * * @param li
list/list.c:666
Function
list_merge
* @brief Merges two sorted lists into the first list, maintaining sort order. * * This function merges the second list into the first list. Both li
list/list.c:1177
Function
list_pop_front
* @brief Removes the first element from the list. * * This function removes the first element from the list. If the list is empty, it returns withou
list/list.c:548
Function
list_rbegin
* @brief Returns a reverse iterator to the last element of the list. * * This function returns a pointer to the last element in the list. It is usef
list/list.c:742
Function
list_remove
* @brief Removes elements equal to a specified value from the list. * * This function removes all elements in the list that are equal to the given
list/list.c:1016
Function
list_remove_if
* @brief Removes elements from the list that satisfy a given condition. * * This function iterates through the list and removes all elements for wh
list/list.c:1072
Function
list_rend
* @brief Returns a reverse iterator to the element preceding the first element of the list. * * This function returns a pointer to the element prece
list/list.c:760
Function
list_resize
* @brief Resizes the list to the specified new size. * * This function changes the size of the list to the new size. If the new size is smaller than
list/list.c:338
Function
list_reverse
* @brief Reverses the order of elements in the list. * * This function reverses the order of all elements in the list. The head becomes the tail, an
list/list.c:401
Function
list_sort
* @brief Sorts the elements of the list in ascending order. * * This function sorts the elements of the list in ascending order based on the compari
list/list.c:438
Function
list_splice
* @brief Splices elements from one list into another at a specified position. * * This function moves the entire content of the source list (`src`)
list/list.c:957
Function
list_swap
* @brief Swaps the contents of two lists. * * This function exchanges the contents of two lists, including their elements, sizes, and item sizes. Af
list/list.c:378
Function
list_unique
* @brief Removes consecutive duplicate elements from the list. * * This function iterates through the list and removes consecutive elements that ar
list/list.c:1124
Function
log_deallocate
* @brief Deallocates the log configuration and associated resources. * * This function frees all resources associated with the `Log` object, includi
log/log.c:340
Function
log_enable_keyword_filter
* @brief Enables or disables keyword-based filtering for log messages. * * This function allows for filtering log messages based on a specific keywo
log/log.c:410
Function
log_enable_timestamp
* @brief Enables or disables timestamps in log messages. * * This function controls whether timestamps are included in log messages. When enabled,
log/log.c:211
Function
log_flush
* @brief Flushes the log output buffer. * * This function ensures that any buffered log messages are immediately written * to their respective out
log/log.c:526
Function
log_get_message_count
* @brief Returns the cumulative number of messages emitted at @p level. * * Counts only messages that actually passed every gate and filter and were
log/log.c:1060
Function
log_init
* @brief Initializes the logging system and returns a configured `Log` object. * * This function sets up the logging system by allocating memory for
log/log.c:89
Function
log_is_level_enabled
* @brief Reports whether a message at @p level would currently be emitted. * * Checks the level-based gates that `log_message` applies before it doe
log/log.c:1000
Function
log_message
* @brief Logs a message at a specified log level. * * This function logs a message with a specified log level. The message will be formatted * acco
log/log.c:237
Function
log_redirect_output
* @brief Redirects log output to a new file without restarting the application. * * This function allows dynamically changing the log file during ru
log/log.c:714
Function
log_resume
* @brief Resumes logging after it has been suspended. * * This function re-enables logging if it was previously suspended, allowing log messages to
log/log.c:631
Function
log_rotate
* @brief Rotates the log file when it reaches a specified maximum size. * * This function helps manage disk space by archiving the current log file
log/log.c:558
Function
log_set_auto_flush
* @brief Enables or disables flushing after every emitted record. * * When enabled, the destination stream (console and/or file) is flushed * immed
log/log.c:916
Function
log_set_custom_filter
* @brief Sets a custom filter function for log messages. * * This function allows the user to set a custom filter that determines whether * a log
log/log.c:785
Function
log_set_error_stream
* @brief Routes ERROR/FATAL console output to stderr instead of stdout. * * By default every console line goes to stdout. In production it is usuall
log/log.c:889
Function
log_set_file_path
* @brief Sets the file path for the log output. * * This function changes the log file to the specified path. It closes the current log file * (if
log/log.c:484
Function
log_set_format
* @brief Sets a custom format for log messages. * * This function allows setting a custom format for log messages. The format string should follow
log/log.c:655
Function
log_set_level_from_string
* @brief Sets the minimum log level from a case-insensitive name. * * Accepts `"debug"`, `"info"`, `"warn"`, `"error"` or `"fatal"` (any letter * c
log/log.c:941
Function
log_set_log_level
* @brief Sets the logging level for the logger. * * This function updates the logging level for the logger, allowing control over which * messages
log/log.c:380
Function
log_set_max_file_size
* @brief Sets a maximum log file size and automatically rotates the log file when this size is exceeded. * * This function configures the logging sy
log/log.c:815
Function
log_set_output
* @brief Sets the output destination for log messages. * * This function configures where the log messages will be output: to the console, a file, o
log/log.c:172
Function
log_set_rate_limit
* @brief Configures rate limiting: at most @p max_logs_per_interval messages * of each level per @p interval_seconds window. * * The logger
log/log.c:1032
Function
log_set_verbose
* @brief Enables or disables verbose logging. * * When verbose logging is enabled, all log levels, including `DEBUG` and `INFO`, are logged. * Whe
log/log.c:757
Function
log_suspend
* @brief Suspends logging temporarily. * * This function disables logging, so no messages will be logged until logging is resumed. * * @param conf
log/log.c:614
Function
log_toggle_level_visibility
* @brief Toggles the visibility of specific log levels. * * This function enables or disables logging for a specific log level dynamically. * For i
log/log.c:682
Function
log_update_keyword_filter
* @brief Updates the keyword used for filtering log messages. * * This function updates the keyword used for filtering log messages. If the new keyw
log/log.c:448
Function
main
main.c:4
Function
map_cbegin
* @brief Returns a constant iterator to the first element of the map. * * This function is used to obtain a constant iterator representing the first
map/map.c:1356
Function
map_cend
* @brief Returns a constant iterator to the position after the last element of the map. * * This function is used to obtain a constant iterator repr
map/map.c:1390
Function
map_clear
* @brief Clears all elements from the map. * * This function removes all elements from the map, freeing any associated memory. After calling this *
map/map.c:839
Function
map_copy
* @brief Creates a copy of the given map. * * @param src A pointer to the source Map to copy. * @return A pointer to the newly created copy of the
map/map.c:1650
Function
map_count
* @brief Counts the number of elements matching a specific key in the map. * * This function searches for the specified key in the map and returns t
map/map.c:928
Function
map_crbegin
* @brief Returns a constant reverse iterator to the last element of the map. * * This function is used to obtain a constant reverse iterator represe
map/map.c:1410
Function
map_crend
* @brief Returns a constant reverse iterator to the position before the first element of the map. * * This function is used to obtain an iterator re
map/map.c:1444
Function
map_emplace
* @brief Inserts a new key-value pair into the map if the key does not already exist. * * This function attempts to insert a new key-value pair into
map/map.c:970
Function
map_emplace_hint
* @brief Inserts a new key-value pair into the map with a hint for the insertion position. * * This function attempts to insert a new key-value pair
map/map.c:1049
Function
map_empty
* @brief Checks if the map is empty. * * This function returns true if the map contains no elements, or if the map pointer is null. * * @param map
map/map.c:668
Function
map_equal_range
* @brief Returns the range of elements that match the specified key. * * This function returns a pair of iterators representing the range of element
map/map.c:1558
Function
map_find
* @brief Finds an element in the map by its key. * * This function searches for an element with the specified key in the map. * If the key is found
map/map.c:1213
Function
map_iterator_decrement
* @brief Moves the iterator to the previous element in the map. * * This function decrements the iterator to point to the previous element in the ma
map/map.c:99
Function
map_key_comp
* @brief Returns the comparison function used by the map. * * This function returns a pointer to the comparison function used by the map to order it
map/map.c:1023
Function
map_max_size
* @brief Returns the maximum possible number of elements in the map. * * This function returns the maximum number of elements that can be held in th
map/map.c:708
Function
map_print
* @brief Prints all key-value pairs in the map. * * @param map A pointer to the Map to be printed. * @param printKey A function pointer for printin
map/map.c:1621
Function
map_rbegin
* @brief Returns a reverse iterator to the last element of the map. * * This function is used to obtain an iterator representing the last element in
map/map.c:1301
Function
map_rend
* @brief Returns a reverse iterator to the position before the first element of the map. * * This function is used to obtain an iterator representin
map/map.c:1336
Function
map_swap
* @brief Swaps the contents of two maps. * * This function exchanges the contents of two maps, including their root nodes, sizes, comparison functio
map/map.c:868
Function
mat_cmp_asc
Ascending comparator for `double`s; NaN sorts to the end, matching NumPy. */
matrix/matrix.c:3533
Function
mat_cmp_vi
Orders by value ascending (NaN last), breaking ties by original index so the * argsort is stable (first occurrence wins), like NumPy's `kind='stable'
matrix/matrix.c:3553
Function
matrix_abs
* @brief Computes the element-wise absolute value of a matrix. * * The C analogue of NumPy's `numpy.abs(M)` (a.k.a. `numpy.absolute`): every * elem
matrix/matrix.c:631
Function
matrix_add
* @brief Adds two matrices of the same dimensions. * * This function performs element-wise addition of two matrices. * The matrices must have the s
matrix/matrix.c:315
Function
matrix_all
* @brief Tests whether all elements of a matrix are non-zero. * * The C analogue of NumPy's `numpy.all(M)`: returns `true` if every element is * no
matrix/matrix.c:7520
Function
matrix_allclose
* @brief Tests whether two matrices are equal within a tolerance. * * The C analogue of NumPy's `numpy.allclose(A, B, rtol, atol)`: returns `true`
matrix/matrix.c:4114
Function
matrix_angle
* @brief Computes the element-wise phase angle from real and imaginary parts. * * The C analogue of NumPy's `numpy.angle(z)`: given the real and ima
matrix/matrix.c:11356
Function
matrix_any
* @brief Tests whether any element of a matrix is non-zero. * * The C analogue of NumPy's `numpy.any(M)`: returns `true` if at least one * element
matrix/matrix.c:7492
Function
matrix_append
* @brief Appends rows or columns to the end of a matrix. * * The C analogue of NumPy's `numpy.append(M, values, axis=...)`: `axis == 0` * appends `
matrix/matrix.c:10483
Function
matrix_apply_to_col
* @brief Applies a function to each element of a specified column in a matrix. * * This function applies the provided function `func` to each elemen
matrix/matrix.c:9355
Function
matrix_apply_to_row
* @brief Applies a function to each element of a specified row in a matrix. * * This function applies the provided function `func` to each element o
matrix/matrix.c:9326
Function
matrix_arange
* @brief Builds a row vector of evenly spaced values over a half-open interval. * * The C analogue of NumPy's `numpy.arange(start, stop, step)`: a `
matrix/matrix.c:11711
Function
matrix_arccos
* @brief Computes the element-wise inverse cosine of a matrix. * * The C analogue of NumPy's `numpy.arccos(M)`: every element becomes `acos(x)` * (
matrix/matrix.c:1514
Function
matrix_arcsin
* @brief Computes the element-wise inverse sine of a matrix. * * The C analogue of NumPy's `numpy.arcsin(M)`: every element becomes `asin(x)` * (in
matrix/matrix.c:1484
Function
matrix_arctan
* @brief Computes the element-wise inverse tangent of a matrix. * * The C analogue of NumPy's `numpy.arctan(M)`: every element becomes `atan(x)` *
matrix/matrix.c:1543
Function
matrix_arctan2
* @brief Element-wise quadrant-aware arctangent of two matrices. * * The C analogue of NumPy's `numpy.arctan2(y, x)`: each element is * `atan2(y, x
matrix/matrix.c:1746
Function
matrix_argmax
* @brief Returns the flattened index of the largest element. * * The C analogue of NumPy's `numpy.argmax(M)`: the matrix is treated as a flat, * ro
matrix/matrix.c:6945
Function
matrix_argmax_axis
* @brief Returns the per-axis index of the maximum element. * * The C analogue of NumPy's `numpy.argmax(M, axis=...)`: * - `axis == 0` returns, fo
matrix/matrix.c:7295
Function
matrix_argmin
* @brief Returns the flattened index of the smallest element. * * The C analogue of NumPy's `numpy.argmin(M)`: the matrix is treated as a flat, * r
matrix/matrix.c:6981
← previous
next →
1,501–1,600 of 2,651, ranked by callers