1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252
|
# Makefile for Kyoto Cabinet
#================================================================
# Setting Variables
#================================================================
# Generic settings
SHELL = @SHELL@
# Package information
PACKAGE = @PACKAGE_NAME@
PACKAGE_TARNAME = @PACKAGE_TARNAME@
VERSION = @PACKAGE_VERSION@
PACKAGEDIR = $(PACKAGE)-$(VERSION)
PACKAGETGZ = $(PACKAGE)-$(VERSION).tar.gz
LIBVER = @MYLIBVER@
LIBREV = @MYLIBREV@
FORMATVER = @MYFORMATVER@
# Targets
HEADERFILES = @MYHEADERFILES@
LIBRARYFILES = @MYLIBRARYFILES@
LIBOBJFILES = @MYLIBOBJFILES@
COMMANDFILES = @MYCOMMANDFILES@
MAN1FILES = @MYMAN1FILES@
DOCUMENTFILES = @MYDOCUMENTFILES@
PCFILES = @MYPCFILES@
# Install destinations
prefix = @prefix@
exec_prefix = @exec_prefix@
datarootdir = @datarootdir@
INCLUDEDIR = @includedir@
LIBDIR = @libdir@
BINDIR = @bindir@
LIBEXECDIR = @libexecdir@
DATADIR = @datadir@/$(PACKAGE)
MAN1DIR = @mandir@/man1
DOCDIR = @docdir@
PCDIR = @libdir@/pkgconfig
DESTDIR =
# Building configuration
CC = @CC@
CXX = @CXX@
CPPFLAGS = @MYCPPFLAGS@ \
-D_KC_PREFIX="\"$(prefix)\"" -D_KC_INCLUDEDIR="\"$(INCLUDEDIR)\"" \
-D_KC_LIBDIR="\"$(LIBDIR)\"" -D_KC_BINDIR="\"$(BINDIR)\"" -D_KC_LIBEXECDIR="\"$(LIBEXECDIR)\"" \
-D_KC_APPINC="\"-I$(INCLUDEDIR)\"" -D_KC_APPLIBS="\"-L$(LIBDIR) -lkyotocabinet @LIBS@\""
CFLAGS = @MYCFLAGS@
CXXFLAGS = @MYCXXFLAGS@
LDFLAGS = @MYLDFLAGS@
CMDLDFLAGS = @MYCMDLDFLAGS@
CMDLIBS = @MYCMDLIBS@
LIBS = @LIBS@
RUNENV = @MYLDLIBPATHENV@=@MYLDLIBPATH@
POSTCMD = @MYPOSTCMD@
#================================================================
# Suffix rules
#================================================================
.SUFFIXES :
.SUFFIXES : .c .cc .o
.c.o :
$(CC) -c $(CPPFLAGS) $(CFLAGS) $<
.cc.o :
$(CXX) -c $(CPPFLAGS) $(CXXFLAGS) $<
#================================================================
# Actions
#================================================================
all : $(LIBRARYFILES) $(COMMANDFILES)
@$(POSTCMD)
@printf '\n'
@printf '#================================================================\n'
@printf '# Ready to install.\n'
@printf '#================================================================\n'
clean :
rm -rf $(LIBRARYFILES) $(LIBOBJFILES) $(COMMANDFILES) $(CGIFILES) \
*.o *.gch a.out check.in check.out gmon.out *.log *.vlog words.tsv \
casket* *.kch *.kct *.kcd *.kcf *.wal *.tmpkc* *.kcss *~ hoge moge tako ika
version :
sed -e 's/_KC_VERSION.*/_KC_VERSION "$(VERSION)"/' \
-e "s/_KC_LIBVER.*/_KC_LIBVER $(LIBVER)/" \
-e "s/_KC_LIBREV.*/_KC_LIBREV $(LIBREV)/" \
-e 's/_KC_FMTVER.*/_KC_FMTVER $(FORMATVER)/' myconf.h > myconf.h~
[ -f myconf.h~ ] && mv -f myconf.h~ myconf.h
untabify :
ls *.cc *.h *.idl | while read name ; \
do \
sed -e 's/\t/ /g' -e 's/ *$$//' $$name > $$name~; \
[ -f $$name~ ] && mv -f $$name~ $$name ; \
done
install :
mkdir -p $(DESTDIR)$(INCLUDEDIR)
cp -Rf $(HEADERFILES) $(DESTDIR)$(INCLUDEDIR)
mkdir -p $(DESTDIR)$(LIBDIR)
cp -Rf $(LIBRARYFILES) $(DESTDIR)$(LIBDIR)
mkdir -p $(DESTDIR)$(BINDIR)
cp -Rf $(COMMANDFILES) $(DESTDIR)$(BINDIR)
mkdir -p $(DESTDIR)$(MAN1DIR)
cd man && cp -Rf $(MAN1FILES) $(DESTDIR)$(MAN1DIR)
mkdir -p $(DESTDIR)$(DOCDIR)
cp -Rf $(DOCUMENTFILES) $(DESTDIR)$(DOCDIR)
mkdir -p $(DESTDIR)$(PCDIR)
cp -Rf $(PCFILES) $(DESTDIR)$(PCDIR)
@printf '\n'
@printf '#================================================================\n'
@printf '# Thanks for using Kyoto Cabinet.\n'
@printf '#================================================================\n'
install-strip :
$(MAKE) DESTDIR=$(DESTDIR) install
cd $(DESTDIR)$(BINDIR) && strip $(COMMANDFILES)
uninstall :
-cd $(DESTDIR)$(INCLUDEDIR) && rm -f $(HEADERFILES)
-cd $(DESTDIR)$(LIBDIR) && rm -f $(LIBRARYFILES)
-cd $(DESTDIR)$(BINDIR) && rm -f $(COMMANDFILES)
-cd $(DESTDIR)$(MAN1DIR) && rm -f $(MAN1FILES)
-cd $(DESTDIR)$(DOCDIR) && rm -rf $(DOCUMENTFILES) && rmdir $(DOCDIR)
-cd $(DESTDIR)$(PCDIR) && rm -f $(PCFILES)
dist :
$(MAKE) version
$(MAKE) untabify
$(MAKE) distclean
cd .. && tar cvf - $(PACKAGEDIR) | gzip -c > $(PACKAGETGZ)
sync ; sync
distclean : clean
cd example && $(MAKE) clean
rm -rf Makefile kyotocabinet.pc \
config.cache config.log config.status config.tmp autom4te.cache
check :
$(MAKE) check-util
$(MAKE) check-proto
$(MAKE) check-stash
$(MAKE) check-cache
$(MAKE) check-grass
$(MAKE) check-hash
$(MAKE) check-tree
$(MAKE) check-dir
$(MAKE) check-forest
$(MAKE) check-poly
$(MAKE) check-langc
rm -rf casket*
@printf '\n'
@printf '#================================================================\n'
@printf '# Checking completed.\n'
@printf '#================================================================\n'
check-util :
rm -rf casket*
$(RUNENV) $(RUNCMD) ./kcutilmgr version
$(RUNENV) $(RUNCMD) ./kcutilmgr hex Makefile > check.in
$(RUNENV) $(RUNCMD) ./kcutilmgr hex -d check.in > check.out
$(RUNENV) $(RUNCMD) ./kcutilmgr enc Makefile > check.in
$(RUNENV) $(RUNCMD) ./kcutilmgr enc -d check.in > check.out
$(RUNENV) $(RUNCMD) ./kcutilmgr enc -hex Makefile > check.in
$(RUNENV) $(RUNCMD) ./kcutilmgr enc -hex -d check.in > check.out
$(RUNENV) $(RUNCMD) ./kcutilmgr enc -url Makefile > check.in
$(RUNENV) $(RUNCMD) ./kcutilmgr enc -url -d check.in > check.out
$(RUNENV) $(RUNCMD) ./kcutilmgr enc -quote Makefile > check.in
$(RUNENV) $(RUNCMD) ./kcutilmgr enc -quote -d check.in > check.out
$(RUNENV) $(RUNCMD) ./kcutilmgr ciph -key "hoge" Makefile > check.in
$(RUNENV) $(RUNCMD) ./kcutilmgr ciph -key "hoge" check.in > check.out
$(RUNENV) $(RUNCMD) ./kcutilmgr comp -gz Makefile > check.in
$(RUNENV) $(RUNCMD) ./kcutilmgr comp -gz -d check.in > check.out
$(RUNENV) $(RUNCMD) ./kcutilmgr comp -lzo Makefile > check.in
$(RUNENV) $(RUNCMD) ./kcutilmgr comp -lzo -d check.in > check.out
$(RUNENV) $(RUNCMD) ./kcutilmgr comp -lzma Makefile > check.in
$(RUNENV) $(RUNCMD) ./kcutilmgr comp -lzma -d check.in > check.out
$(RUNENV) $(RUNCMD) ./kcutilmgr hash Makefile > check.in
$(RUNENV) $(RUNCMD) ./kcutilmgr hash -fnv Makefile > check.out
$(RUNENV) $(RUNCMD) ./kcutilmgr hash -path Makefile > check.out
$(RUNENV) $(RUNCMD) ./kcutilmgr regex mikio Makefile > check.out
$(RUNENV) $(RUNCMD) ./kcutilmgr regex -alt "hirarin" mikio Makefile > check.out
$(RUNENV) $(RUNCMD) ./kcutilmgr conf
rm -rf casket*
$(RUNENV) $(RUNCMD) ./kcutiltest mutex -th 4 -iv -1 10000
$(RUNENV) $(RUNCMD) ./kcutiltest cond -th 4 -iv -1 10000
$(RUNENV) $(RUNCMD) ./kcutiltest para -th 4 10000
$(RUNENV) $(RUNCMD) ./kcutiltest para -th 4 -iv -1 10000
$(RUNENV) $(RUNCMD) ./kcutiltest file -th 4 casket 10000
$(RUNENV) $(RUNCMD) ./kcutiltest file -th 4 -rnd -msiz 1m casket 10000
$(RUNENV) $(RUNCMD) ./kcutiltest lhmap -bnum 1000 10000
$(RUNENV) $(RUNCMD) ./kcutiltest lhmap -rnd -bnum 1000 10000
$(RUNENV) $(RUNCMD) ./kcutiltest thmap -bnum 1000 10000
$(RUNENV) $(RUNCMD) ./kcutiltest thmap -rnd -bnum 1000 10000
$(RUNENV) $(RUNCMD) ./kcutiltest talist 10000
$(RUNENV) $(RUNCMD) ./kcutiltest talist -rnd 10000
$(RUNENV) $(RUNCMD) ./kcutiltest misc 10000
check-proto :
rm -rf casket*
$(RUNENV) $(RUNCMD) ./kcprototest order -etc 10000
$(RUNENV) $(RUNCMD) ./kcprototest order -th 4 10000
$(RUNENV) $(RUNCMD) ./kcprototest order -th 4 -rnd -etc 10000
$(RUNENV) $(RUNCMD) ./kcprototest order -th 4 -rnd -etc -tran 10000
$(RUNENV) $(RUNCMD) ./kcprototest wicked 10000
$(RUNENV) $(RUNCMD) ./kcprototest wicked -th 4 -it 4 10000
$(RUNENV) $(RUNCMD) ./kcprototest tran 10000
$(RUNENV) $(RUNCMD) ./kcprototest tran -th 2 -it 4 10000
rm -rf casket*
$(RUNENV) $(RUNCMD) ./kcprototest order -tree -etc 10000
$(RUNENV) $(RUNCMD) ./kcprototest order -tree -th 4 10000
$(RUNENV) $(RUNCMD) ./kcprototest order -tree -th 4 -rnd -etc 10000
$(RUNENV) $(RUNCMD) ./kcprototest order -tree -th 4 -rnd -etc -tran 10000
$(RUNENV) $(RUNCMD) ./kcprototest wicked -tree 10000
$(RUNENV) $(RUNCMD) ./kcprototest wicked -tree -th 4 -it 4 10000
$(RUNENV) $(RUNCMD) ./kcprototest tran -tree 10000
$(RUNENV) $(RUNCMD) ./kcprototest tran -tree -th 2 -it 4 10000
check-stash :
rm -rf casket*
$(RUNENV) $(RUNCMD) ./kcstashtest order -etc -bnum 5000 10000
$(RUNENV) $(RUNCMD) ./kcstashtest order -th 4 -bnum 5000 10000
$(RUNENV) $(RUNCMD) ./kcstashtest order -th 4 -rnd -etc -bnum 5000 10000
$(RUNENV) $(RUNCMD) ./kcstashtest order -th 4 -rnd -etc -bnum 5000 10000
$(RUNENV) $(RUNCMD) ./kcstashtest order -th 4 -rnd -etc -tran \
-bnum 5000 10000
$(RUNENV) $(RUNCMD) ./kcstashtest wicked -bnum 5000 10000
$(RUNENV) $(RUNCMD) ./kcstashtest wicked -th 4 -it 4 -bnum 5000 10000
$(RUNENV) $(RUNCMD) ./kcstashtest tran -bnum 5000 10000
$(RUNENV) $(RUNCMD) ./kcstashtest tran -th 2 -it 4 -bnum 5000 10000
check-cache :
rm -rf casket*
$(RUNENV) $(RUNCMD) ./kccachetest order -etc -bnum 5000 10000
$(RUNENV) $(RUNCMD) ./kccachetest order -th 4 -bnum 5000 10000
$(RUNENV) $(RUNCMD) ./kccachetest order -th 4 -rnd -etc -bnum 5000 -capcnt 10000 10000
$(RUNENV) $(RUNCMD) ./kccachetest order -th 4 -rnd -etc -bnum 5000 -capsiz 10000 10000
$(RUNENV) $(RUNCMD) ./kccachetest order -th 4 -rnd -etc -tran \
-tc -bnum 5000 -capcnt 10000 10000
$(RUNENV) $(RUNCMD) ./kccachetest wicked -bnum 5000 10000
$(RUNENV) $(RUNCMD) ./kccachetest wicked -th 4 -it 4 -tc -bnum 5000 -capcnt 10000 10000
$(RUNENV) $(RUNCMD) ./kccachetest tran -bnum 5000 10000
$(RUNENV) $(RUNCMD) ./kccachetest tran -th 2 -it 4 -tc -bnum 5000 10000
check-grass :
rm -rf casket*
$(RUNENV) $(RUNCMD) ./kcgrasstest order -etc -bnum 5000 10000
$(RUNENV) $(RUNCMD) ./kcgrasstest order -th 4 -bnum 5000 10000
$(RUNENV) $(RUNCMD) ./kcgrasstest order -th 4 -rnd -etc -bnum 5000 10000
$(RUNENV) $(RUNCMD) ./kcgrasstest order -th 4 -rnd -etc -bnum 5000 10000
$(RUNENV) $(RUNCMD) ./kcgrasstest order -th 4 -rnd -etc -tran \
-tc -bnum 5000 -pccap 10k -rcd 500
$(RUNENV) $(RUNCMD) ./kcgrasstest wicked -bnum 5000 10000
$(RUNENV) $(RUNCMD) ./kcgrasstest wicked -th 4 -it 4 -tc -bnum 5000 -pccap 10k -rcd 1000
$(RUNENV) $(RUNCMD) ./kcgrasstest tran -bnum 500 10000
$(RUNENV) $(RUNCMD) ./kcgrasstest tran -th 2 -it 4 -tc -bnum 5000 -pccap 10k -rcd 5000
check-hash :
rm -rf casket*
$(RUNENV) $(RUNCMD) ./kchashmgr create -otr -apow 1 -fpow 2 -bnum 3 casket
$(RUNENV) $(RUNCMD) ./kchashmgr inform -st casket
$(RUNENV) $(RUNCMD) ./kchashmgr set -add casket duffy 1231
$(RUNENV) $(RUNCMD) ./kchashmgr set -add casket micky 0101
$(RUNENV) $(RUNCMD) ./kchashmgr set casket fal 1007
$(RUNENV) $(RUNCMD) ./kchashmgr set casket mikio 0211
$(RUNENV) $(RUNCMD) ./kchashmgr set casket natsuki 0810
$(RUNENV) $(RUNCMD) ./kchashmgr set casket micky ""
$(RUNENV) $(RUNCMD) ./kchashmgr set -app casket duffy kukuku
$(RUNENV) $(RUNCMD) ./kchashmgr remove casket micky
$(RUNENV) $(RUNCMD) ./kchashmgr list -pv casket > check.out
$(RUNENV) $(RUNCMD) ./kchashmgr set casket ryu 1
$(RUNENV) $(RUNCMD) ./kchashmgr set casket ken 2
$(RUNENV) $(RUNCMD) ./kchashmgr remove casket duffy
$(RUNENV) $(RUNCMD) ./kchashmgr set casket ryu syo-ryu-ken
$(RUNENV) $(RUNCMD) ./kchashmgr set casket ken tatsumaki-senpu-kyaku
$(RUNENV) $(RUNCMD) ./kchashmgr set -inci casket int 1234
$(RUNENV) $(RUNCMD) ./kchashmgr set -inci casket int 5678
$(RUNENV) $(RUNCMD) ./kchashmgr set -incd casket double 1234.5678
$(RUNENV) $(RUNCMD) ./kchashmgr set -incd casket double 8765.4321
$(RUNENV) $(RUNCMD) ./kchashmgr get casket mikio
$(RUNENV) $(RUNCMD) ./kchashmgr get casket ryu
$(RUNENV) $(RUNCMD) ./kchashmgr import casket lab/numbers.tsv
$(RUNENV) $(RUNCMD) ./kchashmgr list -pv -px casket > check.out
$(RUNENV) $(RUNCMD) ./kchashmgr copy casket casket-para
$(RUNENV) $(RUNCMD) ./kchashmgr dump casket check.out
$(RUNENV) $(RUNCMD) ./kchashmgr load -otr casket check.out
$(RUNENV) $(RUNCMD) ./kchashmgr defrag -onl casket
$(RUNENV) $(RUNCMD) ./kchashmgr setbulk casket aa aaa bb bbb cc ccc dd ddd
$(RUNENV) $(RUNCMD) ./kchashmgr removebulk casket aa bb zz
$(RUNENV) $(RUNCMD) ./kchashmgr getbulk casket aa bb cc dd
$(RUNENV) $(RUNCMD) ./kchashmgr check -onr casket
$(RUNENV) $(RUNCMD) ./kchashmgr inform -st casket
$(RUNENV) $(RUNCMD) ./kchashmgr create -otr -otl -onr -apow 1 -fpow 3 \
-ts -tl -tc -bnum 1 casket
$(RUNENV) $(RUNCMD) ./kchashmgr import casket < lab/numbers.tsv
$(RUNENV) $(RUNCMD) ./kchashmgr set casket mikio kyotocabinet
$(RUNENV) $(RUNCMD) ./kchashmgr set -app casket tako ikaunini
$(RUNENV) $(RUNCMD) ./kchashmgr set -app casket mikio kyototyrant
$(RUNENV) $(RUNCMD) ./kchashmgr set -app casket mikio kyotodystopia
$(RUNENV) $(RUNCMD) ./kchashmgr get -px casket mikio > check.out
$(RUNENV) $(RUNCMD) ./kchashmgr list casket > check.out
$(RUNENV) $(RUNCMD) ./kchashmgr check -onr casket
$(RUNENV) $(RUNCMD) ./kchashmgr clear casket
rm -rf casket*
$(RUNENV) $(RUNCMD) ./kchashtest order -set -bnum 5000 -msiz 50000 casket 10000
$(RUNENV) $(RUNCMD) ./kchashtest order -get -msiz 50000 casket 10000
$(RUNENV) $(RUNCMD) ./kchashtest order -getw -msiz 5000 casket 10000
$(RUNENV) $(RUNCMD) ./kchashtest order -rem -msiz 50000 casket 10000
$(RUNENV) $(RUNCMD) ./kchashtest order -bnum 5000 -msiz 50000 casket 10000
$(RUNENV) $(RUNCMD) ./kchashtest order -etc \
-bnum 5000 -msiz 50000 -dfunit 4 casket 10000
$(RUNENV) $(RUNCMD) ./kchashtest order -th 4 \
-bnum 5000 -msiz 50000 -dfunit 4 casket 10000
$(RUNENV) $(RUNCMD) ./kchashtest order -th 4 -rnd -etc \
-bnum 5000 -msiz 50000 -dfunit 4 casket 10000
$(RUNENV) $(RUNCMD) ./kchashmgr check -onr casket
$(RUNENV) $(RUNCMD) ./kchashtest order -th 4 -rnd -etc -tran \
-bnum 5000 -msiz 50000 -dfunit 4 casket 10000
$(RUNENV) $(RUNCMD) ./kchashmgr check -onr casket
$(RUNENV) $(RUNCMD) ./kchashtest order -th 4 -rnd -etc -oat \
-bnum 5000 -msiz 50000 -dfunit 4 casket 10000
$(RUNENV) $(RUNCMD) ./kchashmgr check -onr casket
$(RUNENV) $(RUNCMD) ./kchashtest order -th 4 -rnd -etc \
-apow 2 -fpow 3 -ts -tl -tc -bnum 5000 -msiz 50000 -dfunit 4 casket 10000
$(RUNENV) $(RUNCMD) ./kchashmgr check -onr casket
$(RUNENV) $(RUNCMD) ./kchashtest queue \
-bnum 5000 -msiz 50000 casket 10000
$(RUNENV) $(RUNCMD) ./kchashmgr check -onr casket
$(RUNENV) $(RUNCMD) ./kchashtest queue -rnd \
-bnum 5000 -msiz 50000 casket 10000
$(RUNENV) $(RUNCMD) ./kchashmgr check -onr casket
$(RUNENV) $(RUNCMD) ./kchashtest queue -th 4 -it 4 \
-bnum 5000 -msiz 50000 casket 10000
$(RUNENV) $(RUNCMD) ./kchashmgr check -onr casket
$(RUNENV) $(RUNCMD) ./kchashtest queue -th 4 -it 4 -rnd \
-bnum 5000 -msiz 50000 casket 10000
$(RUNENV) $(RUNCMD) ./kchashmgr check -onr casket
$(RUNENV) $(RUNCMD) ./kchashtest wicked -bnum 5000 -msiz 50000 casket 10000
$(RUNENV) $(RUNCMD) ./kchashmgr check -onr casket
$(RUNENV) $(RUNCMD) ./kchashtest wicked -th 4 -it 4 \
-bnum 5000 -msiz 50000 -dfunit 4 casket 10000
$(RUNENV) $(RUNCMD) ./kchashmgr check -onr casket
$(RUNENV) $(RUNCMD) ./kchashtest wicked -th 4 -it 4 -oat \
-bnum 5000 -msiz 50000 -dfunit 4 casket 10000
$(RUNENV) $(RUNCMD) ./kchashmgr check -onr casket
$(RUNENV) $(RUNCMD) ./kchashtest wicked -th 4 -it 4 \
-apow 2 -fpow 3 -ts -tl -tc -bnum 10000 -msiz 50000 -dfunit 4 casket 10000
$(RUNENV) $(RUNCMD) ./kchashmgr check -onr casket
$(RUNENV) $(RUNCMD) ./kchashtest tran casket 10000
$(RUNENV) $(RUNCMD) ./kchashtest tran -th 2 -it 4 casket 10000
$(RUNENV) $(RUNCMD) ./kchashtest tran -th 2 -it 4 \
-apow 2 -fpow 3 -ts -tl -tc -bnum 10000 -msiz 50000 -dfunit 4 casket 10000
check-tree :
rm -rf casket*
$(RUNENV) $(RUNCMD) ./kctreemgr create -otr -apow 1 -fpow 2 -bnum 3 casket
$(RUNENV) $(RUNCMD) ./kctreemgr inform -st casket
$(RUNENV) $(RUNCMD) ./kctreemgr set -add casket duffy 1231
$(RUNENV) $(RUNCMD) ./kctreemgr set -add casket micky 0101
$(RUNENV) $(RUNCMD) ./kctreemgr set casket fal 1007
$(RUNENV) $(RUNCMD) ./kctreemgr set casket mikio 0211
$(RUNENV) $(RUNCMD) ./kctreemgr set casket natsuki 0810
$(RUNENV) $(RUNCMD) ./kctreemgr set casket micky ""
$(RUNENV) $(RUNCMD) ./kctreemgr set -app casket duffy kukuku
$(RUNENV) $(RUNCMD) ./kctreemgr remove casket micky
$(RUNENV) $(RUNCMD) ./kctreemgr list -pv casket > check.out
$(RUNENV) $(RUNCMD) ./kctreemgr set casket ryu 1
$(RUNENV) $(RUNCMD) ./kctreemgr set casket ken 2
$(RUNENV) $(RUNCMD) ./kctreemgr remove casket duffy
$(RUNENV) $(RUNCMD) ./kctreemgr set casket ryu syo-ryu-ken
$(RUNENV) $(RUNCMD) ./kctreemgr set casket ken tatsumaki-senpu-kyaku
$(RUNENV) $(RUNCMD) ./kctreemgr set -inci casket int 1234
$(RUNENV) $(RUNCMD) ./kctreemgr set -inci casket int 5678
$(RUNENV) $(RUNCMD) ./kctreemgr set -incd casket double 1234.5678
$(RUNENV) $(RUNCMD) ./kctreemgr set -incd casket double 8765.4321
$(RUNENV) $(RUNCMD) ./kctreemgr get casket mikio
$(RUNENV) $(RUNCMD) ./kctreemgr get casket ryu
$(RUNENV) $(RUNCMD) ./kctreemgr import casket lab/numbers.tsv
$(RUNENV) $(RUNCMD) ./kctreemgr list -des -pv -px casket > check.out
$(RUNENV) $(RUNCMD) ./kctreemgr copy casket casket-para
$(RUNENV) $(RUNCMD) ./kctreemgr dump casket check.out
$(RUNENV) $(RUNCMD) ./kctreemgr load -otr casket check.out
$(RUNENV) $(RUNCMD) ./kctreemgr defrag -onl casket
$(RUNENV) $(RUNCMD) ./kctreemgr setbulk casket aa aaa bb bbb cc ccc dd ddd
$(RUNENV) $(RUNCMD) ./kctreemgr removebulk casket aa bb zz
$(RUNENV) $(RUNCMD) ./kctreemgr getbulk casket aa bb cc dd
$(RUNENV) $(RUNCMD) ./kctreemgr check -onr casket
$(RUNENV) $(RUNCMD) ./kctreemgr inform -st casket
$(RUNENV) $(RUNCMD) ./kctreemgr create -otr -otl -onr -apow 1 -fpow 3 \
-ts -tl -tc -bnum 1 casket
$(RUNENV) $(RUNCMD) ./kctreemgr import casket < lab/numbers.tsv
$(RUNENV) $(RUNCMD) ./kctreemgr set casket mikio kyotocabinet
$(RUNENV) $(RUNCMD) ./kctreemgr set -app casket tako ikaunini
$(RUNENV) $(RUNCMD) ./kctreemgr set -app casket mikio kyototyrant
$(RUNENV) $(RUNCMD) ./kctreemgr set -app casket mikio kyotodystopia
$(RUNENV) $(RUNCMD) ./kctreemgr get -px casket mikio > check.out
$(RUNENV) $(RUNCMD) ./kctreemgr list casket > check.out
$(RUNENV) $(RUNCMD) ./kctreemgr check -onr casket
$(RUNENV) $(RUNCMD) ./kctreemgr clear casket
rm -rf casket*
$(RUNENV) $(RUNCMD) ./kctreetest order -set \
-psiz 100 -bnum 5000 -msiz 50000 -pccap 100k casket 10000
$(RUNENV) $(RUNCMD) ./kctreetest order -get \
-msiz 50000 -pccap 100k casket 10000
$(RUNENV) $(RUNCMD) ./kctreetest order -getw \
-msiz 5000 -pccap 100k casket 10000
$(RUNENV) $(RUNCMD) ./kctreetest order -rem \
-msiz 50000 -pccap 100k casket 10000
$(RUNENV) $(RUNCMD) ./kctreetest order \
-bnum 5000 -psiz 100 -msiz 50000 -pccap 100k casket 10000
$(RUNENV) $(RUNCMD) ./kctreetest order -etc \
-bnum 5000 -psiz 1000 -msiz 50000 -dfunit 4 -pccap 100k casket 10000
$(RUNENV) $(RUNCMD) ./kctreetest order -th 4 \
-bnum 5000 -psiz 1000 -msiz 50000 -dfunit 4 -pccap 100k casket 10000
$(RUNENV) $(RUNCMD) ./kctreetest order -th 4 -pccap 100k -rnd -etc \
-bnum 5000 -psiz 1000 -msiz 50000 -dfunit 4 -pccap 100k -rcd casket 10000
$(RUNENV) $(RUNCMD) ./kctreemgr check -onr casket
$(RUNENV) $(RUNCMD) ./kctreetest order -th 4 -rnd -etc -tran \
-bnum 5000 -psiz 1000 -msiz 50000 -dfunit 4 -pccap 100k casket 1000
$(RUNENV) $(RUNCMD) ./kctreemgr check -onr casket
$(RUNENV) $(RUNCMD) ./kctreetest order -th 4 -rnd -etc -oat \
-bnum 5000 -psiz 1000 -msiz 50000 -dfunit 4 -pccap 100k casket 1000
$(RUNENV) $(RUNCMD) ./kctreemgr check -onr casket
$(RUNENV) $(RUNCMD) ./kctreetest order -th 4 -rnd -etc \
-apow 2 -fpow 3 -ts -tl -tc -bnum 5000 -psiz 1000 -msiz 50000 -dfunit 4 casket 10000
$(RUNENV) $(RUNCMD) ./kctreemgr check -onr casket
$(RUNENV) $(RUNCMD) ./kctreetest queue \
-bnum 5000 -psiz 500 -msiz 50000 casket 10000
$(RUNENV) $(RUNCMD) ./kctreemgr check -onr casket
$(RUNENV) $(RUNCMD) ./kctreetest queue -rnd \
-bnum 5000 -psiz 500 -msiz 50000 casket 10000
$(RUNENV) $(RUNCMD) ./kctreemgr check -onr casket
$(RUNENV) $(RUNCMD) ./kctreetest queue -th 4 -it 4 \
-bnum 5000 -psiz 500 -msiz 50000 casket 10000
$(RUNENV) $(RUNCMD) ./kctreemgr check -onr casket
$(RUNENV) $(RUNCMD) ./kctreetest queue -th 4 -it 4 -rnd \
-bnum 5000 -psiz 500 -msiz 50000 casket 10000
$(RUNENV) $(RUNCMD) ./kctreemgr check -onr casket
$(RUNENV) $(RUNCMD) ./kctreetest wicked \
-bnum 5000 -psiz 1000 -msiz 50000 -pccap 100k casket 10000
$(RUNENV) $(RUNCMD) ./kctreemgr check -onr casket
$(RUNENV) $(RUNCMD) ./kctreetest wicked -th 4 -it 4 \
-bnum 5000 -msiz 50000 -dfunit 4 -pccap 100k -rcd casket 10000
$(RUNENV) $(RUNCMD) ./kctreemgr check -onr casket
$(RUNENV) $(RUNCMD) ./kctreetest wicked -th 4 -it 4 -oat \
-bnum 5000 -msiz 50000 -dfunit 4 -pccap 100k casket 1000
$(RUNENV) $(RUNCMD) ./kctreemgr check -onr casket
$(RUNENV) $(RUNCMD) ./kctreetest wicked -th 4 -it 4 \
-apow 2 -fpow 3 -ts -tl -tc -bnum 10000 -msiz 50000 -dfunit 4 casket 1000
$(RUNENV) $(RUNCMD) ./kctreemgr check -onr casket
$(RUNENV) $(RUNCMD) ./kctreetest tran casket 10000
$(RUNENV) $(RUNCMD) ./kctreetest tran -th 2 -it 4 -pccap 100k casket 10000
$(RUNENV) $(RUNCMD) ./kctreetest tran -th 2 -it 4 \
-apow 2 -fpow 3 -ts -tl -tc -bnum 10000 -msiz 50000 -dfunit 4 -rcd casket 10000
check-dir :
rm -rf casket*
$(RUNENV) $(RUNCMD) ./kcdirmgr create -otr casket
$(RUNENV) $(RUNCMD) ./kcdirmgr inform -st casket
$(RUNENV) $(RUNCMD) ./kcdirmgr set -add casket duffy 1231
$(RUNENV) $(RUNCMD) ./kcdirmgr set -add casket micky 0101
$(RUNENV) $(RUNCMD) ./kcdirmgr set casket fal 1007
$(RUNENV) $(RUNCMD) ./kcdirmgr set casket mikio 0211
$(RUNENV) $(RUNCMD) ./kcdirmgr set casket natsuki 0810
$(RUNENV) $(RUNCMD) ./kcdirmgr set casket micky ""
$(RUNENV) $(RUNCMD) ./kcdirmgr set -app casket duffy kukuku
$(RUNENV) $(RUNCMD) ./kcdirmgr remove casket micky
$(RUNENV) $(RUNCMD) ./kcdirmgr list -pv casket > check.out
$(RUNENV) $(RUNCMD) ./kcdirmgr set casket ryu 1
$(RUNENV) $(RUNCMD) ./kcdirmgr set casket ken 2
$(RUNENV) $(RUNCMD) ./kcdirmgr remove casket duffy
$(RUNENV) $(RUNCMD) ./kcdirmgr set casket ryu syo-ryu-ken
$(RUNENV) $(RUNCMD) ./kcdirmgr set casket ken tatsumaki-senpu-kyaku
$(RUNENV) $(RUNCMD) ./kcdirmgr set -inci casket int 1234
$(RUNENV) $(RUNCMD) ./kcdirmgr set -inci casket int 5678
$(RUNENV) $(RUNCMD) ./kcdirmgr set -incd casket double 1234.5678
$(RUNENV) $(RUNCMD) ./kcdirmgr set -incd casket double 8765.4321
$(RUNENV) $(RUNCMD) ./kcdirmgr get casket mikio
$(RUNENV) $(RUNCMD) ./kcdirmgr get casket ryu
$(RUNENV) $(RUNCMD) ./kcdirmgr import casket lab/numbers.tsv
$(RUNENV) $(RUNCMD) ./kcdirmgr list -pv -px casket > check.out
$(RUNENV) $(RUNCMD) ./kcdirmgr copy casket casket-para
$(RUNENV) $(RUNCMD) ./kcdirmgr dump casket check.out
$(RUNENV) $(RUNCMD) ./kcdirmgr load -otr casket check.out
$(RUNENV) $(RUNCMD) ./kcdirmgr setbulk casket aa aaa bb bbb cc ccc dd ddd
$(RUNENV) $(RUNCMD) ./kcdirmgr removebulk casket aa bb zz
$(RUNENV) $(RUNCMD) ./kcdirmgr getbulk casket aa bb cc dd
$(RUNENV) $(RUNCMD) ./kcdirmgr check -onr casket
$(RUNENV) $(RUNCMD) ./kcdirmgr inform -st casket
$(RUNENV) $(RUNCMD) ./kcdirmgr create -otr -otl -onr -tc casket
$(RUNENV) $(RUNCMD) ./kcdirmgr import casket < lab/numbers.tsv
$(RUNENV) $(RUNCMD) ./kcdirmgr set casket mikio kyotocabinet
$(RUNENV) $(RUNCMD) ./kcdirmgr set -app casket tako ikaunini
$(RUNENV) $(RUNCMD) ./kcdirmgr set -app casket mikio kyototyrant
$(RUNENV) $(RUNCMD) ./kcdirmgr set -app casket mikio kyotodystopia
$(RUNENV) $(RUNCMD) ./kcdirmgr get -px casket mikio > check.out
$(RUNENV) $(RUNCMD) ./kcdirmgr list casket > check.out
$(RUNENV) $(RUNCMD) ./kcdirmgr check -onr casket
$(RUNENV) $(RUNCMD) ./kcdirmgr clear casket
rm -rf casket*
$(RUNENV) $(RUNCMD) ./kcdirtest order -set casket 500
$(RUNENV) $(RUNCMD) ./kcdirtest order -get casket 500
$(RUNENV) $(RUNCMD) ./kcdirtest order -getw casket 500
$(RUNENV) $(RUNCMD) ./kcdirtest order -rem casket 500
$(RUNENV) $(RUNCMD) ./kcdirtest order casket 500
$(RUNENV) $(RUNCMD) ./kcdirtest order -etc casket 500
$(RUNENV) $(RUNCMD) ./kcdirtest order -th 4 casket 500
$(RUNENV) $(RUNCMD) ./kcdirtest order -th 4 -rnd -etc casket 500
$(RUNENV) $(RUNCMD) ./kcdirmgr check -onr casket
# $(RUNENV) $(RUNCMD) ./kcdirtest order -th 4 -rnd -etc -tran casket 500
$(RUNENV) $(RUNCMD) ./kcdirmgr check -onr casket
# $(RUNENV) $(RUNCMD) ./kcdirtest order -th 4 -rnd -etc -oat casket 500
$(RUNENV) $(RUNCMD) ./kcdirmgr check -onr casket
$(RUNENV) $(RUNCMD) ./kcdirtest order -th 4 -rnd -etc -tc casket 500
$(RUNENV) $(RUNCMD) ./kcdirmgr check -onr casket
$(RUNENV) $(RUNCMD) ./kcdirtest queue casket 500
$(RUNENV) $(RUNCMD) ./kcdirmgr check -onr casket
$(RUNENV) $(RUNCMD) ./kcdirtest queue -rnd casket 500
$(RUNENV) $(RUNCMD) ./kcdirmgr check -onr casket
$(RUNENV) $(RUNCMD) ./kcdirtest queue -th 4 -it 4 casket 500
$(RUNENV) $(RUNCMD) ./kcdirmgr check -onr casket
$(RUNENV) $(RUNCMD) ./kcdirtest queue -th 4 -it 4 -rnd casket 500
$(RUNENV) $(RUNCMD) ./kcdirmgr check -onr casket
$(RUNENV) $(RUNCMD) ./kcdirtest wicked casket 500
$(RUNENV) $(RUNCMD) ./kcdirmgr check -onr casket
$(RUNENV) $(RUNCMD) ./kcdirtest wicked -th 4 -it 4 casket 500
$(RUNENV) $(RUNCMD) ./kcdirmgr check -onr casket
$(RUNENV) $(RUNCMD) ./kcdirtest wicked -th 4 -it 4 -oat casket 500
$(RUNENV) $(RUNCMD) ./kcdirmgr check -onr casket
$(RUNENV) $(RUNCMD) ./kcdirtest wicked -th 4 -it 4 -tc casket 500
$(RUNENV) $(RUNCMD) ./kcdirmgr check -onr casket
$(RUNENV) $(RUNCMD) ./kcdirtest tran casket 500
$(RUNENV) $(RUNCMD) ./kcdirtest tran -th 2 -it 4 casket 500
$(RUNENV) $(RUNCMD) ./kcdirtest tran -th 2 -it 4 -tc casket 500
check-forest :
rm -rf casket*
$(RUNENV) $(RUNCMD) ./kcforestmgr create -otr -bnum 3 casket
$(RUNENV) $(RUNCMD) ./kcforestmgr inform -st casket
$(RUNENV) $(RUNCMD) ./kcforestmgr set -add casket duffy 1231
$(RUNENV) $(RUNCMD) ./kcforestmgr set -add casket micky 0101
$(RUNENV) $(RUNCMD) ./kcforestmgr set casket fal 1007
$(RUNENV) $(RUNCMD) ./kcforestmgr set casket mikio 0211
$(RUNENV) $(RUNCMD) ./kcforestmgr set casket natsuki 0810
$(RUNENV) $(RUNCMD) ./kcforestmgr set casket micky ""
$(RUNENV) $(RUNCMD) ./kcforestmgr set -app casket duffy kukuku
$(RUNENV) $(RUNCMD) ./kcforestmgr remove casket micky
$(RUNENV) $(RUNCMD) ./kcforestmgr list -pv casket > check.out
$(RUNENV) $(RUNCMD) ./kcforestmgr set casket ryu 1
$(RUNENV) $(RUNCMD) ./kcforestmgr set casket ken 2
$(RUNENV) $(RUNCMD) ./kcforestmgr remove casket duffy
$(RUNENV) $(RUNCMD) ./kcforestmgr set casket ryu syo-ryu-ken
$(RUNENV) $(RUNCMD) ./kcforestmgr set casket ken tatsumaki-senpu-kyaku
$(RUNENV) $(RUNCMD) ./kcforestmgr set -inci casket int 1234
$(RUNENV) $(RUNCMD) ./kcforestmgr set -inci casket int 5678
$(RUNENV) $(RUNCMD) ./kcforestmgr set -incd casket double 1234.5678
$(RUNENV) $(RUNCMD) ./kcforestmgr set -incd casket double 8765.4321
$(RUNENV) $(RUNCMD) ./kcforestmgr get casket mikio
$(RUNENV) $(RUNCMD) ./kcforestmgr get casket ryu
$(RUNENV) $(RUNCMD) ./kcforestmgr import casket lab/numbers.tsv
$(RUNENV) $(RUNCMD) ./kcforestmgr list -des -pv -px casket > check.out
$(RUNENV) $(RUNCMD) ./kcforestmgr copy casket casket-para
$(RUNENV) $(RUNCMD) ./kcforestmgr dump casket check.out
$(RUNENV) $(RUNCMD) ./kcforestmgr load -otr casket check.out
$(RUNENV) $(RUNCMD) ./kcforestmgr setbulk casket aa aaa bb bbb cc ccc dd ddd
$(RUNENV) $(RUNCMD) ./kcforestmgr removebulk casket aa bb zz
$(RUNENV) $(RUNCMD) ./kcforestmgr getbulk casket aa bb cc dd
$(RUNENV) $(RUNCMD) ./kcforestmgr check -onr casket
$(RUNENV) $(RUNCMD) ./kcforestmgr inform -st casket
$(RUNENV) $(RUNCMD) ./kcforestmgr create -otr -otl -onr \
-tc -bnum 1 casket
$(RUNENV) $(RUNCMD) ./kcforestmgr import casket < lab/numbers.tsv
$(RUNENV) $(RUNCMD) ./kcforestmgr set casket mikio kyotocabinet
$(RUNENV) $(RUNCMD) ./kcforestmgr set -app casket tako ikaunini
$(RUNENV) $(RUNCMD) ./kcforestmgr set -app casket mikio kyototyrant
$(RUNENV) $(RUNCMD) ./kcforestmgr set -app casket mikio kyotodystopia
$(RUNENV) $(RUNCMD) ./kcforestmgr get -px casket mikio > check.out
$(RUNENV) $(RUNCMD) ./kcforestmgr list casket > check.out
$(RUNENV) $(RUNCMD) ./kcforestmgr check -onr casket
$(RUNENV) $(RUNCMD) ./kcforestmgr clear casket
rm -rf casket*
$(RUNENV) $(RUNCMD) ./kcforesttest order -set \
-psiz 100 -bnum 5000 -pccap 100k casket 5000
$(RUNENV) $(RUNCMD) ./kcforesttest order -get \
-pccap 100k casket 5000
$(RUNENV) $(RUNCMD) ./kcforesttest order -getw \
-pccap 100k casket 5000
$(RUNENV) $(RUNCMD) ./kcforesttest order -rem \
-pccap 100k casket 5000
$(RUNENV) $(RUNCMD) ./kcforesttest order \
-bnum 5000 -psiz 100 -pccap 100k casket 5000
$(RUNENV) $(RUNCMD) ./kcforesttest order -etc \
-bnum 5000 -psiz 1000 -pccap 100k casket 5000
$(RUNENV) $(RUNCMD) ./kcforesttest order -th 4 \
-bnum 5000 -psiz 1000 -pccap 100k casket 5000
$(RUNENV) $(RUNCMD) ./kcforesttest order -th 4 -pccap 100k -rnd -etc \
-bnum 5000 -psiz 1000 -pccap 100k -rcd casket 5000
$(RUNENV) $(RUNCMD) ./kcforestmgr check -onr casket
$(RUNENV) $(RUNCMD) ./kcforesttest order -th 4 -rnd -etc -tran \
-bnum 500 -psiz 1000 -pccap 100k casket 500
$(RUNENV) $(RUNCMD) ./kcforestmgr check -onr casket
$(RUNENV) $(RUNCMD) ./kcforesttest order -th 4 -rnd -etc -oat \
-bnum 500 -psiz 1000 -pccap 100k casket 500
$(RUNENV) $(RUNCMD) ./kcforestmgr check -onr casket
$(RUNENV) $(RUNCMD) ./kcforesttest order -th 4 -rnd -etc \
-tc -bnum 5000 -psiz 1000 casket 5000
$(RUNENV) $(RUNCMD) ./kcforestmgr check -onr casket
$(RUNENV) $(RUNCMD) ./kcforesttest queue \
-bnum 5000 -psiz 500 casket 5000
$(RUNENV) $(RUNCMD) ./kcforestmgr check -onr casket
$(RUNENV) $(RUNCMD) ./kcforesttest queue -rnd \
-bnum 5000 -psiz 500 casket 5000
$(RUNENV) $(RUNCMD) ./kcforestmgr check -onr casket
$(RUNENV) $(RUNCMD) ./kcforesttest queue -th 4 -it 4 \
-bnum 5000 -psiz 500 casket 5000
$(RUNENV) $(RUNCMD) ./kcforestmgr check -onr casket
$(RUNENV) $(RUNCMD) ./kcforesttest queue -th 4 -it 4 -rnd \
-bnum 5000 -psiz 500 casket 5000
$(RUNENV) $(RUNCMD) ./kcforestmgr check -onr casket
$(RUNENV) $(RUNCMD) ./kcforesttest wicked \
-bnum 5000 -psiz 1000 -pccap 100k casket 5000
$(RUNENV) $(RUNCMD) ./kcforestmgr check -onr casket
$(RUNENV) $(RUNCMD) ./kcforesttest wicked -th 4 -it 4 \
-bnum 5000 -pccap 100k -rcd casket 5000
$(RUNENV) $(RUNCMD) ./kcforestmgr check -onr casket
$(RUNENV) $(RUNCMD) ./kcforesttest wicked -th 4 -it 4 -oat \
-bnum 500 -pccap 100k casket 500
$(RUNENV) $(RUNCMD) ./kcforestmgr check -onr casket
$(RUNENV) $(RUNCMD) ./kcforesttest wicked -th 4 -it 4 \
-tc -bnum 500 casket 500
$(RUNENV) $(RUNCMD) ./kcforestmgr check -onr casket
$(RUNENV) $(RUNCMD) ./kcforesttest tran casket 5000
$(RUNENV) $(RUNCMD) ./kcforesttest tran -th 2 -it 4 -pccap 100k casket 5000
$(RUNENV) $(RUNCMD) ./kcforesttest tran -th 2 -it 4 \
-tc -bnum 5000 -rcd casket 5000
check-poly :
rm -rf casket*
$(RUNENV) $(RUNCMD) ./kcpolymgr create -otr "casket.kch#apow=1#fpow=2#bnum=3"
$(RUNENV) $(RUNCMD) ./kcpolymgr inform -st casket.kch
$(RUNENV) $(RUNCMD) ./kcpolymgr set -add casket.kch duffy 1231
$(RUNENV) $(RUNCMD) ./kcpolymgr set -add casket.kch micky 0101
$(RUNENV) $(RUNCMD) ./kcpolymgr set casket.kch fal 1007
$(RUNENV) $(RUNCMD) ./kcpolymgr set casket.kch mikio 0211
$(RUNENV) $(RUNCMD) ./kcpolymgr set casket.kch natsuki 0810
$(RUNENV) $(RUNCMD) ./kcpolymgr set casket.kch micky ""
$(RUNENV) $(RUNCMD) ./kcpolymgr set -app casket.kch duffy kukuku
$(RUNENV) $(RUNCMD) ./kcpolymgr remove casket.kch micky
$(RUNENV) $(RUNCMD) ./kcpolymgr list -pv casket.kch > check.out
$(RUNENV) $(RUNCMD) ./kcpolymgr copy casket.kch casket-para
$(RUNENV) $(RUNCMD) ./kcpolymgr dump casket.kch check.out
$(RUNENV) $(RUNCMD) ./kcpolymgr load -otr casket.kch check.out
$(RUNENV) $(RUNCMD) ./kcpolymgr set casket.kch ryu 1
$(RUNENV) $(RUNCMD) ./kcpolymgr set casket.kch ken 2
$(RUNENV) $(RUNCMD) ./kcpolymgr remove casket.kch duffy
$(RUNENV) $(RUNCMD) ./kcpolymgr set casket.kch ryu syo-ryu-ken
$(RUNENV) $(RUNCMD) ./kcpolymgr set casket.kch ken tatsumaki-senpu-kyaku
$(RUNENV) $(RUNCMD) ./kcpolymgr set -inci casket.kch int 1234
$(RUNENV) $(RUNCMD) ./kcpolymgr set -inci casket.kch int 5678
$(RUNENV) $(RUNCMD) ./kcpolymgr set -incd casket.kch double 1234.5678
$(RUNENV) $(RUNCMD) ./kcpolymgr set -incd casket.kch double 8765.4321
$(RUNENV) $(RUNCMD) ./kcpolymgr get "casket.kch" mikio
$(RUNENV) $(RUNCMD) ./kcpolymgr get "casket.kch" ryu
$(RUNENV) $(RUNCMD) ./kcpolymgr import casket.kch lab/numbers.tsv
$(RUNENV) $(RUNCMD) ./kcpolymgr list -pv -px "casket.kch#mode=r" > check.out
$(RUNENV) $(RUNCMD) ./kcpolymgr setbulk casket.kch aa aaa bb bbb cc ccc dd ddd
$(RUNENV) $(RUNCMD) ./kcpolymgr removebulk casket.kch aa bb zz
$(RUNENV) $(RUNCMD) ./kcpolymgr getbulk casket.kch aa bb cc dd
$(RUNENV) $(RUNCMD) ./kcpolymgr check -onr casket.kch
$(RUNENV) $(RUNCMD) ./kcpolymgr inform -st casket.kch
$(RUNENV) $(RUNCMD) ./kcpolymgr create -otr -otl -onr \
"casket.kct#apow=1#fpow=3#opts=slc#bnum=1"
$(RUNENV) $(RUNCMD) ./kcpolymgr import casket.kct < lab/numbers.tsv
$(RUNENV) $(RUNCMD) ./kcpolymgr set casket.kct mikio kyotocabinet
$(RUNENV) $(RUNCMD) ./kcpolymgr set -app casket.kct tako ikaunini
$(RUNENV) $(RUNCMD) ./kcpolymgr set -app casket.kct mikio kyototyrant
$(RUNENV) $(RUNCMD) ./kcpolymgr set -app casket.kct mikio kyotodystopia
$(RUNENV) $(RUNCMD) ./kcpolymgr get -px casket.kct mikio > check.out
$(RUNENV) $(RUNCMD) ./kcpolymgr list casket.kct > check.out
$(RUNENV) $(RUNCMD) ./kcpolymgr check -onr casket.kct
$(RUNENV) $(RUNCMD) ./kcpolymgr clear casket.kct
rm -rf casket*
$(RUNENV) $(RUNCMD) ./kcpolytest order -set "casket.kct#bnum=5000#msiz=50000" 10000
$(RUNENV) $(RUNCMD) ./kcpolytest order -get "casket.kct#msiz=50000" 10000
$(RUNENV) $(RUNCMD) ./kcpolytest order -getw "casket.kct#msiz=5000" 10000
$(RUNENV) $(RUNCMD) ./kcpolytest order -rem "casket.kct#msiz=50000" 10000
$(RUNENV) $(RUNCMD) ./kcpolytest order "casket.kct#bnum=5000#msiz=50000" 10000
$(RUNENV) $(RUNCMD) ./kcpolytest order -etc \
"casket.kct#bnum=5000#msiz=50000#dfunit=4" 10000
$(RUNENV) $(RUNCMD) ./kcpolytest order -th 4 \
"casket.kct#bnum=5000#msiz=50000#dfunit=4" 10000
$(RUNENV) $(RUNCMD) ./kcpolytest order -th 4 -rnd -etc \
"casket.kct#bnum=5000#msiz=0#dfunit=1" 1000
$(RUNENV) $(RUNCMD) ./kcpolymgr check -onr casket.kct
$(RUNENV) $(RUNCMD) ./kcpolytest order -th 4 -rnd -etc -tran \
"casket.kct#bnum=5000#msiz=0#dfunit=2" 1000
$(RUNENV) $(RUNCMD) ./kcpolymgr check -onr casket.kct
$(RUNENV) $(RUNCMD) ./kcpolytest order -th 4 -rnd -etc -oat \
"casket.kct#bnum=5000#msiz=0#dfunit=3" 1000
$(RUNENV) $(RUNCMD) ./kcpolymgr check -onr casket.kct
$(RUNENV) $(RUNCMD) ./kcpolytest order -th 4 -rnd -etc \
"casket.kct#apow=2#fpow=3#opts=slc#bnum=5000#msiz=0#dfunit=4" 1000
$(RUNENV) $(RUNCMD) ./kcpolymgr check -onr casket.kct
$(RUNENV) $(RUNCMD) ./kcpolytest queue \
"casket.kct#bnum=5000#msiz=0" 10000
$(RUNENV) $(RUNCMD) ./kcpolymgr check -onr casket.kct
$(RUNENV) $(RUNCMD) ./kcpolytest queue -rnd \
"casket.kct#bnum=5000#msiz=0" 10000
$(RUNENV) $(RUNCMD) ./kcpolymgr check -onr casket.kct
$(RUNENV) $(RUNCMD) ./kcpolytest queue -th 4 -it 4 \
"casket.kct#bnum=5000#msiz=0" 10000
$(RUNENV) $(RUNCMD) ./kcpolymgr check -onr casket.kct
$(RUNENV) $(RUNCMD) ./kcpolytest queue -th 4 -it 4 -rnd \
"casket.kct#bnum=5000#msiz=0" 10000
$(RUNENV) $(RUNCMD) ./kcpolymgr check -onr casket.kct
$(RUNENV) $(RUNCMD) ./kcpolytest wicked "casket.kct#bnum=5000#msiz=0" 1000
$(RUNENV) $(RUNCMD) ./kcpolymgr check -onr casket.kct
$(RUNENV) $(RUNCMD) ./kcpolytest wicked -th 4 -it 4 \
"casket.kct#bnum=5000#msiz=0#dfunit=1" 1000
$(RUNENV) $(RUNCMD) ./kcpolymgr check -onr casket.kct
$(RUNENV) $(RUNCMD) ./kcpolytest wicked -th 4 -it 4 -oat \
"casket.kct#bnum=5000#msiz=0#dfunit=1" 1000
$(RUNENV) $(RUNCMD) ./kcpolymgr check -onr casket.kct
$(RUNENV) $(RUNCMD) ./kcpolytest wicked -th 4 -it 4 \
"casket.kct#apow=2#fpow=3#opts=slc#bnum=10000#msiz=0#dfunit=1" 10000
$(RUNENV) $(RUNCMD) ./kcpolymgr check -onr casket.kct
$(RUNENV) $(RUNCMD) ./kcpolytest tran casket.kct 10000
$(RUNENV) $(RUNCMD) ./kcpolytest tran -th 2 -it 4 casket.kct 10000
$(RUNENV) $(RUNCMD) ./kcpolytest tran -th 2 -it 4 \
"casket.kct#apow=2#fpow=3#opts=slc#bnum=10000#msiz=0#dfunit=1" 1000
$(RUNENV) $(RUNCMD) ./kcpolytest mapred -dbnum 2 -clim 10k casket.kct 10000
$(RUNENV) $(RUNCMD) ./kcpolytest mapred -tmp . -dbnum 2 -clim 10k -xnl -xnc \
casket.kct 10000
$(RUNENV) $(RUNCMD) ./kcpolytest mapred -tmp . -dbnum 2 -clim 10k -xpm -xpr -xpf -xnc \
casket.kct 10000
$(RUNENV) $(RUNCMD) ./kcpolytest mapred -rnd -dbnum 2 -clim 10k casket.kct 10000
$(RUNENV) $(RUNCMD) ./kcpolytest index -set "casket.kct#idxclim=32k" 10000
$(RUNENV) $(RUNCMD) ./kcpolytest index -get "casket.kct" 10000
$(RUNENV) $(RUNCMD) ./kcpolytest index -rem "casket.kct" 10000
$(RUNENV) $(RUNCMD) ./kcpolytest index -etc "casket.kct#idxclim=32k" 10000
$(RUNENV) $(RUNCMD) ./kcpolytest index -th 4 -rnd -set \
"casket.kct#idxclim=32k#idxdbnum=4" 10000
$(RUNENV) $(RUNCMD) ./kcpolytest index -th 4 -rnd -get "casket.kct" 10000
$(RUNENV) $(RUNCMD) ./kcpolytest index -th 4 -rnd -rem "casket.kct" 10000
$(RUNENV) $(RUNCMD) ./kcpolytest index -th 4 -rnd -etc \
"casket.kct#idxclim=32k#idxdbnum=4" 10000
rm -rf casket*
$(RUNENV) $(RUNCMD) ./kcpolytest order -rnd "casket.kcx" 10000
$(RUNENV) $(RUNCMD) ./kcpolytest order -th 4 -rnd "casket.kcx" 10000
$(RUNENV) $(RUNCMD) ./kcpolytest wicked "casket.kcx" 10000
$(RUNENV) $(RUNCMD) ./kcpolytest wicked -th 4 "casket.kcx" 10000
$(RUNENV) $(RUNCMD) ./kcpolymgr list -pv "casket.kcx" > check.out
$(RUNENV) $(RUNCMD) ./kcpolymgr list -max 1000 -pv "casket.kcx" > check.out
$(RUNENV) $(RUNCMD) ./kcpolytest mapred "casket.kcx" 10000
$(RUNENV) $(RUNCMD) ./kcpolytest mapred -xpm -xpr -xpf "casket.kcx" 10000
rm -rf casket*
$(RUNENV) $(RUNCMD) ./kcpolytest order -rnd "casket.kch#opts=s#bnum=256" 1000
$(RUNENV) $(RUNCMD) ./kcpolytest order -rnd "casket.kct#opts=l#psiz=256" 1000
$(RUNENV) $(RUNCMD) ./kcpolytest order -rnd "casket.kcd#opts=c#bnum=256" 500
$(RUNENV) $(RUNCMD) ./kcpolytest order -rnd "casket.kcf#opts=c#psiz=256" 500
$(RUNENV) $(RUNCMD) ./kcpolytest order -rnd "casket.kcx" 500
$(RUNENV) $(RUNCMD) ./kcpolymgr merge -add "casket#type=kct" \
casket.kch casket.kct casket.kcd casket.kcf casket.kcx
rm -rf casket*
$(RUNENV) $(RUNCMD) ./kcpolytest misc "casket#type=-"
$(RUNENV) $(RUNCMD) ./kcpolytest misc "casket#type=+"
$(RUNENV) $(RUNCMD) ./kcpolytest misc "casket#type=:"
$(RUNENV) $(RUNCMD) ./kcpolytest misc "casket#type=*#zcomp=def"
$(RUNENV) $(RUNCMD) ./kcpolytest misc "casket#type=%#zcomp=gz"
rm -rf casket*
$(RUNENV) $(RUNCMD) ./kcpolytest misc \
"casket#type=kch#log=-#logkinds=debug#mtrg=-#zcomp=lzocrc"
rm -rf casket*
$(RUNENV) $(RUNCMD) ./kcpolytest misc \
"casket#type=kct#log=-#logkinds=debug#mtrg=-#zcomp=lzmacrc"
rm -rf casket*
$(RUNENV) $(RUNCMD) ./kcpolytest misc \
"casket#type=kcd#zcomp=arc#zkey=mikio"
rm -rf casket*
$(RUNENV) $(RUNCMD) ./kcpolytest misc \
"casket#type=kcf#zcomp=arc#zkey=mikio"
check-langc :
rm -rf casket*
$(RUNENV) $(RUNCMD) ./kclangctest order "casket.kch#bnum=5000#msiz=50000" 10000
$(RUNENV) $(RUNCMD) ./kclangctest order -etc \
"casket.kch#bnum=5000#msiz=50000#dfunit=2" 10000
$(RUNENV) $(RUNCMD) ./kclangctest order -rnd -etc \
"casket.kch#bnum=5000#msiz=50000#dfunit=2" 10000
$(RUNENV) $(RUNCMD) ./kclangctest order -rnd -etc -oat -tran \
"casket.kch#bnum=5000#msiz=50000#dfunit=2#zcomp=arcz" 10000
$(RUNENV) $(RUNCMD) ./kclangctest index "casket.kct#bnum=5000#msiz=50000" 10000
$(RUNENV) $(RUNCMD) ./kclangctest index -etc \
"casket.kct#bnum=5000#msiz=50000#dfunit=2" 10000
$(RUNENV) $(RUNCMD) ./kclangctest index -rnd -etc \
"casket.kct#bnum=5000#msiz=50000#dfunit=2" 10000
$(RUNENV) $(RUNCMD) ./kclangctest index -rnd -etc -oat \
"casket.kct#bnum=5000#msiz=50000#dfunit=2#zcomp=arcz" 10000
$(RUNENV) $(RUNCMD) ./kclangctest map 10000
$(RUNENV) $(RUNCMD) ./kclangctest map -etc -bnum 1000 10000
$(RUNENV) $(RUNCMD) ./kclangctest map -etc -rnd -bnum 1000 10000
$(RUNENV) $(RUNCMD) ./kclangctest list 10000
$(RUNENV) $(RUNCMD) ./kclangctest list -etc 10000
$(RUNENV) $(RUNCMD) ./kclangctest list -etc -rnd 10000
check-valgrind :
$(MAKE) RUNCMD="valgrind --tool=memcheck --log-file=%p.vlog" check
grep ERROR *.vlog | grep -v ' 0 errors' ; true
grep 'at exit' *.vlog | grep -v ' 0 bytes' ; true
check-heavy :
$(MAKE) check-hash-heavy
$(MAKE) check-tree-heavy
check-hash-heavy :
$(RUNENV) ./kchashtest order -th 4 \
-apow 2 -fpow 2 -bnum 500000 -msiz 50m -dfunit 2 casket 250000
$(RUNENV) ./kchashmgr check -onr casket
$(RUNENV) ./kchashtest order -th 4 -rnd \
-apow 2 -fpow 2 -bnum 500000 -msiz 50m -dfunit 2 casket 250000
$(RUNENV) ./kchashmgr check -onr casket
$(RUNENV) ./kchashtest order -th 4 -etc \
-apow 2 -fpow 2 -bnum 500000 -msiz 50m -dfunit 2 casket 250000
$(RUNENV) ./kchashmgr check -onr casket
$(RUNENV) ./kchashtest order -th 4 -etc -rnd \
-apow 2 -fpow 2 -bnum 500000 -msiz 50m -dfunit 2 casket 250000
$(RUNENV) ./kchashmgr check -onr casket
$(RUNENV) ./kchashtest order -th 4 -etc -rnd \
-ts -tl -tc -dfunit 2 casket 25000
$(RUNENV) ./kchashmgr check -onr casket
$(RUNENV) ./kchashtest queue -th 4 -it 10 \
-bnum 1000000 -apow 4 -fpow 12 -msiz 100m -dfunit 2 casket 250000
$(RUNENV) ./kchashmgr check -onr casket
$(RUNENV) ./kchashtest queue -th 4 -it 5 -rnd \
-ts -tl -tc -dfunit 2 casket 25000
$(RUNENV) ./kchashmgr check -onr casket
$(RUNENV) ./kchashtest queue -th 4 -it 2 -oat -rnd \
-bnum 1000 -dfunit 8 casket 25000
$(RUNENV) ./kchashmgr check -onr casket
$(RUNENV) ./kchashtest queue -th 4 -it 2 -oas -rnd \
-bnum 1000 -dfunit 8 casket 2500
$(RUNENV) ./kchashmgr check -onr casket
$(RUNENV) ./kchashtest wicked -th 4 -it 10 \
-bnum 1000000 -apow 4 -fpow 12 -msiz 100m -dfunit 2 casket 250000
$(RUNENV) ./kchashmgr check -onr casket
$(RUNENV) ./kchashtest wicked -th 4 -it 5 \
-ts -tl -tc -dfunit 2 casket 25000
$(RUNENV) ./kchashmgr check -onr casket
$(RUNENV) ./kchashtest wicked -th 4 -it 2 -oat \
-bnum 1000 -dfunit 8 casket 25000
$(RUNENV) ./kchashmgr check -onr casket
$(RUNENV) ./kchashtest wicked -th 4 -it 2 -oas \
-bnum 1000 -dfunit 8 casket 2500
$(RUNENV) ./kchashmgr check -onr casket
$(RUNENV) ./kchashtest tran -th 4 -it 10 \
-apow 2 -fpow 2 -bnum 500000 -msiz 50m -dfunit 2 casket 250000
$(RUNENV) ./kchashmgr check -onr casket
$(RUNENV) ./kchashtest tran -th 4 -it 5 \
-ts -tl -tc -dfunit 2 casket 250000
$(RUNENV) ./kchashmgr check -onr casket
check-tree-heavy :
$(RUNENV) ./kctreetest order -th 4 \
-apow 2 -fpow 2 -bnum 50000 -psiz 1000 -msiz 50m -dfunit 2 -pccap 10m casket 250000
$(RUNENV) ./kctreemgr check -onr casket
$(RUNENV) ./kctreetest order -th 4 -rnd \
-apow 2 -fpow 2 -bnum 50000 -psiz 1000 -msiz 50m -dfunit 2 -pccap 10m casket 250000
$(RUNENV) ./kctreemgr check -onr casket
$(RUNENV) ./kctreetest order -th 4 -etc \
-apow 2 -fpow 2 -bnum 50000 -psiz 1000 -msiz 50m -dfunit 2 -pccap 10m casket 250000
$(RUNENV) ./kctreemgr check -onr casket
$(RUNENV) ./kctreetest order -th 4 -etc -rnd \
-apow 2 -fpow 2 -bnum 50000 -psiz 1000 -msiz 50m -dfunit 2 -pccap 10m casket 250000
$(RUNENV) ./kctreemgr check -onr casket
$(RUNENV) ./kctreetest order -th 4 -etc -rnd \
-ts -tl -tc -dfunit 2 casket 25000
$(RUNENV) ./kctreemgr check -onr casket
$(RUNENV) ./kctreetest queue -th 4 -it 10 \
-bnum 1000000 -apow 4 -fpow 12 -msiz 100m -dfunit 2 -pccap 10m casket 250000
$(RUNENV) ./kctreemgr check -onr casket
$(RUNENV) ./kctreetest queue -th 4 -it 5 -rnd \
-ts -tl -tc -dfunit 2 -pccap 10m casket 25000
$(RUNENV) ./kctreemgr check -onr casket
$(RUNENV) ./kctreetest queue -th 4 -it 2 -oat -rnd \
-bnum 1000 -dfunit 8 -pccap 10m casket 25000
$(RUNENV) ./kctreemgr check -onr casket
$(RUNENV) ./kctreetest queue -th 4 -it 2 -oas -rnd \
-bnum 1000 -dfunit 8 -pccap 10m casket 2500
$(RUNENV) ./kctreemgr check -onr casket
$(RUNENV) ./kctreetest wicked -th 4 -it 5 \
-bnum 100000 -apow 4 -fpow 12 -msiz 100m -dfunit 2 -pccap 10m casket 250000
$(RUNENV) ./kctreemgr check -onr casket
$(RUNENV) ./kctreetest wicked -th 4 -it 2 \
-ts -tl -tc -dfunit 2 -pccap 10m casket 25000
$(RUNENV) ./kctreemgr check -onr casket
$(RUNENV) ./kctreetest wicked -th 4 -it 2 -oat \
-bnum 1000 -dfunit 8 -pccap 10m casket 25000
$(RUNENV) ./kctreemgr check -onr casket
$(RUNENV) ./kctreetest wicked -th 4 -it 2 -oas \
-bnum 1000 -dfunit 8 -pccap 10m casket 2500
$(RUNENV) ./kctreemgr check -onr casket
$(RUNENV) ./kctreetest tran -th 4 -it 5 \
-apow 2 -fpow 2 -bnum 50000 -msiz 50m -dfunit 2 -pccap 10m casket 250000
$(RUNENV) ./kctreemgr check -onr casket
$(RUNENV) ./kctreetest tran -th 4 -it 2 \
-ts -tl -tc -dfunit 2 -pccap 10m casket 250000
$(RUNENV) ./kctreemgr check -onr casket
check-segv :
$(RUNENV) ./lab/segvtest hash "0.5" 100
$(RUNENV) ./lab/segvtest hash "" 10
$(RUNENV) ./lab/segvtest hash "100" 1
$(RUNENV) ./lab/segvtest hash -oat "0.5" 100
$(RUNENV) ./lab/segvtest hash -oat "" 10
$(RUNENV) ./lab/segvtest hash -oat "100" 1
$(RUNENV) ./lab/segvtest hash -tran "" 10
$(RUNENV) ./lab/segvtest hash -wicked "" 10
$(RUNENV) ./lab/segvtest hash -wicked -oat "" 10
$(RUNENV) ./lab/segvtest tree "0.5" 100
$(RUNENV) ./lab/segvtest tree "" 10
$(RUNENV) ./lab/segvtest tree "100" 1
$(RUNENV) ./lab/segvtest tree -oat "0.5" 100
$(RUNENV) ./lab/segvtest tree -oat "" 10
$(RUNENV) ./lab/segvtest tree -oat "100" 1
$(RUNENV) ./lab/segvtest tree -tran "" 10
$(RUNENV) ./lab/segvtest tree -wicked "" 10
$(RUNENV) ./lab/segvtest tree -wicked -oat "" 10
$(RUNENV) ./lab/segvtest dir -oat "" 10
$(RUNENV) ./lab/segvtest dir -oat "0.5" 100
$(RUNENV) ./lab/segvtest dir -oat "" 10
$(RUNENV) ./lab/segvtest dir -oat "100" 1
$(RUNENV) ./lab/segvtest dir -tran "" 10
$(RUNENV) ./lab/segvtest dir -wicked "" 10
$(RUNENV) ./lab/segvtest dir -wicked -oat "" 10
$(RUNENV) ./lab/segvtest forest "" 10
$(RUNENV) ./lab/segvtest forest -oat "0.5" 100
$(RUNENV) ./lab/segvtest forest -oat "" 10
$(RUNENV) ./lab/segvtest forest -oat "100" 1
$(RUNENV) ./lab/segvtest forest -tran "" 10
$(RUNENV) ./lab/segvtest forest -wicked "" 10
$(RUNENV) ./lab/segvtest forest -wicked -oat "" 10
check-forever :
while true ; \
do \
$(MAKE) check || break ; \
$(MAKE) check || break ; \
$(MAKE) check || break ; \
$(MAKE) check || break ; \
$(MAKE) check-heavy || break ; \
$(MAKE) check-segv || break ; \
done
doc :
$(MAKE) docclean
mkdir -p doc/api
doxygen
docclean :
rm -rf doc/api
gch :
$(CXX) -c $(CPPFLAGS) $(CXXFLAGS) *.h
words.tsv :
cat /usr/share/dict/words | \
tr '\t\r' ' ' | grep -v '^ *$$' | cat -n | sort | \
LC_ALL=C sed -e 's/^ *//' -e 's/\(^[0-9]*\)\t\(.*\)/\2\t\1/' > words.tsv
def : libkyotocabinet.a
./lab/makevcdef libkyotocabinet.a > kyotocabinet.def
.PHONY : all clean install check doc
#================================================================
# Building binaries
#================================================================
libkyotocabinet.a : $(LIBOBJFILES)
$(AR) $(ARFLAGS) $@ $(LIBOBJFILES)
libkyotocabinet.so.$(LIBVER).$(LIBREV).0 : $(LIBOBJFILES)
if uname -a | egrep -i 'SunOS' > /dev/null ; \
then \
$(CXX) $(CXXFLAGS) -shared -Wl,-G,-h,libkyotocabinet.so.$(LIBVER) -o $@ \
$(LIBOBJFILES) $(LDFLAGS) $(LIBS) ; \
else \
$(CXX) $(CXXFLAGS) -shared -Wl,-soname,libkyotocabinet.so.$(LIBVER) -o $@ \
$(LIBOBJFILES) $(LDFLAGS) $(LIBS) ; \
fi
libkyotocabinet.so.$(LIBVER) : libkyotocabinet.so.$(LIBVER).$(LIBREV).0
ln -f -s libkyotocabinet.so.$(LIBVER).$(LIBREV).0 $@
libkyotocabinet.so : libkyotocabinet.so.$(LIBVER).$(LIBREV).0
ln -f -s libkyotocabinet.so.$(LIBVER).$(LIBREV).0 $@
libkyotocabinet.$(LIBVER).$(LIBREV).0.dylib : $(LIBOBJFILES)
$(CXX) $(CXXFLAGS) -dynamiclib -o $@ \
-install_name $(LIBDIR)/libkyotocabinet.$(LIBVER).dylib \
-current_version $(LIBVER).$(LIBREV).0 -compatibility_version $(LIBVER) \
$(LIBOBJFILES) $(LDFLAGS) $(LIBS)
libkyotocabinet.$(LIBVER).dylib : libkyotocabinet.$(LIBVER).$(LIBREV).0.dylib
ln -f -s libkyotocabinet.$(LIBVER).$(LIBREV).0.dylib $@
libkyotocabinet.dylib : libkyotocabinet.$(LIBVER).$(LIBREV).0.dylib
ln -f -s libkyotocabinet.$(LIBVER).$(LIBREV).0.dylib $@
kcutiltest : kcutiltest.o $(LIBRARYFILES)
$(CXX) $(CXXFLAGS) -o $@ $< $(LDFLAGS) $(CMDLDFLAGS) -lkyotocabinet $(CMDLIBS)
kcutilmgr : kcutilmgr.o $(LIBRARYFILES)
$(CXX) $(CXXFLAGS) -o $@ $< $(LDFLAGS) $(CMDLDFLAGS) -lkyotocabinet $(CMDLIBS)
kcprototest : kcprototest.o $(LIBRARYFILES)
$(CXX) $(CXXFLAGS) -o $@ $< $(LDFLAGS) $(CMDLDFLAGS) -lkyotocabinet $(CMDLIBS)
kcstashtest : kcstashtest.o $(LIBRARYFILES)
$(CXX) $(CXXFLAGS) -o $@ $< $(LDFLAGS) $(CMDLDFLAGS) -lkyotocabinet $(CMDLIBS)
kccachetest : kccachetest.o $(LIBRARYFILES)
$(CXX) $(CXXFLAGS) -o $@ $< $(LDFLAGS) $(CMDLDFLAGS) -lkyotocabinet $(CMDLIBS)
kcgrasstest : kcgrasstest.o $(LIBRARYFILES)
$(CXX) $(CXXFLAGS) -o $@ $< $(LDFLAGS) $(CMDLDFLAGS) -lkyotocabinet $(CMDLIBS)
kchashtest : kchashtest.o $(LIBRARYFILES)
$(CXX) $(CXXFLAGS) -o $@ $< $(LDFLAGS) $(CMDLDFLAGS) -lkyotocabinet $(CMDLIBS)
kchashmgr : kchashmgr.o $(LIBRARYFILES)
$(CXX) $(CXXFLAGS) -o $@ $< $(LDFLAGS) $(CMDLDFLAGS) -lkyotocabinet $(CMDLIBS)
kctreetest : kctreetest.o $(LIBRARYFILES)
$(CXX) $(CXXFLAGS) -o $@ $< $(LDFLAGS) $(CMDLDFLAGS) -lkyotocabinet $(CMDLIBS)
kctreemgr : kctreemgr.o $(LIBRARYFILES)
$(CXX) $(CXXFLAGS) -o $@ $< $(LDFLAGS) $(CMDLDFLAGS) -lkyotocabinet $(CMDLIBS)
kcdirtest : kcdirtest.o $(LIBRARYFILES)
$(CXX) $(CXXFLAGS) -o $@ $< $(LDFLAGS) $(CMDLDFLAGS) -lkyotocabinet $(CMDLIBS)
kcdirmgr : kcdirmgr.o $(LIBRARYFILES)
$(CXX) $(CXXFLAGS) -o $@ $< $(LDFLAGS) $(CMDLDFLAGS) -lkyotocabinet $(CMDLIBS)
kcforesttest : kcforesttest.o $(LIBRARYFILES)
$(CXX) $(CXXFLAGS) -o $@ $< $(LDFLAGS) $(CMDLDFLAGS) -lkyotocabinet $(CMDLIBS)
kcforestmgr : kcforestmgr.o $(LIBRARYFILES)
$(CXX) $(CXXFLAGS) -o $@ $< $(LDFLAGS) $(CMDLDFLAGS) -lkyotocabinet $(CMDLIBS)
kcpolytest : kcpolytest.o $(LIBRARYFILES)
$(CXX) $(CXXFLAGS) -o $@ $< $(LDFLAGS) $(CMDLDFLAGS) -lkyotocabinet $(CMDLIBS)
kcpolymgr : kcpolymgr.o $(LIBRARYFILES)
$(CXX) $(CXXFLAGS) -o $@ $< $(LDFLAGS) $(CMDLDFLAGS) -lkyotocabinet $(CMDLIBS)
kclangctest : kclangctest.o $(LIBRARYFILES)
$(CC) $(CFLAGS) -o $@ $< $(LDFLAGS) $(CMDLDFLAGS) -lkyotocabinet $(CMDLIBS)
kcutil.o : kccommon.h kcutil.h myconf.h
kcthread.o : kccommon.h kcutil.h kcthread.h myconf.h
kcfile.o : kccommon.h kcutil.h kcthread.h kcfile.h myconf.h
kccompress.o : kccommon.h kcutil.h kccompress.h myconf.h
kccompare.o : kccommon.h kcutil.h kccompare.h myconf.h
kcmap.o : kccommon.h kcutil.h kcmap.h myconf.h
kcregex.o : kccommon.h kcutil.h kcregex.h myconf.h
kcdb.o : kccommon.h kcutil.h kcdb.h kcthread.h kcfile.h kccompress.h kccompare.h \
kcmap.h kcregex.h
kcplantdb.o : kccommon.h kcutil.h kcdb.h kcthread.h kcfile.h kccompress.h kccompare.h \
kcmap.h kcregex.h \
kcplantdb.h
kcprotodb.o : kccommon.h kcutil.h kcdb.h kcthread.h kcfile.h kccompress.h kccompare.h \
kcmap.h kcregex.h \
kcplantdb.h kcprotodb.h
kcstashdb.o : kccommon.h kcutil.h kcdb.h kcthread.h kcfile.h kccompress.h kccompare.h \
kcmap.h kcregex.h \
kcplantdb.h kcstashdb.h
kccachedb.o : kccommon.h kcutil.h kcdb.h kcthread.h kcfile.h kccompress.h kccompare.h \
kcmap.h kcregex.h \
kcplantdb.h kccachedb.h
kchashdb.o : kccommon.h kcutil.h kcdb.h kcthread.h kcfile.h kccompress.h kccompare.h \
kcmap.h kcregex.h \
kcplantdb.h kchashdb.h
kcdirdb.o : kccommon.h kcutil.h kcdb.h kcthread.h kcfile.h kccompress.h kccompare.h \
kcmap.h kcregex.h \
kcplantdb.h kcdirdb.h
kctextdb.o : kccommon.h kcutil.h kcdb.h kcthread.h kcfile.h kccompress.h kccompare.h \
kcmap.h kcregex.h \
kcplantdb.h kctextdb.h
kcpolydb.o : kccommon.h kcutil.h kcdb.h kcthread.h kcfile.h kccompress.h kccompare.h \
kcmap.h kcregex.h \
kcplantdb.h kcprotodb.h kcstashdb.h kccachedb.h kchashdb.h kcdirdb.h kctextdb.h kcpolydb.h
kcdbext.o : kccommon.h kcutil.h kcdb.h kcthread.h kcfile.h kccompress.h kccompare.h \
kcmap.h kcregex.h \
kcplantdb.h kcprotodb.h kcstashdb.h kccachedb.h kchashdb.h kcdirdb.h kctextdb.h \
kcpolydb.h kcdbext.h
kclangc.o : kccommon.h kcutil.h kcdb.h kcthread.h kcfile.h kccompress.h kccompare.h \
kcmap.h kcregex.h \
kcplantdb.h kcprotodb.h kcstashdb.h kccachedb.h kchashdb.h kcdirdb.h kctextdb.h \
kcpolydb.h kcdbext.h kclangc.h
kcutiltest.o kcutilmgr.o : \
kccommon.h kcdb.h kcutil.h kcthread.h kcfile.h kccompress.h kccompare.h \
kcmap.h kcregex.h \
cmdcommon.h
kcprototest.o : \
kccommon.h kcdb.h kcutil.h kcthread.h kcfile.h kccompress.h kccompare.h \
kcmap.h kcregex.h \
kcplantdb.h kcprotodb.h cmdcommon.h
kcstashtest.o : \
kccommon.h kcdb.h kcutil.h kcthread.h kcfile.h kccompress.h kccompare.h \
kcmap.h kcregex.h \
kcplantdb.h kcstashdb.h cmdcommon.h
kccachetest.o : \
kccommon.h kcdb.h kcutil.h kcthread.h kcfile.h kccompress.h kccompare.h \
kcmap.h kcregex.h \
kcplantdb.h kccachedb.h cmdcommon.h
kcgrasstest.o : \
kccommon.h kcdb.h kcutil.h kcthread.h kcfile.h kccompress.h kccompare.h \
kcmap.h kcregex.h \
kcplantdb.h kccachedb.h cmdcommon.h
kchashtest.o kchashmgr.o : \
kccommon.h kcdb.h kcutil.h kcthread.h kcfile.h kccompress.h kccompare.h \
kcmap.h kcregex.h \
kcplantdb.h kchashdb.h cmdcommon.h
kctreetest.o kctreemgr.o : \
kccommon.h kcdb.h kcutil.h kcthread.h kcfile.h kccompress.h kccompare.h \
kcmap.h kcregex.h \
kcplantdb.h kchashdb.h cmdcommon.h
kcdirtest.o kcdirmgr.o : \
kccommon.h kcdb.h kcutil.h kcthread.h kcfile.h kccompress.h kccompare.h \
kcmap.h kcregex.h \
kcplantdb.h kcdirdb.h cmdcommon.h
kcforesttest.o kcforestmgr.o : \
kccommon.h kcdb.h kcutil.h kcthread.h kcfile.h kccompress.h kccompare.h \
kcmap.h kcregex.h \
kcplantdb.h kcdirdb.h cmdcommon.h
kcpolytest.o kcpolymgr.o : \
kccommon.h kcdb.h kcutil.h kcthread.h kcfile.h kccompress.h kccompare.h \
kcmap.h kcregex.h \
kcplantdb.h kcprotodb.h kcstashdb.h kccachedb.h kchashdb.h kcdirdb.h kctextdb.h \
kcpolydb.h kcdbext.h cmdcommon.h
kclangctest.o : \
kccommon.h kcdb.h kcutil.h kcthread.h kcfile.h kccompress.h kccompare.h \
kcmap.h kcregex.h \
kcplantdb.h kcprotodb.h kcstashdb.h kccachedb.h kchashdb.h kcdirdb.h kctextdb.h \
kcpolydb.h kcdbext.h kclangc.h
# END OF FILE
|