rroonga 9.0.3-x86-mingw32 → 9.0.7-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/doc/text/news.md +30 -0
- data/ext/groonga/rb-grn-context.c +27 -0
- data/ext/groonga/rb-grn-flushable.c +7 -0
- data/ext/groonga/rb-grn-index-column.c +28 -0
- data/ext/groonga/rb-grn-index-cursor.c +19 -0
- data/ext/groonga/rb-grn-logger.c +17 -3
- data/ext/groonga/rb-grn-object.c +236 -22
- data/ext/groonga/rb-grn-table.c +68 -42
- data/ext/groonga/rb-grn.h +1 -1
- 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/2.6/groonga.so +0 -0
- data/lib/groonga/dumper.rb +3 -0
- data/lib/groonga/record.rb +2 -2
- data/test/groonga-test-utils.rb +28 -5
- data/test/run-test.rb +0 -2
- data/test/test-accessor.rb +63 -7
- data/test/test-context.rb +25 -0
- data/test/test-exception.rb +5 -0
- data/test/test-flushable.rb +51 -6
- data/test/test-index-column.rb +67 -6
- data/test/test-index-cursor.rb +26 -0
- data/test/test-logger.rb +56 -11
- data/test/test-plugin.rb +1 -0
- data/test/test-query-logger.rb +4 -3
- data/test/test-record.rb +2 -1
- data/test/test-remote.rb +40 -10
- data/test/test-schema-dumper.rb +13 -0
- data/test/test-table.rb +21 -1
- data/test/test-variable.rb +23 -7
- data/vendor/local/bin/generate-pdb.bat +21 -21
- 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.exe +0 -0
- data/vendor/local/bin/mecab.exe +0 -0
- 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/cmake/RapidJSONConfig.cmake +3 -0
- data/vendor/local/cmake/RapidJSONConfigVersion.cmake +10 -0
- data/vendor/local/include/groonga/groonga/expr.h +16 -0
- data/vendor/local/include/groonga/groonga/obj.h +8 -0
- data/vendor/local/include/groonga/groonga/output.h +5 -0
- data/vendor/local/include/groonga/groonga/version.h +2 -2
- data/vendor/local/include/rapidjson/allocators.h +271 -0
- data/vendor/local/include/rapidjson/document.h +2575 -0
- data/vendor/local/include/rapidjson/encodedstream.h +299 -0
- data/vendor/local/include/rapidjson/encodings.h +716 -0
- data/vendor/local/include/rapidjson/error/en.h +74 -0
- data/vendor/local/include/rapidjson/error/error.h +155 -0
- data/vendor/local/include/rapidjson/filereadstream.h +99 -0
- data/vendor/local/include/rapidjson/filewritestream.h +104 -0
- data/vendor/local/include/rapidjson/fwd.h +151 -0
- data/vendor/local/include/rapidjson/internal/biginteger.h +290 -0
- data/vendor/local/include/rapidjson/internal/diyfp.h +258 -0
- data/vendor/local/include/rapidjson/internal/dtoa.h +245 -0
- data/vendor/local/include/rapidjson/internal/ieee754.h +78 -0
- data/vendor/local/include/rapidjson/internal/itoa.h +304 -0
- data/vendor/local/include/rapidjson/internal/meta.h +181 -0
- data/vendor/local/include/rapidjson/internal/pow10.h +55 -0
- data/vendor/local/include/rapidjson/internal/regex.h +701 -0
- data/vendor/local/include/rapidjson/internal/stack.h +230 -0
- data/vendor/local/include/rapidjson/internal/strfunc.h +55 -0
- data/vendor/local/include/rapidjson/internal/strtod.h +269 -0
- data/vendor/local/include/rapidjson/internal/swap.h +46 -0
- data/vendor/local/include/rapidjson/istreamwrapper.h +115 -0
- data/vendor/local/include/rapidjson/memorybuffer.h +70 -0
- data/vendor/local/include/rapidjson/memorystream.h +71 -0
- data/vendor/local/include/rapidjson/msinttypes/inttypes.h +316 -0
- data/vendor/local/include/rapidjson/msinttypes/stdint.h +300 -0
- data/vendor/local/include/rapidjson/ostreamwrapper.h +81 -0
- data/vendor/local/include/rapidjson/pointer.h +1358 -0
- data/vendor/local/include/rapidjson/prettywriter.h +255 -0
- data/vendor/local/include/rapidjson/rapidjson.h +615 -0
- data/vendor/local/include/rapidjson/reader.h +1879 -0
- data/vendor/local/include/rapidjson/schema.h +2006 -0
- data/vendor/local/include/rapidjson/stream.h +179 -0
- data/vendor/local/include/rapidjson/stringbuffer.h +117 -0
- data/vendor/local/include/rapidjson/writer.h +610 -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/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 +44 -18
- data/vendor/local/lib/groonga/plugins/sharding/logical_count.rb +9 -8
- data/vendor/local/lib/groonga/plugins/sharding/logical_range_filter.rb +48 -15
- data/vendor/local/lib/groonga/plugins/sharding/logical_select.rb +84 -58
- data/vendor/local/lib/groonga/plugins/sharding/range_expression_builder.rb +1 -1
- 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/command.rb +3 -4
- data/vendor/local/lib/groonga/scripts/ruby/command_line/grndb.rb +267 -77
- data/vendor/local/lib/groonga/scripts/ruby/command_line_parser.rb +96 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression_rewriters/optimizer.rb +1 -1
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/binary_operation.rb +30 -7
- data/vendor/local/lib/groonga/scripts/ruby/initialize/pre.rb +5 -0
- data/vendor/local/lib/groonga/scripts/ruby/loggable.rb +8 -0
- data/vendor/local/lib/groonga/scripts/ruby/logger/flags.rb +70 -0
- data/vendor/local/lib/groonga/scripts/ruby/query_loggable.rb +8 -0
- data/vendor/local/lib/groonga/scripts/ruby/scan_info_builder.rb +1 -1
- data/vendor/local/lib/groonga/scripts/ruby/scan_info_data.rb +2 -2
- data/vendor/local/lib/groonga/scripts/ruby/time.rb +9 -0
- 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.dll +0 -0
- data/vendor/local/lib/liblz4.dll.1 +0 -0
- data/vendor/local/lib/liblz4.dll.1.8.2 +0 -0
- data/vendor/local/lib/libmecab.dll.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/libonigmo.la +1 -1
- data/vendor/local/lib/libpcre.dll.a +0 -0
- data/vendor/local/lib/libpcrecpp.dll.a +0 -0
- data/vendor/local/lib/libpcreposix.dll.a +0 -0
- data/vendor/local/lib/libz.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/groonga.pc +2 -2
- 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/RapidJSON/examples/CMakeLists.txt +42 -0
- data/vendor/local/share/doc/RapidJSON/examples/capitalize/capitalize.cpp +67 -0
- data/vendor/local/share/doc/RapidJSON/examples/condense/condense.cpp +32 -0
- data/vendor/local/share/doc/RapidJSON/examples/filterkey/filterkey.cpp +135 -0
- data/vendor/local/share/doc/RapidJSON/examples/filterkeydom/filterkeydom.cpp +170 -0
- data/vendor/local/share/doc/RapidJSON/examples/jsonx/jsonx.cpp +207 -0
- data/vendor/local/share/doc/RapidJSON/examples/messagereader/messagereader.cpp +105 -0
- data/vendor/local/share/doc/RapidJSON/examples/parsebyparts/parsebyparts.cpp +173 -0
- data/vendor/local/share/doc/RapidJSON/examples/pretty/pretty.cpp +30 -0
- data/vendor/local/share/doc/RapidJSON/examples/prettyauto/prettyauto.cpp +56 -0
- data/vendor/local/share/doc/RapidJSON/examples/schemavalidator/schemavalidator.cpp +72 -0
- data/vendor/local/share/doc/RapidJSON/examples/serialize/serialize.cpp +173 -0
- data/vendor/local/share/doc/RapidJSON/examples/simpledom/simpledom.cpp +29 -0
- data/vendor/local/share/doc/RapidJSON/examples/simplereader/simplereader.cpp +42 -0
- data/vendor/local/share/doc/RapidJSON/examples/simplewriter/simplewriter.cpp +36 -0
- data/vendor/local/share/doc/RapidJSON/examples/tutorial/tutorial.cpp +151 -0
- data/vendor/local/share/doc/RapidJSON/readme.md +160 -0
- data/vendor/local/share/doc/groonga/en/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/en/html/_static/documentation_options.js +1 -1
- data/vendor/local/share/doc/groonga/en/html/characteristic.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/client.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/community.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/contribution.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/contribution/development.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/contribution/development/build.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/contribution/development/build/unix_autotools.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/contribution/development/build/unix_cmake.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/contribution/development/build/windows_cmake.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/contribution/development/cooperation.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/introduction.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/contribution/report.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/development.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/genindex.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/index.html +11 -7
- data/vendor/local/share/doc/groonga/en/html/install.html +5 -4
- data/vendor/local/share/doc/groonga/en/html/install/centos.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/install/debian.html +79 -8
- data/vendor/local/share/doc/groonga/en/html/install/docker.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/install/fedora.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/install/others.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/install/solaris.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/install/windows.html +12 -12
- data/vendor/local/share/doc/groonga/en/html/limitations.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/news.html +498 -206
- data/vendor/local/share/doc/groonga/en/html/news/0.x.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/news/1.3.x.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/news/2.x.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/news/3.x.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/news/4.x.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/news/5.x.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/news/6.x.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/news/senna.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/en/html/reference.html +9 -6
- data/vendor/local/share/doc/groonga/en/html/reference/alias.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/api.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/api/global_configurations.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_cache.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_column.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_command_version.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_content_type.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_db.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_encoding.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_geo.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_hook.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ii.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_index_cursor.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_info.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_inspect.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_match_escalation.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_obj.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_proc.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_search.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table_cursor.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_thread.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_type.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_user_data.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/api/overview.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/api/plugin.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/cast.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/column.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/columns/index.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/columns/pseudo.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/columns/scalar.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/columns/vector.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/command.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/command/pretty_print.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/command/request_id.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/command/request_timeout.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_copy.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/commands/config_delete.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/commands/config_get.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/commands/config_set.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/commands/database_unmap.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/commands/io_flush.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_acquire.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_clear.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_release.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_count.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_parameters.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_range_filter.html +77 -4
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_select.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_shard_list.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_table_remove.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalizer_list.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/commands/object_exist.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/commands/object_inspect.html +78 -54
- data/vendor/local/share/doc/groonga/en/html/reference/commands/object_list.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/commands/object_remove.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/commands/plugin_register.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/commands/plugin_unregister.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/commands/query_expand.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/commands/range_filter.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/commands/reindex.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/commands/request_cancel.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_eval.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_load.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/commands/schema.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_copy.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_rename.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_tokenize.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/commands/thread_limit.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenize.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenizer_list.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/configuration.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/executables.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grndb.html +58 -4
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-benchmark.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-httpd.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-learner.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/function.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/functions/between.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/functions/cast_loose.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/functions/fuzzy_search.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +11 -19
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_full.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_html.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/functions/in_records.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/functions/in_values.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/functions/math_abs.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/functions/number_classify.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/functions/prefix_rk_search.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/functions/string_length.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/functions/string_substring.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_day.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_day_of_week.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_hour.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_minute.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_month.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_second.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_week.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_year.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/functions/vector_find.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/functions/vector_new.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/functions/vector_size.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/functions/vector_slice.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/log.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/normalizers/normalizer_auto.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/normalizers/normalizer_nfkc100.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/normalizers/normalizer_nfkc51.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/operations.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/operations/geolocation_search.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/operations/prefix_rk_search.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/output.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/regular_expression.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/scorer.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/scorers/scorer_tf_at_most.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/scorers/scorer_tf_idf.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/sharding.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/suggest.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/completion.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/correction.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/introduction.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/suggestion.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/tables.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/token_filter/summary.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/token_filters.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/token_filters/token_filter_nfkc100.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/token_filters/token_filter_stem.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/token_filters/token_filter_stop_word.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizer/summary.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +9 -6
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_bigram.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_bigram_ignore_blank.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_bigram_ignore_blank_split_symbol.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_bigram_ignore_blank_split_symbol_alpha.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_bigram_ignore_blank_split_symbol_alpha_digit.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_bigram_split_symbol.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_bigram_split_symbol_alpha.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_bigram_split_symbol_alpha_digit.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_delimit.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_delimit_null.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_mecab.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_ngram.html +1005 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_pattern.html +240 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_regexp.html +21 -21
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_table.html +246 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_trigram.html +20 -20
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_unigram.html +15 -15
- data/vendor/local/share/doc/groonga/en/html/reference/tuning.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/types.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/window_function.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/window_functions/record_number.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/window_functions/window_count.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/window_functions/window_record_number.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/reference/window_functions/window_sum.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/search.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/en/html/server.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/server/http.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/server/memcached.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/server/package.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/spec.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/spec/search.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/how_to_analyze_error_message.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/mmap_cannot_allocate_memory.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/tutorial.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +68 -6
- data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +37 -4
- data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +3 -3
- data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_static/documentation_options.js +1 -1
- data/vendor/local/share/doc/groonga/ja/html/characteristic.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/client.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/community.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/contribution.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/build.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/unix_autotools.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/unix_cmake.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/windows_cmake.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/cooperation.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/introduction.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/development.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/genindex.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/index.html +11 -7
- data/vendor/local/share/doc/groonga/ja/html/install.html +5 -4
- data/vendor/local/share/doc/groonga/ja/html/install/centos.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/install/debian.html +69 -8
- data/vendor/local/share/doc/groonga/ja/html/install/docker.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/install/others.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/install/windows.html +12 -12
- data/vendor/local/share/doc/groonga/ja/html/limitations.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/news.html +494 -206
- data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/news/1.3.x.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/news/2.x.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/news/3.x.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/news/4.x.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/news/5.x.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/news/6.x.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/news/senna.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/ja/html/reference.html +9 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/alias.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/api.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/api/global_configurations.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_content_type.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_geo.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_hook.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ii.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_index_cursor.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_info.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_inspect.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_match_escalation.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_obj.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_proc.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_search.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table_cursor.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_thread.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_type.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_user_data.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/api/overview.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/api/plugin.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/column.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/index.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/pseudo.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/scalar.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/vector.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/command.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/command/pretty_print.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/command/request_id.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/command/request_timeout.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_copy.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/config_delete.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/config_get.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/config_set.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/database_unmap.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/io_flush.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_acquire.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_clear.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_release.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_count.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_parameters.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_range_filter.html +75 -4
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_select.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_shard_list.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_table_remove.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalizer_list.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_exist.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_inspect.html +73 -54
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_list.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_remove.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/plugin_register.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/plugin_unregister.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/query_expand.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/range_filter.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/reindex.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/request_cancel.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_eval.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_load.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/schema.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_copy.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_rename.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_tokenize.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/thread_limit.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenizer_list.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/configuration.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grndb.html +57 -4
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-benchmark.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-httpd.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-learner.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/function.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/between.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/cast_loose.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/fuzzy_search.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +11 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_full.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_html.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/in_records.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/in_values.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/math_abs.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/number_classify.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/prefix_rk_search.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/string_length.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/string_substring.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_day.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_day_of_week.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_hour.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_minute.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_month.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_second.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_week.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_year.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/vector_find.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/vector_new.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/vector_size.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/vector_slice.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/log.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/normalizers/normalizer_auto.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/normalizers/normalizer_nfkc100.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/normalizers/normalizer_nfkc51.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/operations.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/operations/geolocation_search.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/operations/prefix_rk_search.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/output.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/regular_expression.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/scorer.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/scorers/scorer_tf_at_most.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/scorers/scorer_tf_idf.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/sharding.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/completion.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/correction.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/introduction.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/suggestion.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/token_filter/summary.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/token_filters.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/token_filters/token_filter_nfkc100.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/token_filters/token_filter_stem.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/token_filters/token_filter_stop_word.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizer/summary.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +9 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_bigram.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_bigram_ignore_blank.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_bigram_ignore_blank_split_symbol.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_bigram_ignore_blank_split_symbol_alpha.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_bigram_ignore_blank_split_symbol_alpha_digit.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_bigram_split_symbol.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_bigram_split_symbol_alpha.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_bigram_split_symbol_alpha_digit.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_delimit.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_delimit_null.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_mecab.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_ngram.html +998 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_pattern.html +240 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_regexp.html +21 -21
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_table.html +242 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_trigram.html +20 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_unigram.html +15 -15
- data/vendor/local/share/doc/groonga/ja/html/reference/tuning.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/types.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/window_function.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/window_functions/record_number.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/window_functions/window_count.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/window_functions/window_record_number.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/reference/window_functions/window_sum.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/search.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/ja/html/server.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/server/http.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/server/memcached.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/server/package.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/spec.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/spec/search.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/how_to_analyze_error_message.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/mmap_cannot_allocate_memory.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/tutorial.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +64 -6
- data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +37 -4
- data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +3 -3
- data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +3 -3
- data/vendor/local/share/groonga/COPYING +502 -0
- data/vendor/local/share/groonga/mruby/LEGAL +58 -54
- data/vendor/local/share/license/mruby/AUTHORS +6 -2
- data/vendor/local/share/license/mruby/LEGAL +1 -1
- data/vendor/local/share/license/mruby/{MITL → LICENSE} +1 -1
- data/vendor/local/share/license/mruby/README.md +3 -3
- data/vendor/local/share/license/rapidjson/license.txt +57 -0
- metadata +126 -60
@@ -0,0 +1,230 @@
|
|
1
|
+
// Tencent is pleased to support the open source community by making RapidJSON available.
|
2
|
+
//
|
3
|
+
// Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip. All rights reserved.
|
4
|
+
//
|
5
|
+
// Licensed under the MIT License (the "License"); you may not use this file except
|
6
|
+
// in compliance with the License. You may obtain a copy of the License at
|
7
|
+
//
|
8
|
+
// http://opensource.org/licenses/MIT
|
9
|
+
//
|
10
|
+
// Unless required by applicable law or agreed to in writing, software distributed
|
11
|
+
// under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
|
12
|
+
// CONDITIONS OF ANY KIND, either express or implied. See the License for the
|
13
|
+
// specific language governing permissions and limitations under the License.
|
14
|
+
|
15
|
+
#ifndef RAPIDJSON_INTERNAL_STACK_H_
|
16
|
+
#define RAPIDJSON_INTERNAL_STACK_H_
|
17
|
+
|
18
|
+
#include "../allocators.h"
|
19
|
+
#include "swap.h"
|
20
|
+
|
21
|
+
#if defined(__clang__)
|
22
|
+
RAPIDJSON_DIAG_PUSH
|
23
|
+
RAPIDJSON_DIAG_OFF(c++98-compat)
|
24
|
+
#endif
|
25
|
+
|
26
|
+
RAPIDJSON_NAMESPACE_BEGIN
|
27
|
+
namespace internal {
|
28
|
+
|
29
|
+
///////////////////////////////////////////////////////////////////////////////
|
30
|
+
// Stack
|
31
|
+
|
32
|
+
//! A type-unsafe stack for storing different types of data.
|
33
|
+
/*! \tparam Allocator Allocator for allocating stack memory.
|
34
|
+
*/
|
35
|
+
template <typename Allocator>
|
36
|
+
class Stack {
|
37
|
+
public:
|
38
|
+
// Optimization note: Do not allocate memory for stack_ in constructor.
|
39
|
+
// Do it lazily when first Push() -> Expand() -> Resize().
|
40
|
+
Stack(Allocator* allocator, size_t stackCapacity) : allocator_(allocator), ownAllocator_(0), stack_(0), stackTop_(0), stackEnd_(0), initialCapacity_(stackCapacity) {
|
41
|
+
}
|
42
|
+
|
43
|
+
#if RAPIDJSON_HAS_CXX11_RVALUE_REFS
|
44
|
+
Stack(Stack&& rhs)
|
45
|
+
: allocator_(rhs.allocator_),
|
46
|
+
ownAllocator_(rhs.ownAllocator_),
|
47
|
+
stack_(rhs.stack_),
|
48
|
+
stackTop_(rhs.stackTop_),
|
49
|
+
stackEnd_(rhs.stackEnd_),
|
50
|
+
initialCapacity_(rhs.initialCapacity_)
|
51
|
+
{
|
52
|
+
rhs.allocator_ = 0;
|
53
|
+
rhs.ownAllocator_ = 0;
|
54
|
+
rhs.stack_ = 0;
|
55
|
+
rhs.stackTop_ = 0;
|
56
|
+
rhs.stackEnd_ = 0;
|
57
|
+
rhs.initialCapacity_ = 0;
|
58
|
+
}
|
59
|
+
#endif
|
60
|
+
|
61
|
+
~Stack() {
|
62
|
+
Destroy();
|
63
|
+
}
|
64
|
+
|
65
|
+
#if RAPIDJSON_HAS_CXX11_RVALUE_REFS
|
66
|
+
Stack& operator=(Stack&& rhs) {
|
67
|
+
if (&rhs != this)
|
68
|
+
{
|
69
|
+
Destroy();
|
70
|
+
|
71
|
+
allocator_ = rhs.allocator_;
|
72
|
+
ownAllocator_ = rhs.ownAllocator_;
|
73
|
+
stack_ = rhs.stack_;
|
74
|
+
stackTop_ = rhs.stackTop_;
|
75
|
+
stackEnd_ = rhs.stackEnd_;
|
76
|
+
initialCapacity_ = rhs.initialCapacity_;
|
77
|
+
|
78
|
+
rhs.allocator_ = 0;
|
79
|
+
rhs.ownAllocator_ = 0;
|
80
|
+
rhs.stack_ = 0;
|
81
|
+
rhs.stackTop_ = 0;
|
82
|
+
rhs.stackEnd_ = 0;
|
83
|
+
rhs.initialCapacity_ = 0;
|
84
|
+
}
|
85
|
+
return *this;
|
86
|
+
}
|
87
|
+
#endif
|
88
|
+
|
89
|
+
void Swap(Stack& rhs) RAPIDJSON_NOEXCEPT {
|
90
|
+
internal::Swap(allocator_, rhs.allocator_);
|
91
|
+
internal::Swap(ownAllocator_, rhs.ownAllocator_);
|
92
|
+
internal::Swap(stack_, rhs.stack_);
|
93
|
+
internal::Swap(stackTop_, rhs.stackTop_);
|
94
|
+
internal::Swap(stackEnd_, rhs.stackEnd_);
|
95
|
+
internal::Swap(initialCapacity_, rhs.initialCapacity_);
|
96
|
+
}
|
97
|
+
|
98
|
+
void Clear() { stackTop_ = stack_; }
|
99
|
+
|
100
|
+
void ShrinkToFit() {
|
101
|
+
if (Empty()) {
|
102
|
+
// If the stack is empty, completely deallocate the memory.
|
103
|
+
Allocator::Free(stack_);
|
104
|
+
stack_ = 0;
|
105
|
+
stackTop_ = 0;
|
106
|
+
stackEnd_ = 0;
|
107
|
+
}
|
108
|
+
else
|
109
|
+
Resize(GetSize());
|
110
|
+
}
|
111
|
+
|
112
|
+
// Optimization note: try to minimize the size of this function for force inline.
|
113
|
+
// Expansion is run very infrequently, so it is moved to another (probably non-inline) function.
|
114
|
+
template<typename T>
|
115
|
+
RAPIDJSON_FORCEINLINE void Reserve(size_t count = 1) {
|
116
|
+
// Expand the stack if needed
|
117
|
+
if (RAPIDJSON_UNLIKELY(stackTop_ + sizeof(T) * count > stackEnd_))
|
118
|
+
Expand<T>(count);
|
119
|
+
}
|
120
|
+
|
121
|
+
template<typename T>
|
122
|
+
RAPIDJSON_FORCEINLINE T* Push(size_t count = 1) {
|
123
|
+
Reserve<T>(count);
|
124
|
+
return PushUnsafe<T>(count);
|
125
|
+
}
|
126
|
+
|
127
|
+
template<typename T>
|
128
|
+
RAPIDJSON_FORCEINLINE T* PushUnsafe(size_t count = 1) {
|
129
|
+
RAPIDJSON_ASSERT(stackTop_ + sizeof(T) * count <= stackEnd_);
|
130
|
+
T* ret = reinterpret_cast<T*>(stackTop_);
|
131
|
+
stackTop_ += sizeof(T) * count;
|
132
|
+
return ret;
|
133
|
+
}
|
134
|
+
|
135
|
+
template<typename T>
|
136
|
+
T* Pop(size_t count) {
|
137
|
+
RAPIDJSON_ASSERT(GetSize() >= count * sizeof(T));
|
138
|
+
stackTop_ -= count * sizeof(T);
|
139
|
+
return reinterpret_cast<T*>(stackTop_);
|
140
|
+
}
|
141
|
+
|
142
|
+
template<typename T>
|
143
|
+
T* Top() {
|
144
|
+
RAPIDJSON_ASSERT(GetSize() >= sizeof(T));
|
145
|
+
return reinterpret_cast<T*>(stackTop_ - sizeof(T));
|
146
|
+
}
|
147
|
+
|
148
|
+
template<typename T>
|
149
|
+
const T* Top() const {
|
150
|
+
RAPIDJSON_ASSERT(GetSize() >= sizeof(T));
|
151
|
+
return reinterpret_cast<T*>(stackTop_ - sizeof(T));
|
152
|
+
}
|
153
|
+
|
154
|
+
template<typename T>
|
155
|
+
T* End() { return reinterpret_cast<T*>(stackTop_); }
|
156
|
+
|
157
|
+
template<typename T>
|
158
|
+
const T* End() const { return reinterpret_cast<T*>(stackTop_); }
|
159
|
+
|
160
|
+
template<typename T>
|
161
|
+
T* Bottom() { return reinterpret_cast<T*>(stack_); }
|
162
|
+
|
163
|
+
template<typename T>
|
164
|
+
const T* Bottom() const { return reinterpret_cast<T*>(stack_); }
|
165
|
+
|
166
|
+
bool HasAllocator() const {
|
167
|
+
return allocator_ != 0;
|
168
|
+
}
|
169
|
+
|
170
|
+
Allocator& GetAllocator() {
|
171
|
+
RAPIDJSON_ASSERT(allocator_);
|
172
|
+
return *allocator_;
|
173
|
+
}
|
174
|
+
|
175
|
+
bool Empty() const { return stackTop_ == stack_; }
|
176
|
+
size_t GetSize() const { return static_cast<size_t>(stackTop_ - stack_); }
|
177
|
+
size_t GetCapacity() const { return static_cast<size_t>(stackEnd_ - stack_); }
|
178
|
+
|
179
|
+
private:
|
180
|
+
template<typename T>
|
181
|
+
void Expand(size_t count) {
|
182
|
+
// Only expand the capacity if the current stack exists. Otherwise just create a stack with initial capacity.
|
183
|
+
size_t newCapacity;
|
184
|
+
if (stack_ == 0) {
|
185
|
+
if (!allocator_)
|
186
|
+
ownAllocator_ = allocator_ = RAPIDJSON_NEW(Allocator());
|
187
|
+
newCapacity = initialCapacity_;
|
188
|
+
} else {
|
189
|
+
newCapacity = GetCapacity();
|
190
|
+
newCapacity += (newCapacity + 1) / 2;
|
191
|
+
}
|
192
|
+
size_t newSize = GetSize() + sizeof(T) * count;
|
193
|
+
if (newCapacity < newSize)
|
194
|
+
newCapacity = newSize;
|
195
|
+
|
196
|
+
Resize(newCapacity);
|
197
|
+
}
|
198
|
+
|
199
|
+
void Resize(size_t newCapacity) {
|
200
|
+
const size_t size = GetSize(); // Backup the current size
|
201
|
+
stack_ = static_cast<char*>(allocator_->Realloc(stack_, GetCapacity(), newCapacity));
|
202
|
+
stackTop_ = stack_ + size;
|
203
|
+
stackEnd_ = stack_ + newCapacity;
|
204
|
+
}
|
205
|
+
|
206
|
+
void Destroy() {
|
207
|
+
Allocator::Free(stack_);
|
208
|
+
RAPIDJSON_DELETE(ownAllocator_); // Only delete if it is owned by the stack
|
209
|
+
}
|
210
|
+
|
211
|
+
// Prohibit copy constructor & assignment operator.
|
212
|
+
Stack(const Stack&);
|
213
|
+
Stack& operator=(const Stack&);
|
214
|
+
|
215
|
+
Allocator* allocator_;
|
216
|
+
Allocator* ownAllocator_;
|
217
|
+
char *stack_;
|
218
|
+
char *stackTop_;
|
219
|
+
char *stackEnd_;
|
220
|
+
size_t initialCapacity_;
|
221
|
+
};
|
222
|
+
|
223
|
+
} // namespace internal
|
224
|
+
RAPIDJSON_NAMESPACE_END
|
225
|
+
|
226
|
+
#if defined(__clang__)
|
227
|
+
RAPIDJSON_DIAG_POP
|
228
|
+
#endif
|
229
|
+
|
230
|
+
#endif // RAPIDJSON_STACK_H_
|
@@ -0,0 +1,55 @@
|
|
1
|
+
// Tencent is pleased to support the open source community by making RapidJSON available.
|
2
|
+
//
|
3
|
+
// Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip. All rights reserved.
|
4
|
+
//
|
5
|
+
// Licensed under the MIT License (the "License"); you may not use this file except
|
6
|
+
// in compliance with the License. You may obtain a copy of the License at
|
7
|
+
//
|
8
|
+
// http://opensource.org/licenses/MIT
|
9
|
+
//
|
10
|
+
// Unless required by applicable law or agreed to in writing, software distributed
|
11
|
+
// under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
|
12
|
+
// CONDITIONS OF ANY KIND, either express or implied. See the License for the
|
13
|
+
// specific language governing permissions and limitations under the License.
|
14
|
+
|
15
|
+
#ifndef RAPIDJSON_INTERNAL_STRFUNC_H_
|
16
|
+
#define RAPIDJSON_INTERNAL_STRFUNC_H_
|
17
|
+
|
18
|
+
#include "../stream.h"
|
19
|
+
|
20
|
+
RAPIDJSON_NAMESPACE_BEGIN
|
21
|
+
namespace internal {
|
22
|
+
|
23
|
+
//! Custom strlen() which works on different character types.
|
24
|
+
/*! \tparam Ch Character type (e.g. char, wchar_t, short)
|
25
|
+
\param s Null-terminated input string.
|
26
|
+
\return Number of characters in the string.
|
27
|
+
\note This has the same semantics as strlen(), the return value is not number of Unicode codepoints.
|
28
|
+
*/
|
29
|
+
template <typename Ch>
|
30
|
+
inline SizeType StrLen(const Ch* s) {
|
31
|
+
const Ch* p = s;
|
32
|
+
while (*p) ++p;
|
33
|
+
return SizeType(p - s);
|
34
|
+
}
|
35
|
+
|
36
|
+
//! Returns number of code points in a encoded string.
|
37
|
+
template<typename Encoding>
|
38
|
+
bool CountStringCodePoint(const typename Encoding::Ch* s, SizeType length, SizeType* outCount) {
|
39
|
+
GenericStringStream<Encoding> is(s);
|
40
|
+
const typename Encoding::Ch* end = s + length;
|
41
|
+
SizeType count = 0;
|
42
|
+
while (is.src_ < end) {
|
43
|
+
unsigned codepoint;
|
44
|
+
if (!Encoding::Decode(is, &codepoint))
|
45
|
+
return false;
|
46
|
+
count++;
|
47
|
+
}
|
48
|
+
*outCount = count;
|
49
|
+
return true;
|
50
|
+
}
|
51
|
+
|
52
|
+
} // namespace internal
|
53
|
+
RAPIDJSON_NAMESPACE_END
|
54
|
+
|
55
|
+
#endif // RAPIDJSON_INTERNAL_STRFUNC_H_
|
@@ -0,0 +1,269 @@
|
|
1
|
+
// Tencent is pleased to support the open source community by making RapidJSON available.
|
2
|
+
//
|
3
|
+
// Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip. All rights reserved.
|
4
|
+
//
|
5
|
+
// Licensed under the MIT License (the "License"); you may not use this file except
|
6
|
+
// in compliance with the License. You may obtain a copy of the License at
|
7
|
+
//
|
8
|
+
// http://opensource.org/licenses/MIT
|
9
|
+
//
|
10
|
+
// Unless required by applicable law or agreed to in writing, software distributed
|
11
|
+
// under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
|
12
|
+
// CONDITIONS OF ANY KIND, either express or implied. See the License for the
|
13
|
+
// specific language governing permissions and limitations under the License.
|
14
|
+
|
15
|
+
#ifndef RAPIDJSON_STRTOD_
|
16
|
+
#define RAPIDJSON_STRTOD_
|
17
|
+
|
18
|
+
#include "ieee754.h"
|
19
|
+
#include "biginteger.h"
|
20
|
+
#include "diyfp.h"
|
21
|
+
#include "pow10.h"
|
22
|
+
|
23
|
+
RAPIDJSON_NAMESPACE_BEGIN
|
24
|
+
namespace internal {
|
25
|
+
|
26
|
+
inline double FastPath(double significand, int exp) {
|
27
|
+
if (exp < -308)
|
28
|
+
return 0.0;
|
29
|
+
else if (exp >= 0)
|
30
|
+
return significand * internal::Pow10(exp);
|
31
|
+
else
|
32
|
+
return significand / internal::Pow10(-exp);
|
33
|
+
}
|
34
|
+
|
35
|
+
inline double StrtodNormalPrecision(double d, int p) {
|
36
|
+
if (p < -308) {
|
37
|
+
// Prevent expSum < -308, making Pow10(p) = 0
|
38
|
+
d = FastPath(d, -308);
|
39
|
+
d = FastPath(d, p + 308);
|
40
|
+
}
|
41
|
+
else
|
42
|
+
d = FastPath(d, p);
|
43
|
+
return d;
|
44
|
+
}
|
45
|
+
|
46
|
+
template <typename T>
|
47
|
+
inline T Min3(T a, T b, T c) {
|
48
|
+
T m = a;
|
49
|
+
if (m > b) m = b;
|
50
|
+
if (m > c) m = c;
|
51
|
+
return m;
|
52
|
+
}
|
53
|
+
|
54
|
+
inline int CheckWithinHalfULP(double b, const BigInteger& d, int dExp) {
|
55
|
+
const Double db(b);
|
56
|
+
const uint64_t bInt = db.IntegerSignificand();
|
57
|
+
const int bExp = db.IntegerExponent();
|
58
|
+
const int hExp = bExp - 1;
|
59
|
+
|
60
|
+
int dS_Exp2 = 0, dS_Exp5 = 0, bS_Exp2 = 0, bS_Exp5 = 0, hS_Exp2 = 0, hS_Exp5 = 0;
|
61
|
+
|
62
|
+
// Adjust for decimal exponent
|
63
|
+
if (dExp >= 0) {
|
64
|
+
dS_Exp2 += dExp;
|
65
|
+
dS_Exp5 += dExp;
|
66
|
+
}
|
67
|
+
else {
|
68
|
+
bS_Exp2 -= dExp;
|
69
|
+
bS_Exp5 -= dExp;
|
70
|
+
hS_Exp2 -= dExp;
|
71
|
+
hS_Exp5 -= dExp;
|
72
|
+
}
|
73
|
+
|
74
|
+
// Adjust for binary exponent
|
75
|
+
if (bExp >= 0)
|
76
|
+
bS_Exp2 += bExp;
|
77
|
+
else {
|
78
|
+
dS_Exp2 -= bExp;
|
79
|
+
hS_Exp2 -= bExp;
|
80
|
+
}
|
81
|
+
|
82
|
+
// Adjust for half ulp exponent
|
83
|
+
if (hExp >= 0)
|
84
|
+
hS_Exp2 += hExp;
|
85
|
+
else {
|
86
|
+
dS_Exp2 -= hExp;
|
87
|
+
bS_Exp2 -= hExp;
|
88
|
+
}
|
89
|
+
|
90
|
+
// Remove common power of two factor from all three scaled values
|
91
|
+
int common_Exp2 = Min3(dS_Exp2, bS_Exp2, hS_Exp2);
|
92
|
+
dS_Exp2 -= common_Exp2;
|
93
|
+
bS_Exp2 -= common_Exp2;
|
94
|
+
hS_Exp2 -= common_Exp2;
|
95
|
+
|
96
|
+
BigInteger dS = d;
|
97
|
+
dS.MultiplyPow5(static_cast<unsigned>(dS_Exp5)) <<= static_cast<unsigned>(dS_Exp2);
|
98
|
+
|
99
|
+
BigInteger bS(bInt);
|
100
|
+
bS.MultiplyPow5(static_cast<unsigned>(bS_Exp5)) <<= static_cast<unsigned>(bS_Exp2);
|
101
|
+
|
102
|
+
BigInteger hS(1);
|
103
|
+
hS.MultiplyPow5(static_cast<unsigned>(hS_Exp5)) <<= static_cast<unsigned>(hS_Exp2);
|
104
|
+
|
105
|
+
BigInteger delta(0);
|
106
|
+
dS.Difference(bS, &delta);
|
107
|
+
|
108
|
+
return delta.Compare(hS);
|
109
|
+
}
|
110
|
+
|
111
|
+
inline bool StrtodFast(double d, int p, double* result) {
|
112
|
+
// Use fast path for string-to-double conversion if possible
|
113
|
+
// see http://www.exploringbinary.com/fast-path-decimal-to-floating-point-conversion/
|
114
|
+
if (p > 22 && p < 22 + 16) {
|
115
|
+
// Fast Path Cases In Disguise
|
116
|
+
d *= internal::Pow10(p - 22);
|
117
|
+
p = 22;
|
118
|
+
}
|
119
|
+
|
120
|
+
if (p >= -22 && p <= 22 && d <= 9007199254740991.0) { // 2^53 - 1
|
121
|
+
*result = FastPath(d, p);
|
122
|
+
return true;
|
123
|
+
}
|
124
|
+
else
|
125
|
+
return false;
|
126
|
+
}
|
127
|
+
|
128
|
+
// Compute an approximation and see if it is within 1/2 ULP
|
129
|
+
inline bool StrtodDiyFp(const char* decimals, size_t length, size_t decimalPosition, int exp, double* result) {
|
130
|
+
uint64_t significand = 0;
|
131
|
+
size_t i = 0; // 2^64 - 1 = 18446744073709551615, 1844674407370955161 = 0x1999999999999999
|
132
|
+
for (; i < length; i++) {
|
133
|
+
if (significand > RAPIDJSON_UINT64_C2(0x19999999, 0x99999999) ||
|
134
|
+
(significand == RAPIDJSON_UINT64_C2(0x19999999, 0x99999999) && decimals[i] > '5'))
|
135
|
+
break;
|
136
|
+
significand = significand * 10u + static_cast<unsigned>(decimals[i] - '0');
|
137
|
+
}
|
138
|
+
|
139
|
+
if (i < length && decimals[i] >= '5') // Rounding
|
140
|
+
significand++;
|
141
|
+
|
142
|
+
size_t remaining = length - i;
|
143
|
+
const unsigned kUlpShift = 3;
|
144
|
+
const unsigned kUlp = 1 << kUlpShift;
|
145
|
+
int64_t error = (remaining == 0) ? 0 : kUlp / 2;
|
146
|
+
|
147
|
+
DiyFp v(significand, 0);
|
148
|
+
v = v.Normalize();
|
149
|
+
error <<= -v.e;
|
150
|
+
|
151
|
+
const int dExp = static_cast<int>(decimalPosition) - static_cast<int>(i) + exp;
|
152
|
+
|
153
|
+
int actualExp;
|
154
|
+
DiyFp cachedPower = GetCachedPower10(dExp, &actualExp);
|
155
|
+
if (actualExp != dExp) {
|
156
|
+
static const DiyFp kPow10[] = {
|
157
|
+
DiyFp(RAPIDJSON_UINT64_C2(0xa0000000, 00000000), -60), // 10^1
|
158
|
+
DiyFp(RAPIDJSON_UINT64_C2(0xc8000000, 00000000), -57), // 10^2
|
159
|
+
DiyFp(RAPIDJSON_UINT64_C2(0xfa000000, 00000000), -54), // 10^3
|
160
|
+
DiyFp(RAPIDJSON_UINT64_C2(0x9c400000, 00000000), -50), // 10^4
|
161
|
+
DiyFp(RAPIDJSON_UINT64_C2(0xc3500000, 00000000), -47), // 10^5
|
162
|
+
DiyFp(RAPIDJSON_UINT64_C2(0xf4240000, 00000000), -44), // 10^6
|
163
|
+
DiyFp(RAPIDJSON_UINT64_C2(0x98968000, 00000000), -40) // 10^7
|
164
|
+
};
|
165
|
+
int adjustment = dExp - actualExp - 1;
|
166
|
+
RAPIDJSON_ASSERT(adjustment >= 0 && adjustment < 7);
|
167
|
+
v = v * kPow10[adjustment];
|
168
|
+
if (length + static_cast<unsigned>(adjustment)> 19u) // has more digits than decimal digits in 64-bit
|
169
|
+
error += kUlp / 2;
|
170
|
+
}
|
171
|
+
|
172
|
+
v = v * cachedPower;
|
173
|
+
|
174
|
+
error += kUlp + (error == 0 ? 0 : 1);
|
175
|
+
|
176
|
+
const int oldExp = v.e;
|
177
|
+
v = v.Normalize();
|
178
|
+
error <<= oldExp - v.e;
|
179
|
+
|
180
|
+
const unsigned effectiveSignificandSize = Double::EffectiveSignificandSize(64 + v.e);
|
181
|
+
unsigned precisionSize = 64 - effectiveSignificandSize;
|
182
|
+
if (precisionSize + kUlpShift >= 64) {
|
183
|
+
unsigned scaleExp = (precisionSize + kUlpShift) - 63;
|
184
|
+
v.f >>= scaleExp;
|
185
|
+
v.e += scaleExp;
|
186
|
+
error = (error >> scaleExp) + 1 + static_cast<int>(kUlp);
|
187
|
+
precisionSize -= scaleExp;
|
188
|
+
}
|
189
|
+
|
190
|
+
DiyFp rounded(v.f >> precisionSize, v.e + static_cast<int>(precisionSize));
|
191
|
+
const uint64_t precisionBits = (v.f & ((uint64_t(1) << precisionSize) - 1)) * kUlp;
|
192
|
+
const uint64_t halfWay = (uint64_t(1) << (precisionSize - 1)) * kUlp;
|
193
|
+
if (precisionBits >= halfWay + static_cast<unsigned>(error)) {
|
194
|
+
rounded.f++;
|
195
|
+
if (rounded.f & (DiyFp::kDpHiddenBit << 1)) { // rounding overflows mantissa (issue #340)
|
196
|
+
rounded.f >>= 1;
|
197
|
+
rounded.e++;
|
198
|
+
}
|
199
|
+
}
|
200
|
+
|
201
|
+
*result = rounded.ToDouble();
|
202
|
+
|
203
|
+
return halfWay - static_cast<unsigned>(error) >= precisionBits || precisionBits >= halfWay + static_cast<unsigned>(error);
|
204
|
+
}
|
205
|
+
|
206
|
+
inline double StrtodBigInteger(double approx, const char* decimals, size_t length, size_t decimalPosition, int exp) {
|
207
|
+
const BigInteger dInt(decimals, length);
|
208
|
+
const int dExp = static_cast<int>(decimalPosition) - static_cast<int>(length) + exp;
|
209
|
+
Double a(approx);
|
210
|
+
int cmp = CheckWithinHalfULP(a.Value(), dInt, dExp);
|
211
|
+
if (cmp < 0)
|
212
|
+
return a.Value(); // within half ULP
|
213
|
+
else if (cmp == 0) {
|
214
|
+
// Round towards even
|
215
|
+
if (a.Significand() & 1)
|
216
|
+
return a.NextPositiveDouble();
|
217
|
+
else
|
218
|
+
return a.Value();
|
219
|
+
}
|
220
|
+
else // adjustment
|
221
|
+
return a.NextPositiveDouble();
|
222
|
+
}
|
223
|
+
|
224
|
+
inline double StrtodFullPrecision(double d, int p, const char* decimals, size_t length, size_t decimalPosition, int exp) {
|
225
|
+
RAPIDJSON_ASSERT(d >= 0.0);
|
226
|
+
RAPIDJSON_ASSERT(length >= 1);
|
227
|
+
|
228
|
+
double result;
|
229
|
+
if (StrtodFast(d, p, &result))
|
230
|
+
return result;
|
231
|
+
|
232
|
+
// Trim leading zeros
|
233
|
+
while (*decimals == '0' && length > 1) {
|
234
|
+
length--;
|
235
|
+
decimals++;
|
236
|
+
decimalPosition--;
|
237
|
+
}
|
238
|
+
|
239
|
+
// Trim trailing zeros
|
240
|
+
while (decimals[length - 1] == '0' && length > 1) {
|
241
|
+
length--;
|
242
|
+
decimalPosition--;
|
243
|
+
exp++;
|
244
|
+
}
|
245
|
+
|
246
|
+
// Trim right-most digits
|
247
|
+
const int kMaxDecimalDigit = 780;
|
248
|
+
if (static_cast<int>(length) > kMaxDecimalDigit) {
|
249
|
+
int delta = (static_cast<int>(length) - kMaxDecimalDigit);
|
250
|
+
exp += delta;
|
251
|
+
decimalPosition -= static_cast<unsigned>(delta);
|
252
|
+
length = kMaxDecimalDigit;
|
253
|
+
}
|
254
|
+
|
255
|
+
// If too small, underflow to zero
|
256
|
+
if (int(length) + exp < -324)
|
257
|
+
return 0.0;
|
258
|
+
|
259
|
+
if (StrtodDiyFp(decimals, length, decimalPosition, exp, &result))
|
260
|
+
return result;
|
261
|
+
|
262
|
+
// Use approximation from StrtodDiyFp and make adjustment with BigInteger comparison
|
263
|
+
return StrtodBigInteger(result, decimals, length, decimalPosition, exp);
|
264
|
+
}
|
265
|
+
|
266
|
+
} // namespace internal
|
267
|
+
RAPIDJSON_NAMESPACE_END
|
268
|
+
|
269
|
+
#endif // RAPIDJSON_STRTOD_
|