MCPcopy Create free account

hub / github.com/dfinity/ic / functions

Functions45,639 in github.com/dfinity/ic

↓ 301 callersMethodtake_tip
(&self)
rs/state_manager/src/lib.rs:2846
↓ 299 callersMethodas_mut
(&mut self)
rs/types/types/src/consensus/idkg.rs:465
↓ 298 callersMethodas_slice
Returns a byte slice view of the memory mapping.
rs/sys/src/mmap.rs:86
↓ 295 callersMethodvalues
Returns a slice of values contained in this map.
rs/crypto/tree_hash/src/flat_map.rs:186
↓ 292 callersMethodinsert
(&mut self, blob: B, metadata: Metadata)
rs/cross-chain/blob_store/src/storage.rs:88
↓ 287 callersMethodtake
(&mut self)
rs/types/cycles/src/cycles.rs:66
↓ 284 callersFunctionwith_test_pool_config
Creates a new ArtifactPoolConfig, based on the default, for tests. It removes the persistent pool directory afterwards.
rs/test_utilities/src/artifact_pool_config.rs:8
↓ 283 callersMethodok
(ticket: Option<Ticket>)
rs/sns/swap/src/swap.rs:3627
↓ 277 callersMethodbytes
Returns the bytes in the result.
rs/types/types/src/ingress.rs:193
↓ 272 callersMethodto_vec
(&self)
rs/nns/governance/protobuf_generator/src/lib.rs:34
↓ 271 callersMethodas_str
Returns the name of this status as specified in the interface spec: `<https://internetcomputer.org/docs/current/references/ic-interface-spec#state-tre
rs/types/types/src/ingress.rs:93
↓ 269 callersMethodfind
Find and return the first log line that satisfies the given predicate
rs/tests/driver/src/util.rs:1618
↓ 269 callersMethodreply
(mut self)
rs/universal_canister/lib/src/lib.rs:154
↓ 262 callersMethodget_mut
(&self)
rs/consensus/mocks/src/lib.rs:62
↓ 261 callersMethodinto_iter
(self)
rs/types/types/src/crypto/canister_threshold_sig/idkg.rs:1197
↓ 261 callersMethodsaturating_sub
Saturating `Duration` subtraction from a `Time`. Computes `self - rhs`, returning `Time::from_nanos_since_unix_epoch(0)` if underflow occurs. # Examp
rs/types/types/src/time.rs:206
↓ 260 callersMethodpath
(&self)
rs/prep/src/prep_state_directory.rs:47
↓ 255 callersFunctionall
(c: &mut Criterion)
rs/embedders/benches/heap.rs:322
↓ 255 callersFunctiontry_from_option_field
Converts an optional proto field into a Rust type using `From` / `TryFrom`. Returns `Err(ProtoMappingError::MissingField(field))` if the field is `Non
rs/protobuf/src/proxy.rs:207
↓ 251 callersMethodparse
Parses a Bitcoin address and checks that it belongs to the specified network.
rs/bitcoin/ckbtc/minter/src/address.rs:72
↓ 249 callersMethodclone
(&self)
rs/ethereum/ledger-suite-orchestrator/src/state/mod.rs:189
↓ 248 callersFunctionlen
(p: ValuePredicate)
packages/icrc-ledger-types/src/icrc/generic_value_predicate.rs:348
↓ 245 callersMethoditer
(&self)
rs/nns/governance/src/subaccount_index.rs:108
↓ 242 callersMethodappend
Appends the given messages to `self`. Returns `Err(InvalidPayload)` if `suffix.messages` is malformed. Returns `Err(InvalidAppend)` and leaves `self`
rs/xnet/payload_builder/src/certified_slice_pool.rs:234
↓ 242 callersMethodget
(&self)
rs/crypto/test_utils/keygen/src/lib.rs:348
↓ 242 callersMethodinsert
(&mut self, unvalidated_artifact: UnvalidatedArtifact<SignedIngress>)
rs/test_utilities/artifact_pool/src/ingress_pool.rs:54
↓ 241 callersMethodinto_iter
(self)
rs/registry/routing_table/src/lib.rs:574
↓ 240 callersMethodpush
(&mut self, item: RequestOutcome<T, S>)
rs/tests/driver/src/generic_workload_engine/metrics.rs:240
↓ 240 callersMethodsubnet_message
A low-level helper to send subnet messages to the IC management canister. Execution of the message is started immediately after. Check the ingress sta
rs/test_utilities/execution_environment/src/lib.rs:1516
↓ 239 callersMethodpush
Appends the given message to the tail of the stream.
rs/replicated_state/src/metadata_state.rs:1356
↓ 233 callersMethoditer
Iterates over all stored values in the map. Elements are returned in ascending order of the primary key.
rs/ethereum/cketh/minter/src/map.rs:144
↓ 226 callersMethodbuild
(self)
rs/embedders/src/compilation_cache.rs:94
↓ 225 callersMethodadvance_time
Advance time by the given [`Duration`]. Advances the real-world and monotonic clock at the same rate.
rs/test_utilities/time/src/lib.rs:86
↓ 225 callersMethodcreate_canister
(&mut self)
rs/execution_environment/src/scheduler/test_utilities.rs:229
↓ 224 callersFunctiondeserialize
(d: D)
rs/ledger_suite/icrc1/src/compact_account.rs:73
↓ 224 callersMethodis_empty
Returns true if the memory region has zero length.
rs/sys/src/mmap.rs:81
↓ 223 callersMethodinsert
Inserts a mapping from the corresponding canister_id_range to the subnet into the routing table. Returns an error if adding a new entry makes the rou
rs/registry/routing_table/src/lib.rs:295
↓ 223 callersMethodlen
Returns the number of `CanisterIdRange` entries.
rs/registry/routing_table/src/lib.rs:189
↓ 221 callersMethodwith_setup
(mut self, setup: F)
rs/tests/driver/src/driver/group.rs:834
↓ 217 callersMethodclone
(&self)
packages/icrc-ledger-types/src/icrc3/archive.rs:69
↓ 217 callersMethodsubnets
(&self)
rs/tests/driver/src/driver/test_env_api.rs:401
↓ 215 callersMethodappend_and_reply
(mut self)
rs/universal_canister/lib/src/lib.rs:134
↓ 214 callersFunctiondecode
Decodes a blob into a type `T`, discarding any possible padding. Returns the decoded type `T`, the bytes count of the blob and the bytes count of the
rs/rust_canisters/messaging_test/src/lib.rs:142
↓ 213 callersMethodclone
(&self)
rs/monitoring/logger/src/replica_logger.rs:67
↓ 213 callersMethodlen
Returns the size of the queue.
rs/types/types/src/xnet.rs:127
↓ 212 callersMethodinstall_canister
( &self, canister_id: &CanisterId, wat: &str, payload: Vec<u8>, )
rs/replica_tests/src/lib.rs:460
↓ 211 callersMethodmaybe_apply_mutation_internal
Checks that invariants would hold after applying mutations, and applies the mutations if they do
rs/registry/canister/src/registry.rs:360
↓ 208 callersMethodpush
Push a new `result` to the cache, evicting LRU entries if needed and updating the metrics.
rs/execution_environment/src/query_handler/query_cache.rs:429
↓ 207 callersMethodcopy_from_slice
(&mut self, offset: usize, slice: &[u8])
rs/replicated_state/src/page_map/page_allocator/mmap.rs:79
↓ 207 callersMethodexecute_from_args
(self)
rs/tests/driver/src/driver/group.rs:1580
↓ 206 callersMethodcommit_and_certify
( &self, mut state: Self::State, scope: CertificationScope, batch_summary: Opt
rs/state_manager/src/lib.rs:3385
↓ 202 callersFunctionwrite
Writes `content` to the given offset in the stable memory
rs/rust_canisters/dfn_core/src/stable.rs:47
↓ 201 callersMethodcanister_from_wat
Creates a canister and installs the Wasm module given in the textual representation.
rs/test_utilities/execution_environment/src/lib.rs:1194
↓ 201 callersMethodsaturating_add
(self, rhs: Duration)
rs/bitcoin/ckbtc/minter/src/lib.rs:1889
↓ 200 callersMethodadd_subnet
(mut self, subnet: Subnet)
rs/tests/driver/src/driver/ic.rs:92
↓ 200 callersMethodget
Returns an accumulated digest.
rs/memory_tracker/src/deterministic.rs:122
↓ 200 callersMethodget
( &self, canister_module: &CanisterModule, )
rs/embedders/src/compilation_cache.rs:143
↓ 198 callersMethodmin
(&self)
rs/types/types/src/lib.rs:283
↓ 198 callersMethodsend_ingress
(&mut self, canister_id: CanisterId, message: TestMessage)
rs/execution_environment/src/scheduler/test_utilities.rs:346
↓ 197 callersFunctioniter
()
rs/crypto/tree_hash/tests/flatmap.rs:176
↓ 196 callersMethodexecute_round
(&mut self, round_type: ExecutionRoundType)
rs/execution_environment/src/scheduler/test_utilities.rs:584
↓ 195 callersMethodas_slice
(&self)
rs/types/wasm_types/src/lib.rs:43
↓ 194 callersMethodas_ref
(&self)
rs/registry/canister/src/registry.rs:67
↓ 194 callersFunctionf
(vec: Vec<u8>, max_bytes_to_format: usize)
rs/utils/src/byte_slice_fmt.rs:23
↓ 194 callersMethodget
cpp/infogetty-cpp/network_info.cc:187
↓ 194 callersFunctionhash
(data: &str)
rs/http_utils/src/file_downloader.rs:578
↓ 192 callersMethodpath
(&self)
rs/ic_os/device/src/device_mapping.rs:184
↓ 191 callersMethodbuild
(self)
rs/nns/governance/src/neuron/types.rs:1950
↓ 191 callersMethodlen
Returns the number of entries in this map.
rs/crypto/tree_hash/src/flat_map.rs:197
↓ 190 callersMethodas_slice
The entire mmap as a slice of bytes.
rs/replicated_state/src/page_map/checkpoint.rs:127
↓ 190 callersMethodinto_iter
(self)
rs/crypto/tree_hash/src/flat_map.rs:240
↓ 188 callersMethodany
Match all edges at first level and apply the pattern for the subtree they point to.
rs/canonical_state/src/subtree_visitor.rs:37
↓ 187 callersMethodencode
(&self, buf: &mut B)
rs/registry/proto_data_provider/src/lib.rs:127
↓ 187 callersMethodinsert
(&self, state_machine: Arc<StateMachine>)
rs/state_machine_tests/src/lib.rs:5585
↓ 185 callersFunctiondrop
(_: *const ())
rs/rust_canisters/dfn_core/src/api/futures.rs:267
↓ 183 callersMethodget_principal_id
(&self)
rs/canister_client/sender/src/lib.rs:158
↓ 181 callersMethodpush
(&mut self, hb: &HashedBlock)
rs/rosetta-api/icp/ledger_canister_blocks_synchronizer/src/blocks.rs:1294
↓ 181 callersMethodupdate
(&self, payload: P)
rs/tests/driver/src/util.rs:584
↓ 179 callersMethodget
(&self, msg_id: &StateSyncArtifactId)
rs/state_manager/src/state_sync.rs:207
↓ 179 callersMethoditer
(&self)
rs/bitcoin/checker/src/state.rs:194
↓ 179 callersMethodreceivers
(&self)
rs/crypto/test_utils/canister_threshold_sigs/src/lib.rs:1664
↓ 178 callersMethodinsert
(self, key: K, value: V)
rs/replicated_state/src/page_map/int_map.rs:388
↓ 175 callersMethodbuild
(self)
rs/crypto/internal/crypto_service_provider/src/vault/local_csp_vault/builder/mod.rs:143
↓ 174 callersMethodbody
(&self)
rs/cross-chain/proposal-cli/src/forum/mod.rs:201
↓ 171 callersMethodexecute_message
Executes a pending message of the given canister and bumps state().time().
rs/test_utilities/execution_environment/src/lib.rs:1907
↓ 170 callersMethodget_ref
`get_ref` returns a reference to the underlying representation of the identifier. ``` use phantom_newtype::Id; struct User {} type UserId = Id<User,
rs/phantom_newtype/src/id.rs:137
↓ 170 callersMethodpush_init_mutate_request
( &mut self, mutate_req: RegistryAtomicMutateRequest, )
rs/registry/canister/src/init.rs:61
↓ 169 callersMethodbuild
(self, node_id: u64, registry_version: RegistryVersion)
rs/crypto/test_utils/keygen/src/lib.rs:84
↓ 169 callersMethodwrite_all
(&mut self, buf: &[u8])
rs/tests/test_canisters/kv_store/src/chunk.rs:66
↓ 168 callersFunctionmake_subnet_record_key
Makes a key for a SubnetRecord registry entry.
rs/registry/keys/src/lib.rs:331
↓ 167 callersMethodreplace
(&self, new_value: VecDeque<T>)
rs/test_utilities/src/ingress_selector.rs:45
↓ 167 callersFunctiontrap
(_offset: u32, _size: u32)
rs/rust_canisters/dfn_core/src/api.rs:149
↓ 166 callersMethodto_u64
(self)
rs/ledger_suite/icrc1/tokens_u64/src/lib.rs:28
↓ 163 callersMethoditer_mut
Iterates over the priorities, in ascending `CanisterId` order.
rs/replicated_state/src/metadata_state/subnet_schedule.rs:140
↓ 161 callersMethodget_e8s
Like Tokens::get_e8s.
rs/nervous_system/common/src/lib.rs:226
↓ 161 callersMethodinto_iter
(self)
rs/ethereum/ledger-suite-orchestrator/src/dashboard/mod.rs:74
↓ 161 callersFunctionwat_fn
Create a new WAT function code builder.
rs/test_utilities/execution_environment/src/wat_canister/fn_builder.rs:37
↓ 160 callersFunctionread
Read an input that can be parsed from a string. In contrast to `read_optional`, an empty input will still be parsed and returned as a value of the gen
rs/recovery/src/cli.rs:310
↓ 158 callersMethodlen
(&self)
rs/bitcoin/ckbtc/minter/src/lib.rs:1943
↓ 156 callersMethodadd_argument
(&mut self, argument: impl ToString, value: impl ToString)
rs/recovery/src/admin_helper.rs:342
← previousnext →101–200 of 45,639, ranked by callers