亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? file.h

?? GNU Common C++ is a very portable and highly optimized class framework for writing C++ applications
?? H
?? 第 1 頁 / 共 2 頁
字號:
	 * Get current file capacity.	 *	 * @return total file size.	 */	off_t getCapacity(void);	/**	 * This method is commonly used to close and re-open an existing	 * database.  This may be used when the database has been unlinked	 * and an external process provides a new one to use.	 */	virtual Error restart(void);	/**	 * Return current error id.	 *	 * @return last error identifier set.	 */	inline Error getErrorNumber(void)		{return errid;};	/**	 * Return current error string.	 *	 * @return last error string set.	 */	inline char *getErrorString(void)		{return errstr;};	bool operator!(void);};/** * This class defines a database I/O file service that can be shared * by multiple threads.  All threads access a global copy of the database * object, and mutex locks can be used to preserve transaction * integrety.  pread/pwrite calls can be used for optimized I/O when * supported. *  * ThreadFile is meant for use by a threaded database server where multiple * threads may each perform semi-independent operations on a given database * table stored on disk.  A special "fcb" structure is used to hold file * "state", and pread/pwrite is used whenever possible for optimized I/O.  On * systems that do not offer pwread/pwrite, a Mutex lock is used to protect * concurrent lseek and read/write operations.  ThreadFile managed databases * are assumed to be used only by the local server and through a single file * descriptor. * * @author David Sugar <dyfet@ostel.com> * @short This class defines a database I/O file service that can be shared by multiple threads. */class __EXPORT ThreadFile : public RandomFile{private:	ThreadKey state;	fcb_t *first;	fcb_t *getFCB(void);	Error open(const char *path);public:	/**	 * Open or create a new database file.  You should also use	 * Initial.	 *	 * @param path pathname of database to open.	 */	ThreadFile(const char *path);	/**	 * Close and finish a database file.	 */	virtual ~ThreadFile();	/**	 * Restart an existing database; close and re-open.	 *	 * @return errSuccess if successful.	 */	Error restart(void);	/**	 * Fetch a portion of the file into physical memory.  This can use	 * state information to fetch the current record multiple times.	 *	 * @return errSuccess on success.	 * @param address  address to use, or NULL if same as last I/O.	 * @param length   length to use, or 0 if same as last I/O.	 * @param position file position to use -1 if same as last I/O.	 */	Error fetch(caddr_t address = NULL, ccxx_size_t length = 0, off_t position = -1);	/**	 * Update a portion of a file from physical memory.  This can use	 * state information to commit the last read record.	 *	 * @return errSuccess on success.	 * @param address  address to use, or NULL if same as last I/O.	 * @param length   length to use, or 0 if same as last I/O.	 * @param position file position to use or -1 if same as last I/O.	 */	Error update(caddr_t address = NULL, ccxx_size_t length = 0, off_t position = -1);	/**	 * Add new data to the end of the file.	 * @param address address to use, or NULL if same as last I/O.	 * @param length  length to use, or 0 if same as last I/O.	 */	Error append(caddr_t address = NULL, ccxx_size_t length = 0);	/**	 * Fetch the current file position marker for this thread.	 *	 * @return file position offset.	 */	off_t getPosition(void);	bool operator++(void);	bool operator--(void);};/** * This class defines a database I/O file service that can be shared * by multiple processes.  Each thread should access a dup of the database * object, and mutex locks can be used to preserve transaction * integrety if multiple threads are used. * * SharedFile is used when a database may be shared between multiple * processes.  SharedFile automatically applies low level byte-range "file * locks", and provides an interface to fetch and release byte-range locked * portions of a file. * * @author David Sugar <dyfet@ostel.com> * @short This class defines a database I/O file service that can be shared by multiple processes. */class __EXPORT SharedFile : public RandomFile{private:	fcb_t fcb;	Error open(const char *path);public:	/**	 * Open or create a new database file.  You should also use	 * Initial.	 *	 * @param path pathname of database to open.	 */	SharedFile(const char *path);	/**	 * Create a shared file as a duplicate of an existing shared	 * file.	 *	 * @param file original file.	 */	SharedFile(const SharedFile &file);	/**	 * Close and finish a database file.	 */	virtual ~SharedFile();	/**	 * Restart an existing database; close and re-open.	 *	 * @return errSuccess if successful.	 */	Error restart(void)		{return open(pathname);};	/**	 * Lock and Fetch a portion of the file into physical memory.         * This can use state information to fetch the current record         * multiple times.	 *	 * @return errSuccess on success.	 * @param address  address to use, or NULL if same as last I/O.	 * @param length   length to use, or 0 if same as last I/O.	 * @param position file position to use -1 if same as last I/O.	 */	Error fetch(caddr_t address = NULL, ccxx_size_t length = 0, off_t position = -1);	/**	 * Update a portion of a file from physical memory.  This can use	 * state information to commit the last read record.  The current	 * lock is also cleared.	 *	 * @return errSuccess on success.	 * @param address  address to use, or NULL if same as last I/O.	 * @param length   length to use, or 0 if same as last I/O.	 * @param position file position to use or -1 if same as last I/O.	 */	Error update(caddr_t address = NULL, ccxx_size_t length = 0, off_t position = -1);	/**	 * Clear a lock held from a previous fetch operation without	 * updating.	 *	 * @return errSuccess on success.	 * @param length length to use, or 0 if same as last I/O.	 * @param pos    file position to use or -1 if same as last I/O.	 */	Error clear(ccxx_size_t length = 0, off_t pos = -1);	/**	 * Add new data to the end of the file.  Locks file during append.	 *	 * @param address address to use, or NULL if same as last I/O.	 * @param length  length to use, or 0 if same as last I/O.	 */	Error append(caddr_t address = NULL, ccxx_size_t length = 0);	/**	 * Fetch the current file position marker for this thread.	 *	 * @return file position offset.	 */	off_t getPosition(void);	bool operator++(void);	bool operator--(void);};/** * Create and map a disk file into memory.  This portable class works * under both Posix via mmap and under the win32 API. A mapped file * can be referenced directly by it's memory segment. One can map * and unmap portions of a file on demand, and update * changed memory pages mapped from files immediately through sync(). * * @author David Sugar <dyfet@ostel.com> * @short Map a named disk file into memory. */class __EXPORT MappedFile : public RandomFile{private:	fcb_t fcb;	int prot;#ifdef	WIN32	HANDLE map;	char mapname[64];#endifpublic:	/**	 * Open a file for mapping.  More than one segment of a file	 * may be mapped into seperate regions of memory.	 *	 * @param fname file name to access for mapping.	 * @param mode  access mode to map file.	 */	MappedFile(const char *fname, Access mode);	/**	 * Create if not exists, and map a file of specified size	 * into memory.	 *	 * @param fname file name to access for mapping.	 * @param mode access mode to map file.	 * @param size of file to map.	 */	MappedFile(const char *fname, Access mode, size_t size);	/**	 * Map a portion or all of a specified file in the specified	 * shared memory access mode.  Valid mapping modes include	 * mappedRead, mappedWrite, and mappedReadWrite.	 *	 * @param fname pathname of file to map into memory.	 * @param offset from start of file to begin mapping in bytes.	 * @param size of mapped area in bytes.	 * @param mode to map file.	 */	MappedFile(const char *fname, pos_t offset, size_t size, Access mode);	/**	 * Release a mapped section of memory associated with a file.  The	 * mapped area is updated back to disk.	 */	virtual ~MappedFile();	// FIXME: not use library function in header ??	/**	 * Synchronize the contents of the mapped portion of memory with	 * the disk file and wait for completion.  This assures the memory	 * mapped from the file is written back.	 */	void sync(void);	/**	 * Synchronize a segment of memory mapped from a segment fetch.	 *	 * @param address memory address to update.	 * @param len size of segment.	 */	void sync(caddr_t address, size_t len);	/**	 * Map a portion of the memory mapped from the file back to the	 * file and do not wait for completion.  This is useful when mapping	 * a database file and updating a single record.	 *	 * @param offset offset into the mapped region of memory.	 * @param len length of partial region (example, record length).	 */	void update(size_t offset = 0, size_t len = 0);	/**	 * Update a mapped region back to disk as specified by address	 * and length.	 *	 * @param address address of segment.	 * @param len length of segment.	 */	void update(caddr_t address, size_t len);	/**	 * Release (unmap) a memory segment.	 *	 * @param address address of memory segment to release.	 * @param len length of memory segment to release.	 */	void release(caddr_t address, size_t len);	/**	 * Fetch a pointer to an offset within the memory mapped portion	 * of the disk file.  This really is used for convience of matching	 * operations between Update and Fetch, as one could simply have	 * accessed the base pointer where the file was mapped directly.	 *	 * @param offset from start of mapped memory.	 */	inline caddr_t fetch(size_t offset = 0)		{return ((char *)(fcb.address)) + offset;};	/**	 * Fetch and map a portion of a disk file to a logical memory	 * block.	 *	 * @return pointer to memory segment.	 * @param pos offset of file segment to map.	 * @param len size of memory segment to map.	 */	caddr_t fetch(off_t pos, size_t len);	/**	 * Lock the currently mapped portion of a file.	 *	 * @return true if pages are locked.	 */	bool lock(void);	/**	 * Unlock a locked mapped portion of a file.	 */	void unlock(void);	/**	 * Compute map size to aligned page boundry.	 *	 * @param size request.	 * @return page aligned size.	 */	size_t pageAligned(size_t size);};/** * The DSO dynamic loader class is used to load object files.  On * elf based systems this is typically done with dlopen.  A dummy * stub class is generated for non-dl capable systems. * * @author David Sugar <dyfet@ostel.com> * @short Dynamic class file loader. */class __EXPORT DSO{private:	const char *err;#ifdef	HAVE_MODULES	static Mutex mutex;	static DSO *first;	static DSO *last;	DSO *next, *prev;	const char *id;#if	defined(HAVE_MACH_DYLD)        NSModule oModule;#elif   defined(HAVE_SHL_LOAD)        shl_t image;#elif	defined(WIN32)	HINSTANCE hImage;#else	void *image;#endif	void loader(const char *filename, bool resolve);#endifpublic:	/**	 * Construct and load a DSO object file.	 *	 * @param filename pathname of object file to load.	 */ #ifdef	HAVE_MODULES	DSO(const char *filename)		{loader(filename, true);};	DSO(const char *filename, bool resolve)		{loader(filename, resolve);};#else	DSO(const char *filename)		{throw this;};	DSO(const char *filename, bool resolve)		{throw this;};#endif	/**	 * Retrieve error indicator associated with DSO failure.  This	 * is often used in catch handlers.	 */	inline const char *getError(void)		{return err;};	/**	 * Detach a DSO object from running memory.	 */#ifdef	HAVE_MODULES	virtual ~DSO();#endif	/**	 * Lookup a symbol in the loaded file.	 */#ifdef	HAVE_MODULES	void* operator[](const char *sym);#else	void *operator[](const char *)		{return NULL;};#endif#ifdef	HAVE_MODULES	static void dynunload(void);#else	static void dynunload(void)		{return;};#endif	/**	 * Find a specific DSO object by filename.	 *	 * @param name of DSO object file (partial).	 */	static DSO *getObject(const char *name);	/**	 * See if DSO object is valid.	 *	 * @return true if valid.	 */	bool isValid(void);	/**	 * Install debug handler...	 */	static void setDebug(void);};/** @relates RandomFile */bool __EXPORT isDir(const char *path);/** @relates RandomFile */bool __EXPORT isFile(const char *path);#ifndef WIN32/** @relates RandomFile */bool __EXPORT isDevice(const char *path);#else/** @relates RandomFile */inline bool isDevice(const char *path){ return false; }#endif/** @relates RandomFile */bool __EXPORT canAccess(const char *path);/** @relates RandomFile */bool __EXPORT canModify(const char *path);/** @relates RandomFile */time_t __EXPORT lastModified(const char *path);/** @relates RandomFile */time_t __EXPORT lastAccessed(const char *path);#ifdef	COMMON_STD_EXCEPTIONclass DirException : public IOException{public:	DirException(const String &str) : IOException(str) {};};class __EXPORT DSOException : public IOException{public:	DSOException(const String &str) : IOException(str) {};};class __EXPORT FileException : public IOException{public:	FileException(const String &str) : IOException(str) {};};#endif#ifdef	CCXX_NAMESPACES}#endif#endif/** EMACS ** * Local variables: * mode: c++ * c-basic-offset: 8 * End: */

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产视频一区在线观看| 亚洲男帅同性gay1069| 国产精品国产三级国产专播品爱网 | 91精品国产综合久久精品app | 一区二区三区在线不卡| 男人的j进女人的j一区| av一本久道久久综合久久鬼色| 欧美色国产精品| 国产精品久久久久久久久久久免费看 | 中文字幕一区二区三区乱码在线| 同产精品九九九| 99热在这里有精品免费| 精品国产伦一区二区三区观看方式| 亚洲色图视频网站| 国产精品2024| 欧美变态tickle挠乳网站| 国产精品18久久久久久vr| 在线免费视频一区二区| 中文字幕精品一区二区精品绿巨人| 日本va欧美va欧美va精品| 色婷婷久久一区二区三区麻豆| 久久人人爽人人爽| 久久97超碰色| 欧美一区二区三区在线| 首页国产丝袜综合| 欧美老肥妇做.爰bbww视频| 亚洲女与黑人做爰| 99精品1区2区| 亚洲视频一区在线| 成人av网站免费| 国产精品网站一区| 成人福利视频网站| 国产日韩欧美不卡| 国产99精品国产| 欧美激情一区二区三区| 国产成人在线电影| 国产视频不卡一区| 成人免费视频国产在线观看| 国产欧美精品一区| 99久久久久久| 亚洲男帅同性gay1069| 91黄色免费版| 午夜激情一区二区| 欧美日韩国产欧美日美国产精品| 亚洲在线免费播放| 欧美另类videos死尸| 日韩高清欧美激情| 精品国产一区二区三区四区四| 日本大胆欧美人术艺术动态| 日韩精品自拍偷拍| 国产精品一区二区在线看| 国产婷婷色一区二区三区| 成人av在线一区二区三区| 亚洲欧洲成人自拍| 欧美精品乱码久久久久久| 美腿丝袜亚洲一区| 国产欧美日韩卡一| 色哟哟一区二区| 视频一区二区三区入口| 2023国产精品自拍| 99精品国产99久久久久久白柏| 亚洲国产精品一区二区尤物区| 欧美一区二区三区日韩| 国产精品99久久久久久似苏梦涵| 国产精品久久久久三级| 欧美日韩国产bt| 国产精品一区二区久久精品爱涩 | 日本乱码高清不卡字幕| 日本vs亚洲vs韩国一区三区二区| xvideos.蜜桃一区二区| 91性感美女视频| 久久99精品久久久久婷婷| 国产精品国产三级国产aⅴ无密码| 欧美视频一区在线观看| 美女视频免费一区| 亚洲色欲色欲www在线观看| 91精品国产一区二区| 成人免费看的视频| 三级欧美在线一区| 国产精品久线观看视频| 欧美一区日本一区韩国一区| 成人动漫av在线| 免费观看一级特黄欧美大片| 1024成人网色www| 欧美大片日本大片免费观看| 在线这里只有精品| 国产.欧美.日韩| 狂野欧美性猛交blacked| 亚洲精品美腿丝袜| 国产视频一区二区在线| 制服丝袜在线91| 在线看日韩精品电影| 国产·精品毛片| 国产精品中文有码| 美脚の诱脚舐め脚责91 | 欧美一区二区网站| 色狠狠一区二区三区香蕉| 国产一区啦啦啦在线观看| 三级欧美在线一区| 夜夜嗨av一区二区三区| 国产精品素人一区二区| 欧美成人一区二区三区在线观看| 欧美午夜精品久久久久久孕妇 | 99久久精品国产一区二区三区| 久久精品国内一区二区三区| 亚洲成人一区在线| 亚洲综合久久av| 亚洲乱码国产乱码精品精小说 | 香蕉成人伊视频在线观看| 中文字幕中文字幕在线一区| 国产色婷婷亚洲99精品小说| 日韩免费在线观看| 欧美大片顶级少妇| 精品精品国产高清一毛片一天堂| 在线综合亚洲欧美在线视频| 精品视频全国免费看| 欧美性受xxxx黑人xyx| 在线观看国产一区二区| 色琪琪一区二区三区亚洲区| 91网上在线视频| 色婷婷av一区二区三区软件| 色综合欧美在线| 在线观看欧美日本| 欧美日韩精品一区视频| 欧美日韩高清在线播放| 91精品国产一区二区三区| 555夜色666亚洲国产免| 欧美一区二区三区爱爱| 日韩精品在线一区二区| 久久久久高清精品| 国产精品少妇自拍| 亚洲精品第1页| 亚洲国产日韩a在线播放性色| 亚洲va国产va欧美va观看| 免费日本视频一区| 国产精品一卡二卡在线观看| 粉嫩一区二区三区在线看| 91碰在线视频| 欧美一级艳片视频免费观看| 日韩精品中文字幕在线一区| 久久久91精品国产一区二区精品| 日本一区二区免费在线 | 久久久久久日产精品| 国产女主播一区| 亚洲综合激情小说| 美女诱惑一区二区| www.66久久| 欧美日韩国产首页| 国产亚洲污的网站| 亚洲香肠在线观看| 国产综合久久久久影院| 成人av在线资源网站| 欧美高清一级片在线| 久久久综合精品| 亚洲最大成人综合| 国产又粗又猛又爽又黄91精品| 99国产精品视频免费观看| 欧美日韩激情一区二区三区| 国产亚洲成年网址在线观看| 亚洲精品国产第一综合99久久| 美腿丝袜亚洲三区| 色综合一区二区三区| 欧美v亚洲v综合ⅴ国产v| 亚洲欧洲成人自拍| 久久99国产精品麻豆| 91国产免费观看| 中文字幕精品一区二区三区精品| 丝袜亚洲精品中文字幕一区| 成人高清免费在线播放| 日韩视频一区二区| 一区二区欧美国产| 国产999精品久久久久久绿帽| 欧美日韩一区国产| 国产精品国产馆在线真实露脸 | 麻豆国产欧美一区二区三区| 99久久国产免费看| 欧美精品一区二区三区在线播放| 一区二区三区中文字幕| 国产91丝袜在线观看| 日韩一区二区在线看片| 亚洲国产综合色| 99久久精品情趣| 国产精品国产三级国产| 国产一区999| 日韩一卡二卡三卡四卡| 亚洲精品老司机| 成人精品视频一区| 国产欧美视频在线观看| 久99久精品视频免费观看| 欧美精品日韩综合在线| 亚洲一区二区三区国产| 色综合久久66| 亚洲蜜臀av乱码久久精品| 国产99久久久国产精品潘金网站| 精品久久国产字幕高潮| 另类的小说在线视频另类成人小视频在线 | 欧美电视剧在线看免费| 天堂久久久久va久久久久| 欧美日韩亚洲综合一区二区三区| 亚洲最新视频在线观看|