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
↓ 1 callers
Function
calculate_mean_square
* Compute mean-square energy (sum_of_squares / n) WITHOUT the final sqrt. * Used in the hot path to avoid a per-frame sqrt; the caller compares * th
sdk/runanywhere-commons/src/features/vad/energy_vad.cpp:111
↓ 1 callers
Method
canHandle
* Check if LlamaCPP can handle a given model
sdk/runanywhere-react-native/packages/llamacpp/src/LlamaCppProvider.ts:154
↓ 1 callers
Method
canHandleSTT
* Check if ONNX can handle STT models
sdk/runanywhere-react-native/packages/onnx/src/ONNXProvider.ts:104
↓ 1 callers
Method
canHandleTTS
* Check if ONNX can handle TTS models
sdk/runanywhere-react-native/packages/onnx/src/ONNXProvider.ts:117
↓ 1 callers
Method
canHandleVAD
* Check if ONNX can handle VAD (always true for Silero VAD)
sdk/runanywhere-react-native/packages/onnx/src/ONNXProvider.ts:126
↓ 1 callers
Function
cancel
()
sdk/runanywhere-react-native/packages/llamacpp/src/RunAnywhere+VLM.ts:373
↓ 1 callers
Method
cancelAllDownloads
* Cancel all active downloads. * * @return Number of downloads cancelled */
sdk/runanywhere-kotlin/src/jvmAndroidMain/kotlin/com/runanywhere/sdk/foundation/bridge/extensions/CppBridgeDownload.kt:1462
↓ 1 callers
Function
cancelRecording
()
sdk/runanywhere-react-native/packages/core/src/Public/Extensions/RunAnywhere+Audio.ts:287
↓ 1 callers
Method
cancelRequest
* Cancel an ongoing request. * * @param serviceType The service type */
sdk/runanywhere-kotlin/src/jvmAndroidMain/kotlin/com/runanywhere/sdk/foundation/bridge/extensions/CppBridgePlatform.kt:555
↓ 1 callers
Function
cancelTTS
()
sdk/runanywhere-react-native/packages/core/src/Public/Extensions/RunAnywhere+TTS.ts:409
↓ 1 callers
Method
cancelTTS
* Cancel ongoing TTS synthesis
sdk/runanywhere-react-native/packages/core/src/specs/RunAnywhereCore.nitro.ts:474
↓ 1 callers
Method
cancelVLMGeneration
Cancel ongoing VLM generation
sdk/runanywhere-react-native/packages/llamacpp/src/specs/RunAnywhereLlama.nitro.ts:213
↓ 1 callers
Method
cancel_fast
Non-blocking cancel for barge-in: signals producer to stop and silences audio. Does NOT join the producer — the thread finishes on its own after the c
Playground/openclaw-hybrid-assistant/src/pipeline/voice_pipeline.cpp:426
↓ 1 callers
Method
captureEvent
* Capture an event for error/fault level logs
sdk/runanywhere-react-native/packages/core/src/Foundation/Logging/Destinations/SentryDestination.ts:151
↓ 1 callers
Method
captureEvent
* Capture an error event in Sentry. */
sdk/runanywhere-kotlin/src/jvmAndroidMain/kotlin/com/runanywhere/sdk/foundation/logging/SentryDestination.kt:104
↓ 1 callers
Method
captureException
(exception: Error, hint?: { extra?: Record<string, unknown> })
sdk/runanywhere-react-native/packages/core/src/Foundation/Logging/Destinations/SentryDestination.ts:45
↓ 1 callers
Method
captureFrame
* Capture the latest camera frame as RGB bytes. * Mirrors iOS captureOutput delegate that stores currentFrame (CVPixelBuffer). * * Came
examples/android/RunAnywhereAI/app/src/main/java/com/runanywhere/runanywhereai/presentation/vision/VLMViewModel.kt:180
↓ 1 callers
Method
captureMessage
( message: string, level?: 'fatal' | 'error' | 'warning' | 'info' | 'debug' )
sdk/runanywhere-react-native/packages/core/src/Foundation/Logging/Destinations/SentryDestination.ts:40
↓ 1 callers
Function
captureScreenshot
* Capture screenshot of the visible tab * Returns base64 jpeg data URL or undefined if capture fails
Playground/on-device-browser-agent/src/background/index.ts:371
↓ 1 callers
Method
captureScreenshotBase64
* Capture screenshot and return as base64-encoded JPEG string. * Resizes to half resolution and compresses as JPEG at 60% quality. */
Playground/android-use-agent/app/src/main/java/com/runanywhere/agent/accessibility/AgentAccessibilityService.kt:381
↓ 1 callers
Function
categoryFromString
Convert TypeScript category string to C++ enum
sdk/runanywhere-react-native/packages/core/cpp/HybridRunAnywhereCore.cpp:281
↓ 1 callers
Function
checkCompatibility
(modelId: string)
sdk/runanywhere-react-native/packages/core/src/Public/Extensions/RunAnywhere+Models.ts:617
↓ 1 callers
Method
checkDownloadFit
(modelId: string)
sdk/runanywhere-web/packages/core/src/Infrastructure/ModelManager.ts:223
↓ 1 callers
Function
checkModelStatus
()
examples/react-native/RunAnywhereAI/src/screens/VoiceAssistantScreen.tsx:107
↓ 1 callers
Method
checkModelStatus
examples/android/RunAnywhereAI/app/src/main/java/com/runanywhere/runanywhereai/presentation/vision/VLMViewModel.kt:97
↓ 1 callers
Method
checkServiceStatus
Playground/android-use-agent/app/src/main/java/com/runanywhere/agent/AgentViewModel.kt:107
↓ 1 callers
Method
checkSpeechState
* Check speech state based on audio level * Matches Swift: checkSpeechState(level:)
sdk/runanywhere-react-native/packages/core/src/Features/VoiceSession/VoiceSessionHandle.ts:494
↓ 1 callers
Method
checkStorageJson
Check storage availability as JSON. */
sdk/runanywhere-kotlin/src/jvmAndroidMain/kotlin/com/runanywhere/sdk/foundation/bridge/extensions/CppBridgeFileManager.kt:99
↓ 1 callers
Method
checkStorageQuota
* Check whether a model will fit in OPFS without eviction. * * Uses `navigator.storage.estimate()` for available space and compares * against
sdk/runanywhere-web/packages/core/src/Infrastructure/ModelDownloader.ts:155
↓ 1 callers
Method
checkSuccess
* Check a C++ return code and throw an SDKError if it indicates failure. * * @param rawValue The C++ return code to check * @param oper
sdk/runanywhere-kotlin/src/commonMain/kotlin/com/runanywhere/sdk/foundation/errors/CommonsErrorMapping.kt:253
↓ 1 callers
Method
chooseDirectory
* Prompt the user to choose a directory for model storage. * Opens the OS folder picker dialog. * Stores the directory handle in IndexedDB for f
sdk/runanywhere-web/packages/core/src/Infrastructure/LocalFileStorage.ts:121
↓ 1 callers
Function
cleanup
()
sdk/runanywhere-web/packages/core/src/Public/RunAnywhere.ts:202
↓ 1 callers
Method
cleanup
* Clean up allocated callbacks and memory.
sdk/runanywhere-web/packages/llamacpp/src/Foundation/PlatformAdapter.ts:131
↓ 1 callers
Method
cleanup
* Release all resources held by this backend. * Called during SDK shutdown in reverse registration order.
sdk/runanywhere-web/packages/core/src/Infrastructure/ExtensionPoint.ts:79
↓ 1 callers
Method
cleanupVoiceAgent
* Cleanup voice agent resources
sdk/runanywhere-react-native/packages/core/src/specs/RunAnywhereCore.nitro.ts:648
↓ 1 callers
Method
clear
sdk/runanywhere-kotlin/src/androidMain/kotlin/com/runanywhere/sdk/storage/AndroidPlatformStorage.kt:64
↓ 1 callers
Method
clearAll
examples/android/RunAnywhereAI/app/src/main/java/com/runanywhere/runanywhereai/presentation/benchmarks/models/BenchmarkStore.kt:44
↓ 1 callers
Method
clearAllResults
examples/android/RunAnywhereAI/app/src/main/java/com/runanywhere/runanywhereai/presentation/benchmarks/viewmodel/BenchmarkViewModel.kt:179
↓ 1 callers
Method
clearAllTools
examples/android/RunAnywhereAI/app/src/main/java/com/runanywhere/runanywhereai/presentation/settings/ToolSettingsViewModel.kt:191
↓ 1 callers
Method
clearApiConfiguration
* Clear API configuration from secure storage */
examples/android/RunAnywhereAI/app/src/main/java/com/runanywhere/runanywhereai/presentation/settings/SettingsViewModel.kt:528
↓ 1 callers
Method
clearAuth
sdk/runanywhere-commons/src/core/sdk_state.cpp:231
↓ 1 callers
Method
clearAuthTokens
* Clear stored auth tokens
sdk/runanywhere-react-native/packages/core/src/Foundation/Security/SecureStorageService.ts:359
↓ 1 callers
Method
clearCache
* Clear all cached values
sdk/runanywhere-react-native/packages/core/src/Foundation/Security/SecureStorageService.ts:443
↓ 1 callers
Function
clearChat
Clear all messages and reset to empty state.
examples/web/RunAnywhereAI/src/views/chat.ts:419
↓ 1 callers
Method
clearConversation
examples/android/RunAnywhereAI/app/src/main/java/com/runanywhere/runanywhereai/presentation/voice/VoiceAssistantViewModel.kt:1100
↓ 1 callers
Function
clearDeviceRegistration
* Clear device registration flag (for testing) * Forces re-registration on next SDK init
sdk/runanywhere-react-native/packages/core/src/Public/RunAnywhere.ts:473
↓ 1 callers
Method
clearDeviceRegistration
* Clear device registration flag (for testing) * Forces re-registration on next SDK init
sdk/runanywhere-react-native/packages/core/src/specs/RunAnywhereCore.nitro.ts:124
↓ 1 callers
Method
clearDocument
* Clear the loaded document and destroy the RAG pipeline. * * Resets all document and conversation state. * Mirrors iOS `RAGViewModel.c
examples/android/RunAnywhereAI/app/src/main/java/com/runanywhere/runanywhereai/presentation/rag/RAGViewModel.kt:226
↓ 1 callers
Method
clearDocuments
sdk/runanywhere-react-native/packages/core/cpp/bridges/RAGBridge.cpp:261
↓ 1 callers
Method
clearIdentity
* Clear all stored identity info
sdk/runanywhere-react-native/packages/core/src/Foundation/Security/SecureStorageService.ts:427
↓ 1 callers
Method
clearSDKParams
* Clear stored SDK parameters
sdk/runanywhere-react-native/packages/core/src/Foundation/Security/SecureStorageService.ts:276
↓ 1 callers
Method
clearTemp
sdk/runanywhere-react-native/packages/core/cpp/bridges/FileManagerBridge.cpp:262
↓ 1 callers
Method
clear_lora_adapters
sdk/runanywhere-commons/src/backends/llamacpp/llamacpp_backend.cpp:1546
↓ 1 callers
Method
clear_speak_queue
Playground/openclaw-hybrid-assistant/src/network/openclaw_client.cpp:464
↓ 1 callers
Function
collectAndroidDeviceInfo
* Collect device info on Android using reflection to access Build class. */
sdk/runanywhere-kotlin/src/jvmAndroidMain/kotlin/com/runanywhere/sdk/models/DeviceInfo.kt:34
↓ 1 callers
Function
collectGeneration
* Generate text and return the complete result. * * Uses the streaming path (`generateStream`) and drains the token stream * to collect the full re
sdk/runanywhere-web/packages/llamacpp/src/Extensions/RunAnywhere+ToolCalling.ts:66
↓ 1 callers
Function
compute_melspectrogram
* Compute mel spectrogram from raw audio. * Input: [1, N] raw audio samples * Output: [num_frames, 32] mel spectrogram with transform applied */
sdk/runanywhere-commons/src/backends/onnx/wakeword_onnx.cpp:208
↓ 1 callers
Function
compute_single_embedding
* Compute embedding from a 76-frame melspectrogram window. * Input: [1, 76, 32, 1] melspectrogram window * Output: [96] embedding vector */
sdk/runanywhere-commons/src/backends/onnx/wakeword_onnx.cpp:282
↓ 1 callers
Method
configure
* Configure the logging system. * Matches iOS: Logging.configure(_ config: LoggingConfiguration) * * @param config - Partial configuration to
sdk/runanywhere-react-native/packages/core/src/Foundation/Logging/Services/LoggingManager.ts:207
↓ 1 callers
Method
configureDev
* Configure development mode using Supabase credentials. * Called during WASM init using credentials read from rac_dev_config_*.
sdk/runanywhere-web/packages/core/src/services/HTTPService.ts:151
↓ 1 callers
Method
configureDev
* Configure development mode with Supabase credentials * * When in development mode, SDK makes calls directly to Supabase * instead of going
sdk/runanywhere-react-native/packages/core/src/services/Network/HTTPService.ts:184
↓ 1 callers
Method
configureDevHTTP
* If the WASM module has dev config compiled in, use it to configure HTTPService.
sdk/runanywhere-web/packages/llamacpp/src/Foundation/TelemetryService.ts:364
↓ 1 callers
Method
configure_vad
sdk/runanywhere-commons/src/backends/onnx/onnx_backend.cpp:1284
↓ 1 callers
Method
consume
Consumer: wait for chunks, play them as they arrive
Playground/openclaw-hybrid-assistant/src/pipeline/tts_queue.cpp:49
↓ 1 callers
Function
convertToModelStorageMetrics
* Convert a CppBridgeModelRegistry.ModelInfo to ModelStorageMetrics. * Calculates actual size on disk from the model's local path. */
sdk/runanywhere-kotlin/src/jvmAndroidMain/kotlin/com/runanywhere/sdk/public/extensions/RunAnywhere+Storage.jvmAndroid.kt:189
↓ 1 callers
Function
convert_symbol_to_spoken
Helper: Convert common symbols to spoken words Returns empty string if no conversion needed (symbol should be removed) Returns the symbol itself if it
Playground/openclaw-hybrid-assistant/src/pipeline/voice_pipeline.cpp:128
↓ 1 callers
Method
copyToClipboard
examples/android/RunAnywhereAI/app/src/main/java/com/runanywhere/runanywhereai/presentation/benchmarks/viewmodel/BenchmarkViewModel.kt:190
↓ 1 callers
Function
copyWasmPlugin
* Vite plugin to copy WASM binaries into the build output. * * Emscripten JS glue files resolve `.wasm` via `new URL("x.wasm", import.meta.url)`, *
examples/web/RunAnywhereAI/vite.config.ts:22
↓ 1 callers
Function
count_words
* Count words in text. */
sdk/runanywhere-commons/src/features/stt/stt_component.cpp:77
↓ 1 callers
Function
createAudioCaptureManager
sdk/runanywhere-kotlin/src/commonMain/kotlin/com/runanywhere/sdk/features/stt/services/AudioCaptureManager.kt:130
↓ 1 callers
Method
createDirectoryStructure
sdk/runanywhere-react-native/packages/core/cpp/bridges/FileManagerBridge.cpp:236
↓ 1 callers
Method
createError
(statusCode: number, message: string, path: string)
sdk/runanywhere-react-native/packages/core/src/services/Network/HTTPService.ts:437
↓ 1 callers
Function
createErrorResponse
sdk/runanywhere-commons/src/server/json_utils.cpp:178
↓ 1 callers
Method
createNewConversation
* Create a new conversation */
examples/android/RunAnywhereAI/app/src/main/java/com/runanywhere/runanywhereai/presentation/chat/ChatViewModel.kt:878
↓ 1 callers
Method
createPipeline
sdk/runanywhere-react-native/packages/core/cpp/bridges/RAGBridge.cpp:39
↓ 1 callers
Function
createWavFileFromChunks
(filePath: string, chunks: string[])
sdk/runanywhere-react-native/packages/core/src/Public/Extensions/RunAnywhere+Audio.ts:612
↓ 1 callers
Method
createWavFileFromChunks
()
sdk/runanywhere-react-native/packages/core/src/Features/VoiceSession/AudioCaptureManager.ts:329
↓ 1 callers
Function
createWavHeader
(dataLength: number)
sdk/runanywhere-react-native/packages/core/src/Public/Extensions/RunAnywhere+Audio.ts:652
↓ 1 callers
Method
createWavHeader
(dataLength: number)
sdk/runanywhere-react-native/packages/core/src/Features/VoiceSession/AudioCaptureManager.ts:447
↓ 1 callers
Function
create_directories
* Create a directory and all intermediate directories. * Equivalent to `mkdir -p`. */
sdk/runanywhere-commons/src/infrastructure/extraction/rac_extraction.cpp:96
↓ 1 callers
Function
create_session_options
sdk/runanywhere-commons/src/backends/onnx/wakeword_onnx.cpp:150
↓ 1 callers
Method
create_stream
sdk/runanywhere-commons/src/backends/onnx/onnx_backend.cpp:497
↓ 1 callers
Function
currentTimeMillis
sdk/runanywhere-kotlin/src/androidMain/kotlin/com/runanywhere/sdk/foundation/PlatformTime.kt:11
↓ 1 callers
Function
currentTimeMillis
sdk/runanywhere-kotlin/src/jvmMain/kotlin/com/runanywhere/sdk/foundation/PlatformTime.kt:11
↓ 1 callers
Function
current_timestamp_ms
Get current timestamp in milliseconds
sdk/runanywhere-commons/src/core/rac_structured_error.cpp:50
↓ 1 callers
Method
decideNextAction
* VLM-only mode: analyze a screenshot and return a tool call / action decision. * Used when LLM is not loaded and VLM drives the agent autonomous
Playground/android-use-agent/app/src/main/java/com/runanywhere/agent/providers/VisionProvider.kt:53
↓ 1 callers
Function
decompressGzip
* Decompress gzip data using the browser's native DecompressionStream API. * Supported in Chrome 80+, Firefox 113+, Safari 16.4+.
sdk/runanywhere-web/packages/core/src/Infrastructure/ArchiveUtility.ts:73
↓ 1 callers
Method
defaultMessage
(code: SecureStorageErrorCode)
sdk/runanywhere-react-native/packages/core/src/Foundation/Security/SecureStorageError.ts:43
↓ 1 callers
Method
deleteAdapter
Delete a downloaded adapter file. Always attempts unload first (ignores if not loaded). */
examples/android/RunAnywhereAI/app/src/main/java/com/runanywhere/runanywhereai/presentation/lora/LoraViewModel.kt:254
↓ 1 callers
Method
deleteConversation
* Delete a conversation */
examples/android/RunAnywhereAI/app/src/main/java/com/runanywhere/runanywhereai/data/ConversationStore.kt:134
↓ 1 callers
Method
deleteModel
(fileName: string)
sdk/runanywhere-react-native/packages/core/src/native/NativeRunAnywhereCore.ts:261
↓ 1 callers
Method
deleteModelById
* Delete a downloaded model */
examples/android/RunAnywhereAI/app/src/main/java/com/runanywhere/runanywhereai/presentation/settings/SettingsViewModel.kt:308
↓ 1 callers
Method
deletionError
(underlyingError?: Error)
sdk/runanywhere-react-native/packages/core/src/Foundation/Security/SecureStorageError.ts:102
↓ 1 callers
Method
describeCurrentFrame
* Describe the current camera frame. Mirrors iOS describeCurrentFrame(). */
examples/android/RunAnywhereAI/app/src/main/java/com/runanywhere/runanywhereai/presentation/vision/VLMViewModel.kt:223
↓ 1 callers
Method
destroyPipeline
sdk/runanywhere-react-native/packages/core/cpp/bridges/RAGBridge.cpp:166
↓ 1 callers
Method
destroy_stream
sdk/runanywhere-commons/src/backends/onnx/onnx_backend.cpp:612
↓ 1 callers
Function
detectAmazonPageState
* Detect the current Amazon page state from URL and page content
Playground/on-device-browser-agent/src/content/dom-observer.ts:64
↓ 1 callers
Function
detectBrowser
()
examples/web/RunAnywhereAI/src/components/model-selection.ts:256
↓ 1 callers
Function
detectCapabilities
()
sdk/runanywhere-web/packages/core/src/Infrastructure/DeviceCapabilities.ts:40
↓ 1 callers
Function
detectCaptcha
* Detect CAPTCHA pages
Playground/on-device-browser-agent/src/background/agents/obstacle-detector.ts:64
← previous
next →
1,801–1,900 of 8,121, ranked by callers