MCPcopy Create free account

hub / github.com/TelegramMessenger/cocoon / functions

Functions2,150 in github.com/TelegramMessenger/cocoon

↓ 3 callersMethodincr_tokens
runners/proxy/ProxySignedPayments.hpp:24
↓ 3 callersMethodis_closing
runners/proxy/ProxyClientInfo.h:40
↓ 3 callersMethodis_inited
runners/worker/WorkerProxyInfo.h:34
↓ 3 callersFunctionis_printable
tee/cocoon/tdx/eventlog.cpp:367
↓ 3 callersMethodload_eval_data
Load evaluation dataset.
mt-tools/src/mt/tasks/base.py:60
↓ 3 callersFunctionnormalize_service_name
tee/cocoon/health-monitor.cpp:71
↓ 3 callersFunctionparse_proxy_spec
Generic parser: SPEC@POLICY[:image-hash]
tee/cocoon/router.cpp:208
↓ 3 callersMethodprocess_new_state
runners/smartcontracts/SmartContract.cpp:70
↓ 3 callersFunctionproduct_name_from_cpu
tee/cocoon/sev/ABI.cpp:124
↓ 3 callersMethodproxy_request_payout
runners/worker/WorkerRunner.cpp:44
↓ 3 callersFunctionproxy_sockets
tee/cocoon/utils.h:111
↓ 3 callersMethodput
tee/cocoon/AttestationCache.cpp:27
↓ 3 callersFunctionread_image_hash
tee/cocoon/health-render.cpp:28
↓ 3 callersMethodreceive_answer
runners/proxy/ProxyRunningRequest.cpp:116
↓ 3 callersMethodreceive_payload_part
boost-http/http.cpp:153
↓ 3 callersMethodrun
boost-http/http.cpp:31
↓ 3 callersFunctionrun_http_request
boost-http/http-client.cpp:211
↓ 3 callersMethodrunning_queries
runners/proxy/ProxyWorkerInfo.h:68
↓ 3 callersFunctionsafe_parse_int
Helper for safe integer parsing
tee/cocoon/health-metrics.cpp:246
↓ 3 callersMethodset_callback
runners/smartcontracts/WorkerContract.hpp:33
↓ 3 callersMethodset_to_db
runners/proxy/ProxyRunner.cpp:758
↓ 3 callersMethodshort_desc
tee/cocoon/utils.h:146
↓ 3 callersFunctionshould_encrypt_field
runners/helpers/ValidateRequest.cpp:232
↓ 3 callersMethodsigned_payment_data
runners/proxy/ProxyWorkerInfo.h:43
↓ 3 callersFunctionsolve_pow_client
tee/cocoon/pow.cpp:218
↓ 3 callersFunctionstable_hash
Deterministic hash (32 hex chars from sha256).
mt-tools/src/mt/cache.py:15
↓ 3 callersMethodstart_up
* * INITIALIZATION * */
runners/BaseRunner.cpp:292
↓ 3 callersMethodstate
runners/proxy/OldProxyContract.hpp:72
↓ 3 callersFunctiontdx_make_report
tee/cocoon/tdx/tdx.cpp:580
↓ 3 callersMethodtokens_committed_to_blockchain
runners/proxy/ProxyWorkerInfo.h:31
↓ 3 callersMethodtokens_processed
runners/smartcontracts/WorkerContract.hpp:64
↓ 3 callersMethodton_disabled
runners/BaseRunner.hpp:423
↓ 3 callersFunctiontrim
runners/helpers/ValidateRequest.cpp:43
↓ 3 callersMethodunsubscribe_from_updates
runners/smartcontracts/SmartContract.cpp:181
↓ 3 callersMethodupdate_tokens_committed_to_db
runners/client/ClientProxyInfo.h:86
↓ 3 callersMethodupdate_tokens_committed_to_proxy_db
runners/worker/WorkerProxyInfo.h:102
↓ 3 callersMethodupdate_tokens_max_known
runners/worker/WorkerProxyInfo.h:110
↓ 3 callersMethodupdate_tokens_used
runners/client/ClientProxyInfo.h:81
↓ 3 callersFunctionurl_decode
boost-http/www-form-urlencoded.cpp:20
↓ 3 callersMethodvalidate
tee/cocoon/RATLS.cpp:469
↓ 3 callersMethodverify_cert
tee/cocoon/sev/PKI.cpp:465
↓ 3 callersMethodverify_report
tee/cocoon/sev/PKI.cpp:285
↓ 3 callersFunctionwrap_tls_client
tee/cocoon/utils.cpp:117
↓ 3 callersMethodwrite_completed
boost-http/http.cpp:260
↓ 2 callersFunctionBIO_get_data
tdport/td/net/SslStream.cpp:31
↓ 2 callersFunctionBIO_s_sslstream
tdport/td/net/SslStream.cpp:106
↓ 2 callersFunctionBIO_set_data
tdport/td/net/SslStream.cpp:34
↓ 2 callersFunctionRATLS_extract_context
tee/cocoon/RATLS.cpp:666
↓ 2 callersMethod_build_prompt
Build summarization prompt.
mt-tools/src/mt/tasks/summarize.py:116
↓ 2 callersFunction_call_chat
Call /v1/chat/completions API.
mt-tools/src/mt/translate.py:662
↓ 2 callersFunction_call_google
Call Google Translate API.
mt-tools/src/mt/translate.py:758
↓ 2 callersFunction_detect_source_lang
Detect source language from text (simple heuristic).
mt-tools/src/mt/translate.py:404
↓ 2 callersMethod_exec
(self, cmd, check=True)
tee/cocoon/proxy-test.py:119
↓ 2 callersFunction_extract_lang_code
Extract language code from target_lang like 'Russian (ru)' -> 'ru' or 'Chinese' -> 'zh'.
mt-tools/src/mt/translate.py:370
↓ 2 callersFunction_log
Simple verbose logging helper.
mt-tools/src/mt/translate.py:305
↓ 2 callersMethod_norm
(self, cmd)
tee/cocoon/proxy-test.py:70
↓ 2 callersFunction_stable_hash
Deterministic hash (first 16 bytes of sha256).
mt-tools/scripts/quality_eval.py:81
↓ 2 callersFunction_translate_single
Translate a single text using non-JSON format.
mt-tools/src/mt/translate.py:803
↓ 2 callersMethodactive_transactions_cnt
runners/smartcontracts/CocoonWallet.hpp:56
↓ 2 callersMethodadd_next_answer_slice
runners/helpers/ValidateRequest.cpp:1411
↓ 2 callersMethodadd_subfield
runners/helpers/ValidateRequest.cpp:776
↓ 2 callersFunctionappend_cert_info
tee/cocoon/RATLS.cpp:125
↓ 2 callersMethodas_sev
tee/cocoon/RATLS.h:60
↓ 2 callersFunctioncalculate_timing_stats
Calculate timing statistics from results with timing info. Returns dict with worker_overheads, proxy_overheads, client_overheads, network_ove
mt-tools/scripts/translation_benchmark.py:134
↓ 2 callersMethodcharging_now
runners/proxy/ProxyClientInfo.h:34
↓ 2 callersMethodchat_url
Get the URL for chat completions endpoint.
mt-tools/src/mt/translate.py:226
↓ 2 callersMethodcheck
runners/proxy/ProxyWorkerInfo.cpp:43
↓ 2 callersFunctionci_str_equals
runners/helpers/ValidateRequest.cpp:35
↓ 2 callersMethodclient_charge
runners/proxy/ProxyRunner.cpp:225
↓ 2 callersMethodclient_delay_before_close
runners/smartcontracts/RootContractConfig.hpp:89
↓ 2 callersMethodclient_info
runners/proxy/ProxyInboundClientConnection.h:36
↓ 2 callersMethodcommitted_to_blockchain
runners/proxy/ProxyWorkerInfo.h:141
↓ 2 callersMethodcommitted_to_db
runners/proxy/ProxyWorkerInfo.h:137
↓ 2 callersFunctioncompute_sample_hash
Compute hash for a single (source, hypothesis, reference) triple.
mt-tools/src/mt/cache.py:20
↓ 2 callersFunctioncompute_sha384
SHA384 wrapper returning RtmrValue
tee/cocoon/tdx/eventlog.cpp:183
↓ 2 callersFunctioncount_fds_for_procs
Helper: count FDs/sockets for all PIDs in a cgroup.procs file
tee/cocoon/health-metrics.cpp:581
↓ 2 callersFunctioncount_open_fds
Count open file descriptors for a process
tee/cocoon/health-metrics.cpp:263
↓ 2 callersFunctioncount_tcp_connections
Count TCP connections for a process
tee/cocoon/health-metrics.cpp:312
↓ 2 callersMethodcreate_charge_message
runners/smartcontracts/ClientContract.cpp:139
↓ 2 callersMethodcreate_refund_message
runners/smartcontracts/ClientContract.cpp:148
↓ 2 callersMethodcreate_save_state_message
runners/smartcontracts/ProxyContract.cpp:260
↓ 2 callersFunctioncreate_ssl_ctx
tee/cocoon/Tee.cpp:307
↓ 2 callersMethodcreate_withdraw_message
runners/smartcontracts/ProxyContract.cpp:253
↓ 2 callersMethodcur_sc_address
runners/proxy/ProxyRunner.hpp:59
↓ 2 callersMethoddb_transaction
runners/proxy/ProxyRunner.hpp:153
↓ 2 callersFunctiondecode_hex
boost-http/www-form-urlencoded.cpp:8
↓ 2 callersFunctiondecrypt_all_strings
runners/helpers/ValidateRequest.cpp:271
↓ 2 callersFunctiondecrypt_json
runners/helpers/ValidateRequest.cpp:1529
↓ 2 callersFunctiondecrypt_string
runners/helpers/ValidateRequest.cpp:246
↓ 2 callersMethoddel_field
runners/helpers/ValidateRequest.cpp:779
↓ 2 callersFunctiondetect_prompt_format
Auto-detect prompt format based on model name.
mt-tools/src/mt/translate.py:71
↓ 2 callersMethodearned_tokens_committed_to_proxy_db
runners/worker/WorkerProxyInfo.h:48
↓ 2 callersMethodearned_tokens_max_known
runners/worker/WorkerProxyInfo.h:52
↓ 2 callersFunctionencrypt_json
runners/helpers/ValidateRequest.cpp:1509
↓ 2 callersMethodenqueue_part
boost-http/http.cpp:244
↓ 2 callersFunctionextend_rtmr
Extend RTMR: new = SHA384(old || digest)
tee/cocoon/tdx/eventlog.cpp:190
↓ 2 callersFunctionextract_debug_data
Extract debug data from response JSON. Checks top-level 'debug' key first, then tries to parse from content if it's JSON. Args:
mt-tools/src/mt/translate.py:267
↓ 2 callersFunctionfetch_net_addr
runners/smartcontracts/RootContractConfig.cpp:31
↓ 2 callersMethodfind_policy
tee/cocoon/FwdProxy.cpp:298
↓ 2 callersFunctionfor_each_product_name
tee/cocoon/sev/ABI.h:196
← previousnext →201–300 of 2,150, ranked by callers