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
↓ 6 callers
Method
has_worker_hash
runners/smartcontracts/RootContractConfig.hpp:99
↓ 6 callers
Method
image_hash
tee/cocoon/RATLS.cpp:549
↓ 6 callers
Method
initialize
runners/BaseRunner.cpp:297
↓ 6 callers
Function
is_allowed
tee/cocoon/RATLS.cpp:24
↓ 6 callers
Method
is_object
runners/helpers/ValidateRequest.cpp:686
↓ 6 callers
Function
make_tee
tee/cocoon/sev/Tee.cpp:290
↓ 6 callers
Method
native_handle
tee/cocoon/sev/PKI.cpp:281
↓ 6 callers
Method
runner
runners/worker/WorkerProxyConnection.cpp:11
↓ 6 callers
Method
seqno
runners/smartcontracts/CocoonWallet.hpp:50
↓ 6 callers
Method
spawn
(self, cmd, log)
tee/cocoon/proxy-test.py:128
↓ 6 callers
Method
to_secure_string
tdport/td/e2e/Keys.cpp:89
↓ 6 callers
Method
to_u256
tdport/td/e2e/Keys.cpp:77
↓ 6 callers
Method
update_payment_info
runners/worker/WorkerProxyInfo.cpp:32
↓ 6 callers
Function
uuid_to_bytes
tee/cocoon/sev/UUID.cpp:20
↓ 5 callers
Function
SHA384
tee/cocoon/sev/SHA384.h:10
↓ 5 callers
Method
_get_conn
Get thread-local connection.
mt-tools/scripts/quality_eval.py:101
↓ 5 callers
Method
add
tee/cocoon/health-stats.cpp:17
↓ 5 callers
Method
attest
tee/cocoon/RATLS.cpp:362
↓ 5 callers
Function
cocoon_serialize_tl_object
cocoon-tl-utils/cocoon-tl-utils.cpp:27
↓ 5 callers
Method
create_proxy_sc_request_promise
CHARGE AND TOP UP */
runners/client/ClientRunner.hpp:62
↓ 5 callers
Function
exec_command_safe
tee/cocoon/health-monitor.cpp:136
↓ 5 callers
Method
fail_connection
runners/BaseRunner.hpp:630
↓ 5 callers
Function
generate_unique_uint64
net/TcpClient.cpp:41
↓ 5 callers
Method
has_proxy_hash
runners/smartcontracts/RootContractConfig.hpp:105
↓ 5 callers
Function
image_hash
tee/cocoon/tdx/tdx.cpp:725
↓ 5 callers
Method
is_closed
runners/proxy/ProxyWorkerInfo.h:77
↓ 5 callers
Method
is_testnet
runners/BaseRunner.hpp:405
↓ 5 callers
Function
print_log
(desc: str, path: str, node: Node)
tee/cocoon/proxy-test.py:177
↓ 5 callers
Method
process_signed_payment_data
runners/client/ClientProxyInfo.cpp:117
↓ 5 callers
Function
product_name_from_name
tee/cocoon/sev/ABI.cpp:94
↓ 5 callers
Function
product_name_to_string
tee/cocoon/sev/ABI.cpp:79
↓ 5 callers
Method
ready_for_withdraw
runners/smartcontracts/ProxyContract.hpp:77
↓ 5 callers
Function
remote_app_type_key_manager
runners/BaseRunner.cpp:97
↓ 5 callers
Function
remote_app_type_proxy
runners/BaseRunner.cpp:79
↓ 5 callers
Function
remote_app_type_worker
runners/BaseRunner.cpp:91
↓ 5 callers
Method
runner
runners/client/ClientProxyConnection.cpp:16
↓ 5 callers
Method
serialize
runners/proxy/ProxyWorkerInfo.h:81
↓ 5 callers
Method
signed_payment_tokens
runners/proxy/ProxyWorkerInfo.h:46
↓ 5 callers
Method
to_hash
tee/cocoon/tdx/tdx.cpp:58
↓ 5 callers
Method
to_public_key
tdport/td/e2e/Keys.cpp:149
↓ 5 callers
Function
to_str
tee/cocoon/tdx/tdx.cpp:74
↓ 5 callers
Method
tokens_used
runners/proxy/ProxyClientInfo.h:58
↓ 5 callers
Method
tonlib_send_request
runners/BaseRunner.hpp:528
↓ 5 callers
Method
update
tee/cocoon/health-stats.cpp:73
↓ 5 callers
Function
uuid_to_string
tee/cocoon/sev/UUID.cpp:36
↓ 4 callers
Function
_format_value_rich
Format value with diff from best, using rich markup for colors.
mt-tools/scripts/quality_eval.py:774
↓ 4 callers
Method
as_tdx
tee/cocoon/RATLS.h:54
↓ 4 callers
Method
check_image_hashes
runners/BaseRunner.hpp:438
↓ 4 callers
Method
check_signed_pay_message
runners/smartcontracts/ClientContract.cpp:193
↓ 4 callers
Method
close
(self)
tee/cocoon/proxy-test.py:147
↓ 4 callers
Function
collect_all
Collect all metrics
tee/cocoon/health-metrics.cpp:220
↓ 4 callers
Method
deploy
runners/smartcontracts/SmartContract.cpp:240
↓ 4 callers
Method
disable_ton
runners/BaseRunner.hpp:466
↓ 4 callers
Method
exp_sc_is_closed
runners/client/ClientProxyInfo.h:74
↓ 4 callers
Method
exp_sc_is_inited
runners/client/ClientProxyInfo.h:50
↓ 4 callers
Method
extract_fd
tee/cocoon/utils.cpp:76
↓ 4 callers
Function
find_cgroup_path
Helper: find cgroup path for a service (tries system.slice then user.slice)
tee/cocoon/health-metrics.cpp:429
↓ 4 callers
Function
get_docker_cgroup_paths
Helper: get docker container cgroup paths for cocoon-vllm
tee/cocoon/health-metrics.cpp:444
↓ 4 callers
Method
get_from_db
runners/proxy/ProxyRunner.cpp:770
↓ 4 callers
Function
hash_public_key
tee/cocoon/RATLS.cpp:473
↓ 4 callers
Method
headers
Get the headers for API requests.
mt-tools/src/mt/translate.py:236
↓ 4 callers
Function
hex_dump
Simple hex dump utility for debugging
tee/cocoon/tdx/sgx-enclave/Enclave.cpp:67
↓ 4 callers
Method
is_boolean
runners/helpers/ValidateRequest.cpp:754
↓ 4 callers
Method
last_saved_state_seqno
runners/proxy/ProxyRunner.hpp:69
↓ 4 callers
Method
max_proto_version
runners/proxy/ProxyRunner.hpp:48
↓ 4 callers
Method
overheads
Calculate overheads at each stage. Returns: (client_overhead, proxy_overhead, worker_overhead) - worker_overhead: time spent
mt-tools/src/mt/translate.py:161
↓ 4 callers
Function
parse_service_metrics
Parse systemctl show output for service metrics
tee/cocoon/health-metrics.cpp:339
↓ 4 callers
Function
print_stats
Print statistics.
mt-tools/src/mt/cli/benchmark.py:382
↓ 4 callers
Function
process_string_or_object
runners/helpers/ValidateRequest.cpp:847
↓ 4 callers
Method
productName
tee/cocoon/sev/PKI.cpp:364
↓ 4 callers
Function
product_name_from_this_cpu
tee/cocoon/sev/ABI.cpp:151
↓ 4 callers
Method
proto_version
runners/proxy/ProxyInboundClientConnection.h:43
↓ 4 callers
Method
reserve
runners/proxy/ProxyClientInfo.h:150
↓ 4 callers
Function
rtmr_to_hex
tee/cocoon/tdx/eventlog.cpp:198
↓ 4 callers
Method
sc_address
runners/proxy/ProxyRunner.cpp:43
↓ 4 callers
Method
sc_request_running
runners/client/ClientProxyInfo.h:41
↓ 4 callers
Method
sign
tdport/td/e2e/Keys.cpp:142
↓ 4 callers
Method
sign_and_wrap_message
UTILS */
runners/proxy/ProxyRunner.hpp:190
↓ 4 callers
Method
subscribe_to_updates
runners/smartcontracts/SmartContract.cpp:173
↓ 4 callers
Function
translate
Unified translation function. Args: text: Single text (str) or list of texts (List[str]) target_lang: Target language
mt-tools/src/mt/translate.py:829
↓ 4 callers
Function
validate_port
Validate port number
tee/cocoon/router.cpp:27
↓ 4 callers
Method
worker_fee_per_token
runners/proxy/ProxyRunner.hpp:66
↓ 3 callers
Method
aggregate_scores
Aggregate per-sample scores into final metrics. Default: mean score. Override for custom aggregation.
mt-tools/src/mt/tasks/base.py:137
↓ 3 callers
Method
check_verification_key
runners/BaseRunner.cpp:222
↓ 3 callers
Method
close
boost-http/http.cpp:315
↓ 3 callers
Method
compute_scores
Compute per-sample scores. Returns list of floats (one per sample). This is the raw computation - no caching. Override in subclass.
mt-tools/src/mt/tasks/base.py:65
↓ 3 callers
Function
decode_utf16le
tee/cocoon/tdx/eventlog.cpp:387
↓ 3 callers
Method
del_from_db
runners/proxy/ProxyRunner.hpp:146
↓ 3 callers
Function
do_create_ssl_ctx
tdport/td/net/SslCtx.cpp:156
↓ 3 callers
Function
do_snp_guest_ioctl
tee/cocoon/sev/GuestDevice.cpp:48
↓ 3 callers
Function
download_model
Download model using hf CLI.
mt-tools/scripts/run_sglang.py:27
↓ 3 callers
Function
extract_ascii
tee/cocoon/tdx/eventlog.cpp:371
↓ 3 callers
Method
finish
boost-http/http.cpp:252
↓ 3 callers
Function
from_body
tee/cocoon/tdx/tdx.cpp:463
↓ 3 callers
Method
from_debug_json
Create TimingInfo from debug JSON response. Args: debug_data: Dict with 'client', 'proxy', 'worker' keys, each containing
mt-tools/src/mt/translate.py:113
↓ 3 callers
Method
generate_client_sc_address
runners/BaseRunner.cpp:1046
↓ 3 callers
Function
generate_shared_secret
runners/helpers/ValidateRequest.cpp:203
↓ 3 callers
Method
generate_worker_sc_address
runners/BaseRunner.cpp:1054
↓ 3 callers
Method
get_boolean
runners/helpers/ValidateRequest.cpp:758
↓ 3 callers
Method
get_connection
runners/BaseRunner.hpp:610
← previous
next →
101–200 of 2,150, ranked by callers