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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? tcbdb.3

?? Tokyo Cabinet的Tokyo Cabinet 是一個DBM的實現(xiàn)。這里的數(shù)據(jù)庫由一系列key-value對的記錄構(gòu)成。key和value都可以是任意長度的字節(jié)序列,既可以是二進制也可以是字符
?? 3
?? 第 1 頁 / 共 3 頁
字號:
.TH "TCBDB" 3 "2009-02-13" "Man Page" "Tokyo Cabinet".SH NAMEtcbdb \- the B+ tree database API.SH DESCRIPTION.PPB+ tree database is a file containing a B+ tree and is handled with the B+ tree database API..PPTo use the B+ tree database API, include `\fBtcutil.h\fR', `\fBtcbdb.h\fR', and related standard header files.  Usually, write the following description near the front of a source file..PP.RS.br\fB#include <tcutil.h>\fR.br\fB#include <tcbdb.h>\fR.br\fB#include <stdlib.h>\fR.br\fB#include <time.h>\fR.br\fB#include <stdbool.h>\fR.br\fB#include <stdint.h>\fR.RE.PPObjects whose type is pointer to `\fBTCBDB\fR' are used to handle B+ tree databases.  A B+ tree database object is created with the function `\fBtcbdbnew\fR' and is deleted with the function `\fBtcbdbdel\fR'.  To avoid memory leak, it is important to delete every object when it is no longer in use..PPBefore operations to store or retrieve records, it is necessary to open a database file and connect the B+ tree database object to it.  The function `\fBtcbdbopen\fR' is used to open a database file and the function `\fBtcbdbclose\fR' is used to close the database file.  To avoid data missing or corruption, it is important to close every database file when it is no longer in use..SH API.PPThe function `tcbdberrmsg' is used in order to get the message string corresponding to an error code..PP.RS.br\fBconst char *tcbdberrmsg(int \fIecode\fB);\fR.RS`\fIecode\fR' specifies the error code..RE.RSThe return value is the message string of the error code..RE.RE.PPThe function `tcbdbnew' is used in order to create a B+ tree database object..PP.RS.br\fBTCBDB *tcbdbnew(void);\fR.RSThe return value is the new B+ tree database object..RE.RE.PPThe function `tcbdbdel' is used in order to delete a B+ tree database object..PP.RS.br\fBvoid tcbdbdel(TCBDB *\fIbdb\fB);\fR.RS`\fIbdb\fR' specifies the B+ tree database object..RE.RSIf the database is not closed, it is closed implicitly.  Note that the deleted object and its derivatives can not be used anymore..RE.RE.PPThe function `tcbdbecode' is used in order to get the last happened error code of a B+ tree database object..PP.RS.br\fBint tcbdbecode(TCBDB *\fIbdb\fB);\fR.RS`\fIbdb\fR' specifies the B+ tree database object..RE.RSThe return value is the last happened error code..RE.RSThe following error codes are defined: `TCESUCCESS' for success, `TCETHREAD' for threading error, `TCEINVALID' for invalid operation, `TCENOFILE' for file not found, `TCENOPERM' for no permission, `TCEMETA' for invalid meta data, `TCERHEAD' for invalid record header, `TCEOPEN' for open error, `TCECLOSE' for close error, `TCETRUNC' for trunc error, `TCESYNC' for sync error, `TCESTAT' for stat error, `TCESEEK' for seek error, `TCEREAD' for read error, `TCEWRITE' for write error, `TCEMMAP' for mmap error, `TCELOCK' for lock error, `TCEUNLINK' for unlink error, `TCERENAME' for rename error, `TCEMKDIR' for mkdir error, `TCERMDIR' for rmdir error, `TCEKEEP' for existing record, `TCENOREC' for no record found, and `TCEMISC' for miscellaneous error..RE.RE.PPThe function `tcbdbsetmutex' is used in order to set mutual exclusion control of a B+ tree database object for threading..PP.RS.br\fBbool tcbdbsetmutex(TCBDB *\fIbdb\fB);\fR.RS`\fIbdb\fR' specifies the B+ tree database object which is not opened..RE.RSIf successful, the return value is true, else, it is false..RE.RSNote that the mutual exclusion control of the database should be set before the database is opened..RE.RE.PPThe function `tcbdbsetcmpfunc' is used in order to set the custom comparison function of a B+ tree database object..PP.RS.br\fBbool tcbdbsetcmpfunc(TCBDB *\fIbdb\fB, TCCMP \fIcmp\fB, void *\fIcmpop\fB);\fR.RS`\fIbdb\fR' specifies the B+ tree database object which is not opened..RE.RS`\fIcmp\fR' specifies the pointer to the custom comparison function.  It receives five parameters.  The first parameter is the pointer to the region of one key.  The second parameter is the size of the region of one key.  The third parameter is the pointer to the region of the other key.  The fourth parameter is the size of the region of the other key.  The fifth parameter is the pointer to the optional opaque object.  It returns positive if the former is big, negative if the latter is big, 0 if both are equivalent..RE.RS`\fIcmpop\fR' specifies an arbitrary pointer to be given as a parameter of the comparison function.  If it is not needed, `NULL' can be specified..RE.RSIf successful, the return value is true, else, it is false..RE.RSThe default comparison function compares keys of two records by lexical order.  The functions `tccmplexical' (dafault), `tccmpdecimal', `tccmpint32', and `tccmpint64' are built\-in.  Note that the comparison function should be set before the database is opened.  Moreover, user\-defined comparison functions should be set every time the database is being opened..RE.RE.PPThe function `tcbdbtune' is used in order to set the tuning parameters of a B+ tree database object..PP.RS.br\fBbool tcbdbtune(TCBDB *\fIbdb\fB, int32_t \fIlmemb\fB, int32_t \fInmemb\fB, int64_t \fIbnum\fB, int8_t \fIapow\fB, int8_t \fIfpow\fB, uint8_t \fIopts\fB);\fR.RS`\fIbdb\fR' specifies the B+ tree database object which is not opened..RE.RS`\fIlmemb\fR' specifies the number of members in each leaf page.  If it is not more than 0, the default value is specified.  The default value is 128..RE.RS`\fInmemb\fR' specifies the number of members in each non\-leaf page.  If it is not more than 0, the default value is specified.  The default value is 256..RE.RS`\fIbnum\fR' specifies the number of elements of the bucket array.  If it is not more than 0, the default value is specified.  The default value is 16381.  Suggested size of the bucket array is about from 1 to 4 times of the number of all pages to be stored..RE.RS`\fIapow\fR' specifies the size of record alignment by power of 2.  If it is negative, the default value is specified.  The default value is 8 standing for 2^8=256..RE.RS`\fIfpow\fR' specifies the maximum number of elements of the free block pool by power of 2.  If it is negative, the default value is specified.  The default value is 10 standing for 2^10=1024..RE.RS`\fIopts\fR' specifies options by bitwise-or: `BDBTLARGE' specifies that the size of the database can be larger than 2GB by using 64\-bit bucket array, `BDBTDEFLATE' specifies that each page is compressed with Deflate encoding, `BDBTBZIP' specifies that each page is compressed with BZIP2 encoding, `BDBTTCBS' specifies that each page is compressed with TCBS encoding..RE.RSIf successful, the return value is true, else, it is false..RE.RSNote that the tuning parameters should be set before the database is opened..RE.RE.PPThe function `tcbdbsetcache' is used in order to set the caching parameters of a B+ tree database object..PP.RS.br\fBbool tcbdbsetcache(TCBDB *\fIbdb\fB, int32_t \fIlcnum\fB, int32_t \fIncnum\fB);\fR.RS`\fIbdb\fR' specifies the B+ tree database object which is not opened..RE.RS`\fIlcnum\fR' specifies the maximum number of leaf nodes to be cached.  If it is not more than 0, the default value is specified.  The default value is 1024..RE.RS`\fIncnum\fR' specifies the maximum number of non\-leaf nodes to be cached.  If it is not more than 0, the default value is specified.  The default value is 512..RE.RSIf successful, the return value is true, else, it is false..RE.RSNote that the caching parameters should be set before the database is opened..RE.RE.PPThe function `tcbdbsetxmsiz' is used in order to set the size of the extra mapped memory of a B+ tree database object..PP.RS.br\fBbool tcbdbsetxmsiz(TCBDB *\fIbdb\fB, int64_t \fIxmsiz\fB);\fR.RS`\fIbdb\fR' specifies the B+ tree database object which is not opened..RE.RS`\fIxmsiz\fR' specifies the size of the extra mapped memory.  If it is not more than 0, the extra mapped memory is disabled.  It is disabled by default..RE.RSIf successful, the return value is true, else, it is false..RE.RSNote that the mapping parameters should be set before the database is opened..RE.RE.PPThe function `tcbdbopen' is used in order to open a database file and connect a B+ tree database object..PP.RS.br\fBbool tcbdbopen(TCBDB *\fIbdb\fB, const char *\fIpath\fB, int \fIomode\fB);\fR.RS`\fIbdb\fR' specifies the B+ tree database object which is not opened..RE.RS`\fIpath\fR' specifies the path of the database file..RE.RS`\fIomode\fR' specifies the connection mode: `BDBOWRITER' as a writer, `BDBOREADER' as a reader.  If the mode is `BDBOWRITER', the following may be added by bitwise-or: `BDBOCREAT', which means it creates a new database if not exist, `BDBOTRUNC', which means it creates a new database regardless if one exists, `BDBOTSYNC', which means every transaction synchronizes updated contents with the device.  Both of `BDBOREADER' and `BDBOWRITER' can be added to by bitwise-or: `BDBONOLCK', which means it opens the database file without file locking, or `BDBOLCKNB', which means locking is performed without blocking..RE.RSIf successful, the return value is true, else, it is false..RE.RE.PPThe function `tcbdbclose' is used in order to close a B+ tree database object..PP.RS.br\fBbool tcbdbclose(TCBDB *\fIbdb\fB);\fR.RS`\fIbdb\fR' specifies the B+ tree database object..RE.RSIf successful, the return value is true, else, it is false..RE.RSUpdate of a database is assured to be written when the database is closed.  If a writer opens a database but does not close it appropriately, the database will be broken..RE.RE.PPThe function `tcbdbput' is used in order to store a record into a B+ tree database object..PP.RS.br\fBbool tcbdbput(TCBDB *\fIbdb\fB, const void *\fIkbuf\fB, int \fIksiz\fB, const void *\fIvbuf\fB, int \fIvsiz\fB);\fR.RS`\fIbdb\fR' specifies the B+ tree database object connected as a writer..RE.RS`\fIkbuf\fR' specifies the pointer to the region of the key..RE.RS`\fIksiz\fR' specifies the size of the region of the key..RE.RS`\fIvbuf\fR' specifies the pointer to the region of the value..RE.RS`\fIvsiz\fR' specifies the size of the region of the value..RE.RSIf successful, the return value is true, else, it is false..RE.RSIf a record with the same key exists in the database, it is overwritten..RE.RE.PPThe function `tcbdbput2' is used in order to store a string record into a B+ tree database object..PP.RS.br\fBbool tcbdbput2(TCBDB *\fIbdb\fB, const char *\fIkstr\fB, const char *\fIvstr\fB);\fR.RS`\fIbdb\fR' specifies the B+ tree database object connected as a writer..RE.RS`\fIkstr\fR' specifies the string of the key..RE.RS`\fIvstr\fR' specifies the string of the value..RE.RSIf successful, the return value is true, else, it is false..RE.RSIf a record with the same key exists in the database, it is overwritten..RE.RE.PPThe function `tcbdbputkeep' is used in order to store a new record into a B+ tree database object..PP.RS.br\fBbool tcbdbputkeep(TCBDB *\fIbdb\fB, const void *\fIkbuf\fB, int \fIksiz\fB, const void *\fIvbuf\fB, int \fIvsiz\fB);\fR.RS`\fIbdb\fR' specifies the B+ tree database object connected as a writer..RE.RS`\fIkbuf\fR' specifies the pointer to the region of the key..RE.RS`\fIksiz\fR' specifies the size of the region of the key..RE.RS`\fIvbuf\fR' specifies the pointer to the region of the value..RE.RS`\fIvsiz\fR' specifies the size of the region of the value..RE.RSIf successful, the return value is true, else, it is false..RE.RSIf a record with the same key exists in the database, this function has no effect..RE.RE.PPThe function `tcbdbputkeep2' is used in order to store a new string record into a B+ tree database object..PP.RS.br\fBbool tcbdbputkeep2(TCBDB *\fIbdb\fB, const char *\fIkstr\fB, const char *\fIvstr\fB);\fR.RS`\fIbdb\fR' specifies the B+ tree database object connected as a writer..RE.RS`\fIkstr\fR' specifies the string of the key..RE.RS`\fIvstr\fR' specifies the string of the value..RE.RSIf successful, the return value is true, else, it is false..RE.RSIf a record with the same key exists in the database, this function has no effect..RE.RE.PPThe function `tcbdbputcat' is used in order to concatenate a value at the end of the existing record in a B+ tree database object..PP.RS.br\fBbool tcbdbputcat(TCBDB *\fIbdb\fB, const void *\fIkbuf\fB, int \fIksiz\fB, const void *\fIvbuf\fB, int \fIvsiz\fB);\fR.RS`\fIbdb\fR' specifies the B+ tree database object connected as a writer..RE.RS`\fIkbuf\fR' specifies the pointer to the region of the key..RE.RS`\fIksiz\fR' specifies the size of the region of the key..RE.RS`\fIvbuf\fR' specifies the pointer to the region of the value..RE.RS`\fIvsiz\fR' specifies the size of the region of the value..RE.RSIf successful, the return value is true, else, it is false..RE.RSIf there is no corresponding record, a new record is created..RE.RE.PPThe function `tcbdbputcat2' is used in order to concatenate a string value at the end of the existing record in a B+ tree database object..PP.RS.br\fBbool tcbdbputcat2(TCBDB *\fIbdb\fB, const char *\fIkstr\fB, const char *\fIvstr\fB);\fR.RS`\fIbdb\fR' specifies the B+ tree database object connected as a writer..RE.RS`\fIkstr\fR' specifies the string of the key..RE.RS`\fIvstr\fR' specifies the string of the value..RE.RSIf successful, the return value is true, else, it is false..RE.RSIf there is no corresponding record, a new record is created..RE.RE.PPThe function `tcbdbputdup' is used in order to store a record into a B+ tree database object with allowing duplication of keys..PP.RS.br\fBbool tcbdbputdup(TCBDB *\fIbdb\fB, const void *\fIkbuf\fB, int \fIksiz\fB, const void *\fIvbuf\fB, int \fIvsiz\fB);\fR.RS`\fIbdb\fR' specifies the B+ tree database object connected as a writer..RE.RS`\fIkbuf\fR' specifies the pointer to the region of the key..RE.RS`\fIksiz\fR' specifies the size of the region of the key..RE.RS`\fIvbuf\fR' specifies the pointer to the region of the value..RE.RS`\fIvsiz\fR' specifies the size of the region of the value..RE.RSIf successful, the return value is true, else, it is false..RE.RSIf a record with the same key exists in the database, the new record is placed after the existing one..RE.RE.PPThe function `tcbdbputdup2' is used in order to store a string record into a B+ tree database object with allowing duplication of keys..PP.RS.br\fBbool tcbdbputdup2(TCBDB *\fIbdb\fB, const char *\fIkstr\fB, const char *\fIvstr\fB);\fR.RS`\fIbdb\fR' specifies the B+ tree database object connected as a writer..RE.RS`\fIkstr\fR' specifies the string of the key..RE.RS`\fIvstr\fR' specifies the string of the value..RE.RSIf successful, the return value is true, else, it is false..RE.RSIf a record with the same key exists in the database, the new record is placed after the existing one..RE.RE.PPThe function `tcbdbputdup3' is used in order to store records into a B+ tree database object with allowing duplication of keys..PP.RS.br\fBbool tcbdbputdup3(TCBDB *\fIbdb\fB, const void *\fIkbuf\fB, int \fIksiz\fB, const TCLIST *\fIvals\fB);\fR.RS`\fIbdb\fR' specifies the B+ tree database object connected as a writer..RE.RS`\fIkbuf\fR' specifies the pointer to the region of the common key..RE.RS`\fIksiz\fR' specifies the size of the region of the common key..RE

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
成人性生交大片免费看中文网站| 国产精品天干天干在观线| caoporm超碰国产精品| 久久成人免费网| 亚洲18色成人| 亚洲成人免费视| 久久精品国产精品亚洲红杏 | 国产欧美精品一区二区色综合| 欧美日韩卡一卡二| 欧美三级欧美一级| 欧美在线小视频| 欧美日韩在线播放三区四区| 欧美色中文字幕| 精品视频在线免费看| 欧美久久一二三四区| 欧美电影在线免费观看| 欧美一级搡bbbb搡bbbb| 日韩欧美中文字幕一区| 久久亚洲影视婷婷| 日本一区二区三区免费乱视频| 国产午夜亚洲精品羞羞网站| 国产午夜亚洲精品羞羞网站| 欧美国产一区视频在线观看| 亚洲国产精品二十页| 国产精品色哟哟| 亚洲免费av网站| 亚洲超碰精品一区二区| 午夜精品一区二区三区三上悠亚| 日韩av中文字幕一区二区三区| 久久精品国产亚洲aⅴ| 国产一区二区精品久久99| 国产91精品在线观看| 成人三级在线视频| 欧美在线视频日韩| 日韩精品一区二区三区老鸭窝| 久久久国产一区二区三区四区小说 | 亚洲黄色免费网站| 午夜精品免费在线观看| 国产**成人网毛片九色| 在线视频欧美精品| 日韩欧美在线综合网| 日本一区二区免费在线| 亚洲一区二区视频| 精品伊人久久久久7777人| 成人h动漫精品一区二区| 欧美三级三级三级| 国产午夜精品理论片a级大结局| 亚洲人精品午夜| 久草热8精品视频在线观看| 99re8在线精品视频免费播放| 91麻豆精品国产| 亚洲三级在线免费观看| 看电视剧不卡顿的网站| 91九色02白丝porn| 国产午夜亚洲精品羞羞网站| 午夜精品成人在线视频| 成人a级免费电影| 日韩一区二区三区免费看| 亚洲免费av网站| 国产成人高清视频| 日韩三级伦理片妻子的秘密按摩| 国产精品九色蝌蚪自拍| 韩国av一区二区三区四区| 欧美日韩精品三区| 亚洲图片激情小说| 亚洲天堂av一区| 国内精品视频666| 欧美日韩视频在线第一区| 国产精品久久久久aaaa| 国产91精品免费| 久久亚洲精华国产精华液| 精品一区二区三区在线播放视频 | 亚洲欧美韩国综合色| 国产成人精品综合在线观看| 99re成人精品视频| 久久久久久夜精品精品免费| 久久精品99国产国产精| 欧美变态凌虐bdsm| 久久精品国产网站| 欧美精品一区二区三区很污很色的| 日韩精品欧美精品| 欧美不卡一二三| 国产成人免费高清| 中文字幕在线免费不卡| 欧美剧情片在线观看| 亚洲福利电影网| 91精品久久久久久蜜臀| 精品一区二区在线观看| 久久亚洲精品小早川怜子| 国产精品一线二线三线| 自拍视频在线观看一区二区| 欧美系列日韩一区| 日日夜夜精品视频天天综合网| 欧美一区二区在线播放| 国产一本一道久久香蕉| 中文字幕日韩av资源站| 欧美日韩高清一区| 成人免费毛片app| 国产精品区一区二区三| 欧美在线免费播放| 日韩高清中文字幕一区| 久久久久久久久久久久久久久99 | 激情综合网最新| 国产精品嫩草99a| 欧美日韩dvd在线观看| 久久99久久99小草精品免视看| 国产精品国产成人国产三级| 欧美久久久影院| 成人少妇影院yyyy| 日韩激情av在线| 中文字幕一区二区三区不卡| 欧美人与性动xxxx| 成人av中文字幕| 午夜婷婷国产麻豆精品| 欧美国产乱子伦| 91精品国产综合久久精品| 成人动漫在线一区| 日韩av在线播放中文字幕| 国产精品久久看| 91精品国产综合久久福利软件| 99精品欧美一区二区三区综合在线| 亚洲成人av一区二区| 国产精品久久久久婷婷| 欧美草草影院在线视频| 在线亚洲精品福利网址导航| 国产精品 日产精品 欧美精品| 偷窥国产亚洲免费视频| 亚洲欧美日韩中文字幕一区二区三区 | 欧美在线免费观看视频| 成人免费视频caoporn| 免费观看久久久4p| 午夜精品久久久久久不卡8050| 中文字幕第一页久久| 精品噜噜噜噜久久久久久久久试看| 欧美怡红院视频| 99久久er热在这里只有精品66| 国产成人精品三级| 国产主播一区二区三区| 蜜桃av一区二区| 日本视频在线一区| 日韩福利视频网| 亚洲成人高清在线| 亚洲电影你懂得| 有坂深雪av一区二区精品| 亚洲乱码日产精品bd| 国产精品污污网站在线观看| 久久久久高清精品| 国产亚洲精久久久久久| 久久亚洲精品国产精品紫薇| 欧美精品一区视频| 久久精品亚洲乱码伦伦中文| 久久亚洲欧美国产精品乐播| 国产毛片精品一区| av不卡一区二区三区| 99re成人精品视频| 在线视频中文字幕一区二区| 欧美性猛交一区二区三区精品| 欧洲一区在线电影| 欧美高清视频不卡网| 日韩一区二区三区免费观看| 26uuu国产电影一区二区| 久久久精品黄色| 国产精品高清亚洲| 亚洲一区二区三区中文字幕| 爽好多水快深点欧美视频| 日本亚洲电影天堂| 国产ts人妖一区二区| 一道本成人在线| 欧美精品tushy高清| 精品奇米国产一区二区三区| 欧美电影免费观看高清完整版在线 | 国产一区二区在线视频| 国产91精品久久久久久久网曝门| av成人动漫在线观看| 欧美日韩国产高清一区二区| 欧美v亚洲v综合ⅴ国产v| 亚洲国产精品成人久久综合一区| 亚洲乱码精品一二三四区日韩在线| 亚洲一区二区在线播放相泽 | 国产精品77777| 色94色欧美sute亚洲线路一ni| 欧美三级欧美一级| 精品国产sm最大网站| 亚洲免费av高清| 经典三级一区二区| 色欧美88888久久久久久影院| 6080yy午夜一二三区久久| 欧美韩国一区二区| 亚洲成a人片在线不卡一二三区| 国内久久精品视频| 欧美偷拍一区二区| 久久久不卡网国产精品二区| 亚洲一区二区av电影| 国产成人亚洲综合a∨猫咪| 91激情在线视频| 国产清纯在线一区二区www| 亚洲午夜一二三区视频| 成人国产亚洲欧美成人综合网 | 亚洲人成7777| 国产一区二区在线观看视频|