MCPcopy Create free account

hub / github.com/KaisenAmin/c_std / functions

Functions2,651 in github.com/KaisenAmin/c_std

Functionjwt_set_issuer
* @brief Set the `iss` (issuer) standard claim. NULL inputs are no-ops. */
jwt/jwt.c:1253
Functionjwt_set_jwt_id
* @brief Set the `jti` (JWT ID) standard claim — unique per-token ID. */
jwt/jwt.c:1329
Functionjwt_set_not_before
* @brief Set the `nbf` (not-before) claim. Unix seconds. */
jwt/jwt.c:1313
Functionjwt_set_subject
* @brief Set the `sub` (subject) standard claim. NULL inputs are no-ops. */
jwt/jwt.c:1261
Functionlist_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
Functionlist_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
Functionlist_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
Functionlist_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
Functionlist_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
Functionlist_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
Functionlist_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
Functionlist_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
Functionlist_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
Functionlist_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
Functionlist_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
Functionlist_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
Functionlist_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
Functionlist_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
Functionlist_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
Functionlist_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
Functionlist_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
Functionlist_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
Functionlist_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
Functionlist_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
Functionlist_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
Functionlist_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
Functionlist_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
Functionlist_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
Functionlist_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
Functionlist_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
Functionlist_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
Functionlist_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
Functionlist_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
Functionlist_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
Functionlist_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
Functionlist_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
Functionlog_deallocate
* @brief Deallocates the log configuration and associated resources. * * This function frees all resources associated with the `Log` object, includi
log/log.c:340
Functionlog_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
Functionlog_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
Functionlog_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
Functionlog_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
Functionlog_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
Functionlog_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
Functionlog_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
Functionlog_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
Functionlog_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
Functionlog_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
Functionlog_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
Functionlog_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
Functionlog_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
Functionlog_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
Functionlog_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
Functionlog_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
Functionlog_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
Functionlog_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
Functionlog_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
Functionlog_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
Functionlog_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
Functionlog_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
Functionlog_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
Functionlog_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
Functionmain
main.c:4
Functionmap_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
Functionmap_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
Functionmap_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
Functionmap_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
Functionmap_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
Functionmap_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
Functionmap_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
Functionmap_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
Functionmap_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
Functionmap_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
Functionmap_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
Functionmap_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
Functionmap_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
Functionmap_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
Functionmap_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
Functionmap_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
Functionmap_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
Functionmap_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
Functionmap_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
Functionmat_cmp_asc
Ascending comparator for `double`s; NaN sorts to the end, matching NumPy. */
matrix/matrix.c:3533
Functionmat_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
Functionmatrix_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
Functionmatrix_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
Functionmatrix_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
Functionmatrix_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
Functionmatrix_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
Functionmatrix_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
Functionmatrix_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
Functionmatrix_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
Functionmatrix_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
Functionmatrix_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
Functionmatrix_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
Functionmatrix_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
Functionmatrix_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
Functionmatrix_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
Functionmatrix_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
Functionmatrix_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
Functionmatrix_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
← previousnext →1,501–1,600 of 2,651, ranked by callers