rroonga 5.0.1-x86-mingw32 → 5.0.2-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/README.md +1 -1
- data/ext/groonga/rb-grn-logger.c +159 -3
- data/ext/groonga/rb-grn-plugin.c +17 -1
- data/ext/groonga/rb-grn-query-logger.c +129 -3
- data/ext/groonga/rb-grn.h +1 -1
- data/lib/1.9/groonga.so +0 -0
- data/lib/2.0/groonga.so +0 -0
- data/lib/2.1/groonga.so +0 -0
- data/lib/2.2/groonga.so +0 -0
- data/lib/groonga/query-logger.rb +48 -3
- data/lib/groonga/schema.rb +16 -3
- data/rroonga-build.rb +3 -3
- data/test/test-logger.rb +97 -2
- data/test/test-plugin.rb +5 -1
- data/test/test-query-logger.rb +149 -0
- data/test/test-schema.rb +19 -0
- data/vendor/local/bin/grndb.exe +0 -0
- data/vendor/local/bin/groonga-benchmark.exe +0 -0
- data/vendor/local/bin/groonga.exe +0 -0
- data/vendor/local/bin/libgroonga-0.dll +0 -0
- data/vendor/local/bin/libmecab-1.dll +0 -0
- data/vendor/local/bin/libmsgpack-4.dll +0 -0
- data/vendor/local/bin/libmsgpackc-2.dll +0 -0
- data/vendor/local/bin/libonig-5.dll +0 -0
- data/vendor/local/bin/lz4.exe +0 -0
- data/vendor/local/bin/lz4c.exe +0 -0
- data/vendor/local/bin/lz4cat +0 -0
- data/vendor/local/bin/mecab-config +2 -2
- data/vendor/local/bin/mecab.exe +0 -0
- data/vendor/local/bin/onig-config +1 -1
- data/vendor/local/bin/zlib1.dll +0 -0
- data/vendor/local/etc/groonga/httpd/groonga-httpd.conf +2 -2
- data/vendor/local/include/groonga/groonga.h +1 -0
- data/vendor/local/include/groonga/groonga/groonga.h +12 -6
- data/vendor/local/include/groonga/groonga/portability.h +158 -0
- data/vendor/local/include/msgpack.h +1 -0
- data/vendor/local/include/msgpack.hpp +2 -1
- data/vendor/local/include/msgpack/adaptor/bool.hpp +58 -0
- data/vendor/local/include/msgpack/{type/bool.hpp → adaptor/bool_fwd.hpp} +11 -27
- data/vendor/local/include/msgpack/adaptor/char_ptr.hpp +78 -0
- data/vendor/local/include/msgpack/adaptor/char_ptr_fwd.hpp +43 -0
- data/vendor/local/include/msgpack/adaptor/check_container_size.hpp +61 -0
- data/vendor/local/include/msgpack/adaptor/cpp11/array.hpp +76 -0
- data/vendor/local/include/msgpack/adaptor/cpp11/array_char.hpp +84 -0
- data/vendor/local/include/msgpack/adaptor/cpp11/array_char_fwd.hpp +45 -0
- data/vendor/local/include/msgpack/adaptor/cpp11/array_fwd.hpp +44 -0
- data/vendor/local/include/msgpack/adaptor/cpp11/forward_list.hpp +75 -0
- data/vendor/local/include/msgpack/adaptor/cpp11/forward_list_fwd.hpp +44 -0
- data/vendor/local/include/msgpack/adaptor/cpp11/tuple.hpp +152 -0
- data/vendor/local/include/msgpack/adaptor/cpp11/tuple_fwd.hpp +62 -0
- data/vendor/local/include/msgpack/adaptor/cpp11/unordered_map.hpp +142 -0
- data/vendor/local/include/msgpack/adaptor/cpp11/unordered_map_fwd.hpp +53 -0
- data/vendor/local/include/msgpack/adaptor/cpp11/unordered_set.hpp +134 -0
- data/vendor/local/include/msgpack/adaptor/cpp11/unordered_set_fwd.hpp +52 -0
- data/vendor/local/include/msgpack/adaptor/define.hpp +29 -0
- data/vendor/local/include/msgpack/adaptor/deque.hpp +83 -0
- data/vendor/local/include/msgpack/adaptor/deque_fwd.hpp +40 -0
- data/vendor/local/include/msgpack/adaptor/detail/cpp03_define.hpp +3475 -0
- data/vendor/local/include/msgpack/adaptor/detail/cpp03_msgpack_tuple.hpp +13918 -0
- data/vendor/local/include/msgpack/adaptor/detail/cpp03_msgpack_tuple_fwd.hpp +4341 -0
- data/vendor/local/include/msgpack/adaptor/detail/cpp11_define.hpp +184 -0
- data/vendor/local/include/msgpack/adaptor/detail/cpp11_msgpack_tuple.hpp +212 -0
- data/vendor/local/include/msgpack/adaptor/detail/cpp11_msgpack_tuple_fwd.hpp +84 -0
- data/vendor/local/include/msgpack/adaptor/fixint.hpp +212 -0
- data/vendor/local/include/msgpack/adaptor/fixint_fwd.hpp +100 -0
- data/vendor/local/include/msgpack/adaptor/float.hpp +105 -0
- data/vendor/local/include/msgpack/adaptor/float_fwd.hpp +44 -0
- data/vendor/local/include/msgpack/adaptor/int.hpp +308 -0
- data/vendor/local/include/msgpack/adaptor/int_fwd.hpp +100 -0
- data/vendor/local/include/msgpack/adaptor/list.hpp +83 -0
- data/vendor/local/include/msgpack/adaptor/list_fwd.hpp +40 -0
- data/vendor/local/include/msgpack/adaptor/map.hpp +219 -0
- data/vendor/local/include/msgpack/adaptor/map_fwd.hpp +69 -0
- data/vendor/local/include/msgpack/adaptor/msgpack_tuple.hpp +29 -0
- data/vendor/local/include/msgpack/adaptor/msgpack_tuple_fwd.hpp +29 -0
- data/vendor/local/include/msgpack/adaptor/nil.hpp +68 -0
- data/vendor/local/include/msgpack/adaptor/nil_fwd.hpp +51 -0
- data/vendor/local/include/msgpack/adaptor/pair.hpp +63 -0
- data/vendor/local/include/msgpack/{type/pair.hpp → adaptor/pair_fwd.hpp} +10 -29
- data/vendor/local/include/msgpack/adaptor/raw.hpp +98 -0
- data/vendor/local/include/msgpack/{type/nil.hpp → adaptor/raw_fwd.hpp} +15 -30
- data/vendor/local/include/msgpack/adaptor/set.hpp +134 -0
- data/vendor/local/include/msgpack/adaptor/set_fwd.hpp +52 -0
- data/vendor/local/include/msgpack/adaptor/string.hpp +78 -0
- data/vendor/local/include/msgpack/adaptor/string_fwd.hpp +42 -0
- data/vendor/local/include/msgpack/adaptor/tr1/unordered_map.hpp +164 -0
- data/vendor/local/include/msgpack/adaptor/tr1/unordered_map_fwd.hpp +75 -0
- data/vendor/local/include/msgpack/adaptor/tr1/unordered_set.hpp +157 -0
- data/vendor/local/include/msgpack/adaptor/tr1/unordered_set_fwd.hpp +75 -0
- data/vendor/local/include/msgpack/adaptor/vector.hpp +87 -0
- data/vendor/local/include/msgpack/adaptor/vector_bool.hpp +80 -0
- data/vendor/local/include/msgpack/adaptor/vector_bool_fwd.hpp +40 -0
- data/vendor/local/include/msgpack/adaptor/vector_char.hpp +81 -0
- data/vendor/local/include/msgpack/adaptor/vector_char_fwd.hpp +42 -0
- data/vendor/local/include/msgpack/adaptor/vector_fwd.hpp +42 -0
- data/vendor/local/include/msgpack/cpp_config.hpp +109 -0
- data/vendor/local/include/msgpack/detail/cpp03_zone.hpp +662 -0
- data/vendor/local/include/msgpack/detail/cpp11_zone.hpp +368 -0
- data/vendor/local/include/msgpack/fbuffer.h +3 -4
- data/vendor/local/include/msgpack/fbuffer.hpp +24 -16
- data/vendor/local/include/msgpack/gcc_atomic.h +33 -0
- data/vendor/local/include/msgpack/iterator.hpp +42 -0
- data/vendor/local/include/msgpack/object.h +51 -30
- data/vendor/local/include/msgpack/object.hpp +564 -273
- data/vendor/local/include/msgpack/object_fwd.hpp +182 -0
- data/vendor/local/include/msgpack/pack.h +23 -17
- data/vendor/local/include/msgpack/pack.hpp +889 -164
- data/vendor/local/include/msgpack/pack_define.h +2 -2
- data/vendor/local/include/msgpack/pack_template.h +452 -356
- data/vendor/local/include/msgpack/sbuffer.h +43 -37
- data/vendor/local/include/msgpack/sbuffer.hpp +98 -76
- data/vendor/local/include/msgpack/sysdep.h +48 -53
- data/vendor/local/include/msgpack/type.hpp +35 -17
- data/vendor/local/include/msgpack/unpack.h +62 -44
- data/vendor/local/include/msgpack/unpack.hpp +1578 -217
- data/vendor/local/include/msgpack/unpack_define.h +49 -47
- data/vendor/local/include/msgpack/unpack_template.h +344 -284
- data/vendor/local/include/msgpack/util.h +23 -0
- data/vendor/local/include/msgpack/version.h +12 -6
- data/vendor/local/include/msgpack/version.hpp +44 -0
- data/vendor/local/include/msgpack/version_master.h +3 -0
- data/vendor/local/include/msgpack/versioning.hpp +77 -0
- data/vendor/local/include/msgpack/vrefbuffer.h +40 -34
- data/vendor/local/include/msgpack/vrefbuffer.hpp +261 -64
- data/vendor/local/include/msgpack/zbuffer.h +79 -79
- data/vendor/local/include/msgpack/zbuffer.hpp +136 -67
- data/vendor/local/include/msgpack/zone.h +65 -42
- data/vendor/local/include/msgpack/zone.hpp +10 -445
- data/vendor/local/include/msgpack_fwd.hpp +28 -0
- data/vendor/local/lib/groonga/plugins/functions/vector.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/vector.dll +0 -0
- data/vendor/local/lib/groonga/plugins/functions/vector.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/vector.la +41 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.a +0 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll +0 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.la +2 -2
- data/vendor/local/lib/groonga/plugins/ruby/eval.a +0 -0
- data/vendor/local/lib/groonga/plugins/ruby/eval.dll +0 -0
- data/vendor/local/lib/groonga/plugins/ruby/eval.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/ruby/eval.la +2 -2
- data/vendor/local/lib/groonga/plugins/ruby/load.a +0 -0
- data/vendor/local/lib/groonga/plugins/ruby/load.dll +0 -0
- data/vendor/local/lib/groonga/plugins/ruby/load.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/ruby/load.la +2 -2
- data/vendor/local/lib/groonga/plugins/sharding.rb +1 -0
- data/vendor/local/lib/groonga/plugins/sharding/logical_count.rb +17 -45
- data/vendor/local/lib/groonga/plugins/sharding/logical_enumerator.rb +15 -6
- data/vendor/local/lib/groonga/plugins/sharding/logical_range_filter.rb +63 -75
- data/vendor/local/lib/groonga/plugins/sharding/range_expression_builder.rb +65 -0
- data/vendor/local/lib/groonga/plugins/suggest/suggest.a +0 -0
- data/vendor/local/lib/groonga/plugins/suggest/suggest.dll +0 -0
- data/vendor/local/lib/groonga/plugins/suggest/suggest.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/suggest/suggest.la +2 -2
- data/vendor/local/lib/groonga/plugins/table/table.a +0 -0
- data/vendor/local/lib/groonga/plugins/table/table.dll +0 -0
- data/vendor/local/lib/groonga/plugins/table/table.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/table/table.la +2 -2
- data/vendor/local/lib/groonga/plugins/token_filters/stop_word.a +0 -0
- data/vendor/local/lib/groonga/plugins/token_filters/stop_word.dll +0 -0
- data/vendor/local/lib/groonga/plugins/token_filters/stop_word.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/token_filters/stop_word.la +2 -2
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.a +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.la +2 -2
- data/vendor/local/lib/groonga/scripts/ruby/expression_size_estimator.rb +38 -41
- data/vendor/local/lib/groonga/scripts/ruby/scan_info_data.rb +3 -0
- data/vendor/local/lib/libgroonga.a +0 -0
- data/vendor/local/lib/libgroonga.dll.a +0 -0
- data/vendor/local/lib/libgroonga.la +2 -2
- data/vendor/local/lib/liblz4.a +0 -0
- data/vendor/local/lib/liblz4.dll +0 -0
- data/vendor/local/lib/liblz4.dll.1 +0 -0
- data/vendor/local/lib/liblz4.dll.1.5.0 +0 -0
- data/vendor/local/lib/libmecab.a +0 -0
- data/vendor/local/lib/libmecab.dll.a +0 -0
- data/vendor/local/lib/libmecab.la +2 -2
- data/vendor/local/lib/libmsgpack.a +0 -0
- data/vendor/local/lib/libmsgpack.dll.a +0 -0
- data/vendor/local/lib/libmsgpack.la +4 -4
- data/vendor/local/lib/libmsgpackc.a +0 -0
- data/vendor/local/lib/libmsgpackc.dll.a +0 -0
- data/vendor/local/lib/libmsgpackc.la +2 -2
- data/vendor/local/lib/libonig.a +0 -0
- data/vendor/local/lib/libonig.dll.a +0 -0
- data/vendor/local/lib/libonig.la +2 -2
- data/vendor/local/lib/libz.a +0 -0
- data/vendor/local/lib/libz.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/groonga.pc +3 -3
- data/vendor/local/lib/pkgconfig/liblz4.pc +5 -5
- data/vendor/local/lib/pkgconfig/msgpack.pc +2 -2
- data/vendor/local/lib/pkgconfig/oniguruma.pc +6 -6
- data/vendor/local/lib/pkgconfig/zlib.pc +3 -3
- data/vendor/local/libexec/mecab/mecab-cost-train.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-dict-gen.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-dict-index.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-system-eval.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-test-gen.exe +0 -0
- data/vendor/local/sbin/groonga-httpd-restart +1 -1
- data/vendor/local/sbin/groonga-httpd.exe +0 -0
- data/vendor/local/share/doc/groonga/en/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/release.txt +69 -52
- data/vendor/local/share/doc/groonga/en/html/_sources/install/centos.txt +6 -6
- data/vendor/local/share/doc/groonga/en/html/_sources/install/debian.txt +56 -5
- data/vendor/local/share/doc/groonga/en/html/_sources/install/fedora.txt +4 -4
- data/vendor/local/share/doc/groonga/en/html/_sources/install/mac_os_x.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/others.txt +7 -7
- data/vendor/local/share/doc/groonga/en/html/_sources/install/solaris.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/ubuntu.txt +6 -5
- data/vendor/local/share/doc/groonga/en/html/_sources/install/windows.txt +14 -14
- data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +93 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/news/0.x.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/news/1.0.x.txt +9 -9
- data/vendor/local/share/doc/groonga/en/html/_sources/news/1.1.x.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/news/1.2.x.txt +10 -10
- data/vendor/local/share/doc/groonga/en/html/_sources/news/1.3.x.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/news/2.x.txt +13 -13
- data/vendor/local/share/doc/groonga/en/html/_sources/news/3.x.txt +13 -13
- data/vendor/local/share/doc/groonga/en/html/_sources/news/4.x.txt +9 -9
- data/vendor/local/share/doc/groonga/en/html/_sources/news/senna.txt +13 -13
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/dump.txt +135 -27
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/request_cancel.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga.txt +148 -7
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/vector_size.txt +76 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/scorer.txt +2 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/server/gqtp.txt +38 -6
- data/vendor/local/share/doc/groonga/en/html/_sources/spec/gqtp.txt +2 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/index.txt +6 -4
- data/vendor/local/share/doc/groonga/en/html/characteristic.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/client.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/community.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/contribution.html +14 -13
- data/vendor/local/share/doc/groonga/en/html/contribution/development.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/contribution/development/cooperation.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +58 -42
- data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/introduction.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/contribution/report.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/development.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/genindex.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/index.html +15 -9
- data/vendor/local/share/doc/groonga/en/html/install.html +8 -7
- data/vendor/local/share/doc/groonga/en/html/install/centos.html +12 -12
- data/vendor/local/share/doc/groonga/en/html/install/debian.html +70 -13
- data/vendor/local/share/doc/groonga/en/html/install/fedora.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +9 -9
- data/vendor/local/share/doc/groonga/en/html/install/others.html +17 -17
- data/vendor/local/share/doc/groonga/en/html/install/solaris.html +9 -9
- data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +12 -11
- data/vendor/local/share/doc/groonga/en/html/install/windows.html +21 -21
- data/vendor/local/share/doc/groonga/en/html/limitations.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/news.html +200 -103
- data/vendor/local/share/doc/groonga/en/html/news/0.x.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/news/1.3.x.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/news/2.x.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/news/3.x.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/news/4.x.html +27 -27
- data/vendor/local/share/doc/groonga/en/html/news/senna.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/en/html/reference.html +8 -7
- data/vendor/local/share/doc/groonga/en/html/reference/api.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/api/global_configurations.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_cache.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_column.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_command_version.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_content_type.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_db.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_encoding.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_geo.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_hook.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ii.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_index_cursor.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_info.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_match_escalation.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_obj.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_proc.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_search.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table_cursor.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_type.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_user_data.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/api/overview.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/api/plugin.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/cast.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/column.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/columns/index.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/columns/pseudo.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/columns/scalar.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/columns/vector.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/command.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/command/request_id.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +141 -34
- data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_clear.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_count.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_range_filter.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalizer_list.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/plugin_register.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/plugin_unregister.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/range_filter.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/request_cancel.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_eval.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_load.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_tokenize.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenize.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenizer_list.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/executables.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grndb.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-benchmark.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-httpd.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-learner.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +146 -14
- data/vendor/local/share/doc/groonga/en/html/reference/function.html +7 -6
- data/vendor/local/share/doc/groonga/en/html/reference/functions/between.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_full.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_html.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/functions/in_values.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +11 -11
- data/vendor/local/share/doc/groonga/en/html/reference/functions/vector_size.html +248 -0
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/log.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/operations.html +11 -11
- data/vendor/local/share/doc/groonga/en/html/reference/operations/geolocation_search.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/output.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/regular_expression.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/scorer.html +8 -7
- data/vendor/local/share/doc/groonga/en/html/reference/scorers/scorer_tf_at_most.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/scorers/scorer_tf_idf.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/scoring_note.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/suggest.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/completion.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/correction.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/introduction.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/suggestion.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/tables.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/token_filters.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/tuning.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/types.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/search.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/en/html/server.html +11 -7
- data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +53 -8
- data/vendor/local/share/doc/groonga/en/html/server/http.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/server/memcached.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/server/package.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/spec.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +10 -7
- data/vendor/local/share/doc/groonga/en/html/spec/search.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/mmap_cannot_allocate_memory.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/tutorial.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +15 -11
- data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/release.txt +69 -52
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/centos.txt +6 -6
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/debian.txt +56 -5
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/fedora.txt +4 -4
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/mac_os_x.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/others.txt +7 -7
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/solaris.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/ubuntu.txt +6 -5
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/windows.txt +14 -14
- data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +93 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/news/0.x.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/news/1.0.x.txt +9 -9
- data/vendor/local/share/doc/groonga/ja/html/_sources/news/1.1.x.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/news/1.2.x.txt +10 -10
- data/vendor/local/share/doc/groonga/ja/html/_sources/news/1.3.x.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/news/2.x.txt +13 -13
- data/vendor/local/share/doc/groonga/ja/html/_sources/news/3.x.txt +13 -13
- data/vendor/local/share/doc/groonga/ja/html/_sources/news/4.x.txt +9 -9
- data/vendor/local/share/doc/groonga/ja/html/_sources/news/senna.txt +13 -13
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/dump.txt +135 -27
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/request_cancel.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga.txt +148 -7
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/vector_size.txt +76 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/scorer.txt +2 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/server/gqtp.txt +38 -6
- data/vendor/local/share/doc/groonga/ja/html/_sources/spec/gqtp.txt +2 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/index.txt +6 -4
- data/vendor/local/share/doc/groonga/ja/html/characteristic.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/client.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/community.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/contribution.html +14 -13
- data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/cooperation.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +58 -42
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/introduction.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/development.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/genindex.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/index.html +15 -9
- data/vendor/local/share/doc/groonga/ja/html/install.html +8 -7
- data/vendor/local/share/doc/groonga/ja/html/install/centos.html +9 -9
- data/vendor/local/share/doc/groonga/ja/html/install/debian.html +63 -11
- data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +9 -9
- data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +9 -9
- data/vendor/local/share/doc/groonga/ja/html/install/others.html +21 -18
- data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +9 -9
- data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +10 -9
- data/vendor/local/share/doc/groonga/ja/html/install/windows.html +20 -20
- data/vendor/local/share/doc/groonga/ja/html/limitations.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/news.html +234 -106
- data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/news/1.3.x.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/news/2.x.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/news/3.x.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/news/4.x.html +27 -27
- data/vendor/local/share/doc/groonga/ja/html/news/senna.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/ja/html/reference.html +8 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/api.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/api/global_configurations.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_content_type.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_geo.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_hook.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ii.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_index_cursor.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_info.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_match_escalation.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_obj.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_proc.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_search.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table_cursor.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_type.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_user_data.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/api/overview.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/api/plugin.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/column.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/index.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/pseudo.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/scalar.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/vector.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/command.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/command/request_id.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +141 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_clear.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_count.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_range_filter.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalizer_list.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/plugin_register.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/plugin_unregister.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/range_filter.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/request_cancel.html +25 -41
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_eval.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_load.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_tokenize.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenizer_list.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grndb.html +23 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-benchmark.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-httpd.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-learner.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +146 -14
- data/vendor/local/share/doc/groonga/ja/html/reference/function.html +7 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/between.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_full.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_html.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/in_values.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +11 -11
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/vector_size.html +249 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/log.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/operations.html +11 -11
- data/vendor/local/share/doc/groonga/ja/html/reference/operations/geolocation_search.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/output.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/regular_expression.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/scorer.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/scorers/scorer_tf_at_most.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/scorers/scorer_tf_idf.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/scoring_note.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/completion.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/correction.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/introduction.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/suggestion.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/token_filters.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/tuning.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/types.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/search.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/ja/html/server.html +11 -7
- data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +53 -8
- data/vendor/local/share/doc/groonga/ja/html/server/http.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/server/memcached.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/server/package.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/spec.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +10 -7
- data/vendor/local/share/doc/groonga/ja/html/spec/search.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/mmap_cannot_allocate_memory.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/tutorial.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +15 -11
- data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +6 -6
- data/vendor/local/share/groonga/html/{admin → admin.old}/css/groonga-admin.css +0 -0
- data/vendor/local/share/groonga/html/{admin → admin.old}/css/redmond/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/vendor/local/share/groonga/html/{admin → admin.old}/css/redmond/images/ui-bg_flat_55_fbec88_40x100.png +0 -0
- data/vendor/local/share/groonga/html/{admin → admin.old}/css/redmond/images/ui-bg_glass_75_d0e5f5_1x400.png +0 -0
- data/vendor/local/share/groonga/html/{admin → admin.old}/css/redmond/images/ui-bg_glass_85_dfeffc_1x400.png +0 -0
- data/vendor/local/share/groonga/html/{admin → admin.old}/css/redmond/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/vendor/local/share/groonga/html/{admin → admin.old}/css/redmond/images/ui-bg_gloss-wave_55_5c9ccc_500x100.png +0 -0
- data/vendor/local/share/groonga/html/{admin → admin.old}/css/redmond/images/ui-bg_inset-hard_100_f5f8f9_1x100.png +0 -0
- data/vendor/local/share/groonga/html/{admin → admin.old}/css/redmond/images/ui-bg_inset-hard_100_fcfdfd_1x100.png +0 -0
- data/vendor/local/share/groonga/html/{admin → admin.old}/css/redmond/images/ui-icons_217bc0_256x240.png +0 -0
- data/vendor/local/share/groonga/html/{admin → admin.old}/css/redmond/images/ui-icons_2e83ff_256x240.png +0 -0
- data/vendor/local/share/groonga/html/{admin → admin.old}/css/redmond/images/ui-icons_469bdd_256x240.png +0 -0
- data/vendor/local/share/groonga/html/{admin → admin.old}/css/redmond/images/ui-icons_6da8d5_256x240.png +0 -0
- data/vendor/local/share/groonga/html/{admin → admin.old}/css/redmond/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/vendor/local/share/groonga/html/{admin → admin.old}/css/redmond/images/ui-icons_d8e7f3_256x240.png +0 -0
- data/vendor/local/share/groonga/html/{admin → admin.old}/css/redmond/images/ui-icons_f9bd01_256x240.png +0 -0
- data/vendor/local/share/groonga/html/{admin → admin.old}/css/redmond/jquery-ui-1.8.18.custom.css +0 -0
- data/vendor/local/share/groonga/html/admin.old/favicon.ico +0 -0
- data/vendor/local/share/groonga/html/admin.old/favicon.png +0 -0
- data/vendor/local/share/groonga/html/{admin → admin.old}/favicon.svg +0 -0
- data/vendor/local/share/groonga/html/{admin → admin.old}/images/groonga.png +0 -0
- data/vendor/local/share/groonga/html/{admin → admin.old}/images/groonga.svg +0 -0
- data/vendor/local/share/groonga/html/{admin → admin.old}/images/loading.gif +0 -0
- data/vendor/local/share/groonga/html/admin.old/index.html +297 -0
- data/vendor/local/share/groonga/html/{admin → admin.old}/index.ja.html +0 -0
- data/vendor/local/share/groonga/html/{admin → admin.old}/js/groonga-admin.ja.js +0 -0
- data/vendor/local/share/groonga/html/{admin → admin.old}/js/groonga-admin.js +0 -0
- data/vendor/local/share/groonga/html/{admin → admin.old}/js/jquery-1.7.2.js +0 -0
- data/vendor/local/share/groonga/html/{admin → admin.old}/js/jquery-ui-1.8.18.custom.js +0 -0
- data/vendor/local/share/groonga/html/{admin → admin.old}/js/jquery.flot-0.7.js +0 -0
- data/vendor/local/share/groonga/html/{admin → admin.old}/js/jquery.flot.license.txt +0 -0
- data/vendor/local/share/groonga/html/admin/.htaccess +543 -0
- data/vendor/local/share/groonga/html/admin/404.html +133 -0
- data/vendor/local/share/groonga/html/admin/bower_components/bootstrap-sass-official/assets/fonts/bootstrap/glyphicons-halflings-regular.eot +0 -0
- data/vendor/local/share/groonga/html/admin/bower_components/bootstrap-sass-official/assets/fonts/bootstrap/glyphicons-halflings-regular.svg +229 -0
- data/vendor/local/share/groonga/html/admin/bower_components/bootstrap-sass-official/assets/fonts/bootstrap/glyphicons-halflings-regular.ttf +0 -0
- data/vendor/local/share/groonga/html/admin/bower_components/bootstrap-sass-official/assets/fonts/bootstrap/glyphicons-halflings-regular.woff +0 -0
- data/vendor/local/share/groonga/html/admin/images/yeoman.d2754b85.png +0 -0
- data/vendor/local/share/groonga/html/admin/index.html +9 -297
- data/vendor/local/share/groonga/html/admin/robots.txt +3 -0
- data/vendor/local/share/groonga/html/admin/scripts/oldieshim.a466b7b1.js +1 -0
- data/vendor/local/share/groonga/html/admin/scripts/scripts.87083bfd.js +1 -0
- data/vendor/local/share/groonga/html/admin/scripts/vendor.fa48c0ac.js +13 -0
- data/vendor/local/share/groonga/html/admin/styles/main.0390285b.css +1 -0
- data/vendor/local/share/groonga/html/admin/styles/vendor.f4ae649a.css +10 -0
- data/vendor/local/share/groonga/html/admin/views/columns/new.html +1 -0
- data/vendor/local/share/groonga/html/admin/views/columns/show.html +1 -0
- data/vendor/local/share/groonga/html/admin/views/tables/index.html +1 -0
- data/vendor/local/share/groonga/html/admin/views/tables/new.html +29 -0
- data/vendor/local/share/groonga/html/admin/views/tables/search.html +1 -0
- data/vendor/local/share/groonga/html/admin/views/tables/show.html +1 -0
- data/vendor/local/share/groonga/html/admin/views/top.html +1 -0
- data/vendor/local/share/license/groonga-admin/LICENSE +502 -0
- data/vendor/local/share/license/groonga-admin/README.md +79 -0
- data/vendor/local/share/license/msgpack/AUTHORS +0 -1
- data/vendor/local/share/man/ja/man1/groonga.1 +826 -147
- data/vendor/local/share/man/man1/groonga.1 +812 -99
- metadata +138 -55
- data/doc/text/install.textile +0 -145
- data/doc/text/tutorial.textile +0 -510
- data/vendor/local/bin/libmsgpack-3.dll +0 -0
- data/vendor/local/include/msgpack/type/define.hpp +0 -3465
- data/vendor/local/include/msgpack/type/deque.hpp +0 -77
- data/vendor/local/include/msgpack/type/fixint.hpp +0 -172
- data/vendor/local/include/msgpack/type/float.hpp +0 -102
- data/vendor/local/include/msgpack/type/int.hpp +0 -276
- data/vendor/local/include/msgpack/type/list.hpp +0 -77
- data/vendor/local/include/msgpack/type/map.hpp +0 -205
- data/vendor/local/include/msgpack/type/raw.hpp +0 -94
- data/vendor/local/include/msgpack/type/set.hpp +0 -122
- data/vendor/local/include/msgpack/type/string.hpp +0 -62
- data/vendor/local/include/msgpack/type/tr1/unordered_map.hpp +0 -150
- data/vendor/local/include/msgpack/type/tr1/unordered_set.hpp +0 -142
- data/vendor/local/include/msgpack/type/tuple.hpp +0 -13691
- data/vendor/local/include/msgpack/type/vector.hpp +0 -81
- data/vendor/local/share/doc/groonga/en/html/_static/jp.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/us.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/jp.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/us.png +0 -0
@@ -0,0 +1,109 @@
|
|
1
|
+
//
|
2
|
+
// MessagePack for C++ C++03/C++11 Adaptation
|
3
|
+
//
|
4
|
+
// Copyright (C) 2013 KONDO Takatoshi
|
5
|
+
//
|
6
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
7
|
+
// you may not use this file except in compliance with the License.
|
8
|
+
// You may obtain a copy of the License at
|
9
|
+
//
|
10
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
11
|
+
//
|
12
|
+
// Unless required by applicable law or agreed to in writing, software
|
13
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
14
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
15
|
+
// See the License for the specific language governing permissions and
|
16
|
+
// limitations under the License.
|
17
|
+
//
|
18
|
+
#ifndef MSGPACK_CPP_CONFIG_HPP
|
19
|
+
#define MSGPACK_CPP_CONFIG_HPP
|
20
|
+
|
21
|
+
#include "msgpack/versioning.hpp"
|
22
|
+
|
23
|
+
#if !defined(MSGPACK_USE_CPP03)
|
24
|
+
// If MSVC would support C++11 completely,
|
25
|
+
// then 'defined(_MSC_VER)' would replace with
|
26
|
+
// '_MSC_VER < XXXX'
|
27
|
+
# if (__cplusplus < 201103) || defined(_MSC_VER)
|
28
|
+
# define MSGPACK_USE_CPP03
|
29
|
+
# endif
|
30
|
+
#endif // MSGPACK_USE_CPP03
|
31
|
+
|
32
|
+
|
33
|
+
|
34
|
+
#if defined __cplusplus
|
35
|
+
#if __cplusplus < 201103
|
36
|
+
|
37
|
+
#if !defined(nullptr)
|
38
|
+
# if _MSC_VER < 1600
|
39
|
+
# define nullptr (0)
|
40
|
+
# endif
|
41
|
+
#endif
|
42
|
+
|
43
|
+
#include <memory>
|
44
|
+
|
45
|
+
namespace msgpack {
|
46
|
+
|
47
|
+
MSGPACK_API_VERSION_NAMESPACE(v1) {
|
48
|
+
|
49
|
+
template <typename T>
|
50
|
+
struct unique_ptr : std::auto_ptr<T> {
|
51
|
+
explicit unique_ptr(T* p = 0) throw() : std::auto_ptr<T>(p) {}
|
52
|
+
unique_ptr(unique_ptr& a) throw() : std::auto_ptr<T>(a) {}
|
53
|
+
template<class Y>
|
54
|
+
unique_ptr (unique_ptr<Y>& a) throw() : std::auto_ptr<T>(a) {}
|
55
|
+
};
|
56
|
+
|
57
|
+
template <typename T>
|
58
|
+
T& move(T& t)
|
59
|
+
{
|
60
|
+
return t;
|
61
|
+
}
|
62
|
+
|
63
|
+
template <typename T>
|
64
|
+
T const& move(T const& t)
|
65
|
+
{
|
66
|
+
return t;
|
67
|
+
}
|
68
|
+
|
69
|
+
template <bool P, typename T = void>
|
70
|
+
struct enable_if {
|
71
|
+
typedef T type;
|
72
|
+
};
|
73
|
+
|
74
|
+
template <typename T>
|
75
|
+
struct enable_if<false, T> {
|
76
|
+
};
|
77
|
+
|
78
|
+
} // MSGPACK_API_VERSION_NAMESPACE(v1)
|
79
|
+
|
80
|
+
} // namespace msgpack
|
81
|
+
|
82
|
+
|
83
|
+
#else // __cplusplus < 201103
|
84
|
+
|
85
|
+
#include <memory>
|
86
|
+
#include <tuple>
|
87
|
+
|
88
|
+
namespace msgpack {
|
89
|
+
MSGPACK_API_VERSION_NAMESPACE(v1) {
|
90
|
+
|
91
|
+
// unique_ptr
|
92
|
+
using std::unique_ptr;
|
93
|
+
// using std::make_unique; // since C++14
|
94
|
+
using std::hash;
|
95
|
+
|
96
|
+
// utility
|
97
|
+
using std::move;
|
98
|
+
using std::swap;
|
99
|
+
using std::enable_if;
|
100
|
+
|
101
|
+
} // MSGPACK_API_VERSION_NAMESPACE(v1)
|
102
|
+
} // namespace msgpack
|
103
|
+
|
104
|
+
|
105
|
+
#endif // __cplusplus < 201103
|
106
|
+
|
107
|
+
#endif // __cplusplus
|
108
|
+
|
109
|
+
#endif /* msgpack/cpp_config.hpp */
|
@@ -0,0 +1,662 @@
|
|
1
|
+
//
|
2
|
+
// MessagePack for C++ memory pool
|
3
|
+
//
|
4
|
+
// Copyright (C) 2008-2010 FURUHASHI Sadayuki
|
5
|
+
//
|
6
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
7
|
+
// you may not use this file except in compliance with the License.
|
8
|
+
// You may obtain a copy of the License at
|
9
|
+
//
|
10
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
11
|
+
//
|
12
|
+
// Unless required by applicable law or agreed to in writing, software
|
13
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
14
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
15
|
+
// See the License for the specific language governing permissions and
|
16
|
+
// limitations under the License.
|
17
|
+
//
|
18
|
+
#ifndef MSGPACK_CPP03_ZONE_HPP
|
19
|
+
#define MSGPACK_CPP03_ZONE_HPP
|
20
|
+
|
21
|
+
#include <cstdlib>
|
22
|
+
#include <memory>
|
23
|
+
#include <vector>
|
24
|
+
|
25
|
+
#include "msgpack/versioning.hpp"
|
26
|
+
|
27
|
+
#ifndef MSGPACK_ZONE_CHUNK_SIZE
|
28
|
+
#define MSGPACK_ZONE_CHUNK_SIZE 8192
|
29
|
+
#endif
|
30
|
+
|
31
|
+
#ifndef MSGPACK_ZONE_ALIGN
|
32
|
+
#define MSGPACK_ZONE_ALIGN sizeof(void*)
|
33
|
+
#endif
|
34
|
+
|
35
|
+
|
36
|
+
namespace msgpack {
|
37
|
+
|
38
|
+
MSGPACK_API_VERSION_NAMESPACE(v1) {
|
39
|
+
|
40
|
+
class zone {
|
41
|
+
struct finalizer {
|
42
|
+
finalizer(void (*func)(void*), void* data):m_func(func), m_data(data) {}
|
43
|
+
void operator()() { m_func(m_data); }
|
44
|
+
void (*m_func)(void*);
|
45
|
+
void* m_data;
|
46
|
+
};
|
47
|
+
struct finalizer_array {
|
48
|
+
finalizer_array():m_tail(nullptr), m_end(nullptr), m_array(nullptr) {}
|
49
|
+
void call() {
|
50
|
+
finalizer* fin = m_tail;
|
51
|
+
for(; fin != m_array; --fin) (*(fin-1))();
|
52
|
+
}
|
53
|
+
~finalizer_array() {
|
54
|
+
call();
|
55
|
+
::free(m_array);
|
56
|
+
}
|
57
|
+
void clear() {
|
58
|
+
call();
|
59
|
+
m_tail = m_array;
|
60
|
+
}
|
61
|
+
void push(void (*func)(void* data), void* data)
|
62
|
+
{
|
63
|
+
finalizer* fin = m_tail;
|
64
|
+
|
65
|
+
if(fin == m_end) {
|
66
|
+
push_expand(func, data);
|
67
|
+
return;
|
68
|
+
}
|
69
|
+
|
70
|
+
fin->m_func = func;
|
71
|
+
fin->m_data = data;
|
72
|
+
|
73
|
+
++m_tail;
|
74
|
+
}
|
75
|
+
void push_expand(void (*func)(void*), void* data) {
|
76
|
+
const size_t nused = m_end - m_array;
|
77
|
+
size_t nnext;
|
78
|
+
if(nused == 0) {
|
79
|
+
nnext = (sizeof(finalizer) < 72/2) ?
|
80
|
+
72 / sizeof(finalizer) : 8;
|
81
|
+
} else {
|
82
|
+
nnext = nused * 2;
|
83
|
+
}
|
84
|
+
finalizer* tmp =
|
85
|
+
static_cast<finalizer*>(::realloc(m_array, sizeof(finalizer) * nnext));
|
86
|
+
if(!tmp) {
|
87
|
+
throw std::bad_alloc();
|
88
|
+
}
|
89
|
+
m_array = tmp;
|
90
|
+
m_end = tmp + nnext;
|
91
|
+
m_tail = tmp + nused;
|
92
|
+
new (m_tail) finalizer(func, data);
|
93
|
+
|
94
|
+
++m_tail;
|
95
|
+
}
|
96
|
+
finalizer* m_tail;
|
97
|
+
finalizer* m_end;
|
98
|
+
finalizer* m_array;
|
99
|
+
};
|
100
|
+
struct chunk {
|
101
|
+
chunk* m_next;
|
102
|
+
};
|
103
|
+
struct chunk_list {
|
104
|
+
chunk_list(size_t chunk_size)
|
105
|
+
{
|
106
|
+
chunk* c = static_cast<chunk*>(::malloc(sizeof(chunk) + chunk_size));
|
107
|
+
if(!c) {
|
108
|
+
throw std::bad_alloc();
|
109
|
+
}
|
110
|
+
|
111
|
+
m_head = c;
|
112
|
+
m_free = chunk_size;
|
113
|
+
m_ptr = reinterpret_cast<char*>(c) + sizeof(chunk);
|
114
|
+
c->m_next = nullptr;
|
115
|
+
}
|
116
|
+
~chunk_list()
|
117
|
+
{
|
118
|
+
chunk* c = m_head;
|
119
|
+
while(c) {
|
120
|
+
chunk* n = c->m_next;
|
121
|
+
::free(c);
|
122
|
+
c = n;
|
123
|
+
}
|
124
|
+
}
|
125
|
+
void clear(size_t chunk_size)
|
126
|
+
{
|
127
|
+
chunk* c = m_head;
|
128
|
+
while(true) {
|
129
|
+
chunk* n = c->m_next;
|
130
|
+
if(n) {
|
131
|
+
::free(c);
|
132
|
+
c = n;
|
133
|
+
} else {
|
134
|
+
break;
|
135
|
+
}
|
136
|
+
}
|
137
|
+
m_head->m_next = nullptr;
|
138
|
+
m_free = chunk_size;
|
139
|
+
m_ptr = reinterpret_cast<char*>(m_head) + sizeof(chunk);
|
140
|
+
}
|
141
|
+
size_t m_free;
|
142
|
+
char* m_ptr;
|
143
|
+
chunk* m_head;
|
144
|
+
};
|
145
|
+
size_t m_chunk_size;
|
146
|
+
chunk_list m_chunk_list;
|
147
|
+
finalizer_array m_finalizer_array;
|
148
|
+
|
149
|
+
public:
|
150
|
+
zone(size_t chunk_size = MSGPACK_ZONE_CHUNK_SIZE) /* throw() */;
|
151
|
+
|
152
|
+
public:
|
153
|
+
void* allocate_align(size_t size, size_t align = MSGPACK_ZONE_ALIGN);
|
154
|
+
void* allocate_no_align(size_t size);
|
155
|
+
|
156
|
+
void push_finalizer(void (*func)(void*), void* data);
|
157
|
+
|
158
|
+
template <typename T>
|
159
|
+
void push_finalizer(msgpack::unique_ptr<T> obj);
|
160
|
+
|
161
|
+
void clear();
|
162
|
+
|
163
|
+
void swap(zone& o);
|
164
|
+
static void* operator new(std::size_t size)
|
165
|
+
{
|
166
|
+
void* p = ::malloc(size);
|
167
|
+
if (!p) throw std::bad_alloc();
|
168
|
+
return p;
|
169
|
+
}
|
170
|
+
static void operator delete(void *p) /* throw() */
|
171
|
+
{
|
172
|
+
::free(p);
|
173
|
+
}
|
174
|
+
static void* operator new(std::size_t size, void* place) /* throw() */
|
175
|
+
{
|
176
|
+
return ::operator new(size, place);
|
177
|
+
}
|
178
|
+
static void operator delete(void* p, void* place) /* throw() */
|
179
|
+
{
|
180
|
+
::operator delete(p, place);
|
181
|
+
}
|
182
|
+
|
183
|
+
template <typename T>
|
184
|
+
T* allocate();
|
185
|
+
|
186
|
+
template <typename T, typename A1>
|
187
|
+
T* allocate(A1 a1);
|
188
|
+
|
189
|
+
template <typename T, typename A1, typename A2>
|
190
|
+
T* allocate(A1 a1, A2 a2);
|
191
|
+
|
192
|
+
template <typename T, typename A1, typename A2, typename A3>
|
193
|
+
T* allocate(A1 a1, A2 a2, A3 a3);
|
194
|
+
|
195
|
+
template <typename T, typename A1, typename A2, typename A3, typename A4>
|
196
|
+
T* allocate(A1 a1, A2 a2, A3 a3, A4 a4);
|
197
|
+
|
198
|
+
template <typename T, typename A1, typename A2, typename A3, typename A4, typename A5>
|
199
|
+
T* allocate(A1 a1, A2 a2, A3 a3, A4 a4, A5 a5);
|
200
|
+
|
201
|
+
template <typename T, typename A1, typename A2, typename A3, typename A4, typename A5, typename A6>
|
202
|
+
T* allocate(A1 a1, A2 a2, A3 a3, A4 a4, A5 a5, A6 a6);
|
203
|
+
|
204
|
+
template <typename T, typename A1, typename A2, typename A3, typename A4, typename A5, typename A6, typename A7>
|
205
|
+
T* allocate(A1 a1, A2 a2, A3 a3, A4 a4, A5 a5, A6 a6, A7 a7);
|
206
|
+
|
207
|
+
template <typename T, typename A1, typename A2, typename A3, typename A4, typename A5, typename A6, typename A7, typename A8>
|
208
|
+
T* allocate(A1 a1, A2 a2, A3 a3, A4 a4, A5 a5, A6 a6, A7 a7, A8 a8);
|
209
|
+
|
210
|
+
template <typename T, typename A1, typename A2, typename A3, typename A4, typename A5, typename A6, typename A7, typename A8, typename A9>
|
211
|
+
T* allocate(A1 a1, A2 a2, A3 a3, A4 a4, A5 a5, A6 a6, A7 a7, A8 a8, A9 a9);
|
212
|
+
|
213
|
+
template <typename T, typename A1, typename A2, typename A3, typename A4, typename A5, typename A6, typename A7, typename A8, typename A9, typename A10>
|
214
|
+
T* allocate(A1 a1, A2 a2, A3 a3, A4 a4, A5 a5, A6 a6, A7 a7, A8 a8, A9 a9, A10 a10);
|
215
|
+
|
216
|
+
template <typename T, typename A1, typename A2, typename A3, typename A4, typename A5, typename A6, typename A7, typename A8, typename A9, typename A10, typename A11>
|
217
|
+
T* allocate(A1 a1, A2 a2, A3 a3, A4 a4, A5 a5, A6 a6, A7 a7, A8 a8, A9 a9, A10 a10, A11 a11);
|
218
|
+
|
219
|
+
template <typename T, typename A1, typename A2, typename A3, typename A4, typename A5, typename A6, typename A7, typename A8, typename A9, typename A10, typename A11, typename A12>
|
220
|
+
T* allocate(A1 a1, A2 a2, A3 a3, A4 a4, A5 a5, A6 a6, A7 a7, A8 a8, A9 a9, A10 a10, A11 a11, A12 a12);
|
221
|
+
|
222
|
+
template <typename T, typename A1, typename A2, typename A3, typename A4, typename A5, typename A6, typename A7, typename A8, typename A9, typename A10, typename A11, typename A12, typename A13>
|
223
|
+
T* allocate(A1 a1, A2 a2, A3 a3, A4 a4, A5 a5, A6 a6, A7 a7, A8 a8, A9 a9, A10 a10, A11 a11, A12 a12, A13 a13);
|
224
|
+
|
225
|
+
template <typename T, typename A1, typename A2, typename A3, typename A4, typename A5, typename A6, typename A7, typename A8, typename A9, typename A10, typename A11, typename A12, typename A13, typename A14>
|
226
|
+
T* allocate(A1 a1, A2 a2, A3 a3, A4 a4, A5 a5, A6 a6, A7 a7, A8 a8, A9 a9, A10 a10, A11 a11, A12 a12, A13 a13, A14 a14);
|
227
|
+
|
228
|
+
template <typename T, typename A1, typename A2, typename A3, typename A4, typename A5, typename A6, typename A7, typename A8, typename A9, typename A10, typename A11, typename A12, typename A13, typename A14, typename A15>
|
229
|
+
T* allocate(A1 a1, A2 a2, A3 a3, A4 a4, A5 a5, A6 a6, A7 a7, A8 a8, A9 a9, A10 a10, A11 a11, A12 a12, A13 a13, A14 a14, A15 a15);
|
230
|
+
|
231
|
+
|
232
|
+
private:
|
233
|
+
void undo_allocate(size_t size);
|
234
|
+
|
235
|
+
template <typename T>
|
236
|
+
static void object_destruct(void* obj);
|
237
|
+
|
238
|
+
template <typename T>
|
239
|
+
static void object_delete(void* obj);
|
240
|
+
|
241
|
+
void* allocate_expand(size_t size);
|
242
|
+
private:
|
243
|
+
zone(const zone&);
|
244
|
+
zone& operator=(const zone&);
|
245
|
+
};
|
246
|
+
|
247
|
+
inline zone::zone(size_t chunk_size) /* throw() */ :m_chunk_size(chunk_size), m_chunk_list(m_chunk_size)
|
248
|
+
{
|
249
|
+
}
|
250
|
+
|
251
|
+
inline void* zone::allocate_align(size_t size, size_t align)
|
252
|
+
{
|
253
|
+
char* aligned =
|
254
|
+
reinterpret_cast<char*>(
|
255
|
+
reinterpret_cast<size_t>(
|
256
|
+
(m_chunk_list.m_ptr + (align - 1))) / align * align);
|
257
|
+
size_t adjusted_size = size + (aligned - m_chunk_list.m_ptr);
|
258
|
+
if(m_chunk_list.m_free >= adjusted_size) {
|
259
|
+
m_chunk_list.m_free -= adjusted_size;
|
260
|
+
m_chunk_list.m_ptr += adjusted_size;
|
261
|
+
return aligned;
|
262
|
+
}
|
263
|
+
return reinterpret_cast<char*>(
|
264
|
+
reinterpret_cast<size_t>(
|
265
|
+
allocate_expand(size + (align - 1))) / align * align);
|
266
|
+
}
|
267
|
+
|
268
|
+
inline void* zone::allocate_no_align(size_t size)
|
269
|
+
{
|
270
|
+
if(m_chunk_list.m_free < size) {
|
271
|
+
return allocate_expand(size);
|
272
|
+
}
|
273
|
+
|
274
|
+
char* ptr = m_chunk_list.m_ptr;
|
275
|
+
m_chunk_list.m_free -= size;
|
276
|
+
m_chunk_list.m_ptr += size;
|
277
|
+
|
278
|
+
return ptr;
|
279
|
+
}
|
280
|
+
|
281
|
+
inline void* zone::allocate_expand(size_t size)
|
282
|
+
{
|
283
|
+
chunk_list* const cl = &m_chunk_list;
|
284
|
+
|
285
|
+
size_t sz = m_chunk_size;
|
286
|
+
|
287
|
+
while(sz < size) {
|
288
|
+
size_t tmp_sz = sz * 2;
|
289
|
+
if (tmp_sz <= sz) {
|
290
|
+
sz = size;
|
291
|
+
break;
|
292
|
+
}
|
293
|
+
sz = tmp_sz;
|
294
|
+
}
|
295
|
+
|
296
|
+
chunk* c = static_cast<chunk*>(::malloc(sizeof(chunk) + sz));
|
297
|
+
if (!c) throw std::bad_alloc();
|
298
|
+
|
299
|
+
char* ptr = reinterpret_cast<char*>(c) + sizeof(chunk);
|
300
|
+
|
301
|
+
c->m_next = cl->m_head;
|
302
|
+
cl->m_head = c;
|
303
|
+
cl->m_free = sz - size;
|
304
|
+
cl->m_ptr = ptr + size;
|
305
|
+
|
306
|
+
return ptr;
|
307
|
+
}
|
308
|
+
|
309
|
+
inline void zone::push_finalizer(void (*func)(void*), void* data)
|
310
|
+
{
|
311
|
+
m_finalizer_array.push(func, data);
|
312
|
+
}
|
313
|
+
|
314
|
+
template <typename T>
|
315
|
+
inline void zone::push_finalizer(msgpack::unique_ptr<T> obj)
|
316
|
+
{
|
317
|
+
m_finalizer_array.push(&zone::object_delete<T>, obj.release());
|
318
|
+
}
|
319
|
+
|
320
|
+
inline void zone::clear()
|
321
|
+
{
|
322
|
+
m_finalizer_array.clear();
|
323
|
+
m_chunk_list.clear(m_chunk_size);
|
324
|
+
}
|
325
|
+
|
326
|
+
inline void zone::swap(zone& o)
|
327
|
+
{
|
328
|
+
using std::swap;
|
329
|
+
swap(m_chunk_size, o.m_chunk_size);
|
330
|
+
swap(m_chunk_list, o.m_chunk_list);
|
331
|
+
swap(m_finalizer_array, o.m_finalizer_array);
|
332
|
+
}
|
333
|
+
|
334
|
+
template <typename T>
|
335
|
+
void zone::object_destruct(void* obj)
|
336
|
+
{
|
337
|
+
static_cast<T*>(obj)->~T();
|
338
|
+
}
|
339
|
+
|
340
|
+
template <typename T>
|
341
|
+
void zone::object_delete(void* obj)
|
342
|
+
{
|
343
|
+
delete static_cast<T*>(obj);
|
344
|
+
}
|
345
|
+
|
346
|
+
inline void zone::undo_allocate(size_t size)
|
347
|
+
{
|
348
|
+
m_chunk_list.m_ptr -= size;
|
349
|
+
m_chunk_list.m_free += size;
|
350
|
+
}
|
351
|
+
|
352
|
+
|
353
|
+
template <typename T>
|
354
|
+
T* zone::allocate()
|
355
|
+
{
|
356
|
+
void* x = allocate_align(sizeof(T));
|
357
|
+
try {
|
358
|
+
m_finalizer_array.push(&zone::object_destruct<T>, x);
|
359
|
+
} catch (...) {
|
360
|
+
undo_allocate(sizeof(T));
|
361
|
+
throw;
|
362
|
+
}
|
363
|
+
try {
|
364
|
+
return new (x) T();
|
365
|
+
} catch (...) {
|
366
|
+
--m_finalizer_array.m_tail;
|
367
|
+
undo_allocate(sizeof(T));
|
368
|
+
throw;
|
369
|
+
}
|
370
|
+
}
|
371
|
+
|
372
|
+
template <typename T, typename A1>
|
373
|
+
T* zone::allocate(A1 a1)
|
374
|
+
{
|
375
|
+
void* x = allocate_align(sizeof(T));
|
376
|
+
try {
|
377
|
+
m_finalizer_array.push(&zone::object_destruct<T>, x);
|
378
|
+
} catch (...) {
|
379
|
+
undo_allocate(sizeof(T));
|
380
|
+
throw;
|
381
|
+
}
|
382
|
+
try {
|
383
|
+
return new (x) T(a1);
|
384
|
+
} catch (...) {
|
385
|
+
--m_finalizer_array.m_tail;
|
386
|
+
undo_allocate(sizeof(T));
|
387
|
+
throw;
|
388
|
+
}
|
389
|
+
}
|
390
|
+
|
391
|
+
template <typename T, typename A1, typename A2>
|
392
|
+
T* zone::allocate(A1 a1, A2 a2)
|
393
|
+
{
|
394
|
+
void* x = allocate_align(sizeof(T));
|
395
|
+
try {
|
396
|
+
m_finalizer_array.push(&zone::object_destruct<T>, x);
|
397
|
+
} catch (...) {
|
398
|
+
undo_allocate(sizeof(T));
|
399
|
+
throw;
|
400
|
+
}
|
401
|
+
try {
|
402
|
+
return new (x) T(a1, a2);
|
403
|
+
} catch (...) {
|
404
|
+
--m_finalizer_array.m_tail;
|
405
|
+
undo_allocate(sizeof(T));
|
406
|
+
throw;
|
407
|
+
}
|
408
|
+
}
|
409
|
+
|
410
|
+
template <typename T, typename A1, typename A2, typename A3>
|
411
|
+
T* zone::allocate(A1 a1, A2 a2, A3 a3)
|
412
|
+
{
|
413
|
+
void* x = allocate_align(sizeof(T));
|
414
|
+
try {
|
415
|
+
m_finalizer_array.push(&zone::object_destruct<T>, x);
|
416
|
+
} catch (...) {
|
417
|
+
undo_allocate(sizeof(T));
|
418
|
+
throw;
|
419
|
+
}
|
420
|
+
try {
|
421
|
+
return new (x) T(a1, a2, a3);
|
422
|
+
} catch (...) {
|
423
|
+
--m_finalizer_array.m_tail;
|
424
|
+
undo_allocate(sizeof(T));
|
425
|
+
throw;
|
426
|
+
}
|
427
|
+
}
|
428
|
+
|
429
|
+
template <typename T, typename A1, typename A2, typename A3, typename A4>
|
430
|
+
T* zone::allocate(A1 a1, A2 a2, A3 a3, A4 a4)
|
431
|
+
{
|
432
|
+
void* x = allocate_align(sizeof(T));
|
433
|
+
try {
|
434
|
+
m_finalizer_array.push(&zone::object_destruct<T>, x);
|
435
|
+
} catch (...) {
|
436
|
+
undo_allocate(sizeof(T));
|
437
|
+
throw;
|
438
|
+
}
|
439
|
+
try {
|
440
|
+
return new (x) T(a1, a2, a3, a4);
|
441
|
+
} catch (...) {
|
442
|
+
--m_finalizer_array.m_tail;
|
443
|
+
undo_allocate(sizeof(T));
|
444
|
+
throw;
|
445
|
+
}
|
446
|
+
}
|
447
|
+
|
448
|
+
template <typename T, typename A1, typename A2, typename A3, typename A4, typename A5>
|
449
|
+
T* zone::allocate(A1 a1, A2 a2, A3 a3, A4 a4, A5 a5)
|
450
|
+
{
|
451
|
+
void* x = allocate_align(sizeof(T));
|
452
|
+
try {
|
453
|
+
m_finalizer_array.push(&zone::object_destruct<T>, x);
|
454
|
+
} catch (...) {
|
455
|
+
undo_allocate(sizeof(T));
|
456
|
+
throw;
|
457
|
+
}
|
458
|
+
try {
|
459
|
+
return new (x) T(a1, a2, a3, a4, a5);
|
460
|
+
} catch (...) {
|
461
|
+
--m_finalizer_array.m_tail;
|
462
|
+
undo_allocate(sizeof(T));
|
463
|
+
throw;
|
464
|
+
}
|
465
|
+
}
|
466
|
+
|
467
|
+
template <typename T, typename A1, typename A2, typename A3, typename A4, typename A5, typename A6>
|
468
|
+
T* zone::allocate(A1 a1, A2 a2, A3 a3, A4 a4, A5 a5, A6 a6)
|
469
|
+
{
|
470
|
+
void* x = allocate_align(sizeof(T));
|
471
|
+
try {
|
472
|
+
m_finalizer_array.push(&zone::object_destruct<T>, x);
|
473
|
+
} catch (...) {
|
474
|
+
undo_allocate(sizeof(T));
|
475
|
+
throw;
|
476
|
+
}
|
477
|
+
try {
|
478
|
+
return new (x) T(a1, a2, a3, a4, a5, a6);
|
479
|
+
} catch (...) {
|
480
|
+
--m_finalizer_array.m_tail;
|
481
|
+
undo_allocate(sizeof(T));
|
482
|
+
throw;
|
483
|
+
}
|
484
|
+
}
|
485
|
+
|
486
|
+
template <typename T, typename A1, typename A2, typename A3, typename A4, typename A5, typename A6, typename A7>
|
487
|
+
T* zone::allocate(A1 a1, A2 a2, A3 a3, A4 a4, A5 a5, A6 a6, A7 a7)
|
488
|
+
{
|
489
|
+
void* x = allocate_align(sizeof(T));
|
490
|
+
try {
|
491
|
+
m_finalizer_array.push(&zone::object_destruct<T>, x);
|
492
|
+
} catch (...) {
|
493
|
+
undo_allocate(sizeof(T));
|
494
|
+
throw;
|
495
|
+
}
|
496
|
+
try {
|
497
|
+
return new (x) T(a1, a2, a3, a4, a5, a6, a7);
|
498
|
+
} catch (...) {
|
499
|
+
--m_finalizer_array.m_tail;
|
500
|
+
undo_allocate(sizeof(T));
|
501
|
+
throw;
|
502
|
+
}
|
503
|
+
}
|
504
|
+
|
505
|
+
template <typename T, typename A1, typename A2, typename A3, typename A4, typename A5, typename A6, typename A7, typename A8>
|
506
|
+
T* zone::allocate(A1 a1, A2 a2, A3 a3, A4 a4, A5 a5, A6 a6, A7 a7, A8 a8)
|
507
|
+
{
|
508
|
+
void* x = allocate_align(sizeof(T));
|
509
|
+
try {
|
510
|
+
m_finalizer_array.push(&zone::object_destruct<T>, x);
|
511
|
+
} catch (...) {
|
512
|
+
undo_allocate(sizeof(T));
|
513
|
+
throw;
|
514
|
+
}
|
515
|
+
try {
|
516
|
+
return new (x) T(a1, a2, a3, a4, a5, a6, a7, a8);
|
517
|
+
} catch (...) {
|
518
|
+
--m_finalizer_array.m_tail;
|
519
|
+
undo_allocate(sizeof(T));
|
520
|
+
throw;
|
521
|
+
}
|
522
|
+
}
|
523
|
+
|
524
|
+
template <typename T, typename A1, typename A2, typename A3, typename A4, typename A5, typename A6, typename A7, typename A8, typename A9>
|
525
|
+
T* zone::allocate(A1 a1, A2 a2, A3 a3, A4 a4, A5 a5, A6 a6, A7 a7, A8 a8, A9 a9)
|
526
|
+
{
|
527
|
+
void* x = allocate_align(sizeof(T));
|
528
|
+
try {
|
529
|
+
m_finalizer_array.push(&zone::object_destruct<T>, x);
|
530
|
+
} catch (...) {
|
531
|
+
undo_allocate(sizeof(T));
|
532
|
+
throw;
|
533
|
+
}
|
534
|
+
try {
|
535
|
+
return new (x) T(a1, a2, a3, a4, a5, a6, a7, a8, a9);
|
536
|
+
} catch (...) {
|
537
|
+
--m_finalizer_array.m_tail;
|
538
|
+
undo_allocate(sizeof(T));
|
539
|
+
throw;
|
540
|
+
}
|
541
|
+
}
|
542
|
+
|
543
|
+
template <typename T, typename A1, typename A2, typename A3, typename A4, typename A5, typename A6, typename A7, typename A8, typename A9, typename A10>
|
544
|
+
T* zone::allocate(A1 a1, A2 a2, A3 a3, A4 a4, A5 a5, A6 a6, A7 a7, A8 a8, A9 a9, A10 a10)
|
545
|
+
{
|
546
|
+
void* x = allocate_align(sizeof(T));
|
547
|
+
try {
|
548
|
+
m_finalizer_array.push(&zone::object_destruct<T>, x);
|
549
|
+
} catch (...) {
|
550
|
+
undo_allocate(sizeof(T));
|
551
|
+
throw;
|
552
|
+
}
|
553
|
+
try {
|
554
|
+
return new (x) T(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10);
|
555
|
+
} catch (...) {
|
556
|
+
--m_finalizer_array.m_tail;
|
557
|
+
undo_allocate(sizeof(T));
|
558
|
+
throw;
|
559
|
+
}
|
560
|
+
}
|
561
|
+
|
562
|
+
template <typename T, typename A1, typename A2, typename A3, typename A4, typename A5, typename A6, typename A7, typename A8, typename A9, typename A10, typename A11>
|
563
|
+
T* zone::allocate(A1 a1, A2 a2, A3 a3, A4 a4, A5 a5, A6 a6, A7 a7, A8 a8, A9 a9, A10 a10, A11 a11)
|
564
|
+
{
|
565
|
+
void* x = allocate_align(sizeof(T));
|
566
|
+
try {
|
567
|
+
m_finalizer_array.push(&zone::object_destruct<T>, x);
|
568
|
+
} catch (...) {
|
569
|
+
undo_allocate(sizeof(T));
|
570
|
+
throw;
|
571
|
+
}
|
572
|
+
try {
|
573
|
+
return new (x) T(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11);
|
574
|
+
} catch (...) {
|
575
|
+
--m_finalizer_array.m_tail;
|
576
|
+
undo_allocate(sizeof(T));
|
577
|
+
throw;
|
578
|
+
}
|
579
|
+
}
|
580
|
+
|
581
|
+
template <typename T, typename A1, typename A2, typename A3, typename A4, typename A5, typename A6, typename A7, typename A8, typename A9, typename A10, typename A11, typename A12>
|
582
|
+
T* zone::allocate(A1 a1, A2 a2, A3 a3, A4 a4, A5 a5, A6 a6, A7 a7, A8 a8, A9 a9, A10 a10, A11 a11, A12 a12)
|
583
|
+
{
|
584
|
+
void* x = allocate_align(sizeof(T));
|
585
|
+
try {
|
586
|
+
m_finalizer_array.push(&zone::object_destruct<T>, x);
|
587
|
+
} catch (...) {
|
588
|
+
undo_allocate(sizeof(T));
|
589
|
+
throw;
|
590
|
+
}
|
591
|
+
try {
|
592
|
+
return new (x) T(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12);
|
593
|
+
} catch (...) {
|
594
|
+
--m_finalizer_array.m_tail;
|
595
|
+
undo_allocate(sizeof(T));
|
596
|
+
throw;
|
597
|
+
}
|
598
|
+
}
|
599
|
+
|
600
|
+
template <typename T, typename A1, typename A2, typename A3, typename A4, typename A5, typename A6, typename A7, typename A8, typename A9, typename A10, typename A11, typename A12, typename A13>
|
601
|
+
T* zone::allocate(A1 a1, A2 a2, A3 a3, A4 a4, A5 a5, A6 a6, A7 a7, A8 a8, A9 a9, A10 a10, A11 a11, A12 a12, A13 a13)
|
602
|
+
{
|
603
|
+
void* x = allocate_align(sizeof(T));
|
604
|
+
try {
|
605
|
+
m_finalizer_array.push(&zone::object_destruct<T>, x);
|
606
|
+
} catch (...) {
|
607
|
+
undo_allocate(sizeof(T));
|
608
|
+
throw;
|
609
|
+
}
|
610
|
+
try {
|
611
|
+
return new (x) T(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13);
|
612
|
+
} catch (...) {
|
613
|
+
--m_finalizer_array.m_tail;
|
614
|
+
undo_allocate(sizeof(T));
|
615
|
+
throw;
|
616
|
+
}
|
617
|
+
}
|
618
|
+
|
619
|
+
template <typename T, typename A1, typename A2, typename A3, typename A4, typename A5, typename A6, typename A7, typename A8, typename A9, typename A10, typename A11, typename A12, typename A13, typename A14>
|
620
|
+
T* zone::allocate(A1 a1, A2 a2, A3 a3, A4 a4, A5 a5, A6 a6, A7 a7, A8 a8, A9 a9, A10 a10, A11 a11, A12 a12, A13 a13, A14 a14)
|
621
|
+
{
|
622
|
+
void* x = allocate_align(sizeof(T));
|
623
|
+
try {
|
624
|
+
m_finalizer_array.push(&zone::object_destruct<T>, x);
|
625
|
+
} catch (...) {
|
626
|
+
undo_allocate(sizeof(T));
|
627
|
+
throw;
|
628
|
+
}
|
629
|
+
try {
|
630
|
+
return new (x) T(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14);
|
631
|
+
} catch (...) {
|
632
|
+
--m_finalizer_array.m_tail;
|
633
|
+
undo_allocate(sizeof(T));
|
634
|
+
throw;
|
635
|
+
}
|
636
|
+
}
|
637
|
+
|
638
|
+
template <typename T, typename A1, typename A2, typename A3, typename A4, typename A5, typename A6, typename A7, typename A8, typename A9, typename A10, typename A11, typename A12, typename A13, typename A14, typename A15>
|
639
|
+
T* zone::allocate(A1 a1, A2 a2, A3 a3, A4 a4, A5 a5, A6 a6, A7 a7, A8 a8, A9 a9, A10 a10, A11 a11, A12 a12, A13 a13, A14 a14, A15 a15)
|
640
|
+
{
|
641
|
+
void* x = allocate_align(sizeof(T));
|
642
|
+
try {
|
643
|
+
m_finalizer_array.push(&zone::object_destruct<T>, x);
|
644
|
+
} catch (...) {
|
645
|
+
undo_allocate(sizeof(T));
|
646
|
+
throw;
|
647
|
+
}
|
648
|
+
try {
|
649
|
+
return new (x) T(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15);
|
650
|
+
} catch (...) {
|
651
|
+
--m_finalizer_array.m_tail;
|
652
|
+
undo_allocate(sizeof(T));
|
653
|
+
throw;
|
654
|
+
}
|
655
|
+
}
|
656
|
+
|
657
|
+
|
658
|
+
} // MSGPACK_API_VERSION_NAMESPACE(v1)
|
659
|
+
|
660
|
+
} // namespace msgpack
|
661
|
+
|
662
|
+
#endif // MSGPACK_CPP03_ZONE_HPP
|