Permalink
Browse files

sync with tokyocabinet-1.3.26.tar.gz

  • Loading branch information...
etrepum committed Jan 5, 2009
0 parents commit 62d0f49743bf6d1b8157a5f1266783d2bc289371
Showing with 80,207 additions and 0 deletions.
  1. +504 −0 COPYING
  2. +758 −0 ChangeLog
  3. +610 −0 Makefile.in
  4. +38 −0 README
  5. +12 −0 THANKS
  6. +116 −0 bros/Makefile
  7. +438 −0 bros/bdbtest.c
  8. +219 −0 bros/cdbtest.c
  9. +216 −0 bros/gdbmtest.c
  10. +72 −0 bros/mapreporter
  11. +677 −0 bros/maptest.cc
  12. +204 −0 bros/ndbmtest.c
  13. +375 −0 bros/qdbmtest.c
  14. +141 −0 bros/reporter
  15. BIN bros/result.xls
  16. +204 −0 bros/sdbmtest.c
  17. +552 −0 bros/tctest.c
  18. +205 −0 bros/tdbtest.c
  19. +6,890 −0 configure
  20. +344 −0 configure.in
  21. BIN doc/benchmark.pdf
  22. +211 −0 doc/common.css
  23. BIN doc/icon16.png
  24. +163 −0 doc/index.html
  25. +204 −0 doc/index.ja.html
  26. BIN doc/logo-ja.png
  27. BIN doc/logo.png
  28. +5,584 −0 doc/spex-en.html
  29. +6,349 −0 doc/spex-ja.html
  30. BIN doc/tokyoproducts.pdf
  31. BIN doc/tokyoproducts.ppt
  32. +80 −0 example/Makefile
  33. +56 −0 example/tcadbex.c
  34. +65 −0 example/tcbdbex.c
  35. +61 −0 example/tcfdbex.c
  36. +61 −0 example/tchdbex.c
  37. +77 −0 example/tcutilex.c
  38. +118 −0 lab/calccomp
  39. +44 −0 lab/diffcheck
  40. +16 −0 lab/magic
  41. +23 −0 lab/stepcount
  42. +61 −0 lab/stopwatch
  43. +40 −0 lab/tabcheck
  44. +102 −0 man/htmltoman
  45. +592 −0 man/tcadb.3
  46. +80 −0 man/tcamgr.1
  47. +54 −0 man/tcatest.1
  48. +1,336 −0 man/tcbdb.3
  49. +116 −0 man/tcbmgr.1
  50. +72 −0 man/tcbmttest.1
  51. +104 −0 man/tcbtest.1
  52. +927 −0 man/tcfdb.3
  53. +94 −0 man/tcfmgr.1
  54. +62 −0 man/tcfmttest.1
  55. +73 −0 man/tcftest.1
  56. +879 −0 man/tchdb.3
  57. +104 −0 man/tchmgr.1
  58. +78 −0 man/tchmttest.1
  59. +89 −0 man/tchtest.1
  60. +1 −0 man/tclist.3
  61. +1 −0 man/tcmap.3
  62. +1 −0 man/tcmdb.3
  63. +1 −0 man/tcmpool.3
  64. +1 −0 man/tctree.3
  65. +132 −0 man/tcucodec.1
  66. +41 −0 man/tcumttest.1
  67. +79 −0 man/tcutest.1
  68. +4,504 −0 man/tcutil.3
  69. +1 −0 man/tcxstr.3
  70. +121 −0 man/tokyocabinet.3
  71. +381 −0 md5.c
  72. +101 −0 md5.h
  73. +490 −0 myconf.c
  74. +520 −0 myconf.h
  75. +1,241 −0 tcadb.c
  76. +402 −0 tcadb.h
  77. +599 −0 tcamgr.c
  78. +1,197 −0 tcatest.c
  79. +540 −0 tcawmgr.c
  80. +3,861 −0 tcbdb.c
  81. +1,036 −0 tcbdb.h
  82. +985 −0 tcbmgr.c
  83. +1,380 −0 tcbmttest.c
  84. +2,185 −0 tcbtest.c
  85. +2,092 −0 tcfdb.c
  86. +760 −0 tcfdb.h
  87. +768 −0 tcfmgr.c
  88. +1,156 −0 tcfmttest.c
  89. +1,274 −0 tcftest.c
  90. +4,320 −0 tchdb.c
  91. +774 −0 tchdb.h
  92. +812 −0 tchmgr.c
  93. +1,377 −0 tchmttest.c
  94. +1,830 −0 tchtest.c
  95. +1,104 −0 tcucodec.c
  96. +564 −0 tcumttest.c
  97. +1,586 −0 tcutest.c
  98. +7,706 −0 tcutil.c
  99. +3,517 −0 tcutil.h
  100. +202 −0 tokyocabinet.idl
  101. +14 −0 tokyocabinet.pc.in
504 COPYING

Large diffs are not rendered by default.

Oops, something went wrong.
758 ChangeLog

Large diffs are not rendered by default.

Oops, something went wrong.

Large diffs are not rendered by default.

