Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dfinity/examples
/ functions
Functions
2,537 in github.com/dfinity/examples
⨍
Functions
2,537
◇
Types & classes
505
↓ 1 callers
Function
isThenable
()
hosting/godot-html5-template/frontend/assets/ICPluginDemo.js:9
↓ 1 callers
Function
is_item_processed
(item: String)
rust/guards/backend/lib.rs:102
↓ 1 callers
Function
jsAudioCreateChannel
(callback,userData)
hosting/unity-webgl-template/frontend/assets/unity-webgl-build.framework.js:3
↓ 1 callers
Function
jsAudioCreateCompressedSoundClip
(audioData)
hosting/unity-webgl-template/frontend/assets/unity-webgl-build.framework.js:3
↓ 1 callers
Function
jsAudioCreateUncompressedSoundClipFromCompressedAudio
(audioData)
hosting/unity-webgl-template/frontend/assets/unity-webgl-build.framework.js:3
↓ 1 callers
Function
jsAudioCreateUncompressedSoundClipFromPCM
(channels,length,sampleRate,ptr)
hosting/unity-webgl-template/frontend/assets/unity-webgl-build.framework.js:3
↓ 1 callers
Function
jsStackTrace
()
hosting/godot-html5-template/frontend/assets/ICPluginDemo.js:9
↓ 1 callers
Function
l
()
hosting/unity-webgl-template/frontend/assets/unity-webgl-build.loader.js:1
↓ 1 callers
Function
lazy_call_ecdsa_public_key
()
rust/basic_ethereum/backend/state.rs:97
↓ 1 callers
Function
ledger_principal
Read the ledger principal at runtime from the canister environment variable set by icp-cli at deploy time. The value is configured per environment in
rust/receiving-icp/backend/lib.rs:10
↓ 1 callers
Function
listSignatures
()
rust/vetkeys/basic_bls_signing/frontend/src/main.ts:216
↓ 1 callers
Method
list_proposals
( &self, request: ListProposalInfo, )
rust/unit_testable_rust_canister/backend/src/governance.rs:57
↓ 1 callers
Function
load_backend_wasm
()
rust/threshold-schnorr/backend/tests/integration_tests.rs:181
↓ 1 callers
Function
load_identity
( identity_path: &PathBuf, )
rust/stake_neuron_from_cli/src/lib.rs:157
↓ 1 callers
Function
load_image
(url: &str)
rust/photo_gallery/backend/lib.rs:111
↓ 1 callers
Function
load_wasm
()
rust/x509/backend/tests/integration_tests.rs:12
↓ 1 callers
Function
locateFile
(path)
hosting/unity-webgl-template/frontend/assets/unity-webgl-build.framework.js:3
↓ 1 callers
Function
login
(client: AuthClient)
rust/vetkeys/basic_ibe/frontend/src/main.ts:251
↓ 1 callers
Function
login
(client: AuthClient)
rust/vetkeys/basic_timelock_ibe/frontend/src/main.ts:42
↓ 1 callers
Function
login
(client: AuthClient)
rust/vetkeys/basic_bls_signing/frontend/src/main.ts:37
↓ 1 callers
Function
logout
()
rust/vetkeys/encrypted_notes_app_vetkd/frontend/src/store/auth.ts:64
↓ 1 callers
Function
logout
()
rust/vetkeys/password_manager_with_metadata/frontend/src/store/auth.ts:79
↓ 1 callers
Function
logout
()
rust/vetkeys/password_manager/frontend/src/store/auth.ts:78
↓ 1 callers
Function
mainThreadEM_ASM
(code,sigPtr,argbuf,sync)
hosting/unity-webgl-template/frontend/assets/unity-webgl-build.framework.js:3
↓ 1 callers
Function
make_transparent
Replaces white pixels in the image with transparent pixels.
rust/qrcode/backend/src/core.rs:41
↓ 1 callers
Function
matchToOldDevice
(newDevice)
hosting/unity-webgl-template/frontend/assets/unity-webgl-build.framework.js:3
↓ 1 callers
Function
maybeCStringToJsString
(cString)
hosting/unity-webgl-template/frontend/assets/unity-webgl-build.framework.js:3
↓ 1 callers
Function
maybeExit
()
hosting/unity-webgl-template/frontend/assets/unity-webgl-build.framework.js:3
↓ 1 callers
Function
mmapAlloc
(size)
hosting/unity-webgl-template/frontend/assets/unity-webgl-build.framework.js:3
↓ 1 callers
Function
mutate_state
(f: F)
rust/basic_ethereum/backend/state.rs:20
↓ 1 callers
Function
nat_to_u256
(value: Nat)
rust/basic_ethereum/backend/lib.rs:296
↓ 1 callers
Function
nat_to_u64
(nat: Nat)
rust/basic_ethereum/backend/lib.rs:289
↓ 1 callers
Function
needs_rebuild
Check if WASM needs to be rebuilt by comparing file timestamps in source directory.
rust/unit_testable_rust_canister/backend/tests/integration_tests.rs:46
↓ 1 callers
Method
next
()
motoko/flying_ninja/frontend/src/Game.jsx:19
↓ 1 callers
Function
onReferenceSpaceSuccess
(reference_space,reference_space_type)
hosting/godot-html5-template/frontend/assets/ICPluginDemo.js:9
↓ 1 callers
Function
onloadprogress
(reader, controller)
hosting/godot-html5-template/frontend/assets/ICPluginDemo.js:25
↓ 1 callers
Function
parseQrString
(input: string)
motoko/ic-pos/src/icpos_frontend/routes/send.tsx:35
↓ 1 callers
Method
parse_message
(p_cmd, p_data)
hosting/godot-html5-template/frontend/assets/ICPluginDemo.audio.worklet.js:121
↓ 1 callers
Function
passwordFromContent
( owner: Principal, parentVaultName: string, passwordName: string, content: string, metada
rust/vetkeys/password_manager_with_metadata/frontend/src/lib/password.ts:12
↓ 1 callers
Function
passwordFromContent
( owner: Principal, parentVaultName: string, passwordName: string, content: string, )
rust/vetkeys/password_manager/frontend/src/lib/password.ts:10
↓ 1 callers
Function
periodic_task
An example periodic task which just increments the `COUNTER`.
rust/periodic_tasks/timer/src/lib.rs:23
↓ 1 callers
Function
periodic_task
An example periodic task which just increments the `COUNTER`.
rust/periodic_tasks/heartbeat/src/lib.rs:31
↓ 1 callers
Function
placeBid
(lotId: bigint, amount: number)
rust/vetkeys/basic_timelock_ibe/frontend/src/main.ts:436
↓ 1 callers
Function
postRun
()
hosting/godot-html5-template/frontend/assets/ICPluginDemo.js:9
↓ 1 callers
Function
postRun
()
hosting/unity-webgl-template/frontend/assets/unity-webgl-build.framework.js:3
↓ 1 callers
Function
preMain
()
hosting/godot-html5-template/frontend/assets/ICPluginDemo.js:9
↓ 1 callers
Function
preMain
()
hosting/unity-webgl-template/frontend/assets/unity-webgl-build.framework.js:3
↓ 1 callers
Function
preRun
()
hosting/godot-html5-template/frontend/assets/ICPluginDemo.js:9
↓ 1 callers
Function
preRun
()
hosting/unity-webgl-template/frontend/assets/unity-webgl-build.framework.js:3
↓ 1 callers
Function
prepVararg
(ptr,type)
hosting/unity-webgl-template/frontend/assets/unity-webgl-build.framework.js:3
↓ 1 callers
Function
preprocess_c_code
(code)
hosting/unity-webgl-template/frontend/assets/unity-webgl-build.framework.js:3
↓ 1 callers
Method
process
(inputs, outputs, parameters)
hosting/godot-html5-template/frontend/assets/ICPluginDemo.audio.worklet.js:147
↓ 1 callers
Method
process_notify
()
hosting/godot-html5-template/frontend/assets/ICPluginDemo.audio.worklet.js:114
↓ 1 callers
Function
reSign
(value,bits)
hosting/unity-webgl-template/frontend/assets/unity-webgl-build.framework.js:3
↓ 1 callers
Function
readAsmConstArgs
(sigPtr,buf)
hosting/godot-html5-template/frontend/assets/ICPluginDemo.js:9
↓ 1 callers
Function
readAsmConstArgs
(sigPtr,buf)
hosting/unity-webgl-template/frontend/assets/unity-webgl-build.framework.js:3
↓ 1 callers
Function
readSockaddr
(sa,salen)
hosting/unity-webgl-template/frontend/assets/unity-webgl-build.framework.js:3
↓ 1 callers
Function
reallyNegative
(x)
hosting/unity-webgl-template/frontend/assets/unity-webgl-build.framework.js:3
↓ 1 callers
Function
rebuild_wasm
Rebuild the WASM using cargo
rust/unit_testable_rust_canister/backend/tests/integration_tests.rs:99
↓ 1 callers
Function
receiveInstance
(instance,module)
hosting/godot-html5-template/frontend/assets/ICPluginDemo.js:9
↓ 1 callers
Function
receiveInstance
(instance,module)
hosting/unity-webgl-template/frontend/assets/unity-webgl-build.framework.js:3
↓ 1 callers
Function
recognize
Returns the person whose face embedding is the closest to the face embedding of the given image.
rust/face-recognition/src/backend/src/onnx.rs:157
↓ 1 callers
Function
registerRestoreOldStyle
(canvas)
hosting/unity-webgl-template/frontend/assets/unity-webgl-build.framework.js:3
↓ 1 callers
Function
registerWheelEventCallback
(target,userData,useCapture,callbackfunc,eventTypeId,eventTypeString,targetThread)
hosting/unity-webgl-template/frontend/assets/unity-webgl-build.framework.js:3
↓ 1 callers
Method
removePassword
( owner: Principal, vault: string, passwordName: string, )
rust/vetkeys/password_manager_with_metadata/frontend/src/lib/password_manager.ts:135
↓ 1 callers
Function
remove_cpp_comments_in_shaders
(code)
hosting/unity-webgl-template/frontend/assets/unity-webgl-build.framework.js:3
↓ 1 callers
Function
render
(element, classification)
rust/image-classification/frontend/src/main.js:70
↓ 1 callers
Function
renderCalendarDays
()
rust/daily_planner/frontend/src/App.jsx:105
↓ 1 callers
Function
renderCalendarDays
()
motoko/daily_planner/frontend/src/App.jsx:105
↓ 1 callers
Function
renderDayDetailContent
()
rust/daily_planner/frontend/src/App.jsx:139
↓ 1 callers
Function
renderDayDetailContent
()
motoko/daily_planner/frontend/src/App.jsx:139
↓ 1 callers
Function
requestPointerLock
(target)
hosting/unity-webgl-template/frontend/assets/unity-webgl-build.framework.js:3
↓ 1 callers
Function
requestReferenceSpace
()
hosting/godot-html5-template/frontend/assets/ICPluginDemo.js:9
↓ 1 callers
Function
resetGame
()
rust/flying_ninja/frontend/src/Game.jsx:90
↓ 1 callers
Function
resetGame
()
motoko/flying_ninja/frontend/src/Game.jsx:90
↓ 1 callers
Function
root_ca_certificate
()
rust/x509/backend/src/wasm_only.rs:85
↓ 1 callers
Function
roundedToNextMultipleOf
(x,y)
hosting/godot-html5-template/frontend/assets/ICPluginDemo.js:9
↓ 1 callers
Function
roundedToNextMultipleOf
(x,y)
hosting/unity-webgl-template/frontend/assets/unity-webgl-build.framework.js:3
↓ 1 callers
Function
saveLatestTransactionId
(principal: Principal, id: bigint)
motoko/ic-pos/src/icpos_frontend/hooks/useNewTransactions.tsx:32
↓ 1 callers
Function
select_one_utxo
Selects a single UTXO that can cover the required amount plus fee. This function is used when you need to tie a specific operation to a single UTXO,
rust/basic_bitcoin/src/common.rs:56
↓ 1 callers
Function
select_visible_element
()
rust/face-recognition/src/frontend/src/index.js:34
↓ 1 callers
Function
send
(port)
hosting/godot-html5-template/frontend/assets/ICPluginDemo.js:9
↓ 1 callers
Function
sendMessage
()
rust/vetkeys/basic_ibe/frontend/src/main.ts:101
↓ 1 callers
Function
set
(n: Nat)
rust/inter-canister-calls/counter/src/lib.rs:16
↓ 1 callers
Function
setFileTime
(path,time)
hosting/unity-webgl-template/frontend/assets/unity-webgl-build.framework.js:3
↓ 1 callers
Method
setPassword
( owner: Principal, vault: string, passwordName: string, password: Uint8Array,
rust/vetkeys/password_manager_with_metadata/frontend/src/lib/password_manager.ts:31
↓ 1 callers
Function
set_state
A helper method to set the state.
rust/low_wasm_memory/backend/lib.rs:36
↓ 1 callers
Function
setup
(facedetect: Bytes, facerec: Bytes)
rust/face-recognition/src/backend/src/onnx.rs:87
↓ 1 callers
Function
setup_facedetect
(bytes: Bytes)
rust/face-recognition/src/backend/src/onnx.rs:63
↓ 1 callers
Function
setup_facerec
(bytes: Bytes)
rust/face-recognition/src/backend/src/onnx.rs:75
↓ 1 callers
Function
sha256
(input: &str)
rust/threshold-ecdsa/backend/lib.rs:78
↓ 1 callers
Function
sign_transaction
Sign a P2WPKH bitcoin transaction. IMPORTANT: This method is for demonstration purposes only and it only supports signing transactions if: 1. All th
rust/basic_bitcoin/src/p2wpkh.rs:74
↓ 1 callers
Function
sign_transaction_script_spend
Sign a P2TR script spend transaction. IMPORTANT: This method is for demonstration purposes only and it only supports signing transactions if: 1. All
rust/basic_bitcoin/src/p2tr.rs:137
↓ 1 callers
Method
sign_with_ecdsa
(&self, message_hash: [u8; 32])
rust/basic_ethereum/backend/ethereum_wallet.rs:39
↓ 1 callers
Method
signature_algorithm_identifier
(&self)
rust/x509/backend/src/wasm_only/signer.rs:61
↓ 1 callers
Method
single_evm_rpc_service
(&self)
rust/basic_ethereum/backend/state.rs:75
↓ 1 callers
Method
space_left
()
hosting/godot-html5-template/frontend/assets/ICPluginDemo.audio.worklet.js:44
↓ 1 callers
Function
stackTrace
()
hosting/godot-html5-template/frontend/assets/ICPluginDemo.js:9
↓ 1 callers
Function
stake_neuron
( args: StakeNeuronArgs, )
rust/stake_neuron_from_cli/src/lib.rs:21
↓ 1 callers
Function
start_with_interval_secs
(secs: u64)
rust/periodic_tasks/timer/src/lib.rs:65
← previous
next →
701–800 of 2,537, ranked by callers