Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cactus-compute/cactus-react-native
/ functions
Functions
755 in github.com/cactus-compute/cactus-react-native
⨍
Functions
755
◇
Types & classes
285
↓ 133 callers
Method
size
ios/cactus.xcframework/ios-arm64/cactus.framework/Headers/engine.h:942
↓ 102 callers
Method
size
ios/cactus.xcframework/ios-arm64-simulator/cactus.framework/Headers/engine.h:942
↓ 39 callers
Function
getErrorMessage
(error: unknown)
src/utils/error.ts:1
↓ 32 callers
Method
resize
( path: string, height: number, width: number, quality: number )
src/specs/CactusImage.nitro.ts:6
↓ 21 callers
Method
destroy
()
src/specs/Cactus.nitro.ts:68
↓ 21 callers
Method
get
(ids: number[])
src/specs/CactusIndex.nitro.ts:24
↓ 16 callers
Method
init
( modelPath: string, corpusDir?: string, cacheIndex?: boolean )
src/specs/Cactus.nitro.ts:4
↓ 15 callers
Function
skip_whitespace
ios/cactus.xcframework/ios-arm64/cactus.framework/Headers/gemma_tools.h:22
↓ 15 callers
Function
skip_whitespace
ios/cactus.xcframework/ios-arm64-simulator/cactus.framework/Headers/gemma_tools.h:22
↓ 13 callers
Method
reset
()
src/specs/Cactus.nitro.ts:66
↓ 11 callers
Method
log
ios/cactus.xcframework/ios-arm64/cactus.framework/Headers/graph.h:43
↓ 11 callers
Method
modelExists
(model: string)
src/specs/CactusFileSystem.nitro.ts:13
↓ 10 callers
Method
download
({ onProgress, }: CactusLMDownloadParams = {})
src/classes/CactusLM.ts:65
↓ 10 callers
Function
escape
ios/cactus.xcframework/ios-arm64/cactus.framework/Headers/gemma_tools.h:18
↓ 10 callers
Function
escape
ios/cactus.xcframework/ios-arm64-simulator/cactus.framework/Headers/gemma_tools.h:18
↓ 9 callers
Function
skip_ws
ios/cactus.xcframework/ios-arm64/cactus.framework/Headers/cactus_utils.h:539
↓ 9 callers
Function
skip_ws
ios/cactus.xcframework/ios-arm64-simulator/cactus.framework/Headers/cactus_utils.h:539
↓ 9 callers
Method
stop
()
src/specs/Cactus.nitro.ts:67
↓ 8 callers
Method
embed
( text: string, embeddingBufferSize: number, normalize: boolean )
src/specs/Cactus.nitro.ts:49
↓ 8 callers
Function
escape_json_string
ios/cactus.xcframework/ios-arm64/cactus.framework/Headers/cactus_utils.h:382
↓ 8 callers
Function
escape_json_string
ios/cactus.xcframework/ios-arm64-simulator/cactus.framework/Headers/cactus_utils.h:382
↓ 8 callers
Function
stream_store_f16x8
ios/cactus.xcframework/ios-arm64/cactus.framework/Headers/kernel_utils.h:34
↓ 8 callers
Function
stream_store_f16x8
ios/cactus.xcframework/ios-arm64-simulator/cactus.framework/Headers/kernel_utils.h:34
↓ 7 callers
Method
complete
( messagesJson: string, responseBufferSize: number, optionsJson?: string, toolsJson?: string,
src/specs/Cactus.nitro.ts:9
↓ 7 callers
Function
extract_json_string
ios/cactus.xcframework/ios-arm64/cactus.framework/Headers/gemma_tools.h:26
↓ 7 callers
Function
extract_json_string
ios/cactus.xcframework/ios-arm64-simulator/cactus.framework/Headers/gemma_tools.h:26
↓ 7 callers
Method
getModelName
()
src/classes/CactusAudio.ts:145
↓ 7 callers
Method
getModelName
()
src/classes/CactusSTT.ts:256
↓ 7 callers
Method
getModelName
()
src/classes/CactusLM.ts:287
↓ 7 callers
Function
getRegistry
()
src/modelRegistry.ts:7
↓ 6 callers
Function
to_upper
ios/cactus.xcframework/ios-arm64/cactus.framework/Headers/gemma_tools.h:12
↓ 6 callers
Function
to_upper
ios/cactus.xcframework/ios-arm64-simulator/cactus.framework/Headers/gemma_tools.h:12
↓ 5 callers
Method
add
( ids: number[], documents: string[], embeddings: number[][], metadatas?: string[] )
src/specs/CactusIndex.nitro.ts:17
↓ 5 callers
Method
call
nitrogen/generated/ios/Cactus-Swift-Cxx-Bridge.hpp:153
↓ 5 callers
Method
downloadModel
( model: string, from: string, callback?: (progress: number) => void )
src/specs/CactusFileSystem.nitro.ts:15
↓ 5 callers
Method
getCactusDirectory
()
src/specs/CactusFileSystem.nitro.ts:6
↓ 5 callers
Method
getModelPath
(model: string)
src/specs/CactusFileSystem.nitro.ts:14
↓ 5 callers
Function
handle_error_response
ios/cactus.xcframework/ios-arm64/cactus.framework/Headers/cactus_utils.h:650
↓ 5 callers
Function
handle_error_response
ios/cactus.xcframework/ios-arm64-simulator/cactus.framework/Headers/cactus_utils.h:650
↓ 5 callers
Function
parseVersionTag
(tag: string)
src/modelRegistry.ts:11
↓ 5 callers
Method
streamTranscribeStop
()
src/specs/Cactus.nitro.ts:43
↓ 5 callers
Function
useCactusLM
({ model = 'qwen3-0.6b', corpusDir = undefined, cacheIndex = false, options: modelOptions = { quan
src/hooks/useCactusLM.ts:21
↓ 4 callers
Method
audioEmbed
(audioPath: string, embeddingBufferSize: number)
src/specs/Cactus.nitro.ts:55
↓ 4 callers
Function
get_json_string_value
ios/cactus.xcframework/ios-arm64/cactus.framework/Headers/gemma_tools.h:190
↓ 4 callers
Function
get_json_string_value
ios/cactus.xcframework/ios-arm64-simulator/cactus.framework/Headers/gemma_tools.h:190
↓ 4 callers
Method
imageEmbed
(imagePath: string, embeddingBufferSize: number)
src/specs/Cactus.nitro.ts:54
↓ 4 callers
Method
init
()
src/classes/CactusSTT.ts:93
↓ 4 callers
Method
init
()
src/classes/CactusLM.ts:104
↓ 4 callers
Method
invoke
* Invokes the function this `JFunc_void_double` instance holds through JNI. */
nitrogen/generated/android/c++/JFunc_void_double.hpp:31
↓ 4 callers
Function
isCurrent
()
src/hooks/useCactusSTT.ts:111
↓ 4 callers
Function
match_quote_tag
ios/cactus.xcframework/ios-arm64/cactus.framework/Headers/gemma_tools.h:407
↓ 4 callers
Function
match_quote_tag
ios/cactus.xcframework/ios-arm64-simulator/cactus.framework/Headers/gemma_tools.h:407
↓ 4 callers
Function
parse_json_object_raw
ios/cactus.xcframework/ios-arm64/cactus.framework/Headers/gemma_tools.h:125
↓ 4 callers
Function
parse_json_object_raw
ios/cactus.xcframework/ios-arm64-simulator/cactus.framework/Headers/gemma_tools.h:125
↓ 4 callers
Method
query
( embeddings: number[][], optionsJson?: string )
src/specs/CactusIndex.nitro.ts:25
↓ 4 callers
Method
setTelemetryEnvironment
(cacheDir: string)
src/specs/Cactus.nitro.ts:69
↓ 4 callers
Method
streamTranscribeProcess
(audio: number[])
src/specs/Cactus.nitro.ts:42
↓ 4 callers
Method
streamTranscribeStart
(optionsJson?: string)
src/specs/Cactus.nitro.ts:41
↓ 4 callers
Method
toString
nitrogen/generated/android/c++/JHybridCactusImageSpec.cpp:38
↓ 4 callers
Method
transcribe
( audio: string | number[], prompt: string, responseBufferSize: number, optionsJson?: string,
src/specs/Cactus.nitro.ts:29
↓ 4 callers
Function
trim_lfm2_slice
ios/cactus.xcframework/ios-arm64/cactus.framework/Headers/cactus_utils.h:1335
↓ 4 callers
Function
trim_lfm2_slice
ios/cactus.xcframework/ios-arm64-simulator/cactus.framework/Headers/cactus_utils.h:1335
↓ 3 callers
Function
append_lfm2_call
ios/cactus.xcframework/ios-arm64/cactus.framework/Headers/cactus_utils.h:1339
↓ 3 callers
Function
append_lfm2_call
ios/cactus.xcframework/ios-arm64-simulator/cactus.framework/Headers/cactus_utils.h:1339
↓ 3 callers
Method
compact
()
src/specs/CactusIndex.nitro.ts:29
↓ 3 callers
Method
diarize
( audio: string | number[], responseBufferSize: number, optionsJson?: string )
src/specs/Cactus.nitro.ts:56
↓ 3 callers
Method
embedSpeaker
( audio: string | number[], responseBufferSize: number, optionsJson?: string )
src/specs/Cactus.nitro.ts:61
↓ 3 callers
Method
enqueue
ios/cactus.xcframework/ios-arm64/cactus.framework/Headers/kernel_utils.h:349
↓ 3 callers
Method
enqueue
ios/cactus.xcframework/ios-arm64-simulator/cactus.framework/Headers/kernel_utils.h:349
↓ 3 callers
Function
find_matching_delimiter
ios/cactus.xcframework/ios-arm64/cactus.framework/Headers/cactus_utils.h:404
↓ 3 callers
Function
find_matching_delimiter
ios/cactus.xcframework/ios-arm64-simulator/cactus.framework/Headers/cactus_utils.h:404
↓ 3 callers
Method
getIndexPath
(name: string)
src/specs/CactusFileSystem.nitro.ts:22
↓ 3 callers
Method
getModels
()
src/classes/CactusLM.ts:279
↓ 3 callers
Method
init
()
src/classes/CactusAudio.ts:81
↓ 3 callers
Function
parse_value
ios/cactus.xcframework/ios-arm64/cactus.framework/Headers/cactus_utils.h:608
↓ 3 callers
Function
parse_value
ios/cactus.xcframework/ios-arm64-simulator/cactus.framework/Headers/cactus_utils.h:608
↓ 3 callers
Method
readFile
(path: string)
src/specs/CactusFileSystem.nitro.ts:10
↓ 3 callers
Method
scoreWindow
( tokens: number[], start: number, end: number, context: number )
src/specs/Cactus.nitro.ts:23
↓ 3 callers
Function
simd_align
ios/cactus.xcframework/ios-arm64/cactus.framework/Headers/kernel_utils.h:160
↓ 3 callers
Function
simd_align
ios/cactus.xcframework/ios-arm64-simulator/cactus.framework/Headers/kernel_utils.h:160
↓ 3 callers
Method
tokenize
(text: string)
src/specs/Cactus.nitro.ts:22
↓ 3 callers
Method
vad
( audio: string | number[], responseBufferSize: number, optionsJson?: string )
src/specs/Cactus.nitro.ts:44
↓ 3 callers
Method
wait
ios/cactus.xcframework/ios-arm64/cactus.framework/Headers/kernel_utils.h:528
↓ 3 callers
Method
wait
ios/cactus.xcframework/ios-arm64-simulator/cactus.framework/Headers/kernel_utils.h:528
↓ 2 callers
Method
add_future
ios/cactus.xcframework/ios-arm64/cactus.framework/Headers/kernel_utils.h:524
↓ 2 callers
Method
add_future
ios/cactus.xcframework/ios-arm64-simulator/cactus.framework/Headers/kernel_utils.h:524
↓ 2 callers
Function
args_to_json
ios/cactus.xcframework/ios-arm64/cactus.framework/Headers/gemma_tools.h:431
↓ 2 callers
Function
args_to_json
ios/cactus.xcframework/ios-arm64-simulator/cactus.framework/Headers/gemma_tools.h:431
↓ 2 callers
Method
base64
(path: string)
src/specs/CactusImage.nitro.ts:5
↓ 2 callers
Function
compareVersions
( a: [number, number, number], b: [number, number, number] )
src/modelRegistry.ts:17
↓ 2 callers
Method
delete
(ids: number[])
src/native/CactusIndex.ts:26
↓ 2 callers
Method
deleteFile
(path: string)
src/specs/CactusFileSystem.nitro.ts:11
↓ 2 callers
Method
deleteModel
(model: string)
src/specs/CactusFileSystem.nitro.ts:20
↓ 2 callers
Method
detectLanguage
( audio: string | number[], responseBufferSize: number, optionsJson?: string )
src/specs/Cactus.nitro.ts:36
↓ 2 callers
Method
fileExists
(path: string)
src/specs/CactusFileSystem.nitro.ts:8
↓ 2 callers
Function
find_quote_tag
ios/cactus.xcframework/ios-arm64/cactus.framework/Headers/gemma_tools.h:413
↓ 2 callers
Function
find_quote_tag
ios/cactus.xcframework/ios-arm64-simulator/cactus.framework/Headers/gemma_tools.h:413
↓ 2 callers
Function
format_argument
ios/cactus.xcframework/ios-arm64/cactus.framework/Headers/gemma_tools.h:49
↓ 2 callers
Function
format_argument
ios/cactus.xcframework/ios-arm64-simulator/cactus.framework/Headers/gemma_tools.h:49
↓ 2 callers
Function
get_optimal_thread_count
ios/cactus.xcframework/ios-arm64/cactus.framework/Headers/kernel_utils.h:433
next →
1–100 of 755, ranked by callers