Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/M4THYOU/TokenDagger
/ functions
Functions
724 in github.com/M4THYOU/TokenDagger
⨍
Functions
724
◇
Types & classes
198
↓ 182 callers
Function
create
src/nlohmann/json.hpp:19675
↓ 140 callers
Function
concat
src/nlohmann/json.hpp:4349
↓ 131 callers
Method
write_character
src/nlohmann/json.hpp:14970
↓ 119 callers
Method
size
src/nlohmann/json.hpp:3125
↓ 83 callers
Method
end
return iterator end (needed for range-based for)
src/nlohmann/json.hpp:5332
↓ 62 callers
Method
begin
return iterator begin (needed for range-based for)
src/nlohmann/json.hpp:5326
↓ 49 callers
Function
get
src/nlohmann/json.hpp:5342
↓ 46 callers
Method
parse_error
src/nlohmann/json.hpp:4510
↓ 42 callers
Method
empty
src/nlohmann/json.hpp:6308
↓ 42 callers
Function
type_name
@brief return the type as string @sa https://json.nlohmann.me/api/basic_json/type_name/
src/nlohmann/json.hpp:23459
↓ 40 callers
Function
to_string
@brief return a string representation of the JSON pointer @sa https://json.nlohmann.me/api/json_pointer/to_string/
src/nlohmann/json.hpp:13873
↓ 39 callers
Method
data
src/nlohmann/json.hpp:23499
↓ 38 callers
Function
add
add a character to token_buffer
src/nlohmann/json.hpp:8773
↓ 37 callers
Function
basic_json
@brief create an empty value with a given type @sa https://json.nlohmann.me/api/basic_json/basic_json/
src/nlohmann/json.hpp:20117
↓ 34 callers
Function
is_object
@brief return whether value is an object @sa https://json.nlohmann.me/api/basic_json/is_object/
src/nlohmann/json.hpp:20659
↓ 31 callers
Method
find
src/tiktoken/hash_set8.hpp:522
↓ 30 callers
Function
end
@brief returns an iterator to one past the last element @sa https://json.nlohmann.me/api/basic_json/end/
src/nlohmann/json.hpp:22095
↓ 30 callers
Method
key
src/nlohmann/json.hpp:7338
↓ 28 callers
Function
get_token_string
return the last read token (for errors only). Will never contain EOF (an arbitrary value that is not a valid char value, often -1), because 255 may l
src/nlohmann/json.hpp:8820
↓ 28 callers
Method
size
src/tiktoken/hash_set8.hpp:374
↓ 26 callers
Method
encode
Encode text with special token handling. Args: text: Text to encode allowed_special: Special tokens that are
tokendagger/wrapper.py:159
↓ 23 callers
Function
input_adapter
src/nlohmann/json.hpp:6521
↓ 23 callers
Function
swap
@brief exchanges the values @sa https://json.nlohmann.me/api/basic_json/swap/
src/nlohmann/json.hpp:22764
↓ 22 callers
Method
clear
Remove all elements, keeping full capacity.
src/tiktoken/hash_set8.hpp:810
↓ 21 callers
Function
begin
@brief returns an iterator to the first element @sa https://json.nlohmann.me/api/basic_json/begin/
src/nlohmann/json.hpp:22070
↓ 20 callers
Method
end
src/tiktoken/hash_set8.hpp:367
↓ 20 callers
Method
sax_parse
src/nlohmann/json.hpp:12329
↓ 19 callers
Method
get_token_string
! @return a string representation of the last read byte */
src/nlohmann/json.hpp:12045
↓ 19 callers
Method
number_integer
src/nlohmann/json.hpp:7308
↓ 19 callers
Method
operator[]
access to successor
src/nlohmann/json.hpp:13733
↓ 19 callers
Method
reserve
Make room for this many elements
src/tiktoken/hash_set8.hpp:827
↓ 18 callers
Function
from_json
src/nlohmann/json.hpp:4664
↓ 18 callers
Method
number_unsigned
src/nlohmann/json.hpp:7313
↓ 17 callers
Function
to_json
src/nlohmann/json.hpp:5642
↓ 16 callers
Function
is_array
@brief return whether value is an array @sa https://json.nlohmann.me/api/basic_json/is_array/
src/nlohmann/json.hpp:20666
↓ 16 callers
Method
pop_back
TODO. only erase first without move last
src/tiktoken/hash_set8.hpp:361
↓ 15 callers
Method
begin
src/tiktoken/hash_set8.hpp:363
↓ 15 callers
Function
combine
boost::hash_combine
src/nlohmann/json.hpp:6004
↓ 15 callers
Method
get
! @brief get next character from the input This function provides the interface to the used input adapter. It does not throw in case the
src/nlohmann/json.hpp:11896
↓ 15 callers
Function
is_null
@brief return whether value is null @sa https://json.nlohmann.me/api/basic_json/is_null/
src/nlohmann/json.hpp:20617
↓ 14 callers
Method
erase
Erase an element from the hash table. return 0 if element was not found
src/tiktoken/hash_set8.hpp:728
↓ 14 callers
Function
set_parents
src/nlohmann/json.hpp:20005
↓ 12 callers
Method
insert
src/tiktoken/hash_set8.hpp:631
↓ 12 callers
Method
number_float
src/nlohmann/json.hpp:7318
↓ 11 callers
Function
erase
src/nlohmann/json.hpp:19166
↓ 11 callers
Function
find
src/nlohmann/json.hpp:19290
↓ 11 callers
Method
value
return value of the iterator
src/nlohmann/json.hpp:5299
↓ 10 callers
Method
boolean
src/nlohmann/json.hpp:7303
↓ 10 callers
Method
cend
src/tiktoken/hash_set8.hpp:368
↓ 10 callers
Function
parser
src/nlohmann/json.hpp:19434
↓ 10 callers
Function
set_parent
src/nlohmann/json.hpp:20055
↓ 9 callers
Method
end_array
src/nlohmann/json.hpp:7353
↓ 9 callers
Function
is_binary
@brief return whether value is a binary array @sa https://json.nlohmann.me/api/basic_json/is_binary/
src/nlohmann/json.hpp:20680
↓ 9 callers
Method
start_array
src/nlohmann/json.hpp:7348
↓ 9 callers
Method
string
src/nlohmann/json.hpp:7323
↓ 8 callers
Method
cbegin
src/tiktoken/hash_set8.hpp:364
↓ 8 callers
Method
dump
! @brief internal implementation of the serialization function This function is called by the public member function dump and organizes t
src/nlohmann/json.hpp:18115
↓ 8 callers
Function
dump_integer
src/nlohmann/json.hpp:18722
↓ 8 callers
Method
end_object
src/nlohmann/json.hpp:7343
↓ 8 callers
Function
size
@brief returns the number of elements @sa https://json.nlohmann.me/api/basic_json/size/
src/nlohmann/json.hpp:22247
↓ 8 callers
Method
start_object
src/nlohmann/json.hpp:7333
↓ 7 callers
Function
cend
@brief returns an iterator to one past the last element @sa https://json.nlohmann.me/api/basic_json/cend/
src/nlohmann/json.hpp:22111
↓ 7 callers
Function
compares_unordered
src/nlohmann/json.hpp:22975
↓ 7 callers
Method
decode
Decode tokens to string. Args: tokens: List of token IDs errors: How to handle decode errors ('replace', 'ign
tokendagger/wrapper.py:276
↓ 7 callers
Method
emplace
src/tiktoken/hash_set8.hpp:688
↓ 7 callers
Function
if
src/nlohmann/json.hpp:22946
↓ 6 callers
Method
count
src/tiktoken/hash_set8.hpp:540
↓ 6 callers
Function
empty
@brief return whether pointer points to the root document @sa https://json.nlohmann.me/api/json_pointer/empty/
src/nlohmann/json.hpp:14002
↓ 6 callers
Method
encode_ordinary
Encode text using ordinary tokens only (no special tokens). Args: text: Text to encode Returns:
tokendagger/wrapper.py:145
↓ 6 callers
Method
end
src/tiktoken/hash_table8.hpp:407
↓ 6 callers
Function
is_string
@brief return whether value is a string @sa https://json.nlohmann.me/api/basic_json/is_string/
src/nlohmann/json.hpp:20673
↓ 6 callers
Function
json_pointer
@brief create JSON pointer @sa https://json.nlohmann.me/api/json_pointer/json_pointer/
src/nlohmann/json.hpp:13867
↓ 6 callers
Method
max_size
src/tiktoken/hash_set8.hpp:391
↓ 6 callers
Method
null
src/nlohmann/json.hpp:7298
↓ 6 callers
Function
push_back
@brief append an unescaped token at the end of the reference pointer @sa https://json.nlohmann.me/api/json_pointer/push_back/
src/nlohmann/json.hpp:13988
↓ 5 callers
Method
begin
src/tiktoken/hash_table8.hpp:403
↓ 5 callers
Method
binary
src/nlohmann/json.hpp:7328
↓ 5 callers
Function
emplace
src/nlohmann/json.hpp:19058
↓ 5 callers
Method
emplace_unique
src/tiktoken/hash_set8.hpp:718
↓ 5 callers
Function
escape
src/nlohmann/json.hpp:2990
↓ 5 callers
Method
get_character
std::istream/std::streambuf use std::char_traits<char>::to_int_type, to ensure that std::char_traits<char>::eof() and the character 0xFF do not end up
src/nlohmann/json.hpp:6259
↓ 5 callers
Method
is_begin
return whether the iterator can be dereferenced
src/nlohmann/json.hpp:12762
↓ 5 callers
Method
parse
! @brief public parser interface @param[in] strict whether to expect the last token to be EOF @param[in,out] result parsed JSON val
src/nlohmann/json.hpp:12261
↓ 4 callers
Method
accept
! @brief public accept interface @param[in] strict whether to expect the last token to be EOF @return whether the input is a proper JSON
src/nlohmann/json.hpp:12321
↓ 4 callers
Method
contains
src/tiktoken/hash_set8.hpp:534
↓ 4 callers
Function
destroy
src/nlohmann/json.hpp:19856
↓ 4 callers
Function
get_arithmetic_value
src/nlohmann/json.hpp:4678
↓ 4 callers
Method
get_binary
src/nlohmann/json.hpp:12008
↓ 4 callers
Method
get_string
src/nlohmann/json.hpp:11975
↓ 4 callers
Function
insert_iterator
src/nlohmann/json.hpp:22568
↓ 4 callers
Function
is_boolean
@brief return whether value is a boolean @sa https://json.nlohmann.me/api/basic_json/is_boolean/
src/nlohmann/json.hpp:20624
↓ 4 callers
Function
max_size
@brief returns the maximum possible number of elements @sa https://json.nlohmann.me/api/basic_json/max_size/
src/nlohmann/json.hpp:22286
↓ 4 callers
Method
name
src/nlohmann/json.hpp:4387
↓ 4 callers
Function
replace_substring
src/nlohmann/json.hpp:2971
↓ 4 callers
Method
set_end
set iterator to a defined past the end
src/nlohmann/json.hpp:12756
↓ 4 callers
Method
size
src/tiktoken/hash_table8.hpp:414
↓ 4 callers
Method
values
src/tiktoken/hash_set8.hpp:371
↓ 4 callers
Method
write_ubjson
! @param[in] j JSON value to serialize @param[in] use_count whether to use '#' prefixes (optimized format) @param[in] use_type wheth
src/nlohmann/json.hpp:15778
↓ 3 callers
Function
Tokenize
src/mistral_main.cpp:149
↓ 3 callers
Function
cbegin
@brief returns a const iterator to the first element @sa https://json.nlohmann.me/api/basic_json/cbegin/
src/nlohmann/json.hpp:22086
next →
1–100 of 724, ranked by callers