MCPcopy Create free account
hub / github.com/cactus-compute/cactus / Java_com_cactus_CactusJNI_nativeSetCacheDir

Function Java_com_cactus_CactusJNI_nativeSetCacheDir

android/cactus_jni.cpp:55–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53}
54
55JNIEXPORT void JNICALL
56Java_com_cactus_CactusJNI_nativeSetCacheDir(JNIEnv* env, jobject, jstring cacheDir) {
57 const char* dir = jstring_to_cstr(env, cacheDir);
58 cactus_set_telemetry_environment(nullptr, dir, nullptr);
59 release_jstring(env, cacheDir, dir);
60}
61
62JNIEXPORT jlong JNICALL
63Java_com_cactus_CactusJNI_nativeInit(JNIEnv* env, jobject, jstring modelPath, jstring corpusDir, jboolean cacheIndex) {

Callers

nothing calls this directly

Calls 3

jstring_to_cstrFunction · 0.85
release_jstringFunction · 0.85

Tested by

no test coverage detected