Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dfinity/ic
/ functions
Functions
45,639 in github.com/dfinity/ic
⨍
Functions
45,639
◇
Types & classes
9,372
↳
Endpoints
8
↓ 114 callers
Method
choose_dealers_and_receivers
( &self, strategy: &IDkgParticipants, rng: &mut R, )
rs/crypto/test_utils/canister_threshold_sigs/src/lib.rs:1043
↓ 114 callers
Method
join
(&self, part: &str)
rs/prep/src/prep_state_directory.rs:43
↓ 114 callers
Method
observe
Updates end-of-round replicated state metrics (canisters, queues, cycles, etc.).
rs/replicated_state/src/metrics.rs:345
↓ 113 callers
Method
to_be_bytes
(self)
rs/ethereum/cketh/minter/src/checked_amount.rs:96
↓ 112 callers
Method
with_config
(self, config: Option<StateMachineConfig>)
rs/state_machine_tests/src/lib.rs:1411
↓ 111 callers
Method
query_
( &'a self, method_name: S, _: Witness, input: Input::Inner, )
rs/rust_canisters/canister_test/src/canister.rs:589
↓ 110 callers
Method
canister_id
(mut self, canister_id: CanisterId)
rs/execution_environment/src/canister_manager/tests.rs:206
↓ 110 callers
Method
clone
(&self)
rs/replicated_state/src/canister_state/queues/message_pool.rs:230
↓ 110 callers
Method
message_payload
(mut self)
rs/universal_canister/lib/src/lib.rs:472
↓ 110 callers
Function
read_state
Read (part of) the current state using `f`. Panics if there is no state.
rs/bitcoin/ckbtc/minter/src/state.rs:2109
↓ 109 callers
Method
output
(&self, command: &mut Command)
rs/ic_os/command_runner/src/lib.rs:22
↓ 108 callers
Method
contains
Executes the configured `journalctl` query and returns whether there are any entries matching `search_regex`.
rs/tests/driver/src/util.rs:1733
↓ 107 callers
Function
account
(owner: u64, subaccount: u128)
rs/ledger_suite/icrc1/index-ng/tests/common/mod.rs:39
↓ 107 callers
Method
as_bytes
(&self)
rs/types/types/src/messages/http.rs:766
↓ 107 callers
Method
finish
Finishes computing a hash, returning the digest
rs/crypto/sha2/src/sha512.rs:42
↓ 107 callers
Method
int_counter
Create and register an `IntCounter`.
rs/monitoring/metrics/src/registry.rs:115
↓ 106 callers
Method
get
(&self, key: K::Repr)
rs/replicated_state/src/page_map/int_map.rs:264
↓ 106 callers
Method
sender
(mut self, sender: CanisterId)
rs/replicated_state/src/canister_state/system_state.rs:2747
↓ 106 callers
Method
with_subnet_type
(self, subnet_type: SubnetType)
rs/execution_environment/src/scheduler/test_utilities.rs:873
↓ 105 callers
Method
build
Returns the built `OutputRequest`.
rs/replicated_state/src/canister_state/system_state.rs:2797
↓ 105 callers
Method
call
( &self, request: &(dyn Request<T> + Send + Sync), )
rs/tests/driver/src/canister_agent.rs:68
↓ 105 callers
Method
call_simple
( mut self, callee: P, method: S, call_args: CallArgs, )
rs/universal_canister/lib/src/lib.rs:320
↓ 105 callers
Method
canister_state_mut
(&mut self, canister_id: CanisterId)
rs/execution_environment/src/scheduler/test_utilities.rs:175
↓ 105 callers
Method
induct_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 callers
Method
message_id
(&self)
rs/types/types/src/consensus/idkg.rs:875
↓ 105 callers
Function
principal
Constructs a test principal id from an integer. Convenience functions to make creating neurons more concise.
rs/nns/governance/tests/fake.rs:685
↓ 104 callers
Method
insert
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 callers
Method
is_empty
(&self)
rs/nns/governance/src/neurons_fund.rs:492
↓ 104 callers
Method
run
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 callers
Function
first_or_all
Returns either the first or all the benchmarks.
rs/execution_environment/benches/wasm_instructions/helper.rs:16
↓ 103 callers
Method
install_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 callers
Method
sender
(&self)
rs/types/types/src/messages.rs:131
↓ 103 callers
Method
sum
Returns the sum of all observed latencies in milliseconds.
rs/bitcoin/ckbtc/minter/src/metrics.rs:116
↓ 103 callers
Method
upgrade_canister
( &self, canister_id: &CanisterId, wat: &str, payload: Vec<u8>, )
rs/replica_tests/src/lib.rs:403
↓ 102 callers
Method
subnet_type
(&self)
rs/tests/driver/src/driver/test_env_api.rs:765
↓ 101 callers
Method
pop
Pops the next item with its index, if one is available.
rs/types/types/src/xnet.rs:83
↓ 100 callers
Method
is_empty
Returns `true` if the `CanisterIdRanges` contains no ranges.
rs/registry/routing_table/src/lib.rs:194
↓ 99 callers
Method
as_ref
(&self)
rs/bitcoin/ckbtc/minter/src/tx.rs:383
↓ 99 callers
Method
get_relative_time
(&self)
rs/interfaces/src/time_source.rs:43
↓ 99 callers
Method
into_iter
(self)
rs/replicated_state/src/page_map/int_map.rs:1123
↓ 99 callers
Method
split
Attempts to split `self` and returns the split off `Self`.
rs/messaging/tests/common/mod.rs:191
↓ 98 callers
Method
canister_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 callers
Method
digest
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 callers
Method
height
(&self)
rs/artifact_pool/src/lmdb_pool.rs:270
↓ 98 callers
Method
is_err
(&self)
rs/sns/governance/src/types.rs:1486
↓ 98 callers
Method
iter
(&self)
rs/bitcoin/ckbtc/minter/src/state.rs:1847
↓ 97 callers
Method
insert
(&mut self, node: Node)
rs/crypto/test_utils/canister_threshold_sigs/src/lib.rs:768
↓ 96 callers
Function
account
(owner: u64, subaccount: u128)
rs/ledger_suite/icp/index/tests/tests.rs:154
↓ 96 callers
Method
build
(&self)
rs/ic_os/sev/guest/testing/src/lib.rs:105
↓ 95 callers
Method
as_ref
(&self)
rs/crypto/internal/crypto_service_provider/src/vault/api.rs:863
↓ 95 callers
Method
get_latest_version
Return the latest version that is locally available
rs/orchestrator/src/registry_helper.rs:65
↓ 95 callers
Function
make_node_record_key
Makes a key for a NodeRecord registry entry.
rs/registry/keys/src/lib.rs:270
↓ 95 callers
Method
with_dkg_interval_length
(mut self, dkg_interval_length: Height)
rs/tests/driver/src/driver/ic.rs:780
↓ 94 callers
Method
get
(&self, subnet_id: SubnetId)
rs/pocket_ic_server/src/pocket_ic.rs:549
↓ 94 callers
Method
into_vec
(self)
rs/crypto/tree_hash/src/lib.rs:177
↓ 94 callers
Method
register
(&self, c: C)
rs/monitoring/metrics/src/registry.rs:191
↓ 93 callers
Function
all_canister_threshold_algorithms
()
rs/crypto/tests/canister_threshold_idkg.rs:3997
↓ 93 callers
Method
flush_tip_channel
Finish all asynchronous checkpointing operations, including checkpoint verification and manifest computation.
rs/state_manager/src/lib.rs:1361
↓ 93 callers
Method
run_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 callers
Function
set
Sets the contents of the stable memory
rs/rust_canisters/dfn_core/src/stable.rs:37
↓ 92 callers
Function
encode
Encodes minter memo as a binary blob.
rs/bitcoin/ckbtc/minter/src/memo.rs:10
↓ 92 callers
Method
inject_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 callers
Method
layer
(mut self, layer: &VmResourceOverrides)
rs/tests/driver/src/driver/ic.rs:944
↓ 91 callers
Method
build
(self)
rs/rosetta-api/icp/tests/system_tests/common/system_test_environment.rs:330
↓ 91 callers
Method
id
(&self)
rs/crypto/test_utils/canister_threshold_sigs/src/lib.rs:376
↓ 91 callers
Method
push
Pushes a new ingress message to the back of the queue.
rs/replicated_state/src/canister_state/queues/queue.rs:334
↓ 90 callers
Method
as_slice
(&self)
packages/ic-ledger-hash-of/src/lib.rs:46
↓ 90 callers
Method
contains
(&self, key: &Q)
rs/ethereum/cketh/minter/src/map.rs:126
↓ 90 callers
Method
get_cache
Get a copy of ConsensusPoolCache.
rs/artifact_pool/src/consensus_pool.rs:513
↓ 90 callers
Function
instruction_to_cost
Gets the cost of an instruction.
rs/embedders/src/wasm_utils/instrumentation.rs:171
↓ 90 callers
Method
iter
(&self)
rs/p2p/quic_transport/src/lib.rs:387
↓ 90 callers
Method
to_vec
(&self)
rs/types/types/src/crypto/threshold_sig/ni_dkg.rs:181
↓ 89 callers
Function
get_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 callers
Method
into_iter
(self)
rs/bitcoin/ckbtc/minter/src/state.rs:1862
↓ 88 callers
Method
call
Call an `cmd` rpc with given `args` list
rs/bitcoin/adapter/test_utils/src/rpc_client.rs:400
↓ 88 callers
Function
decode
(t: &'a LabeledTree<Vec<u8>>)
rs/tree_deserializer/src/tests.rs:26
↓ 88 callers
Method
next
(&mut self)
rs/recovery/src/recovery_iterator.rs:87
↓ 88 callers
Method
put_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 callers
Method
real
(&self)
rs/execution_environment/src/execution_environment.rs:118
↓ 87 callers
Method
map
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 callers
Method
push
(&mut self, slot: AvailableSlot)
rs/p2p/consensus_manager/src/sender.rs:373
↓ 87 callers
Function
wat_canister
Create a new WAT canister builder.
rs/test_utilities/execution_environment/src/wat_canister/builder.rs:71
↓ 86 callers
Method
int_counter_vec
Create and register an `IntCounterVec`.
rs/monitoring/metrics/src/registry.rs:120
↓ 86 callers
Method
into_message
(self)
rs/types/types/src/consensus.rs:1467
↓ 85 callers
Method
add
Return the sum of two scalar values
rs/crypto/internal/crypto_lib/threshold_sig/canister_threshold_sig/src/utils/group.rs:163
↓ 85 callers
Method
assert_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 callers
Method
build
(self)
rs/crypto/temp_crypto/src/lib.rs:270
↓ 85 callers
Method
cert
(&self)
rs/crypto/test_utils/tls/src/test_client.rs:165
↓ 85 callers
Method
len
Get the number of neurons in the Store
rs/nns/governance/src/neuron_store.rs:355
↓ 85 callers
Function
now_system_time
()
rs/nns/cmc/src/lib.rs:91
↓ 85 callers
Method
route
()
rs/http_endpoints/public/src/pprof.rs:53
↓ 84 callers
Function
account_from_u64
(account_id: u64)
rs/ledger_suite/test_utils/in_memory_ledger/src/tests.rs:669
↓ 84 callers
Method
canister_id
(&self)
rs/sns/root/src/lib.rs:170
↓ 84 callers
Method
get_fake_ledger
Constructs a `Ledger` that interacts with this driver.
rs/nns/governance/tests/fake.rs:208
↓ 84 callers
Method
len
(&self)
rs/crypto/internal/crypto_lib/threshold_sig/bls12_381/src/ni_dkg/fs_ni_dkg/forward_secure.rs:110
↓ 84 callers
Method
success
Creates a new successful upgrade outcome
rs/sns/governance/src/upgrade_journal.rs:83
↓ 84 callers
Method
with_ledger_account
(&mut self, account: Account, icpts: Tokens)
rs/sns/test_utils/src/itest_helpers.rs:196
↓ 83 callers
Method
as_ref
(&self)
rs/tests/test_canisters/kv_store/src/chunk.rs:16
↓ 83 callers
Method
contains
(&self, version: &Version)
rs/sns/governance/src/cached_upgrade_steps.rs:274
↓ 83 callers
Method
info
(&self)
rs/ethereum/cketh/minter/src/state/eth_logs_scraping/mod.rs:66
← previous
next →
301–400 of 45,639, ranked by callers