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
↓ 53 callers
Function
abort
(what)
hosting/godot-html5-template/frontend/assets/ICPluginDemo.js:9
↓ 44 callers
Method
as_ref
(&self)
rust/basic_ethereum/backend/ecdsa.rs:27
↓ 41 callers
Function
abort
(what)
hosting/unity-webgl-template/frontend/assets/unity-webgl-build.framework.js:3
↓ 41 callers
Method
update
(self, caller: Principal, tags: Vec<String>, url: String)
rust/vetkeys/password_manager_with_metadata/rust/backend/src/lib.rs:37
↓ 36 callers
Method
from
(init_arg: InitArg)
rust/basic_ethereum/backend/state.rs:88
↓ 35 callers
Function
stringToUTF8
(str,outPtr,maxBytesToWrite)
hosting/unity-webgl-template/frontend/assets/unity-webgl-build.framework.js:3
↓ 32 callers
Function
trap
(message: String)
rust/canister_logs/backend/lib.rs:35
↓ 31 callers
Function
setValue
(ptr,value,type,noSafe)
hosting/godot-html5-template/frontend/assets/ICPluginDemo.js:9
↓ 29 callers
Method
iter
(&self)
rust/vetkeys/encrypted_notes_app_vetkd/rust/backend/src/lib.rs:48
↓ 28 callers
Function
UTF8ToString
(ptr,maxBytesToRead)
hosting/godot-html5-template/frontend/assets/ICPluginDemo.js:9
↓ 27 callers
Method
to_vec_u8_path
Converts the derivation path to the binary format expected by IC's key derivation APIs. Returns a Vec<Vec<u8>> where each inner Vec represents one le
rust/basic_bitcoin/src/common.rs:305
↓ 26 callers
Function
webglGetUniformLocation
(location)
hosting/unity-webgl-template/frontend/assets/unity-webgl-build.framework.js:3
↓ 24 callers
Function
encode_leb128
Encodes a u128 as LEB128 (Little Endian Base 128). The Runes protocol uses LEB128 encoding for all integer values in the runestone to create compact,
rust/basic_bitcoin/src/runes.rs:69
↓ 24 callers
Function
get_method
(method_name)
hosting/godot-html5-template/frontend/assets/ICPluginDemo.js:9
↓ 22 callers
Function
UTF8ToString
(ptr,maxBytesToRead)
hosting/unity-webgl-template/frontend/assets/unity-webgl-build.framework.js:3
↓ 22 callers
Function
createActor
(canisterId, options = {})
rust/face-recognition/src/declarations/backend/index.js:15
↓ 20 callers
Function
onerror
(err)
hosting/godot-html5-template/frontend/assets/ICPluginDemo.js:70
↓ 20 callers
Function
setStatus
(id, msg)
rust/vetkeys/basic_vetkd/frontend/src/main.js:37
↓ 20 callers
Function
setStatus
(id, msg)
motoko/vetkeys/basic_vetkd/frontend/src/main.js:37
↓ 20 callers
Function
warnOnce
(text)
hosting/unity-webgl-template/frontend/assets/unity-webgl-build.framework.js:3
↓ 19 callers
Method
call
(&self)
rust/guards/backend/lib.rs:89
↓ 19 callers
Function
parse
(key, def)
hosting/godot-html5-template/frontend/assets/ICPluginDemo.js:386
↓ 19 callers
Method
read
(output)
hosting/godot-html5-template/frontend/assets/ICPluginDemo.audio.worklet.js:48
↓ 18 callers
Function
stringToUTF8
(str,outPtr,maxBytesToWrite)
hosting/godot-html5-template/frontend/assets/ICPluginDemo.js:9
↓ 18 callers
Method
write
(p_buffer)
hosting/godot-html5-template/frontend/assets/ICPluginDemo.audio.worklet.js:71
↓ 17 callers
Function
e
(e,t,r)
hosting/unity-webgl-template/frontend/assets/unity-webgl-build.loader.js:1
↓ 17 callers
Function
elem
(id)
rust/face-recognition/src/frontend/src/index.js:242
↓ 17 callers
Function
lengthBytesUTF8
(str)
hosting/unity-webgl-template/frontend/assets/unity-webgl-build.framework.js:3
↓ 16 callers
Function
assert
(condition,text)
hosting/godot-html5-template/frontend/assets/ICPluginDemo.js:9
↓ 14 callers
Function
__glGenObject
(n,buffers,createFunction,objectTable)
hosting/godot-html5-template/frontend/assets/ICPluginDemo.js:9
↓ 14 callers
Function
hide
(id)
rust/face-recognition/src/frontend/src/index.js:252
↓ 14 callers
Function
n
(e,r)
hosting/unity-webgl-template/frontend/assets/unity-webgl-build.loader.js:1
↓ 13 callers
Function
___setErrNo
(value)
hosting/godot-html5-template/frontend/assets/ICPluginDemo.js:9
↓ 13 callers
Function
bytebuf_to_blob
(buf: ByteBuf)
rust/vetkeys/password_manager/rust/backend/src/lib.rs:303
↓ 13 callers
Function
get_schnorr_public_key
Retrieves the Schnorr public key for the given derivation path from the Schnorr API. This function checks the local in-memory cache first. If no cach
rust/basic_bitcoin/src/schnorr.rs:22
↓ 13 callers
Function
message
(m)
rust/face-recognition/src/frontend/src/index.js:257
↓ 13 callers
Function
setTempRet0
(value)
hosting/unity-webgl-template/frontend/assets/unity-webgl-build.framework.js:3
↓ 12 callers
Function
pretty_print
Pretty print the `title` and a corresponding `tuple` with counters.
rust/performance_counters/backend/lib.rs:27
↓ 11 callers
Function
__heapAccessShiftForWebGLHeap
(heap)
hosting/godot-html5-template/frontend/assets/ICPluginDemo.js:9
↓ 11 callers
Function
__heapObjectForWebGLType
(type)
hosting/godot-html5-template/frontend/assets/ICPluginDemo.js:9
↓ 11 callers
Function
assert
(condition,text)
hosting/unity-webgl-template/frontend/assets/unity-webgl-build.framework.js:3
↓ 11 callers
Function
getSocketFromFD
()
hosting/godot-html5-template/frontend/assets/ICPluginDemo.js:9
↓ 11 callers
Function
leadingNulls
(value,digits)
hosting/godot-html5-template/frontend/assets/ICPluginDemo.js:9
↓ 11 callers
Function
leadingNulls
(value,digits)
hosting/unity-webgl-template/frontend/assets/unity-webgl-build.framework.js:3
↓ 11 callers
Function
serialize
(canvas)
rust/image-classification/frontend/src/main.js:65
↓ 11 callers
Function
show
(id)
rust/face-recognition/src/frontend/src/index.js:247
↓ 10 callers
Function
findEventTarget
(target)
hosting/unity-webgl-template/frontend/assets/unity-webgl-build.framework.js:3
↓ 10 callers
Function
stringToNewUTF8
(jsString)
hosting/godot-html5-template/frontend/assets/ICPluginDemo.js:9
↓ 9 callers
Function
bytebuf_to_blob
(buf: ByteBuf)
rust/vetkeys/password_manager_with_metadata/rust/backend/src/lib.rs:336
↓ 9 callers
Function
cn
(...inputs: ClassValue[])
motoko/ic-pos/src/icpos_frontend/utils/shadcn.ts:4
↓ 9 callers
Function
do_some_work
Loop to simulate some amount of work.
rust/performance_counters/backend/lib.rs:32
↓ 9 callers
Function
filesPath
(path)
svelte/sveltekit-starter/svelte.config.js:11
↓ 9 callers
Function
jstoi_q
(str)
hosting/unity-webgl-template/frontend/assets/unity-webgl-build.framework.js:3
↓ 9 callers
Function
r
()
hosting/unity-webgl-template/frontend/assets/unity-webgl-build.loader.js:1
↓ 8 callers
Function
__glGenObject
(n,buffers,createFunction,objectTable)
hosting/unity-webgl-template/frontend/assets/unity-webgl-build.framework.js:3
↓ 8 callers
Function
build_transaction
Builds a P2TR transaction to send the given `amount` of satoshis to the destination address.
rust/basic_bitcoin/src/p2tr.rs:71
↓ 8 callers
Function
compareByDay
(date1,date2)
hosting/godot-html5-template/frontend/assets/ICPluginDemo.js:9
↓ 8 callers
Function
compareByDay
(date1,date2)
hosting/unity-webgl-template/frontend/assets/unity-webgl-build.framework.js:3
↓ 8 callers
Function
counters
Returns a tuple with all the performance counters.
rust/performance_counters/backend/lib.rs:40
↓ 8 callers
Function
finish
(byteArray)
hosting/godot-html5-template/frontend/assets/ICPluginDemo.js:9
↓ 8 callers
Function
finish
(byteArray)
hosting/unity-webgl-template/frontend/assets/unity-webgl-build.framework.js:3
↓ 8 callers
Function
getNextArg
(type)
hosting/unity-webgl-template/frontend/assets/unity-webgl-build.framework.js:3
↓ 8 callers
Function
get_fee_per_byte
Estimates a reasonable fee rate for Bitcoin transactions based on network conditions. This function queries the Bitcoin network for recent fee percen
rust/basic_bitcoin/src/common.rs:190
↓ 8 callers
Function
lengthBytesUTF8
(str)
hosting/godot-html5-template/frontend/assets/ICPluginDemo.js:9
↓ 8 callers
Function
read_state
(f: impl FnOnce(&State) -> R)
rust/basic_ethereum/backend/state.rs:16
↓ 8 callers
Function
update
Generic update call helper
rust/unit_testable_rust_canister/backend/tests/integration_tests.rs:382
↓ 7 callers
Function
UTF8ArrayToString
(heap,idx,maxBytesToRead)
hosting/unity-webgl-template/frontend/assets/unity-webgl-build.framework.js:3
↓ 7 callers
Function
caller
Unlike Motoko, the caller identity is not built into Rust. Thus, we use the ic_cdk::caller() method inside this wrapper function. The wrapper prevents
rust/vetkeys/encrypted_notes_app_vetkd/rust/backend/src/lib.rs:123
↓ 7 callers
Function
get
(key: u128)
rust/composite_query/bucket/lib.rs:18
↓ 7 callers
Function
setTempRet0
(value)
hosting/godot-html5-template/frontend/assets/ICPluginDemo.js:9
↓ 6 callers
Function
UTF8ArrayToString
(u8Array,idx,maxBytesToRead)
hosting/godot-html5-template/frontend/assets/ICPluginDemo.js:9
↓ 6 callers
Function
__write_sockaddr
(sa,family,addr,port)
hosting/godot-html5-template/frontend/assets/ICPluginDemo.js:9
↓ 6 callers
Function
derivation_path
(owner: &Principal)
rust/basic_ethereum/backend/ethereum_wallet.rs:103
↓ 6 callers
Function
emscriptenWebGLGet
(name_,p,type)
hosting/godot-html5-template/frontend/assets/ICPluginDemo.js:9
↓ 6 callers
Function
emscriptenWebGLGetTexPixelData
(type,format,width,height,pixels,internalFormat)
hosting/godot-html5-template/frontend/assets/ICPluginDemo.js:9
↓ 6 callers
Function
heapAccessShiftForWebGLHeap
(heap)
hosting/unity-webgl-template/frontend/assets/unity-webgl-build.framework.js:3
↓ 6 callers
Function
heapObjectForWebGLType
(type)
hosting/unity-webgl-template/frontend/assets/unity-webgl-build.framework.js:3
↓ 6 callers
Function
jstoi_q
(str)
hosting/godot-html5-template/frontend/assets/ICPluginDemo.js:9
↓ 6 callers
Function
o
(e)
hosting/unity-webgl-template/frontend/assets/unity-webgl-build.loader.js:1
↓ 6 callers
Function
pic_and_canister_id
(ca_key_information: CaKeyInformation)
rust/x509/backend/tests/integration_tests.rs:21
↓ 6 callers
Function
sign_transaction_key_spend
Sign a P2TR key spend transaction. IMPORTANT: This method is for demonstration purposes only and it only supports signing transactions if: 1. All th
rust/basic_bitcoin/src/p2tr.rs:208
↓ 6 callers
Function
stringToNewUTF8
(jsString)
hosting/unity-webgl-template/frontend/assets/unity-webgl-build.framework.js:3
↓ 6 callers
Function
stringToUTF8Array
(str,outU8Array,outIdx,maxBytesToWrite)
hosting/godot-html5-template/frontend/assets/ICPluginDemo.js:9
↓ 6 callers
Method
to_bytes
(&self)
rust/daily_planner/backend/lib.rs:63
↓ 5 callers
Method
a_packed
(&self)
rust/simd/backend/src/mats.rs:43
↓ 5 callers
Method
b_packed
Packs the matrix `B` into a slice of size `K x N`, assuming that the original matrix width `N` is exactly 128 bits.
rust/simd/backend/src/mats.rs:61
↓ 5 callers
Function
callRuntimeCallbacks
(callbacks)
hosting/godot-html5-template/frontend/assets/ICPluginDemo.js:9
↓ 5 callers
Function
copyString
(element,value)
hosting/godot-html5-template/frontend/assets/ICPluginDemo.js:9
↓ 5 callers
Method
decrement_count
(&self)
rust/unit_testable_rust_canister/backend/src/canister_api.rs:45
↓ 5 callers
Function
dynCall
(sig,ptr,args)
hosting/unity-webgl-template/frontend/assets/unity-webgl-build.framework.js:3
↓ 5 callers
Function
fetch_root_ca_certificate
(pic: &pocket_ic::PocketIc, canister_id: Principal)
rust/x509/backend/tests/integration_tests.rs:41
↓ 5 callers
Function
formatCkBtc
(amount: bigint | number | null | undefined)
motoko/ic-pos/src/icpos_frontend/utils/formatCkBtc.ts:1
↓ 5 callers
Function
getBasicIbeActor
()
rust/vetkeys/basic_ibe/frontend/src/main.ts:27
↓ 5 callers
Function
getInputValue
(id)
rust/vetkeys/basic_vetkd/frontend/src/main.js:42
↓ 5 callers
Function
getInputValue
(id)
motoko/vetkeys/basic_vetkd/frontend/src/main.js:42
↓ 5 callers
Function
hideLoading
()
rust/daily_planner/frontend/src/App.jsx:22
↓ 5 callers
Function
hideLoading
()
motoko/daily_planner/frontend/src/App.jsx:22
↓ 5 callers
Function
intArrayFromString
(stringy,dontAddNull,length)
hosting/unity-webgl-template/frontend/assets/unity-webgl-build.framework.js:3
↓ 5 callers
Function
removeRunDependency
(id)
hosting/unity-webgl-template/frontend/assets/unity-webgl-build.framework.js:3
↓ 5 callers
Function
s
(e,t,r)
hosting/unity-webgl-template/frontend/assets/unity-webgl-build.loader.js:1
next →
1–100 of 2,537, ranked by callers