MCPcopy Create free account

hub / github.com/TelegramMessenger/cocoon / functions

Functions2,150 in github.com/TelegramMessenger/cocoon

↓ 1 callersFunctionempty_public_key
tdport/td/e2e/Keys.cpp:52
↓ 1 callersMethodenable_check_hashes
SIMPLE SETTERS */
runners/key-manager/KeyManagerRunner.hpp:57
↓ 1 callersMethodenclave_id
tee/cocoon/tdx/sgx-enclave/seal-server.cpp:58
↓ 1 callersFunctionencrypt_all_strings
runners/helpers/ValidateRequest.cpp:296
↓ 1 callersFunctionencrypt_string
runners/helpers/ValidateRequest.cpp:261
↓ 1 callersFunctionensure_task
tee/test/cocoon.cpp:233
↓ 1 callersFunctionevaluate_batch
Batch evaluation: load all data, translate all, evaluate all. Much faster for COMET (single batch instead of per-pair).
mt-tools/scripts/quality_eval.py:455
↓ 1 callersMethodexp_sc_stake
runners/client/ClientProxyInfo.h:77
↓ 1 callersMethodexport_difference_with_db
runners/worker/WorkerProxyInfo.h:117
↓ 1 callersFunctionextended_model_from_cpu_mod_id
tee/cocoon/sev/ABI.cpp:183
↓ 1 callersMethodfinish
tee/cocoon/FwdProxy.cpp:213
↓ 1 callersFunctionfix_json_closing
Fix incomplete JSON closing brackets. Handles escaped quotes correctly.
mt-tools/src/mt/translate.py:354
↓ 1 callersMethodflow_read
tdport/td/net/SslStream.cpp:404
↓ 1 callersMethodflow_write
tdport/td/net/SslStream.cpp:407
↓ 1 callersMethodfmcSPL
tee/cocoon/sev/PKI.cpp:379
↓ 1 callersFunctionformat_event_data
tee/cocoon/tdx/eventlog.cpp:526
↓ 1 callersFunctionformat_hex_dump
tee/cocoon/tdx/eventlog.cpp:553
↓ 1 callersMethodformat_progress
Format progress indicator for this task. Returns something like 'en->ru' for translate or 'en' for summarize.
mt-tools/src/mt/tasks/base.py:164
↓ 1 callersMethodfrom_headers
Create TimingInfo from HTTP response headers (legacy method).
mt-tools/src/mt/translate.py:98
↓ 1 callersFunctiongen_from_json
tl/generate/tl_json_converter.cpp:170
↓ 1 callersFunctiongen_json_converter
tl/generate/tl_json_converter.cpp:312
↓ 1 callersFunctiongen_tl_constructor_from_string
tl/generate/tl_json_converter.cpp:189
↓ 1 callersFunctiongen_to_json
tl/generate/tl_json_converter.cpp:99
↓ 1 callersFunctiongenerate_cpp
tl/generate/generate_common.cpp:42
↓ 1 callersFunctiongenerate_self_signed_cert
* Generates a self-signed X.509 certificate with the given private key and configuration. * * @param private_key Ed25519 private key for signing the
tee/cocoon/Tee.cpp:31
↓ 1 callersFunctiongenerate_vcek_cert
tee/cocoon/sev/Tee.cpp:35
↓ 1 callersFunctionget_active
()
mt-tools/scripts/translation_benchmark.py:388
↓ 1 callersFunctionget_audio_path
Get audio file path from args.input or args.file.
mt-tools/src/mt/cli/run.py:24
↓ 1 callersFunctionget_azure_headers
Get headers for Azure OpenAI API requests.
mt-tools/src/mt/translate.py:24
↓ 1 callersFunctionget_cgroup_cpu_usage
Get CPU usage from cgroup (includes all child processes + docker for vllm)
tee/cocoon/health-metrics.cpp:472
↓ 1 callersFunctionget_cgroup_io
Get I/O stats from cgroup (includes all child processes + docker for vllm)
tee/cocoon/health-metrics.cpp:525
↓ 1 callersFunctionget_cgroup_memory
Get memory usage from cgroup (includes all child processes + docker for vllm)
tee/cocoon/health-metrics.cpp:557
↓ 1 callersMethodget_client
runners/proxy/ProxyRunner.cpp:161
↓ 1 callersFunctionget_comet_model
Load COMET model once and cache it.
mt-tools/src/mt/tasks/translate.py:49
↓ 1 callersFunctionget_comet_model
Load COMET model once and cache it.
mt-tools/scripts/quality_eval.py:41
↓ 1 callersFunctionget_completed
()
mt-tools/scripts/translation_benchmark.py:404
↓ 1 callersFunctionget_cpu_cores
Parse /proc/cpuinfo (cached)
tee/cocoon/health-metrics.cpp:100
↓ 1 callersMethodget_cpu_percent
tee/cocoon/health-stats.cpp:123
↓ 1 callersMethodget_cpu_utilization
tee/cocoon/health-stats.cpp:154
↓ 1 callersFunctionget_cpusvn
tee/cocoon/tdx/sgx-enclave/Enclave.cpp:79
↓ 1 callersFunctionget_default_ssl_ctx
tdport/td/net/SslCtx.cpp:219
↓ 1 callersFunctionget_default_unverified_ssl_ctx
tdport/td/net/SslCtx.cpp:228
↓ 1 callersMethodget_derived_key
tee/cocoon/sev/GuestDevice.cpp:143
↓ 1 callersMethodget_disk_rates
tee/cocoon/health-stats.cpp:158
↓ 1 callersFunctionget_docker_container_id
Helper: get docker container ID for a container name
tee/cocoon/health-metrics.cpp:416
↓ 1 callersFunctionget_event_log
tee/cocoon/health-render.cpp:152
↓ 1 callersMethodget_events_for_rtmr
tee/cocoon/tdx/eventlog.cpp:288
↓ 1 callersMethodget_extended_report
tee/cocoon/sev/GuestDevice.cpp:110
↓ 1 callersFunctionget_google_api_key
Get Google Cloud API key from environment.
mt-tools/src/mt/translate.py:36
↓ 1 callersFunctionget_hunyuan_lang
Get language name for Hunyuan prompt (English or Chinese version).
mt-tools/src/mt/translate.py:347
↓ 1 callersFunctionget_input_text
Get input text from args.input, args.file, or stdin.
mt-tools/src/mt/cli/run.py:11
↓ 1 callersMethodget_io_rates
tee/cocoon/health-stats.cpp:129
↓ 1 callersMethodget_net_rates
tee/cocoon/health-stats.cpp:163
↓ 1 callersFunctionget_process_io
Parse /proc/<pid>/io for I/O statistics
tee/cocoon/health-metrics.cpp:286
↓ 1 callersFunctionget_processing
()
mt-tools/scripts/translation_benchmark.py:392
↓ 1 callersMethodget_random_proxy
runners/smartcontracts/RootContractConfig.hpp:55
↓ 1 callersMethodget_request
* Generates a request for a persistent key. * * @return Serialized GetPersistentKey request containing TDX report and public key */
tee/cocoon/tdx/sgx-enclave/seal-client.cpp:59
↓ 1 callersMethodget_service_cpu
tee/cocoon/health-stats.cpp:176
↓ 1 callersMethodget_service_io
tee/cocoon/health-stats.cpp:181
↓ 1 callersFunctionget_status_human
tee/cocoon/health-render.cpp:387
↓ 1 callersMethodget_subfield
runners/helpers/ValidateRequest.cpp:437
↓ 1 callersFunctionget_submitted
()
mt-tools/scripts/translation_benchmark.py:408
↓ 1 callersFunctionget_tl_object_sha_bits256
cocoon-tl-utils/cocoon-common-utils.hpp:48
↓ 1 callersFunctionget_top_pairs_from_csv
Load top language pairs from traffic CSV.
mt-tools/src/mt/cli/eval.py:167
↓ 1 callersFunctionget_translation_cache
Get or create global translation cache.
mt-tools/scripts/quality_eval.py:210
↓ 1 callersMethodget_user
(self)
tee/cocoon/proxy-test.py:151
↓ 1 callersMethodget_utilization
tee/cocoon/health-stats.cpp:98
↓ 1 callersMethodgot_private_keys_from_key_manager
runners/BaseRunner.cpp:874
↓ 1 callersFunctionhas_gpu
Check if GPU is available for COMET.
mt-tools/src/mt/tasks/translate.py:75
↓ 1 callersMethodhas_key_manager_verified_key
runners/smartcontracts/RootContractConfig.hpp:187
↓ 1 callersMethodhas_proxy_verified_key
runners/smartcontracts/RootContractConfig.hpp:181
↓ 1 callersMethodhas_worker_verified_key
runners/smartcontracts/RootContractConfig.hpp:184
↓ 1 callersFunctionhex_addr
tee/cocoon/tdx/eventlog.cpp:541
↓ 1 callersFunctionhex_byte
tee/cocoon/tdx/eventlog.cpp:548
↓ 1 callersMethodid
runners/smartcontracts/SmartContract.hpp:136
↓ 1 callersFunctioninc_processing
()
mt-tools/scripts/translation_benchmark.py:396
↓ 1 callersFunctioninc_submitted
()
mt-tools/scripts/translation_benchmark.py:412
↓ 1 callersMethodinit
tdport/td/net/SslStream.cpp:165
↓ 1 callersFunctioninit_cache
Initialize the global cache with specific settings.
mt-tools/scripts/quality_eval.py:221
↓ 1 callersFunctioninit_http_server
boost-http/http.cpp:368
↓ 1 callersMethodinit_server
tdport/td/net/SslStream.cpp:142
↓ 1 callersFunctionis_audio_task
Check if task processes audio files.
mt-tools/src/mt/tasks/__init__.py:39
↓ 1 callersFunctionis_boot_option
Check if name is Boot#### (4 hex digits)
tee/cocoon/tdx/eventlog.cpp:400
↓ 1 callersMethodis_closed
runners/worker/WorkerProxyInfo.h:69
↓ 1 callersMethodis_connected
runners/BaseRunner.hpp:85
↓ 1 callersMethodis_disabled
runners/worker/WorkerRunner.h:59
↓ 1 callersMethodis_double
runners/helpers/ValidateRequest.cpp:762
↓ 1 callersMethodis_integer
runners/helpers/ValidateRequest.cpp:746
↓ 1 callersFunctionis_safe_char
tee/cocoon/cocoon-subst.cpp:10
↓ 1 callersFunctionis_service_file
tee/cocoon/health-monitor.cpp:89
↓ 1 callersMethodis_started
runners/smartcontracts/SmartContract.hpp:81
↓ 1 callersMethodis_test
runners/BaseRunner.hpp:426
↓ 1 callersMethoditerate_array
runners/helpers/ValidateRequest.cpp:498
↓ 1 callersMethodkill
(self, pattern)
tee/cocoon/proxy-test.py:87
↓ 1 callersFunctionlist_tasks
List all available task names.
mt-tools/src/mt/tasks/__init__.py:34
↓ 1 callersFunctionload_config_from_file
Load TranslateConfig from an INI-style config file. Example config file: [model] endpoint = http://127.0.0.1:10000
mt-tools/src/mt/translate.py:1056
↓ 1 callersFunctionload_system_certificate_store
tdport/td/net/SslCtx.cpp:63
↓ 1 callersFunctionload_test_data
Load test data for any language pair (with thread-safe caching). - Uses WMT24++ for en->xx pairs (better quality references) - Uses
mt-tools/scripts/quality_eval.py:340
↓ 1 callersFunctionload_vars
tee/cocoon/cocoon-subst.cpp:15
↓ 1 callersMethodloop
tee/cocoon/utils.cpp:104
← previousnext →501–600 of 2,150, ranked by callers