Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TelegramMessenger/cocoon
/ functions
Functions
2,150 in github.com/TelegramMessenger/cocoon
⨍
Functions
2,150
◇
Types & classes
372
↓ 2 callers
Function
format_score
(val, vals)
mt-tools/src/mt/cli/eval.py:260
↓ 2 callers
Method
forwarded_query
runners/proxy/ProxyWorkerInfo.h:107
↓ 2 callers
Method
forwarded_query_failed
runners/proxy/ProxyWorkerInfo.h:111
↓ 2 callers
Method
forwarded_query_success
runners/proxy/ProxyWorkerInfo.h:115
↓ 2 callers
Function
framed_tl_write
tee/cocoon/utils.h:81
↓ 2 callers
Function
gen_from_json_constructor
tl/generate/tl_json_converter.cpp:139
↓ 2 callers
Function
gen_json_converter_file
tl/generate/tl_json_converter.cpp:245
↓ 2 callers
Function
gen_to_json_constructor
tl/generate/tl_json_converter.cpp:41
↓ 2 callers
Function
generate_certificate
Generate certificate with proper permissions handling.
tee/cocoon/proxy-test.py:159
↓ 2 callers
Function
generate_example_config
tee/cocoon/ProxyConfig.cpp:189
↓ 2 callers
Function
get_active
()
mt-tools/src/mt/cli/benchmark.py:292
↓ 2 callers
Function
get_asn1_object_desc
tee/cocoon/sev/PKI.cpp:50
↓ 2 callers
Function
get_azure_endpoint
Get Azure OpenAI endpoint from environment.
mt-tools/src/mt/translate.py:16
↓ 2 callers
Function
get_logs
tee/cocoon/health-render.cpp:395
↓ 2 callers
Function
get_metrics
tee/cocoon/health-render.cpp:290
↓ 2 callers
Function
get_multipart_boundary
runners/helpers/ValidateRequest.cpp:146
↓ 2 callers
Method
get_openssl_ctx
tdport/td/net/SslCtx.cpp:326
↓ 2 callers
Method
get_proxy_info
PROXY DB */
runners/worker/WorkerRunner.h:128
↓ 2 callers
Function
get_stats
Get all stats in one atomic operation
mt-tools/scripts/translation_benchmark.py:416
↓ 2 callers
Function
get_top_pairs_from_csv
Get top language pairs from lang.csv file with cumulative percentages. Excludes same-language pairs (en-en, ru-ru, etc.) Supports any dir
mt-tools/scripts/quality_eval.py:663
↓ 2 callers
Method
has_field
runners/helpers/ValidateRequest.cpp:769
↓ 2 callers
Function
has_gpu
Check if GPU is available for COMET.
mt-tools/scripts/quality_eval.py:66
↓ 2 callers
Method
has_signed_payment
runners/proxy/ProxyWorkerInfo.h:40
↓ 2 callers
Method
hwID
tee/cocoon/sev/PKI.cpp:425
↓ 2 callers
Method
init
tdport/td/net/SslCtx.cpp:241
↓ 2 callers
Method
init_source
tee/cocoon/utils.h:171
↓ 2 callers
Method
is_array
runners/helpers/ValidateRequest.cpp:717
↓ 2 callers
Function
is_pow2_aligned
tee/cocoon/sev/GuestCTX.cpp:10
↓ 2 callers
Method
is_started
runners/worker/WorkerProxyInfo.h:37
↓ 2 callers
Function
is_whitespace
runners/helpers/ValidateRequest.cpp:39
↓ 2 callers
Function
is_word_char
tee/cocoon/cocoon-subst.cpp:6
↓ 2 callers
Function
leading_zero_bits
tee/cocoon/pow.cpp:19
↓ 2 callers
Function
load_cert_and_key
tee/cocoon/Tee.cpp:296
↓ 2 callers
Function
make_kds_url_cert_chain
tee/cocoon/sev/PKI.cpp:250
↓ 2 callers
Function
make_kds_url_cert_chain_crl
tee/cocoon/sev/PKI.cpp:254
↓ 2 callers
Function
make_kds_url_vcek
tee/cocoon/sev/PKI.cpp:258
↓ 2 callers
Method
make_quote
tee/cocoon/tdx/Tee.cpp:62
↓ 2 callers
Function
make_report
tee/cocoon/tdx/RATLS.cpp:26
↓ 2 callers
Method
min_balance
runners/smartcontracts/CocoonWallet.hpp:40
↓ 2 callers
Method
min_proto_version
runners/proxy/ProxyRunner.hpp:45
↓ 2 callers
Method
min_proto_version
runners/worker/WorkerRunner.h:36
↓ 2 callers
Method
need_to_write
runners/proxy/ProxyWorkerInfo.h:74
↓ 2 callers
Function
parse_config_from_json
tee/cocoon/ProxyConfig.cpp:125
↓ 2 callers
Function
parse_cpu_stat
Parse /proc/stat for CPU ticks
tee/cocoon/health-metrics.cpp:132
↓ 2 callers
Function
parse_float_as_int
Helper: parse float and convert to int (for GPU power which returns decimals like "94.60")
tee/cocoon/health-render.cpp:122
↓ 2 callers
Function
parse_int32
Helper: parse int safely
tee/cocoon/health-render.cpp:105
↓ 2 callers
Function
parse_io_stat
Helper: parse io.stat file and sum all devices
tee/cocoon/health-metrics.cpp:500
↓ 2 callers
Function
parse_json
runners/helpers/ValidateRequest.cpp:309
↓ 2 callers
Function
parse_list_of_hex
tee/cocoon/router.cpp:47
↓ 2 callers
Function
parse_multipart_form
runners/helpers/ValidateRequest.cpp:174
↓ 2 callers
Function
parse_policy_config
tee/cocoon/sev/PolicyConfig.cpp:9
↓ 2 callers
Function
parse_prefixed_desc
tee/cocoon/tdx/eventlog.cpp:453
↓ 2 callers
Function
parse_uint64
tee/cocoon/health-render.cpp:113
↓ 2 callers
Function
parse_x_www_form_urlencoded
boost-http/www-form-urlencoded.cpp:40
↓ 2 callers
Method
paying_now
runners/proxy/ProxyWorkerInfo.h:56
↓ 2 callers
Method
pending_transactions_cnt
runners/smartcontracts/CocoonWallet.hpp:53
↓ 2 callers
Function
print_curl
Print a curl command that can be copy-pasted into terminal.
mt-tools/src/mt/translate.py:311
↓ 2 callers
Function
print_stats
Print statistics (interim or final)
mt-tools/scripts/translation_benchmark.py:572
↓ 2 callers
Method
process_auth_answer
runners/client/ClientProxyConnection.cpp:134
↓ 2 callers
Function
process_string
runners/helpers/ValidateRequest.cpp:784
↓ 2 callers
Method
product_name
tee/cocoon/sev/PKI.h:138
↓ 2 callers
Function
product_name_from_name_and_stepping
tee/cocoon/sev/ABI.cpp:114
↓ 2 callers
Function
proxy
tee/cocoon/utils.cpp:66
↓ 2 callers
Method
proxy_delay_before_close
runners/smartcontracts/RootContractConfig.hpp:86
↓ 2 callers
Method
put
Store result in cache. Args: task: Task name input_text: Input text config_key: Config identifier
mt-tools/src/mt/cache.py:122
↓ 2 callers
Method
read
tdport/td/net/SslStream.cpp:245
↓ 2 callers
Method
receive_answer
boost-http/http.cpp:139
↓ 2 callers
Method
receive_handshake_query
runners/proxy/ProxyInboundClientConnection.cpp:13
↓ 2 callers
Method
received_request_from_proxy
runners/worker/WorkerProxyInfo.h:135
↓ 2 callers
Function
remote_app_type_unknown
runners/BaseRunner.cpp:85
↓ 2 callers
Function
render_all_status
tee/cocoon/health-render.cpp:585
↓ 2 callers
Function
render_system_metrics
tee/cocoon/health-render.cpp:606
↓ 2 callers
Method
repack_signed_pay_message
runners/smartcontracts/ClientContract.cpp:238
↓ 2 callers
Method
save
Explicitly checkpoint/save the cache.
mt-tools/src/mt/cache.py:186
↓ 2 callers
Function
save_results_csv
Save benchmark results to CSV.
mt-tools/src/mt/cli/benchmark.py:697
↓ 2 callers
Method
send_external_message
runners/BaseRunner.cpp:466
↓ 2 callers
Method
send_headers
boost-http/http.cpp:207
↓ 2 callers
Method
sent_query
runners/BaseRunner.hpp:255
↓ 2 callers
Method
serialize
tee/cocoon/tdx/tdx.cpp:65
↓ 2 callers
Method
serialize_payment_status
runners/proxy/ProxyWorkerInfo.cpp:56
↓ 2 callers
Method
set_attestation
tee/cocoon/utils.h:165
↓ 2 callers
Method
set_signed_payment
runners/proxy/ProxySignedPayments.hpp:56
↓ 2 callers
Function
sgx_validate_quote
tee/cocoon/tdx/tdx.cpp:655
↓ 2 callers
Method
shared_ptr
runners/proxy/ProxyWorkerInfo.h:18
↓ 2 callers
Method
sign_client_payment
runners/proxy/ProxyRunner.cpp:212
↓ 2 callers
Method
sign_worker_payment
runners/proxy/ProxyRunner.cpp:99
↓ 2 callers
Function
socks5
tee/cocoon/utils.cpp:23
↓ 2 callers
Method
stake
runners/proxy/ProxyClientInfo.h:93
↓ 2 callers
Method
state_to_string
runners/smartcontracts/ClientContract.hpp:109
↓ 2 callers
Method
stop_query
runners/proxy/ProxyClientInfo.h:183
↓ 2 callers
Function
store_multipart_form
runners/helpers/ValidateRequest.cpp:184
↓ 2 callers
Method
store_stat
runners/smartcontracts/RootContractConfig.cpp:770
↓ 2 callers
Method
store_stats
runners/client/ClientProxyInfo.cpp:138
↓ 2 callers
Method
store_stats
runners/worker/WorkerProxyInfo.cpp:47
↓ 2 callers
Method
sync
runners/TonlibWrapper.cpp:140
↓ 2 callers
Function
tdx_parse_report
tee/cocoon/tdx/tdx.cpp:686
↓ 2 callers
Function
tdx_quote_to_body
tee/cocoon/tdx/tdx.cpp:406
↓ 2 callers
Method
tokens_available
runners/proxy/ProxyClientInfo.h:83
↓ 2 callers
Method
tokens_payed
runners/proxy/ProxyClientInfo.h:90
↓ 2 callers
Method
tokens_reserved
runners/proxy/ProxyClientInfo.h:99
← previous
next →
301–400 of 2,150, ranked by callers