rroonga 7.1.1-x64-mingw32 → 9.0.2-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/Rakefile +3 -3
- data/doc/text/news.md +22 -0
- data/ext/groonga/extconf.rb +29 -26
- data/ext/groonga/rb-grn.h +3 -3
- data/lib/2.2/groonga.so +0 -0
- data/lib/2.3/groonga.so +0 -0
- data/lib/2.4/groonga.so +0 -0
- data/lib/2.5/groonga.so +0 -0
- data/lib/groonga/expression-builder.rb +1 -1
- data/lib/groonga/schema.rb +13 -0
- data/rroonga-build.rb +4 -11
- data/test/test-expression-builder.rb +8 -0
- data/vendor/local/bin/cv2pdb.exe +0 -0
- data/vendor/local/bin/generate-pdb.bat +38 -36
- data/vendor/local/bin/grndb.exe +0 -0
- data/vendor/local/bin/groonga-benchmark.exe +0 -0
- data/vendor/local/bin/groonga-suggest-create-dataset.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-2.dll +0 -0
- data/vendor/local/bin/libmsgpackc.dll +0 -0
- data/vendor/local/bin/libonigmo-6.dll +0 -0
- data/vendor/local/bin/libpcre-1.dll +0 -0
- data/vendor/local/bin/libpcrecpp-0.dll +0 -0
- data/vendor/local/bin/libpcreposix-0.dll +0 -0
- data/vendor/local/bin/lz4.exe +0 -0
- data/vendor/local/bin/lz4c.exe +0 -0
- data/vendor/local/bin/{lz4cat → lz4cat.exe} +0 -0
- data/vendor/local/bin/mecab.exe +0 -0
- data/vendor/local/bin/pcre-config +1 -1
- data/vendor/local/bin/pcregrep.exe +0 -0
- data/vendor/local/bin/pcretest.exe +0 -0
- data/vendor/local/bin/unlz4.exe +0 -0
- data/vendor/local/bin/zlib1.dll +0 -0
- data/vendor/local/include/groonga/groonga.h +16 -1
- data/vendor/local/include/groonga/groonga/accessor.h +5 -1
- data/vendor/local/include/groonga/groonga/column.h +4 -0
- data/vendor/local/include/groonga/groonga/db.h +3 -1
- data/vendor/local/include/groonga/groonga/expr.h +5 -0
- data/vendor/local/include/groonga/groonga/groonga.h +124 -171
- data/vendor/local/include/groonga/groonga/highlighter.h +57 -0
- data/vendor/local/include/groonga/groonga/ii.h +2 -0
- data/vendor/local/include/groonga/groonga/index_column.h +31 -0
- data/vendor/local/include/groonga/groonga/memory.h +29 -0
- data/vendor/local/include/groonga/groonga/msgpack.h +50 -0
- data/vendor/local/include/groonga/groonga/obj.h +22 -1
- data/vendor/local/include/groonga/groonga/option.h +61 -0
- data/vendor/local/include/groonga/groonga/output.h +57 -2
- data/vendor/local/include/groonga/groonga/output_columns.h +38 -0
- data/vendor/local/include/groonga/groonga/plugin.h +5 -0
- data/vendor/local/include/groonga/groonga/raw_string.h +60 -0
- data/vendor/local/include/groonga/groonga/string.h +113 -0
- data/vendor/local/include/groonga/groonga/table.h +89 -1
- data/vendor/local/include/groonga/groonga/thread.h +15 -0
- data/vendor/local/include/groonga/groonga/time.h +1 -0
- data/vendor/local/include/groonga/groonga/token.h +60 -10
- data/vendor/local/include/groonga/groonga/token_cursor.h +59 -0
- data/vendor/local/include/groonga/groonga/token_filter.h +24 -0
- data/vendor/local/include/groonga/groonga/token_metadata.h +49 -0
- data/vendor/local/include/groonga/groonga/tokenizer.h +99 -25
- data/vendor/local/include/groonga/groonga/tokenizer_query_deprecated.h +50 -0
- data/vendor/local/include/groonga/groonga/vector.h +80 -0
- data/vendor/local/include/groonga/groonga/version.h +32 -0
- data/vendor/local/include/groonga/groonga/window_function.h +18 -8
- data/vendor/local/include/groonga/groonga/window_function_executor.h +68 -0
- data/vendor/local/include/lz4.h +504 -212
- data/vendor/local/include/lz4frame.h +433 -153
- data/vendor/local/include/lz4frame_static.h +47 -0
- data/vendor/local/include/lz4hc.h +281 -108
- data/vendor/local/include/msgpack.hpp +4 -0
- data/vendor/local/include/msgpack/adaptor/adaptor_base.hpp +1 -0
- data/vendor/local/include/msgpack/adaptor/adaptor_base_decl.hpp +1 -0
- data/vendor/local/include/msgpack/adaptor/array_ref_decl.hpp +1 -0
- data/vendor/local/include/msgpack/adaptor/boost/msgpack_variant_decl.hpp +1 -0
- data/vendor/local/include/msgpack/adaptor/boost/string_view.hpp +15 -0
- data/vendor/local/include/msgpack/adaptor/check_container_size_decl.hpp +1 -0
- data/vendor/local/include/msgpack/adaptor/cpp17/optional.hpp +16 -0
- data/vendor/local/include/msgpack/adaptor/cpp17/string_view.hpp +16 -0
- data/vendor/local/include/msgpack/adaptor/define_decl.hpp +2 -0
- data/vendor/local/include/msgpack/adaptor/ext_decl.hpp +1 -0
- data/vendor/local/include/msgpack/adaptor/fixint_decl.hpp +1 -0
- data/vendor/local/include/msgpack/adaptor/int_decl.hpp +1 -0
- data/vendor/local/include/msgpack/adaptor/map_decl.hpp +1 -0
- data/vendor/local/include/msgpack/adaptor/msgpack_tuple_decl.hpp +1 -0
- data/vendor/local/include/msgpack/adaptor/nil_decl.hpp +1 -0
- data/vendor/local/include/msgpack/adaptor/raw_decl.hpp +1 -0
- data/vendor/local/include/msgpack/adaptor/size_equal_only_decl.hpp +1 -0
- data/vendor/local/include/msgpack/adaptor/tr1/unordered_map.hpp +2 -2
- data/vendor/local/include/msgpack/adaptor/tr1/unordered_set.hpp +2 -2
- data/vendor/local/include/msgpack/adaptor/v4raw_decl.hpp +1 -0
- data/vendor/local/include/msgpack/cpp_config_decl.hpp +1 -0
- data/vendor/local/include/msgpack/create_object_visitor.hpp +17 -0
- data/vendor/local/include/msgpack/create_object_visitor_decl.hpp +16 -0
- data/vendor/local/include/msgpack/fbuffer.h +1 -1
- data/vendor/local/include/msgpack/fbuffer_decl.hpp +1 -0
- data/vendor/local/include/msgpack/gcc_atomic.hpp +0 -2
- data/vendor/local/include/msgpack/iterator_decl.hpp +2 -1
- data/vendor/local/include/msgpack/meta_decl.hpp +1 -0
- data/vendor/local/include/msgpack/null_visitor.hpp +17 -0
- data/vendor/local/include/msgpack/null_visitor_decl.hpp +16 -0
- data/vendor/local/include/msgpack/object.h +5 -0
- data/vendor/local/include/msgpack/object_decl.hpp +1 -0
- data/vendor/local/include/msgpack/object_fwd.hpp +1 -0
- data/vendor/local/include/msgpack/object_fwd_decl.hpp +1 -0
- data/vendor/local/include/msgpack/pack.h +1 -0
- data/vendor/local/include/msgpack/pack_decl.hpp +1 -0
- data/vendor/local/include/msgpack/parse.hpp +18 -0
- data/vendor/local/include/msgpack/parse_decl.hpp +16 -0
- data/vendor/local/include/msgpack/parse_return.hpp +17 -0
- data/vendor/local/include/msgpack/sbuffer_decl.hpp +1 -0
- data/vendor/local/include/msgpack/sysdep.h +34 -26
- data/vendor/local/include/msgpack/type.hpp +9 -0
- data/vendor/local/include/msgpack/unpack.h +12 -1
- data/vendor/local/include/msgpack/unpack.hpp +1 -0
- data/vendor/local/include/msgpack/unpack_decl.hpp +1 -0
- data/vendor/local/include/msgpack/unpack_exception.hpp +15 -0
- data/vendor/local/include/msgpack/unpack_template.h +22 -30
- data/vendor/local/include/msgpack/v1/adaptor/array_ref.hpp +6 -6
- data/vendor/local/include/msgpack/v1/adaptor/boost/fusion.hpp +49 -6
- data/vendor/local/include/msgpack/v1/adaptor/boost/msgpack_variant.hpp +6 -4
- data/vendor/local/include/msgpack/v1/adaptor/boost/string_view.hpp +87 -0
- data/vendor/local/include/msgpack/v1/adaptor/carray.hpp +11 -11
- data/vendor/local/include/msgpack/v1/adaptor/char_ptr.hpp +1 -1
- data/vendor/local/include/msgpack/v1/adaptor/cpp11/array.hpp +1 -1
- data/vendor/local/include/msgpack/v1/adaptor/cpp11/array_char.hpp +8 -1
- data/vendor/local/include/msgpack/v1/adaptor/cpp11/array_unsigned_char.hpp +8 -1
- data/vendor/local/include/msgpack/v1/adaptor/cpp11/forward_list.hpp +1 -1
- data/vendor/local/include/msgpack/v1/adaptor/cpp11/tuple.hpp +2 -2
- data/vendor/local/include/msgpack/v1/adaptor/cpp11/unordered_map.hpp +4 -4
- data/vendor/local/include/msgpack/v1/adaptor/cpp11/unordered_set.hpp +2 -2
- data/vendor/local/include/msgpack/v1/adaptor/cpp17/optional.hpp +90 -0
- data/vendor/local/include/msgpack/v1/adaptor/cpp17/string_view.hpp +86 -0
- data/vendor/local/include/msgpack/v1/adaptor/deque.hpp +1 -1
- data/vendor/local/include/msgpack/v1/adaptor/detail/cpp03_define_array.hpp +1088 -32
- data/vendor/local/include/msgpack/v1/adaptor/detail/cpp03_define_map.hpp +32 -16
- data/vendor/local/include/msgpack/v1/adaptor/detail/cpp03_msgpack_tuple.hpp +32 -32
- data/vendor/local/include/msgpack/v1/adaptor/detail/cpp11_convert_helper.hpp +45 -0
- data/vendor/local/include/msgpack/v1/adaptor/detail/cpp11_define_array.hpp +4 -3
- data/vendor/local/include/msgpack/v1/adaptor/detail/cpp11_define_map.hpp +4 -2
- data/vendor/local/include/msgpack/v1/adaptor/detail/cpp11_msgpack_tuple.hpp +2 -2
- data/vendor/local/include/msgpack/v1/adaptor/ext.hpp +1 -1
- data/vendor/local/include/msgpack/v1/adaptor/fixint.hpp +40 -24
- data/vendor/local/include/msgpack/v1/adaptor/float.hpp +4 -4
- data/vendor/local/include/msgpack/v1/adaptor/int.hpp +55 -33
- data/vendor/local/include/msgpack/v1/adaptor/list.hpp +1 -1
- data/vendor/local/include/msgpack/v1/adaptor/map.hpp +10 -10
- data/vendor/local/include/msgpack/v1/adaptor/pair.hpp +2 -2
- data/vendor/local/include/msgpack/v1/adaptor/set.hpp +2 -2
- data/vendor/local/include/msgpack/v1/adaptor/string.hpp +1 -1
- data/vendor/local/include/msgpack/v1/adaptor/tr1/unordered_map.hpp +2 -2
- data/vendor/local/include/msgpack/v1/adaptor/tr1/unordered_set.hpp +2 -2
- data/vendor/local/include/msgpack/v1/adaptor/vector.hpp +5 -5
- data/vendor/local/include/msgpack/v1/adaptor/vector_bool.hpp +1 -1
- data/vendor/local/include/msgpack/v1/adaptor/vector_char.hpp +9 -9
- data/vendor/local/include/msgpack/v1/adaptor/vector_unsigned_char.hpp +9 -9
- data/vendor/local/include/msgpack/v1/cpp_config.hpp +6 -0
- data/vendor/local/include/msgpack/v1/cpp_config_decl.hpp +6 -0
- data/vendor/local/include/msgpack/v1/detail/cpp03_zone.hpp +41 -34
- data/vendor/local/include/msgpack/v1/detail/cpp03_zone_decl.hpp +8 -0
- data/vendor/local/include/msgpack/v1/detail/cpp11_zone.hpp +25 -19
- data/vendor/local/include/msgpack/v1/detail/cpp11_zone_decl.hpp +8 -0
- data/vendor/local/include/msgpack/v1/meta.hpp +6 -0
- data/vendor/local/include/msgpack/v1/meta_decl.hpp +5 -0
- data/vendor/local/include/msgpack/v1/object.hpp +768 -393
- data/vendor/local/include/msgpack/v1/object_decl.hpp +11 -1
- data/vendor/local/include/msgpack/v1/object_fwd.hpp +4 -1
- data/vendor/local/include/msgpack/v1/object_fwd_decl.hpp +3 -1
- data/vendor/local/include/msgpack/v1/parse_return.hpp +36 -0
- data/vendor/local/include/msgpack/v1/unpack.hpp +39 -120
- data/vendor/local/include/msgpack/v1/unpack_decl.hpp +2 -9
- data/vendor/local/include/msgpack/v1/unpack_exception.hpp +122 -0
- data/vendor/local/include/msgpack/v1/vrefbuffer.hpp +2 -2
- data/vendor/local/include/msgpack/v2/create_object_visitor.hpp +250 -0
- data/vendor/local/include/msgpack/v2/create_object_visitor_decl.hpp +33 -0
- data/vendor/local/include/msgpack/v2/meta_decl.hpp +4 -0
- data/vendor/local/include/msgpack/v2/null_visitor.hpp +96 -0
- data/vendor/local/include/msgpack/v2/null_visitor_decl.hpp +29 -0
- data/vendor/local/include/msgpack/v2/object_decl.hpp +4 -0
- data/vendor/local/include/msgpack/v2/object_fwd.hpp +1 -1
- data/vendor/local/include/msgpack/v2/object_fwd_decl.hpp +2 -0
- data/vendor/local/include/msgpack/v2/pack_decl.hpp +1 -0
- data/vendor/local/include/msgpack/v2/parse.hpp +1072 -0
- data/vendor/local/include/msgpack/v2/parse_decl.hpp +79 -0
- data/vendor/local/include/msgpack/v2/parse_return.hpp +37 -0
- data/vendor/local/include/msgpack/v2/unpack.hpp +21 -1298
- data/vendor/local/include/msgpack/v2/unpack_decl.hpp +9 -45
- data/vendor/local/include/msgpack/v2/x3_parse.hpp +875 -0
- data/vendor/local/include/msgpack/v2/x3_parse_decl.hpp +36 -0
- data/vendor/local/include/msgpack/v2/x3_unpack.hpp +120 -0
- data/vendor/local/include/msgpack/v2/x3_unpack_decl.hpp +71 -0
- data/vendor/local/include/msgpack/v3/adaptor/adaptor_base.hpp +58 -0
- data/vendor/local/include/msgpack/v3/adaptor/adaptor_base_decl.hpp +52 -0
- data/vendor/local/include/msgpack/v3/adaptor/array_ref_decl.hpp +36 -0
- data/vendor/local/include/msgpack/v3/adaptor/boost/msgpack_variant_decl.hpp +42 -0
- data/vendor/local/include/msgpack/v3/adaptor/check_container_size_decl.hpp +39 -0
- data/vendor/local/include/msgpack/v3/adaptor/define_decl.hpp +23 -0
- data/vendor/local/include/msgpack/v3/adaptor/detail/cpp03_define_array_decl.hpp +31 -0
- data/vendor/local/include/msgpack/v3/adaptor/detail/cpp03_define_map_decl.hpp +31 -0
- data/vendor/local/include/msgpack/v3/adaptor/detail/cpp03_msgpack_tuple_decl.hpp +43 -0
- data/vendor/local/include/msgpack/v3/adaptor/detail/cpp11_define_array_decl.hpp +32 -0
- data/vendor/local/include/msgpack/v3/adaptor/detail/cpp11_define_map_decl.hpp +31 -0
- data/vendor/local/include/msgpack/v3/adaptor/detail/cpp11_msgpack_tuple_decl.hpp +59 -0
- data/vendor/local/include/msgpack/v3/adaptor/ext_decl.hpp +34 -0
- data/vendor/local/include/msgpack/v3/adaptor/fixint_decl.hpp +43 -0
- data/vendor/local/include/msgpack/v3/adaptor/int_decl.hpp +54 -0
- data/vendor/local/include/msgpack/v3/adaptor/map_decl.hpp +33 -0
- data/vendor/local/include/msgpack/v3/adaptor/msgpack_tuple_decl.hpp +21 -0
- data/vendor/local/include/msgpack/v3/adaptor/nil_decl.hpp +42 -0
- data/vendor/local/include/msgpack/v3/adaptor/raw_decl.hpp +33 -0
- data/vendor/local/include/msgpack/v3/adaptor/size_equal_only_decl.hpp +35 -0
- data/vendor/local/include/msgpack/v3/adaptor/v4raw_decl.hpp +34 -0
- data/vendor/local/include/msgpack/v3/cpp_config_decl.hpp +84 -0
- data/vendor/local/include/msgpack/v3/create_object_visitor_decl.hpp +33 -0
- data/vendor/local/include/msgpack/v3/detail/cpp03_zone_decl.hpp +31 -0
- data/vendor/local/include/msgpack/v3/detail/cpp11_zone_decl.hpp +31 -0
- data/vendor/local/include/msgpack/v3/fbuffer_decl.hpp +32 -0
- data/vendor/local/include/msgpack/v3/iterator_decl.hpp +33 -0
- data/vendor/local/include/msgpack/v3/meta_decl.hpp +50 -0
- data/vendor/local/include/msgpack/v3/null_visitor_decl.hpp +29 -0
- data/vendor/local/include/msgpack/v3/object_decl.hpp +53 -0
- data/vendor/local/include/msgpack/v3/object_fwd.hpp +70 -0
- data/vendor/local/include/msgpack/v3/object_fwd_decl.hpp +75 -0
- data/vendor/local/include/msgpack/v3/pack_decl.hpp +55 -0
- data/vendor/local/include/msgpack/v3/parse.hpp +677 -0
- data/vendor/local/include/msgpack/v3/parse_decl.hpp +49 -0
- data/vendor/local/include/msgpack/v3/parse_return.hpp +35 -0
- data/vendor/local/include/msgpack/v3/sbuffer_decl.hpp +33 -0
- data/vendor/local/include/msgpack/v3/unpack.hpp +192 -0
- data/vendor/local/include/msgpack/v3/unpack_decl.hpp +304 -0
- data/vendor/local/include/msgpack/v3/vrefbuffer_decl.hpp +29 -0
- data/vendor/local/include/msgpack/v3/x3_parse_decl.hpp +34 -0
- data/vendor/local/include/msgpack/v3/x3_unpack.hpp +97 -0
- data/vendor/local/include/msgpack/v3/x3_unpack_decl.hpp +65 -0
- data/vendor/local/include/msgpack/v3/zbuffer_decl.hpp +29 -0
- data/vendor/local/include/msgpack/v3/zone_decl.hpp +21 -0
- data/vendor/local/include/msgpack/version_master.h +2 -2
- data/vendor/local/include/msgpack/versioning.hpp +5 -3
- data/vendor/local/include/msgpack/vrefbuffer.h +1 -2
- data/vendor/local/include/msgpack/vrefbuffer_decl.hpp +1 -0
- data/vendor/local/include/msgpack/x3_parse.hpp +15 -0
- data/vendor/local/include/msgpack/x3_parse_decl.hpp +16 -0
- data/vendor/local/include/msgpack/x3_unpack.hpp +16 -0
- data/vendor/local/include/msgpack/x3_unpack_decl.hpp +16 -0
- data/vendor/local/include/msgpack/zbuffer_decl.hpp +1 -0
- data/vendor/local/include/msgpack/zone_decl.hpp +1 -0
- data/vendor/local/include/pcre.h +6 -6
- data/vendor/local/lib/cmake/msgpack/msgpack-config-version.cmake +46 -0
- data/vendor/local/lib/cmake/msgpack/msgpack-config.cmake +47 -0
- data/vendor/local/lib/cmake/msgpack/msgpack-targets-noconfig.cmake +29 -0
- data/vendor/local/lib/cmake/msgpack/msgpack-targets.cmake +101 -0
- data/vendor/local/lib/groonga/plugins/functions/index_column.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/index_column.dll +0 -0
- data/vendor/local/lib/groonga/plugins/functions/index_column.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/index_column.la +1 -1
- data/vendor/local/lib/groonga/plugins/functions/math.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/math.dll +0 -0
- data/vendor/local/lib/groonga/plugins/functions/math.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/math.la +1 -1
- data/vendor/local/lib/groonga/plugins/functions/number.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/number.dll +0 -0
- data/vendor/local/lib/groonga/plugins/functions/number.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/number.la +1 -1
- data/vendor/local/lib/groonga/plugins/functions/string.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/string.dll +0 -0
- data/vendor/local/lib/groonga/plugins/functions/string.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/string.la +1 -1
- data/vendor/local/lib/groonga/plugins/functions/time.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/time.dll +0 -0
- data/vendor/local/lib/groonga/plugins/functions/time.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/time.la +1 -1
- 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 +1 -1
- data/vendor/local/lib/groonga/plugins/normalizers/mysql.a +0 -0
- data/vendor/local/lib/groonga/plugins/normalizers/mysql.dll +0 -0
- data/vendor/local/lib/groonga/plugins/normalizers/mysql.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/normalizers/mysql.la +2 -2
- 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 +1 -1
- data/vendor/local/lib/groonga/plugins/sharding/dynamic_columns.rb +150 -19
- data/vendor/local/lib/groonga/plugins/sharding/logical_count.rb +123 -65
- data/vendor/local/lib/groonga/plugins/sharding/logical_range_filter.rb +528 -113
- data/vendor/local/lib/groonga/plugins/sharding/logical_select.rb +142 -40
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- data/vendor/local/lib/groonga/scripts/ruby/backtrace_entry.rb +1 -1
- data/vendor/local/lib/groonga/scripts/ruby/command_line/grndb.rb +64 -35
- data/vendor/local/lib/groonga/scripts/ruby/expression.rb +3 -1
- data/vendor/local/lib/groonga/scripts/ruby/expression_rewriters.rb +15 -21
- data/vendor/local/lib/groonga/scripts/ruby/expression_rewriters/optimizer.rb +274 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree.rb +8 -2
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/assign.rb +22 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/assign_binary_operation.rb +24 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/binary_operation.rb +206 -8
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/constant.rb +16 -1
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/function_call.rb +30 -1
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/logical_operation.rb +6 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/member.rb +18 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/null.rb +17 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/reference.rb +18 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/table.rb +14 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/unary_operation.rb +26 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/variable.rb +4 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree_builder.rb +78 -8
- data/vendor/local/lib/groonga/scripts/ruby/index_column.rb +10 -0
- data/vendor/local/lib/groonga/scripts/ruby/initialize/post.rb +2 -0
- data/vendor/local/lib/groonga/scripts/ruby/locale_output.rb +28 -0
- data/vendor/local/lib/groonga/scripts/ruby/logger.rb +36 -4
- data/vendor/local/lib/groonga/scripts/ruby/record.rb +1 -1
- data/vendor/local/lib/groonga/scripts/ruby/scan_info_builder.rb +0 -3
- data/vendor/local/lib/groonga/scripts/ruby/scan_info_data.rb +46 -5
- data/vendor/local/lib/groonga/scripts/ruby/scan_info_data_size_estimator.rb +5 -136
- data/vendor/local/lib/groonga/scripts/ruby/table.rb +2 -2
- data/vendor/local/lib/libgroonga.a +0 -0
- data/vendor/local/lib/libgroonga.dll.a +0 -0
- data/vendor/local/lib/libgroonga.la +1 -1
- 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 → liblz4.dll.1.8.2} +0 -0
- data/vendor/local/lib/libmecab.dll.a +0 -0
- data/vendor/local/lib/libmsgpackc.a +0 -0
- data/vendor/local/lib/libmsgpackc.dll.a +0 -0
- data/vendor/local/lib/libonigmo.a +0 -0
- data/vendor/local/lib/libonigmo.dll.a +0 -0
- data/vendor/local/lib/libpcre.a +0 -0
- data/vendor/local/lib/libpcre.dll.a +0 -0
- data/vendor/local/lib/libpcre.la +2 -2
- data/vendor/local/lib/libpcrecpp.dll.a +0 -0
- data/vendor/local/lib/libpcrecpp.la +1 -1
- data/vendor/local/lib/libpcreposix.a +0 -0
- data/vendor/local/lib/libpcreposix.dll.a +0 -0
- data/vendor/local/lib/libpcreposix.la +2 -2
- data/vendor/local/lib/libz.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/groonga-normalizer-mysql.pc +1 -1
- data/vendor/local/lib/pkgconfig/groonga.pc +2 -2
- data/vendor/local/lib/pkgconfig/liblz4.pc +3 -3
- data/vendor/local/lib/pkgconfig/libpcre.pc +1 -1
- data/vendor/local/lib/pkgconfig/libpcrecpp.pc +1 -1
- data/vendor/local/lib/pkgconfig/libpcreposix.pc +1 -1
- data/vendor/local/lib/pkgconfig/msgpack.pc +1 -1
- 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/share/doc/groonga-normalizer-mysql/README.md +14 -22
- data/vendor/local/share/doc/groonga-normalizer-mysql/news.md +22 -2
- data/vendor/local/share/doc/groonga/en/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/en/html/_static/basic.css +113 -4
- data/vendor/local/share/doc/groonga/en/html/_static/doctools.js +46 -19
- data/vendor/local/share/doc/groonga/en/html/_static/documentation_options.js +10 -0
- data/vendor/local/share/doc/groonga/en/html/_static/{jquery-3.1.0.js → jquery-3.2.1.js} +474 -295
- data/vendor/local/share/doc/groonga/en/html/_static/jquery.js +4 -4
- data/vendor/local/share/doc/groonga/en/html/_static/language_data.js +297 -0
- data/vendor/local/share/doc/groonga/en/html/_static/pygments.css +4 -0
- data/vendor/local/share/doc/groonga/en/html/_static/searchtools.js +69 -322
- data/vendor/local/share/doc/groonga/en/html/characteristic.html +16 -24
- data/vendor/local/share/doc/groonga/en/html/client.html +15 -23
- data/vendor/local/share/doc/groonga/en/html/community.html +30 -38
- data/vendor/local/share/doc/groonga/en/html/contribution.html +23 -31
- data/vendor/local/share/doc/groonga/en/html/contribution/development.html +15 -23
- data/vendor/local/share/doc/groonga/en/html/contribution/development/build.html +15 -23
- data/vendor/local/share/doc/groonga/en/html/contribution/development/build/unix_autotools.html +58 -66
- data/vendor/local/share/doc/groonga/en/html/contribution/development/build/unix_cmake.html +51 -56
- data/vendor/local/share/doc/groonga/en/html/contribution/development/build/windows_cmake.html +52 -56
- data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +27 -35
- data/vendor/local/share/doc/groonga/en/html/contribution/development/cooperation.html +19 -27
- data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +26 -34
- data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +167 -167
- data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +16 -24
- data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +28 -36
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +15 -23
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +15 -23
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +59 -67
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/introduction.html +31 -39
- data/vendor/local/share/doc/groonga/en/html/contribution/report.html +18 -26
- data/vendor/local/share/doc/groonga/en/html/development.html +15 -23
- data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +38 -43
- data/vendor/local/share/doc/groonga/en/html/genindex.html +50 -28
- data/vendor/local/share/doc/groonga/en/html/index.html +248 -234
- data/vendor/local/share/doc/groonga/en/html/install.html +43 -47
- data/vendor/local/share/doc/groonga/en/html/install/centos.html +43 -51
- data/vendor/local/share/doc/groonga/en/html/install/debian.html +52 -131
- data/vendor/local/share/doc/groonga/en/html/install/docker.html +155 -0
- data/vendor/local/share/doc/groonga/en/html/install/fedora.html +41 -49
- data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +29 -37
- data/vendor/local/share/doc/groonga/en/html/install/others.html +142 -150
- data/vendor/local/share/doc/groonga/en/html/install/solaris.html +30 -38
- data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +43 -51
- data/vendor/local/share/doc/groonga/en/html/install/windows.html +33 -41
- data/vendor/local/share/doc/groonga/en/html/limitations.html +36 -42
- data/vendor/local/share/doc/groonga/en/html/news.html +1586 -598
- data/vendor/local/share/doc/groonga/en/html/news/0.x.html +83 -83
- data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +147 -155
- data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +26 -34
- data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +225 -233
- data/vendor/local/share/doc/groonga/en/html/news/1.3.x.html +48 -56
- data/vendor/local/share/doc/groonga/en/html/news/2.x.html +378 -386
- data/vendor/local/share/doc/groonga/en/html/news/3.x.html +320 -328
- data/vendor/local/share/doc/groonga/en/html/news/4.x.html +442 -448
- data/vendor/local/share/doc/groonga/en/html/news/5.x.html +742 -860
- data/vendor/local/share/doc/groonga/en/html/news/6.x.html +544 -621
- data/vendor/local/share/doc/groonga/en/html/news/senna.html +32 -40
- data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/en/html/reference.html +208 -198
- data/vendor/local/share/doc/groonga/en/html/reference/alias.html +85 -93
- data/vendor/local/share/doc/groonga/en/html/reference/api.html +50 -57
- data/vendor/local/share/doc/groonga/en/html/reference/api/global_configurations.html +62 -77
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_cache.html +117 -149
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_column.html +140 -176
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_command_version.html +43 -55
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_content_type.html +48 -56
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +194 -254
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_db.html +106 -138
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_encoding.html +62 -82
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +117 -137
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_geo.html +74 -98
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_hook.html +79 -103
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ii.html +40 -48
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_index_cursor.html +57 -73
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_info.html +75 -99
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_inspect.html +495 -0
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_match_escalation.html +52 -68
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_obj.html +291 -357
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_proc.html +69 -89
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_search.html +47 -59
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table.html +226 -306
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table_cursor.html +120 -160
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_thread.html +80 -103
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_type.html +46 -58
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_user_data.html +40 -52
- data/vendor/local/share/doc/groonga/en/html/reference/api/overview.html +52 -66
- data/vendor/local/share/doc/groonga/en/html/reference/api/plugin.html +98 -122
- data/vendor/local/share/doc/groonga/en/html/reference/cast.html +40 -26
- data/vendor/local/share/doc/groonga/en/html/reference/column.html +16 -24
- data/vendor/local/share/doc/groonga/en/html/reference/columns/index.html +16 -24
- data/vendor/local/share/doc/groonga/en/html/reference/columns/pseudo.html +30 -34
- data/vendor/local/share/doc/groonga/en/html/reference/columns/scalar.html +16 -24
- data/vendor/local/share/doc/groonga/en/html/reference/columns/vector.html +92 -100
- data/vendor/local/share/doc/groonga/en/html/reference/command.html +76 -84
- data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +26 -34
- data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +64 -72
- data/vendor/local/share/doc/groonga/en/html/reference/command/pretty_print.html +21 -29
- data/vendor/local/share/doc/groonga/en/html/reference/command/request_id.html +25 -33
- data/vendor/local/share/doc/groonga/en/html/reference/command/request_timeout.html +32 -40
- data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +105 -113
- data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +44 -50
- data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +85 -73
- data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +31 -37
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_copy.html +131 -139
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +370 -326
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +115 -117
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +38 -44
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +47 -53
- data/vendor/local/share/doc/groonga/en/html/reference/commands/config_delete.html +40 -48
- data/vendor/local/share/doc/groonga/en/html/reference/commands/config_get.html +42 -50
- data/vendor/local/share/doc/groonga/en/html/reference/commands/config_set.html +41 -49
- data/vendor/local/share/doc/groonga/en/html/reference/commands/database_unmap.html +37 -45
- data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +71 -63
- data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +31 -37
- data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +49 -51
- data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +64 -71
- data/vendor/local/share/doc/groonga/en/html/reference/commands/io_flush.html +335 -138
- data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +233 -87
- data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_acquire.html +45 -53
- data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_clear.html +42 -48
- data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_release.html +43 -51
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +58 -64
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +33 -38
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +31 -38
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_count.html +295 -218
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_parameters.html +56 -64
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_range_filter.html +532 -214
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_select.html +797 -388
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_shard_list.html +35 -43
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_table_remove.html +188 -196
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +83 -90
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalizer_list.html +41 -48
- data/vendor/local/share/doc/groonga/en/html/reference/commands/object_exist.html +41 -49
- data/vendor/local/share/doc/groonga/en/html/reference/commands/object_inspect.html +401 -403
- data/vendor/local/share/doc/groonga/en/html/reference/commands/object_list.html +253 -261
- data/vendor/local/share/doc/groonga/en/html/reference/commands/object_remove.html +60 -68
- data/vendor/local/share/doc/groonga/en/html/reference/commands/plugin_register.html +36 -44
- data/vendor/local/share/doc/groonga/en/html/reference/commands/plugin_unregister.html +35 -43
- data/vendor/local/share/doc/groonga/en/html/reference/commands/query_expand.html +21 -29
- data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +22 -30
- data/vendor/local/share/doc/groonga/en/html/reference/commands/range_filter.html +21 -29
- data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +39 -47
- data/vendor/local/share/doc/groonga/en/html/reference/commands/reindex.html +47 -53
- data/vendor/local/share/doc/groonga/en/html/reference/commands/request_cancel.html +72 -74
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_eval.html +38 -45
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_load.html +38 -45
- data/vendor/local/share/doc/groonga/en/html/reference/commands/schema.html +330 -338
- data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +1545 -1194
- data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +57 -65
- data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +83 -91
- data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +119 -133
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_copy.html +30 -38
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +165 -174
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +50 -50
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +104 -112
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_rename.html +42 -50
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_tokenize.html +49 -57
- data/vendor/local/share/doc/groonga/en/html/reference/commands/thread_limit.html +46 -54
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenize.html +110 -117
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenizer_list.html +41 -48
- data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +40 -46
- data/vendor/local/share/doc/groonga/en/html/reference/configuration.html +37 -45
- data/vendor/local/share/doc/groonga/en/html/reference/executables.html +19 -27
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grndb.html +134 -114
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +25 -31
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-benchmark.html +66 -66
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +174 -182
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +25 -33
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +27 -35
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-httpd.html +191 -199
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-learner.html +32 -40
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +189 -163
- data/vendor/local/share/doc/groonga/en/html/reference/function.html +59 -64
- data/vendor/local/share/doc/groonga/en/html/reference/functions/between.html +71 -79
- data/vendor/local/share/doc/groonga/en/html/reference/functions/cast_loose.html +210 -0
- data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +49 -55
- data/vendor/local/share/doc/groonga/en/html/reference/functions/fuzzy_search.html +38 -46
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +133 -142
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +67 -73
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +56 -62
- data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_full.html +80 -88
- data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_html.html +70 -78
- data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +56 -64
- data/vendor/local/share/doc/groonga/en/html/reference/functions/in_records.html +87 -94
- data/vendor/local/share/doc/groonga/en/html/reference/functions/in_values.html +54 -62
- data/vendor/local/share/doc/groonga/en/html/reference/functions/math_abs.html +55 -63
- data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +40 -48
- data/vendor/local/share/doc/groonga/en/html/reference/functions/number_classify.html +36 -44
- data/vendor/local/share/doc/groonga/en/html/reference/functions/prefix_rk_search.html +74 -82
- data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +152 -160
- data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +45 -52
- data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +76 -84
- data/vendor/local/share/doc/groonga/en/html/reference/functions/string_length.html +37 -45
- data/vendor/local/share/doc/groonga/en/html/reference/functions/string_substring.html +39 -47
- data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +76 -84
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_day.html +37 -45
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_day_of_week.html +278 -0
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_hour.html +37 -45
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_minute.html +36 -44
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_month.html +36 -44
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_second.html +36 -44
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_week.html +36 -44
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_year.html +37 -45
- data/vendor/local/share/doc/groonga/en/html/reference/functions/vector_find.html +368 -0
- data/vendor/local/share/doc/groonga/en/html/reference/functions/vector_new.html +40 -48
- data/vendor/local/share/doc/groonga/en/html/reference/functions/vector_size.html +54 -62
- data/vendor/local/share/doc/groonga/en/html/reference/functions/vector_slice.html +40 -47
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +44 -52
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +307 -316
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +486 -492
- data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +44 -52
- data/vendor/local/share/doc/groonga/en/html/reference/log.html +128 -147
- data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +43 -92
- data/vendor/local/share/doc/groonga/en/html/reference/normalizers/normalizer_auto.html +179 -0
- data/vendor/local/share/doc/groonga/en/html/reference/normalizers/normalizer_nfkc100.html +897 -0
- data/vendor/local/share/doc/groonga/en/html/reference/normalizers/normalizer_nfkc51.html +162 -0
- data/vendor/local/share/doc/groonga/en/html/reference/operations.html +26 -34
- data/vendor/local/share/doc/groonga/en/html/reference/operations/geolocation_search.html +48 -56
- data/vendor/local/share/doc/groonga/en/html/reference/operations/prefix_rk_search.html +47 -55
- data/vendor/local/share/doc/groonga/en/html/reference/output.html +47 -55
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +20 -28
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +93 -101
- data/vendor/local/share/doc/groonga/en/html/reference/regular_expression.html +228 -225
- data/vendor/local/share/doc/groonga/en/html/reference/scorer.html +59 -67
- data/vendor/local/share/doc/groonga/en/html/reference/scorers/scorer_tf_at_most.html +50 -58
- data/vendor/local/share/doc/groonga/en/html/reference/scorers/scorer_tf_idf.html +57 -65
- data/vendor/local/share/doc/groonga/en/html/reference/sharding.html +76 -86
- data/vendor/local/share/doc/groonga/en/html/reference/suggest.html +43 -51
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/completion.html +159 -167
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/correction.html +93 -101
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/introduction.html +85 -93
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/suggestion.html +88 -96
- data/vendor/local/share/doc/groonga/en/html/reference/tables.html +142 -150
- data/vendor/local/share/doc/groonga/en/html/reference/token_filter/summary.html +147 -0
- data/vendor/local/share/doc/groonga/en/html/reference/token_filters.html +31 -223
- data/vendor/local/share/doc/groonga/en/html/reference/token_filters/token_filter_nfkc100.html +626 -0
- data/vendor/local/share/doc/groonga/en/html/reference/token_filters/token_filter_stem.html +291 -0
- data/vendor/local/share/doc/groonga/en/html/reference/token_filters/token_filter_stop_word.html +287 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizer/summary.html +259 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +42 -1455
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_bigram.html +368 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_bigram_ignore_blank.html +221 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_bigram_ignore_blank_split_symbol.html +240 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_bigram_ignore_blank_split_symbol_alpha.html +270 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_bigram_ignore_blank_split_symbol_alpha_digit.html +292 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_bigram_split_symbol.html +179 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_bigram_split_symbol_alpha.html +200 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_bigram_split_symbol_alpha_digit.html +212 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_delimit.html +357 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_delimit_null.html +162 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_mecab.html +783 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_regexp.html +289 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_trigram.html +194 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_unigram.html +194 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tuning.html +71 -79
- data/vendor/local/share/doc/groonga/en/html/reference/types.html +64 -72
- data/vendor/local/share/doc/groonga/en/html/reference/window_function.html +29 -37
- data/vendor/local/share/doc/groonga/en/html/reference/window_functions/record_number.html +38 -46
- data/vendor/local/share/doc/groonga/en/html/reference/window_functions/window_count.html +38 -46
- data/vendor/local/share/doc/groonga/en/html/reference/window_functions/window_record_number.html +38 -46
- data/vendor/local/share/doc/groonga/en/html/reference/window_functions/window_sum.html +38 -46
- data/vendor/local/share/doc/groonga/en/html/search.html +13 -24
- data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/en/html/server.html +15 -23
- data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +27 -35
- data/vendor/local/share/doc/groonga/en/html/server/http.html +18 -26
- data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +94 -102
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +15 -23
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +15 -23
- data/vendor/local/share/doc/groonga/en/html/server/memcached.html +18 -26
- data/vendor/local/share/doc/groonga/en/html/server/package.html +101 -109
- data/vendor/local/share/doc/groonga/en/html/spec.html +19 -27
- data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +207 -215
- data/vendor/local/share/doc/groonga/en/html/spec/search.html +39 -39
- data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +15 -23
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +46 -50
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/how_to_analyze_error_message.html +27 -35
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/mmap_cannot_allocate_memory.html +26 -31
- data/vendor/local/share/doc/groonga/en/html/tutorial.html +17 -25
- data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +46 -54
- data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +63 -71
- data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +30 -38
- data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +88 -97
- data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +19 -27
- data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +61 -69
- data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +108 -116
- data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +24 -32
- data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +19 -27
- data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +32 -40
- data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +52 -60
- data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_static/basic.css +113 -4
- data/vendor/local/share/doc/groonga/ja/html/_static/doctools.js +46 -19
- data/vendor/local/share/doc/groonga/ja/html/_static/documentation_options.js +10 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/{jquery-3.1.0.js → jquery-3.2.1.js} +474 -295
- data/vendor/local/share/doc/groonga/ja/html/_static/jquery.js +4 -4
- data/vendor/local/share/doc/groonga/ja/html/_static/language_data.js +124 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/pygments.css +4 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/searchtools.js +70 -150
- data/vendor/local/share/doc/groonga/ja/html/characteristic.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/client.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/community.html +29 -37
- data/vendor/local/share/doc/groonga/ja/html/contribution.html +23 -31
- data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/build.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/unix_autotools.html +50 -58
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/unix_cmake.html +43 -48
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/windows_cmake.html +47 -51
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +26 -34
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/cooperation.html +18 -26
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +23 -31
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +162 -162
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +16 -24
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +26 -34
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +50 -58
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/introduction.html +28 -36
- data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +17 -25
- data/vendor/local/share/doc/groonga/ja/html/development.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +32 -37
- data/vendor/local/share/doc/groonga/ja/html/genindex.html +50 -28
- data/vendor/local/share/doc/groonga/ja/html/index.html +247 -233
- data/vendor/local/share/doc/groonga/ja/html/install.html +41 -45
- data/vendor/local/share/doc/groonga/ja/html/install/centos.html +44 -52
- data/vendor/local/share/doc/groonga/ja/html/install/debian.html +52 -121
- data/vendor/local/share/doc/groonga/ja/html/install/docker.html +155 -0
- data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +40 -48
- data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +28 -36
- data/vendor/local/share/doc/groonga/ja/html/install/others.html +116 -124
- data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +28 -36
- data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +43 -51
- data/vendor/local/share/doc/groonga/ja/html/install/windows.html +29 -37
- data/vendor/local/share/doc/groonga/ja/html/limitations.html +30 -36
- data/vendor/local/share/doc/groonga/ja/html/news.html +1234 -384
- data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +82 -82
- data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +146 -154
- data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +25 -33
- data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +191 -199
- data/vendor/local/share/doc/groonga/ja/html/news/1.3.x.html +41 -49
- data/vendor/local/share/doc/groonga/ja/html/news/2.x.html +283 -291
- data/vendor/local/share/doc/groonga/ja/html/news/3.x.html +229 -237
- data/vendor/local/share/doc/groonga/ja/html/news/4.x.html +274 -280
- data/vendor/local/share/doc/groonga/ja/html/news/5.x.html +475 -593
- data/vendor/local/share/doc/groonga/ja/html/news/6.x.html +313 -390
- data/vendor/local/share/doc/groonga/ja/html/news/senna.html +31 -39
- data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/ja/html/reference.html +208 -198
- data/vendor/local/share/doc/groonga/ja/html/reference/alias.html +70 -78
- data/vendor/local/share/doc/groonga/ja/html/reference/api.html +50 -57
- data/vendor/local/share/doc/groonga/ja/html/reference/api/global_configurations.html +57 -72
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +107 -139
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +137 -173
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +40 -52
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_content_type.html +46 -54
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +184 -244
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +99 -131
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +57 -77
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +100 -120
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_geo.html +71 -95
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_hook.html +75 -99
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ii.html +37 -45
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_index_cursor.html +54 -70
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_info.html +71 -95
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_inspect.html +487 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_match_escalation.html +49 -65
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_obj.html +286 -352
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_proc.html +64 -84
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_search.html +44 -56
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table.html +219 -299
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table_cursor.html +116 -156
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_thread.html +70 -93
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_type.html +42 -54
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_user_data.html +36 -48
- data/vendor/local/share/doc/groonga/ja/html/reference/api/overview.html +48 -62
- data/vendor/local/share/doc/groonga/ja/html/reference/api/plugin.html +94 -118
- data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +39 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/column.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/index.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/pseudo.html +28 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/scalar.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/vector.html +76 -84
- data/vendor/local/share/doc/groonga/ja/html/reference/command.html +76 -84
- data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +25 -33
- data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +51 -59
- data/vendor/local/share/doc/groonga/ja/html/reference/command/pretty_print.html +20 -28
- data/vendor/local/share/doc/groonga/ja/html/reference/command/request_id.html +21 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/command/request_timeout.html +27 -35
- data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +101 -109
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +39 -45
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +84 -72
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +30 -36
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_copy.html +104 -112
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +271 -237
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +100 -102
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +37 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +41 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/config_delete.html +38 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/config_get.html +39 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/config_set.html +39 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/database_unmap.html +34 -42
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +70 -62
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +30 -36
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +42 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +59 -68
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/io_flush.html +300 -126
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +212 -80
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_acquire.html +42 -50
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_clear.html +40 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_release.html +41 -49
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +57 -63
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +32 -37
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +30 -37
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_count.html +246 -178
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_parameters.html +51 -59
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_range_filter.html +479 -175
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_select.html +718 -326
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_shard_list.html +34 -42
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_table_remove.html +145 -153
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +78 -85
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalizer_list.html +40 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_exist.html +36 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_inspect.html +360 -362
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_list.html +221 -229
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_remove.html +47 -55
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/plugin_register.html +32 -40
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/plugin_unregister.html +33 -41
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/query_expand.html +20 -28
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +21 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/range_filter.html +20 -28
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +35 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/reindex.html +42 -48
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/request_cancel.html +57 -57
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_eval.html +36 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_load.html +36 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/schema.html +317 -325
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +1246 -917
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +50 -58
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +77 -85
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +109 -123
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_copy.html +29 -37
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +131 -140
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +49 -49
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +87 -95
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_rename.html +36 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_tokenize.html +44 -52
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/thread_limit.html +38 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +93 -100
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenizer_list.html +40 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +39 -45
- data/vendor/local/share/doc/groonga/ja/html/reference/configuration.html +36 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +19 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grndb.html +125 -107
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +23 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-benchmark.html +62 -62
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +132 -140
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +23 -31
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +25 -33
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-httpd.html +166 -174
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-learner.html +31 -39
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +189 -165
- data/vendor/local/share/doc/groonga/ja/html/reference/function.html +59 -64
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/between.html +69 -77
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/cast_loose.html +208 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +48 -54
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/fuzzy_search.html +37 -45
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +115 -124
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +66 -72
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +55 -61
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_full.html +69 -77
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_html.html +60 -68
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +54 -62
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/in_records.html +85 -93
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/in_values.html +54 -62
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/math_abs.html +54 -62
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +39 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/number_classify.html +35 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/prefix_rk_search.html +67 -75
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +130 -138
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +44 -51
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +61 -69
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/string_length.html +36 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/string_substring.html +38 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +63 -71
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_day.html +36 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_day_of_week.html +276 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_hour.html +36 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_minute.html +35 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_month.html +35 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_second.html +35 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_week.html +35 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_year.html +36 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/vector_find.html +353 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/vector_new.html +39 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/vector_size.html +52 -61
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/vector_slice.html +38 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +38 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +200 -208
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +375 -382
- data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +39 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/log.html +125 -144
- data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +36 -70
- data/vendor/local/share/doc/groonga/ja/html/reference/normalizers/normalizer_auto.html +168 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/normalizers/normalizer_nfkc100.html +887 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/normalizers/normalizer_nfkc51.html +160 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/operations.html +26 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/operations/geolocation_search.html +38 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/operations/prefix_rk_search.html +41 -49
- data/vendor/local/share/doc/groonga/ja/html/reference/output.html +42 -50
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +20 -28
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +68 -76
- data/vendor/local/share/doc/groonga/ja/html/reference/regular_expression.html +178 -184
- data/vendor/local/share/doc/groonga/ja/html/reference/scorer.html +38 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/scorers/scorer_tf_at_most.html +38 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/scorers/scorer_tf_idf.html +39 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/sharding.html +63 -73
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest.html +43 -51
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/completion.html +130 -138
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/correction.html +72 -80
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/introduction.html +68 -76
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/suggestion.html +76 -86
- data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +129 -137
- data/vendor/local/share/doc/groonga/ja/html/reference/token_filter/summary.html +145 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/token_filters.html +31 -215
- data/vendor/local/share/doc/groonga/ja/html/reference/token_filters/token_filter_nfkc100.html +617 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/token_filters/token_filter_stem.html +289 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/token_filters/token_filter_stop_word.html +284 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizer/summary.html +233 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +42 -1349
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_bigram.html +344 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_bigram_ignore_blank.html +219 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_bigram_ignore_blank_split_symbol.html +237 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_bigram_ignore_blank_split_symbol_alpha.html +267 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_bigram_ignore_blank_split_symbol_alpha_digit.html +287 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_bigram_split_symbol.html +179 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_bigram_split_symbol_alpha.html +199 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_bigram_split_symbol_alpha_digit.html +209 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_delimit.html +344 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_delimit_null.html +160 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_mecab.html +764 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_regexp.html +284 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_trigram.html +191 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_unigram.html +191 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tuning.html +65 -73
- data/vendor/local/share/doc/groonga/ja/html/reference/types.html +48 -56
- data/vendor/local/share/doc/groonga/ja/html/reference/window_function.html +29 -37
- data/vendor/local/share/doc/groonga/ja/html/reference/window_functions/record_number.html +37 -45
- data/vendor/local/share/doc/groonga/ja/html/reference/window_functions/window_count.html +37 -45
- data/vendor/local/share/doc/groonga/ja/html/reference/window_functions/window_record_number.html +37 -45
- data/vendor/local/share/doc/groonga/ja/html/reference/window_functions/window_sum.html +37 -45
- data/vendor/local/share/doc/groonga/ja/html/search.html +13 -24
- data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/ja/html/server.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +22 -30
- data/vendor/local/share/doc/groonga/ja/html/server/http.html +17 -25
- data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +82 -90
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/server/memcached.html +16 -24
- data/vendor/local/share/doc/groonga/ja/html/server/package.html +99 -107
- data/vendor/local/share/doc/groonga/ja/html/spec.html +19 -27
- data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +201 -209
- data/vendor/local/share/doc/groonga/ja/html/spec/search.html +36 -36
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +44 -48
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/how_to_analyze_error_message.html +21 -29
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/mmap_cannot_allocate_memory.html +24 -29
- data/vendor/local/share/doc/groonga/ja/html/tutorial.html +16 -24
- data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +32 -40
- data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +62 -70
- data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +22 -30
- data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +77 -86
- data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +56 -64
- data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +84 -92
- data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +20 -28
- data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +18 -26
- data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +21 -29
- data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +43 -51
- data/vendor/local/share/doc/pcre/AUTHORS +3 -3
- data/vendor/local/share/doc/pcre/ChangeLog +53 -0
- data/vendor/local/share/doc/pcre/LICENCE +3 -3
- data/vendor/local/share/doc/pcre/NEWS +6 -0
- data/vendor/local/share/doc/pcre/html/NON-AUTOTOOLS-BUILD.txt +8 -7
- data/vendor/local/share/groonga/mruby/LEGAL +35 -35
- data/vendor/local/share/license/cv2pdb/{README → README.MD} +28 -10
- data/vendor/local/share/license/groonga-normalizer-mysql/README.md +14 -22
- data/vendor/local/share/license/lz4/LICENSE +2 -2
- data/vendor/local/share/license/mruby/AUTHORS +3 -0
- data/vendor/local/share/license/mruby/MITL +1 -1
- data/vendor/local/share/license/mruby/README.md +1 -1
- data/vendor/local/share/license/msgpack/README.md +5 -34
- data/vendor/local/share/license/pcre/LICENCE +3 -3
- data/vendor/local/share/man/man1/lz4.1 +221 -86
- data/vendor/local/share/man/man1/lz4c.1 +222 -32
- data/vendor/local/share/man/man1/lz4cat.1 +221 -30
- data/vendor/local/share/man/man1/unlz4.1 +223 -0
- metadata +231 -87
- data/lib/2.1/groonga.so +0 -0
- data/vendor/local/lib/groonga/plugins/expression_rewriters/optimizer.rb +0 -147
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/options.rb +0 -14
- data/vendor/local/share/doc/groonga/en/html/_static/ajax-loader.gif +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/comment-bright.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/comment-close.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/comment.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/down-pressed.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/down.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/up-pressed.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/up.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/websupport.js +0 -808
- data/vendor/local/share/doc/groonga/ja/html/_static/ajax-loader.gif +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/comment-bright.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/comment-close.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/comment.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/down-pressed.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/down.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/up-pressed.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/up.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/websupport.js +0 -808
@@ -0,0 +1,68 @@
|
|
1
|
+
/*
|
2
|
+
Copyright(C) 2019 Kouhei Sutou <kou@clear-code.com>
|
3
|
+
|
4
|
+
This library is free software; you can redistribute it and/or
|
5
|
+
modify it under the terms of the GNU Lesser General Public
|
6
|
+
License as published by the Free Software Foundation; either
|
7
|
+
version 2.1 of the License, or (at your option) any later version.
|
8
|
+
|
9
|
+
This library is distributed in the hope that it will be useful,
|
10
|
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
11
|
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
12
|
+
Lesser General Public License for more details.
|
13
|
+
|
14
|
+
You should have received a copy of the GNU Lesser General Public
|
15
|
+
License along with this library; if not, write to the Free Software
|
16
|
+
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
17
|
+
*/
|
18
|
+
|
19
|
+
#pragma once
|
20
|
+
|
21
|
+
#ifdef __cplusplus
|
22
|
+
extern "C" {
|
23
|
+
#endif
|
24
|
+
|
25
|
+
typedef struct _grn_window_function_executor grn_window_function_executor;
|
26
|
+
|
27
|
+
GRN_API grn_window_function_executor *
|
28
|
+
grn_window_function_executor_open(grn_ctx *ctx);
|
29
|
+
GRN_API grn_rc
|
30
|
+
grn_window_function_executor_close(grn_ctx *ctx,
|
31
|
+
grn_window_function_executor *executor);
|
32
|
+
GRN_API grn_rc
|
33
|
+
grn_window_function_executor_add_table(grn_ctx *ctx,
|
34
|
+
grn_window_function_executor *executor,
|
35
|
+
grn_obj *table);
|
36
|
+
GRN_API grn_rc
|
37
|
+
grn_window_function_executor_add_context_table(grn_ctx *ctx,
|
38
|
+
grn_window_function_executor *executor,
|
39
|
+
grn_obj *table);
|
40
|
+
GRN_API grn_rc
|
41
|
+
grn_window_function_executor_set_source(grn_ctx *ctx,
|
42
|
+
grn_window_function_executor *executor,
|
43
|
+
const char *source,
|
44
|
+
size_t source_size);
|
45
|
+
GRN_API grn_rc
|
46
|
+
grn_window_function_executor_set_sort_keys(grn_ctx *ctx,
|
47
|
+
grn_window_function_executor *executor,
|
48
|
+
const char *sort_keys,
|
49
|
+
size_t sort_keys_size);
|
50
|
+
GRN_API grn_rc
|
51
|
+
grn_window_function_executor_set_group_keys(grn_ctx *ctx,
|
52
|
+
grn_window_function_executor *executor,
|
53
|
+
const char *group_keys,
|
54
|
+
size_t group_keys_size);
|
55
|
+
|
56
|
+
GRN_API grn_rc
|
57
|
+
grn_window_function_executor_set_output_column_name(grn_ctx *ctx,
|
58
|
+
grn_window_function_executor *executor,
|
59
|
+
const char *name,
|
60
|
+
size_t name_size);
|
61
|
+
|
62
|
+
GRN_API grn_rc
|
63
|
+
grn_window_function_executor_execute(grn_ctx *ctx,
|
64
|
+
grn_window_function_executor *executor);
|
65
|
+
|
66
|
+
#ifdef __cplusplus
|
67
|
+
}
|
68
|
+
#endif
|
data/vendor/local/include/lz4.h
CHANGED
@@ -1,7 +1,8 @@
|
|
1
1
|
/*
|
2
|
-
|
3
|
-
|
4
|
-
|
2
|
+
* LZ4 - Fast LZ compression algorithm
|
3
|
+
* Header File
|
4
|
+
* Copyright (C) 2011-2017, Yann Collet.
|
5
|
+
|
5
6
|
BSD 2-Clause License (http://www.opensource.org/licenses/bsd-license.php)
|
6
7
|
|
7
8
|
Redistribution and use in source and binary forms, with or without
|
@@ -28,286 +29,577 @@
|
|
28
29
|
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
29
30
|
|
30
31
|
You can contact the author at :
|
31
|
-
|
32
|
-
|
32
|
+
- LZ4 homepage : http://www.lz4.org
|
33
|
+
- LZ4 source repository : https://github.com/lz4/lz4
|
33
34
|
*/
|
34
|
-
#pragma once
|
35
|
-
|
36
35
|
#if defined (__cplusplus)
|
37
36
|
extern "C" {
|
38
37
|
#endif
|
39
38
|
|
39
|
+
#ifndef LZ4_H_2983827168210
|
40
|
+
#define LZ4_H_2983827168210
|
41
|
+
|
42
|
+
/* --- Dependency --- */
|
43
|
+
#include <stddef.h> /* size_t */
|
44
|
+
|
45
|
+
|
46
|
+
/**
|
47
|
+
Introduction
|
48
|
+
|
49
|
+
LZ4 is lossless compression algorithm, providing compression speed at 400 MB/s per core,
|
50
|
+
scalable with multi-cores CPU. It features an extremely fast decoder, with speed in
|
51
|
+
multiple GB/s per core, typically reaching RAM speed limits on multi-core systems.
|
52
|
+
|
53
|
+
The LZ4 compression library provides in-memory compression and decompression functions.
|
54
|
+
Compression can be done in:
|
55
|
+
- a single step (described as Simple Functions)
|
56
|
+
- a single step, reusing a context (described in Advanced Functions)
|
57
|
+
- unbounded multiple steps (described as Streaming compression)
|
58
|
+
|
59
|
+
lz4.h provides block compression functions. It gives full buffer control to user.
|
60
|
+
Decompressing an lz4-compressed block also requires metadata (such as compressed size).
|
61
|
+
Each application is free to encode such metadata in whichever way it wants.
|
62
|
+
|
63
|
+
An additional format, called LZ4 frame specification (doc/lz4_Frame_format.md),
|
64
|
+
take care of encoding standard metadata alongside LZ4-compressed blocks.
|
65
|
+
If your application requires interoperability, it's recommended to use it.
|
66
|
+
A library is provided to take care of it, see lz4frame.h.
|
67
|
+
*/
|
68
|
+
|
69
|
+
/*^***************************************************************
|
70
|
+
* Export parameters
|
71
|
+
*****************************************************************/
|
40
72
|
/*
|
41
|
-
|
42
|
-
|
43
|
-
|
73
|
+
* LZ4_DLL_EXPORT :
|
74
|
+
* Enable exporting of functions when building a Windows DLL
|
75
|
+
* LZ4LIB_VISIBILITY :
|
76
|
+
* Control library symbols visibility.
|
44
77
|
*/
|
78
|
+
#ifndef LZ4LIB_VISIBILITY
|
79
|
+
# if defined(__GNUC__) && (__GNUC__ >= 4)
|
80
|
+
# define LZ4LIB_VISIBILITY __attribute__ ((visibility ("default")))
|
81
|
+
# else
|
82
|
+
# define LZ4LIB_VISIBILITY
|
83
|
+
# endif
|
84
|
+
#endif
|
85
|
+
#if defined(LZ4_DLL_EXPORT) && (LZ4_DLL_EXPORT==1)
|
86
|
+
# define LZ4LIB_API __declspec(dllexport) LZ4LIB_VISIBILITY
|
87
|
+
#elif defined(LZ4_DLL_IMPORT) && (LZ4_DLL_IMPORT==1)
|
88
|
+
# define LZ4LIB_API __declspec(dllimport) LZ4LIB_VISIBILITY /* It isn't required but allows to generate better code, saving a function pointer load from the IAT and an indirect jump.*/
|
89
|
+
#else
|
90
|
+
# define LZ4LIB_API LZ4LIB_VISIBILITY
|
91
|
+
#endif
|
45
92
|
|
46
|
-
|
47
|
-
Version
|
48
|
-
**************************************/
|
93
|
+
/*------ Version ------*/
|
49
94
|
#define LZ4_VERSION_MAJOR 1 /* for breaking interface changes */
|
50
|
-
#define LZ4_VERSION_MINOR
|
51
|
-
#define LZ4_VERSION_RELEASE
|
95
|
+
#define LZ4_VERSION_MINOR 8 /* for new (non-breaking) interface capabilities */
|
96
|
+
#define LZ4_VERSION_RELEASE 2 /* for tweaks, bug-fixes, or development */
|
97
|
+
|
52
98
|
#define LZ4_VERSION_NUMBER (LZ4_VERSION_MAJOR *100*100 + LZ4_VERSION_MINOR *100 + LZ4_VERSION_RELEASE)
|
53
|
-
int LZ4_versionNumber (void);
|
54
99
|
|
55
|
-
|
56
|
-
|
100
|
+
#define LZ4_LIB_VERSION LZ4_VERSION_MAJOR.LZ4_VERSION_MINOR.LZ4_VERSION_RELEASE
|
101
|
+
#define LZ4_QUOTE(str) #str
|
102
|
+
#define LZ4_EXPAND_AND_QUOTE(str) LZ4_QUOTE(str)
|
103
|
+
#define LZ4_VERSION_STRING LZ4_EXPAND_AND_QUOTE(LZ4_LIB_VERSION)
|
104
|
+
|
105
|
+
LZ4LIB_API int LZ4_versionNumber (void); /**< library version number; useful to check dll version */
|
106
|
+
LZ4LIB_API const char* LZ4_versionString (void); /**< library version string; unseful to check dll version */
|
107
|
+
|
108
|
+
|
109
|
+
/*-************************************
|
110
|
+
* Tuning parameter
|
57
111
|
**************************************/
|
58
|
-
|
112
|
+
/*!
|
59
113
|
* LZ4_MEMORY_USAGE :
|
60
114
|
* Memory usage formula : N->2^N Bytes (examples : 10 -> 1KB; 12 -> 4KB ; 16 -> 64KB; 20 -> 1MB; etc.)
|
61
115
|
* Increasing memory usage improves compression ratio
|
62
|
-
* Reduced memory usage
|
116
|
+
* Reduced memory usage may improve speed, thanks to cache effect
|
63
117
|
* Default value is 14, for 16KB, which nicely fits into Intel x86 L1 cache
|
64
118
|
*/
|
65
|
-
#
|
66
|
-
|
119
|
+
#ifndef LZ4_MEMORY_USAGE
|
120
|
+
# define LZ4_MEMORY_USAGE 14
|
121
|
+
#endif
|
67
122
|
|
68
|
-
|
69
|
-
|
123
|
+
/*-************************************
|
124
|
+
* Simple Functions
|
70
125
|
**************************************/
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
126
|
+
/*! LZ4_compress_default() :
|
127
|
+
Compresses 'srcSize' bytes from buffer 'src'
|
128
|
+
into already allocated 'dst' buffer of size 'dstCapacity'.
|
129
|
+
Compression is guaranteed to succeed if 'dstCapacity' >= LZ4_compressBound(srcSize).
|
130
|
+
It also runs faster, so it's a recommended setting.
|
131
|
+
If the function cannot compress 'src' into a more limited 'dst' budget,
|
132
|
+
compression stops *immediately*, and the function result is zero.
|
133
|
+
Note : as a consequence, 'dst' content is not valid.
|
134
|
+
Note 2 : This function is protected against buffer overflow scenarios (never writes outside 'dst' buffer, nor read outside 'source' buffer).
|
135
|
+
srcSize : max supported value is LZ4_MAX_INPUT_SIZE.
|
136
|
+
dstCapacity : size of buffer 'dst' (which must be already allocated)
|
137
|
+
return : the number of bytes written into buffer 'dst' (necessarily <= dstCapacity)
|
138
|
+
or 0 if compression fails */
|
139
|
+
LZ4LIB_API int LZ4_compress_default(const char* src, char* dst, int srcSize, int dstCapacity);
|
140
|
+
|
141
|
+
/*! LZ4_decompress_safe() :
|
142
|
+
compressedSize : is the exact complete size of the compressed block.
|
143
|
+
dstCapacity : is the size of destination buffer, which must be already allocated.
|
144
|
+
return : the number of bytes decompressed into destination buffer (necessarily <= dstCapacity)
|
145
|
+
If destination buffer is not large enough, decoding will stop and output an error code (negative value).
|
90
146
|
If the source stream is detected malformed, the function will stop decoding and return a negative result.
|
91
|
-
This function is protected against
|
92
|
-
and never writes outside of output buffer, nor reads outside of input buffer.
|
93
|
-
It is also protected against malicious data packets.
|
147
|
+
This function is protected against malicious data packets.
|
94
148
|
*/
|
149
|
+
LZ4LIB_API int LZ4_decompress_safe (const char* src, char* dst, int compressedSize, int dstCapacity);
|
95
150
|
|
96
151
|
|
97
|
-
|
98
|
-
|
152
|
+
/*-************************************
|
153
|
+
* Advanced Functions
|
99
154
|
**************************************/
|
100
155
|
#define LZ4_MAX_INPUT_SIZE 0x7E000000 /* 2 113 929 216 bytes */
|
101
|
-
#define LZ4_COMPRESSBOUND(isize) ((unsigned
|
156
|
+
#define LZ4_COMPRESSBOUND(isize) ((unsigned)(isize) > (unsigned)LZ4_MAX_INPUT_SIZE ? 0 : (isize) + ((isize)/255) + 16)
|
102
157
|
|
103
|
-
|
158
|
+
/*!
|
104
159
|
LZ4_compressBound() :
|
105
160
|
Provides the maximum size that LZ4 compression may output in a "worst case" scenario (input data not compressible)
|
106
|
-
This function is primarily useful for memory allocation purposes (
|
161
|
+
This function is primarily useful for memory allocation purposes (destination buffer size).
|
107
162
|
Macro LZ4_COMPRESSBOUND() is also provided for compilation-time evaluation (stack memory allocation for example).
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
163
|
+
Note that LZ4_compress_default() compresses faster when dstCapacity is >= LZ4_compressBound(srcSize)
|
164
|
+
inputSize : max supported value is LZ4_MAX_INPUT_SIZE
|
165
|
+
return : maximum output size in a "worst case" scenario
|
166
|
+
or 0, if input size is incorrect (too large or negative)
|
112
167
|
*/
|
113
|
-
int LZ4_compressBound(int
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
sourceSize : Max supported value is LZ4_MAX_INPUT_VALUE
|
124
|
-
maxOutputSize : is the size of the destination buffer (which must be already allocated)
|
125
|
-
return : the number of bytes written in buffer 'dest'
|
126
|
-
or 0 if compression fails
|
168
|
+
LZ4LIB_API int LZ4_compressBound(int inputSize);
|
169
|
+
|
170
|
+
/*!
|
171
|
+
LZ4_compress_fast() :
|
172
|
+
Same as LZ4_compress_default(), but allows selection of "acceleration" factor.
|
173
|
+
The larger the acceleration value, the faster the algorithm, but also the lesser the compression.
|
174
|
+
It's a trade-off. It can be fine tuned, with each successive value providing roughly +~3% to speed.
|
175
|
+
An acceleration value of "1" is the same as regular LZ4_compress_default()
|
176
|
+
Values <= 0 will be replaced by ACCELERATION_DEFAULT (currently == 1, see lz4.c).
|
127
177
|
*/
|
128
|
-
int
|
178
|
+
LZ4LIB_API int LZ4_compress_fast (const char* src, char* dst, int srcSize, int dstCapacity, int acceleration);
|
129
179
|
|
130
180
|
|
131
|
-
|
132
|
-
|
133
|
-
Same compression
|
181
|
+
/*!
|
182
|
+
LZ4_compress_fast_extState() :
|
183
|
+
Same compression function, just using an externally allocated memory space to store compression state.
|
134
184
|
Use LZ4_sizeofState() to know how much memory must be allocated,
|
135
|
-
and
|
185
|
+
and allocate it on 8-bytes boundaries (using malloc() typically).
|
186
|
+
Then, provide it as 'void* state' to compression function.
|
136
187
|
*/
|
137
|
-
int LZ4_sizeofState(void);
|
138
|
-
int
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
Use this function in trusted environment only (data to decode comes from a trusted source).
|
188
|
+
LZ4LIB_API int LZ4_sizeofState(void);
|
189
|
+
LZ4LIB_API int LZ4_compress_fast_extState (void* state, const char* src, char* dst, int srcSize, int dstCapacity, int acceleration);
|
190
|
+
|
191
|
+
|
192
|
+
/*!
|
193
|
+
LZ4_compress_destSize() :
|
194
|
+
Reverse the logic : compresses as much data as possible from 'src' buffer
|
195
|
+
into already allocated buffer 'dst' of size 'targetDestSize'.
|
196
|
+
This function either compresses the entire 'src' content into 'dst' if it's large enough,
|
197
|
+
or fill 'dst' buffer completely with as much data as possible from 'src'.
|
198
|
+
*srcSizePtr : will be modified to indicate how many bytes where read from 'src' to fill 'dst'.
|
199
|
+
New value is necessarily <= old value.
|
200
|
+
return : Nb bytes written into 'dst' (necessarily <= targetDestSize)
|
201
|
+
or 0 if compression fails
|
152
202
|
*/
|
153
|
-
int
|
154
|
-
|
203
|
+
LZ4LIB_API int LZ4_compress_destSize (const char* src, char* dst, int* srcSizePtr, int targetDstSize);
|
204
|
+
|
205
|
+
|
206
|
+
/*!
|
207
|
+
LZ4_decompress_fast() : **unsafe!**
|
208
|
+
This function is a bit faster than LZ4_decompress_safe(),
|
209
|
+
but it may misbehave on malformed input because it doesn't perform full validation of compressed data.
|
210
|
+
originalSize : is the uncompressed size to regenerate
|
211
|
+
Destination buffer must be already allocated, and its size must be >= 'originalSize' bytes.
|
212
|
+
return : number of bytes read from source buffer (== compressed size).
|
213
|
+
If the source stream is detected malformed, the function stops decoding and return a negative result.
|
214
|
+
note : This function is only usable if the originalSize of uncompressed data is known in advance.
|
215
|
+
The caller should also check that all the compressed input has been consumed properly,
|
216
|
+
i.e. that the return value matches the size of the buffer with compressed input.
|
217
|
+
The function never writes past the output buffer. However, since it doesn't know its 'src' size,
|
218
|
+
it may read past the intended input. Also, because match offsets are not validated during decoding,
|
219
|
+
reads from 'src' may underflow. Use this function in trusted environment **only**.
|
220
|
+
*/
|
221
|
+
LZ4LIB_API int LZ4_decompress_fast (const char* src, char* dst, int originalSize);
|
155
222
|
|
156
|
-
|
223
|
+
/*!
|
157
224
|
LZ4_decompress_safe_partial() :
|
158
|
-
This function decompress a compressed block of size '
|
159
|
-
into destination buffer '
|
160
|
-
The function
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
225
|
+
This function decompress a compressed block of size 'srcSize' at position 'src'
|
226
|
+
into destination buffer 'dst' of size 'dstCapacity'.
|
227
|
+
The function will decompress a minimum of 'targetOutputSize' bytes, and stop after that.
|
228
|
+
However, it's not accurate, and may write more than 'targetOutputSize' (but always <= dstCapacity).
|
229
|
+
@return : the number of bytes decoded in the destination buffer (necessarily <= dstCapacity)
|
230
|
+
Note : this number can also be < targetOutputSize, if compressed block contains less data.
|
231
|
+
Therefore, always control how many bytes were decoded.
|
232
|
+
If source stream is detected malformed, function returns a negative result.
|
233
|
+
This function is protected against malicious data packets.
|
167
234
|
*/
|
168
|
-
int LZ4_decompress_safe_partial (const char*
|
235
|
+
LZ4LIB_API int LZ4_decompress_safe_partial (const char* src, char* dst, int srcSize, int targetOutputSize, int dstCapacity);
|
169
236
|
|
170
237
|
|
171
|
-
|
172
|
-
|
238
|
+
/*-*********************************************
|
239
|
+
* Streaming Compression Functions
|
173
240
|
***********************************************/
|
241
|
+
typedef union LZ4_stream_u LZ4_stream_t; /* incomplete type (defined later) */
|
174
242
|
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
* LZ4_stream_t
|
179
|
-
* information structure to track an LZ4 stream.
|
180
|
-
* important : init this structure content before first use !
|
181
|
-
* note : only allocated directly the structure if you are statically linking LZ4
|
182
|
-
* If you are using liblz4 as a DLL, please use below construction methods instead.
|
243
|
+
/*! LZ4_createStream() and LZ4_freeStream() :
|
244
|
+
* LZ4_createStream() will allocate and initialize an `LZ4_stream_t` structure.
|
245
|
+
* LZ4_freeStream() releases its memory.
|
183
246
|
*/
|
184
|
-
|
247
|
+
LZ4LIB_API LZ4_stream_t* LZ4_createStream(void);
|
248
|
+
LZ4LIB_API int LZ4_freeStream (LZ4_stream_t* streamPtr);
|
185
249
|
|
186
|
-
|
187
|
-
*
|
188
|
-
*
|
250
|
+
/*! LZ4_resetStream() :
|
251
|
+
* An LZ4_stream_t structure can be allocated once and re-used multiple times.
|
252
|
+
* Use this function to start compressing a new stream.
|
189
253
|
*/
|
190
|
-
void LZ4_resetStream (LZ4_stream_t*
|
254
|
+
LZ4LIB_API void LZ4_resetStream (LZ4_stream_t* streamPtr);
|
191
255
|
|
192
|
-
|
193
|
-
*
|
194
|
-
*
|
195
|
-
*
|
196
|
-
*
|
256
|
+
/*! LZ4_loadDict() :
|
257
|
+
* Use this function to load a static dictionary into LZ4_stream_t.
|
258
|
+
* Any previous data will be forgotten, only 'dictionary' will remain in memory.
|
259
|
+
* Loading a size of 0 is allowed, and is the same as reset.
|
260
|
+
* @return : dictionary size, in bytes (necessarily <= 64 KB)
|
197
261
|
*/
|
198
|
-
LZ4_stream_t*
|
199
|
-
int LZ4_freeStream (LZ4_stream_t* LZ4_streamPtr);
|
262
|
+
LZ4LIB_API int LZ4_loadDict (LZ4_stream_t* streamPtr, const char* dictionary, int dictSize);
|
200
263
|
|
201
|
-
|
202
|
-
*
|
203
|
-
*
|
204
|
-
*
|
205
|
-
*
|
206
|
-
*
|
264
|
+
/*! LZ4_compress_fast_continue() :
|
265
|
+
* Compress 'src' content using data from previously compressed blocks, for better compression ratio.
|
266
|
+
* 'dst' buffer must be already allocated.
|
267
|
+
* If dstCapacity >= LZ4_compressBound(srcSize), compression is guaranteed to succeed, and runs faster.
|
268
|
+
*
|
269
|
+
* Important : The previous 64KB of compressed data is assumed to remain present and unmodified in memory!
|
270
|
+
*
|
271
|
+
* Special 1 : When input is a double-buffer, they can have any size, including < 64 KB.
|
272
|
+
* Make sure that buffers are separated by at least one byte.
|
273
|
+
* This way, each block only depends on previous block.
|
274
|
+
* Special 2 : If input buffer is a ring-buffer, it can have any size, including < 64 KB.
|
275
|
+
*
|
276
|
+
* @return : size of compressed block
|
277
|
+
* or 0 if there is an error (typically, cannot fit into 'dst').
|
278
|
+
* After an error, the stream status is invalid, it can only be reset or freed.
|
207
279
|
*/
|
208
|
-
int
|
209
|
-
|
210
|
-
|
211
|
-
*
|
212
|
-
*
|
213
|
-
*
|
280
|
+
LZ4LIB_API int LZ4_compress_fast_continue (LZ4_stream_t* streamPtr, const char* src, char* dst, int srcSize, int dstCapacity, int acceleration);
|
281
|
+
|
282
|
+
/*! LZ4_saveDict() :
|
283
|
+
* If last 64KB data cannot be guaranteed to remain available at its current memory location,
|
284
|
+
* save it into a safer place (char* safeBuffer).
|
285
|
+
* This is schematically equivalent to a memcpy() followed by LZ4_loadDict(),
|
286
|
+
* but is much faster, because LZ4_saveDict() doesn't need to rebuild tables.
|
287
|
+
* @return : saved dictionary size in bytes (necessarily <= maxDictSize), or 0 if error.
|
214
288
|
*/
|
215
|
-
int
|
289
|
+
LZ4LIB_API int LZ4_saveDict (LZ4_stream_t* streamPtr, char* safeBuffer, int maxDictSize);
|
216
290
|
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
291
|
+
|
292
|
+
/*-**********************************************
|
293
|
+
* Streaming Decompression Functions
|
294
|
+
* Bufferless synchronous API
|
295
|
+
************************************************/
|
296
|
+
typedef union LZ4_streamDecode_u LZ4_streamDecode_t; /* tracking context */
|
297
|
+
|
298
|
+
/*! LZ4_createStreamDecode() and LZ4_freeStreamDecode() :
|
299
|
+
* creation / destruction of streaming decompression tracking context.
|
300
|
+
* A tracking context can be re-used multiple times.
|
301
|
+
*/
|
302
|
+
LZ4LIB_API LZ4_streamDecode_t* LZ4_createStreamDecode(void);
|
303
|
+
LZ4LIB_API int LZ4_freeStreamDecode (LZ4_streamDecode_t* LZ4_stream);
|
304
|
+
|
305
|
+
/*! LZ4_setStreamDecode() :
|
306
|
+
* An LZ4_streamDecode_t context can be allocated once and re-used multiple times.
|
307
|
+
* Use this function to start decompression of a new stream of blocks.
|
308
|
+
* A dictionary can optionnally be set. Use NULL or size 0 for a reset order.
|
309
|
+
* Dictionary is presumed stable : it must remain accessible and unmodified during next decompression.
|
310
|
+
* @return : 1 if OK, 0 if error
|
221
311
|
*/
|
222
|
-
int
|
312
|
+
LZ4LIB_API int LZ4_setStreamDecode (LZ4_streamDecode_t* LZ4_streamDecode, const char* dictionary, int dictSize);
|
313
|
+
|
314
|
+
/*! LZ4_decoderRingBufferSize() : v1.8.2
|
315
|
+
* Note : in a ring buffer scenario (optional),
|
316
|
+
* blocks are presumed decompressed next to each other
|
317
|
+
* up to the moment there is not enough remaining space for next block (remainingSize < maxBlockSize),
|
318
|
+
* at which stage it resumes from beginning of ring buffer.
|
319
|
+
* When setting such a ring buffer for streaming decompression,
|
320
|
+
* provides the minimum size of this ring buffer
|
321
|
+
* to be compatible with any source respecting maxBlockSize condition.
|
322
|
+
* @return : minimum ring buffer size,
|
323
|
+
* or 0 if there is an error (invalid maxBlockSize).
|
324
|
+
*/
|
325
|
+
LZ4LIB_API int LZ4_decoderRingBufferSize(int maxBlockSize);
|
326
|
+
#define LZ4_DECODER_RING_BUFFER_SIZE(mbs) (65536 + 14 + (mbs)) /* for static allocation; mbs presumed valid */
|
327
|
+
|
328
|
+
/*! LZ4_decompress_*_continue() :
|
329
|
+
* These decoding functions allow decompression of consecutive blocks in "streaming" mode.
|
330
|
+
* A block is an unsplittable entity, it must be presented entirely to a decompression function.
|
331
|
+
* Decompression functions only accepts one block at a time.
|
332
|
+
* The last 64KB of previously decoded data *must* remain available and unmodified at the memory position where they were decoded.
|
333
|
+
* If less than 64KB of data has been decoded, all the data must be present.
|
334
|
+
*
|
335
|
+
* Special : if decompression side sets a ring buffer, it must respect one of the following conditions :
|
336
|
+
* - Decompression buffer size is _at least_ LZ4_decoderRingBufferSize(maxBlockSize).
|
337
|
+
* maxBlockSize is the maximum size of any single block. It can have any value > 16 bytes.
|
338
|
+
* In which case, encoding and decoding buffers do not need to be synchronized.
|
339
|
+
* Actually, data can be produced by any source compliant with LZ4 format specification, and respecting maxBlockSize.
|
340
|
+
* - Synchronized mode :
|
341
|
+
* Decompression buffer size is _exactly_ the same as compression buffer size,
|
342
|
+
* and follows exactly same update rule (block boundaries at same positions),
|
343
|
+
* and decoding function is provided with exact decompressed size of each block (exception for last block of the stream),
|
344
|
+
* _then_ decoding & encoding ring buffer can have any size, including small ones ( < 64 KB).
|
345
|
+
* - Decompression buffer is larger than encoding buffer, by a minimum of maxBlockSize more bytes.
|
346
|
+
* In which case, encoding and decoding buffers do not need to be synchronized,
|
347
|
+
* and encoding ring buffer can have any size, including small ones ( < 64 KB).
|
348
|
+
*
|
349
|
+
* Whenever these conditions are not possible,
|
350
|
+
* save the last 64KB of decoded data into a safe buffer where it can't be modified during decompression,
|
351
|
+
* then indicate where this data is saved using LZ4_setStreamDecode(), before decompressing next block.
|
352
|
+
*/
|
353
|
+
LZ4LIB_API int LZ4_decompress_safe_continue (LZ4_streamDecode_t* LZ4_streamDecode, const char* src, char* dst, int srcSize, int dstCapacity);
|
354
|
+
LZ4LIB_API int LZ4_decompress_fast_continue (LZ4_streamDecode_t* LZ4_streamDecode, const char* src, char* dst, int originalSize);
|
223
355
|
|
224
|
-
|
225
|
-
*
|
226
|
-
*
|
227
|
-
*
|
228
|
-
*
|
229
|
-
*
|
230
|
-
* Return : dictionary size in bytes, or 0 if error
|
231
|
-
* Note : any dictSize > 64 KB will be interpreted as 64KB.
|
356
|
+
|
357
|
+
/*! LZ4_decompress_*_usingDict() :
|
358
|
+
* These decoding functions work the same as
|
359
|
+
* a combination of LZ4_setStreamDecode() followed by LZ4_decompress_*_continue()
|
360
|
+
* They are stand-alone, and don't need an LZ4_streamDecode_t structure.
|
361
|
+
* Dictionary is presumed stable : it must remain accessible and unmodified during next decompression.
|
232
362
|
*/
|
233
|
-
int
|
363
|
+
LZ4LIB_API int LZ4_decompress_safe_usingDict (const char* src, char* dst, int srcSize, int dstCapcity, const char* dictStart, int dictSize);
|
364
|
+
LZ4LIB_API int LZ4_decompress_fast_usingDict (const char* src, char* dst, int originalSize, const char* dictStart, int dictSize);
|
234
365
|
|
235
366
|
|
236
|
-
|
237
|
-
|
238
|
-
|
367
|
+
/*^**********************************************
|
368
|
+
* !!!!!! STATIC LINKING ONLY !!!!!!
|
369
|
+
***********************************************/
|
239
370
|
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
*
|
245
|
-
*
|
246
|
-
*
|
371
|
+
/*-************************************
|
372
|
+
* Unstable declarations
|
373
|
+
**************************************
|
374
|
+
* Declarations in this section should be considered unstable.
|
375
|
+
* Use at your own peril, etc., etc.
|
376
|
+
* They may be removed in the future.
|
377
|
+
* Their signatures may change.
|
378
|
+
**************************************/
|
379
|
+
|
380
|
+
#ifdef LZ4_STATIC_LINKING_ONLY
|
381
|
+
|
382
|
+
/*! LZ4_resetStream_fast() :
|
383
|
+
* Use this, like LZ4_resetStream(), to prepare a context for a new chain of
|
384
|
+
* calls to a streaming API (e.g., LZ4_compress_fast_continue()).
|
385
|
+
*
|
386
|
+
* Note:
|
387
|
+
* Using this in advance of a non- streaming-compression function is redundant,
|
388
|
+
* and potentially bad for performance, since they all perform their own custom
|
389
|
+
* reset internally.
|
390
|
+
*
|
391
|
+
* Differences from LZ4_resetStream():
|
392
|
+
* When an LZ4_stream_t is known to be in a internally coherent state,
|
393
|
+
* it can often be prepared for a new compression with almost no work, only
|
394
|
+
* sometimes falling back to the full, expensive reset that is always required
|
395
|
+
* when the stream is in an indeterminate state (i.e., the reset performed by
|
396
|
+
* LZ4_resetStream()).
|
247
397
|
*
|
248
|
-
*
|
249
|
-
*
|
250
|
-
*
|
251
|
-
*
|
398
|
+
* LZ4_streams are guaranteed to be in a valid state when:
|
399
|
+
* - returned from LZ4_createStream()
|
400
|
+
* - reset by LZ4_resetStream()
|
401
|
+
* - memset(stream, 0, sizeof(LZ4_stream_t)), though this is discouraged
|
402
|
+
* - the stream was in a valid state and was reset by LZ4_resetStream_fast()
|
403
|
+
* - the stream was in a valid state and was then used in any compression call
|
404
|
+
* that returned success
|
405
|
+
* - the stream was in an indeterminate state and was used in a compression
|
406
|
+
* call that fully reset the state (e.g., LZ4_compress_fast_extState()) and
|
407
|
+
* that returned success
|
408
|
+
*
|
409
|
+
* When a stream isn't known to be in a valid state, it is not safe to pass to
|
410
|
+
* any fastReset or streaming function. It must first be cleansed by the full
|
411
|
+
* LZ4_resetStream().
|
252
412
|
*/
|
253
|
-
|
254
|
-
int LZ4_freeStreamDecode (LZ4_streamDecode_t* LZ4_stream);
|
413
|
+
LZ4LIB_API void LZ4_resetStream_fast (LZ4_stream_t* streamPtr);
|
255
414
|
|
256
|
-
|
257
|
-
*
|
258
|
-
*
|
259
|
-
*
|
260
|
-
*
|
415
|
+
/*! LZ4_compress_fast_extState_fastReset() :
|
416
|
+
* A variant of LZ4_compress_fast_extState().
|
417
|
+
*
|
418
|
+
* Using this variant avoids an expensive initialization step. It is only safe
|
419
|
+
* to call if the state buffer is known to be correctly initialized already
|
420
|
+
* (see above comment on LZ4_resetStream_fast() for a definition of "correctly
|
421
|
+
* initialized"). From a high level, the difference is that this function
|
422
|
+
* initializes the provided state with a call to something like
|
423
|
+
* LZ4_resetStream_fast() while LZ4_compress_fast_extState() starts with a
|
424
|
+
* call to LZ4_resetStream().
|
261
425
|
*/
|
262
|
-
int
|
426
|
+
LZ4LIB_API int LZ4_compress_fast_extState_fastReset (void* state, const char* src, char* dst, int srcSize, int dstCapacity, int acceleration);
|
263
427
|
|
264
|
-
|
265
|
-
*
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
428
|
+
/*! LZ4_attach_dictionary() :
|
429
|
+
* This is an experimental API that allows for the efficient use of a
|
430
|
+
* static dictionary many times.
|
431
|
+
*
|
432
|
+
* Rather than re-loading the dictionary buffer into a working context before
|
433
|
+
* each compression, or copying a pre-loaded dictionary's LZ4_stream_t into a
|
434
|
+
* working LZ4_stream_t, this function introduces a no-copy setup mechanism,
|
435
|
+
* in which the working stream references the dictionary stream in-place.
|
436
|
+
*
|
437
|
+
* Several assumptions are made about the state of the dictionary stream.
|
438
|
+
* Currently, only streams which have been prepared by LZ4_loadDict() should
|
439
|
+
* be expected to work.
|
440
|
+
*
|
441
|
+
* Alternatively, the provided dictionary stream pointer may be NULL, in which
|
442
|
+
* case any existing dictionary stream is unset.
|
443
|
+
*
|
444
|
+
* If a dictionary is provided, it replaces any pre-existing stream history.
|
445
|
+
* The dictionary contents are the only history that can be referenced and
|
446
|
+
* logically immediately precede the data compressed in the first subsequent
|
447
|
+
* compression call.
|
448
|
+
*
|
449
|
+
* The dictionary will only remain attached to the working stream through the
|
450
|
+
* first compression call, at the end of which it is cleared. The dictionary
|
451
|
+
* stream (and source buffer) must remain in-place / accessible / unchanged
|
452
|
+
* through the completion of the first compression call on the stream.
|
453
|
+
*/
|
454
|
+
LZ4LIB_API void LZ4_attach_dictionary(LZ4_stream_t *working_stream, const LZ4_stream_t *dictionary_stream);
|
455
|
+
|
456
|
+
#endif
|
273
457
|
|
458
|
+
/*-************************************
|
459
|
+
* Private definitions
|
460
|
+
**************************************
|
461
|
+
* Do not use these definitions.
|
462
|
+
* They are exposed to allow static allocation of `LZ4_stream_t` and `LZ4_streamDecode_t`.
|
463
|
+
* Using these definitions will expose code to API and/or ABI break in future versions of the library.
|
464
|
+
**************************************/
|
465
|
+
#define LZ4_HASHLOG (LZ4_MEMORY_USAGE-2)
|
466
|
+
#define LZ4_HASHTABLESIZE (1 << LZ4_MEMORY_USAGE)
|
467
|
+
#define LZ4_HASH_SIZE_U32 (1 << LZ4_HASHLOG) /* required as macro for static allocation */
|
468
|
+
|
469
|
+
#if defined(__cplusplus) || (defined (__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L) /* C99 */)
|
470
|
+
#include <stdint.h>
|
471
|
+
|
472
|
+
typedef struct LZ4_stream_t_internal LZ4_stream_t_internal;
|
473
|
+
struct LZ4_stream_t_internal {
|
474
|
+
uint32_t hashTable[LZ4_HASH_SIZE_U32];
|
475
|
+
uint32_t currentOffset;
|
476
|
+
uint16_t initCheck;
|
477
|
+
uint16_t tableType;
|
478
|
+
const uint8_t* dictionary;
|
479
|
+
const LZ4_stream_t_internal* dictCtx;
|
480
|
+
uint32_t dictSize;
|
481
|
+
};
|
482
|
+
|
483
|
+
typedef struct {
|
484
|
+
const uint8_t* externalDict;
|
485
|
+
size_t extDictSize;
|
486
|
+
const uint8_t* prefixEnd;
|
487
|
+
size_t prefixSize;
|
488
|
+
} LZ4_streamDecode_t_internal;
|
489
|
+
|
490
|
+
#else
|
491
|
+
|
492
|
+
typedef struct LZ4_stream_t_internal LZ4_stream_t_internal;
|
493
|
+
struct LZ4_stream_t_internal {
|
494
|
+
unsigned int hashTable[LZ4_HASH_SIZE_U32];
|
495
|
+
unsigned int currentOffset;
|
496
|
+
unsigned short initCheck;
|
497
|
+
unsigned short tableType;
|
498
|
+
const unsigned char* dictionary;
|
499
|
+
const LZ4_stream_t_internal* dictCtx;
|
500
|
+
unsigned int dictSize;
|
501
|
+
};
|
502
|
+
|
503
|
+
typedef struct {
|
504
|
+
const unsigned char* externalDict;
|
505
|
+
size_t extDictSize;
|
506
|
+
const unsigned char* prefixEnd;
|
507
|
+
size_t prefixSize;
|
508
|
+
} LZ4_streamDecode_t_internal;
|
274
509
|
|
275
|
-
|
276
|
-
Advanced decoding functions :
|
277
|
-
*_usingDict() :
|
278
|
-
These decoding functions work the same as
|
279
|
-
a combination of LZ4_setDictDecode() followed by LZ4_decompress_x_continue()
|
280
|
-
They are stand-alone and don't use nor update an LZ4_streamDecode_t structure.
|
281
|
-
*/
|
282
|
-
int LZ4_decompress_safe_usingDict (const char* source, char* dest, int compressedSize, int maxDecompressedSize, const char* dictStart, int dictSize);
|
283
|
-
int LZ4_decompress_fast_usingDict (const char* source, char* dest, int originalSize, const char* dictStart, int dictSize);
|
510
|
+
#endif
|
284
511
|
|
512
|
+
/*!
|
513
|
+
* LZ4_stream_t :
|
514
|
+
* information structure to track an LZ4 stream.
|
515
|
+
* init this structure before first use.
|
516
|
+
* note : only use in association with static linking !
|
517
|
+
* this definition is not API/ABI safe,
|
518
|
+
* it may change in a future version !
|
519
|
+
*/
|
520
|
+
#define LZ4_STREAMSIZE_U64 ((1 << (LZ4_MEMORY_USAGE-3)) + 4)
|
521
|
+
#define LZ4_STREAMSIZE (LZ4_STREAMSIZE_U64 * sizeof(unsigned long long))
|
522
|
+
union LZ4_stream_u {
|
523
|
+
unsigned long long table[LZ4_STREAMSIZE_U64];
|
524
|
+
LZ4_stream_t_internal internal_donotuse;
|
525
|
+
} ; /* previously typedef'd to LZ4_stream_t */
|
526
|
+
|
527
|
+
|
528
|
+
/*!
|
529
|
+
* LZ4_streamDecode_t :
|
530
|
+
* information structure to track an LZ4 stream during decompression.
|
531
|
+
* init this structure using LZ4_setStreamDecode (or memset()) before first use
|
532
|
+
* note : only use in association with static linking !
|
533
|
+
* this definition is not API/ABI safe,
|
534
|
+
* and may change in a future version !
|
535
|
+
*/
|
536
|
+
#define LZ4_STREAMDECODESIZE_U64 4
|
537
|
+
#define LZ4_STREAMDECODESIZE (LZ4_STREAMDECODESIZE_U64 * sizeof(unsigned long long))
|
538
|
+
union LZ4_streamDecode_u {
|
539
|
+
unsigned long long table[LZ4_STREAMDECODESIZE_U64];
|
540
|
+
LZ4_streamDecode_t_internal internal_donotuse;
|
541
|
+
} ; /* previously typedef'd to LZ4_streamDecode_t */
|
285
542
|
|
286
543
|
|
287
|
-
|
288
|
-
|
544
|
+
/*-************************************
|
545
|
+
* Obsolete Functions
|
289
546
|
**************************************/
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
|
306
|
-
|
547
|
+
|
548
|
+
/*! Deprecation warnings
|
549
|
+
Should deprecation warnings be a problem,
|
550
|
+
it is generally possible to disable them,
|
551
|
+
typically with -Wno-deprecated-declarations for gcc
|
552
|
+
or _CRT_SECURE_NO_WARNINGS in Visual.
|
553
|
+
Otherwise, it's also possible to define LZ4_DISABLE_DEPRECATE_WARNINGS */
|
554
|
+
#ifdef LZ4_DISABLE_DEPRECATE_WARNINGS
|
555
|
+
# define LZ4_DEPRECATED(message) /* disable deprecation warnings */
|
556
|
+
#else
|
557
|
+
# define LZ4_GCC_VERSION (__GNUC__ * 100 + __GNUC_MINOR__)
|
558
|
+
# if defined (__cplusplus) && (__cplusplus >= 201402) /* C++14 or greater */
|
559
|
+
# define LZ4_DEPRECATED(message) [[deprecated(message)]]
|
560
|
+
# elif (LZ4_GCC_VERSION >= 405) || defined(__clang__)
|
561
|
+
# define LZ4_DEPRECATED(message) __attribute__((deprecated(message)))
|
562
|
+
# elif (LZ4_GCC_VERSION >= 301)
|
563
|
+
# define LZ4_DEPRECATED(message) __attribute__((deprecated))
|
564
|
+
# elif defined(_MSC_VER)
|
565
|
+
# define LZ4_DEPRECATED(message) __declspec(deprecated(message))
|
566
|
+
# else
|
567
|
+
# pragma message("WARNING: You need to implement LZ4_DEPRECATED for this compiler")
|
568
|
+
# define LZ4_DEPRECATED(message)
|
569
|
+
# endif
|
570
|
+
#endif /* LZ4_DISABLE_DEPRECATE_WARNINGS */
|
571
|
+
|
572
|
+
/* Obsolete compression functions */
|
573
|
+
LZ4_DEPRECATED("use LZ4_compress_default() instead") LZ4LIB_API int LZ4_compress (const char* source, char* dest, int sourceSize);
|
574
|
+
LZ4_DEPRECATED("use LZ4_compress_default() instead") LZ4LIB_API int LZ4_compress_limitedOutput (const char* source, char* dest, int sourceSize, int maxOutputSize);
|
575
|
+
LZ4_DEPRECATED("use LZ4_compress_fast_extState() instead") LZ4LIB_API int LZ4_compress_withState (void* state, const char* source, char* dest, int inputSize);
|
576
|
+
LZ4_DEPRECATED("use LZ4_compress_fast_extState() instead") LZ4LIB_API int LZ4_compress_limitedOutput_withState (void* state, const char* source, char* dest, int inputSize, int maxOutputSize);
|
577
|
+
LZ4_DEPRECATED("use LZ4_compress_fast_continue() instead") LZ4LIB_API int LZ4_compress_continue (LZ4_stream_t* LZ4_streamPtr, const char* source, char* dest, int inputSize);
|
578
|
+
LZ4_DEPRECATED("use LZ4_compress_fast_continue() instead") LZ4LIB_API int LZ4_compress_limitedOutput_continue (LZ4_stream_t* LZ4_streamPtr, const char* source, char* dest, int inputSize, int maxOutputSize);
|
579
|
+
|
580
|
+
/* Obsolete decompression functions */
|
581
|
+
LZ4_DEPRECATED("use LZ4_decompress_fast() instead") LZ4LIB_API int LZ4_uncompress (const char* source, char* dest, int outputSize);
|
582
|
+
LZ4_DEPRECATED("use LZ4_decompress_safe() instead") LZ4LIB_API int LZ4_uncompress_unknownOutputSize (const char* source, char* dest, int isize, int maxOutputSize);
|
583
|
+
|
584
|
+
/* Obsolete streaming functions; degraded functionality; do not use!
|
585
|
+
*
|
586
|
+
* In order to perform streaming compression, these functions depended on data
|
587
|
+
* that is no longer tracked in the state. They have been preserved as well as
|
588
|
+
* possible: using them will still produce a correct output. However, they don't
|
589
|
+
* actually retain any history between compression calls. The compression ratio
|
590
|
+
* achieved will therefore be no better than compressing each chunk
|
591
|
+
* independently.
|
592
|
+
*/
|
593
|
+
LZ4_DEPRECATED("Use LZ4_createStream() instead") LZ4LIB_API void* LZ4_create (char* inputBuffer);
|
594
|
+
LZ4_DEPRECATED("Use LZ4_createStream() instead") LZ4LIB_API int LZ4_sizeofStreamState(void);
|
595
|
+
LZ4_DEPRECATED("Use LZ4_resetStream() instead") LZ4LIB_API int LZ4_resetStreamState(void* state, char* inputBuffer);
|
596
|
+
LZ4_DEPRECATED("Use LZ4_saveDict() instead") LZ4LIB_API char* LZ4_slideInputBuffer (void* state);
|
307
597
|
|
308
598
|
/* Obsolete streaming decoding functions */
|
309
|
-
int LZ4_decompress_safe_withPrefix64k (const char*
|
310
|
-
int LZ4_decompress_fast_withPrefix64k (const char*
|
599
|
+
LZ4_DEPRECATED("use LZ4_decompress_safe_usingDict() instead") LZ4LIB_API int LZ4_decompress_safe_withPrefix64k (const char* src, char* dst, int compressedSize, int maxDstSize);
|
600
|
+
LZ4_DEPRECATED("use LZ4_decompress_fast_usingDict() instead") LZ4LIB_API int LZ4_decompress_fast_withPrefix64k (const char* src, char* dst, int originalSize);
|
601
|
+
|
602
|
+
#endif /* LZ4_H_2983827168210 */
|
311
603
|
|
312
604
|
|
313
605
|
#if defined (__cplusplus)
|