Mac Vim Usage – Advanced

Vim articles My vim related articles Mac Vim Usage – Basics Mac Vim Usage – Advanced Mac Vim Usage – Customization Install vim on macOS High Sierra using source code Vim Registers Vim include 18 registers " 0 1 2 3 4 5 6 7 8 9 k - * . : % / Check …

Continue reading Mac Vim Usage – Advanced

Advertisements

Mac Vim Usage – Basics

Vim articles My vim related articles Mac Vim Usage – Basics Mac Vim Usage – Advanced Mac Vim Usage – Customization Install vim on macOS High Sierra using source code Environment System Version: macOS 10.13 (17A405) Kernel Version: Darwin 17.0.0 Vim installation For how to install vim on Mac, you can refer to Install vim on …

Continue reading Mac Vim Usage – Basics

Install vim on macOS High Sierra using source code

Vim articles My vim related articles Mac Vim Usage – Basics Mac Vim Usage – Advanced Mac Vim Usage – Customization Install vim on macOS High Sierra using source code Install vim from source code Using git to clone the source code and change directory to vim/src, build the source code using make and then …

Continue reading Install vim on macOS High Sierra using source code

Android JNI – NIO and Reflection Support

NIO Support The NIO-related entry points allow native code to access java.nio direct buffers. The contents of a direct buffer can, potentially, reside in native memory outside of the ordinary garbage-collected heap. For information about direct buffers, please see New I/O APIs and the specification of the java.nio.ByteBuffer class. Three new functions introduced in JDK/JRE 1.4 allow JNI code to create, …

Continue reading Android JNI – NIO and Reflection Support

Android JNI – Array Operations

Array OperationsGetArrayLength Returns the number of elements in the array. NewObjectArray Constructs a new array holding objects in class elementClass. All elements are initially set to initialElement. GetObjectArrayElement Returns an element of an Object array. SetObjectArrayElement Sets an element of an Object array. New<PrimitiveType>Array Routines A family of operations used to construct a new primitive array object. Below describes the specific primitive …

Continue reading Android JNI – Array Operations

Android JNI – String Operations

String OperationsNewString Constructs a new java.lang.String object from an array of Unicode characters. GetStringLength GetStringChars Returns a pointer to the array of Unicode characters of the string. This pointer is valid until ReleaseStringchars() is called. If isCopy is not NULL, then *isCopy is set to JNI_TRUE if a copy is made; or it is set to JNI_FALSE if no copy is made. ReleaseStringChars Informs the VM that the …

Continue reading Android JNI – String Operations