MCPcopy Create free account

hub / github.com/dfinity/ic / functions

Functions45,639 in github.com/dfinity/ic

↓ 20,341 callersFunctionnew
( start: *mut libc::c_void, size: NumBytes, log: ReplicaLogger, dirty_page_tracking: DirtyPage
rs/memory_tracker/src/lib.rs:436
↓ 19,556 callersMethodunwrap
(self)
rs/sns/governance/src/types.rs:2568
↓ 9,735 callersFunctionfrom
This tells communication function that you'd like you communicate using FromS
rs/rust_canisters/on_wire/src/lib.rs:90
↓ 7,843 callersMethodexpect
(self, msg: &str)
rs/sns/governance/src/types.rs:1511
↓ 7,604 callersMethodto_string
(self)
rs/crypto/internal/crypto_lib/threshold_sig/canister_threshold_sig/src/domain_sep.rs:43
↓ 5,813 callersMethodinto
(self)
rs/nns/governance/src/lib.rs:374
↓ 5,358 callersFunctiondefault
()
rs/crypto/tree_hash/tests/flatmap.rs:18
↓ 4,576 callersMethodclone
(url: &str)
rs/cross-chain/proposal-cli/src/git/mod.rs:57
↓ 4,470 callersFunctionnew
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 callersMethodmap
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 callersMethodmap_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 callersMethodunwrap
(&self)
rs/rosetta-api/icp/tests/integration_tests/tests/tests.rs:523
↓ 3,058 callersFunctionnew
( rt: &'a Runtime, agent: &ic_agent::Agent, effective_canister_id: PrincipalId, )
rs/tests/financial_integrations/transaction_ledger_correctness_test.rs:144
↓ 2,649 callersMethodcollect
(&self)
rs/http_endpoints/metrics/tests/tests.rs:65
↓ 1,760 callersMethodto_vec
(&self)
rs/types/wasm_types/src/lib.rs:202
↓ 1,643 callersMethodjoin
Explicitly joins the thread.
rs/utils/thread/src/lib.rs:29
↓ 1,595 callersMethodclone
(&self)
rs/tests/driver/src/driver/plan.rs:28
↓ 1,470 callersFunctionwasm
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 callersMethodclone
(&self)
rs/state_layout/src/state_layout.rs:1683
↓ 1,308 callersMethodclone
(&self)
rs/replicated_state/src/page_map/page_allocator.rs:53
↓ 1,194 callersMethodas_ref
(&'a self)
rs/crypto/test_utils/vetkd/src/lib.rs:84
↓ 1,112 callersMethodmap
(self, f: impl FnOnce(Vec<u8>) -> Vec<u8>)
rs/rust_canisters/canister_test/src/canister.rs:173
↓ 1,041 callersMethodclone
(&self)
rs/execution_environment/src/metrics.rs:427
↓ 1,038 callersMethodclone
(&self)
rs/crypto/internal/crypto_service_provider/src/vault/remote_csp_vault/tarpc_csp_vault_server.rs:108
↓ 1,036 callersMethodbuild
(self)
rs/execution_environment/src/canister_settings.rs:278
↓ 1,012 callersFunctioncanister_test_id
Returns a [`CanisterId`] that can be used in tests.
rs/types/types_test_utils/src/ids.rs:147
↓ 1,005 callersMethodbuild
(&self)
rs/execution_environment/src/canister_manager/tests.rs:222
↓ 985 callersMethodclone
(&self)
rs/rust_canisters/dfn_core/src/api/futures.rs:143
↓ 981 callersFunctionreproducible_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 callersFunctionnew
()
rs/crypto/tree_hash/tests/flatmap.rs:8
↓ 910 callersMethodmap
( v: Result<dns::GaiAddrs, io::Error>, )
rs/canister_client/src/http_client.rs:101
↓ 851 callersMethodinto_iter
(self)
rs/sns/governance/src/cached_upgrade_steps.rs:305
↓ 843 callersFunctionclone
(ptr: *const ())
rs/rust_canisters/dfn_core/src/api/futures.rs:240
↓ 802 callersMethodpush
Enqueues an item into the queue, assigning it the next available index.
rs/types/types/src/xnet.rs:78
↓ 788 callersMethoditer
Returns an iterator over the items in the queue, with their indices.
rs/types/types/src/xnet.rs:137
↓ 755 callersMethodmap
(&self, f: &F)
rs/tests/driver/src/driver/plan.rs:73
↓ 741 callersFunctionfrom_str
(json: &'a str)
rs/artifact_pool/bin/consensus_pool_util.rs:130
↓ 696 callersFunctionsubnet_test_id
Returns a [`SubnetId`] that can be used in tests.
rs/types/types_test_utils/src/ids.rs:167
↓ 675 callersMethodinsert
(&mut self, message: IDkgMessage)
rs/interfaces/src/idkg.rs:43
↓ 644 callersMethodas_bytes
(&self)
rs/crypto/tree_hash/src/lib.rs:166
↓ 633 callersMethodget
(&self, key: &[u8], version: Version)
rs/registry/canister/src/registry.rs:198
↓ 614 callersFunctiondecode
( d: &mut Decoder<'b>, ctx: &mut Ctx, )
rs/ethereum/cketh/minter/src/cbor/id.rs:6
↓ 608 callersMethodget
(&self)
rs/execution_environment/tests/memory_matrix.rs:139
↓ 601 callersFunctionblock_on
(f: F)
rs/tests/driver/src/util.rs:1346
↓ 589 callersMethodget
( &self, key: &Key, )
rs/nervous_system/collections/union_multi_map/src/lib.rs:65
↓ 586 callersMethodarg
(&self)
rs/types/types/src/messages/ingress_messages.rs:67
↓ 579 callersMethodwith
(&'static self, f: F)
rs/tla_instrumentation/local_key/src/lib.rs:230
↓ 561 callersMethodto_vec
(&self)
rs/crypto/tree_hash/src/lib.rs:252
↓ 560 callersMethodclone
(&self)
rs/p2p/artifact_downloader/src/fetch_artifact/download.rs:83
↓ 553 callersMethodcontext
(self, context: impl ToString)
rs/tests/driver/src/generic_workload_engine/metrics.rs:459
↓ 550 callersMethodpush
(&mut self, bit: Bit)
rs/crypto/internal/crypto_lib/threshold_sig/bls12_381/src/ni_dkg/fs_ni_dkg/forward_secure.rs:106
↓ 544 callersMethodcollect
(&self)
rs/replica/bin/replica/jemalloc_metrics.rs:66
↓ 533 callersMethodlock
Acquires the lock, panicking immediately if it is already held.
rs/memory_tracker/src/signal_mutex.rs:41
↓ 526 callersMethodingress
( &self, canister_id: CanisterId, method_name: M, payload: P, )
rs/replica_tests/src/lib.rs:636
↓ 525 callersFunctionno_op_logger
A logger that doesn't log. Used in tests.
rs/monitoring/logger/src/replica_logger.rs:153
↓ 499 callersFunctionnode_test_id
Returns a [`NodeId`] that can be used in tests.
rs/types/types_test_utils/src/ids.rs:152
↓ 495 callersMethodadd_test
(self, test: TestFunction)
rs/tests/driver/src/driver/group.rs:590
↓ 479 callersMethodencode
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 callersMethodclone
(&self)
rs/http_endpoints/xnet/src/lib.rs:135
↓ 465 callersFunctionnow
()
rs/rust_canisters/dfn_core/src/api.rs:727
↓ 445 callersMethodclone
(&self)
rs/ethereum/cketh/minter/src/checked_amount.rs:244
↓ 438 callersMethoditer
(&self)
rs/state_manager/src/state_sync/types.rs:408
↓ 430 callersFunctionprint
Prints the given message.
rs/rust_canisters/dfn_core/src/api.rs:712
↓ 425 callersMethodextend
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 callersMethodget
Retrieves the item with the given index.
rs/types/types/src/xnet.rs:95
↓ 402 callersFunctionwith_test_replica_logger
(f: F)
rs/test_utilities/logger/src/lib.rs:46
↓ 399 callersMethoditer
Returns an iterator over key-value pairs.
rs/crypto/tree_hash/src/flat_map.rs:176
↓ 388 callersFunctioncall_args
A shortcut for a `CallArgs::default()`
rs/universal_canister/lib/src/lib.rs:74
↓ 388 callersMethodexecute_ingress
( &self, canister_id: CanisterId, method: impl ToString, payload: Vec<u8>,
rs/state_machine_tests/src/lib.rs:4619
↓ 388 callersMethoditer
Returns an iterator over canister ID ranges. The canister ranges are guaranteed to be sorted.
rs/registry/routing_table/src/lib.rs:172
↓ 388 callersMethodlogger
(&self)
rs/tests/driver/src/driver/context.rs:194
↓ 388 callersMethodtopology_snapshot
(&self)
rs/tests/driver/src/driver/test_env_api.rs:1266
↓ 385 callersMethoduniversal_canister
Creates and installs a universal canister.
rs/test_utilities/execution_environment/src/lib.rs:1203
↓ 384 callersMethodother_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 callersMethodnodes
(&self)
rs/tests/driver/src/driver/test_env_api.rs:2270
↓ 364 callersMethodas_ref
(&self)
rs/sys/src/mmap.rs:105
↓ 355 callersMethodnext
(&self)
rs/nns/common/src/lib.rs:16
↓ 352 callersMethodtick
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 callersMethodinc
Round-robin across methods.
rs/replicated_state/src/canister_state/execution_state.rs:281
↓ 341 callersMethodeffective_canister_id
(&self)
rs/tests/driver/src/driver/test_env_api.rs:955
↓ 340 callersMethodwrite
Returns a write lock to the store.
rs/crypto/src/lib.rs:91
↓ 338 callersMethodsend
This function sends a network message to the connected BTC node.
rs/bitcoin/adapter/src/connection.rs:124
↓ 336 callersMethoditer
(&self)
rs/crypto/internal/crypto_lib/types/src/encrypt/forward_secure.rs:193
↓ 336 callersFunctionuser_test_id
Returns a [`UserId`] that can be used in tests.
rs/types/types_test_utils/src/ids.rs:177
↓ 335 callersMethodlen
Returns the number of tasks in the queue.
rs/ethereum/ledger-suite-orchestrator/src/scheduler/mod.rs:144
↓ 334 callersMethodborrow
(&self)
rs/types/types/src/consensus/idkg.rs:125
↓ 333 callersMethodset
We need to override the consensus time if the time in `StateMachine` changes.
rs/state_machine_tests/src/lib.rs:707
↓ 332 callersMethodclone
(&self)
rs/phantom_newtype/src/id.rs:198
↓ 330 callersMethodcanister_state
(&self, canister_id: CanisterId)
rs/execution_environment/src/scheduler/test_utilities.rs:163
↓ 326 callersFunctionwith_capacity
()
rs/crypto/tree_hash/src/flat_map/tests.rs:4
↓ 322 callersMethodget
Searches a value by key. Complexity: O(log(N))
rs/crypto/tree_hash/src/flat_map.rs:102
↓ 322 callersMethodget
(&mut self)
rs/sns/governance/token_valuation/src/lib.rs:290
↓ 320 callersMethodentry
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 callersMethodborrow_mut
(&self)
rs/rust_canisters/dfn_core/src/api/futures.rs:124
↓ 313 callersMethodget
(&self)
rs/tests/driver/src/canister_agent.rs:64
↓ 310 callersMethodread
Returns a read lock to the store.
rs/crypto/src/lib.rs:96
↓ 308 callersMethodbuild
(&self)
rs/nns/common/src/init.rs:12
↓ 305 callersMethodpush
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 callersFunctionHeight
(h: u64)
rs/state_manager/tests/common/mod.rs:65
↓ 303 callersMethodget_public_url
(&self)
rs/tests/driver/src/driver/ic_gateway_vm.rs:62
next →1–100 of 45,639, ranked by callers