Oops, something went wrong.
38 README
@@ -0,0 +1,38 @@
+================================================================
+ Tokyo Cabinet: a modern implementation of DBM
+ Copyright (C) 2006-2008 Mikio Hirabayashi
+================================================================
+
+
+Please read the following documents with a WWW browser.
+How to install Tokyo Cabinet is explained in the specification.
+
+ README - this file
+ COPYING - license
+ ChangeLog - history of enhancement
+ THANKS - list of contributors
+ doc/index.html - index of documents
+
+
+Contents of the directory tree is below.
+
+ ./ - sources of Tokyo Cabinet
+ ./doc/ - manuals and specifications
+ ./man/ - manuals for nroff
+ ./example/ - sample code of tutorial
+ ./lab/ - for test and experiment
+ ./bros/ - for comparison with other database managers
+
+
+Tokyo Cabinet is released under the terms of the GNU Lesser General
+Public License. See the file `COPYING' for details.
+
+Tokyo Cabinet was written by Mikio Hirabayashi. You can contact the
+author by e-mail to `mikio@users.sourceforge.net'.
+
+
+Thanks.
+
+
+
+== END OF FILE ==
12 THANKS
@@ -0,0 +1,12 @@
+================================================================
+ Thanks to all of the following for their valuable suggestions
+ or contributions.
+================================================================
+
+
+mixi Inc. and its developers
+ - allowing me to develop and publish Tokyo Cabinet as business work
+
+
+
+== END OF FILE ==
@@ -0,0 +1,116 @@
+# Makefile for writing tests of DBM brothers
+
+
+
+#================================================================
+# Setting variables
+#================================================================
+
+
+# Generic settings
+SHELL = /bin/sh
+
+# Targets
+MYBINS = tctest qdbmtest ndbmtest sdbmtest gdbmtest tdbtest cdbtest bdbtest maptest
+
+
+
+#================================================================
+# Suffix rules
+#================================================================
+
+
+.SUFFIXES :
+
+
+
+#================================================================
+# Actions
+#================================================================
+
+
+mesg :
+ @echo "Here are writing tests of DBM brothers." 1>&2
+ @echo "select a target of {all clean $(MYBINS)}." 1>&2
+
+
+all : $(MYBINS)
+
+
+clean :
+ rm -rf $(MYBINS) *.o *.exe a.out casket* *~
+
+
+distclean : clean
+
+
+
+#================================================================
+# Building binaries
+#================================================================
+
+
+tctest : tctest.c
+ LD_LIBRARY_PATH="$(LD_LIBRARY_PATH):.:.." ; PATH="$(PATH):.:.." ; \
+ export LD_LIBRARY_PATH PATH ; ldflags=`tcucodec conf -l` ; \
+ [ -z "$$ldflags" ] && \
+ ldflags="-L/usr/local/lib -ltokyocabinet -lz -lpthread -lm -lc" ; \
+ gcc -I.. -I/usr/local/include -D_GNU_SOURCE=1 \
+ -Wall -ansi -pedantic -O3 -o $@ tctest.c \
+ -static -L. -L.. $$ldflags
+
+
+qdbmtest : qdbmtest.c
+ gcc -I.. -I/usr/local/include -D_GNU_SOURCE=1 \
+ -Wall -ansi -pedantic -O3 -o $@ qdbmtest.c \
+ -static -L.. -L/usr/local/lib -lqdbm -lz -lc
+
+
+ndbmtest : ndbmtest.c
+ gcc -I/usr/local/include -D_GNU_SOURCE=1 \
+ -Wall -ansi -pedantic -O3 -o $@ ndbmtest.c \
+ -static -L/usr/local/lib -lndbm -lc
+
+
+sdbmtest : sdbmtest.c
+ gcc -I/usr/local/include -D_GNU_SOURCE=1 \
+ -Wall -ansi -pedantic -O3 -o $@ sdbmtest.c \
+ -static -L/usr/local/lib -lsdbm -lc
+
+
+gdbmtest : gdbmtest.c
+ gcc -I/usr/local/include -D_GNU_SOURCE=1 \
+ -Wall -ansi -pedantic -O3 -o $@ gdbmtest.c \
+ -static -L/usr/local/lib -lgdbm -lc
+
+
+tdbtest : tdbtest.c
+ gcc -I/usr/local/include -D_GNU_SOURCE=1 \
+ -Wall -ansi -pedantic -O3 -o $@ tdbtest.c \
+ -static -L/usr/local/lib -ltdb -lc
+
+
+cdbtest : cdbtest.c
+ gcc -I/usr/local/include -D_GNU_SOURCE=1 \
+ -Wall -ansi -pedantic -O3 -o $@ cdbtest.c \
+ -static -L/usr/local/lib -lcdb -lc
+
+
+bdbtest : bdbtest.c
+ gcc -I/usr/local/bdb/include -D_GNU_SOURCE=1 \
+ -Wall -O3 -o $@ bdbtest.c \
+ -static -L/usr/local/bdb/lib -ldb -lpthread -lc
+
+
+maptest : maptest.cc
+ LD_LIBRARY_PATH="$(LD_LIBRARY_PATH):.:.." ; PATH="$(PATH):.:.." ; \
+ export LD_LIBRARY_PATH PATH ; ldflags=`tcucodec conf -l` ; \
+ [ -z "$$ldflags" ] && \
+ ldflags="-L/usr/local/lib -ltokyocabinet -lz -lpthread -lm -lc" ; \
+ g++ -I.. -I/usr/local/include -D_GNU_SOURCE=1 \
+ -Wall -ansi -pedantic -O3 -o $@ maptest.cc \
+ -static -L. -L.. -lstdc++ $$ldflags
+
+
+
+# END OF FILE
Oops, something went wrong.

0 comments on commit 62d0f49

Please sign in to comment.