JINMEI Tatuya
|
c9074dc33c
some final minor editorial suggestions
|
14 years ago |
Han Feng
|
bfdcda657c
remove the test dependency since we already move rbtree into lib/datasrc
|
14 years ago |
Han Feng
|
196beb7d58
modify the typedef name, remove invalid comments caused by implementation modification
|
14 years ago |
JINMEI Tatuya
|
9d98002c03
editorial cleanup: removed redundant white spaces at EOLs.
|
14 years ago |
JINMEI Tatuya
|
b71aa484f6
a minor wording fix
|
14 years ago |
Han Feng
|
4b5490d406
remove useless target in Makefile which just use for testing
|
14 years ago |
Han Feng
|
77bbb1bf19
remove setData for raw pointer interface, move the RBTree color definition into RBNode, add more comment
|
14 years ago |
JINMEI Tatuya
|
f837cf8d55
some suggested editorial/documentation changes
|
14 years ago |
Jerry
|
91985854f2
improve rbtree test coverage
|
14 years ago |
Han Feng
|
8ef4d96f6e
modify the data of rbnode to use shared_ptr and other trival optimization
|
14 years ago |
Han Feng
|
ae33043114
modify test code according to rbtree modification, mainly about dumpTree and insert return value test
|
14 years ago |
Han Feng
|
e4bcfc1443
fix the memory leak for rbtree delete
|
14 years ago |
JINMEI Tatuya
|
3b0699d83d
trivial style fixes
|
14 years ago |
Han Feng
|
bb4c1fc2b2
remove NOMEM flag, rbtree won't catch the bad_alloc exception
|
14 years ago |
Han Feng
|
402c223760
remove object pool use auto_ptr to handle exception
|
14 years ago |
Han Feng
|
ea731a11da
add more comments
|
14 years ago |
Han Feng
|
b10cfd4552
modify find logic to return non-empty node and some tirvial optiomaization
|
14 years ago |
JINMEI Tatuya
|
af9d49f3d6
made a more focused branch based on trac397:
|
14 years ago |
JINMEI Tatuya
|
0dc29002cf
a suggested sub branch for trac397 that focuses on a limited urgent features.
|
14 years ago |
Han Feng
|
a8acd781da
add more comments and rename cloneDNSData to copyContent
|
14 years ago |
JINMEI Tatuya
|
b01cccd5fb
missing typename
|
14 years ago |
Jerry
|
28d9fe2640
minor style fixes:
|
14 years ago |
Han Feng
|
bbccbd2b63
huge fix according to review
|
14 years ago |
JINMEI Tatuya
|
1b97400f51
some more cleanups. mostly editorial/style guideline matter, but including one important fix:
|
14 years ago |
JINMEI Tatuya
|
d661182116
clarified comments on successor() and null node detection
|
14 years ago |
JINMEI Tatuya
|
2f902e9e3e
another proposal: make null node handling more robust.
|
14 years ago |
JINMEI Tatuya
|
a54bb067d3
coding style: missing brace
|
14 years ago |
Han Feng
|
47ed4839b0
according coding style modify some editor problem
|
14 years ago |
Han Feng
|
e24f53189a
provide mutable and immutable version for find
|
14 years ago |
Han Feng
|
4612dbcd3b
modify the interface of find in rbtree to return rbnode instead of const rbnode
|
14 years ago |