MCPcopy Create free account

hub / github.com/dfinity/ic / functions

Functions45,639 in github.com/dfinity/ic

↓ 114 callersMethodchoose_dealers_and_receivers
( &self, strategy: &IDkgParticipants, rng: &mut R, )
rs/crypto/test_utils/canister_threshold_sigs/src/lib.rs:1043
↓ 114 callersMethodjoin
(&self, part: &str)
rs/prep/src/prep_state_directory.rs:43
↓ 114 callersMethodobserve
Updates end-of-round replicated state metrics (canisters, queues, cycles, etc.).
rs/replicated_state/src/metrics.rs:345
↓ 113 callersMethodto_be_bytes
(self)
rs/ethereum/cketh/minter/src/checked_amount.rs:96
↓ 112 callersMethodwith_config
(self, config: Option<StateMachineConfig>)
rs/state_machine_tests/src/lib.rs:1411
↓ 111 callersMethodquery_
( &'a self, method_name: S, _: Witness, input: Input::Inner, )
rs/rust_canisters/canister_test/src/canister.rs:589
↓ 110 callersMethodcanister_id
(mut self, canister_id: CanisterId)
rs/execution_environment/src/canister_manager/tests.rs:206
↓ 110 callersMethodclone
(&self)
rs/replicated_state/src/canister_state/queues/message_pool.rs:230
↓ 110 callersMethodmessage_payload
(mut self)
rs/universal_canister/lib/src/lib.rs:472
↓ 110 callersFunctionread_state
Read (part of) the current state using `f`. Panics if there is no state.
rs/bitcoin/ckbtc/minter/src/state.rs:2109
↓ 109 callersMethodoutput
(&self, command: &mut Command)
rs/ic_os/command_runner/src/lib.rs:22
↓ 108 callersMethodcontains
Executes the configured `journalctl` query and returns whether there are any entries matching `search_regex`.
rs/tests/driver/src/util.rs:1733
↓ 107 callersFunctionaccount
(owner: u64, subaccount: u128)
rs/ledger_suite/icrc1/index-ng/tests/common/mod.rs:39
↓ 107 callersMethodas_bytes
(&self)
rs/types/types/src/messages/http.rs:766
↓ 107 callersMethodfinish
Finishes computing a hash, returning the digest
rs/crypto/sha2/src/sha512.rs:42
↓ 107 callersMethodint_counter
Create and register an `IntCounter`.
rs/monitoring/metrics/src/registry.rs:115
↓ 106 callersMethodget
(&self, key: K::Repr)
rs/replicated_state/src/page_map/int_map.rs:264
↓ 106 callersMethodsender
(mut self, sender: CanisterId)
rs/replicated_state/src/canister_state/system_state.rs:2747
↓ 106 callersMethodwith_subnet_type
(self, subnet_type: SubnetType)
rs/execution_environment/src/scheduler/test_utilities.rs:873
↓ 105 callersMethodbuild
Returns the built `OutputRequest`.
rs/replicated_state/src/canister_state/system_state.rs:2797
↓ 105 callersMethodcall
( &self, request: &(dyn Request<T> + Send + Sync), )
rs/tests/driver/src/canister_agent.rs:68
↓ 105 callersMethodcall_simple
( mut self, callee: P, method: S, call_args: CallArgs, )
rs/universal_canister/lib/src/lib.rs:320
↓ 105 callersMethodcanister_state_mut
(&mut self, canister_id: CanisterId)
rs/execution_environment/src/scheduler/test_utilities.rs:175
↓ 105 callersMethodinduct_messages
Inducts messages between canisters and pushes all cross-net messages to `self.xnet_messages`.
rs/test_utilities/execution_environment/src/lib.rs:2090
↓ 105 callersMethodmessage_id
(&self)
rs/types/types/src/consensus/idkg.rs:875
↓ 105 callersFunctionprincipal
Constructs a test principal id from an integer. Convenience functions to make creating neurons more concise.
rs/nns/governance/tests/fake.rs:685
↓ 104 callersMethodinsert
Add new entry or overwrite a present one. Panics if new height < last_entry().height
rs/rosetta-api/icp/ledger_canister_blocks_synchronizer/src/balance_book.rs:31
↓ 104 callersMethodis_empty
(&self)
rs/nns/governance/src/neurons_fund.rs:492
↓ 104 callersMethodrun
Executes first exported method on an embedder instance, whose name consists of one of the prefixes and method_name.
rs/embedders/src/wasmtime_embedder.rs:1147
↓ 103 callersFunctionfirst_or_all
Returns either the first or all the benchmarks.
rs/execution_environment/benches/wasm_instructions/helper.rs:16
↓ 103 callersMethodinstall_canister_with_cycles
Creates a new canister with cycles and installs its code. Returns the ID of the newly created canister. This function is synchronous.
rs/state_machine_tests/src/lib.rs:3977
↓ 103 callersMethodsender
(&self)
rs/types/types/src/messages.rs:131
↓ 103 callersMethodsum
Returns the sum of all observed latencies in milliseconds.
rs/bitcoin/ckbtc/minter/src/metrics.rs:116
↓ 103 callersMethodupgrade_canister
( &self, canister_id: &CanisterId, wat: &str, payload: Vec<u8>, )
rs/replica_tests/src/lib.rs:403
↓ 102 callersMethodsubnet_type
(&self)
rs/tests/driver/src/driver/test_env_api.rs:765
↓ 101 callersMethodpop
Pops the next item with its index, if one is available.
rs/types/types/src/xnet.rs:83
↓ 100 callersMethodis_empty
Returns `true` if the `CanisterIdRanges` contains no ranges.
rs/registry/routing_table/src/lib.rs:194
↓ 99 callersMethodas_ref
(&self)
rs/bitcoin/ckbtc/minter/src/tx.rs:383
↓ 99 callersMethodget_relative_time
(&self)
rs/interfaces/src/time_source.rs:43
↓ 99 callersMethodinto_iter
(self)
rs/replicated_state/src/page_map/int_map.rs:1123
↓ 99 callersMethodsplit
Attempts to split `self` and returns the split off `Self`.
rs/messaging/tests/common/mod.rs:191
↓ 98 callersMethodcanister_state_make_mut
Makes a mutable reference to the canister state, cloning it if necessary. Make sure to only call this when actually mutating the canister state. Sid
rs/replicated_state/src/replicated_state.rs:544
↓ 98 callersMethoddigest
Returns the digest of the tree, i.e. the digest of the tree's root node. Does not `panic!`.
rs/crypto/tree_hash/src/lib.rs:442
↓ 98 callersMethodheight
(&self)
rs/artifact_pool/src/lmdb_pool.rs:270
↓ 98 callersMethodis_err
(&self)
rs/sns/governance/src/types.rs:1486
↓ 98 callersMethoditer
(&self)
rs/bitcoin/ckbtc/minter/src/state.rs:1847
↓ 97 callersMethodinsert
(&mut self, node: Node)
rs/crypto/test_utils/canister_threshold_sigs/src/lib.rs:768
↓ 96 callersFunctionaccount
(owner: u64, subaccount: u128)
rs/ledger_suite/icp/index/tests/tests.rs:154
↓ 96 callersMethodbuild
(&self)
rs/ic_os/sev/guest/testing/src/lib.rs:105
↓ 95 callersMethodas_ref
(&self)
rs/crypto/internal/crypto_service_provider/src/vault/api.rs:863
↓ 95 callersMethodget_latest_version
Return the latest version that is locally available
rs/orchestrator/src/registry_helper.rs:65
↓ 95 callersFunctionmake_node_record_key
Makes a key for a NodeRecord registry entry.
rs/registry/keys/src/lib.rs:270
↓ 95 callersMethodwith_dkg_interval_length
(mut self, dkg_interval_length: Height)
rs/tests/driver/src/driver/ic.rs:780
↓ 94 callersMethodget
(&self, subnet_id: SubnetId)
rs/pocket_ic_server/src/pocket_ic.rs:549
↓ 94 callersMethodinto_vec
(self)
rs/crypto/tree_hash/src/lib.rs:177
↓ 94 callersMethodregister
(&self, c: C)
rs/monitoring/metrics/src/registry.rs:191
↓ 93 callersFunctionall_canister_threshold_algorithms
()
rs/crypto/tests/canister_threshold_idkg.rs:3997
↓ 93 callersMethodflush_tip_channel
Finish all asynchronous checkpointing operations, including checkpoint verification and manifest computation.
rs/state_manager/src/lib.rs:1361
↓ 93 callersMethodrun_idkg_and_create_and_verify_transcript
Load previous transcripts on each node (if resharing or multiplying), create all dealings, multi-sign them, and build a transcript from those multi-si
rs/crypto/test_utils/canister_threshold_sigs/src/lib.rs:1015
↓ 93 callersFunctionset
Sets the contents of the stable memory
rs/rust_canisters/dfn_core/src/stable.rs:37
↓ 92 callersFunctionencode
Encodes minter memo as a binary blob.
rs/bitcoin/ckbtc/minter/src/memo.rs:10
↓ 92 callersMethodinject_call_to_ic00
Injects a call to the management canister. Note that this function doesn't support `InstallCode` messages, because for such messages we additionally n
rs/execution_environment/src/scheduler/test_utilities.rs:410
↓ 92 callersMethodlayer
(mut self, layer: &VmResourceOverrides)
rs/tests/driver/src/driver/ic.rs:944
↓ 91 callersMethodbuild
(self)
rs/rosetta-api/icp/tests/system_tests/common/system_test_environment.rs:330
↓ 91 callersMethodid
(&self)
rs/crypto/test_utils/canister_threshold_sigs/src/lib.rs:376
↓ 91 callersMethodpush
Pushes a new ingress message to the back of the queue.
rs/replicated_state/src/canister_state/queues/queue.rs:334
↓ 90 callersMethodas_slice
(&self)
packages/ic-ledger-hash-of/src/lib.rs:46
↓ 90 callersMethodcontains
(&self, key: &Q)
rs/ethereum/cketh/minter/src/map.rs:126
↓ 90 callersMethodget_cache
Get a copy of ConsensusPoolCache.
rs/artifact_pool/src/consensus_pool.rs:513
↓ 90 callersFunctioninstruction_to_cost
Gets the cost of an instruction.
rs/embedders/src/wasm_utils/instrumentation.rs:171
↓ 90 callersMethoditer
(&self)
rs/p2p/quic_transport/src/lib.rs:387
↓ 90 callersMethodto_vec
(&self)
rs/types/types/src/crypto/threshold_sig/ni_dkg.rs:181
↓ 89 callersFunctionget_reply
Extracts the reply data from a successful Wasm execution result. Panics if the result is a reject or an error.
rs/test_utilities/execution_environment/src/lib.rs:3211
↓ 89 callersMethodinto_iter
(self)
rs/bitcoin/ckbtc/minter/src/state.rs:1862
↓ 88 callersMethodcall
Call an `cmd` rpc with given `args` list
rs/bitcoin/adapter/test_utils/src/rpc_client.rs:400
↓ 88 callersFunctiondecode
(t: &'a LabeledTree<Vec<u8>>)
rs/tree_deserializer/src/tests.rs:26
↓ 88 callersMethodnext
(&mut self)
rs/recovery/src/recovery_iterator.rs:87
↓ 88 callersMethodput_canister_state
Inserts the canister state into the replicated state. If a canister already exists for the given canister ID, it will be replaced. It is the responsi
rs/replicated_state/src/replicated_state.rs:579
↓ 88 callersMethodreal
(&self)
rs/execution_environment/src/execution_environment.rs:118
↓ 87 callersMethodmap
Maps an `Integrity<T>` to `Integrity<U>` by applying a function to a contained value (if `Valid`) or returns `Corrupted` (if `Corrupted`) or `Missing`
rs/messaging/src/message_routing/tests.rs:300
↓ 87 callersMethodpush
(&mut self, slot: AvailableSlot)
rs/p2p/consensus_manager/src/sender.rs:373
↓ 87 callersFunctionwat_canister
Create a new WAT canister builder.
rs/test_utilities/execution_environment/src/wat_canister/builder.rs:71
↓ 86 callersMethodint_counter_vec
Create and register an `IntCounterVec`.
rs/monitoring/metrics/src/registry.rs:120
↓ 86 callersMethodinto_message
(self)
rs/types/types/src/consensus.rs:1467
↓ 85 callersMethodadd
Return the sum of two scalar values
rs/crypto/internal/crypto_lib/threshold_sig/canister_threshold_sig/src/utils/group.rs:163
↓ 85 callersMethodassert_contains
For use in tests. Assert that the rejection has the given code and containing the given string.
rs/types/types/src/messages/inter_canister.rs:382
↓ 85 callersMethodbuild
(self)
rs/crypto/temp_crypto/src/lib.rs:270
↓ 85 callersMethodcert
(&self)
rs/crypto/test_utils/tls/src/test_client.rs:165
↓ 85 callersMethodlen
Get the number of neurons in the Store
rs/nns/governance/src/neuron_store.rs:355
↓ 85 callersFunctionnow_system_time
()
rs/nns/cmc/src/lib.rs:91
↓ 85 callersMethodroute
()
rs/http_endpoints/public/src/pprof.rs:53
↓ 84 callersFunctionaccount_from_u64
(account_id: u64)
rs/ledger_suite/test_utils/in_memory_ledger/src/tests.rs:669
↓ 84 callersMethodcanister_id
(&self)
rs/sns/root/src/lib.rs:170
↓ 84 callersMethodget_fake_ledger
Constructs a `Ledger` that interacts with this driver.
rs/nns/governance/tests/fake.rs:208
↓ 84 callersMethodlen
(&self)
rs/crypto/internal/crypto_lib/threshold_sig/bls12_381/src/ni_dkg/fs_ni_dkg/forward_secure.rs:110
↓ 84 callersMethodsuccess
Creates a new successful upgrade outcome
rs/sns/governance/src/upgrade_journal.rs:83
↓ 84 callersMethodwith_ledger_account
(&mut self, account: Account, icpts: Tokens)
rs/sns/test_utils/src/itest_helpers.rs:196
↓ 83 callersMethodas_ref
(&self)
rs/tests/test_canisters/kv_store/src/chunk.rs:16
↓ 83 callersMethodcontains
(&self, version: &Version)
rs/sns/governance/src/cached_upgrade_steps.rs:274
↓ 83 callersMethodinfo
(&self)
rs/ethereum/cketh/minter/src/state/eth_logs_scraping/mod.rs:66
← previousnext →301–400 of 45,639, ranked by callers