⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 memmapfile.h

📁 150个非常经典的例子 全部代码全部在JDK中调试成功
💻 H
字号:
/* 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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -