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
↓ 1 callers
Function
process_sample
(i: int, sample: Sample)
mt-tools/src/mt/cli/eval.py:62
↓ 1 callers
Function
process_system_message
runners/helpers/ValidateRequest.cpp:932
↓ 1 callers
Function
process_tool_message
runners/helpers/ValidateRequest.cpp:1000
↓ 1 callers
Function
process_user_message
runners/helpers/ValidateRequest.cpp:939
↓ 1 callers
Method
prompt_tokens_price_multiplier
runners/smartcontracts/RootContractConfig.hpp:157
↓ 1 callers
Method
proto_version
runners/client/ClientProxyConnection.h:33
↓ 1 callers
Method
proto_version
runners/worker/WorkerProxyConnection.h:29
↓ 1 callers
Method
proxy_connection_is_ready
runners/BaseRunner.hpp:572
↓ 1 callers
Method
proxy_duration
Total time spent in proxy (answer_receive_end_at - start_time).
mt-tools/src/mt/translate.py:144
↓ 1 callers
Method
proxy_save_state
runners/smartcontracts/ProxyContract.hpp:41
↓ 1 callers
Method
proxy_sc_code
runners/smartcontracts/RootContractConfig.hpp:70
↓ 1 callers
Method
proxy_targets_number
runners/BaseRunner.hpp:432
↓ 1 callers
Function
proxy_url
(userpass: str)
tee/cocoon/proxy-test.py:173
↓ 1 callers
Method
pseudo_initialize
runners/proxy/ProxyClientInfo.h:174
↓ 1 callers
Method
put
Store translation in cache.
mt-tools/scripts/quality_eval.py:162
↓ 1 callers
Method
quote_size
tee/cocoon/tdx/sgx-enclave/seal-server.cpp:64
↓ 1 callers
Function
read_attestation_log
tee/cocoon/tdx/eventlog.cpp:587
↓ 1 callers
Function
read_crl
tee/cocoon/sev/PKI.cpp:175
↓ 1 callers
Method
read_next_request
boost-http/http.cpp:46
↓ 1 callers
Function
read_rtmr
tee/cocoon/health-render.cpp:136
↓ 1 callers
Function
read_rtmr_raw
tee/cocoon/tdx/eventlog.cpp:350
↓ 1 callers
Method
reasoning_tokens_price_multiplier
runners/smartcontracts/RootContractConfig.hpp:166
↓ 1 callers
Method
receive_message
runners/BaseRunner.cpp:676
↓ 1 callers
Method
receive_query
runners/BaseRunner.cpp:679
↓ 1 callers
Method
receive_request
runners/BaseRunner.cpp:327
↓ 1 callers
Method
received_answer
runners/BaseRunner.hpp:261
↓ 1 callers
Method
received_compare_answer
runners/worker/WorkerProxyConnection.cpp:135
↓ 1 callers
Method
received_extended_compare_answer
runners/worker/WorkerProxyConnection.cpp:198
↓ 1 callers
Method
received_handshake_answer
runners/client/ClientProxyConnection.cpp:57
↓ 1 callers
Method
received_handshake_answer
runners/worker/WorkerProxyConnection.cpp:71
↓ 1 callers
Method
received_handshake_complete_answer
runners/worker/WorkerProxyConnection.cpp:253
↓ 1 callers
Method
received_register_message
runners/proxy/ProxyInboundClientConnection.cpp:174
↓ 1 callers
Method
register_client
runners/proxy/ProxyRunner.cpp:170
↓ 1 callers
Method
register_connecting_client
runners/proxy/ProxyRunner.cpp:185
↓ 1 callers
Method
register_proxy
runners/client/ClientRunner.cpp:450
↓ 1 callers
Method
register_proxy
runners/worker/WorkerRunner.cpp:417
↓ 1 callers
Method
register_worker
runners/proxy/ProxyRunner.cpp:58
↓ 1 callers
Method
register_worker_connection
runners/proxy/ProxyRunner.cpp:74
↓ 1 callers
Method
release_reserve
runners/proxy/ProxyClientInfo.h:162
↓ 1 callers
Function
render_event_log
tee/cocoon/tdx/eventlog.cpp:605
↓ 1 callers
Function
render_header
Helper: Render status header
tee/cocoon/health-render.cpp:508
↓ 1 callers
Function
render_info
tee/cocoon/health-render.cpp:405
↓ 1 callers
Function
render_service_line
Helper: Render single service line
tee/cocoon/health-render.cpp:548
↓ 1 callers
Method
replay_rtmrs
tee/cocoon/tdx/eventlog.cpp:298
↓ 1 callers
Method
request_finished
runners/client/ClientProxyInfo.h:186
↓ 1 callers
Method
request_raw
runners/TonlibWrapper.cpp:102
↓ 1 callers
Method
request_started
runners/client/ClientProxyInfo.h:182
↓ 1 callers
Method
request_updates
runners/smartcontracts/SmartContract.cpp:38
↓ 1 callers
Method
run
tee/test/cocoon.cpp:188
↓ 1 callers
Method
run
boost-http/http-client.cpp:41
↓ 1 callers
Function
run_benchmark
Run benchmark with specified concurrency. Load modes: - fixed: maintain fixed number of active requests - qps: emit requests at fixed
mt-tools/src/mt/cli/benchmark.py:254
↓ 1 callers
Function
run_benchmark
Run the benchmark with specified concurrency using threads If target_langs is provided, it should be a list with one target language per chunk.
mt-tools/scripts/translation_benchmark.py:315
↓ 1 callers
Method
run_charge
runners/client/ClientProxyInfo.cpp:210
↓ 1 callers
Method
run_close
runners/client/ClientProxyInfo.h:139
↓ 1 callers
Function
run_docker
Run inference server in Docker and return the process.
mt-tools/scripts/run_sglang.py:99
↓ 1 callers
Function
run_docker_sglang
Build Docker command for sglang.
mt-tools/scripts/run_sglang.py:41
↓ 1 callers
Function
run_docker_vllm
Build Docker command for vllm.
mt-tools/scripts/run_sglang.py:71
↓ 1 callers
Function
run_evaluation
Run evaluation for multiple tasks × multiple models. Returns: all_results: {model_name: {task_key: metrics}}
mt-tools/src/mt/cli/eval.py:296
↓ 1 callers
Function
run_evaluation
Run batch evaluation on all pairs and return results.
mt-tools/scripts/quality_eval.py:882
↓ 1 callers
Function
run_health_test
Run health-monitor remotely and health-client locally to test health monitoring via vsock.
tee/cocoon/proxy-test.py:223
↓ 1 callers
Function
run_model_eval
Run evaluation for a single model on a single task. Returns: outputs: Model outputs (parallel to samples) stats: Execution st
mt-tools/src/mt/cli/eval.py:37
↓ 1 callers
Method
run_payout
runners/worker/WorkerProxyInfo.h:84
↓ 1 callers
Function
run_proxy_test
Unified proxy test function supporting both CLI args and config files. Architecture: - Local node: Always runs SOCKS5 proxy (port 8116)
tee/cocoon/proxy-test.py:339
↓ 1 callers
Function
run_seal_test
Run seal-server locally and seal-client remotely, printing client output.
tee/cocoon/proxy-test.py:187
↓ 1 callers
Function
run_single
Run a single benchmark iteration.
mt-tools/src/mt/cli/benchmark.py:192
↓ 1 callers
Method
run_top_up
runners/client/ClientProxyInfo.h:125
↓ 1 callers
Method
run_withdraw
runners/client/ClientProxyInfo.h:154
↓ 1 callers
Method
runner
runners/proxy/ProxyInboundConnection.cpp:6
↓ 1 callers
Method
save
Explicitly save cache.
mt-tools/scripts/quality_eval.py:182
↓ 1 callers
Function
save_results_to_csv
Save benchmark results to CSV in the same format as the logging system.
mt-tools/scripts/translation_benchmark.py:704
↓ 1 callers
Method
sc_request_completed
runners/client/ClientProxyInfo.h:165
↓ 1 callers
Method
sc_request_completed
runners/worker/WorkerProxyInfo.h:121
↓ 1 callers
Method
sc_request_is_running
runners/worker/WorkerProxyInfo.h:40
↓ 1 callers
Method
secret_string
runners/client/ClientRunner.hpp:45
↓ 1 callers
Method
sent_message
runners/BaseRunner.hpp:258
↓ 1 callers
Method
serialize
runners/key-manager/KeyManagerRunner.hpp:26
↓ 1 callers
Method
serialize_client_params_cell
runners/smartcontracts/RootContractConfig.hpp:119
↓ 1 callers
Method
serialize_proxy_params_cell
runners/smartcontracts/RootContractConfig.hpp:113
↓ 1 callers
Method
serialize_worker_params_cell
runners/smartcontracts/RootContractConfig.hpp:116
↓ 1 callers
Method
set_field_as_processed
runners/helpers/ValidateRequest.cpp:713
↓ 1 callers
Method
set_init_block_id
runners/smartcontracts/SmartContract.hpp:144
↓ 1 callers
Method
short_description
tee/cocoon/RATLS.cpp:525
↓ 1 callers
Method
should_choose_another_proxy
runners/BaseRunner.cpp:202
↓ 1 callers
Method
snpSPL
tee/cocoon/sev/PKI.cpp:415
↓ 1 callers
Method
solve
tee/cocoon/pow.cpp:37
↓ 1 callers
Method
spl_4
tee/cocoon/sev/PKI.cpp:389
↓ 1 callers
Method
spl_5
tee/cocoon/sev/PKI.cpp:400
↓ 1 callers
Method
spl_6
tee/cocoon/sev/PKI.cpp:405
↓ 1 callers
Method
spl_7
tee/cocoon/sev/PKI.cpp:410
↓ 1 callers
Function
split_csv
Helper: trim and split CSV line
tee/cocoon/health-render.cpp:223
↓ 1 callers
Function
split_into_chunks
Split text into chunks of approximate length.
mt-tools/src/mt/cli/benchmark.py:56
↓ 1 callers
Function
split_into_chunks
(text: str, chunk_length: int, single_query: bool = False)
mt-tools/scripts/translation_benchmark.py:108
↓ 1 callers
Function
start_echo_connection
tee/test/cocoon.cpp:79
↓ 1 callers
Function
start_echo_server
tee/test/cocoon.cpp:121
↓ 1 callers
Method
start_next_request
boost-http/http.cpp:70
↓ 1 callers
Function
start_ping_connection
Let's simplify attestation api
tee/test/cocoon.cpp:21
↓ 1 callers
Method
start_query
runners/proxy/ProxyClientInfo.h:180
↓ 1 callers
Method
stats
Return cache statistics.
mt-tools/scripts/quality_eval.py:190
↓ 1 callers
Method
structVersion
tee/cocoon/sev/PKI.cpp:359
↓ 1 callers
Function
sync
runners/utils/sync_time.cpp:24
← previous
next →
701–800 of 2,150, ranked by callers