MCPcopy Create free account

hub / github.com/dfinity/examples / functions

Functions2,537 in github.com/dfinity/examples

↓ 53 callersFunctionabort
(what)
hosting/godot-html5-template/frontend/assets/ICPluginDemo.js:9
↓ 44 callersMethodas_ref
(&self)
rust/basic_ethereum/backend/ecdsa.rs:27
↓ 41 callersFunctionabort
(what)
hosting/unity-webgl-template/frontend/assets/unity-webgl-build.framework.js:3
↓ 41 callersMethodupdate
(self, caller: Principal, tags: Vec<String>, url: String)
rust/vetkeys/password_manager_with_metadata/rust/backend/src/lib.rs:37
↓ 36 callersMethodfrom
(init_arg: InitArg)
rust/basic_ethereum/backend/state.rs:88
↓ 35 callersFunctionstringToUTF8
(str,outPtr,maxBytesToWrite)
hosting/unity-webgl-template/frontend/assets/unity-webgl-build.framework.js:3
↓ 32 callersFunctiontrap
(message: String)
rust/canister_logs/backend/lib.rs:35
↓ 31 callersFunctionsetValue
(ptr,value,type,noSafe)
hosting/godot-html5-template/frontend/assets/ICPluginDemo.js:9
↓ 29 callersMethoditer
(&self)
rust/vetkeys/encrypted_notes_app_vetkd/rust/backend/src/lib.rs:48
↓ 28 callersFunctionUTF8ToString
(ptr,maxBytesToRead)
hosting/godot-html5-template/frontend/assets/ICPluginDemo.js:9
↓ 27 callersMethodto_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 callersFunctionwebglGetUniformLocation
(location)
hosting/unity-webgl-template/frontend/assets/unity-webgl-build.framework.js:3
↓ 24 callersFunctionencode_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 callersFunctionget_method
(method_name)
hosting/godot-html5-template/frontend/assets/ICPluginDemo.js:9
↓ 22 callersFunctionUTF8ToString
(ptr,maxBytesToRead)
hosting/unity-webgl-template/frontend/assets/unity-webgl-build.framework.js:3
↓ 22 callersFunctioncreateActor
(canisterId, options = {})
rust/face-recognition/src/declarations/backend/index.js:15
↓ 20 callersFunctiononerror
(err)
hosting/godot-html5-template/frontend/assets/ICPluginDemo.js:70
↓ 20 callersFunctionsetStatus
(id, msg)
rust/vetkeys/basic_vetkd/frontend/src/main.js:37
↓ 20 callersFunctionsetStatus
(id, msg)
motoko/vetkeys/basic_vetkd/frontend/src/main.js:37
↓ 20 callersFunctionwarnOnce
(text)
hosting/unity-webgl-template/frontend/assets/unity-webgl-build.framework.js:3
↓ 19 callersMethodcall
(&self)
rust/guards/backend/lib.rs:89
↓ 19 callersFunctionparse
(key, def)
hosting/godot-html5-template/frontend/assets/ICPluginDemo.js:386
↓ 19 callersMethodread
(output)
hosting/godot-html5-template/frontend/assets/ICPluginDemo.audio.worklet.js:48
↓ 18 callersFunctionstringToUTF8
(str,outPtr,maxBytesToWrite)
hosting/godot-html5-template/frontend/assets/ICPluginDemo.js:9
↓ 18 callersMethodwrite
(p_buffer)
hosting/godot-html5-template/frontend/assets/ICPluginDemo.audio.worklet.js:71
↓ 17 callersFunctione
(e,t,r)
hosting/unity-webgl-template/frontend/assets/unity-webgl-build.loader.js:1
↓ 17 callersFunctionelem
(id)
rust/face-recognition/src/frontend/src/index.js:242
↓ 17 callersFunctionlengthBytesUTF8
(str)
hosting/unity-webgl-template/frontend/assets/unity-webgl-build.framework.js:3
↓ 16 callersFunctionassert
(condition,text)
hosting/godot-html5-template/frontend/assets/ICPluginDemo.js:9
↓ 14 callersFunction__glGenObject
(n,buffers,createFunction,objectTable)
hosting/godot-html5-template/frontend/assets/ICPluginDemo.js:9
↓ 14 callersFunctionhide
(id)
rust/face-recognition/src/frontend/src/index.js:252
↓ 14 callersFunctionn
(e,r)
hosting/unity-webgl-template/frontend/assets/unity-webgl-build.loader.js:1
↓ 13 callersFunction___setErrNo
(value)
hosting/godot-html5-template/frontend/assets/ICPluginDemo.js:9
↓ 13 callersFunctionbytebuf_to_blob
(buf: ByteBuf)
rust/vetkeys/password_manager/rust/backend/src/lib.rs:303
↓ 13 callersFunctionget_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 callersFunctionmessage
(m)
rust/face-recognition/src/frontend/src/index.js:257
↓ 13 callersFunctionsetTempRet0
(value)
hosting/unity-webgl-template/frontend/assets/unity-webgl-build.framework.js:3
↓ 12 callersFunctionpretty_print
Pretty print the `title` and a corresponding `tuple` with counters.
rust/performance_counters/backend/lib.rs:27
↓ 11 callersFunction__heapAccessShiftForWebGLHeap
(heap)
hosting/godot-html5-template/frontend/assets/ICPluginDemo.js:9
↓ 11 callersFunction__heapObjectForWebGLType
(type)
hosting/godot-html5-template/frontend/assets/ICPluginDemo.js:9
↓ 11 callersFunctionassert
(condition,text)
hosting/unity-webgl-template/frontend/assets/unity-webgl-build.framework.js:3
↓ 11 callersFunctiongetSocketFromFD
()
hosting/godot-html5-template/frontend/assets/ICPluginDemo.js:9
↓ 11 callersFunctionleadingNulls
(value,digits)
hosting/godot-html5-template/frontend/assets/ICPluginDemo.js:9
↓ 11 callersFunctionleadingNulls
(value,digits)
hosting/unity-webgl-template/frontend/assets/unity-webgl-build.framework.js:3
↓ 11 callersFunctionserialize
(canvas)
rust/image-classification/frontend/src/main.js:65
↓ 11 callersFunctionshow
(id)
rust/face-recognition/src/frontend/src/index.js:247
↓ 10 callersFunctionfindEventTarget
(target)
hosting/unity-webgl-template/frontend/assets/unity-webgl-build.framework.js:3
↓ 10 callersFunctionstringToNewUTF8
(jsString)
hosting/godot-html5-template/frontend/assets/ICPluginDemo.js:9
↓ 9 callersFunctionbytebuf_to_blob
(buf: ByteBuf)
rust/vetkeys/password_manager_with_metadata/rust/backend/src/lib.rs:336
↓ 9 callersFunctioncn
(...inputs: ClassValue[])
motoko/ic-pos/src/icpos_frontend/utils/shadcn.ts:4
↓ 9 callersFunctiondo_some_work
Loop to simulate some amount of work.
rust/performance_counters/backend/lib.rs:32
↓ 9 callersFunctionfilesPath
(path)
svelte/sveltekit-starter/svelte.config.js:11
↓ 9 callersFunctionjstoi_q
(str)
hosting/unity-webgl-template/frontend/assets/unity-webgl-build.framework.js:3
↓ 9 callersFunctionr
()
hosting/unity-webgl-template/frontend/assets/unity-webgl-build.loader.js:1
↓ 8 callersFunction__glGenObject
(n,buffers,createFunction,objectTable)
hosting/unity-webgl-template/frontend/assets/unity-webgl-build.framework.js:3
↓ 8 callersFunctionbuild_transaction
Builds a P2TR transaction to send the given `amount` of satoshis to the destination address.
rust/basic_bitcoin/src/p2tr.rs:71
↓ 8 callersFunctioncompareByDay
(date1,date2)
hosting/godot-html5-template/frontend/assets/ICPluginDemo.js:9
↓ 8 callersFunctioncompareByDay
(date1,date2)
hosting/unity-webgl-template/frontend/assets/unity-webgl-build.framework.js:3
↓ 8 callersFunctioncounters
Returns a tuple with all the performance counters.
rust/performance_counters/backend/lib.rs:40
↓ 8 callersFunctionfinish
(byteArray)
hosting/godot-html5-template/frontend/assets/ICPluginDemo.js:9
↓ 8 callersFunctionfinish
(byteArray)
hosting/unity-webgl-template/frontend/assets/unity-webgl-build.framework.js:3
↓ 8 callersFunctiongetNextArg
(type)
hosting/unity-webgl-template/frontend/assets/unity-webgl-build.framework.js:3
↓ 8 callersFunctionget_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 callersFunctionlengthBytesUTF8
(str)
hosting/godot-html5-template/frontend/assets/ICPluginDemo.js:9
↓ 8 callersFunctionread_state
(f: impl FnOnce(&State) -> R)
rust/basic_ethereum/backend/state.rs:16
↓ 8 callersFunctionupdate
Generic update call helper
rust/unit_testable_rust_canister/backend/tests/integration_tests.rs:382
↓ 7 callersFunctionUTF8ArrayToString
(heap,idx,maxBytesToRead)
hosting/unity-webgl-template/frontend/assets/unity-webgl-build.framework.js:3
↓ 7 callersFunctioncaller
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 callersFunctionget
(key: u128)
rust/composite_query/bucket/lib.rs:18
↓ 7 callersFunctionsetTempRet0
(value)
hosting/godot-html5-template/frontend/assets/ICPluginDemo.js:9
↓ 6 callersFunctionUTF8ArrayToString
(u8Array,idx,maxBytesToRead)
hosting/godot-html5-template/frontend/assets/ICPluginDemo.js:9
↓ 6 callersFunction__write_sockaddr
(sa,family,addr,port)
hosting/godot-html5-template/frontend/assets/ICPluginDemo.js:9
↓ 6 callersFunctionderivation_path
(owner: &Principal)
rust/basic_ethereum/backend/ethereum_wallet.rs:103
↓ 6 callersFunctionemscriptenWebGLGet
(name_,p,type)
hosting/godot-html5-template/frontend/assets/ICPluginDemo.js:9
↓ 6 callersFunctionemscriptenWebGLGetTexPixelData
(type,format,width,height,pixels,internalFormat)
hosting/godot-html5-template/frontend/assets/ICPluginDemo.js:9
↓ 6 callersFunctionheapAccessShiftForWebGLHeap
(heap)
hosting/unity-webgl-template/frontend/assets/unity-webgl-build.framework.js:3
↓ 6 callersFunctionheapObjectForWebGLType
(type)
hosting/unity-webgl-template/frontend/assets/unity-webgl-build.framework.js:3
↓ 6 callersFunctionjstoi_q
(str)
hosting/godot-html5-template/frontend/assets/ICPluginDemo.js:9
↓ 6 callersFunctiono
(e)
hosting/unity-webgl-template/frontend/assets/unity-webgl-build.loader.js:1
↓ 6 callersFunctionpic_and_canister_id
(ca_key_information: CaKeyInformation)
rust/x509/backend/tests/integration_tests.rs:21
↓ 6 callersFunctionsign_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 callersFunctionstringToNewUTF8
(jsString)
hosting/unity-webgl-template/frontend/assets/unity-webgl-build.framework.js:3
↓ 6 callersFunctionstringToUTF8Array
(str,outU8Array,outIdx,maxBytesToWrite)
hosting/godot-html5-template/frontend/assets/ICPluginDemo.js:9
↓ 6 callersMethodto_bytes
(&self)
rust/daily_planner/backend/lib.rs:63
↓ 5 callersMethoda_packed
(&self)
rust/simd/backend/src/mats.rs:43
↓ 5 callersMethodb_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 callersFunctioncallRuntimeCallbacks
(callbacks)
hosting/godot-html5-template/frontend/assets/ICPluginDemo.js:9
↓ 5 callersFunctioncopyString
(element,value)
hosting/godot-html5-template/frontend/assets/ICPluginDemo.js:9
↓ 5 callersMethoddecrement_count
(&self)
rust/unit_testable_rust_canister/backend/src/canister_api.rs:45
↓ 5 callersFunctiondynCall
(sig,ptr,args)
hosting/unity-webgl-template/frontend/assets/unity-webgl-build.framework.js:3
↓ 5 callersFunctionfetch_root_ca_certificate
(pic: &pocket_ic::PocketIc, canister_id: Principal)
rust/x509/backend/tests/integration_tests.rs:41
↓ 5 callersFunctionformatCkBtc
(amount: bigint | number | null | undefined)
motoko/ic-pos/src/icpos_frontend/utils/formatCkBtc.ts:1
↓ 5 callersFunctiongetBasicIbeActor
()
rust/vetkeys/basic_ibe/frontend/src/main.ts:27
↓ 5 callersFunctiongetInputValue
(id)
rust/vetkeys/basic_vetkd/frontend/src/main.js:42
↓ 5 callersFunctiongetInputValue
(id)
motoko/vetkeys/basic_vetkd/frontend/src/main.js:42
↓ 5 callersFunctionhideLoading
()
rust/daily_planner/frontend/src/App.jsx:22
↓ 5 callersFunctionhideLoading
()
motoko/daily_planner/frontend/src/App.jsx:22
↓ 5 callersFunctionintArrayFromString
(stringy,dontAddNull,length)
hosting/unity-webgl-template/frontend/assets/unity-webgl-build.framework.js:3
↓ 5 callersFunctionremoveRunDependency
(id)
hosting/unity-webgl-template/frontend/assets/unity-webgl-build.framework.js:3
↓ 5 callersFunctions
(e,t,r)
hosting/unity-webgl-template/frontend/assets/unity-webgl-build.loader.js:1
next →1–100 of 2,537, ranked by callers