MCPcopy Create free account

hub / github.com/dfinity/ic / functions

Functions45,639 in github.com/dfinity/ic

↓ 83 callersFunctioninsert_dummy_canister
(state: &mut ReplicatedState, canister_id: CanisterId)
rs/state_manager/tests/common/mod.rs:356
↓ 83 callersMethoditer
(&'a self)
rs/nervous_system/collections/union_multi_map/src/std_get_implementations/std_collection_implementations.rs:18
↓ 83 callersMethodpath
(&self)
rs/crypto/internal/crypto_lib/threshold_sig/canister_threshold_sig/src/signing/key_derivation.rs:60
↓ 83 callersMethodset_checkpoints_enabled
If the argument is true, the state machine will create an on-disk checkpoint for each new state it creates. You have to call this function with `true
rs/state_machine_tests/src/lib.rs:2615
↓ 83 callersFunctionset_up_registry_canister
Creates and installs the registry canister.
rs/nns/test_utils/src/itest_helpers.rs:630
↓ 82 callersMethodcanister_state
(&self, canister_id: &CanisterId)
rs/replica_tests/src/lib.rs:578
↓ 82 callersFunctioncheck_ingress_status
Checks that the ingress status corresponds to a completed outcome and extracts it.
rs/test_utilities/execution_environment/src/lib.rs:3240
↓ 82 callersMethodget
(&self)
rs/replicated_state/src/canister_state/system_state/log_memory_store/memory.rs:16
↓ 82 callersFunctionover
Over allows you to create canister endpoints easily ```no_run # use dfn_core::over; #[unsafe(export_name = "canister_query happy_birthday")] fn hb() {
rs/rust_canisters/dfn_core/src/endpoint.rs:23
↓ 81 callersMethodadd_field
(mut self, key: impl ToString, value: impl Into<SelfDescribingValue>)
rs/nns/governance/src/proposals/self_describing.rs:106
↓ 81 callersMethodbuild
(self)
rs/crypto/internal/crypto_service_provider/src/builder_for_test/mod.rs:18
↓ 81 callersFunctionexhaustive_set
(input: TokenStream)
rs/types/exhaustive_derive/src/lib.rs:111
↓ 81 callersFunctionledger_wasm
()
rs/ledger_suite/icrc1/ledger/tests/tests.rs:130
↓ 81 callersMethodpop_front
(&mut self)
rs/bitcoin/adapter/src/common.rs:382
↓ 81 callersMethodpush
(&self, layer: BoxedRegistryLayer)
rs/monitoring/tracing/src/lib.rs:18
↓ 80 callersMethodlen
Returns how many in flight canister calls there are being made on behalf of some other (NNS) canister.
rs/nervous_system/proxied_canister_calls_tracker/src/lib.rs:126
↓ 80 callersMethodnonce
(&self)
rs/ethereum/cketh/minter/src/tx.rs:384
↓ 80 callersMethodwith_own_subnet_id
(self, own_subnet_id: SubnetId)
rs/test_utilities/execution_environment/src/lib.rs:2482
↓ 79 callersMethodadvance_round_normal_operation_n
(&mut self, steps: u64)
rs/test_utilities/artifact_pool/src/consensus_pool.rs:426
↓ 79 callersMethodpost
(&self, path: &str)
rs/tests/driver/src/driver/farm.rs:326
↓ 79 callersMethodstate_layout
Returns `StateLayout` pointing to the directory managed by this StateManager.
rs/state_manager/src/lib.rs:1731
↓ 79 callersMethodstate_mut
(&mut self)
rs/execution_environment/src/scheduler/test_utilities.rs:159
↓ 78 callersMethodcontains
(&self, node_id: NodeId)
rs/crypto/tls_interfaces/src/lib.rs:234
↓ 78 callersMethodget_fake_cmc
(&self)
rs/nns/governance/tests/fake.rs:215
↓ 78 callersMethodget_fake_randomness_generator
(&self)
rs/nns/governance/tests/fake.rs:222
↓ 78 callersMethodstop_canister
Signals a canister to stop. If the canister is running, then the canister is marked as "stopping". Stopping is meant to be an ephemeral state where t
rs/execution_environment/src/canister_manager.rs:1000
↓ 77 callersMethodcycle_balance
Returns the cycle balance of the specified canister. # Panics This function panics if the specified canister does not exist.
rs/state_machine_tests/src/lib.rs:5106
↓ 77 callersMethodkeys
Returns an iterator over the keys. The keys are guaranteed to be sorted. A full traversal requires `O(N)` operations.
rs/replicated_state/src/page_map/int_map.rs:788
↓ 77 callersMethodreload
Resets the registry to version 0 and reloads all data from the attached data provider. Useful to pick up data that were added at an existing version
rs/registry/fake/src/lib.rs:75
↓ 77 callersFunctionset_of_nodes
(ids: &[u64])
rs/crypto/test_utils/canister_threshold_sigs/src/lib.rs:1391
↓ 77 callersMethodsha256_hash
Calculate the sha256 hash for the wasm.
rs/nns/sns-wasm/src/pb/mod.rs:78
↓ 77 callersMethodwith_timeout_per_test
(mut self, t: Duration)
rs/tests/driver/src/driver/group.rs:996
↓ 76 callersMethodis_empty
Returns true if this map is empty. Returns false otherwise.
rs/crypto/tree_hash/src/flat_map.rs:192
↓ 76 callersFunctionmake_subnet_list_record_key
Returns the only key whose payload is the list of subnets.
rs/registry/keys/src/lib.rs:87
↓ 76 callersMethodreply_data_append
(mut self)
rs/universal_canister/lib/src/lib.rs:122
↓ 76 callersFunctionsigsegv
(tracker: &dyn MemoryTracker, page_index: PageIndex, access_kind: AccessKind)
rs/memory_tracker/src/tests.rs:138
↓ 76 callersMethodwith_test_neurons
(&mut self)
rs/nns/test_utils/src/common.rs:136
↓ 75 callersMethodadd
(&self, query_stats: &QueryStats)
rs/query_stats/src/metrics.rs:41
↓ 75 callersFunctionall_supported_versions
Returns a list of all certification versions from `MIN_SUPPORTED_CERTIFICATION_VERSION` up to `MAX_SUPPORTED_CERTIFICATION_VERSION`.
rs/canonical_state/certification_version/src/lib.rs:72
↓ 75 callersMethodinc_by
(&self, count: usize)
rs/replicated_state/src/page_map/page_allocator.rs:143
↓ 75 callersMethodraw_path
Returns the the raw root path for state
rs/state_layout/src/state_layout.rs:703
↓ 75 callersMethodupdate_call
( &self, canister_id: CanisterId, sender: Principal, method: &str, pay
packages/pocket-ic/src/lib.rs:1063
↓ 74 callersMethodas_bytes
(&self)
rs/crypto/internal/crypto_lib/types/src/curves.rs:29
↓ 74 callersMethodbuild
(self)
rs/rosetta-api/icrc1/tests/system_tests.rs:165
↓ 74 callersMethodcontext
(&self)
rs/replicated_state/src/canister_state/queues/message_pool.rs:134
↓ 74 callersMethodget
(&self)
rs/types/types/src/consensus/idkg.rs:1612
↓ 74 callersMethodget_ip_addr
(&self)
rs/tests/driver/src/driver/test_env_api.rs:859
↓ 74 callersMethodget_own_subnet_cycles_config
(&self)
rs/execution_environment/src/scheduler/test_utilities.rs:707
↓ 74 callersFunctioninvariant_compliant_mutation_as_atomic_req
Returns a `RegistryAtomicMutateRequest` containing all the invariant compliant mutations to initialize the registry. The argument `mutation_id` shoul
rs/nns/test_utils/src/registry.rs:96
↓ 74 callersMethodnow
Returns `Instant::now()` iff metrics are enabled. This is a performance optimization to avoid calling `Instant::now()` if metrics are disabled. This
rs/crypto/internal/logmon/src/metrics.rs:53
↓ 74 callersMethodrandom_filtered_by_receivers
( &'a self, idkg_receivers: T, rng: &mut R, )
rs/crypto/test_utils/canister_threshold_sigs/src/lib.rs:856
↓ 74 callersMethodupgrade_canister
( &self, canister_id: Principal, wasm_module: Vec<u8>, )
rs/ethereum/ledger-suite-orchestrator/src/management/mod.rs:296
↓ 74 callersFunctionwait_for_checkpoint
(state_manager: &impl StateManager, h: Height)
rs/state_manager/tests/common/mod.rs:331
↓ 74 callersMethodwith_scheduler_config
(self, scheduler_config: SchedulerConfig)
rs/execution_environment/src/scheduler/test_utilities.rs:916
↓ 73 callersMethodappend
(&mut self, record: &CanisterLogRecord)
rs/replicated_state/src/canister_state/system_state/log_memory_store/ring_buffer.rs:129
↓ 73 callersMethodcall
( &self, canister_id: impl Into<Principal> + Send, request: R, )
rs/nervous_system/agent/src/mock.rs:62
↓ 73 callersMethodinstruction_counter_is_at_least
Loops until the instruction counter is at least the specified amount.
rs/universal_canister/lib/src/lib.rs:747
↓ 73 callersMethodquery
(&self, payload: P)
rs/tests/driver/src/util.rs:554
↓ 73 callersMethodstate
(&self)
rs/execution_environment/src/scheduler/test_utilities.rs:155
↓ 72 callersMethodas_slice
It is guaranteed to be safe to deserialize this array into a `wasmtime::Module`.
rs/embedders/src/serialized_module.rs:46
↓ 72 callersFunctiondependencies
Creates most common consensus components used for testing. All components share the same mocked registry with one registry version holding the subnet
rs/consensus/mocks/src/lib.rs:232
↓ 72 callersMethodexecute
(&self, command: String)
rs/recovery/src/util.rs:68
↓ 72 callersMethodor_else
(self, f: F)
rs/interfaces/src/consensus_pool.rs:93
↓ 72 callersMethodremove
(&mut self, key: &K)
rs/nervous_system/rate_limits/src/lib.rs:78
↓ 71 callersFunctionapply_state_transition
Updates the state to reflect the given state transition. public because it's used in tests since process_event requires canister infrastructure to ret
rs/ethereum/cketh/minter/src/state/audit.rs:15
↓ 71 callersMethodflatten
(self)
rs/tests/driver/src/driver/plan.rs:127
↓ 71 callersMethodget_fake_env
Constructs an `Environment` that interacts with this driver.
rs/nns/governance/tests/fake.rs:200
↓ 71 callersMethodinstall
(self)
rs/tests/driver/src/driver/test_env_api.rs:1219
↓ 71 callersMethodnext
(&mut self)
rs/crypto/tree_hash/src/flat_map.rs:221
↓ 71 callersMethodobserve_duration_seconds
Observes a crypto method duration, measuring the the full duration, which includes actual cryptographic computation and the potential RPC overhead. `m
rs/crypto/internal/logmon/src/metrics.rs:82
↓ 71 callersFunctionsetup_masked_random_params
Returns an `IDkgTranscriptParams` appropriate for creating a random masked sharing in this environment.
rs/crypto/test_utils/canister_threshold_sigs/src/lib.rs:1707
↓ 71 callersMethodwith_cached_neuron_stake_e8s
(mut self, cached_neuron_stake_e8s: u64)
rs/nns/governance/src/neuron/types.rs:1827
↓ 70 callersFunctiondefault_validation_context
The default validation context used in the validation tests
rs/https_outcalls/consensus/src/payload_builder/tests.rs:1768
↓ 70 callersFunctionmessage_test_id
Returns a [`MessageId`] that can be used in tests.
rs/types/types_test_utils/src/ids.rs:192
↓ 70 callersMethodpush_bytes
(mut self, data: &[u8])
rs/universal_canister/lib/src/lib.rs:169
↓ 70 callersMethodskip
(self, count: usize)
rs/ethereum/cketh/test_utils/src/events.rs:38
↓ 70 callersMethodstate
(&self)
rs/execution_environment/src/scheduler/tests/subnet_messages.rs:527
↓ 70 callersMethodtake_cycles
(self)
rs/embedders/src/wasmtime_embedder/system_api/request_in_prep.rs:156
↓ 70 callersMethodwith_caller
(mut self, caller: Principal)
rs/ledger_suite/icrc1/test_utils/src/icrc3.rs:390
↓ 70 callersMethodwith_controllers
(self, controllers: Vec<PrincipalId>)
rs/execution_environment/src/canister_settings.rs:295
↓ 69 callersMethodbuild_async
(self)
packages/pocket-ic/src/lib.rs:229
↓ 69 callersMethodcanister
( &self, canister_id: &CanisterId, )
rs/state_layout/src/state_layout.rs:1773
↓ 69 callersMethodcollect
(&self)
rs/monitoring/metrics/src/process_collector.rs:47
↓ 69 callersFunctionfrom_hex
(hex: &str)
rs/rosetta-api/icp/src/convert.rs:428
↓ 69 callersMethodget
(&self, version: &Option<Version>)
rs/boundary_node/rate_limits/canister/getter.rs:92
↓ 69 callersMethodget_first_healthy_node_snapshot
(&self)
rs/tests/driver/src/driver/test_env_api.rs:1349
↓ 69 callersMethodget_latest_state
(&self)
rs/state_manager/src/lib.rs:3973
↓ 69 callersFunctionledger_wasm
()
rs/ledger_suite/icp/ledger/tests/tests.rs:55
↓ 69 callersMethodlen
(&self)
rs/http_endpoints/async_utils/src/join_map.rs:56
↓ 69 callersMethodmemory_usage
Returns the memory usage of the statuses in the ingress history. See the documentation of `IngressStatus` for how the byte size of an individual `Ingr
rs/replicated_state/src/metadata_state.rs:1789
↓ 69 callersMethodstatus
(&self)
rs/sns/root/src/lib.rs:174
↓ 69 callersFunctiontake
Returns the prefix of the range `r` that contains at most `n` elements.
rs/ledger_suite/common/ledger_canister_core/src/range_utils.rs:48
↓ 68 callersMethodbuild
(self)
rs/ethereum/cketh/test_utils/src/mock.rs:385
↓ 68 callersMethodnow
If there is a bug (related to lock acquisition), this could return u64::MAX.
rs/nns/governance/src/neuron_store.rs:286
↓ 68 callersMethodsaturating_sub
(&self, other: MemorySize)
rs/replicated_state/src/canister_state/system_state/log_memory_store/memory.rs:98
↓ 68 callersMethodvalidated
()
rs/consensus/src/consensus/validator.rs:4272
↓ 68 callersMethodwith_node_id
(mut self, node_id: NodeId)
rs/crypto/temp_crypto/src/lib.rs:172
↓ 67 callersMethodadd_record
Adds a new log record.
rs/types/types/src/canister_log.rs:229
↓ 67 callersMethodas_ref
(&self)
rs/interfaces/src/p2p/consensus.rs:153
↓ 67 callersFunctionbasic_governance_proto
()
rs/sns/governance/src/governance/test_helpers.rs:54
← previousnext →401–500 of 45,639, ranked by callers