📄 amdb_btree.cpp
字号:
# 1 "/usr/include/gcc/darwin/3.3/c++/ppc-darwin/bits/os_defines.h" 1 3# 72 "/usr/include/gcc/darwin/3.3/c++/ppc-darwin/bits/os_defines.h" 3extern "C" {# 83 "/usr/include/gcc/darwin/3.3/c++/ppc-darwin/bits/os_defines.h" 3typedef enum node_kinds { NODE_THREAD_SPECIFIC_DATA=1, NODE_PROCESSWIDE_PTR=2, NODE_LAST_KIND } TnodeKind ;typedef enum node_mode { NM_ALLOW_RECURSION=1, NM_RECURSION_ILLEGAL=2, NM_ENHANCED_LOCKING=3, NM_LOCKED=4 } TnodeMode ;extern void * _keymgr_get_per_thread_data(unsigned int key) ;extern void _keymgr_set_per_thread_data(unsigned int key, void *keydata) ;extern void *_keymgr_get_and_lock_processwide_ptr(unsigned int key) ;extern void _keymgr_set_and_unlock_processwide_ptr(unsigned int key, void *ptr) ;extern void _keymgr_unlock_processwide_ptr(unsigned int key) ;extern void _keymgr_set_lockmode_processwide_ptr(unsigned int key, unsigned int mode) ;extern unsigned int _keymgr_get_lockmode_processwide_ptr(unsigned int key) ;extern int _keymgr_get_lock_count_processwide_ptr(unsigned int key) ;# 155 "/usr/include/gcc/darwin/3.3/c++/ppc-darwin/bits/os_defines.h" 3}# 36 "/usr/include/gcc/darwin/3.3/c++/ppc-darwin/bits/c++config.h" 2 3# 65 "/usr/include/gcc/darwin/3.3/c++/bits/stl_algobase.h" 2 3# 1 "/usr/include/gcc/darwin/3.3/c++/cstring" 1 3# 48 "/usr/include/gcc/darwin/3.3/c++/cstring" 3# 1 "/usr/include/gcc/darwin/3.3/c++/cstddef" 1 3# 47 "/usr/include/gcc/darwin/3.3/c++/cstddef" 3# 1 "/usr/include/stddef.h" 1 3 4# 66 "/usr/include/stddef.h" 3 4typedef int ptrdiff_t;# 49 "/usr/include/gcc/darwin/3.3/c++/cstddef" 2 3namespace std{ using ::ptrdiff_t; using ::size_t;}# 50 "/usr/include/gcc/darwin/3.3/c++/cstring" 2 3# 1 "/usr/include/string.h" 1 3 4# 72 "/usr/include/string.h" 3 4extern "C" {void *memchr (const void *, int, size_t);int memcmp (const void *, const void *, size_t);void *memcpy (void *, const void *, size_t);void *memmove (void *, const void *, size_t);void *memset (void *, int, size_t);char *strcat (char *, const char *);char *strchr (const char *, int);int strcmp (const char *, const char *);int strcoll (const char *, const char *);char *strcpy (char *, const char *);size_t strcspn (const char *, const char *);char *strerror (int);size_t strlen (const char *);char *strncat (char *, const char *, size_t);int strncmp (const char *, const char *, size_t);char *strncpy (char *, const char *, size_t);char *strpbrk (const char *, const char *);char *strrchr (const char *, int);size_t strspn (const char *, const char *);char *strstr (const char *, const char *);char *strtok (char *, const char *);size_t strxfrm (char *, const char *, size_t);int bcmp (const void *, const void *, size_t);void bcopy (const void *, void *, size_t);void bzero (void *, size_t);int ffs (int);char *index (const char *, int);void *memccpy (void *, const void *, int, size_t);char *rindex (const char *, int);int strcasecmp (const char *, const char *);char *strdup (const char *);size_t strlcat (char *, const char *, size_t);size_t strlcpy (char *, const char *, size_t);void strmode (int, char *);int strncasecmp (const char *, const char *, size_t);char *strsep (char **, const char *);char *strtok_r (char *, const char *, char **);void swab (const void *, void *, size_t);}# 52 "/usr/include/gcc/darwin/3.3/c++/cstring" 2 3# 77 "/usr/include/gcc/darwin/3.3/c++/cstring" 3namespace std{ using ::memcpy; using ::memmove; using ::strcpy; using ::strncpy; using ::strcat; using ::strncat; using ::memcmp; using ::strcmp; using ::strcoll; using ::strncmp; using ::strxfrm; using ::strcspn; using ::strspn; using ::strtok; using ::memset; using ::strerror; using ::strlen; using ::memchr; inline void* memchr(void* __p, int __c, size_t __n) { return memchr(const_cast<const void*>(__p), __c, __n); } using ::strchr; inline char* strchr(char* __s1, int __n) { return __builtin_strchr(const_cast<const char*>(__s1), __n); } using ::strpbrk; inline char* strpbrk(char* __s1, const char* __s2) { return __builtin_strpbrk(const_cast<const char*>(__s1), __s2); } using ::strrchr; inline char* strrchr(char* __s1, int __n) { return __builtin_strrchr(const_cast<const char*>(__s1), __n); } using ::strstr; inline char* strstr(char* __s1, const char* __s2) { return __builtin_strstr(const_cast<const char*>(__s1), __s2); }}# 66 "/usr/include/gcc/darwin/3.3/c++/bits/stl_algobase.h" 2 3# 1 "/usr/include/gcc/darwin/3.3/c++/climits" 1 3# 48 "/usr/include/gcc/darwin/3.3/c++/climits" 3# 1 "/usr/include/limits.h" 1 3 4# 62 "/usr/include/limits.h" 3 4# 1 "/usr/include/gcc/darwin/3.3/machine/limits.h" 1 3 4# 24 "/usr/include/gcc/darwin/3.3/machine/limits.h" 3 4# 1 "/usr/include/ppc/limits.h" 1 3 4# 25 "/usr/include/gcc/darwin/3.3/machine/limits.h" 2 3 4# 63 "/usr/include/limits.h" 2 3 4# 1 "/usr/include/sys/syslimits.h" 1 3 4# 64 "/usr/include/limits.h" 2 3 4# 50 "/usr/include/gcc/darwin/3.3/c++/climits" 2 3# 67 "/usr/include/gcc/darwin/3.3/c++/bits/stl_algobase.h" 2 3# 1 "/usr/include/gcc/darwin/3.3/c++/cstdlib" 1 3# 48 "/usr/include/gcc/darwin/3.3/c++/cstdlib" 3# 84 "/usr/include/gcc/darwin/3.3/c++/cstdlib" 3namespace std{ using ::div_t; using ::ldiv_t; using ::abort; using ::abs; using ::atexit; using ::atof; using ::atoi; using ::atol; using ::bsearch; using ::calloc; using ::div; using ::exit; using ::free; using ::getenv; using ::labs; using ::ldiv; using ::malloc; using ::mblen; using ::mbstowcs; using ::mbtowc; using ::qsort; using ::rand; using ::realloc; using ::srand; using ::strtod; using ::strtol; using ::strtoul; using ::system; using ::wcstombs; using ::wctomb; inline long abs(long __i) { return labs(__i); } inline ldiv_t div(long __i, long __j) { return ldiv(__i, __j); }}# 68 "/usr/include/gcc/darwin/3.3/c++/bits/stl_algobase.h" 2 3# 1 "/usr/include/gcc/darwin/3.3/c++/new" 1 3# 42 "/usr/include/gcc/darwin/3.3/c++/new" 3# 1 "/usr/include/gcc/darwin/3.3/c++/exception" 1 3# 40 "/usr/include/gcc/darwin/3.3/c++/exception" 3extern "C++" {namespace std{# 52 "/usr/include/gcc/darwin/3.3/c++/exception" 3 class exception { public: exception() throw() { } virtual ~exception() throw(); virtual const char* what() const throw(); }; class bad_exception : public exception { public: bad_exception() throw() { } virtual ~bad_exception() throw(); }; typedef void (*terminate_handler) (); typedef void (*unexpected_handler) (); terminate_handler set_terminate(terminate_handler) throw(); void terminate() __attribute__ ((__noreturn__)); unexpected_handler set_unexpected(unexpected_handler) throw(); void unexpected() __attribute__ ((__noreturn__));# 100 "/usr/include/gcc/darwin/3.3/c++/exception" 3 bool uncaught_exception() throw();}namespace __gnu_cxx{# 113 "/usr/include/gcc/darwin/3.3/c++/exception" 3 void __verbose_terminate_handler ();}}# 43 "/usr/include/gcc/darwin/3.3/c++/new" 2 3extern "C++" {namespace std{ class bad_alloc : public exception { public: bad_alloc() throw() { } virtual ~bad_alloc() throw(); }; struct nothrow_t { }; extern const nothrow_t nothrow; typedef void (*new_handler)(); new_handler set_new_handler(new_handler) throw();}# 82 "/usr/include/gcc/darwin/3.3/c++/new" 3void* operator new(std::size_t) throw (std::bad_alloc);void* operator new[](std::size_t) throw (std::bad_alloc);void operator delete(void*) throw();void operator delete[](void*) throw();void* operator new(std::size_t, const std::nothrow_t&) throw();void* operator new[](std::size_t, const std::nothrow_t&) throw();void operator delete(void*, const std::nothrow_t&) throw();void operator delete[](void*, const std::nothrow_t&) throw();inline void* operator new(std::size_t, void* __p) throw() { return __p; }inline void* operator new[](std::size_t, void* __p) throw() { return __p; }inline void operator delete (void*, void*) throw() { };inline void operator delete[](void*, void*) throw() { };}# 70 "/usr/include/gcc/darwin/3.3/c++/bits/stl_algobase.h" 2 3# 1 "/usr/include/gcc/darwin/3.3/c++/iosfwd" 1 3# 44 "/usr/include/gcc/darwin/3.3/c++/iosfwd" 3# 1 "/usr/include/gcc/darwin/3.3/c++/ppc-darwin/bits/c++locale.h" 1 3# 40 "/usr/include/gcc/darwin/3.3/c++/ppc-darwin/bits/c++locale.h" 3# 1 "/usr/include/gcc/darwin/3.3/c++/clocale" 1 3# 48 "/usr/include/gcc/darwin/3.3/c++/clocale" 3# 1 "/usr/include/locale.h" 1 3 4# 39 "/usr/include/locale.h" 3 4struct lconv { char *decimal_point; char *thousands_sep; char *grouping; char *int_curr_symbol; char *currency_symbol; char *mon_decimal_point; char *mon_thousands_sep; char *mon_grouping; char *positive_sign; char *negative_sign; char int_frac_digits; char frac_digits; char p_cs_precedes; char p_sep_by_space; char n_cs_precedes; char n_sep_by_space; char p_sign_posn; char n_sign_posn;};# 76 "/usr/include/locale.h" 3 4extern "C" {struct lconv *localeconv (void);char *setlocale (int, const char *);}# 50 "/usr/include/gcc/darwin/3.3/c++/clocale" 2 3namespace std{ using ::lconv; using ::setlocale; using ::localeconv;}# 42 "/usr/include/gcc/darwin/3.3/c++/ppc-darwin/bits/c++locale.h" 2 3namespace 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) :
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -