Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RunanywhereAI/runanywhere-sdks
/ functions
Functions
8,121 in github.com/RunanywhereAI/runanywhere-sdks
⨍
Functions
8,121
◇
Types & classes
2,192
↓ 2 callers
Function
clear_cache_internal
sdk/runanywhere-commons/src/infrastructure/model_management/model_assignment.cpp:43
↓ 2 callers
Method
clear_context
sdk/runanywhere-commons/src/backends/llamacpp/llamacpp_backend.cpp:1285
↓ 2 callers
Function
closeSheet
()
examples/web/RunAnywhereAI/src/components/model-selection.ts:104
↓ 2 callers
Function
collectDeviceInfo
sdk/runanywhere-kotlin/src/commonMain/kotlin/com/runanywhere/sdk/models/DeviceInfo.kt:80
↓ 2 callers
Function
collectJvmDeviceInfo
* Collect device info on standard JVM. */
sdk/runanywhere-kotlin/src/jvmAndroidMain/kotlin/com/runanywhere/sdk/models/DeviceInfo.kt:82
↓ 2 callers
Method
configure
sdk/runanywhere-react-native/packages/core/cpp/bridges/HTTPBridge.cpp:32
↓ 2 callers
Method
configure
* Configure HTTP service with base URL and API key
sdk/runanywhere-react-native/packages/core/src/services/Network/HTTPService.ts:167
↓ 2 callers
Function
configure_sampler
* Configure the sampler chain with the given generation parameters. * Only rebuilds the sampler when parameters actually change, avoiding * unnecess
sdk/runanywhere-commons/src/backends/llamacpp/rac_vlm_llamacpp.cpp:303
↓ 2 callers
Function
connect
()
Playground/on-device-browser-agent/src/popup/App.tsx:54
↓ 2 callers
Method
connectTimeout
sdk/runanywhere-kotlin/src/commonMain/kotlin/com/runanywhere/sdk/data/network/NetworkConfiguration.kt:140
↓ 2 callers
Method
contains
sdk/runanywhere-kotlin/src/androidMain/kotlin/com/runanywhere/sdk/storage/AndroidPlatformStorage.kt:68
↓ 2 callers
Method
containsToolCall
Playground/android-use-agent/app/src/main/java/com/runanywhere/agent/toolcalling/ToolCallParser.kt:73
↓ 2 callers
Method
convert
Playground/android-use-agent/app/src/main/java/com/runanywhere/agent/toolcalling/UnitConverter.kt:4
↓ 2 callers
Method
convertToSentryLevel
* Convert LogLevel to Sentry severity level
sdk/runanywhere-react-native/packages/core/src/Foundation/Logging/Destinations/SentryDestination.ts:175
↓ 2 callers
Function
convertVLMImageToNative
* Convert VLMImage discriminated union to native parameters * @internal
sdk/runanywhere-react-native/packages/llamacpp/src/RunAnywhere+VLM.ts:406
↓ 2 callers
Function
convert_int16_to_float32
* Convert Int16 PCM audio to Float32 normalized to [-1.0, 1.0]. * SDKs may send Int16 audio but Sherpa-ONNX expects Float32. */
sdk/runanywhere-commons/src/backends/onnx/rac_backend_onnx_register.cpp:47
↓ 2 callers
Function
convert_int16_to_float32
* Convert Int16 PCM audio to Float32 normalized to [-1.0, 1.0]. */
sdk/runanywhere-commons/src/backends/whispercpp/rac_backend_whispercpp_register.cpp:30
↓ 2 callers
Method
create
* Create secure storage instance for Android */
sdk/runanywhere-kotlin/src/androidMain/kotlin/com/runanywhere/sdk/security/SecureStorage.kt:42
↓ 2 callers
Method
createConversation
* Create a new conversation */
examples/android/RunAnywhereAI/app/src/main/java/com/runanywhere/runanywhereai/data/ConversationStore.kt:70
↓ 2 callers
Function
createErrorContext
(error?: Error)
sdk/runanywhere-react-native/packages/core/src/Foundation/ErrorTypes/ErrorContext.ts:30
↓ 2 callers
Function
createInitialState
()
sdk/runanywhere-react-native/packages/core/src/Foundation/Initialization/InitializationState.ts:89
↓ 2 callers
Method
createPlan
* Create an initial plan for a new task
Playground/on-device-browser-agent/src/background/agents/planner-agent.ts:36
↓ 2 callers
Method
create_attention_mask
sdk/runanywhere-commons/src/features/rag/onnx_embedding_provider.cpp:125
↓ 2 callers
Function
create_test_zip
* Create a ZIP archive containing test files. * Returns path to the created archive, or empty string on failure. */
sdk/runanywhere-commons/tests/test_extraction.cpp:147
↓ 2 callers
Function
current_time_seconds
sdk/runanywhere-commons/src/infrastructure/network/auth_manager.cpp:51
↓ 2 callers
Function
delete
(modelId: string)
sdk/runanywhere-react-native/packages/core/src/services/FileSystem.ts:138
↓ 2 callers
Method
delete
* Delete data from the specified namespace. * * @param namespace The storage namespace * @param key The key to delete * @param sto
sdk/runanywhere-kotlin/src/jvmAndroidMain/kotlin/com/runanywhere/sdk/foundation/bridge/extensions/CppBridgeStorage.kt:889
↓ 2 callers
Function
delete_file
* Delete a file. */
sdk/runanywhere-commons/src/infrastructure/download/download_orchestrator.cpp:195
↓ 2 callers
Function
describeImage
( imageData: string, // base64 encoded image prompt?: string )
Playground/on-device-browser-agent/src/offscreen/vision.ts:74
↓ 2 callers
Function
deserializeConversation
(json: string)
examples/react-native/RunAnywhereAI/src/stores/conversationStore.ts:48
↓ 2 callers
Method
destroy
* Destroy the SDK and clean up resources
sdk/runanywhere-react-native/packages/core/src/specs/RunAnywhereCore.nitro.ts:54
↓ 2 callers
Function
detectObstacle
(domState: DOMState)
Playground/on-device-browser-agent/src/background/agents/obstacle-detector.ts:36
↓ 2 callers
Function
detectToolCallFormat
( modelId: string | undefined, modelName: string | undefined )
examples/react-native/RunAnywhereAI/src/screens/ChatScreen.tsx:197
↓ 2 callers
Function
diffusion_create_service_internal
sdk/runanywhere-commons/src/features/diffusion/rac_diffusion_service.cpp:58
↓ 2 callers
Method
dismissClearConfirmation
examples/android/RunAnywhereAI/app/src/main/java/com/runanywhere/runanywhereai/presentation/benchmarks/viewmodel/BenchmarkViewModel.kt:175
↓ 2 callers
Method
dismissError
examples/android/RunAnywhereAI/app/src/main/java/com/runanywhere/runanywhereai/presentation/benchmarks/viewmodel/BenchmarkViewModel.kt:184
↓ 2 callers
Function
dismissOverlays
* Attempt to dismiss overlays/modals that might block interaction
Playground/on-device-browser-agent/src/content/action-executor.ts:152
↓ 2 callers
Method
dismissRestartDialog
* Dismiss the restart dialog */
examples/android/RunAnywhereAI/app/src/main/java/com/runanywhere/runanywhereai/presentation/settings/SettingsViewModel.kt:590
↓ 2 callers
Method
downloadAdapter
Download a LoRA adapter GGUF file via the SDK. */
examples/android/RunAnywhereAI/app/src/main/java/com/runanywhere/runanywhereai/presentation/lora/LoraViewModel.kt:190
↓ 2 callers
Method
downloadAndStoreStreaming
* Download a file and stream it directly to persistent storage (OPFS or local FS) * without buffering the entire payload in memory. * * Retur
sdk/runanywhere-web/packages/core/src/Infrastructure/ModelDownloader.ts:384
↓ 2 callers
Method
downloadFile
* Download a file from a URL with optional progress callback. * Exposed so ModelManager can use it for on-demand file downloads during load. *
sdk/runanywhere-web/packages/core/src/Infrastructure/ModelDownloader.ts:341
↓ 2 callers
Method
embed
sdk/runanywhere-commons/src/features/rag/onnx_embedding_provider.cpp:1033
↓ 2 callers
Method
embed_batch
sdk/runanywhere-commons/src/features/rag/onnx_embedding_provider.cpp:1037
↓ 2 callers
Function
embeddings_create_internal
sdk/runanywhere-commons/src/features/embeddings/rac_embeddings_service.cpp:28
↓ 2 callers
Method
emitDownloadProgress
* Emit download progress event via C++. */
sdk/runanywhere-kotlin/src/jvmAndroidMain/kotlin/com/runanywhere/sdk/foundation/bridge/extensions/CppBridgeEvents.kt:427
↓ 2 callers
Method
emitModelDownloadCompleted
(modelId: string, fileSizeBytes: number, durationMs: number)
sdk/runanywhere-web/packages/core/src/services/AnalyticsEmitter.ts:49
↓ 2 callers
Method
emitModelDownloadFailed
(modelId: string, errorMessage: string)
sdk/runanywhere-web/packages/core/src/services/AnalyticsEmitter.ts:50
↓ 2 callers
Method
emitModelDownloadStarted
(modelId: string)
sdk/runanywhere-web/packages/core/src/services/AnalyticsEmitter.ts:48
↓ 2 callers
Method
emitSTTModelLoadCompleted
(modelId: string, modelName: string, durationMs: number, framework: number)
sdk/runanywhere-web/packages/core/src/services/AnalyticsEmitter.ts:23
↓ 2 callers
Method
emitTTSSynthesisCompleted
( synthesisId: string, modelId: string, characterCount: number, audioDurationMs: number, audioSizeByte
sdk/runanywhere-web/packages/core/src/services/AnalyticsEmitter.ts:36
↓ 2 callers
Method
emitTTSVoiceLoadCompleted
(modelId: string, modelName: string, durationMs: number, framework: number)
sdk/runanywhere-web/packages/core/src/services/AnalyticsEmitter.ts:34
↓ 2 callers
Method
emitVADSpeechEnded
(speechDurationMs: number, energyLevel: number)
sdk/runanywhere-web/packages/core/src/services/AnalyticsEmitter.ts:45
↓ 2 callers
Method
emitVADSpeechStarted
()
sdk/runanywhere-web/packages/core/src/services/AnalyticsEmitter.ts:44
↓ 2 callers
Method
encode_unpadded
sdk/runanywhere-commons/src/features/rag/onnx_embedding_provider.cpp:89
↓ 2 callers
Method
ensureConversationInList
* Ensure a conversation is in the in-memory list and persisted. * If not present (by id), adds it at the front so it appears in history. */
examples/android/RunAnywhereAI/app/src/main/java/com/runanywhere/runanywhereai/data/ConversationStore.kt:94
↓ 2 callers
Method
ensureDiffusionComponent
()
sdk/runanywhere-web/packages/llamacpp/src/Extensions/RunAnywhere+Diffusion.ts:54
↓ 2 callers
Method
ensureNativeLibraryLoaded
* Ensure the LlamaCPP JNI library is loaded. * * Loads librac_backend_llamacpp_jni.so and its dependencies: * - librac_backend_llamacpp
sdk/runanywhere-kotlin/modules/runanywhere-core-llamacpp/src/jvmAndroidMain/kotlin/com/runanywhere/sdk/llm/llamacpp/LlamaCPPBridge.kt:48
↓ 2 callers
Method
ensureNativeLibraryLoaded
* Ensure the ONNX JNI library is loaded. * * Loads librac_backend_onnx_jni.so and its dependencies: * - librac_backend_onnx.so (ONNX C+
sdk/runanywhere-kotlin/modules/runanywhere-core-onnx/src/jvmAndroidMain/kotlin/com/runanywhere/sdk/core/onnx/ONNXBridge.kt:49
↓ 2 callers
Method
ensureNativeLibraryLoaded
* Ensure the RAG JNI library is loaded. * * Loads librac_backend_rag_jni.so which links against librac_commons.so * (the main SDK's lib
sdk/runanywhere-kotlin/src/jvmAndroidMain/kotlin/com/runanywhere/sdk/rag/RAGBridge.kt:46
↓ 2 callers
Function
ensureVADLoaded
()
examples/web/RunAnywhereAI/src/services/model-manager.ts:194
↓ 2 callers
Method
ensureVLMComponent
()
sdk/runanywhere-web/packages/llamacpp/src/Extensions/RunAnywhere+VLM.ts:71
↓ 2 callers
Method
error
sdk/runanywhere-kotlin/src/commonMain/kotlin/com/runanywhere/sdk/public/events/SDKEvent.kt:393
↓ 2 callers
Function
estimateAudioLength
Private helper
sdk/runanywhere-kotlin/src/jvmAndroidMain/kotlin/com/runanywhere/sdk/public/extensions/RunAnywhere+STT.jvmAndroid.kt:136
↓ 2 callers
Method
evaluate
Playground/android-use-agent/app/src/main/java/com/runanywhere/agent/toolcalling/SimpleExpressionEvaluator.kt:5
↓ 2 callers
Function
executeAction
( actionType: ActionType, params: Record<string, string> )
Playground/on-device-browser-agent/src/content/action-executor.ts:48
↓ 2 callers
Method
executeSTTRequest
* Execute a platform STT request. * * @param request The STT request * @return The STT response */
sdk/runanywhere-kotlin/src/jvmAndroidMain/kotlin/com/runanywhere/sdk/foundation/bridge/extensions/CppBridgePlatform.kt:548
↓ 2 callers
Method
executeTTSRequest
* Execute a platform TTS request. * * @param request The TTS request * @return The TTS response */
sdk/runanywhere-kotlin/src/jvmAndroidMain/kotlin/com/runanywhere/sdk/foundation/bridge/extensions/CppBridgePlatform.kt:540
↓ 2 callers
Method
executeTask
* Execute a task from start to finish * @param task - Natural language task description * @param getDOMState - Function to get current DOM state
Playground/on-device-browser-agent/src/background/agents/executor.ts:62
↓ 2 callers
Function
executeTool
(toolCall: ToolCall)
sdk/runanywhere-react-native/packages/core/src/Public/Extensions/RunAnywhere+ToolCalling.ts:212
↓ 2 callers
Function
executeType
* Type text into an input element
Playground/on-device-browser-agent/src/content/action-executor.ts:293
↓ 2 callers
Function
executeWait
* Wait for an element to appear or a fixed time
Playground/on-device-browser-agent/src/content/action-executor.ts:496
↓ 2 callers
Method
existsInActualOPFS
Check if data exists in actual OPFS storage (NOT memory cache).
sdk/runanywhere-web/packages/core/src/Infrastructure/ModelDownloader.ts:660
↓ 2 callers
Method
existsInOPFS
Check existence in local storage, OPFS, or in-memory cache.
sdk/runanywhere-web/packages/core/src/Infrastructure/ModelDownloader.ts:650
↓ 2 callers
Method
extractArchive
* Extract an archive (tar.bz2, tar.gz, zip) * @param archivePath Path to the archive * @param destPath Destination directory
sdk/runanywhere-react-native/packages/core/src/specs/RunAnywhereCore.nitro.ts:294
↓ 2 callers
Function
extractTarGz
(tarGzData: Uint8Array)
sdk/runanywhere-web/packages/core/src/Infrastructure/ArchiveUtility.ts:60
↓ 2 callers
Method
extractYouTubeQuery
* Extract search query for YouTube tasks
Playground/on-device-browser-agent/src/background/agents/site-router.ts:125
↓ 2 callers
Function
fastHash
Fast hash via LUT – returns 0..1. */
examples/android/RunAnywhereAI/app/src/main/java/com/runanywhere/runanywhereai/presentation/voice/VoiceAssistantParticleView.kt:98
↓ 2 callers
Method
fetchModelAssignments
* Fetch model assignments from the backend. * * This fetches models assigned to this device based on device type and platform. * Result
sdk/runanywhere-kotlin/src/jvmAndroidMain/kotlin/com/runanywhere/sdk/foundation/bridge/extensions/CppBridgeModelAssignment.kt:988
↓ 2 callers
Method
fileExists
sdk/runanywhere-kotlin/src/jvmAndroidMain/kotlin/com/runanywhere/sdk/foundation/bridge/extensions/CppBridgePlatformAdapter.kt:601
↓ 2 callers
Function
filename_from_path
Extract filename from path
sdk/runanywhere-commons/src/core/rac_logger.cpp:63
↓ 2 callers
Function
fillVlmImage
Helper: Populate rac_vlm_image_t from JNI parameters
sdk/runanywhere-commons/src/jni/runanywhere_commons_jni.cpp:3979
↓ 2 callers
Method
filterObject
(obj: Record<string, unknown>)
sdk/runanywhere-web/packages/llamacpp/src/Foundation/TelemetryService.ts:351
↓ 2 callers
Function
findArchivePrefix
(paths: string[])
sdk/runanywhere-web/packages/onnx/src/ONNXProvider.ts:359
↓ 2 callers
Function
findElementByText
* Find clickable element by visible text
Playground/on-device-browser-agent/src/content/action-executor.ts:596
↓ 2 callers
Method
findPattern
* Find a matching pattern in the page text
Playground/on-device-browser-agent/src/background/agents/change-observer.ts:202
↓ 2 callers
Method
findSearch
(dom: DOMState)
Playground/on-device-browser-agent/src/background/agents/navigator-agent.ts:333
↓ 2 callers
Method
findSite
(task: string)
Playground/on-device-browser-agent/src/background/agents/navigator-agent.ts:316
↓ 2 callers
Function
find_matching_brace
* @brief Find matching closing brace for JSON object * * Tracks string boundaries to ignore braces inside strings. * * @param str String to search
sdk/runanywhere-commons/src/features/llm/tool_calling.cpp:184
↓ 2 callers
Function
find_single_model_file
* Find a single model file in a directory, searching recursively up to max_depth levels. * Ported from Swift's ExtractionService.findSingleModelFile(
sdk/runanywhere-commons/src/infrastructure/download/download_orchestrator.cpp:209
↓ 2 callers
Function
find_str
* @brief Find substring in string */
sdk/runanywhere-commons/src/features/llm/tool_calling.cpp:159
↓ 2 callers
Method
forAdapterPath
* Get example prompts for a loaded adapter by its file path. * Extracts the filename from the path and looks up prompts. */
examples/android/RunAnywhereAI/app/src/main/java/com/runanywhere/runanywhereai/data/LoraExamplePrompts.kt:22
↓ 2 callers
Function
formatDuration
(ms: number)
examples/react-native/RunAnywhereAI/src/screens/STTScreen.tsx:280
↓ 2 callers
Function
formatLocation
(context: ErrorContext)
sdk/runanywhere-react-native/packages/core/src/Foundation/ErrorTypes/ErrorContext.ts:138
↓ 2 callers
Function
formatTime
examples/android/RunAnywhereAI/app/src/main/java/com/runanywhere/runanywhereai/presentation/tts/TextToSpeechScreen.kt:784
↓ 2 callers
Function
formatTime
(seconds: number)
examples/react-native/RunAnywhereAI/src/screens/TTSScreen.tsx:613
↓ 2 callers
Function
format_vlm_prompt_with_template
* Format prompt using model's built-in chat template via llama_chat_apply_template. * Falls back to manual formatting if template application fails.
sdk/runanywhere-commons/src/backends/llamacpp/rac_vlm_llamacpp.cpp:182
↓ 2 callers
Function
frameworkFromString
Convert TypeScript framework string to C++ enum
sdk/runanywhere-react-native/packages/core/cpp/HybridRunAnywhereCore.cpp:268
↓ 2 callers
Method
freeAll
(ptrs: number[])
sdk/runanywhere-web/packages/llamacpp/src/Foundation/TelemetryService.ts:396
↓ 2 callers
Function
free_auth_state_strings
sdk/runanywhere-commons/src/infrastructure/network/auth_manager.cpp:37
↓ 2 callers
Method
fromRACResult
Create from a RACommons rac_result_t error code
sdk/runanywhere-web/packages/core/src/Foundation/ErrorTypes.ts:80
← previous
next →
1,101–1,200 of 8,121, ranked by callers