rroonga 6.0.5-x86-mingw32 → 6.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 +15 -0
- data/ext/groonga/rb-grn-column.c +23 -17
- data/ext/groonga/rb-grn-context.c +24 -22
- data/ext/groonga/rb-grn-exception.c +2 -256
- data/ext/groonga/rb-grn-index-column.c +21 -9
- data/ext/groonga/rb-grn-object.c +98 -62
- data/ext/groonga/rb-grn-table-sort-keys.c +1 -1
- data/ext/groonga/rb-grn-table.c +2 -2
- data/ext/groonga/rb-grn-variable-size-column.c +13 -7
- data/ext/groonga/rb-grn.h +1 -2
- data/ext/groonga/rb-groonga.c +3 -2
- data/lib/2.1/groonga.so +0 -0
- data/lib/2.2/groonga.so +0 -0
- data/lib/2.3/groonga.so +0 -0
- data/rroonga-build.rb +3 -3
- data/test/test-fix-size-column.rb +1 -1
- data/test/test-schema.rb +1 -1
- data/test/test-variable-size-column.rb +1 -1
- 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/{libmsgpack-4.dll → libmsgpackc.dll} +0 -0
- data/vendor/local/bin/libonig-5.dll +0 -0
- data/vendor/local/bin/lz4.exe +0 -0
- data/vendor/local/bin/lz4c.exe +0 -0
- data/vendor/local/bin/lz4cat +0 -0
- data/vendor/local/bin/mecab.exe +0 -0
- data/vendor/local/bin/zlib1.dll +0 -0
- data/vendor/local/include/groonga/groonga.h +2 -0
- data/vendor/local/include/groonga/groonga/column.h +29 -0
- data/vendor/local/include/groonga/groonga/dump.h +1 -1
- data/vendor/local/include/groonga/groonga/error.h +29 -0
- data/vendor/local/include/groonga/groonga/groonga.h +6 -1
- data/vendor/local/include/msgpack/adaptor/adaptor_base.hpp +4 -70
- data/vendor/local/include/msgpack/adaptor/adaptor_base_decl.hpp +16 -0
- data/vendor/local/include/msgpack/adaptor/array_ref.hpp +4 -161
- data/vendor/local/include/msgpack/adaptor/array_ref_decl.hpp +16 -0
- data/vendor/local/include/msgpack/adaptor/bool.hpp +2 -53
- data/vendor/local/include/msgpack/adaptor/boost/fusion.hpp +1 -146
- data/vendor/local/include/msgpack/adaptor/boost/msgpack_variant.hpp +4 -416
- data/vendor/local/include/msgpack/adaptor/boost/msgpack_variant_decl.hpp +16 -0
- data/vendor/local/include/msgpack/adaptor/boost/optional.hpp +2 -83
- data/vendor/local/include/msgpack/adaptor/boost/string_ref.hpp +2 -74
- data/vendor/local/include/msgpack/adaptor/carray.hpp +15 -0
- data/vendor/local/include/msgpack/adaptor/char_ptr.hpp +2 -144
- data/vendor/local/include/msgpack/adaptor/check_container_size.hpp +3 -53
- data/vendor/local/include/msgpack/adaptor/check_container_size_decl.hpp +16 -0
- data/vendor/local/include/msgpack/adaptor/cpp11/array.hpp +5 -127
- data/vendor/local/include/msgpack/adaptor/cpp11/array_char.hpp +5 -78
- data/vendor/local/include/msgpack/adaptor/cpp11/array_unsigned_char.hpp +5 -78
- data/vendor/local/include/msgpack/adaptor/cpp11/forward_list.hpp +5 -83
- data/vendor/local/include/msgpack/adaptor/cpp11/reference_wrapper.hpp +5 -57
- data/vendor/local/include/msgpack/adaptor/cpp11/shared_ptr.hpp +5 -71
- data/vendor/local/include/msgpack/adaptor/cpp11/tuple.hpp +5 -165
- data/vendor/local/include/msgpack/adaptor/cpp11/unique_ptr.hpp +5 -71
- data/vendor/local/include/msgpack/adaptor/cpp11/unordered_map.hpp +5 -171
- data/vendor/local/include/msgpack/adaptor/cpp11/unordered_set.hpp +5 -161
- data/vendor/local/include/msgpack/adaptor/define.hpp +3 -17
- data/vendor/local/include/msgpack/adaptor/define_decl.hpp +142 -0
- data/vendor/local/include/msgpack/adaptor/deque.hpp +3 -96
- data/vendor/local/include/msgpack/adaptor/ext.hpp +3 -223
- data/vendor/local/include/msgpack/adaptor/ext_decl.hpp +16 -0
- data/vendor/local/include/msgpack/adaptor/fixint.hpp +4 -285
- data/vendor/local/include/msgpack/adaptor/fixint_decl.hpp +16 -0
- data/vendor/local/include/msgpack/adaptor/float.hpp +2 -110
- data/vendor/local/include/msgpack/adaptor/int.hpp +4 -415
- data/vendor/local/include/msgpack/adaptor/int_decl.hpp +16 -0
- data/vendor/local/include/msgpack/adaptor/list.hpp +2 -93
- data/vendor/local/include/msgpack/adaptor/map.hpp +3 -291
- data/vendor/local/include/msgpack/adaptor/map_decl.hpp +16 -0
- data/vendor/local/include/msgpack/adaptor/msgpack_tuple.hpp +2 -6
- data/vendor/local/include/msgpack/adaptor/msgpack_tuple_decl.hpp +16 -0
- data/vendor/local/include/msgpack/adaptor/nil.hpp +3 -70
- data/vendor/local/include/msgpack/adaptor/nil_decl.hpp +16 -0
- data/vendor/local/include/msgpack/adaptor/pair.hpp +2 -70
- data/vendor/local/include/msgpack/adaptor/raw.hpp +3 -92
- data/vendor/local/include/msgpack/adaptor/raw_decl.hpp +16 -0
- data/vendor/local/include/msgpack/adaptor/set.hpp +2 -175
- data/vendor/local/include/msgpack/adaptor/size_equal_only.hpp +17 -0
- data/vendor/local/include/msgpack/adaptor/size_equal_only_decl.hpp +16 -0
- data/vendor/local/include/msgpack/adaptor/string.hpp +2 -73
- 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.hpp +3 -92
- data/vendor/local/include/msgpack/adaptor/v4raw_decl.hpp +16 -0
- data/vendor/local/include/msgpack/adaptor/vector.hpp +2 -108
- data/vendor/local/include/msgpack/adaptor/vector_bool.hpp +2 -75
- data/vendor/local/include/msgpack/adaptor/vector_char.hpp +2 -76
- data/vendor/local/include/msgpack/adaptor/vector_unsigned_char.hpp +2 -76
- data/vendor/local/include/msgpack/cpp_config.hpp +4 -111
- data/vendor/local/include/msgpack/cpp_config_decl.hpp +16 -0
- data/vendor/local/include/msgpack/fbuffer.h +1 -1
- data/vendor/local/include/msgpack/fbuffer.hpp +5 -48
- data/vendor/local/include/msgpack/fbuffer_decl.hpp +16 -0
- data/vendor/local/include/msgpack/gcc_atomic.hpp +33 -0
- data/vendor/local/include/msgpack/iterator.hpp +3 -23
- data/vendor/local/include/msgpack/iterator_decl.hpp +17 -0
- data/vendor/local/include/msgpack/meta.hpp +3 -36
- data/vendor/local/include/msgpack/meta_decl.hpp +17 -0
- data/vendor/local/include/msgpack/object.hpp +5 -799
- data/vendor/local/include/msgpack/object_decl.hpp +17 -0
- data/vendor/local/include/msgpack/object_fwd.hpp +4 -180
- data/vendor/local/include/msgpack/object_fwd_decl.hpp +17 -0
- data/vendor/local/include/msgpack/pack.hpp +4 -1077
- data/vendor/local/include/msgpack/pack_decl.hpp +16 -0
- data/vendor/local/include/msgpack/predef.h +6 -1
- data/vendor/local/include/msgpack/predef/architecture.h +3 -1
- data/vendor/local/include/msgpack/predef/architecture/alpha.h +3 -4
- data/vendor/local/include/msgpack/predef/architecture/arm.h +3 -4
- data/vendor/local/include/msgpack/predef/architecture/blackfin.h +3 -4
- data/vendor/local/include/msgpack/predef/architecture/convex.h +3 -5
- data/vendor/local/include/msgpack/predef/architecture/ia64.h +3 -3
- data/vendor/local/include/msgpack/predef/architecture/m68k.h +3 -4
- data/vendor/local/include/msgpack/predef/architecture/mips.h +3 -4
- data/vendor/local/include/msgpack/predef/architecture/parisc.h +3 -4
- data/vendor/local/include/msgpack/predef/architecture/ppc.h +3 -4
- data/vendor/local/include/msgpack/predef/architecture/pyramid.h +3 -4
- data/vendor/local/include/msgpack/predef/architecture/rs6k.h +4 -4
- data/vendor/local/include/msgpack/predef/architecture/sparc.h +3 -4
- data/vendor/local/include/msgpack/predef/architecture/superh.h +3 -4
- data/vendor/local/include/msgpack/predef/architecture/sys370.h +3 -4
- data/vendor/local/include/msgpack/predef/architecture/sys390.h +3 -4
- data/vendor/local/include/msgpack/predef/architecture/x86.h +6 -6
- data/vendor/local/include/msgpack/predef/architecture/x86/32.h +4 -4
- data/vendor/local/include/msgpack/predef/architecture/x86/64.h +4 -4
- data/vendor/local/include/msgpack/predef/architecture/z.h +3 -4
- data/vendor/local/include/msgpack/predef/compiler.h +3 -1
- data/vendor/local/include/msgpack/predef/compiler/borland.h +3 -4
- data/vendor/local/include/msgpack/predef/compiler/clang.h +3 -4
- data/vendor/local/include/msgpack/predef/compiler/comeau.h +4 -5
- data/vendor/local/include/msgpack/predef/compiler/compaq.h +3 -4
- data/vendor/local/include/msgpack/predef/compiler/diab.h +3 -4
- data/vendor/local/include/msgpack/predef/compiler/digitalmars.h +3 -4
- data/vendor/local/include/msgpack/predef/compiler/dignus.h +3 -4
- data/vendor/local/include/msgpack/predef/compiler/edg.h +3 -4
- data/vendor/local/include/msgpack/predef/compiler/ekopath.h +3 -4
- data/vendor/local/include/msgpack/predef/compiler/gcc.h +3 -4
- data/vendor/local/include/msgpack/predef/compiler/gcc_xml.h +3 -3
- data/vendor/local/include/msgpack/predef/compiler/greenhills.h +3 -4
- data/vendor/local/include/msgpack/predef/compiler/hp_acc.h +3 -4
- data/vendor/local/include/msgpack/predef/compiler/iar.h +3 -4
- data/vendor/local/include/msgpack/predef/compiler/ibm.h +3 -4
- data/vendor/local/include/msgpack/predef/compiler/intel.h +3 -4
- data/vendor/local/include/msgpack/predef/compiler/kai.h +3 -4
- data/vendor/local/include/msgpack/predef/compiler/llvm.h +3 -4
- data/vendor/local/include/msgpack/predef/compiler/metaware.h +3 -4
- data/vendor/local/include/msgpack/predef/compiler/metrowerks.h +3 -4
- data/vendor/local/include/msgpack/predef/compiler/microtec.h +3 -4
- data/vendor/local/include/msgpack/predef/compiler/mpw.h +3 -4
- data/vendor/local/include/msgpack/predef/compiler/palm.h +3 -4
- data/vendor/local/include/msgpack/predef/compiler/pgi.h +3 -4
- data/vendor/local/include/msgpack/predef/compiler/sgi_mipspro.h +3 -4
- data/vendor/local/include/msgpack/predef/compiler/sunpro.h +17 -8
- data/vendor/local/include/msgpack/predef/compiler/tendra.h +3 -4
- data/vendor/local/include/msgpack/predef/compiler/visualc.h +3 -4
- data/vendor/local/include/msgpack/predef/compiler/watcom.h +3 -4
- data/vendor/local/include/msgpack/predef/detail/_cassert.h +1 -1
- data/vendor/local/include/msgpack/predef/detail/_exception.h +1 -1
- data/vendor/local/include/msgpack/predef/detail/test_def.h +71 -0
- data/vendor/local/include/msgpack/predef/hardware.h +16 -0
- data/vendor/local/include/msgpack/predef/hardware/simd.h +119 -0
- data/vendor/local/include/msgpack/predef/hardware/simd/arm.h +57 -0
- data/vendor/local/include/msgpack/predef/hardware/simd/arm/versions.h +32 -0
- data/vendor/local/include/msgpack/predef/hardware/simd/ppc.h +69 -0
- data/vendor/local/include/msgpack/predef/hardware/simd/ppc/versions.h +51 -0
- data/vendor/local/include/msgpack/predef/hardware/simd/x86.h +123 -0
- data/vendor/local/include/msgpack/predef/hardware/simd/x86/versions.h +129 -0
- data/vendor/local/include/msgpack/predef/hardware/simd/x86_amd.h +87 -0
- data/vendor/local/include/msgpack/predef/hardware/simd/x86_amd/versions.h +51 -0
- data/vendor/local/include/msgpack/predef/language.h +3 -1
- data/vendor/local/include/msgpack/predef/language/objc.h +3 -4
- data/vendor/local/include/msgpack/predef/language/stdc.h +3 -4
- data/vendor/local/include/msgpack/predef/language/stdcpp.h +8 -11
- data/vendor/local/include/msgpack/predef/library.h +3 -1
- data/vendor/local/include/msgpack/predef/library/c.h +3 -1
- data/vendor/local/include/msgpack/predef/library/c/gnu.h +3 -4
- data/vendor/local/include/msgpack/predef/library/c/uc.h +3 -4
- data/vendor/local/include/msgpack/predef/library/c/vms.h +3 -4
- data/vendor/local/include/msgpack/predef/library/c/zos.h +3 -4
- data/vendor/local/include/msgpack/predef/library/std.h +3 -1
- data/vendor/local/include/msgpack/predef/library/std/cxx.h +3 -4
- data/vendor/local/include/msgpack/predef/library/std/dinkumware.h +3 -4
- data/vendor/local/include/msgpack/predef/library/std/libcomo.h +3 -4
- data/vendor/local/include/msgpack/predef/library/std/modena.h +3 -4
- data/vendor/local/include/msgpack/predef/library/std/msl.h +3 -4
- data/vendor/local/include/msgpack/predef/library/std/roguewave.h +3 -4
- data/vendor/local/include/msgpack/predef/library/std/sgi.h +3 -4
- data/vendor/local/include/msgpack/predef/library/std/stdcpp3.h +3 -4
- data/vendor/local/include/msgpack/predef/library/std/stlport.h +3 -4
- data/vendor/local/include/msgpack/predef/library/std/vacpp.h +3 -4
- data/vendor/local/include/msgpack/predef/make.h +2 -2
- data/vendor/local/include/msgpack/predef/os.h +3 -1
- data/vendor/local/include/msgpack/predef/os/aix.h +3 -4
- data/vendor/local/include/msgpack/predef/os/amigaos.h +3 -4
- data/vendor/local/include/msgpack/predef/os/android.h +3 -4
- data/vendor/local/include/msgpack/predef/os/beos.h +3 -4
- data/vendor/local/include/msgpack/predef/os/bsd.h +11 -3
- data/vendor/local/include/msgpack/predef/os/bsd/bsdi.h +3 -3
- data/vendor/local/include/msgpack/predef/os/bsd/dragonfly.h +3 -3
- data/vendor/local/include/msgpack/predef/os/bsd/free.h +3 -3
- data/vendor/local/include/msgpack/predef/os/bsd/net.h +3 -3
- data/vendor/local/include/msgpack/predef/os/bsd/open.h +3 -3
- data/vendor/local/include/msgpack/predef/os/cygwin.h +4 -5
- data/vendor/local/include/msgpack/predef/os/haiku.h +3 -4
- data/vendor/local/include/msgpack/predef/os/hpux.h +3 -4
- data/vendor/local/include/msgpack/predef/os/ios.h +3 -3
- data/vendor/local/include/msgpack/predef/os/irix.h +3 -4
- data/vendor/local/include/msgpack/predef/os/linux.h +3 -4
- data/vendor/local/include/msgpack/predef/os/macos.h +3 -4
- data/vendor/local/include/msgpack/predef/os/os400.h +3 -4
- data/vendor/local/include/msgpack/predef/os/qnxnto.h +3 -4
- data/vendor/local/include/msgpack/predef/os/solaris.h +3 -4
- data/vendor/local/include/msgpack/predef/os/unix.h +3 -3
- data/vendor/local/include/msgpack/predef/os/vms.h +3 -4
- data/vendor/local/include/msgpack/predef/os/windows.h +3 -3
- data/vendor/local/include/msgpack/predef/other.h +3 -1
- data/vendor/local/include/msgpack/predef/other/endian.h +4 -5
- data/vendor/local/include/msgpack/predef/platform.h +3 -1
- data/vendor/local/include/msgpack/predef/platform/mingw.h +3 -4
- data/vendor/local/include/msgpack/predef/platform/windows_desktop.h +4 -3
- data/vendor/local/include/msgpack/predef/platform/windows_phone.h +4 -3
- data/vendor/local/include/msgpack/predef/platform/windows_runtime.h +4 -3
- data/vendor/local/include/msgpack/predef/platform/windows_store.h +4 -3
- data/vendor/local/include/msgpack/predef/version.h +2 -2
- data/vendor/local/include/msgpack/predef/version_number.h +1 -2
- data/vendor/local/include/msgpack/preprocessor/arithmetic/dec.hpp +1 -0
- data/vendor/local/include/msgpack/preprocessor/config/config.hpp +5 -2
- data/vendor/local/include/msgpack/preprocessor/facilities/identity.hpp +4 -0
- data/vendor/local/include/msgpack/preprocessor/library.hpp +1 -0
- data/vendor/local/include/msgpack/preprocessor/repetition/for.hpp +19 -1
- data/vendor/local/include/msgpack/preprocessor/seq/detail/is_empty.hpp +49 -0
- data/vendor/local/include/msgpack/preprocessor/seq/for_each.hpp +57 -10
- data/vendor/local/include/msgpack/preprocessor/seq/for_each_i.hpp +58 -10
- data/vendor/local/include/msgpack/preprocessor/seq/replace.hpp +18 -2
- data/vendor/local/include/msgpack/preprocessor/seq/rest_n.hpp +18 -2
- data/vendor/local/include/msgpack/preprocessor/seq/size.hpp +1 -0
- data/vendor/local/include/msgpack/preprocessor/tuple/eat.hpp +10 -1
- data/vendor/local/include/msgpack/sbuffer.hpp +4 -139
- data/vendor/local/include/msgpack/sbuffer_decl.hpp +17 -0
- data/vendor/local/include/msgpack/sysdep.h +9 -5
- data/vendor/local/include/msgpack/type.hpp +2 -0
- data/vendor/local/include/msgpack/unpack.hpp +5 -1698
- data/vendor/local/include/msgpack/unpack_decl.hpp +16 -0
- data/vendor/local/include/msgpack/v1/adaptor/adaptor_base.hpp +116 -0
- data/vendor/local/include/msgpack/v1/adaptor/adaptor_base_decl.hpp +86 -0
- data/vendor/local/include/msgpack/v1/adaptor/array_ref.hpp +305 -0
- data/vendor/local/include/msgpack/v1/adaptor/array_ref_decl.hpp +55 -0
- data/vendor/local/include/msgpack/v1/adaptor/bool.hpp +66 -0
- data/vendor/local/include/msgpack/v1/adaptor/boost/fusion.hpp +160 -0
- data/vendor/local/include/msgpack/v1/adaptor/boost/msgpack_variant.hpp +441 -0
- data/vendor/local/include/msgpack/v1/adaptor/boost/msgpack_variant_decl.hpp +62 -0
- data/vendor/local/include/msgpack/v1/adaptor/boost/optional.hpp +96 -0
- data/vendor/local/include/msgpack/v1/adaptor/boost/string_ref.hpp +87 -0
- data/vendor/local/include/msgpack/v1/adaptor/carray.hpp +253 -0
- data/vendor/local/include/msgpack/v1/adaptor/char_ptr.hpp +92 -0
- data/vendor/local/include/msgpack/v1/adaptor/check_container_size.hpp +67 -0
- data/vendor/local/include/msgpack/v1/adaptor/check_container_size_decl.hpp +44 -0
- data/vendor/local/include/msgpack/v1/adaptor/cpp11/array.hpp +138 -0
- data/vendor/local/include/msgpack/v1/adaptor/cpp11/array_char.hpp +90 -0
- data/vendor/local/include/msgpack/v1/adaptor/cpp11/array_unsigned_char.hpp +90 -0
- data/vendor/local/include/msgpack/v1/adaptor/cpp11/forward_list.hpp +94 -0
- data/vendor/local/include/msgpack/v1/adaptor/cpp11/reference_wrapper.hpp +68 -0
- data/vendor/local/include/msgpack/v1/adaptor/cpp11/shared_ptr.hpp +82 -0
- data/vendor/local/include/msgpack/v1/adaptor/cpp11/tuple.hpp +175 -0
- data/vendor/local/include/msgpack/v1/adaptor/cpp11/unique_ptr.hpp +82 -0
- data/vendor/local/include/msgpack/v1/adaptor/cpp11/unordered_map.hpp +182 -0
- data/vendor/local/include/msgpack/v1/adaptor/cpp11/unordered_set.hpp +172 -0
- data/vendor/local/include/msgpack/v1/adaptor/define.hpp +21 -0
- data/vendor/local/include/msgpack/v1/adaptor/define_decl.hpp +23 -0
- data/vendor/local/include/msgpack/v1/adaptor/deque.hpp +108 -0
- data/vendor/local/include/msgpack/{adaptor → v1/adaptor}/detail/cpp03_define_array.hpp +6 -71
- data/vendor/local/include/msgpack/v1/adaptor/detail/cpp03_define_array_decl.hpp +135 -0
- data/vendor/local/include/msgpack/{adaptor → v1/adaptor}/detail/cpp03_define_map.hpp +7 -61
- data/vendor/local/include/msgpack/v1/adaptor/detail/cpp03_define_map_decl.hpp +135 -0
- data/vendor/local/include/msgpack/{adaptor → v1/adaptor}/detail/cpp03_msgpack_tuple.hpp +1095 -579
- data/vendor/local/include/msgpack/v1/adaptor/detail/cpp03_msgpack_tuple_decl.hpp +317 -0
- data/vendor/local/include/msgpack/{adaptor → v1/adaptor}/detail/cpp11_define_array.hpp +5 -71
- data/vendor/local/include/msgpack/v1/adaptor/detail/cpp11_define_array_decl.hpp +39 -0
- data/vendor/local/include/msgpack/{adaptor → v1/adaptor}/detail/cpp11_define_map.hpp +7 -62
- data/vendor/local/include/msgpack/v1/adaptor/detail/cpp11_define_map_decl.hpp +37 -0
- data/vendor/local/include/msgpack/{adaptor → v1/adaptor}/detail/cpp11_msgpack_tuple.hpp +30 -85
- data/vendor/local/include/msgpack/v1/adaptor/detail/cpp11_msgpack_tuple_decl.hpp +120 -0
- data/vendor/local/include/msgpack/v1/adaptor/ext.hpp +236 -0
- data/vendor/local/include/msgpack/v1/adaptor/ext_decl.hpp +38 -0
- data/vendor/local/include/msgpack/v1/adaptor/fixint.hpp +283 -0
- data/vendor/local/include/msgpack/v1/adaptor/fixint_decl.hpp +46 -0
- data/vendor/local/include/msgpack/v1/adaptor/float.hpp +123 -0
- data/vendor/local/include/msgpack/v1/adaptor/int.hpp +426 -0
- data/vendor/local/include/msgpack/v1/adaptor/int_decl.hpp +49 -0
- data/vendor/local/include/msgpack/v1/adaptor/list.hpp +106 -0
- data/vendor/local/include/msgpack/v1/adaptor/map.hpp +314 -0
- data/vendor/local/include/msgpack/v1/adaptor/map_decl.hpp +36 -0
- data/vendor/local/include/msgpack/v1/adaptor/msgpack_tuple.hpp +21 -0
- data/vendor/local/include/msgpack/v1/adaptor/msgpack_tuple_decl.hpp +21 -0
- data/vendor/local/include/msgpack/v1/adaptor/nil.hpp +76 -0
- data/vendor/local/include/msgpack/v1/adaptor/nil_decl.hpp +44 -0
- data/vendor/local/include/msgpack/v1/adaptor/pair.hpp +83 -0
- data/vendor/local/include/msgpack/v1/adaptor/raw.hpp +106 -0
- data/vendor/local/include/msgpack/v1/adaptor/raw_decl.hpp +36 -0
- data/vendor/local/include/msgpack/v1/adaptor/set.hpp +188 -0
- data/vendor/local/include/msgpack/v1/adaptor/size_equal_only.hpp +118 -0
- data/vendor/local/include/msgpack/v1/adaptor/size_equal_only_decl.hpp +52 -0
- data/vendor/local/include/msgpack/v1/adaptor/string.hpp +87 -0
- data/vendor/local/include/msgpack/v1/adaptor/tr1/unordered_map.hpp +171 -0
- data/vendor/local/include/msgpack/v1/adaptor/tr1/unordered_set.hpp +165 -0
- data/vendor/local/include/msgpack/v1/adaptor/v4raw.hpp +105 -0
- data/vendor/local/include/msgpack/v1/adaptor/v4raw_decl.hpp +34 -0
- data/vendor/local/include/msgpack/v1/adaptor/vector.hpp +121 -0
- data/vendor/local/include/msgpack/v1/adaptor/vector_bool.hpp +90 -0
- data/vendor/local/include/msgpack/v1/adaptor/vector_char.hpp +114 -0
- data/vendor/local/include/msgpack/v1/adaptor/vector_unsigned_char.hpp +114 -0
- data/vendor/local/include/msgpack/v1/cpp_config.hpp +129 -0
- data/vendor/local/include/msgpack/v1/cpp_config_decl.hpp +131 -0
- data/vendor/local/include/msgpack/{detail → v1/detail}/cpp03_zone.hpp +10 -21
- data/vendor/local/include/msgpack/v1/detail/cpp03_zone_decl.hpp +46 -0
- data/vendor/local/include/msgpack/{detail → v1/detail}/cpp11_zone.hpp +10 -18
- data/vendor/local/include/msgpack/v1/detail/cpp11_zone_decl.hpp +47 -0
- data/vendor/local/include/msgpack/v1/fbuffer.hpp +60 -0
- data/vendor/local/include/msgpack/v1/fbuffer_decl.hpp +32 -0
- data/vendor/local/include/msgpack/v1/iterator.hpp +40 -0
- data/vendor/local/include/msgpack/v1/iterator_decl.hpp +40 -0
- data/vendor/local/include/msgpack/v1/meta.hpp +47 -0
- data/vendor/local/include/msgpack/v1/meta_decl.hpp +52 -0
- data/vendor/local/include/msgpack/v1/object.hpp +865 -0
- data/vendor/local/include/msgpack/v1/object_decl.hpp +112 -0
- data/vendor/local/include/msgpack/v1/object_fwd.hpp +252 -0
- data/vendor/local/include/msgpack/v1/object_fwd_decl.hpp +76 -0
- data/vendor/local/include/msgpack/v1/pack.hpp +1602 -0
- data/vendor/local/include/msgpack/v1/pack_decl.hpp +91 -0
- data/vendor/local/include/msgpack/v1/preprocessor.hpp +19 -0
- data/vendor/local/include/msgpack/v1/sbuffer.hpp +149 -0
- data/vendor/local/include/msgpack/v1/sbuffer_decl.hpp +33 -0
- data/vendor/local/include/msgpack/v1/unpack.hpp +1672 -0
- data/vendor/local/include/msgpack/v1/unpack_decl.hpp +461 -0
- data/vendor/local/include/msgpack/v1/version.hpp +36 -0
- data/vendor/local/include/msgpack/v1/versioning.hpp +69 -0
- data/vendor/local/include/msgpack/v1/vrefbuffer.hpp +292 -0
- data/vendor/local/include/msgpack/v1/vrefbuffer_decl.hpp +39 -0
- data/vendor/local/include/msgpack/v1/zbuffer.hpp +159 -0
- data/vendor/local/include/msgpack/v1/zbuffer_decl.hpp +37 -0
- data/vendor/local/include/msgpack/v1/zone.hpp +21 -0
- data/vendor/local/include/msgpack/v1/zone_decl.hpp +21 -0
- data/vendor/local/include/msgpack/v2/adaptor/adaptor_base.hpp +58 -0
- data/vendor/local/include/msgpack/v2/adaptor/adaptor_base_decl.hpp +52 -0
- data/vendor/local/include/msgpack/v2/adaptor/array_ref_decl.hpp +36 -0
- data/vendor/local/include/msgpack/v2/adaptor/boost/msgpack_variant_decl.hpp +42 -0
- data/vendor/local/include/msgpack/v2/adaptor/check_container_size_decl.hpp +39 -0
- data/vendor/local/include/msgpack/v2/adaptor/define_decl.hpp +23 -0
- data/vendor/local/include/msgpack/v2/adaptor/detail/cpp03_define_array_decl.hpp +31 -0
- data/vendor/local/include/msgpack/v2/adaptor/detail/cpp03_define_map_decl.hpp +31 -0
- data/vendor/local/include/msgpack/v2/adaptor/detail/cpp03_msgpack_tuple_decl.hpp +43 -0
- data/vendor/local/include/msgpack/v2/adaptor/detail/cpp11_define_array_decl.hpp +32 -0
- data/vendor/local/include/msgpack/v2/adaptor/detail/cpp11_define_map_decl.hpp +31 -0
- data/vendor/local/include/msgpack/v2/adaptor/detail/cpp11_msgpack_tuple_decl.hpp +59 -0
- data/vendor/local/include/msgpack/v2/adaptor/ext_decl.hpp +34 -0
- data/vendor/local/include/msgpack/v2/adaptor/fixint_decl.hpp +43 -0
- data/vendor/local/include/msgpack/v2/adaptor/int_decl.hpp +54 -0
- data/vendor/local/include/msgpack/v2/adaptor/map_decl.hpp +33 -0
- data/vendor/local/include/msgpack/v2/adaptor/msgpack_tuple_decl.hpp +21 -0
- data/vendor/local/include/msgpack/v2/adaptor/nil_decl.hpp +42 -0
- data/vendor/local/include/msgpack/v2/adaptor/raw_decl.hpp +33 -0
- data/vendor/local/include/msgpack/v2/adaptor/size_equal_only_decl.hpp +35 -0
- data/vendor/local/include/msgpack/v2/adaptor/v4raw_decl.hpp +34 -0
- data/vendor/local/include/msgpack/v2/cpp_config_decl.hpp +84 -0
- data/vendor/local/include/msgpack/v2/detail/cpp03_zone_decl.hpp +31 -0
- data/vendor/local/include/msgpack/v2/detail/cpp11_zone_decl.hpp +31 -0
- data/vendor/local/include/msgpack/v2/fbuffer_decl.hpp +32 -0
- data/vendor/local/include/msgpack/v2/iterator_decl.hpp +33 -0
- data/vendor/local/include/msgpack/v2/meta_decl.hpp +46 -0
- data/vendor/local/include/msgpack/v2/object.hpp +33 -0
- data/vendor/local/include/msgpack/v2/object_decl.hpp +49 -0
- data/vendor/local/include/msgpack/v2/object_fwd.hpp +109 -0
- data/vendor/local/include/msgpack/v2/object_fwd_decl.hpp +73 -0
- data/vendor/local/include/msgpack/v2/pack_decl.hpp +55 -0
- data/vendor/local/include/msgpack/v2/sbuffer_decl.hpp +33 -0
- data/vendor/local/include/msgpack/v2/unpack.hpp +1625 -0
- data/vendor/local/include/msgpack/v2/unpack_decl.hpp +348 -0
- data/vendor/local/include/msgpack/v2/vrefbuffer_decl.hpp +29 -0
- data/vendor/local/include/msgpack/v2/zbuffer_decl.hpp +29 -0
- data/vendor/local/include/msgpack/v2/zone_decl.hpp +21 -0
- data/vendor/local/include/msgpack/version_master.h +2 -2
- data/vendor/local/include/msgpack/versioning.hpp +3 -3
- data/vendor/local/include/msgpack/vrefbuffer.hpp +4 -279
- data/vendor/local/include/msgpack/vrefbuffer_decl.hpp +16 -0
- data/vendor/local/include/msgpack/zbuffer.hpp +3 -153
- data/vendor/local/include/msgpack/zbuffer_decl.hpp +16 -0
- data/vendor/local/include/msgpack/zone.hpp +3 -7
- data/vendor/local/include/msgpack/zone_decl.hpp +16 -0
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- data/vendor/local/lib/groonga/plugins/table/table.a +0 -0
- data/vendor/local/lib/groonga/plugins/table/table.dll +0 -0
- data/vendor/local/lib/groonga/plugins/table/table.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/table/table.la +3 -3
- 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 +3 -3
- 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 +3 -3
- data/vendor/local/lib/groonga/scripts/ruby/expression.rb +1 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression_rewriters.rb +10 -0
- data/vendor/local/lib/libgroonga.a +0 -0
- data/vendor/local/lib/libgroonga.dll.a +0 -0
- data/vendor/local/lib/libgroonga.la +3 -3
- data/vendor/local/lib/liblz4.a +0 -0
- data/vendor/local/lib/liblz4.dll +0 -0
- data/vendor/local/lib/liblz4.dll.1 +0 -0
- data/vendor/local/lib/liblz4.dll.1.5.0 +0 -0
- data/vendor/local/lib/libmecab.a +0 -0
- data/vendor/local/lib/libmecab.dll.a +0 -0
- data/vendor/local/lib/libmsgpackc.a +0 -0
- data/vendor/local/lib/libmsgpackc.dll.a +0 -0
- data/vendor/local/lib/libonig.a +0 -0
- data/vendor/local/lib/libonig.dll.a +0 -0
- data/vendor/local/lib/libonig.la +2 -2
- data/vendor/local/lib/libz.a +0 -0
- data/vendor/local/lib/libz.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/groonga.pc +2 -2
- data/vendor/local/lib/pkgconfig/msgpack.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/sbin/groonga-httpd.exe +0 -0
- data/vendor/local/share/doc/groonga/en/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/release.txt +0 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/install/centos.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/debian.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/fedora.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/mac_os_x.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/others.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/solaris.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/ubuntu.txt +3 -4
- data/vendor/local/share/doc/groonga/en/html/_sources/install/windows.txt +9 -9
- data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +82 -1244
- data/vendor/local/share/doc/groonga/en/html/_sources/news/1.2.x.txt +3 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/news/1.3.x.txt +3 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/news/2.x.txt +3 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/news/3.x.txt +3 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/news/4.x.txt +3 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/news/5.x.txt +1250 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/object_list.txt +393 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/string_substring.txt +27 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/vector_slice.txt +27 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/normalizers.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_static/basic.css +0 -4
- data/vendor/local/share/doc/groonga/en/html/_static/doctools.js +25 -1
- data/vendor/local/share/doc/groonga/en/html/characteristic.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/client.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/community.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/contribution.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/contribution/development.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/contribution/development/build.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/contribution/development/build/unix_autotools.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/contribution/development/build/unix_cmake.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/contribution/development/build/windows_cmake.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/contribution/development/cooperation.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +7 -8
- data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/introduction.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/contribution/report.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/development.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/genindex.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/index.html +44 -41
- data/vendor/local/share/doc/groonga/en/html/install.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/install/centos.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/install/debian.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/install/fedora.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/install/others.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/install/solaris.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +10 -11
- data/vendor/local/share/doc/groonga/en/html/install/windows.html +16 -16
- data/vendor/local/share/doc/groonga/en/html/limitations.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/news.html +257 -1703
- data/vendor/local/share/doc/groonga/en/html/news/0.x.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +54 -48
- data/vendor/local/share/doc/groonga/en/html/news/1.3.x.html +18 -12
- data/vendor/local/share/doc/groonga/en/html/news/2.x.html +65 -59
- data/vendor/local/share/doc/groonga/en/html/news/3.x.html +64 -58
- data/vendor/local/share/doc/groonga/en/html/news/4.x.html +61 -55
- data/vendor/local/share/doc/groonga/en/html/news/5.x.html +1426 -0
- data/vendor/local/share/doc/groonga/en/html/news/senna.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/en/html/reference.html +44 -41
- data/vendor/local/share/doc/groonga/en/html/reference/alias.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/api.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/api/global_configurations.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_cache.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_column.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_command_version.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_content_type.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_db.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_encoding.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_geo.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_hook.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ii.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_index_cursor.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_info.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_match_escalation.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_obj.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_proc.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_search.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table_cursor.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_thread.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_type.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_user_data.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/api/overview.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/api/plugin.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/cast.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/column.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/columns/index.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/columns/pseudo.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/columns/scalar.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/columns/vector.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/command.html +33 -32
- data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/command/pretty_print.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/command/request_id.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/command/request_timeout.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_copy.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/config_delete.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/config_get.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/config_set.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/database_unmap.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/io_flush.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_acquire.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_clear.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_release.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_count.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_parameters.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_range_filter.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_select.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_shard_list.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_table_remove.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalizer_list.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/object_exist.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/object_inspect.html +12 -12
- data/vendor/local/share/doc/groonga/en/html/reference/commands/object_list.html +991 -0
- data/vendor/local/share/doc/groonga/en/html/reference/commands/object_remove.html +36 -36
- data/vendor/local/share/doc/groonga/en/html/reference/commands/plugin_register.html +27 -27
- data/vendor/local/share/doc/groonga/en/html/reference/commands/plugin_unregister.html +27 -27
- data/vendor/local/share/doc/groonga/en/html/reference/commands/query_expand.html +33 -33
- data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +27 -27
- data/vendor/local/share/doc/groonga/en/html/reference/commands/range_filter.html +27 -27
- data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +27 -27
- data/vendor/local/share/doc/groonga/en/html/reference/commands/reindex.html +29 -29
- data/vendor/local/share/doc/groonga/en/html/reference/commands/request_cancel.html +33 -33
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_eval.html +31 -31
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_load.html +31 -31
- data/vendor/local/share/doc/groonga/en/html/reference/commands/schema.html +69 -69
- data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +113 -113
- data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +33 -33
- data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +31 -31
- data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +29 -29
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +53 -53
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +27 -27
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +43 -43
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_rename.html +33 -33
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_tokenize.html +43 -43
- data/vendor/local/share/doc/groonga/en/html/reference/commands/thread_limit.html +33 -33
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenize.html +45 -45
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenizer_list.html +27 -27
- data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +27 -27
- data/vendor/local/share/doc/groonga/en/html/reference/configuration.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/executables.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grndb.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-benchmark.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-httpd.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-learner.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/function.html +18 -16
- data/vendor/local/share/doc/groonga/en/html/reference/functions/between.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/functions/fuzzy_search.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_full.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_html.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/functions/in_values.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/functions/number_classify.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/functions/prefix_rk_search.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/functions/record_number.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +12 -12
- data/vendor/local/share/doc/groonga/en/html/reference/functions/string_substring.html +162 -0
- data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_day.html +25 -25
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_hour.html +25 -25
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_minute.html +25 -25
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_month.html +25 -25
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_second.html +25 -25
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_week.html +25 -25
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_year.html +25 -25
- data/vendor/local/share/doc/groonga/en/html/reference/functions/vector_size.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/functions/vector_slice.html +162 -0
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/log.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/reference/operations.html +12 -12
- data/vendor/local/share/doc/groonga/en/html/reference/operations/geolocation_search.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/operations/prefix_rk_search.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/output.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/regular_expression.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/scorer.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/scorers/scorer_tf_at_most.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/scorers/scorer_tf_idf.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/sharding.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/suggest.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/completion.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/correction.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/introduction.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/suggestion.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/tables.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/token_filters.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/tuning.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/types.html +11 -11
- data/vendor/local/share/doc/groonga/en/html/search.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/en/html/server.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/server/http.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/server/memcached.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/server/package.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/spec.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/spec/search.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/mmap_cannot_allocate_memory.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/tutorial.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/release.txt +0 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/centos.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/debian.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/fedora.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/mac_os_x.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/others.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/solaris.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/ubuntu.txt +3 -4
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/windows.txt +9 -9
- data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +82 -1244
- data/vendor/local/share/doc/groonga/ja/html/_sources/news/1.2.x.txt +3 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/news/1.3.x.txt +3 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/news/2.x.txt +3 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/news/3.x.txt +3 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/news/4.x.txt +3 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/news/5.x.txt +1250 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/object_list.txt +393 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/string_substring.txt +27 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/vector_slice.txt +27 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/normalizers.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_static/basic.css +0 -4
- data/vendor/local/share/doc/groonga/ja/html/_static/doctools.js +25 -1
- data/vendor/local/share/doc/groonga/ja/html/characteristic.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/client.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/community.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/contribution.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/build.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/unix_autotools.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/unix_cmake.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/windows_cmake.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/cooperation.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +7 -8
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/introduction.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/development.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/genindex.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/index.html +44 -41
- data/vendor/local/share/doc/groonga/ja/html/install.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/install/centos.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/install/debian.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/install/others.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +10 -11
- data/vendor/local/share/doc/groonga/ja/html/install/windows.html +16 -16
- data/vendor/local/share/doc/groonga/ja/html/limitations.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/news.html +248 -1638
- data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +54 -48
- data/vendor/local/share/doc/groonga/ja/html/news/1.3.x.html +18 -12
- data/vendor/local/share/doc/groonga/ja/html/news/2.x.html +65 -59
- data/vendor/local/share/doc/groonga/ja/html/news/3.x.html +64 -58
- data/vendor/local/share/doc/groonga/ja/html/news/4.x.html +61 -55
- data/vendor/local/share/doc/groonga/ja/html/news/5.x.html +1368 -0
- data/vendor/local/share/doc/groonga/ja/html/news/senna.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/ja/html/reference.html +44 -41
- data/vendor/local/share/doc/groonga/ja/html/reference/alias.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/api.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/api/global_configurations.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_content_type.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_geo.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_hook.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ii.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_index_cursor.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_info.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_match_escalation.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_obj.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_proc.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_search.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table_cursor.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_thread.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_type.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_user_data.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/api/overview.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/api/plugin.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/column.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/index.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/pseudo.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/scalar.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/vector.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/command.html +33 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/command/pretty_print.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/command/request_id.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/command/request_timeout.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_copy.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/config_delete.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/config_get.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/config_set.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/database_unmap.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/io_flush.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_acquire.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_clear.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_release.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_count.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_parameters.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_range_filter.html +7 -7
- 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 +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_table_remove.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalizer_list.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_exist.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_inspect.html +12 -12
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_list.html +1014 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_remove.html +36 -36
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/plugin_register.html +27 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/plugin_unregister.html +27 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/query_expand.html +33 -33
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +27 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/range_filter.html +27 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +27 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/reindex.html +29 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/request_cancel.html +33 -33
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_eval.html +31 -31
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_load.html +31 -31
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/schema.html +69 -69
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +113 -113
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +33 -33
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +31 -31
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +29 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +53 -53
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +27 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +43 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_rename.html +33 -33
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_tokenize.html +43 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/thread_limit.html +33 -33
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +45 -45
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenizer_list.html +27 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +27 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/configuration.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grndb.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-benchmark.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-httpd.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-learner.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/function.html +18 -16
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/between.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/fuzzy_search.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_full.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_html.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/in_values.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/number_classify.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/prefix_rk_search.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/record_number.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +12 -12
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/string_substring.html +163 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_day.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_hour.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_minute.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_month.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_second.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_week.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_year.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/vector_size.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/vector_slice.html +163 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/log.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/operations.html +12 -12
- data/vendor/local/share/doc/groonga/ja/html/reference/operations/geolocation_search.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/operations/prefix_rk_search.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/output.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/regular_expression.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/scorer.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/scorers/scorer_tf_at_most.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/scorers/scorer_tf_idf.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/sharding.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/completion.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/correction.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/introduction.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/suggestion.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/token_filters.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/tuning.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/types.html +11 -11
- data/vendor/local/share/doc/groonga/ja/html/search.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/ja/html/server.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/server/http.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/server/memcached.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/server/package.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/spec.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/spec/search.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/mmap_cannot_allocate_memory.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/tutorial.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +7 -7
- data/vendor/local/share/groonga/examples/dictionary/edict/edict-import.sh +7 -1
- data/vendor/local/share/groonga/examples/dictionary/html/index.html +1 -1
- data/vendor/local/share/license/msgpack/README.md +6 -7
- metadata +200 -16
- data/vendor/local/bin/libmsgpackc-2.dll +0 -0
- data/vendor/local/lib/libmsgpack.a +0 -0
- data/vendor/local/lib/libmsgpack.dll.a +0 -0
- data/vendor/local/lib/libmsgpack.la +0 -41
- data/vendor/local/lib/libmsgpackc.la +0 -41
@@ -0,0 +1,17 @@
|
|
1
|
+
//
|
2
|
+
// MessagePack for C++ static resolution routine
|
3
|
+
//
|
4
|
+
// Copyright (C) 2016 KONDO Takatoshi
|
5
|
+
//
|
6
|
+
// Distributed under the Boost Software License, Version 1.0.
|
7
|
+
// (See accompanying file LICENSE_1_0.txt or copy at
|
8
|
+
// http://www.boost.org/LICENSE_1_0.txt)
|
9
|
+
//
|
10
|
+
|
11
|
+
#ifndef MSGPACK_OBJECT_DECL_HPP
|
12
|
+
#define MSGPACK_OBJECT_DECL_HPP
|
13
|
+
|
14
|
+
#include "msgpack/v1/object_decl.hpp"
|
15
|
+
#include "msgpack/v2/object_decl.hpp"
|
16
|
+
|
17
|
+
#endif // MSGPACK_OBJECT_DECL_HPP
|
@@ -1,7 +1,7 @@
|
|
1
1
|
//
|
2
2
|
// MessagePack for C++ static resolution routine
|
3
3
|
//
|
4
|
-
// Copyright (C) 2008-
|
4
|
+
// Copyright (C) 2008-2016 FURUHASHI Sadayuki and KONDO Takatoshi
|
5
5
|
//
|
6
6
|
// Distributed under the Boost Software License, Version 1.0.
|
7
7
|
// (See accompanying file LICENSE_1_0.txt or copy at
|
@@ -11,185 +11,9 @@
|
|
11
11
|
#ifndef MSGPACK_OBJECT_FWD_HPP
|
12
12
|
#define MSGPACK_OBJECT_FWD_HPP
|
13
13
|
|
14
|
-
#include "msgpack/
|
15
|
-
#include "msgpack/zone.hpp"
|
16
|
-
#include "msgpack/object.h"
|
14
|
+
#include "msgpack/object_fwd_decl.hpp"
|
17
15
|
|
18
|
-
#include
|
19
|
-
|
20
|
-
namespace msgpack {
|
21
|
-
|
22
|
-
/// @cond
|
23
|
-
MSGPACK_API_VERSION_NAMESPACE(v1) {
|
24
|
-
/// @endcond
|
25
|
-
|
26
|
-
|
27
|
-
namespace type {
|
28
|
-
enum object_type {
|
29
|
-
NIL = MSGPACK_OBJECT_NIL,
|
30
|
-
BOOLEAN = MSGPACK_OBJECT_BOOLEAN,
|
31
|
-
POSITIVE_INTEGER = MSGPACK_OBJECT_POSITIVE_INTEGER,
|
32
|
-
NEGATIVE_INTEGER = MSGPACK_OBJECT_NEGATIVE_INTEGER,
|
33
|
-
FLOAT = MSGPACK_OBJECT_FLOAT,
|
34
|
-
#if defined(MSGPACK_USE_LEGACY_NAME_AS_FLOAT)
|
35
|
-
DOUBLE = MSGPACK_OBJECT_DOUBLE, // obsolete
|
36
|
-
#endif // MSGPACK_USE_LEGACY_NAME_AS_FLOAT
|
37
|
-
STR = MSGPACK_OBJECT_STR,
|
38
|
-
BIN = MSGPACK_OBJECT_BIN,
|
39
|
-
ARRAY = MSGPACK_OBJECT_ARRAY,
|
40
|
-
MAP = MSGPACK_OBJECT_MAP,
|
41
|
-
EXT = MSGPACK_OBJECT_EXT
|
42
|
-
};
|
43
|
-
}
|
44
|
-
|
45
|
-
|
46
|
-
struct object;
|
47
|
-
struct object_kv;
|
48
|
-
|
49
|
-
struct object_array {
|
50
|
-
uint32_t size;
|
51
|
-
msgpack::object* ptr;
|
52
|
-
};
|
53
|
-
|
54
|
-
struct object_map {
|
55
|
-
uint32_t size;
|
56
|
-
msgpack::object_kv* ptr;
|
57
|
-
};
|
58
|
-
|
59
|
-
struct object_str {
|
60
|
-
uint32_t size;
|
61
|
-
const char* ptr;
|
62
|
-
};
|
63
|
-
|
64
|
-
struct object_bin {
|
65
|
-
uint32_t size;
|
66
|
-
const char* ptr;
|
67
|
-
};
|
68
|
-
|
69
|
-
struct object_ext {
|
70
|
-
int8_t type() const { return ptr[0]; }
|
71
|
-
const char* data() const { return &ptr[1]; }
|
72
|
-
uint32_t size;
|
73
|
-
const char* ptr;
|
74
|
-
};
|
75
|
-
|
76
|
-
|
77
|
-
#if !defined(MSGPACK_USE_CPP03)
|
78
|
-
struct object;
|
79
|
-
|
80
|
-
namespace adaptor {
|
81
|
-
template <typename T, typename Enabler = void>
|
82
|
-
struct as;
|
83
|
-
} // namespace adaptor
|
84
|
-
|
85
|
-
template <typename T>
|
86
|
-
struct has_as {
|
87
|
-
private:
|
88
|
-
template <typename U>
|
89
|
-
static auto check(U*) ->
|
90
|
-
typename std::is_same<
|
91
|
-
decltype(msgpack::adaptor::as<U>()(std::declval<msgpack::object>())),
|
92
|
-
T>::type;
|
93
|
-
template <typename>
|
94
|
-
static std::false_type check(...);
|
95
|
-
public:
|
96
|
-
using type = decltype(check<T>(nullptr));
|
97
|
-
static constexpr bool value = type::value;
|
98
|
-
};
|
99
|
-
|
100
|
-
#endif // !defined(MSGPACK_USE_CPP03)
|
101
|
-
|
102
|
-
|
103
|
-
struct object {
|
104
|
-
union union_type {
|
105
|
-
bool boolean;
|
106
|
-
uint64_t u64;
|
107
|
-
int64_t i64;
|
108
|
-
#if defined(MSGPACK_USE_LEGACY_NAME_AS_FLOAT)
|
109
|
-
double dec; // obsolete
|
110
|
-
#endif // MSGPACK_USE_LEGACY_NAME_AS_FLOAT
|
111
|
-
double f64;
|
112
|
-
msgpack::object_array array;
|
113
|
-
msgpack::object_map map;
|
114
|
-
msgpack::object_str str;
|
115
|
-
msgpack::object_bin bin;
|
116
|
-
msgpack::object_ext ext;
|
117
|
-
};
|
118
|
-
|
119
|
-
msgpack::type::object_type type;
|
120
|
-
union_type via;
|
121
|
-
|
122
|
-
bool is_nil() const { return type == msgpack::type::NIL; }
|
123
|
-
|
124
|
-
#if defined(MSGPACK_USE_CPP03)
|
125
|
-
|
126
|
-
template <typename T>
|
127
|
-
T as() const;
|
128
|
-
|
129
|
-
#else // defined(MSGPACK_USE_CPP03)
|
130
|
-
|
131
|
-
template <typename T>
|
132
|
-
typename std::enable_if<msgpack::has_as<T>::value, T>::type as() const;
|
133
|
-
|
134
|
-
template <typename T>
|
135
|
-
typename std::enable_if<!msgpack::has_as<T>::value, T>::type as() const;
|
136
|
-
|
137
|
-
#endif // defined(MSGPACK_USE_CPP03)
|
138
|
-
|
139
|
-
template <typename T>
|
140
|
-
T& convert(T& v) const;
|
141
|
-
template <typename T>
|
142
|
-
T* convert(T* v) const;
|
143
|
-
|
144
|
-
template <typename T>
|
145
|
-
bool convert_if_not_nil(T& v) const;
|
146
|
-
|
147
|
-
object();
|
148
|
-
|
149
|
-
object(const msgpack_object& o);
|
150
|
-
|
151
|
-
template <typename T>
|
152
|
-
explicit object(const T& v);
|
153
|
-
|
154
|
-
template <typename T>
|
155
|
-
object(const T& v, msgpack::zone& z);
|
156
|
-
|
157
|
-
// obsolete
|
158
|
-
template <typename T>
|
159
|
-
object(const T& v, msgpack::zone* z);
|
160
|
-
|
161
|
-
template <typename T>
|
162
|
-
object& operator=(const T& v);
|
163
|
-
|
164
|
-
operator msgpack_object() const;
|
165
|
-
|
166
|
-
struct with_zone;
|
167
|
-
|
168
|
-
private:
|
169
|
-
struct implicit_type;
|
170
|
-
|
171
|
-
public:
|
172
|
-
implicit_type convert() const;
|
173
|
-
};
|
174
|
-
|
175
|
-
class type_error : public std::bad_cast { };
|
176
|
-
|
177
|
-
struct object_kv {
|
178
|
-
msgpack::object key;
|
179
|
-
msgpack::object val;
|
180
|
-
};
|
181
|
-
|
182
|
-
struct object::with_zone : object {
|
183
|
-
with_zone(msgpack::zone& zone) : zone(zone) { }
|
184
|
-
msgpack::zone& zone;
|
185
|
-
private:
|
186
|
-
with_zone();
|
187
|
-
};
|
188
|
-
|
189
|
-
/// @cond
|
190
|
-
} // MSGPACK_API_VERSION_NAMESPACE(v1)
|
191
|
-
/// @endcond
|
192
|
-
|
193
|
-
} // namespace msgpack
|
16
|
+
#include "msgpack/v1/object_fwd.hpp"
|
17
|
+
#include "msgpack/v2/object_fwd.hpp"
|
194
18
|
|
195
19
|
#endif // MSGPACK_OBJECT_FWD_HPP
|
@@ -0,0 +1,17 @@
|
|
1
|
+
//
|
2
|
+
// MessagePack for C++ static resolution routine
|
3
|
+
//
|
4
|
+
// Copyright (C) 2016 KONDO Takatoshi
|
5
|
+
//
|
6
|
+
// Distributed under the Boost Software License, Version 1.0.
|
7
|
+
// (See accompanying file LICENSE_1_0.txt or copy at
|
8
|
+
// http://www.boost.org/LICENSE_1_0.txt)
|
9
|
+
//
|
10
|
+
|
11
|
+
#ifndef MSGPACK_OBJECT_FWD_DECL_HPP
|
12
|
+
#define MSGPACK_OBJECT_FWD_DECL_HPP
|
13
|
+
|
14
|
+
#include "msgpack/v1/object_fwd_decl.hpp"
|
15
|
+
#include "msgpack/v2/object_fwd_decl.hpp"
|
16
|
+
|
17
|
+
#endif // MSGPACK_OBJECT_FWD_DECL_HPP
|
@@ -1,7 +1,7 @@
|
|
1
1
|
//
|
2
2
|
// MessagePack for C++ serializing routine
|
3
3
|
//
|
4
|
-
// Copyright (C) 2008-
|
4
|
+
// Copyright (C) 2008-2016 FURUHASHI Sadayuki and KONDO Takatoshi
|
5
5
|
//
|
6
6
|
// Distributed under the Boost Software License, Version 1.0.
|
7
7
|
// (See accompanying file LICENSE_1_0.txt or copy at
|
@@ -10,1081 +10,8 @@
|
|
10
10
|
#ifndef MSGPACK_PACK_HPP
|
11
11
|
#define MSGPACK_PACK_HPP
|
12
12
|
|
13
|
-
#include "msgpack/
|
14
|
-
#include "msgpack/cpp_config.hpp"
|
13
|
+
#include "msgpack/pack_decl.hpp"
|
15
14
|
|
16
|
-
#include
|
17
|
-
#include <limits>
|
18
|
-
#include <cstring>
|
19
|
-
#include <climits>
|
15
|
+
#include "msgpack/v1/pack.hpp"
|
20
16
|
|
21
|
-
#
|
22
|
-
|
23
|
-
namespace msgpack {
|
24
|
-
|
25
|
-
/// @cond
|
26
|
-
MSGPACK_API_VERSION_NAMESPACE(v1) {
|
27
|
-
/// @endcond
|
28
|
-
|
29
|
-
template <typename Stream>
|
30
|
-
class packer {
|
31
|
-
public:
|
32
|
-
packer(Stream* s);
|
33
|
-
packer(Stream& s);
|
34
|
-
|
35
|
-
public:
|
36
|
-
template <typename T>
|
37
|
-
packer<Stream>& pack(const T& v);
|
38
|
-
|
39
|
-
packer<Stream>& pack_uint8(uint8_t d);
|
40
|
-
packer<Stream>& pack_uint16(uint16_t d);
|
41
|
-
packer<Stream>& pack_uint32(uint32_t d);
|
42
|
-
packer<Stream>& pack_uint64(uint64_t d);
|
43
|
-
packer<Stream>& pack_int8(int8_t d);
|
44
|
-
packer<Stream>& pack_int16(int16_t d);
|
45
|
-
packer<Stream>& pack_int32(int32_t d);
|
46
|
-
packer<Stream>& pack_int64(int64_t d);
|
47
|
-
|
48
|
-
packer<Stream>& pack_fix_uint8(uint8_t d);
|
49
|
-
packer<Stream>& pack_fix_uint16(uint16_t d);
|
50
|
-
packer<Stream>& pack_fix_uint32(uint32_t d);
|
51
|
-
packer<Stream>& pack_fix_uint64(uint64_t d);
|
52
|
-
packer<Stream>& pack_fix_int8(int8_t d);
|
53
|
-
packer<Stream>& pack_fix_int16(int16_t d);
|
54
|
-
packer<Stream>& pack_fix_int32(int32_t d);
|
55
|
-
packer<Stream>& pack_fix_int64(int64_t d);
|
56
|
-
|
57
|
-
packer<Stream>& pack_char(char d);
|
58
|
-
packer<Stream>& pack_signed_char(signed char d);
|
59
|
-
packer<Stream>& pack_short(short d);
|
60
|
-
packer<Stream>& pack_int(int d);
|
61
|
-
packer<Stream>& pack_long(long d);
|
62
|
-
packer<Stream>& pack_long_long(long long d);
|
63
|
-
packer<Stream>& pack_unsigned_char(unsigned char d);
|
64
|
-
packer<Stream>& pack_unsigned_short(unsigned short d);
|
65
|
-
packer<Stream>& pack_unsigned_int(unsigned int d);
|
66
|
-
packer<Stream>& pack_unsigned_long(unsigned long d);
|
67
|
-
packer<Stream>& pack_unsigned_long_long(unsigned long long d);
|
68
|
-
|
69
|
-
packer<Stream>& pack_float(float d);
|
70
|
-
packer<Stream>& pack_double(double d);
|
71
|
-
|
72
|
-
packer<Stream>& pack_nil();
|
73
|
-
packer<Stream>& pack_true();
|
74
|
-
packer<Stream>& pack_false();
|
75
|
-
|
76
|
-
packer<Stream>& pack_array(uint32_t n);
|
77
|
-
|
78
|
-
packer<Stream>& pack_map(uint32_t n);
|
79
|
-
|
80
|
-
packer<Stream>& pack_str(uint32_t l);
|
81
|
-
packer<Stream>& pack_str_body(const char* b, uint32_t l);
|
82
|
-
|
83
|
-
// v4
|
84
|
-
packer<Stream>& pack_v4raw(uint32_t l);
|
85
|
-
packer<Stream>& pack_v4raw_body(const char* b, uint32_t l);
|
86
|
-
|
87
|
-
packer<Stream>& pack_bin(uint32_t l);
|
88
|
-
packer<Stream>& pack_bin_body(const char* b, uint32_t l);
|
89
|
-
|
90
|
-
packer<Stream>& pack_ext(size_t l, int8_t type);
|
91
|
-
packer<Stream>& pack_ext_body(const char* b, uint32_t l);
|
92
|
-
|
93
|
-
private:
|
94
|
-
template <typename T>
|
95
|
-
void pack_imp_uint8(T d);
|
96
|
-
template <typename T>
|
97
|
-
void pack_imp_uint16(T d);
|
98
|
-
template <typename T>
|
99
|
-
void pack_imp_uint32(T d);
|
100
|
-
template <typename T>
|
101
|
-
void pack_imp_uint64(T d);
|
102
|
-
template <typename T>
|
103
|
-
void pack_imp_int8(T d);
|
104
|
-
template <typename T>
|
105
|
-
void pack_imp_int16(T d);
|
106
|
-
template <typename T>
|
107
|
-
void pack_imp_int32(T d);
|
108
|
-
template <typename T>
|
109
|
-
void pack_imp_int64(T d);
|
110
|
-
|
111
|
-
void append_buffer(const char* buf, size_t len)
|
112
|
-
{ m_stream.write(buf, len); }
|
113
|
-
|
114
|
-
private:
|
115
|
-
Stream& m_stream;
|
116
|
-
|
117
|
-
#if defined(MSGPACK_USE_CPP03)
|
118
|
-
private:
|
119
|
-
packer(const packer&);
|
120
|
-
packer& operator=(const packer&);
|
121
|
-
packer();
|
122
|
-
#else // defined(MSGPACK_USE_CPP03)
|
123
|
-
public:
|
124
|
-
packer(const packer&) = delete;
|
125
|
-
packer& operator=(const packer&) = delete;
|
126
|
-
packer() = delete;
|
127
|
-
#endif // defined(MSGPACK_USE_CPP03)
|
128
|
-
};
|
129
|
-
|
130
|
-
|
131
|
-
template <typename Stream, typename T>
|
132
|
-
inline void pack(Stream* s, const T& v)
|
133
|
-
{
|
134
|
-
packer<Stream>(*s).pack(v);
|
135
|
-
}
|
136
|
-
|
137
|
-
template <typename Stream, typename T>
|
138
|
-
inline void pack(Stream& s, const T& v)
|
139
|
-
{
|
140
|
-
packer<Stream>(s).pack(v);
|
141
|
-
}
|
142
|
-
|
143
|
-
|
144
|
-
#if MSGPACK_ENDIAN_LITTLE_BYTE
|
145
|
-
template <typename T>
|
146
|
-
inline char take8_8(T d) {
|
147
|
-
return static_cast<char>(reinterpret_cast<uint8_t*>(&d)[0]);
|
148
|
-
}
|
149
|
-
template <typename T>
|
150
|
-
inline char take8_16(T d) {
|
151
|
-
return static_cast<char>(reinterpret_cast<uint8_t*>(&d)[0]);
|
152
|
-
}
|
153
|
-
template <typename T>
|
154
|
-
inline char take8_32(T d) {
|
155
|
-
return static_cast<char>(reinterpret_cast<uint8_t*>(&d)[0]);
|
156
|
-
}
|
157
|
-
template <typename T>
|
158
|
-
inline char take8_64(T d) {
|
159
|
-
return static_cast<char>(reinterpret_cast<uint8_t*>(&d)[0]);
|
160
|
-
}
|
161
|
-
|
162
|
-
#elif MSGPACK_ENDIAN_BIG_BYTE
|
163
|
-
|
164
|
-
template <typename T>
|
165
|
-
inline char take8_8(T d) {
|
166
|
-
return static_cast<char>(reinterpret_cast<uint8_t*>(&d)[0]);
|
167
|
-
}
|
168
|
-
template <typename T>
|
169
|
-
inline char take8_16(T d) {
|
170
|
-
return static_cast<char>(reinterpret_cast<uint8_t*>(&d)[1]);
|
171
|
-
}
|
172
|
-
template <typename T>
|
173
|
-
inline char take8_32(T d) {
|
174
|
-
return static_cast<char>(reinterpret_cast<uint8_t*>(&d)[3]);
|
175
|
-
}
|
176
|
-
template <typename T>
|
177
|
-
inline char take8_64(T d) {
|
178
|
-
return static_cast<char>(reinterpret_cast<uint8_t*>(&d)[7]);
|
179
|
-
}
|
180
|
-
|
181
|
-
#else
|
182
|
-
#error msgpack-c supports only big endian and little endian
|
183
|
-
#endif
|
184
|
-
|
185
|
-
template <typename Stream>
|
186
|
-
inline packer<Stream>::packer(Stream* s) : m_stream(*s) { }
|
187
|
-
|
188
|
-
template <typename Stream>
|
189
|
-
inline packer<Stream>::packer(Stream& s) : m_stream(s) { }
|
190
|
-
|
191
|
-
|
192
|
-
template <typename Stream>
|
193
|
-
inline packer<Stream>& packer<Stream>::pack_uint8(uint8_t d)
|
194
|
-
{ pack_imp_uint8(d); return *this; }
|
195
|
-
|
196
|
-
template <typename Stream>
|
197
|
-
inline packer<Stream>& packer<Stream>::pack_uint16(uint16_t d)
|
198
|
-
{ pack_imp_uint16(d); return *this; }
|
199
|
-
|
200
|
-
template <typename Stream>
|
201
|
-
inline packer<Stream>& packer<Stream>::pack_uint32(uint32_t d)
|
202
|
-
{ pack_imp_uint32(d); return *this; }
|
203
|
-
|
204
|
-
template <typename Stream>
|
205
|
-
inline packer<Stream>& packer<Stream>::pack_uint64(uint64_t d)
|
206
|
-
{ pack_imp_uint64(d); return *this; }
|
207
|
-
|
208
|
-
template <typename Stream>
|
209
|
-
inline packer<Stream>& packer<Stream>::pack_int8(int8_t d)
|
210
|
-
{ pack_imp_int8(d); return *this; }
|
211
|
-
|
212
|
-
template <typename Stream>
|
213
|
-
inline packer<Stream>& packer<Stream>::pack_int16(int16_t d)
|
214
|
-
{ pack_imp_int16(d); return *this; }
|
215
|
-
|
216
|
-
template <typename Stream>
|
217
|
-
inline packer<Stream>& packer<Stream>::pack_int32(int32_t d)
|
218
|
-
{ pack_imp_int32(d); return *this; }
|
219
|
-
|
220
|
-
template <typename Stream>
|
221
|
-
inline packer<Stream>& packer<Stream>::pack_int64(int64_t d)
|
222
|
-
{ pack_imp_int64(d); return *this;}
|
223
|
-
|
224
|
-
|
225
|
-
template <typename Stream>
|
226
|
-
inline packer<Stream>& packer<Stream>::pack_fix_uint8(uint8_t d)
|
227
|
-
{
|
228
|
-
char buf[2] = {static_cast<char>(0xccu), take8_8(d)};
|
229
|
-
append_buffer(buf, 2);
|
230
|
-
return *this;
|
231
|
-
}
|
232
|
-
|
233
|
-
template <typename Stream>
|
234
|
-
inline packer<Stream>& packer<Stream>::pack_fix_uint16(uint16_t d)
|
235
|
-
{
|
236
|
-
char buf[3];
|
237
|
-
buf[0] = static_cast<char>(0xcdu); _msgpack_store16(&buf[1], d);
|
238
|
-
append_buffer(buf, 3);
|
239
|
-
return *this;
|
240
|
-
}
|
241
|
-
|
242
|
-
template <typename Stream>
|
243
|
-
inline packer<Stream>& packer<Stream>::pack_fix_uint32(uint32_t d)
|
244
|
-
{
|
245
|
-
char buf[5];
|
246
|
-
buf[0] = static_cast<char>(0xceu); _msgpack_store32(&buf[1], d);
|
247
|
-
append_buffer(buf, 5);
|
248
|
-
return *this;
|
249
|
-
}
|
250
|
-
|
251
|
-
template <typename Stream>
|
252
|
-
inline packer<Stream>& packer<Stream>::pack_fix_uint64(uint64_t d)
|
253
|
-
{
|
254
|
-
char buf[9];
|
255
|
-
buf[0] = static_cast<char>(0xcfu); _msgpack_store64(&buf[1], d);
|
256
|
-
append_buffer(buf, 9);
|
257
|
-
return *this;
|
258
|
-
}
|
259
|
-
|
260
|
-
template <typename Stream>
|
261
|
-
inline packer<Stream>& packer<Stream>::pack_fix_int8(int8_t d)
|
262
|
-
{
|
263
|
-
char buf[2] = {static_cast<char>(0xd0u), take8_8(d)};
|
264
|
-
append_buffer(buf, 2);
|
265
|
-
return *this;
|
266
|
-
}
|
267
|
-
|
268
|
-
template <typename Stream>
|
269
|
-
inline packer<Stream>& packer<Stream>::pack_fix_int16(int16_t d)
|
270
|
-
{
|
271
|
-
char buf[3];
|
272
|
-
buf[0] = static_cast<char>(0xd1u); _msgpack_store16(&buf[1], d);
|
273
|
-
append_buffer(buf, 3);
|
274
|
-
return *this;
|
275
|
-
}
|
276
|
-
|
277
|
-
template <typename Stream>
|
278
|
-
inline packer<Stream>& packer<Stream>::pack_fix_int32(int32_t d)
|
279
|
-
{
|
280
|
-
char buf[5];
|
281
|
-
buf[0] = static_cast<char>(0xd2u); _msgpack_store32(&buf[1], d);
|
282
|
-
append_buffer(buf, 5);
|
283
|
-
return *this;
|
284
|
-
}
|
285
|
-
|
286
|
-
template <typename Stream>
|
287
|
-
inline packer<Stream>& packer<Stream>::pack_fix_int64(int64_t d)
|
288
|
-
{
|
289
|
-
char buf[9];
|
290
|
-
buf[0] = static_cast<char>(0xd3u); _msgpack_store64(&buf[1], d);
|
291
|
-
append_buffer(buf, 9);
|
292
|
-
return *this;
|
293
|
-
}
|
294
|
-
|
295
|
-
|
296
|
-
template <typename Stream>
|
297
|
-
inline packer<Stream>& packer<Stream>::pack_char(char d)
|
298
|
-
{
|
299
|
-
#if defined(CHAR_MIN)
|
300
|
-
#if CHAR_MIN < 0
|
301
|
-
pack_imp_int8(d);
|
302
|
-
#else
|
303
|
-
pack_imp_uint8(d);
|
304
|
-
#endif
|
305
|
-
#else
|
306
|
-
#error CHAR_MIN is not defined
|
307
|
-
#endif
|
308
|
-
return *this;
|
309
|
-
}
|
310
|
-
|
311
|
-
template <typename Stream>
|
312
|
-
inline packer<Stream>& packer<Stream>::pack_signed_char(signed char d)
|
313
|
-
{
|
314
|
-
pack_imp_int8(d);
|
315
|
-
return *this;
|
316
|
-
}
|
317
|
-
|
318
|
-
template <typename Stream>
|
319
|
-
inline packer<Stream>& packer<Stream>::pack_short(short d)
|
320
|
-
{
|
321
|
-
#if defined(SIZEOF_SHORT)
|
322
|
-
#if SIZEOF_SHORT == 2
|
323
|
-
pack_imp_int16(d);
|
324
|
-
#elif SIZEOF_SHORT == 4
|
325
|
-
pack_imp_int32(d);
|
326
|
-
#else
|
327
|
-
pack_imp_int64(d);
|
328
|
-
#endif
|
329
|
-
|
330
|
-
#elif defined(SHRT_MAX)
|
331
|
-
#if SHRT_MAX == 0x7fff
|
332
|
-
pack_imp_int16(d);
|
333
|
-
#elif SHRT_MAX == 0x7fffffff
|
334
|
-
pack_imp_int32(d);
|
335
|
-
#else
|
336
|
-
pack_imp_int64(d);
|
337
|
-
#endif
|
338
|
-
|
339
|
-
#else
|
340
|
-
if(sizeof(short) == 2) {
|
341
|
-
pack_imp_int16(d);
|
342
|
-
} else if(sizeof(short) == 4) {
|
343
|
-
pack_imp_int32(d);
|
344
|
-
} else {
|
345
|
-
pack_imp_int64(d);
|
346
|
-
}
|
347
|
-
#endif
|
348
|
-
return *this;
|
349
|
-
}
|
350
|
-
|
351
|
-
template <typename Stream>
|
352
|
-
inline packer<Stream>& packer<Stream>::pack_int(int d)
|
353
|
-
{
|
354
|
-
#if defined(SIZEOF_INT)
|
355
|
-
#if SIZEOF_INT == 2
|
356
|
-
pack_imp_int16(d);
|
357
|
-
#elif SIZEOF_INT == 4
|
358
|
-
pack_imp_int32(d);
|
359
|
-
#else
|
360
|
-
pack_imp_int64(d);
|
361
|
-
#endif
|
362
|
-
|
363
|
-
#elif defined(INT_MAX)
|
364
|
-
#if INT_MAX == 0x7fff
|
365
|
-
pack_imp_int16(d);
|
366
|
-
#elif INT_MAX == 0x7fffffff
|
367
|
-
pack_imp_int32(d);
|
368
|
-
#else
|
369
|
-
pack_imp_int64(d);
|
370
|
-
#endif
|
371
|
-
|
372
|
-
#else
|
373
|
-
if(sizeof(int) == 2) {
|
374
|
-
pack_imp_int16(d);
|
375
|
-
} else if(sizeof(int) == 4) {
|
376
|
-
pack_imp_int32(d);
|
377
|
-
} else {
|
378
|
-
pack_imp_int64(d);
|
379
|
-
}
|
380
|
-
#endif
|
381
|
-
return *this;
|
382
|
-
}
|
383
|
-
|
384
|
-
template <typename Stream>
|
385
|
-
inline packer<Stream>& packer<Stream>::pack_long(long d)
|
386
|
-
{
|
387
|
-
#if defined(SIZEOF_LONG)
|
388
|
-
#if SIZEOF_LONG == 2
|
389
|
-
pack_imp_int16(d);
|
390
|
-
#elif SIZEOF_LONG == 4
|
391
|
-
pack_imp_int32(d);
|
392
|
-
#else
|
393
|
-
pack_imp_int64(d);
|
394
|
-
#endif
|
395
|
-
|
396
|
-
#elif defined(LONG_MAX)
|
397
|
-
#if LONG_MAX == 0x7fffL
|
398
|
-
pack_imp_int16(d);
|
399
|
-
#elif LONG_MAX == 0x7fffffffL
|
400
|
-
pack_imp_int32(d);
|
401
|
-
#else
|
402
|
-
pack_imp_int64(d);
|
403
|
-
#endif
|
404
|
-
|
405
|
-
#else
|
406
|
-
if(sizeof(long) == 2) {
|
407
|
-
pack_imp_int16(d);
|
408
|
-
} else if(sizeof(long) == 4) {
|
409
|
-
pack_imp_int32(d);
|
410
|
-
} else {
|
411
|
-
pack_imp_int64(d);
|
412
|
-
}
|
413
|
-
#endif
|
414
|
-
return *this;
|
415
|
-
}
|
416
|
-
|
417
|
-
template <typename Stream>
|
418
|
-
inline packer<Stream>& packer<Stream>::pack_long_long(long long d)
|
419
|
-
{
|
420
|
-
#if defined(SIZEOF_LONG_LONG)
|
421
|
-
#if SIZEOF_LONG_LONG == 2
|
422
|
-
pack_imp_int16(d);
|
423
|
-
#elif SIZEOF_LONG_LONG == 4
|
424
|
-
pack_imp_int32(d);
|
425
|
-
#else
|
426
|
-
pack_imp_int64(d);
|
427
|
-
#endif
|
428
|
-
|
429
|
-
#elif defined(LLONG_MAX)
|
430
|
-
#if LLONG_MAX == 0x7fffL
|
431
|
-
pack_imp_int16(d);
|
432
|
-
#elif LLONG_MAX == 0x7fffffffL
|
433
|
-
pack_imp_int32(d);
|
434
|
-
#else
|
435
|
-
pack_imp_int64(d);
|
436
|
-
#endif
|
437
|
-
|
438
|
-
#else
|
439
|
-
if(sizeof(long long) == 2) {
|
440
|
-
pack_imp_int16(d);
|
441
|
-
} else if(sizeof(long long) == 4) {
|
442
|
-
pack_imp_int32(d);
|
443
|
-
} else {
|
444
|
-
pack_imp_int64(d);
|
445
|
-
}
|
446
|
-
#endif
|
447
|
-
return *this;
|
448
|
-
}
|
449
|
-
|
450
|
-
|
451
|
-
template <typename Stream>
|
452
|
-
inline packer<Stream>& packer<Stream>::pack_unsigned_char(unsigned char d)
|
453
|
-
{
|
454
|
-
pack_imp_uint8(d);
|
455
|
-
return *this;
|
456
|
-
}
|
457
|
-
|
458
|
-
template <typename Stream>
|
459
|
-
inline packer<Stream>& packer<Stream>::pack_unsigned_short(unsigned short d)
|
460
|
-
{
|
461
|
-
#if defined(SIZEOF_SHORT)
|
462
|
-
#if SIZEOF_SHORT == 2
|
463
|
-
pack_imp_uint16(d);
|
464
|
-
#elif SIZEOF_SHORT == 4
|
465
|
-
pack_imp_uint32(d);
|
466
|
-
#else
|
467
|
-
pack_imp_uint64(d);
|
468
|
-
#endif
|
469
|
-
|
470
|
-
#elif defined(USHRT_MAX)
|
471
|
-
#if USHRT_MAX == 0xffffU
|
472
|
-
pack_imp_uint16(d);
|
473
|
-
#elif USHRT_MAX == 0xffffffffU
|
474
|
-
pack_imp_uint32(d);
|
475
|
-
#else
|
476
|
-
pack_imp_uint64(d);
|
477
|
-
#endif
|
478
|
-
|
479
|
-
#else
|
480
|
-
if(sizeof(unsigned short) == 2) {
|
481
|
-
pack_imp_uint16(d);
|
482
|
-
} else if(sizeof(unsigned short) == 4) {
|
483
|
-
pack_imp_uint32(d);
|
484
|
-
} else {
|
485
|
-
pack_imp_uint64(d);
|
486
|
-
}
|
487
|
-
#endif
|
488
|
-
return *this;
|
489
|
-
}
|
490
|
-
|
491
|
-
template <typename Stream>
|
492
|
-
inline packer<Stream>& packer<Stream>::pack_unsigned_int(unsigned int d)
|
493
|
-
{
|
494
|
-
#if defined(SIZEOF_INT)
|
495
|
-
#if SIZEOF_INT == 2
|
496
|
-
pack_imp_uint16(d);
|
497
|
-
#elif SIZEOF_INT == 4
|
498
|
-
pack_imp_uint32(d);
|
499
|
-
#else
|
500
|
-
pack_imp_uint64(d);
|
501
|
-
#endif
|
502
|
-
|
503
|
-
#elif defined(UINT_MAX)
|
504
|
-
#if UINT_MAX == 0xffffU
|
505
|
-
pack_imp_uint16(d);
|
506
|
-
#elif UINT_MAX == 0xffffffffU
|
507
|
-
pack_imp_uint32(d);
|
508
|
-
#else
|
509
|
-
pack_imp_uint64(d);
|
510
|
-
#endif
|
511
|
-
|
512
|
-
#else
|
513
|
-
if(sizeof(unsigned int) == 2) {
|
514
|
-
pack_imp_uint16(d);
|
515
|
-
} else if(sizeof(unsigned int) == 4) {
|
516
|
-
pack_imp_uint32(d);
|
517
|
-
} else {
|
518
|
-
pack_imp_uint64(d);
|
519
|
-
}
|
520
|
-
#endif
|
521
|
-
return *this;
|
522
|
-
}
|
523
|
-
|
524
|
-
template <typename Stream>
|
525
|
-
inline packer<Stream>& packer<Stream>::pack_unsigned_long(unsigned long d)
|
526
|
-
{
|
527
|
-
#if defined(SIZEOF_LONG)
|
528
|
-
#if SIZEOF_LONG == 2
|
529
|
-
pack_imp_uint16(d);
|
530
|
-
#elif SIZEOF_LONG == 4
|
531
|
-
pack_imp_uint32(d);
|
532
|
-
#else
|
533
|
-
pack_imp_uint64(d);
|
534
|
-
#endif
|
535
|
-
|
536
|
-
#elif defined(ULONG_MAX)
|
537
|
-
#if ULONG_MAX == 0xffffUL
|
538
|
-
pack_imp_uint16(d);
|
539
|
-
#elif ULONG_MAX == 0xffffffffUL
|
540
|
-
pack_imp_uint32(d);
|
541
|
-
#else
|
542
|
-
pack_imp_uint64(d);
|
543
|
-
#endif
|
544
|
-
|
545
|
-
#else
|
546
|
-
if(sizeof(unsigned long) == 2) {
|
547
|
-
pack_imp_uint16(d);
|
548
|
-
} else if(sizeof(unsigned long) == 4) {
|
549
|
-
pack_imp_uint32(d);
|
550
|
-
} else {
|
551
|
-
pack_imp_uint64(d);
|
552
|
-
}
|
553
|
-
#endif
|
554
|
-
return *this;
|
555
|
-
}
|
556
|
-
|
557
|
-
template <typename Stream>
|
558
|
-
inline packer<Stream>& packer<Stream>::pack_unsigned_long_long(unsigned long long d)
|
559
|
-
{
|
560
|
-
#if defined(SIZEOF_LONG_LONG)
|
561
|
-
#if SIZEOF_LONG_LONG == 2
|
562
|
-
pack_imp_uint16(d);
|
563
|
-
#elif SIZEOF_LONG_LONG == 4
|
564
|
-
pack_imp_uint32(d);
|
565
|
-
#else
|
566
|
-
pack_imp_uint64(d);
|
567
|
-
#endif
|
568
|
-
|
569
|
-
#elif defined(ULLONG_MAX)
|
570
|
-
#if ULLONG_MAX == 0xffffUL
|
571
|
-
pack_imp_uint16(d);
|
572
|
-
#elif ULLONG_MAX == 0xffffffffUL
|
573
|
-
pack_imp_uint32(d);
|
574
|
-
#else
|
575
|
-
pack_imp_uint64(d);
|
576
|
-
#endif
|
577
|
-
|
578
|
-
#else
|
579
|
-
if(sizeof(unsigned long long) == 2) {
|
580
|
-
pack_imp_uint16(d);
|
581
|
-
} else if(sizeof(unsigned long long) == 4) {
|
582
|
-
pack_imp_uint32(d);
|
583
|
-
} else {
|
584
|
-
pack_imp_uint64(d);
|
585
|
-
}
|
586
|
-
#endif
|
587
|
-
return *this;
|
588
|
-
}
|
589
|
-
|
590
|
-
|
591
|
-
template <typename Stream>
|
592
|
-
inline packer<Stream>& packer<Stream>::pack_float(float d)
|
593
|
-
{
|
594
|
-
union { float f; uint32_t i; } mem;
|
595
|
-
mem.f = d;
|
596
|
-
char buf[5];
|
597
|
-
buf[0] = static_cast<char>(0xcau); _msgpack_store32(&buf[1], mem.i);
|
598
|
-
append_buffer(buf, 5);
|
599
|
-
return *this;
|
600
|
-
}
|
601
|
-
|
602
|
-
template <typename Stream>
|
603
|
-
inline packer<Stream>& packer<Stream>::pack_double(double d)
|
604
|
-
{
|
605
|
-
union { double f; uint64_t i; } mem;
|
606
|
-
mem.f = d;
|
607
|
-
char buf[9];
|
608
|
-
buf[0] = static_cast<char>(0xcbu);
|
609
|
-
|
610
|
-
#if defined(TARGET_OS_IPHONE)
|
611
|
-
// ok
|
612
|
-
#elif defined(__arm__) && !(__ARM_EABI__) // arm-oabi
|
613
|
-
// https://github.com/msgpack/msgpack-perl/pull/1
|
614
|
-
mem.i = (mem.i & 0xFFFFFFFFUL) << 32UL | (mem.i >> 32UL);
|
615
|
-
#endif
|
616
|
-
_msgpack_store64(&buf[1], mem.i);
|
617
|
-
append_buffer(buf, 9);
|
618
|
-
return *this;
|
619
|
-
}
|
620
|
-
|
621
|
-
|
622
|
-
template <typename Stream>
|
623
|
-
inline packer<Stream>& packer<Stream>::pack_nil()
|
624
|
-
{
|
625
|
-
const char d = static_cast<char>(0xc0u);
|
626
|
-
append_buffer(&d, 1);
|
627
|
-
return *this;
|
628
|
-
}
|
629
|
-
|
630
|
-
template <typename Stream>
|
631
|
-
inline packer<Stream>& packer<Stream>::pack_true()
|
632
|
-
{
|
633
|
-
const char d = static_cast<char>(0xc3u);
|
634
|
-
append_buffer(&d, 1);
|
635
|
-
return *this;
|
636
|
-
}
|
637
|
-
|
638
|
-
template <typename Stream>
|
639
|
-
inline packer<Stream>& packer<Stream>::pack_false()
|
640
|
-
{
|
641
|
-
const char d = static_cast<char>(0xc2u);
|
642
|
-
append_buffer(&d, 1);
|
643
|
-
return *this;
|
644
|
-
}
|
645
|
-
|
646
|
-
|
647
|
-
template <typename Stream>
|
648
|
-
inline packer<Stream>& packer<Stream>::pack_array(uint32_t n)
|
649
|
-
{
|
650
|
-
if(n < 16) {
|
651
|
-
char d = static_cast<char>(0x90u | n);
|
652
|
-
append_buffer(&d, 1);
|
653
|
-
} else if(n < 65536) {
|
654
|
-
char buf[3];
|
655
|
-
buf[0] = static_cast<char>(0xdcu); _msgpack_store16(&buf[1], static_cast<uint16_t>(n));
|
656
|
-
append_buffer(buf, 3);
|
657
|
-
} else {
|
658
|
-
char buf[5];
|
659
|
-
buf[0] = static_cast<char>(0xddu); _msgpack_store32(&buf[1], static_cast<uint32_t>(n));
|
660
|
-
append_buffer(buf, 5);
|
661
|
-
}
|
662
|
-
return *this;
|
663
|
-
}
|
664
|
-
|
665
|
-
template <typename Stream>
|
666
|
-
inline packer<Stream>& packer<Stream>::pack_map(uint32_t n)
|
667
|
-
{
|
668
|
-
if(n < 16) {
|
669
|
-
unsigned char d = static_cast<unsigned char>(0x80u | n);
|
670
|
-
char buf = take8_8(d);
|
671
|
-
append_buffer(&buf, 1);
|
672
|
-
} else if(n < 65536) {
|
673
|
-
char buf[3];
|
674
|
-
buf[0] = static_cast<char>(0xdeu); _msgpack_store16(&buf[1], static_cast<uint16_t>(n));
|
675
|
-
append_buffer(buf, 3);
|
676
|
-
} else {
|
677
|
-
char buf[5];
|
678
|
-
buf[0] = static_cast<char>(0xdfu); _msgpack_store32(&buf[1], static_cast<uint32_t>(n));
|
679
|
-
append_buffer(buf, 5);
|
680
|
-
}
|
681
|
-
return *this;
|
682
|
-
}
|
683
|
-
|
684
|
-
template <typename Stream>
|
685
|
-
inline packer<Stream>& packer<Stream>::pack_str(uint32_t l)
|
686
|
-
{
|
687
|
-
if(l < 32) {
|
688
|
-
unsigned char d = static_cast<uint8_t>(0xa0u | l);
|
689
|
-
char buf = take8_8(d);
|
690
|
-
append_buffer(&buf, 1);
|
691
|
-
} else if(l < 256) {
|
692
|
-
char buf[2];
|
693
|
-
buf[0] = static_cast<char>(0xd9u); buf[1] = static_cast<uint8_t>(l);
|
694
|
-
append_buffer(buf, 2);
|
695
|
-
} else if(l < 65536) {
|
696
|
-
char buf[3];
|
697
|
-
buf[0] = static_cast<char>(0xdau); _msgpack_store16(&buf[1], static_cast<uint16_t>(l));
|
698
|
-
append_buffer(buf, 3);
|
699
|
-
} else {
|
700
|
-
char buf[5];
|
701
|
-
buf[0] = static_cast<char>(0xdbu); _msgpack_store32(&buf[1], static_cast<uint32_t>(l));
|
702
|
-
append_buffer(buf, 5);
|
703
|
-
}
|
704
|
-
return *this;
|
705
|
-
}
|
706
|
-
|
707
|
-
template <typename Stream>
|
708
|
-
inline packer<Stream>& packer<Stream>::pack_str_body(const char* b, uint32_t l)
|
709
|
-
{
|
710
|
-
append_buffer(b, l);
|
711
|
-
return *this;
|
712
|
-
}
|
713
|
-
|
714
|
-
// Raw (V4)
|
715
|
-
|
716
|
-
template <typename Stream>
|
717
|
-
inline packer<Stream>& packer<Stream>::pack_v4raw(uint32_t l)
|
718
|
-
{
|
719
|
-
if(l < 32) {
|
720
|
-
unsigned char d = static_cast<uint8_t>(0xa0u | l);
|
721
|
-
char buf = take8_8(d);
|
722
|
-
append_buffer(&buf, 1);
|
723
|
-
} else if(l < 65536) {
|
724
|
-
char buf[3];
|
725
|
-
buf[0] = static_cast<char>(0xdau); _msgpack_store16(&buf[1], static_cast<uint16_t>(l));
|
726
|
-
append_buffer(buf, 3);
|
727
|
-
} else {
|
728
|
-
char buf[5];
|
729
|
-
buf[0] = static_cast<char>(0xdbu); _msgpack_store32(&buf[1], static_cast<uint32_t>(l));
|
730
|
-
append_buffer(buf, 5);
|
731
|
-
}
|
732
|
-
return *this;
|
733
|
-
}
|
734
|
-
|
735
|
-
template <typename Stream>
|
736
|
-
inline packer<Stream>& packer<Stream>::pack_v4raw_body(const char* b, uint32_t l)
|
737
|
-
{
|
738
|
-
append_buffer(b, l);
|
739
|
-
return *this;
|
740
|
-
}
|
741
|
-
|
742
|
-
template <typename Stream>
|
743
|
-
inline packer<Stream>& packer<Stream>::pack_bin(uint32_t l)
|
744
|
-
{
|
745
|
-
if(l < 256) {
|
746
|
-
char buf[2];
|
747
|
-
buf[0] = static_cast<char>(0xc4u); buf[1] = static_cast<uint8_t>(l);
|
748
|
-
append_buffer(buf, 2);
|
749
|
-
} else if(l < 65536) {
|
750
|
-
char buf[3];
|
751
|
-
buf[0] = static_cast<char>(0xc5u); _msgpack_store16(&buf[1], static_cast<uint16_t>(l));
|
752
|
-
append_buffer(buf, 3);
|
753
|
-
} else {
|
754
|
-
char buf[5];
|
755
|
-
buf[0] = static_cast<char>(0xc6u); _msgpack_store32(&buf[1], static_cast<uint32_t>(l));
|
756
|
-
append_buffer(buf, 5);
|
757
|
-
}
|
758
|
-
return *this;
|
759
|
-
}
|
760
|
-
|
761
|
-
template <typename Stream>
|
762
|
-
inline packer<Stream>& packer<Stream>::pack_bin_body(const char* b, uint32_t l)
|
763
|
-
{
|
764
|
-
append_buffer(b, l);
|
765
|
-
return *this;
|
766
|
-
}
|
767
|
-
|
768
|
-
template <typename Stream>
|
769
|
-
inline packer<Stream>& packer<Stream>::pack_ext(size_t l, int8_t type)
|
770
|
-
{
|
771
|
-
switch(l) {
|
772
|
-
case 1: {
|
773
|
-
char buf[2];
|
774
|
-
buf[0] = static_cast<char>(0xd4u);
|
775
|
-
buf[1] = static_cast<char>(type);
|
776
|
-
append_buffer(buf, 2);
|
777
|
-
} break;
|
778
|
-
case 2: {
|
779
|
-
char buf[2];
|
780
|
-
buf[0] = static_cast<char>(0xd5u);
|
781
|
-
buf[1] = static_cast<char>(type);
|
782
|
-
append_buffer(buf, 2);
|
783
|
-
} break;
|
784
|
-
case 4: {
|
785
|
-
char buf[2];
|
786
|
-
buf[0] = static_cast<char>(0xd6u);
|
787
|
-
buf[1] = static_cast<char>(type);
|
788
|
-
append_buffer(buf, 2);
|
789
|
-
} break;
|
790
|
-
case 8: {
|
791
|
-
char buf[2];
|
792
|
-
buf[0] = static_cast<char>(0xd7u);
|
793
|
-
buf[1] = static_cast<char>(type);
|
794
|
-
append_buffer(buf, 2);
|
795
|
-
} break;
|
796
|
-
case 16: {
|
797
|
-
char buf[2];
|
798
|
-
buf[0] = static_cast<char>(0xd8u);
|
799
|
-
buf[1] = static_cast<char>(type);
|
800
|
-
append_buffer(buf, 2);
|
801
|
-
} break;
|
802
|
-
default:
|
803
|
-
if(l < 256) {
|
804
|
-
char buf[3];
|
805
|
-
buf[0] = static_cast<char>(0xc7u);
|
806
|
-
buf[1] = static_cast<char>(l);
|
807
|
-
buf[2] = static_cast<char>(type);
|
808
|
-
append_buffer(buf, 3);
|
809
|
-
} else if(l < 65536) {
|
810
|
-
char buf[4];
|
811
|
-
buf[0] = static_cast<char>(0xc8u);
|
812
|
-
_msgpack_store16(&buf[1], static_cast<uint16_t>(l));
|
813
|
-
buf[3] = static_cast<char>(type);
|
814
|
-
append_buffer(buf, 4);
|
815
|
-
} else {
|
816
|
-
char buf[6];
|
817
|
-
buf[0] = static_cast<char>(0xc9u);
|
818
|
-
_msgpack_store32(&buf[1], static_cast<uint32_t>(l));
|
819
|
-
buf[5] = static_cast<char>(type);
|
820
|
-
append_buffer(buf, 6);
|
821
|
-
}
|
822
|
-
break;
|
823
|
-
}
|
824
|
-
return *this;
|
825
|
-
}
|
826
|
-
|
827
|
-
template <typename Stream>
|
828
|
-
inline packer<Stream>& packer<Stream>::pack_ext_body(const char* b, uint32_t l)
|
829
|
-
{
|
830
|
-
append_buffer(b, l);
|
831
|
-
return *this;
|
832
|
-
}
|
833
|
-
|
834
|
-
template <typename Stream>
|
835
|
-
template <typename T>
|
836
|
-
inline void packer<Stream>::pack_imp_uint8(T d)
|
837
|
-
{
|
838
|
-
if(d < (1<<7)) {
|
839
|
-
/* fixnum */
|
840
|
-
char buf = take8_8(d);
|
841
|
-
append_buffer(&buf, 1);
|
842
|
-
} else {
|
843
|
-
/* unsigned 8 */
|
844
|
-
char buf[2] = {static_cast<char>(0xccu), take8_8(d)};
|
845
|
-
append_buffer(buf, 2);
|
846
|
-
}
|
847
|
-
}
|
848
|
-
|
849
|
-
template <typename Stream>
|
850
|
-
template <typename T>
|
851
|
-
inline void packer<Stream>::pack_imp_uint16(T d)
|
852
|
-
{
|
853
|
-
if(d < (1<<7)) {
|
854
|
-
/* fixnum */
|
855
|
-
char buf = take8_16(d);
|
856
|
-
append_buffer(&buf, 1);
|
857
|
-
} else if(d < (1<<8)) {
|
858
|
-
/* unsigned 8 */
|
859
|
-
char buf[2] = {static_cast<char>(0xccu), take8_16(d)};
|
860
|
-
append_buffer(buf, 2);
|
861
|
-
} else {
|
862
|
-
/* unsigned 16 */
|
863
|
-
char buf[3];
|
864
|
-
buf[0] = static_cast<char>(0xcdu); _msgpack_store16(&buf[1], static_cast<uint16_t>(d));
|
865
|
-
append_buffer(buf, 3);
|
866
|
-
}
|
867
|
-
}
|
868
|
-
|
869
|
-
template <typename Stream>
|
870
|
-
template <typename T>
|
871
|
-
inline void packer<Stream>::pack_imp_uint32(T d)
|
872
|
-
{
|
873
|
-
if(d < (1<<8)) {
|
874
|
-
if(d < (1<<7)) {
|
875
|
-
/* fixnum */
|
876
|
-
char buf = take8_32(d);
|
877
|
-
append_buffer(&buf, 1);
|
878
|
-
} else {
|
879
|
-
/* unsigned 8 */
|
880
|
-
char buf[2] = {static_cast<char>(0xccu), take8_32(d)};
|
881
|
-
append_buffer(buf, 2);
|
882
|
-
}
|
883
|
-
} else {
|
884
|
-
if(d < (1<<16)) {
|
885
|
-
/* unsigned 16 */
|
886
|
-
char buf[3];
|
887
|
-
buf[0] = static_cast<char>(0xcdu); _msgpack_store16(&buf[1], static_cast<uint16_t>(d));
|
888
|
-
append_buffer(buf, 3);
|
889
|
-
} else {
|
890
|
-
/* unsigned 32 */
|
891
|
-
char buf[5];
|
892
|
-
buf[0] = static_cast<char>(0xceu); _msgpack_store32(&buf[1], static_cast<uint32_t>(d));
|
893
|
-
append_buffer(buf, 5);
|
894
|
-
}
|
895
|
-
}
|
896
|
-
}
|
897
|
-
|
898
|
-
template <typename Stream>
|
899
|
-
template <typename T>
|
900
|
-
inline void packer<Stream>::pack_imp_uint64(T d)
|
901
|
-
{
|
902
|
-
if(d < (1ULL<<8)) {
|
903
|
-
if(d < (1ULL<<7)) {
|
904
|
-
/* fixnum */
|
905
|
-
char buf = take8_64(d);
|
906
|
-
append_buffer(&buf, 1);
|
907
|
-
} else {
|
908
|
-
/* unsigned 8 */
|
909
|
-
char buf[2] = {static_cast<char>(0xccu), take8_64(d)};
|
910
|
-
append_buffer(buf, 2);
|
911
|
-
}
|
912
|
-
} else {
|
913
|
-
if(d < (1ULL<<16)) {
|
914
|
-
/* unsigned 16 */
|
915
|
-
char buf[3];
|
916
|
-
buf[0] = static_cast<char>(0xcdu); _msgpack_store16(&buf[1], static_cast<uint16_t>(d));
|
917
|
-
append_buffer(buf, 3);
|
918
|
-
} else if(d < (1ULL<<32)) {
|
919
|
-
/* unsigned 32 */
|
920
|
-
char buf[5];
|
921
|
-
buf[0] = static_cast<char>(0xceu); _msgpack_store32(&buf[1], static_cast<uint32_t>(d));
|
922
|
-
append_buffer(buf, 5);
|
923
|
-
} else {
|
924
|
-
/* unsigned 64 */
|
925
|
-
char buf[9];
|
926
|
-
buf[0] = static_cast<char>(0xcfu); _msgpack_store64(&buf[1], d);
|
927
|
-
append_buffer(buf, 9);
|
928
|
-
}
|
929
|
-
}
|
930
|
-
}
|
931
|
-
|
932
|
-
template <typename Stream>
|
933
|
-
template <typename T>
|
934
|
-
inline void packer<Stream>::pack_imp_int8(T d)
|
935
|
-
{
|
936
|
-
if(d < -(1<<5)) {
|
937
|
-
/* signed 8 */
|
938
|
-
char buf[2] = {static_cast<char>(0xd0u), take8_8(d)};
|
939
|
-
append_buffer(buf, 2);
|
940
|
-
} else {
|
941
|
-
/* fixnum */
|
942
|
-
char buf = take8_8(d);
|
943
|
-
append_buffer(&buf, 1);
|
944
|
-
}
|
945
|
-
}
|
946
|
-
|
947
|
-
template <typename Stream>
|
948
|
-
template <typename T>
|
949
|
-
inline void packer<Stream>::pack_imp_int16(T d)
|
950
|
-
{
|
951
|
-
if(d < -(1<<5)) {
|
952
|
-
if(d < -(1<<7)) {
|
953
|
-
/* signed 16 */
|
954
|
-
char buf[3];
|
955
|
-
buf[0] = static_cast<char>(0xd1u); _msgpack_store16(&buf[1], static_cast<int16_t>(d));
|
956
|
-
append_buffer(buf, 3);
|
957
|
-
} else {
|
958
|
-
/* signed 8 */
|
959
|
-
char buf[2] = {static_cast<char>(0xd0u), take8_16(d)};
|
960
|
-
append_buffer(buf, 2);
|
961
|
-
}
|
962
|
-
} else if(d < (1<<7)) {
|
963
|
-
/* fixnum */
|
964
|
-
char buf = take8_16(d);
|
965
|
-
append_buffer(&buf, 1);
|
966
|
-
} else {
|
967
|
-
if(d < (1<<8)) {
|
968
|
-
/* unsigned 8 */
|
969
|
-
char buf[2] = {static_cast<char>(0xccu), take8_16(d)};
|
970
|
-
append_buffer(buf, 2);
|
971
|
-
} else {
|
972
|
-
/* unsigned 16 */
|
973
|
-
char buf[3];
|
974
|
-
buf[0] = static_cast<char>(0xcdu); _msgpack_store16(&buf[1], static_cast<uint16_t>(d));
|
975
|
-
append_buffer(buf, 3);
|
976
|
-
}
|
977
|
-
}
|
978
|
-
}
|
979
|
-
|
980
|
-
template <typename Stream>
|
981
|
-
template <typename T>
|
982
|
-
inline void packer<Stream>::pack_imp_int32(T d)
|
983
|
-
{
|
984
|
-
if(d < -(1<<5)) {
|
985
|
-
if(d < -(1<<15)) {
|
986
|
-
/* signed 32 */
|
987
|
-
char buf[5];
|
988
|
-
buf[0] = static_cast<char>(0xd2u); _msgpack_store32(&buf[1], static_cast<int32_t>(d));
|
989
|
-
append_buffer(buf, 5);
|
990
|
-
} else if(d < -(1<<7)) {
|
991
|
-
/* signed 16 */
|
992
|
-
char buf[3];
|
993
|
-
buf[0] = static_cast<char>(0xd1u); _msgpack_store16(&buf[1], static_cast<int16_t>(d));
|
994
|
-
append_buffer(buf, 3);
|
995
|
-
} else {
|
996
|
-
/* signed 8 */
|
997
|
-
char buf[2] = { static_cast<char>(0xd0u), take8_32(d)};
|
998
|
-
append_buffer(buf, 2);
|
999
|
-
}
|
1000
|
-
} else if(d < (1<<7)) {
|
1001
|
-
/* fixnum */
|
1002
|
-
char buf = take8_32(d);
|
1003
|
-
append_buffer(&buf, 1);
|
1004
|
-
} else {
|
1005
|
-
if(d < (1<<8)) {
|
1006
|
-
/* unsigned 8 */
|
1007
|
-
char buf[2] = { static_cast<char>(0xccu), take8_32(d)};
|
1008
|
-
append_buffer(buf, 2);
|
1009
|
-
} else if(d < (1<<16)) {
|
1010
|
-
/* unsigned 16 */
|
1011
|
-
char buf[3];
|
1012
|
-
buf[0] = static_cast<char>(0xcdu); _msgpack_store16(&buf[1], static_cast<uint16_t>(d));
|
1013
|
-
append_buffer(buf, 3);
|
1014
|
-
} else {
|
1015
|
-
/* unsigned 32 */
|
1016
|
-
char buf[5];
|
1017
|
-
buf[0] = static_cast<char>(0xceu); _msgpack_store32(&buf[1], static_cast<uint32_t>(d));
|
1018
|
-
append_buffer(buf, 5);
|
1019
|
-
}
|
1020
|
-
}
|
1021
|
-
}
|
1022
|
-
|
1023
|
-
template <typename Stream>
|
1024
|
-
template <typename T>
|
1025
|
-
inline void packer<Stream>::pack_imp_int64(T d)
|
1026
|
-
{
|
1027
|
-
if(d < -(1LL<<5)) {
|
1028
|
-
if(d < -(1LL<<15)) {
|
1029
|
-
if(d < -(1LL<<31)) {
|
1030
|
-
/* signed 64 */
|
1031
|
-
char buf[9];
|
1032
|
-
buf[0] = static_cast<char>(0xd3u); _msgpack_store64(&buf[1], d);
|
1033
|
-
append_buffer(buf, 9);
|
1034
|
-
} else {
|
1035
|
-
/* signed 32 */
|
1036
|
-
char buf[5];
|
1037
|
-
buf[0] = static_cast<char>(0xd2u); _msgpack_store32(&buf[1], static_cast<int32_t>(d));
|
1038
|
-
append_buffer(buf, 5);
|
1039
|
-
}
|
1040
|
-
} else {
|
1041
|
-
if(d < -(1<<7)) {
|
1042
|
-
/* signed 16 */
|
1043
|
-
char buf[3];
|
1044
|
-
buf[0] = static_cast<char>(0xd1u); _msgpack_store16(&buf[1], static_cast<int16_t>(d));
|
1045
|
-
append_buffer(buf, 3);
|
1046
|
-
} else {
|
1047
|
-
/* signed 8 */
|
1048
|
-
char buf[2] = {static_cast<char>(0xd0u), take8_64(d)};
|
1049
|
-
append_buffer(buf, 2);
|
1050
|
-
}
|
1051
|
-
}
|
1052
|
-
} else if(d < (1<<7)) {
|
1053
|
-
/* fixnum */
|
1054
|
-
char buf = take8_64(d);
|
1055
|
-
append_buffer(&buf, 1);
|
1056
|
-
} else {
|
1057
|
-
if(d < (1LL<<16)) {
|
1058
|
-
if(d < (1<<8)) {
|
1059
|
-
/* unsigned 8 */
|
1060
|
-
char buf[2] = {static_cast<char>(0xccu), take8_64(d)};
|
1061
|
-
append_buffer(buf, 2);
|
1062
|
-
} else {
|
1063
|
-
/* unsigned 16 */
|
1064
|
-
char buf[3];
|
1065
|
-
buf[0] = static_cast<char>(0xcdu); _msgpack_store16(&buf[1], static_cast<uint16_t>(d));
|
1066
|
-
append_buffer(buf, 3);
|
1067
|
-
}
|
1068
|
-
} else {
|
1069
|
-
if(d < (1LL<<32)) {
|
1070
|
-
/* unsigned 32 */
|
1071
|
-
char buf[5];
|
1072
|
-
buf[0] = static_cast<char>(0xceu); _msgpack_store32(&buf[1], static_cast<uint32_t>(d));
|
1073
|
-
append_buffer(buf, 5);
|
1074
|
-
} else {
|
1075
|
-
/* unsigned 64 */
|
1076
|
-
char buf[9];
|
1077
|
-
buf[0] = static_cast<char>(0xcfu); _msgpack_store64(&buf[1], d);
|
1078
|
-
append_buffer(buf, 9);
|
1079
|
-
}
|
1080
|
-
}
|
1081
|
-
}
|
1082
|
-
}
|
1083
|
-
|
1084
|
-
/// @cond
|
1085
|
-
} // MSGPACK_API_VERSION_NAMESPACE(v1)
|
1086
|
-
/// @endcond
|
1087
|
-
|
1088
|
-
} // namespace msgpack
|
1089
|
-
|
1090
|
-
#endif /* msgpack/pack.hpp */
|
17
|
+
#endif // MSGPACK_PACK_HPP
|