MCPcopy Create free account
hub / github.com/catboost/catboost / NewStringUTF

Method NewStringUTF

library/cpp/jni/jni.cpp:365–370  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

363}
364
365TLocalStringRef TJniEnv::NewStringUTF(std::string_view str) const {
366 auto* env = GetJniEnv();
367 auto ret = TLocalStringRef(env->NewStringUTF(str.data()));
368 Check();
369 return ret;
370}
371
372const char* TJniEnv::GetStringUTFChars(jstring str, jboolean* isCopy) const {
373 return GetJniEnv()->GetStringUTFChars(str, isCopy);

Callers

nothing calls this directly

Calls 2

CheckFunction · 0.70
dataMethod · 0.45

Tested by

no test coverage detected