1 viewer
rust 1,860,549 · typescript 235,540 · javascript 132,956 · python 20,426 · 6,408 files · digest f04d4637f52b · built in 1.5 s · crystals off
crates/cre8-app-view-client/public/workers/host.js
Functions
By call-graph weight (PageRank; 1.0 is the average function). 58 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| dispatchpublic/workers/host.js:320 | fn | 116 | 59 | 2 | 27 | 3.8 | |
| hostCallpublic/workers/host.js:188 | fn | 8 | 3 | 4 | 1 | 2.9 | |
| normalizeThreadIdpublic/workers/host.js:660 | fn | 4 | 2 | 4 | 0 | 2.1 | |
| gpuComputepublic/workers/host.js:1076 | fn | 70 | 8 | 2 | 4 | 1.7 | |
| adapterInfopublic/workers/host.js:1154 | fn | 9 | 5 | 2 | 0 | 1.7 | |
| parseBoundedResponsepublic/workers/host.js:483 | fn | 11 | 4 | 2 | 0 | 1.4 | |
| fetchPeerStatuspublic/workers/host.js:304 | fn | 15 | 3 | 1 | 0 | 1.4 | |
| sabReleaseSlotpublic/workers/host.js:133 | fn | 13 | 5 | 3 | 0 | 1.4 | |
| handleIncomingComputeRequestpublic/workers/host.js:792 | fn | 56 | 6 | 2 | 1 | 1.3 | |
| storePutpublic/workers/host.js:665 | fn | 4 | 1 | 2 | 0 | 1.1 | |
| bootstrapRemotePeersAsyncpublic/workers/host.js:268 | fn | 21 | 6 | 1 | 1 | 1.1 | |
| initSabRelaypublic/workers/host.js:58 | fn | 25 | 5 | 1 | 0 | 1 | |
| fillRandomBytespublic/workers/host.js:453 | fn | 5 | 2 | 1 | 0 | 1 | |
| handleThreadMessagepublic/workers/host.js:613 | fn | 31 | 8 | 1 | 2 | 1 | |
| cleanupThreadpublic/workers/host.js:653 | fn | 6 | 1 | 2 | 0 | 1 | |
| peerSendpublic/workers/host.js:890 | fn | 46 | 14 | 3 | 2 | 1 | |
| setPeerIdpublic/workers/host.js:180 | fn | 3 | 1 | 4 | 0 | 1 | |
| gpuInitpublic/workers/host.js:1054 | fn | 21 | 7 | 2 | 1 | 1 | |
| safeDispatchpublic/workers/host.js:645 | fn | 7 | 4 | 1 | 1 | 0.9 | |
| normalizeFloatInputpublic/workers/host.js:1164 | fn | 8 | 4 | 1 | 1 | 0.9 | |
| normalizePositiveIntegerpublic/workers/host.js:1173 | fn | 4 | 5 | 1 | 0 | 0.9 | |
| setEventCallbackpublic/workers/host.js:184 | fn | 3 | 1 | 4 | 0 | 0.9 | |
| sabSlotForRequestpublic/workers/host.js:148 | fn | 7 | 4 | 2 | 0 | 0.8 | |
| initPeerMeshpublic/workers/host.js:213 | fn | 46 | 9 | 3 | 4 | 0.8 | |
| abortSabSlotpublic/workers/host.js:160 | fn | 19 | 4 | 1 | 1 | 0.7 | |
| sabWaitForSlotpublic/workers/host.js:103 | fn | 29 | 6 | 1 | 1 | 0.7 | |
| bootstrapRemotePeerspublic/workers/host.js:260 | fn | 7 | 2 | 1 | 1 | 0.7 | |
| configuredBootstrapPeerspublic/workers/host.js:290 | fn | 13 | 6 | 1 | 0 | 0.7 | |
| sabAllocSlotpublic/workers/host.js:85 | fn | 16 | 5 | 1 | 1 | 0.6 | |
| cryptoRandompublic/workers/host.js:437 | fn | 15 | 5 | 1 | 1 | 0.6 | |
| netFetchpublic/workers/host.js:459 | fn | 23 | 9 | 1 | 1 | 0.6 | |
| netWsOpenpublic/workers/host.js:495 | fn | 12 | 3 | 1 | 0 | 0.6 | |
| netWsSendpublic/workers/host.js:508 | fn | 9 | 5 | 1 | 0 | 0.6 | |
| netWsClosepublic/workers/host.js:518 | fn | 9 | 3 | 1 | 0 | 0.6 | |
| threadSpawnpublic/workers/host.js:528 | fn | 42 | 6 | 1 | 1 | 0.6 | |
| threadSendpublic/workers/host.js:571 | fn | 7 | 2 | 1 | 1 | 0.6 | |
| threadRecvpublic/workers/host.js:579 | fn | 12 | 4 | 1 | 1 | 0.6 | |
| threadJoinpublic/workers/host.js:592 | fn | 13 | 7 | 1 | 2 | 0.6 | |
| threadTerminatepublic/workers/host.js:606 | fn | 6 | 2 | 1 | 2 | 0.6 | |
| storeGetpublic/workers/host.js:670 | fn | 3 | 2 | 1 | 0 | 0.6 | |
| storeDelpublic/workers/host.js:674 | fn | 4 | 1 | 1 | 0 | 0.6 | |
| storePutBytespublic/workers/host.js:679 | fn | 3 | 1 | 1 | 1 | 0.6 | |
| storeGetBytespublic/workers/host.js:683 | fn | 4 | 2 | 1 | 0 | 0.6 | |
| peerAnnouncepublic/workers/host.js:851 | fn | 5 | 1 | 1 | 1 | 0.6 | |
| peerDiscoverpublic/workers/host.js:857 | fn | 32 | 10 | 1 | 1 | 0.6 | |
| peerBroadcastpublic/workers/host.js:937 | fn | 16 | 6 | 1 | 2 | 0.6 | |
| peerConnectRtcpublic/workers/host.js:954 | fn | 13 | 4 | 1 | 1 | 0.6 | |
| peerDisconnectRtcpublic/workers/host.js:968 | fn | 5 | 2 | 1 | 1 | 0.6 | |
| remoteGpuComputepublic/workers/host.js:980 | fn | 27 | 5 | 1 | 4 | 0.6 | |
| remoteGpuResultpublic/workers/host.js:1008 | fn | 38 | 7 | 1 | 3 | 0.6 | |
| gpuProbepublic/workers/host.js:1047 | fn | 6 | 2 | 1 | 0 | 0.6 | |
| gpuResultpublic/workers/host.js:1147 | fn | 6 | 4 | 1 | 0 | 0.6 | |
| <module>public/workers/host.js:1 | fn | 1176 | 1 | 0 | 0 | 0.5 | |
| hostEmitpublic/workers/host.js:197 | fn | 8 | 2 | 0 | 0 | 0.5 | |
| handlePeerMessagepublic/workers/host.js:688 | fn | 32 | 17 | 0 | 1 | 0.5 | |
| handleRtcPeerMessagepublic/workers/host.js:723 | fn | 26 | 6 | 0 | 1 | 0.5 | |
| handleRtcPeerChangepublic/workers/host.js:750 | fn | 37 | 10 | 0 | 2 | 0.5 | |
| pollpublic/workers/host.js:824 | nested fn | 21 | 4 | 0 | 1 | 0.5 |
Source not readable from this process.