| 742 | } |
| 743 | |
| 744 | void nativePopCount(JNIEnv* env, jclass /*cls*/, jlong ptr, jint count) { |
| 745 | auto* marshaller = unwrap(env, ptr); |
| 746 | if (marshaller == nullptr) { |
| 747 | return; |
| 748 | } |
| 749 | |
| 750 | marshaller->popCount(static_cast<int>(count)); |
| 751 | checkMarshaller(env, marshaller); |
| 752 | } |
| 753 | |
| 754 | jstring nativeToString(JNIEnv* env, |
| 755 | |
| 756 | jclass /*cls*/, |
| 757 | jlong ptr, |
| 758 | jboolean indent) { |
| 759 | auto* marshaller = unwrap(env, ptr); |
| 760 | if (marshaller == nullptr) { |
| 761 | return nullptr; |
| 762 | } |
| 763 | |
| 764 | std::string str; |
| 765 | { |
no test coverage detected