Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ashaduri/gsmartcontrol
/ functions
Functions
3,255 in github.com/ashaduri/gsmartcontrol
⨍
Functions
3,255
◇
Types & classes
1,066
↓ 409 callers
Function
add
add a character to token_buffer
dependencies/nlohmann_json/nlohmann/json.hpp:7272
↓ 303 callers
Method
empty
src/applib/storage_property.cpp:315
↓ 285 callers
Function
app_regex_partial_match
Partially match a string against a regular expression. \return true if a match was found.
src/applib/app_regex.h:79
↓ 220 callers
Function
create
dependencies/nlohmann_json/nlohmann/json.hpp:17401
↓ 195 callers
Method
set_name
src/applib/storage_property.cpp:410
↓ 185 callers
Method
push_back
dependencies/fmt/fmt/include/fmt/base.h:1789
↓ 169 callers
Method
size
Returns the size of this buffer.
dependencies/fmt/fmt/include/fmt/base.h:1762
↓ 153 callers
Function
Unexpected
src/hz/error_container.h:118
↓ 146 callers
Method
value
dependencies/fmt/fmt/include/fmt/base.h:2126
↓ 141 callers
Function
format
dependencies/fmt/fmt/include/fmt/std.h:146
↓ 140 callers
Method
has_value
dependencies/tl_expected/expected/include/tl/expected.hpp:855
↓ 134 callers
Method
size
dependencies/catch2/Catch2/single_include/catch2/catch.hpp:651
↓ 122 callers
Method
write_character
dependencies/nlohmann_json/nlohmann/json.hpp:12652
↓ 120 callers
Method
end
dependencies/fmt/fmt/include/fmt/ranges.h:764
↓ 114 callers
Method
data
Returns a pointer to the buffer data (not null-terminated).
dependencies/fmt/fmt/include/fmt/base.h:1768
↓ 105 callers
Method
size
dependencies/nlohmann_json/nlohmann/json.hpp:2691
↓ 104 callers
Method
c_str
dependencies/fmt/fmt/include/fmt/format.h:1293
↓ 90 callers
Method
begin
dependencies/fmt/fmt/include/fmt/ranges.h:763
↓ 88 callers
Function
app_regex_re
Create a regular expression. Pattern is in form of "/pattern/modifiers". Note: Slashes should be escaped with backslashes within the pattern. If the s
src/applib/app_regex.h:57
↓ 84 callers
Function
to_unsigned
dependencies/fmt/fmt/include/fmt/base.h:436
↓ 81 callers
Method
get
dependencies/fmt/fmt/include/fmt/format-inl.h:101
↓ 80 callers
Method
add
Add an attribute description to the attribute database
src/applib/storage_property_descr_ata_attribute.cpp:1047
↓ 79 callers
Method
empty
named queries
dependencies/catch2/Catch2/single_include/catch2/catch.hpp:648
↓ 78 callers
Function
string_trim_copy
Trim a string s from both sides (not modifying s), returning the changed string. Trimming removes all trim_chars that occur on either side of the stri
src/hz/string_algo.h:239
↓ 69 callers
Method
out
Returns an iterator to the beginning of the output range.
dependencies/fmt/fmt/include/fmt/base.h:2662
↓ 68 callers
Method
end
dependencies/catch2/Catch2/single_include/catch2/catch.hpp:8637
↓ 63 callers
Method
find
Find the description by smartctl name or id, merging them if they're partial.
src/applib/storage_property_descr_ata_attribute.cpp:1097
↓ 60 callers
Method
append
dependencies/fmt/fmt/include/fmt/base.h:1801
↓ 59 callers
Method
count
dependencies/fmt/fmt/include/fmt/base.h:1827
↓ 59 callers
Function
string_is_numeric_nolocale
src/hz/string_num.h:297
↓ 57 callers
Method
begin
dependencies/catch2/Catch2/single_include/catch2/catch.hpp:8636
↓ 56 callers
Method
end
return iterator end (needed for range-based for)
dependencies/nlohmann_json/nlohmann/json.hpp:3947
↓ 54 callers
Method
set_text
src/gui/gsc_text_window.h:82
↓ 53 callers
Function
invoke
dependencies/tl_expected/expected/include/tl/expected.hpp:287
↓ 52 callers
Function
to_string
dependencies/fmt/fmt/include/fmt/format.h:882
↓ 52 callers
Method
type
dependencies/fmt/fmt/include/fmt/base.h:754
↓ 50 callers
Method
begin
return iterator begin (needed for range-based for)
dependencies/nlohmann_json/nlohmann/json.hpp:3941
↓ 49 callers
Method
clear
Clears this buffer.
dependencies/fmt/fmt/include/fmt/base.h:1772
↓ 49 callers
Function
set_default_data
src/rconfig/rconfig.h:205
↓ 49 callers
Function
stringify
dependencies/catch2/Catch2/single_include/catch2/catch.hpp:1644
↓ 48 callers
Function
number_to_string_nolocale
src/hz/string_num.h:482
↓ 48 callers
Function
report_error
dependencies/fmt/fmt/include/fmt/format-inl.h:135
↓ 46 callers
Function
get
dependencies/nlohmann_json/nlohmann/json.hpp:3956
↓ 45 callers
Method
set
Sets the buffer data and capacity.
dependencies/fmt/fmt/include/fmt/base.h:1743
↓ 43 callers
Method
empty
! @brief return whether pointer points to the root document @return true iff the JSON pointer points to the root document @complexity Co
dependencies/nlohmann_json/nlohmann/json.hpp:11853
↓ 43 callers
Function
get_node_exists
Check if json node exists. The path is slash-separated string.
src/applib/smartctl_json_parser_helpers.h:134
↓ 43 callers
Method
size
dependencies/fmt/fmt/include/fmt/format.h:1292
↓ 43 callers
Method
substr
dependencies/catch2/Catch2/single_include/catch2/catch.hpp:13925
↓ 41 callers
Function
fs_path_from_string
Same as std::filesystem::u8path(std::string), which is deprecated since C++20.
src/hz/fs.h:112
↓ 39 callers
Method
insert
dependencies/nlohmann_json/nlohmann/json.hpp:16542
↓ 38 callers
Method
str
dependencies/catch2/Catch2/single_include/catch2/catch.hpp:12081
↓ 37 callers
Function
bool_formatter
Return a lambda which retrieves a key value as a bool (formatted according to parameters), and sets it as a property.
src/applib/smartctl_json_parser_helpers.h:210
↓ 36 callers
Function
type_name
! @brief return the type as string Returns the type name as string to be used in error messages - usually to indicate that a function was
dependencies/nlohmann_json/nlohmann/json.hpp:23411
↓ 33 callers
Function
app_gtkmm_create_tree_view_column
src/applib/app_gtkmm_tools.h:90
↓ 33 callers
Function
auto_set
Check if a property matches a name (generic or reported) and if it does, set a description on it.
src/applib/storage_property_descr.cpp:43
↓ 32 callers
Function
basic_json
! @brief create an empty value with a given type Create an empty JSON value with a given type. The value will be default initialized with
dependencies/nlohmann_json/nlohmann/json.hpp:17830
↓ 32 callers
Method
push_back
! @brief append an unescaped token at the end of the reference pointer @param[in] token token to add @complexity Amortized constant.
dependencies/nlohmann_json/nlohmann/json.hpp:11828
↓ 32 callers
Method
str
src/libdebug/dout.cpp:73
↓ 32 callers
Function
string_formatter
Return a lambda which retrieves a key value as a string, and sets it as a property.
src/applib/smartctl_json_parser_helpers.h:166
↓ 32 callers
Function
write
dependencies/fmt/fmt/include/fmt/chrono.h:422
↓ 31 callers
Method
clear
src/applib/storage_property_repository.cpp:59
↓ 31 callers
Method
parse_error
dependencies/nlohmann_json/nlohmann/json.hpp:2463
↓ 30 callers
Method
data
Returns a pointer to the output buffer content. No terminating null character is appended.
dependencies/fmt/fmt/include/fmt/format.h:4050
↓ 30 callers
Method
erase
dependencies/nlohmann_json/nlohmann/json.hpp:16473
↓ 30 callers
Function
number_to_string_locale
src/hz/string_num.h:459
↓ 29 callers
Function
const_check
dependencies/fmt/fmt/include/fmt/base.h:381
↓ 29 callers
Method
out
dependencies/fmt/fmt/include/fmt/chrono.h:1316
↓ 28 callers
Function
app_highlight_tab_label
Highlight a tab label according to \c warning
src/gui/gsc_info_window.cpp:119
↓ 28 callers
Function
format_size
Format byte or bit size in human-readable way, e.g. KB, mb, etc. Note that kilobit always means 1000 bits, there's no confusion with that (as opposed
src/hz/format_unit.h:62
↓ 28 callers
Method
get
dependencies/catch2/Catch2/single_include/catch2/catch.hpp:12437
↓ 27 callers
Function
string_join
src/hz/string_algo.h:181
↓ 26 callers
Method
count
dependencies/catch2/Catch2/single_include/catch2/catch.hpp:8911
↓ 26 callers
Function
is_constant_evaluated
dependencies/fmt/fmt/include/fmt/base.h:364
↓ 26 callers
Method
key
dependencies/nlohmann_json/nlohmann/json.hpp:5847
↓ 26 callers
Method
scopedElement
dependencies/catch2/Catch2/single_include/catch2/catch.hpp:15668
↓ 25 callers
Method
get_device_with_type
src/applib/storage_device.cpp:740
↓ 25 callers
Function
has_value
dependencies/tl_expected/expected/include/tl/expected.hpp:1981
↓ 25 callers
Method
or_else
dependencies/tl_expected/expected/include/tl/expected.hpp:1518
↓ 24 callers
Function
assert_invariant
! @brief checks the class invariants This function asserts the class invariants. It needs to be called at the end of every constructor to
dependencies/nlohmann_json/nlohmann/json.hpp:17710
↓ 24 callers
Function
is_object
! @brief return whether value is an object This function returns true if and only if the JSON value is an object. @return `true` if type
dependencies/nlohmann_json/nlohmann/json.hpp:19051
↓ 23 callers
Method
reset
dependencies/catch2/Catch2/single_include/catch2/catch.hpp:4437
↓ 22 callers
Method
lookup_property
src/applib/storage_property_repository.cpp:30
↓ 22 callers
Method
pop_back
! @brief remove last reference token @pre not `empty()` @liveexample{The example shows the usage of `pop_back`.,json_pointer__pop_back}
dependencies/nlohmann_json/nlohmann/json.hpp:11782
↓ 22 callers
Function
string_split
src/hz/string_algo.h:58
↓ 22 callers
Function
string_trim
Trim a string s from both sides (modifying s). Return true if s was modified. Trimming removes all trim_chars that occur on either side of the string
src/hz/string_algo.h:215
↓ 20 callers
Method
and_then
dependencies/tl_expected/expected/include/tl/expected.hpp:1292
↓ 20 callers
Function
expected_map_impl
dependencies/tl_expected/expected/include/tl/expected.hpp:2102
↓ 20 callers
Function
fs_path_to_string
Same as std::filesystem::path::u8string(), but returns std::string with UTF-8 data. This is needed because since C++20, std::filesystem::path::u8strin
src/hz/fs.h:104
↓ 20 callers
Method
get_is_virtual
src/applib/storage_device.cpp:828
↓ 20 callers
Method
high
dependencies/fmt/fmt/include/fmt/format.h:281
↓ 20 callers
Method
map
dependencies/tl_expected/expected/include/tl/expected.hpp:1338
↓ 20 callers
Method
map_error
dependencies/tl_expected/expected/include/tl/expected.hpp:1426
↓ 20 callers
Function
map_error_impl
dependencies/tl_expected/expected/include/tl/expected.hpp:2213
↓ 20 callers
Method
operator[]
! @brief access to successor @pre The iterator is initialized; i.e. `m_object != nullptr`. */
dependencies/nlohmann_json/nlohmann/json.hpp:11347
↓ 19 callers
Function
fill_n
dependencies/fmt/fmt/include/fmt/format.h:520
↓ 19 callers
Method
number_integer
dependencies/nlohmann_json/nlohmann/json.hpp:5817
↓ 18 callers
Function
input_adapter
dependencies/nlohmann_json/nlohmann/json.hpp:5088
↓ 18 callers
Method
run
dependencies/fmt/fmt/include/fmt/chrono.h:545
↓ 18 callers
Method
sax_parse
dependencies/nlohmann_json/nlohmann/json.hpp:10265
↓ 18 callers
Function
string_to_lower_copy
Convert s to lowercase, not modifying s, returning the changed string.
src/hz/string_algo.h:856
next →
1–100 of 3,255, ranked by callers