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

📄 gist_btree.cpp

📁 Libgist is an implementation of the Generalized Search Tree, a template index structure that makes i
💻 CPP
📖 第 1 页 / 共 5 页
字号:
namespace std{  typedef int* __c_locale;  template<typename _Tv>    int    __convert_from_v(char* __out, const int __size, const char* __fmt,                     _Tv __v, const __c_locale&, int __prec = -1)    {      char* __old = setlocale(0, 0);      char* __sav = static_cast<char*>(malloc(strlen(__old) + 1));      if (__sav)        strcpy(__sav, __old);      setlocale(0, "C");      int __ret;      if (__prec >= 0)        __ret = sprintf(__out, __fmt, __prec, __v);      else        __ret = sprintf(__out, __fmt, __v);      setlocale(0, __sav);      free(__sav);      return __ret;    }}# 47 "/usr/include/gcc/darwin/3.3/c++/iosfwd" 2 3# 1 "/usr/include/gcc/darwin/3.3/c++/cctype" 1 3# 47 "/usr/include/gcc/darwin/3.3/c++/cctype" 3# 1 "/usr/include/ctype.h" 1 3 4# 68 "/usr/include/ctype.h" 3 4# 1 "/usr/include/runetype.h" 1 3 4# 66 "/usr/include/runetype.h" 3 4typedef struct {        rune_t min;        rune_t max;        rune_t map;        unsigned long *types;} _RuneEntry;typedef struct {        int nranges;        _RuneEntry *ranges;} _RuneRange;typedef struct {        char magic[8];        char encoding[32];        rune_t (*sgetrune)            (const char *, size_t, char const **);        int (*sputrune)            (rune_t, char *, size_t, char **);        rune_t invalid_rune;        unsigned long runetype[(1 <<8 )];        rune_t maplower[(1 <<8 )];        rune_t mapupper[(1 <<8 )];        _RuneRange runetype_ext;        _RuneRange maplower_ext;        _RuneRange mapupper_ext;        void *variable;        int variable_len;} _RuneLocale;extern _RuneLocale _DefaultRuneLocale;extern _RuneLocale *_CurrentRuneLocale;# 69 "/usr/include/ctype.h" 2 3 4# 100 "/usr/include/ctype.h" 3 4extern "C" {int isalnum (int);int isalpha (int);int iscntrl (int);int isdigit (int);int isgraph (int);int islower (int);int isprint (int);int ispunct (int);int isspace (int);int isupper (int);int isxdigit (int);int tolower (int);int toupper (int);int digittoint (int);int isascii (int);int isblank (int);int ishexnumber (int);int isideogram (int);int isnumber (int);int isphonogram (int);int isrune (int);int isspecial (int);int toascii (int);}# 158 "/usr/include/ctype.h" 3 4extern "C" {unsigned long ___runetype (int);int ___tolower (int);int ___toupper (int);}# 180 "/usr/include/ctype.h" 3 4static inline int__maskrune(int _c, unsigned long _f){        return ((_c < 0 || _c >= (1 <<8 )) ? ___runetype(_c) :                _CurrentRuneLocale->runetype[_c]) & _f;}static inline int__istype(int c, unsigned long f){        return !!(__maskrune(c, f));}static inline int__isctype(int _c, unsigned long _f){        return (_c < 0 || _c >= (1 <<8 )) ? 0 :                !!(_DefaultRuneLocale.runetype[_c] & _f);}static inline int__toupper(int _c){        return (_c < 0 || _c >= (1 <<8 )) ? ___toupper(_c) :                _CurrentRuneLocale->mapupper[_c];}static inline int__tolower(int _c){        return (_c < 0 || _c >= (1 <<8 )) ? ___tolower(_c) :                _CurrentRuneLocale->maplower[_c];}# 50 "/usr/include/gcc/darwin/3.3/c++/cctype" 2 3# 71 "/usr/include/gcc/darwin/3.3/c++/cctype" 3extern "C" {extern int isalnum(int c);extern int isalpha(int c);extern int iscntrl(int c);extern int isdigit(int c);extern int isgraph(int c);extern int islower(int c);extern int isprint(int c);extern int ispunct(int c);extern int isspace(int c);extern int isupper(int c);extern int isxdigit(int c);}namespace std{  using ::isalnum;  using ::isalpha;  using ::iscntrl;  using ::isdigit;  using ::isgraph;  using ::islower;  using ::isprint;  using ::ispunct;  using ::isspace;  using ::isupper;  using ::isxdigit;  using ::tolower;  using ::toupper;}# 48 "/usr/include/gcc/darwin/3.3/c++/iosfwd" 2 3# 1 "/usr/include/gcc/darwin/3.3/c++/bits/stringfwd.h" 1 3# 43 "/usr/include/gcc/darwin/3.3/c++/bits/stringfwd.h" 3namespace std{  template<typename _Alloc>    class allocator;  template<class _CharT>    struct char_traits;  template<typename _CharT, typename _Traits = char_traits<_CharT>,           typename _Alloc = allocator<_CharT> >    class basic_string;  template<> struct char_traits<char>;  typedef basic_string<char> string;}# 49 "/usr/include/gcc/darwin/3.3/c++/iosfwd" 2 3# 1 "/usr/include/gcc/darwin/3.3/c++/bits/fpos.h" 1 3# 43 "/usr/include/gcc/darwin/3.3/c++/bits/fpos.h" 3# 1 "/usr/include/gcc/darwin/3.3/c++/ppc-darwin/bits/c++io.h" 1 3# 35 "/usr/include/gcc/darwin/3.3/c++/ppc-darwin/bits/c++io.h" 3# 1 "/usr/include/gcc/darwin/3.3/c++/cstdio" 1 3# 48 "/usr/include/gcc/darwin/3.3/c++/cstdio" 3# 1 "/usr/include/stdio.h" 1 3 4# 91 "/usr/include/stdio.h" 3 4typedef off_t fpos_t;# 107 "/usr/include/stdio.h" 3 4struct __sbuf {        unsigned char *_base;        int _size;};# 138 "/usr/include/stdio.h" 3 4typedef struct __sFILE {        unsigned char *_p;        int _r;        int _w;        short _flags;        short _file;        struct __sbuf _bf;        int _lbfsize;        void *_cookie;        int (*_close) (void *);        int (*_read) (void *, char *, int);        fpos_t (*_seek) (void *, fpos_t, int);        int (*_write) (void *, const char *, int);        struct __sbuf _ub;        unsigned char *_up;        int _ur;        unsigned char _ubuf[3];        unsigned char _nbuf[1];        struct __sbuf _lb;        int _blksize;        fpos_t _offset;} FILE;extern "C" {extern FILE __sF[];}# 241 "/usr/include/stdio.h" 3 4extern "C" {void clearerr (FILE *);int fclose (FILE *);int feof (FILE *);int ferror (FILE *);int fflush (FILE *);int fgetc (FILE *);int fgetpos (FILE *, fpos_t *);char *fgets (char *, int, FILE *);FILE *fopen (const char *, const char *);int fprintf (FILE *, const char *, ...);int fputc (int, FILE *);int fputs (const char *, FILE *);size_t fread (void *, size_t, size_t, FILE *);FILE *freopen (const char *, const char *, FILE *);int fscanf (FILE *, const char *, ...);int fseek (FILE *, long, int);int fsetpos (FILE *, const fpos_t *);long ftell (FILE *);size_t fwrite (const void *, size_t, size_t, FILE *);int getc (FILE *);int getchar (void);char *gets (char *);extern const int sys_nerr;extern const char *const sys_errlist[];void perror (const char *);int printf (const char *, ...);int putc (int, FILE *);int putchar (int);int puts (const char *);int remove (const char *);int rename (const char *, const char *);void rewind (FILE *);int scanf (const char *, ...);void setbuf (FILE *, char *);int setvbuf (FILE *, char *, int, size_t);int sprintf (char *, const char *, ...);int sscanf (const char *, const char *, ...);FILE *tmpfile (void);char *tmpnam (char *);int ungetc (int, FILE *);int vfprintf (FILE *, const char *, __builtin_va_list);int vprintf (const char *, __builtin_va_list);int vsprintf (char *, const char *, __builtin_va_list);int asprintf (char **, const char *, ...);int vasprintf (char **, const char *, __builtin_va_list);}# 298 "/usr/include/stdio.h" 3 4extern "C" {char *ctermid (char *);FILE *fdopen (int, const char *);int fileno (FILE *);}extern "C" {char *fgetln (FILE *, size_t *);int fpurge (FILE *);int fseeko (FILE *, fpos_t, int);fpos_t ftello (FILE *);int getw (FILE *);int pclose (FILE *);FILE *popen (const char *, const char *);int putw (int, FILE *);void setbuffer (FILE *, char *, int);int setlinebuf (FILE *);char *tempnam (const char *, const char *);int snprintf (char *, size_t, const char *, ...);int vsnprintf (char *, size_t, const char *, __builtin_va_list);int vscanf (const char *, __builtin_va_list);int vsscanf (const char *, const char *, __builtin_va_list);FILE *zopen (const char *, const char *, int);}# 338 "/usr/include/stdio.h" 3 4extern "C" {FILE *funopen (const void *, int (*)(void *, char *, int), int (*)(void *, const char *, int), fpos_t (*)(void *, fpos_t, int), int (*)(void *));}extern "C" {int __srget (FILE *);int __svfscanf (FILE *, const char *, __builtin_va_list);int __swbuf (int, FILE *);}static inline int __sputc(int _c, FILE *_p) {        if (--_p->_w >= 0 || (_p->_w >= _p->_lbfsize && (char)_c != '\n'))                return (*_p->_p++ = _c);        else                return (__swbuf(_c, _p));}# 53 "/usr/include/gcc/darwin/3.3/c++/cstdio" 2 3# 97 "/usr/include/gcc/darwin/3.3/c++/cstdio" 3namespace std{  using ::FILE;  using ::fpos_t;  using ::clearerr;  using ::fclose;  using ::feof;  using ::ferror;  using ::fflush;  using ::fgetc;  using ::fgetpos;  using ::fgets;  using ::fopen;  using ::fprintf;  using ::fputc;  using ::fputs;  using ::fread;  using ::freopen;  using ::fscanf;  using ::fseek;  using ::fsetpos;  using ::ftell;  using ::fwrite;  using ::getc;  using ::getchar;  using ::gets;  using ::perror;  using ::printf;  using ::putc;  using ::putchar;  using ::puts;  using ::remove;  using ::rename;  using ::rewind;  using ::scanf;  using ::setbuf;  using ::setvbuf;  using ::sprintf;  using ::sscanf;  using ::tmpfile;  using ::tmpnam;  using ::ungetc;  using ::vfprintf;  using ::vprintf;  using ::vsprintf;}# 36 "/usr/include/gcc/darwin/3.3/c++/ppc-darwin/bits/c++io.h" 2 3# 1 "/usr/include/gcc/darwin/3.3/c++/ppc-darwin/bits/gthr.h" 1 3# 98 "/usr/include/gcc/darwin/3.3/c++/ppc-darwin/bits/gthr.h" 3# 1 "/usr/include/gcc/darwin/3.3/c++/ppc-darwin/bits/gthr-default.h" 1 3# 37 "/usr/include/gcc/darwin/3.3/c++/ppc-darwin/bits/gthr-default.h" 3# 1 "/usr/include/pthread.h" 1 3 4# 34 "/usr/include/pthread.h" 3 4# 1 "/usr/include/pthread_impl.h" 1 3 4# 35 "/usr/include/pthread.h" 2 3 4# 1 "/usr/include/errno.h" 1 3 4# 22 "/usr/include/errno.h" 3 4# 1 "/usr/include/sys/errno.h" 1 3 4# 68 "/usr/include/sys/errno.h" 3 4extern "C" {extern int * __error (void);}# 23 "/usr/include/errno.h" 2 3 4# 37 "/usr/include/pthread.h" 2 3 4# 1 "/usr/include/sched.h" 1 3 4# 10 "/usr/include/sched.h" 3 4struct sched_param { int sched_priority; char opaque[4]; };extern int sched_yield(void);extern int sched_get_priority_min(int);extern int sched_get_priority_max(int);# 38 "/usr/include/pthread.h" 2 3 4# 1 "/usr/include/time.h" 1 3 4# 88 "/usr/include/time.h" 3 4struct timespec {        time_t tv_sec;        long tv_nsec;};struct tm {        int tm_sec;        int tm_min;        int tm_hour;        int tm_mday;        int tm_mon;        int tm_year;        int tm_wday;        int tm_yday;        int tm_isdst;        long tm_gmtoff;        char *tm_zone;};# 115 "/usr/include/time.h" 3 4extern char *tzname[];extern "C" {char *asctime (const struct tm *);clock_t clock (void);char *ctime (const time_t *);double difftime (time_t, time_t);struct tm *gmtime (const time_t *);struct tm *localtime (const time_t *);time_t mktime (struct tm *);size_t strftime (char *, size_t, const char *, const struct tm *);time_t time (time_t *);void tzset (void);char *asctime_r (const struct tm *, char *);char *ctime_r (const time_t *, char *);struct tm *gmtime_r (const time_t *, struct tm *);struct tm *localtime_r (const time_t *, struct tm *);char *strptime (const char *, const char *, struct tm *);char *timezone (int, int);void tzsetwall (void);time_t timelocal (struct tm * const);time_t timegm (struct tm * const);

⌨️ 快捷键说明

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