memmapfile.h

来自「全部代码全部在JDK中调试成功」· C头文件 代码 · 共 90 行

H
90
字号
/* DO NOT EDIT THIS FILE - it is machine generated */
#include <jni.h>
/* Header for class com_stanley_memmap_MemMapFile */

#ifndef _Included_com_stanley_memmap_MemMapFile
#define _Included_com_stanley_memmap_MemMapFile
#ifdef __cplusplus
extern "C" {
#endif
#undef com_stanley_memmap_MemMapFile_PAGE_READONLY
#define com_stanley_memmap_MemMapFile_PAGE_READONLY 2L
#undef com_stanley_memmap_MemMapFile_PAGE_READWRITE
#define com_stanley_memmap_MemMapFile_PAGE_READWRITE 4L
#undef com_stanley_memmap_MemMapFile_PAGE_WRITECOPY
#define com_stanley_memmap_MemMapFile_PAGE_WRITECOPY 8L
#undef com_stanley_memmap_MemMapFile_FILE_MAP_COPY
#define com_stanley_memmap_MemMapFile_FILE_MAP_COPY 1L
#undef com_stanley_memmap_MemMapFile_FILE_MAP_WRITE
#define com_stanley_memmap_MemMapFile_FILE_MAP_WRITE 2L
#undef com_stanley_memmap_MemMapFile_FILE_MAP_READ
#define com_stanley_memmap_MemMapFile_FILE_MAP_READ 4L
/*
 * Class:     com_stanley_memmap_MemMapFile
 * Method:    createFileMapping
 * Signature: (IIILjava/lang/String;)I
 */
JNIEXPORT jint JNICALL Java_com_stanley_memmap_MemMapFile_createFileMapping
  (JNIEnv *, jclass, jint, jint, jint, jstring);

/*
 * Class:     com_stanley_memmap_MemMapFile
 * Method:    openFileMapping
 * Signature: (IZLjava/lang/String;)I
 */
JNIEXPORT jint JNICALL Java_com_stanley_memmap_MemMapFile_openFileMapping
  (JNIEnv *, jclass, jint, jboolean, jstring);

/*
 * Class:     com_stanley_memmap_MemMapFile
 * Method:    mapViewOfFile
 * Signature: (IIIII)I
 */
JNIEXPORT jint JNICALL Java_com_stanley_memmap_MemMapFile_mapViewOfFile
  (JNIEnv *, jclass, jint, jint, jint, jint, jint);

/*
 * Class:     com_stanley_memmap_MemMapFile
 * Method:    unmapViewOfFile
 * Signature: (I)Z
 */
JNIEXPORT jboolean JNICALL Java_com_stanley_memmap_MemMapFile_unmapViewOfFile
  (JNIEnv *, jclass, jint);

/*
 * Class:     com_stanley_memmap_MemMapFile
 * Method:    writeToMem
 * Signature: (ILjava/lang/String;)V
 */
JNIEXPORT void JNICALL Java_com_stanley_memmap_MemMapFile_writeToMem
  (JNIEnv *, jclass, jint, jstring);

/*
 * Class:     com_stanley_memmap_MemMapFile
 * Method:    readFromMem
 * Signature: (I)Ljava/lang/String;
 */
JNIEXPORT jstring JNICALL Java_com_stanley_memmap_MemMapFile_readFromMem
  (JNIEnv *, jclass, jint);

/*
 * Class:     com_stanley_memmap_MemMapFile
 * Method:    closeHandle
 * Signature: (I)Z
 */
JNIEXPORT jboolean JNICALL Java_com_stanley_memmap_MemMapFile_closeHandle
  (JNIEnv *, jclass, jint);

/*
 * Class:     com_stanley_memmap_MemMapFile
 * Method:    broadcast
 * Signature: ()V
 */
JNIEXPORT void JNICALL Java_com_stanley_memmap_MemMapFile_broadcast
  (JNIEnv *, jclass);

#ifdef __cplusplus
}
#endif
#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?