Changeset 20740 in vbox for trunk/src/VBox/Runtime/common/table
- Timestamp:
- Jun 21, 2009 2:09:28 AM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 48856
- File:
-
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/table/avluintptr.cpp
-
Property svn:keywords
changed from
Id
toAuthor Date Id Revision
r20739 r20740 1 1 /* $Id$ */ 2 2 /** @file 3 * IPRT - AVL tree, RTUINTPTR, range,unique keys.3 * IPRT - AVL tree, RTUINTPTR, unique keys. 4 4 */ 5 5 … … 39 39 * AVL configuration. 40 40 */ 41 #define KAVL_FN(a) RTAvl rUIntPtr##a41 #define KAVL_FN(a) RTAvlUIntPtr##a 42 42 #define KAVL_MAX_STACK 27 /* Up to 2^24 nodes. */ 43 43 #define KAVL_CHECK_FOR_EQUAL_INSERT 1 /* No duplicate keys! */ 44 #define KAVLNODECORE AVL RUINTPTRNODECORE45 #define PKAVLNODECORE PAVL RUINTPTRNODECORE46 #define PPKAVLNODECORE PPAVL RUINTPTRNODECORE44 #define KAVLNODECORE AVLUINTPTRNODECORE 45 #define PKAVLNODECORE PAVLUINTPTRNODECORE 46 #define PPKAVLNODECORE PPAVLUINTPTRNODECORE 47 47 #define KAVLKEY RTUINTPTR 48 48 #define PKAVLKEY PRTUINTPTR 49 #define KAVLENUMDATA AVLRUINTPTRENUMDATA 50 #define PKAVLENUMDATA PAVLRUINTPTRENUMDATA 51 #define PKAVLCALLBACK PAVLRUINTPTRCALLBACK 52 #define KAVL_RANGE 1 49 #define KAVLENUMDATA AVLUINTPTRENUMDATA 50 #define PKAVLENUMDATA PAVLUINTPTRENUMDATA 51 #define PKAVLCALLBACK PAVLUINTPTRCALLBACK 53 52 54 53 … … 59 58 #define KAVL_E( key1, key2) ( (RTGCUINTPTR)(key1) == (RTGCUINTPTR)(key2) ) 60 59 #define KAVL_NE(key1, key2) ( (RTGCUINTPTR)(key1) != (RTGCUINTPTR)(key2) ) 61 #define KAVL_R_IS_IDENTICAL(key1B, key2B, key1E, key2E) ( (RTGCUINTPTR)(key1B) == (RTGCUINTPTR)(key2B) && (RTGCUINTPTR)(key1E) == (RTGCUINTPTR)(key2E) )62 #define KAVL_R_IS_INTERSECTING(key1B, key2B, key1E, key2E) ( (RTGCUINTPTR)(key1B) <= (RTGCUINTPTR)(key2E) && (RTGCUINTPTR)(key1E) >= (RTGCUINTPTR)(key2B) )63 #define KAVL_R_IS_IN_RANGE(key1B, key1E, key2) KAVL_R_IS_INTERSECTING(key1B, key2, key1E, key2)64 65 60 66 61 … … 79 74 #include "avl_Base.cpp.h" 80 75 #include "avl_Get.cpp.h" 81 #include "avl_Range.cpp.h"82 76 #include "avl_DoWithAll.cpp.h" 83 77 #include "avl_Destroy.cpp.h" -
Property svn:keywords
changed from
Note:
See TracChangeset
for help on using the changeset viewer.