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
↓ 20,341 callers
Function
new
( start: *mut libc::c_void, size: NumBytes, log: ReplicaLogger, dirty_page_tracking: DirtyPage
rs/memory_tracker/src/lib.rs:436
↓ 19,556 callers
Method
unwrap
(self)
rs/sns/governance/src/types.rs:2568
↓ 9,735 callers
Function
from
This tells communication function that you'd like you communicate using FromS
rs/rust_canisters/on_wire/src/lib.rs:90
↓ 7,843 callers
Method
expect
(self, msg: &str)
rs/sns/governance/src/types.rs:1511
↓ 7,604 callers
Method
to_string
(self)
rs/crypto/internal/crypto_lib/threshold_sig/canister_threshold_sig/src/domain_sep.rs:43
↓ 5,813 callers
Method
into
(self)
rs/nns/governance/src/lib.rs:374
↓ 5,358 callers
Function
default
()
rs/crypto/tree_hash/tests/flatmap.rs:18
↓ 4,576 callers
Method
clone
(url: &str)
rs/cross-chain/proposal-cli/src/git/mod.rs:57
↓ 4,470 callers
Function
new
Returns a crypto component that should only be used for verification. All keys are newly generated, and the secret parts are stored in a temporary di
rs/crypto/for_verification_only/src/lib.rs:24
↓ 3,540 callers
Method
map
The inner types of ValidationError can be mapped to another types by applying two map functions for invalid artifacts and payload validation failures
rs/interfaces/src/validation.rs:19
↓ 3,300 callers
Method
map_err
Maps a `RequestOutcome<ResultType, ErrorType>` to `RequestOutcome<ResultType, NewErrorType>` by applying a function to a contained `Err` value of `sel
rs/tests/driver/src/generic_workload_engine/metrics.rs:403
↓ 3,124 callers
Method
unwrap
(&self)
rs/rosetta-api/icp/tests/integration_tests/tests/tests.rs:523
↓ 3,058 callers
Function
new
( rt: &'a Runtime, agent: &ic_agent::Agent, effective_canister_id: PrincipalId, )
rs/tests/financial_integrations/transaction_ledger_correctness_test.rs:144
↓ 2,649 callers
Method
collect
(&self)
rs/http_endpoints/metrics/tests/tests.rs:65
↓ 1,760 callers
Method
to_vec
(&self)
rs/types/wasm_types/src/lib.rs:202
↓ 1,643 callers
Method
join
Explicitly joins the thread.
rs/utils/thread/src/lib.rs:29
↓ 1,595 callers
Method
clone
(&self)
rs/tests/driver/src/driver/plan.rs:28
↓ 1,470 callers
Function
wasm
A succinct shortcut for creating a `PayloadBuilder`, which is used to encode instructions to be executed by the UC. Note that a `PayloadBuilder` isn'
rs/universal_canister/lib/src/lib.rs:69
↓ 1,397 callers
Method
clone
(&self)
rs/state_layout/src/state_layout.rs:1683
↓ 1,308 callers
Method
clone
(&self)
rs/replicated_state/src/page_map/page_allocator.rs:53
↓ 1,194 callers
Method
as_ref
(&'a self)
rs/crypto/test_utils/vetkd/src/lib.rs:84
↓ 1,112 callers
Method
map
(self, f: impl FnOnce(Vec<u8>) -> Vec<u8>)
rs/rust_canisters/canister_test/src/canister.rs:173
↓ 1,041 callers
Method
clone
(&self)
rs/execution_environment/src/metrics.rs:427
↓ 1,038 callers
Method
clone
(&self)
rs/crypto/internal/crypto_service_provider/src/vault/remote_csp_vault/tarpc_csp_vault_server.rs:108
↓ 1,036 callers
Method
build
(self)
rs/execution_environment/src/canister_settings.rs:278
↓ 1,012 callers
Function
canister_test_id
Returns a [`CanisterId`] that can be used in tests.
rs/types/types_test_utils/src/ids.rs:147
↓ 1,005 callers
Method
build
(&self)
rs/execution_environment/src/canister_manager/tests.rs:222
↓ 985 callers
Method
clone
(&self)
rs/rust_canisters/dfn_core/src/api/futures.rs:143
↓ 981 callers
Function
reproducible_rng
Provides a seeded RNG, where the randomly chosen seed is printed on standard output.
rs/crypto/test_utils/reproducible_rng/src/lib.rs:8
↓ 925 callers
Function
new
()
rs/crypto/tree_hash/tests/flatmap.rs:8
↓ 910 callers
Method
map
( v: Result<dns::GaiAddrs, io::Error>, )
rs/canister_client/src/http_client.rs:101
↓ 851 callers
Method
into_iter
(self)
rs/sns/governance/src/cached_upgrade_steps.rs:305
↓ 843 callers
Function
clone
(ptr: *const ())
rs/rust_canisters/dfn_core/src/api/futures.rs:240
↓ 802 callers
Method
push
Enqueues an item into the queue, assigning it the next available index.
rs/types/types/src/xnet.rs:78
↓ 788 callers
Method
iter
Returns an iterator over the items in the queue, with their indices.
rs/types/types/src/xnet.rs:137
↓ 755 callers
Method
map
(&self, f: &F)
rs/tests/driver/src/driver/plan.rs:73
↓ 741 callers
Function
from_str
(json: &'a str)
rs/artifact_pool/bin/consensus_pool_util.rs:130
↓ 696 callers
Function
subnet_test_id
Returns a [`SubnetId`] that can be used in tests.
rs/types/types_test_utils/src/ids.rs:167
↓ 675 callers
Method
insert
(&mut self, message: IDkgMessage)
rs/interfaces/src/idkg.rs:43
↓ 644 callers
Method
as_bytes
(&self)
rs/crypto/tree_hash/src/lib.rs:166
↓ 633 callers
Method
get
(&self, key: &[u8], version: Version)
rs/registry/canister/src/registry.rs:198
↓ 614 callers
Function
decode
( d: &mut Decoder<'b>, ctx: &mut Ctx, )
rs/ethereum/cketh/minter/src/cbor/id.rs:6
↓ 608 callers
Method
get
(&self)
rs/execution_environment/tests/memory_matrix.rs:139
↓ 601 callers
Function
block_on
(f: F)
rs/tests/driver/src/util.rs:1346
↓ 589 callers
Method
get
( &self, key: &Key, )
rs/nervous_system/collections/union_multi_map/src/lib.rs:65
↓ 586 callers
Method
arg
(&self)
rs/types/types/src/messages/ingress_messages.rs:67
↓ 579 callers
Method
with
(&'static self, f: F)
rs/tla_instrumentation/local_key/src/lib.rs:230
↓ 561 callers
Method
to_vec
(&self)
rs/crypto/tree_hash/src/lib.rs:252
↓ 560 callers
Method
clone
(&self)
rs/p2p/artifact_downloader/src/fetch_artifact/download.rs:83
↓ 553 callers
Method
context
(self, context: impl ToString)
rs/tests/driver/src/generic_workload_engine/metrics.rs:459
↓ 550 callers
Method
push
(&mut self, bit: Bit)
rs/crypto/internal/crypto_lib/threshold_sig/bls12_381/src/ni_dkg/fs_ni_dkg/forward_secure.rs:106
↓ 544 callers
Method
collect
(&self)
rs/replica/bin/replica/jemalloc_metrics.rs:66
↓ 533 callers
Method
lock
Acquires the lock, panicking immediately if it is already held.
rs/memory_tracker/src/signal_mutex.rs:41
↓ 526 callers
Method
ingress
( &self, canister_id: CanisterId, method_name: M, payload: P, )
rs/replica_tests/src/lib.rs:636
↓ 525 callers
Function
no_op_logger
A logger that doesn't log. Used in tests.
rs/monitoring/logger/src/replica_logger.rs:153
↓ 499 callers
Function
node_test_id
Returns a [`NodeId`] that can be used in tests.
rs/types/types_test_utils/src/ids.rs:152
↓ 495 callers
Method
add_test
(self, test: TestFunction)
rs/tests/driver/src/driver/group.rs:590
↓ 479 callers
Method
encode
Encode the transaction call data to interact with an Ethereum smart contract. See the [Contract ABI Specification](https://docs.soliditylang.org/en/de
rs/ethereum/cketh/minter/src/state/transactions/mod.rs:1199
↓ 474 callers
Method
clone
(&self)
rs/http_endpoints/xnet/src/lib.rs:135
↓ 465 callers
Function
now
()
rs/rust_canisters/dfn_core/src/api.rs:727
↓ 445 callers
Method
clone
(&self)
rs/ethereum/cketh/minter/src/checked_amount.rs:244
↓ 438 callers
Method
iter
(&self)
rs/state_manager/src/state_sync/types.rs:408
↓ 430 callers
Function
print
Prints the given message.
rs/rust_canisters/dfn_core/src/api.rs:712
↓ 425 callers
Method
extend
Add new entries to this node rewards table If any entries in `other` already exist in the table, the existing entries are extended.
rs/protobuf/src/registry/node_rewards.rs:43
↓ 425 callers
Method
get
Retrieves the item with the given index.
rs/types/types/src/xnet.rs:95
↓ 402 callers
Function
with_test_replica_logger
(f: F)
rs/test_utilities/logger/src/lib.rs:46
↓ 399 callers
Method
iter
Returns an iterator over key-value pairs.
rs/crypto/tree_hash/src/flat_map.rs:176
↓ 388 callers
Function
call_args
A shortcut for a `CallArgs::default()`
rs/universal_canister/lib/src/lib.rs:74
↓ 388 callers
Method
execute_ingress
( &self, canister_id: CanisterId, method: impl ToString, payload: Vec<u8>,
rs/state_machine_tests/src/lib.rs:4619
↓ 388 callers
Method
iter
Returns an iterator over canister ID ranges. The canister ranges are guaranteed to be sorted.
rs/registry/routing_table/src/lib.rs:172
↓ 388 callers
Method
logger
(&self)
rs/tests/driver/src/driver/context.rs:194
↓ 388 callers
Method
topology_snapshot
(&self)
rs/tests/driver/src/driver/test_env_api.rs:1266
↓ 385 callers
Method
universal_canister
Creates and installs a universal canister.
rs/test_utilities/execution_environment/src/lib.rs:1203
↓ 384 callers
Method
other_side
Computes instructions to be exected by the caller to produce the provided payload to be executed by the callee.
rs/universal_canister/lib/src/lib.rs:990
↓ 372 callers
Method
nodes
(&self)
rs/tests/driver/src/driver/test_env_api.rs:2270
↓ 364 callers
Method
as_ref
(&self)
rs/sys/src/mmap.rs:105
↓ 355 callers
Method
next
(&self)
rs/nns/common/src/lib.rs:16
↓ 352 callers
Method
tick
Triggers a single round of execution without any new inputs. The state machine will invoke heartbeats and make progress on pending async calls.
rs/state_machine_tests/src/lib.rs:3014
↓ 343 callers
Method
inc
Round-robin across methods.
rs/replicated_state/src/canister_state/execution_state.rs:281
↓ 341 callers
Method
effective_canister_id
(&self)
rs/tests/driver/src/driver/test_env_api.rs:955
↓ 340 callers
Method
write
Returns a write lock to the store.
rs/crypto/src/lib.rs:91
↓ 338 callers
Method
send
This function sends a network message to the connected BTC node.
rs/bitcoin/adapter/src/connection.rs:124
↓ 336 callers
Method
iter
(&self)
rs/crypto/internal/crypto_lib/types/src/encrypt/forward_secure.rs:193
↓ 336 callers
Function
user_test_id
Returns a [`UserId`] that can be used in tests.
rs/types/types_test_utils/src/ids.rs:177
↓ 335 callers
Method
len
Returns the number of tasks in the queue.
rs/ethereum/ledger-suite-orchestrator/src/scheduler/mod.rs:144
↓ 334 callers
Method
borrow
(&self)
rs/types/types/src/consensus/idkg.rs:125
↓ 333 callers
Method
set
We need to override the consensus time if the time in `StateMachine` changes.
rs/state_machine_tests/src/lib.rs:707
↓ 332 callers
Method
clone
(&self)
rs/phantom_newtype/src/id.rs:198
↓ 330 callers
Method
canister_state
(&self, canister_id: CanisterId)
rs/execution_environment/src/scheduler/test_utilities.rs:163
↓ 326 callers
Function
with_capacity
()
rs/crypto/tree_hash/src/flat_map/tests.rs:4
↓ 322 callers
Method
get
Searches a value by key. Complexity: O(log(N))
rs/crypto/tree_hash/src/flat_map.rs:102
↓ 322 callers
Method
get
(&mut self)
rs/sns/governance/token_valuation/src/lib.rs:290
↓ 320 callers
Method
entry
Create a `(MetadataKey, MetadataValue)` tuple for use in metadata maps. The key must be a valid metadata key in the format `<namespace>:<key>`. This
packages/icrc-ledger-types/src/icrc/generic_metadata_value.rs:30
↓ 316 callers
Method
borrow_mut
(&self)
rs/rust_canisters/dfn_core/src/api/futures.rs:124
↓ 313 callers
Method
get
(&self)
rs/tests/driver/src/canister_agent.rs:64
↓ 310 callers
Method
read
Returns a read lock to the store.
rs/crypto/src/lib.rs:96
↓ 308 callers
Method
build
(&self)
rs/nns/common/src/init.rs:12
↓ 305 callers
Method
push
Passes an `IncompleteState` `sync` to the cache, moving out any data relevant to caching. Only replaces the cache if `sync` has started, not finished
rs/state_manager/src/state_sync/chunkable/cache.rs:150
↓ 303 callers
Function
Height
(h: u64)
rs/state_manager/tests/common/mod.rs:65
↓ 303 callers
Method
get_public_url
(&self)
rs/tests/driver/src/driver/ic_gateway_vm.rs:62
next →
1–100 of 45,639, ranked by callers