Unicode-Japanese
view release on metacpan or search on metacpan
memmap_common.c view on Meta::CPAN
int g_ea2u1s_size;
UJ_UINT32 const* g_ea2u2s_table;
int g_ea2u2s_size;
UJ_UINT16 const* g_eu2a1s_table;
int g_eu2a1s_size;
UJ_UINT16 const* g_eu2a2s_table;
int g_eu2a2s_size;
/* ----------------------------------------------------------------------------
* split mapping table.
*/
void
do_memmap_set(const char* mmap_pmfile, int mmap_pmfile_size)
{
HV* hv_table;
int headlen, proglen;
assert( mmap_pmfile!=NULL );
assert( mmap_pmfile_size!=0 );
memmap_unix.c view on Meta::CPAN
#include <fcntl.h> /* open */
#ifndef MAP_FAILED
#define MAP_FAILED ((void*)-1)
#endif
/* pointer to mapped file */
static char* s_mmap_pmfile;
static int s_mmap_pmfile_size;
/* split mapping table. */
extern void do_memmap_set(const char* mmap_pmfile, int mmap_pmfile_size);
/* ----------------------------------------------------------------------------
* mmap data files.
*/
void
do_memmap(void)
{
int fd_pmfile;
struct stat st_pmfile;
memmap_win32.c view on Meta::CPAN
/* win32 native file/mmap object */
static HANDLE* hFile_pmfile;
static HANDLE* hFileMapping;
/* pointer to mapped file */
static char* s_mmap_pmfile;
static int s_mmap_pmfile_size;
/* split mapping table. */
extern void do_memmap_set(const char* mmap_pmfile, int mmap_pmfile_size);
/* ----------------------------------------------------------------------------
* å¿
è¦ãªãã¡ã¤ã«ãã¡ã¢ãªã«ãããã³ã°
*/
void
do_memmap(void)
{
int fd_pmfile;
DWORD dwFileSizeLow, dwFileSizeHigh;
( run in 0.570 second using v1.01-cache-2.11-cpan-71847e10f99 )