ires 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1024) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +32 -45
  3. data/ext/Gopkg.lock +31 -1
  4. data/ext/ires/image.go +227 -0
  5. data/ext/ires/ires.go +47 -59
  6. data/ext/ires/uri.go +143 -0
  7. data/ext/main.go +18 -9
  8. data/ext/vendor/github.com/PuerkitoBio/purell/LICENSE +12 -0
  9. data/ext/vendor/github.com/PuerkitoBio/purell/README.md +187 -0
  10. data/ext/vendor/github.com/PuerkitoBio/purell/bench_test.go +57 -0
  11. data/ext/vendor/github.com/PuerkitoBio/purell/benchmarks/v0.1.0 +9 -0
  12. data/ext/vendor/github.com/PuerkitoBio/purell/example_test.go +35 -0
  13. data/ext/vendor/github.com/PuerkitoBio/purell/purell.go +379 -0
  14. data/ext/vendor/github.com/PuerkitoBio/purell/purell_test.go +768 -0
  15. data/ext/vendor/github.com/PuerkitoBio/purell/urlnorm_test.go +53 -0
  16. data/ext/vendor/github.com/PuerkitoBio/urlesc/LICENSE +27 -0
  17. data/ext/vendor/github.com/PuerkitoBio/urlesc/README.md +16 -0
  18. data/ext/vendor/github.com/PuerkitoBio/urlesc/urlesc.go +180 -0
  19. data/ext/vendor/github.com/PuerkitoBio/urlesc/urlesc_test.go +641 -0
  20. data/ext/vendor/github.com/{satori/go.uuid → goware/urlx}/LICENSE +3 -1
  21. data/ext/vendor/github.com/goware/urlx/README.md +172 -0
  22. data/ext/vendor/github.com/goware/urlx/urlx.go +196 -0
  23. data/ext/vendor/github.com/goware/urlx/urlx_test.go +232 -0
  24. data/ext/vendor/golang.org/x/net/AUTHORS +3 -0
  25. data/ext/vendor/golang.org/x/net/CONTRIBUTING.md +31 -0
  26. data/ext/vendor/golang.org/x/net/CONTRIBUTORS +3 -0
  27. data/ext/vendor/golang.org/x/net/LICENSE +27 -0
  28. data/ext/vendor/golang.org/x/net/PATENTS +22 -0
  29. data/ext/vendor/golang.org/x/net/README.md +16 -0
  30. data/ext/vendor/golang.org/x/net/bpf/asm.go +41 -0
  31. data/ext/vendor/golang.org/x/net/bpf/constants.go +218 -0
  32. data/ext/vendor/golang.org/x/net/bpf/doc.go +82 -0
  33. data/ext/vendor/golang.org/x/net/bpf/instructions.go +704 -0
  34. data/ext/vendor/golang.org/x/net/bpf/instructions_test.go +525 -0
  35. data/ext/vendor/golang.org/x/net/bpf/setter.go +10 -0
  36. data/ext/vendor/golang.org/x/net/bpf/testdata/all_instructions.bpf +1 -0
  37. data/ext/vendor/golang.org/x/net/bpf/testdata/all_instructions.txt +79 -0
  38. data/ext/vendor/golang.org/x/net/bpf/vm.go +140 -0
  39. data/ext/vendor/golang.org/x/net/bpf/vm_aluop_test.go +512 -0
  40. data/ext/vendor/golang.org/x/net/bpf/vm_bpf_test.go +192 -0
  41. data/ext/vendor/golang.org/x/net/bpf/vm_extension_test.go +49 -0
  42. data/ext/vendor/golang.org/x/net/bpf/vm_instructions.go +174 -0
  43. data/ext/vendor/golang.org/x/net/bpf/vm_jump_test.go +380 -0
  44. data/ext/vendor/golang.org/x/net/bpf/vm_load_test.go +246 -0
  45. data/ext/vendor/golang.org/x/net/bpf/vm_ret_test.go +115 -0
  46. data/ext/vendor/golang.org/x/net/bpf/vm_scratch_test.go +247 -0
  47. data/ext/vendor/golang.org/x/net/bpf/vm_test.go +144 -0
  48. data/ext/vendor/golang.org/x/net/codereview.cfg +1 -0
  49. data/ext/vendor/golang.org/x/net/context/context.go +54 -0
  50. data/ext/vendor/golang.org/x/net/context/context_test.go +583 -0
  51. data/ext/vendor/golang.org/x/net/context/ctxhttp/ctxhttp.go +74 -0
  52. data/ext/vendor/golang.org/x/net/context/ctxhttp/ctxhttp_17_test.go +29 -0
  53. data/ext/vendor/golang.org/x/net/context/ctxhttp/ctxhttp_pre17.go +147 -0
  54. data/ext/vendor/golang.org/x/net/context/ctxhttp/ctxhttp_pre17_test.go +79 -0
  55. data/ext/vendor/golang.org/x/net/context/ctxhttp/ctxhttp_test.go +105 -0
  56. data/ext/vendor/golang.org/x/net/context/go17.go +72 -0
  57. data/ext/vendor/golang.org/x/net/context/go19.go +20 -0
  58. data/ext/vendor/golang.org/x/net/context/pre_go17.go +300 -0
  59. data/ext/vendor/golang.org/x/net/context/pre_go19.go +109 -0
  60. data/ext/vendor/golang.org/x/net/context/withtimeout_test.go +31 -0
  61. data/ext/vendor/golang.org/x/net/dict/dict.go +210 -0
  62. data/ext/vendor/golang.org/x/net/dns/dnsmessage/example_test.go +132 -0
  63. data/ext/vendor/golang.org/x/net/dns/dnsmessage/message.go +1997 -0
  64. data/ext/vendor/golang.org/x/net/dns/dnsmessage/message_test.go +1116 -0
  65. data/ext/vendor/golang.org/x/net/html/atom/atom.go +78 -0
  66. data/ext/vendor/golang.org/x/net/html/atom/atom_test.go +109 -0
  67. data/ext/vendor/golang.org/x/net/html/atom/gen.go +709 -0
  68. data/ext/vendor/golang.org/x/net/html/atom/table.go +777 -0
  69. data/ext/vendor/golang.org/x/net/html/atom/table_test.go +373 -0
  70. data/ext/vendor/golang.org/x/net/html/charset/charset.go +257 -0
  71. data/ext/vendor/golang.org/x/net/html/charset/charset_test.go +237 -0
  72. data/ext/vendor/golang.org/x/net/html/charset/testdata/HTTP-charset.html +48 -0
  73. data/ext/vendor/golang.org/x/net/html/charset/testdata/HTTP-vs-UTF-8-BOM.html +48 -0
  74. data/ext/vendor/golang.org/x/net/html/charset/testdata/HTTP-vs-meta-charset.html +49 -0
  75. data/ext/vendor/golang.org/x/net/html/charset/testdata/HTTP-vs-meta-content.html +49 -0
  76. data/ext/vendor/golang.org/x/net/html/charset/testdata/No-encoding-declaration.html +47 -0
  77. data/ext/vendor/golang.org/x/net/html/charset/testdata/README +9 -0
  78. data/ext/vendor/golang.org/x/net/html/charset/testdata/UTF-16BE-BOM.html +0 -0
  79. data/ext/vendor/golang.org/x/net/html/charset/testdata/UTF-16LE-BOM.html +0 -0
  80. data/ext/vendor/golang.org/x/net/html/charset/testdata/UTF-8-BOM-vs-meta-charset.html +49 -0
  81. data/ext/vendor/golang.org/x/net/html/charset/testdata/UTF-8-BOM-vs-meta-content.html +48 -0
  82. data/ext/vendor/golang.org/x/net/html/charset/testdata/meta-charset-attribute.html +48 -0
  83. data/ext/vendor/golang.org/x/net/html/charset/testdata/meta-content-attribute.html +48 -0
  84. data/ext/vendor/golang.org/x/net/html/const.go +104 -0
  85. data/ext/vendor/golang.org/x/net/html/doc.go +106 -0
  86. data/ext/vendor/golang.org/x/net/html/doctype.go +156 -0
  87. data/ext/vendor/golang.org/x/net/html/entity.go +2253 -0
  88. data/ext/vendor/golang.org/x/net/html/entity_test.go +29 -0
  89. data/ext/vendor/golang.org/x/net/html/escape.go +258 -0
  90. data/ext/vendor/golang.org/x/net/html/escape_test.go +97 -0
  91. data/ext/vendor/golang.org/x/net/html/example_test.go +40 -0
  92. data/ext/vendor/golang.org/x/net/html/foreign.go +226 -0
  93. data/ext/vendor/golang.org/x/net/html/node.go +193 -0
  94. data/ext/vendor/golang.org/x/net/html/node_test.go +146 -0
  95. data/ext/vendor/golang.org/x/net/html/parse.go +2094 -0
  96. data/ext/vendor/golang.org/x/net/html/parse_test.go +388 -0
  97. data/ext/vendor/golang.org/x/net/html/render.go +271 -0
  98. data/ext/vendor/golang.org/x/net/html/render_test.go +156 -0
  99. data/ext/vendor/golang.org/x/net/html/testdata/go1.html +2237 -0
  100. data/ext/vendor/golang.org/x/net/html/testdata/webkit/README +28 -0
  101. data/ext/vendor/golang.org/x/net/html/testdata/webkit/adoption01.dat +194 -0
  102. data/ext/vendor/golang.org/x/net/html/testdata/webkit/adoption02.dat +31 -0
  103. data/ext/vendor/golang.org/x/net/html/testdata/webkit/comments01.dat +135 -0
  104. data/ext/vendor/golang.org/x/net/html/testdata/webkit/doctype01.dat +370 -0
  105. data/ext/vendor/golang.org/x/net/html/testdata/webkit/entities01.dat +603 -0
  106. data/ext/vendor/golang.org/x/net/html/testdata/webkit/entities02.dat +249 -0
  107. data/ext/vendor/golang.org/x/net/html/testdata/webkit/html5test-com.dat +246 -0
  108. data/ext/vendor/golang.org/x/net/html/testdata/webkit/inbody01.dat +43 -0
  109. data/ext/vendor/golang.org/x/net/html/testdata/webkit/isindex.dat +40 -0
  110. data/ext/vendor/golang.org/x/net/html/testdata/webkit/pending-spec-changes-plain-text-unsafe.dat +0 -0
  111. data/ext/vendor/golang.org/x/net/html/testdata/webkit/pending-spec-changes.dat +52 -0
  112. data/ext/vendor/golang.org/x/net/html/testdata/webkit/plain-text-unsafe.dat +0 -0
  113. data/ext/vendor/golang.org/x/net/html/testdata/webkit/scriptdata01.dat +308 -0
  114. data/ext/vendor/golang.org/x/net/html/testdata/webkit/scripted/adoption01.dat +15 -0
  115. data/ext/vendor/golang.org/x/net/html/testdata/webkit/scripted/webkit01.dat +28 -0
  116. data/ext/vendor/golang.org/x/net/html/testdata/webkit/tables01.dat +212 -0
  117. data/ext/vendor/golang.org/x/net/html/testdata/webkit/tests1.dat +1952 -0
  118. data/ext/vendor/golang.org/x/net/html/testdata/webkit/tests10.dat +799 -0
  119. data/ext/vendor/golang.org/x/net/html/testdata/webkit/tests11.dat +482 -0
  120. data/ext/vendor/golang.org/x/net/html/testdata/webkit/tests12.dat +62 -0
  121. data/ext/vendor/golang.org/x/net/html/testdata/webkit/tests14.dat +74 -0
  122. data/ext/vendor/golang.org/x/net/html/testdata/webkit/tests15.dat +208 -0
  123. data/ext/vendor/golang.org/x/net/html/testdata/webkit/tests16.dat +2299 -0
  124. data/ext/vendor/golang.org/x/net/html/testdata/webkit/tests17.dat +153 -0
  125. data/ext/vendor/golang.org/x/net/html/testdata/webkit/tests18.dat +269 -0
  126. data/ext/vendor/golang.org/x/net/html/testdata/webkit/tests19.dat +1237 -0
  127. data/ext/vendor/golang.org/x/net/html/testdata/webkit/tests2.dat +763 -0
  128. data/ext/vendor/golang.org/x/net/html/testdata/webkit/tests20.dat +455 -0
  129. data/ext/vendor/golang.org/x/net/html/testdata/webkit/tests21.dat +221 -0
  130. data/ext/vendor/golang.org/x/net/html/testdata/webkit/tests22.dat +157 -0
  131. data/ext/vendor/golang.org/x/net/html/testdata/webkit/tests23.dat +155 -0
  132. data/ext/vendor/golang.org/x/net/html/testdata/webkit/tests24.dat +79 -0
  133. data/ext/vendor/golang.org/x/net/html/testdata/webkit/tests25.dat +219 -0
  134. data/ext/vendor/golang.org/x/net/html/testdata/webkit/tests26.dat +313 -0
  135. data/ext/vendor/golang.org/x/net/html/testdata/webkit/tests3.dat +305 -0
  136. data/ext/vendor/golang.org/x/net/html/testdata/webkit/tests4.dat +59 -0
  137. data/ext/vendor/golang.org/x/net/html/testdata/webkit/tests5.dat +191 -0
  138. data/ext/vendor/golang.org/x/net/html/testdata/webkit/tests6.dat +663 -0
  139. data/ext/vendor/golang.org/x/net/html/testdata/webkit/tests7.dat +390 -0
  140. data/ext/vendor/golang.org/x/net/html/testdata/webkit/tests8.dat +148 -0
  141. data/ext/vendor/golang.org/x/net/html/testdata/webkit/tests9.dat +457 -0
  142. data/ext/vendor/golang.org/x/net/html/testdata/webkit/tests_innerHTML_1.dat +741 -0
  143. data/ext/vendor/golang.org/x/net/html/testdata/webkit/tricky01.dat +261 -0
  144. data/ext/vendor/golang.org/x/net/html/testdata/webkit/webkit01.dat +610 -0
  145. data/ext/vendor/golang.org/x/net/html/testdata/webkit/webkit02.dat +159 -0
  146. data/ext/vendor/golang.org/x/net/html/token.go +1219 -0
  147. data/ext/vendor/golang.org/x/net/html/token_test.go +748 -0
  148. data/ext/vendor/golang.org/x/net/http2/Dockerfile +51 -0
  149. data/ext/vendor/golang.org/x/net/http2/Makefile +3 -0
  150. data/ext/vendor/golang.org/x/net/http2/README +20 -0
  151. data/ext/vendor/golang.org/x/net/http2/ciphers.go +641 -0
  152. data/ext/vendor/golang.org/x/net/http2/ciphers_test.go +309 -0
  153. data/ext/vendor/golang.org/x/net/http2/client_conn_pool.go +256 -0
  154. data/ext/vendor/golang.org/x/net/http2/configure_transport.go +80 -0
  155. data/ext/vendor/golang.org/x/net/http2/databuffer.go +146 -0
  156. data/ext/vendor/golang.org/x/net/http2/databuffer_test.go +157 -0
  157. data/ext/vendor/golang.org/x/net/http2/errors.go +133 -0
  158. data/ext/vendor/golang.org/x/net/http2/errors_test.go +24 -0
  159. data/ext/vendor/golang.org/x/net/http2/flow.go +50 -0
  160. data/ext/vendor/golang.org/x/net/http2/flow_test.go +53 -0
  161. data/ext/vendor/golang.org/x/net/http2/frame.go +1579 -0
  162. data/ext/vendor/golang.org/x/net/http2/frame_test.go +1191 -0
  163. data/ext/vendor/golang.org/x/net/http2/go16.go +16 -0
  164. data/ext/vendor/golang.org/x/net/http2/go17.go +106 -0
  165. data/ext/vendor/golang.org/x/net/http2/go17_not18.go +36 -0
  166. data/ext/vendor/golang.org/x/net/http2/go18.go +56 -0
  167. data/ext/vendor/golang.org/x/net/http2/go18_test.go +79 -0
  168. data/ext/vendor/golang.org/x/net/http2/go19.go +16 -0
  169. data/ext/vendor/golang.org/x/net/http2/go19_test.go +60 -0
  170. data/ext/vendor/golang.org/x/net/http2/gotrack.go +170 -0
  171. data/ext/vendor/golang.org/x/net/http2/gotrack_test.go +33 -0
  172. data/ext/vendor/golang.org/x/net/http2/h2demo/Makefile +8 -0
  173. data/ext/vendor/golang.org/x/net/http2/h2demo/README +16 -0
  174. data/ext/vendor/golang.org/x/net/http2/h2demo/h2demo.go +538 -0
  175. data/ext/vendor/golang.org/x/net/http2/h2demo/launch.go +302 -0
  176. data/ext/vendor/golang.org/x/net/http2/h2demo/rootCA.key +27 -0
  177. data/ext/vendor/golang.org/x/net/http2/h2demo/rootCA.pem +26 -0
  178. data/ext/vendor/golang.org/x/net/http2/h2demo/rootCA.srl +1 -0
  179. data/ext/vendor/golang.org/x/net/http2/h2demo/server.crt +20 -0
  180. data/ext/vendor/golang.org/x/net/http2/h2demo/server.key +27 -0
  181. data/ext/vendor/golang.org/x/net/http2/h2demo/tmpl.go +1991 -0
  182. data/ext/vendor/golang.org/x/net/http2/h2i/README.md +97 -0
  183. data/ext/vendor/golang.org/x/net/http2/h2i/h2i.go +522 -0
  184. data/ext/vendor/golang.org/x/net/http2/headermap.go +78 -0
  185. data/ext/vendor/golang.org/x/net/http2/hpack/encode.go +240 -0
  186. data/ext/vendor/golang.org/x/net/http2/hpack/encode_test.go +386 -0
  187. data/ext/vendor/golang.org/x/net/http2/hpack/hpack.go +490 -0
  188. data/ext/vendor/golang.org/x/net/http2/hpack/hpack_test.go +722 -0
  189. data/ext/vendor/golang.org/x/net/http2/hpack/huffman.go +212 -0
  190. data/ext/vendor/golang.org/x/net/http2/hpack/tables.go +479 -0
  191. data/ext/vendor/golang.org/x/net/http2/hpack/tables_test.go +214 -0
  192. data/ext/vendor/golang.org/x/net/http2/http2.go +391 -0
  193. data/ext/vendor/golang.org/x/net/http2/http2_test.go +199 -0
  194. data/ext/vendor/golang.org/x/net/http2/not_go16.go +21 -0
  195. data/ext/vendor/golang.org/x/net/http2/not_go17.go +87 -0
  196. data/ext/vendor/golang.org/x/net/http2/not_go18.go +29 -0
  197. data/ext/vendor/golang.org/x/net/http2/not_go19.go +16 -0
  198. data/ext/vendor/golang.org/x/net/http2/pipe.go +163 -0
  199. data/ext/vendor/golang.org/x/net/http2/pipe_test.go +130 -0
  200. data/ext/vendor/golang.org/x/net/http2/server.go +2857 -0
  201. data/ext/vendor/golang.org/x/net/http2/server_push_test.go +521 -0
  202. data/ext/vendor/golang.org/x/net/http2/server_test.go +3721 -0
  203. data/ext/vendor/golang.org/x/net/http2/testdata/draft-ietf-httpbis-http2.xml +5021 -0
  204. data/ext/vendor/golang.org/x/net/http2/transport.go +2285 -0
  205. data/ext/vendor/golang.org/x/net/http2/transport_test.go +3714 -0
  206. data/ext/vendor/golang.org/x/net/http2/write.go +370 -0
  207. data/ext/vendor/golang.org/x/net/http2/writesched.go +242 -0
  208. data/ext/vendor/golang.org/x/net/http2/writesched_priority.go +452 -0
  209. data/ext/vendor/golang.org/x/net/http2/writesched_priority_test.go +541 -0
  210. data/ext/vendor/golang.org/x/net/http2/writesched_random.go +72 -0
  211. data/ext/vendor/golang.org/x/net/http2/writesched_random_test.go +44 -0
  212. data/ext/vendor/golang.org/x/net/http2/writesched_test.go +125 -0
  213. data/ext/vendor/golang.org/x/net/http2/z_spec_test.go +356 -0
  214. data/ext/vendor/golang.org/x/net/icmp/dstunreach.go +41 -0
  215. data/ext/vendor/golang.org/x/net/icmp/echo.go +45 -0
  216. data/ext/vendor/golang.org/x/net/icmp/endpoint.go +113 -0
  217. data/ext/vendor/golang.org/x/net/icmp/example_test.go +63 -0
  218. data/ext/vendor/golang.org/x/net/icmp/extension.go +89 -0
  219. data/ext/vendor/golang.org/x/net/icmp/extension_test.go +259 -0
  220. data/ext/vendor/golang.org/x/net/icmp/helper_posix.go +75 -0
  221. data/ext/vendor/golang.org/x/net/icmp/interface.go +236 -0
  222. data/ext/vendor/golang.org/x/net/icmp/ipv4.go +61 -0
  223. data/ext/vendor/golang.org/x/net/icmp/ipv4_test.go +83 -0
  224. data/ext/vendor/golang.org/x/net/icmp/ipv6.go +23 -0
  225. data/ext/vendor/golang.org/x/net/icmp/listen_posix.go +100 -0
  226. data/ext/vendor/golang.org/x/net/icmp/listen_stub.go +33 -0
  227. data/ext/vendor/golang.org/x/net/icmp/message.go +152 -0
  228. data/ext/vendor/golang.org/x/net/icmp/message_test.go +134 -0
  229. data/ext/vendor/golang.org/x/net/icmp/messagebody.go +41 -0
  230. data/ext/vendor/golang.org/x/net/icmp/mpls.go +77 -0
  231. data/ext/vendor/golang.org/x/net/icmp/multipart.go +109 -0
  232. data/ext/vendor/golang.org/x/net/icmp/multipart_test.go +442 -0
  233. data/ext/vendor/golang.org/x/net/icmp/packettoobig.go +43 -0
  234. data/ext/vendor/golang.org/x/net/icmp/paramprob.go +63 -0
  235. data/ext/vendor/golang.org/x/net/icmp/ping_test.go +200 -0
  236. data/ext/vendor/golang.org/x/net/icmp/sys_freebsd.go +11 -0
  237. data/ext/vendor/golang.org/x/net/icmp/timeexceeded.go +39 -0
  238. data/ext/vendor/golang.org/x/net/idna/example_test.go +70 -0
  239. data/ext/vendor/golang.org/x/net/idna/idna.go +680 -0
  240. data/ext/vendor/golang.org/x/net/idna/idna_test.go +108 -0
  241. data/ext/vendor/golang.org/x/net/idna/punycode.go +203 -0
  242. data/ext/vendor/golang.org/x/net/idna/punycode_test.go +198 -0
  243. data/ext/vendor/golang.org/x/net/idna/tables.go +4477 -0
  244. data/ext/vendor/golang.org/x/net/idna/trie.go +72 -0
  245. data/ext/vendor/golang.org/x/net/idna/trieval.go +114 -0
  246. data/ext/vendor/golang.org/x/net/internal/iana/const.go +180 -0
  247. data/ext/vendor/golang.org/x/net/internal/iana/gen.go +293 -0
  248. data/ext/vendor/golang.org/x/net/internal/nettest/helper_bsd.go +53 -0
  249. data/ext/vendor/golang.org/x/net/internal/nettest/helper_nobsd.go +15 -0
  250. data/ext/vendor/golang.org/x/net/internal/nettest/helper_posix.go +31 -0
  251. data/ext/vendor/golang.org/x/net/internal/nettest/helper_stub.go +32 -0
  252. data/ext/vendor/golang.org/x/net/internal/nettest/helper_unix.go +29 -0
  253. data/ext/vendor/golang.org/x/net/internal/nettest/helper_windows.go +42 -0
  254. data/ext/vendor/golang.org/x/net/internal/nettest/interface.go +94 -0
  255. data/ext/vendor/golang.org/x/net/internal/nettest/rlimit.go +11 -0
  256. data/ext/vendor/golang.org/x/net/internal/nettest/stack.go +147 -0
  257. data/ext/vendor/golang.org/x/net/internal/socket/cmsghdr.go +11 -0
  258. data/ext/vendor/golang.org/x/net/internal/socket/cmsghdr_bsd.go +13 -0
  259. data/ext/vendor/golang.org/x/net/internal/socket/cmsghdr_linux_32bit.go +14 -0
  260. data/ext/vendor/golang.org/x/net/internal/socket/cmsghdr_linux_64bit.go +14 -0
  261. data/ext/vendor/golang.org/x/net/internal/socket/cmsghdr_solaris_64bit.go +14 -0
  262. data/ext/vendor/golang.org/x/net/internal/socket/cmsghdr_stub.go +17 -0
  263. data/ext/vendor/golang.org/x/net/internal/socket/defs_darwin.go +44 -0
  264. data/ext/vendor/golang.org/x/net/internal/socket/defs_dragonfly.go +44 -0
  265. data/ext/vendor/golang.org/x/net/internal/socket/defs_freebsd.go +44 -0
  266. data/ext/vendor/golang.org/x/net/internal/socket/defs_linux.go +49 -0
  267. data/ext/vendor/golang.org/x/net/internal/socket/defs_netbsd.go +47 -0
  268. data/ext/vendor/golang.org/x/net/internal/socket/defs_openbsd.go +44 -0
  269. data/ext/vendor/golang.org/x/net/internal/socket/defs_solaris.go +44 -0
  270. data/ext/vendor/golang.org/x/net/internal/socket/error_unix.go +31 -0
  271. data/ext/vendor/golang.org/x/net/internal/socket/error_windows.go +26 -0
  272. data/ext/vendor/golang.org/x/net/internal/socket/iovec_32bit.go +19 -0
  273. data/ext/vendor/golang.org/x/net/internal/socket/iovec_64bit.go +19 -0
  274. data/ext/vendor/golang.org/x/net/internal/socket/iovec_solaris_64bit.go +19 -0
  275. data/ext/vendor/golang.org/x/net/internal/socket/iovec_stub.go +11 -0
  276. data/ext/vendor/golang.org/x/net/internal/socket/mmsghdr_stub.go +21 -0
  277. data/ext/vendor/golang.org/x/net/internal/socket/mmsghdr_unix.go +42 -0
  278. data/ext/vendor/golang.org/x/net/internal/socket/msghdr_bsd.go +39 -0
  279. data/ext/vendor/golang.org/x/net/internal/socket/msghdr_bsdvar.go +16 -0
  280. data/ext/vendor/golang.org/x/net/internal/socket/msghdr_linux.go +36 -0
  281. data/ext/vendor/golang.org/x/net/internal/socket/msghdr_linux_32bit.go +24 -0
  282. data/ext/vendor/golang.org/x/net/internal/socket/msghdr_linux_64bit.go +24 -0
  283. data/ext/vendor/golang.org/x/net/internal/socket/msghdr_openbsd.go +14 -0
  284. data/ext/vendor/golang.org/x/net/internal/socket/msghdr_solaris_64bit.go +36 -0
  285. data/ext/vendor/golang.org/x/net/internal/socket/msghdr_stub.go +14 -0
  286. data/ext/vendor/golang.org/x/net/internal/socket/rawconn.go +66 -0
  287. data/ext/vendor/golang.org/x/net/internal/socket/rawconn_mmsg.go +74 -0
  288. data/ext/vendor/golang.org/x/net/internal/socket/rawconn_msg.go +77 -0
  289. data/ext/vendor/golang.org/x/net/internal/socket/rawconn_nommsg.go +18 -0
  290. data/ext/vendor/golang.org/x/net/internal/socket/rawconn_nomsg.go +18 -0
  291. data/ext/vendor/golang.org/x/net/internal/socket/rawconn_stub.go +25 -0
  292. data/ext/vendor/golang.org/x/net/internal/socket/reflect.go +62 -0
  293. data/ext/vendor/golang.org/x/net/internal/socket/socket.go +285 -0
  294. data/ext/vendor/golang.org/x/net/internal/socket/socket_go1_9_test.go +259 -0
  295. data/ext/vendor/golang.org/x/net/internal/socket/socket_test.go +46 -0
  296. data/ext/vendor/golang.org/x/net/internal/socket/sys.go +33 -0
  297. data/ext/vendor/golang.org/x/net/internal/socket/sys_bsd.go +17 -0
  298. data/ext/vendor/golang.org/x/net/internal/socket/sys_bsdvar.go +14 -0
  299. data/ext/vendor/golang.org/x/net/internal/socket/sys_darwin.go +7 -0
  300. data/ext/vendor/golang.org/x/net/internal/socket/sys_dragonfly.go +7 -0
  301. data/ext/vendor/golang.org/x/net/internal/socket/sys_linux.go +27 -0
  302. data/ext/vendor/golang.org/x/net/internal/socket/sys_linux_386.go +55 -0
  303. data/ext/vendor/golang.org/x/net/internal/socket/sys_linux_386.s +11 -0
  304. data/ext/vendor/golang.org/x/net/internal/socket/sys_linux_amd64.go +10 -0
  305. data/ext/vendor/golang.org/x/net/internal/socket/sys_linux_arm.go +10 -0
  306. data/ext/vendor/golang.org/x/net/internal/socket/sys_linux_arm64.go +10 -0
  307. data/ext/vendor/golang.org/x/net/internal/socket/sys_linux_mips.go +10 -0
  308. data/ext/vendor/golang.org/x/net/internal/socket/sys_linux_mips64.go +10 -0
  309. data/ext/vendor/golang.org/x/net/internal/socket/sys_linux_mips64le.go +10 -0
  310. data/ext/vendor/golang.org/x/net/internal/socket/sys_linux_mipsle.go +10 -0
  311. data/ext/vendor/golang.org/x/net/internal/socket/sys_linux_ppc64.go +10 -0
  312. data/ext/vendor/golang.org/x/net/internal/socket/sys_linux_ppc64le.go +10 -0
  313. data/ext/vendor/golang.org/x/net/internal/socket/sys_linux_s390x.go +55 -0
  314. data/ext/vendor/golang.org/x/net/internal/socket/sys_linux_s390x.s +11 -0
  315. data/ext/vendor/golang.org/x/net/internal/socket/sys_netbsd.go +25 -0
  316. data/ext/vendor/golang.org/x/net/internal/socket/sys_posix.go +168 -0
  317. data/ext/vendor/golang.org/x/net/internal/socket/sys_solaris.go +71 -0
  318. data/ext/vendor/golang.org/x/net/internal/socket/sys_solaris_amd64.s +11 -0
  319. data/ext/vendor/golang.org/x/net/internal/socket/sys_stub.go +64 -0
  320. data/ext/vendor/golang.org/x/net/internal/socket/sys_unix.go +33 -0
  321. data/ext/vendor/golang.org/x/net/internal/socket/sys_windows.go +70 -0
  322. data/ext/vendor/golang.org/x/net/internal/socket/zsys_darwin_386.go +59 -0
  323. data/ext/vendor/golang.org/x/net/internal/socket/zsys_darwin_amd64.go +61 -0
  324. data/ext/vendor/golang.org/x/net/internal/socket/zsys_darwin_arm.go +59 -0
  325. data/ext/vendor/golang.org/x/net/internal/socket/zsys_dragonfly_amd64.go +61 -0
  326. data/ext/vendor/golang.org/x/net/internal/socket/zsys_freebsd_386.go +59 -0
  327. data/ext/vendor/golang.org/x/net/internal/socket/zsys_freebsd_amd64.go +61 -0
  328. data/ext/vendor/golang.org/x/net/internal/socket/zsys_freebsd_arm.go +59 -0
  329. data/ext/vendor/golang.org/x/net/internal/socket/zsys_linux_386.go +63 -0
  330. data/ext/vendor/golang.org/x/net/internal/socket/zsys_linux_amd64.go +66 -0
  331. data/ext/vendor/golang.org/x/net/internal/socket/zsys_linux_arm.go +63 -0
  332. data/ext/vendor/golang.org/x/net/internal/socket/zsys_linux_arm64.go +66 -0
  333. data/ext/vendor/golang.org/x/net/internal/socket/zsys_linux_mips.go +63 -0
  334. data/ext/vendor/golang.org/x/net/internal/socket/zsys_linux_mips64.go +66 -0
  335. data/ext/vendor/golang.org/x/net/internal/socket/zsys_linux_mips64le.go +66 -0
  336. data/ext/vendor/golang.org/x/net/internal/socket/zsys_linux_mipsle.go +63 -0
  337. data/ext/vendor/golang.org/x/net/internal/socket/zsys_linux_ppc64.go +66 -0
  338. data/ext/vendor/golang.org/x/net/internal/socket/zsys_linux_ppc64le.go +66 -0
  339. data/ext/vendor/golang.org/x/net/internal/socket/zsys_linux_s390x.go +66 -0
  340. data/ext/vendor/golang.org/x/net/internal/socket/zsys_netbsd_386.go +65 -0
  341. data/ext/vendor/golang.org/x/net/internal/socket/zsys_netbsd_amd64.go +68 -0
  342. data/ext/vendor/golang.org/x/net/internal/socket/zsys_netbsd_arm.go +59 -0
  343. data/ext/vendor/golang.org/x/net/internal/socket/zsys_openbsd_386.go +59 -0
  344. data/ext/vendor/golang.org/x/net/internal/socket/zsys_openbsd_amd64.go +61 -0
  345. data/ext/vendor/golang.org/x/net/internal/socket/zsys_openbsd_arm.go +59 -0
  346. data/ext/vendor/golang.org/x/net/internal/socket/zsys_solaris_amd64.go +60 -0
  347. data/ext/vendor/golang.org/x/net/internal/timeseries/timeseries.go +525 -0
  348. data/ext/vendor/golang.org/x/net/internal/timeseries/timeseries_test.go +170 -0
  349. data/ext/vendor/golang.org/x/net/ipv4/batch.go +191 -0
  350. data/ext/vendor/golang.org/x/net/ipv4/bpf_test.go +93 -0
  351. data/ext/vendor/golang.org/x/net/ipv4/control.go +144 -0
  352. data/ext/vendor/golang.org/x/net/ipv4/control_bsd.go +40 -0
  353. data/ext/vendor/golang.org/x/net/ipv4/control_pktinfo.go +39 -0
  354. data/ext/vendor/golang.org/x/net/ipv4/control_stub.go +13 -0
  355. data/ext/vendor/golang.org/x/net/ipv4/control_test.go +21 -0
  356. data/ext/vendor/golang.org/x/net/ipv4/control_unix.go +73 -0
  357. data/ext/vendor/golang.org/x/net/ipv4/control_windows.go +16 -0
  358. data/ext/vendor/golang.org/x/net/ipv4/defs_darwin.go +77 -0
  359. data/ext/vendor/golang.org/x/net/ipv4/defs_dragonfly.go +38 -0
  360. data/ext/vendor/golang.org/x/net/ipv4/defs_freebsd.go +75 -0
  361. data/ext/vendor/golang.org/x/net/ipv4/defs_linux.go +122 -0
  362. data/ext/vendor/golang.org/x/net/ipv4/defs_netbsd.go +37 -0
  363. data/ext/vendor/golang.org/x/net/ipv4/defs_openbsd.go +37 -0
  364. data/ext/vendor/golang.org/x/net/ipv4/defs_solaris.go +84 -0
  365. data/ext/vendor/golang.org/x/net/ipv4/dgramopt.go +265 -0
  366. data/ext/vendor/golang.org/x/net/ipv4/doc.go +244 -0
  367. data/ext/vendor/golang.org/x/net/ipv4/endpoint.go +187 -0
  368. data/ext/vendor/golang.org/x/net/ipv4/example_test.go +224 -0
  369. data/ext/vendor/golang.org/x/net/ipv4/gen.go +199 -0
  370. data/ext/vendor/golang.org/x/net/ipv4/genericopt.go +57 -0
  371. data/ext/vendor/golang.org/x/net/ipv4/header.go +159 -0
  372. data/ext/vendor/golang.org/x/net/ipv4/header_test.go +228 -0
  373. data/ext/vendor/golang.org/x/net/ipv4/helper.go +63 -0
  374. data/ext/vendor/golang.org/x/net/ipv4/iana.go +34 -0
  375. data/ext/vendor/golang.org/x/net/ipv4/icmp.go +57 -0
  376. data/ext/vendor/golang.org/x/net/ipv4/icmp_linux.go +25 -0
  377. data/ext/vendor/golang.org/x/net/ipv4/icmp_stub.go +25 -0
  378. data/ext/vendor/golang.org/x/net/ipv4/icmp_test.go +95 -0
  379. data/ext/vendor/golang.org/x/net/ipv4/multicast_test.go +334 -0
  380. data/ext/vendor/golang.org/x/net/ipv4/multicastlistener_test.go +265 -0
  381. data/ext/vendor/golang.org/x/net/ipv4/multicastsockopt_test.go +195 -0
  382. data/ext/vendor/golang.org/x/net/ipv4/packet.go +69 -0
  383. data/ext/vendor/golang.org/x/net/ipv4/packet_go1_8.go +56 -0
  384. data/ext/vendor/golang.org/x/net/ipv4/packet_go1_9.go +67 -0
  385. data/ext/vendor/golang.org/x/net/ipv4/payload.go +23 -0
  386. data/ext/vendor/golang.org/x/net/ipv4/payload_cmsg.go +36 -0
  387. data/ext/vendor/golang.org/x/net/ipv4/payload_cmsg_go1_8.go +59 -0
  388. data/ext/vendor/golang.org/x/net/ipv4/payload_cmsg_go1_9.go +67 -0
  389. data/ext/vendor/golang.org/x/net/ipv4/payload_nocmsg.go +42 -0
  390. data/ext/vendor/golang.org/x/net/ipv4/readwrite_go1_8_test.go +248 -0
  391. data/ext/vendor/golang.org/x/net/ipv4/readwrite_go1_9_test.go +388 -0
  392. data/ext/vendor/golang.org/x/net/ipv4/readwrite_test.go +140 -0
  393. data/ext/vendor/golang.org/x/net/ipv4/sockopt.go +44 -0
  394. data/ext/vendor/golang.org/x/net/ipv4/sockopt_posix.go +71 -0
  395. data/ext/vendor/golang.org/x/net/ipv4/sockopt_stub.go +42 -0
  396. data/ext/vendor/golang.org/x/net/ipv4/sys_asmreq.go +119 -0
  397. data/ext/vendor/golang.org/x/net/ipv4/sys_asmreq_stub.go +25 -0
  398. data/ext/vendor/golang.org/x/net/ipv4/sys_asmreqn.go +42 -0
  399. data/ext/vendor/golang.org/x/net/ipv4/sys_asmreqn_stub.go +21 -0
  400. data/ext/vendor/golang.org/x/net/ipv4/sys_bpf.go +23 -0
  401. data/ext/vendor/golang.org/x/net/ipv4/sys_bpf_stub.go +16 -0
  402. data/ext/vendor/golang.org/x/net/ipv4/sys_bsd.go +37 -0
  403. data/ext/vendor/golang.org/x/net/ipv4/sys_darwin.go +93 -0
  404. data/ext/vendor/golang.org/x/net/ipv4/sys_dragonfly.go +35 -0
  405. data/ext/vendor/golang.org/x/net/ipv4/sys_freebsd.go +76 -0
  406. data/ext/vendor/golang.org/x/net/ipv4/sys_linux.go +59 -0
  407. data/ext/vendor/golang.org/x/net/ipv4/sys_solaris.go +57 -0
  408. data/ext/vendor/golang.org/x/net/ipv4/sys_ssmreq.go +54 -0
  409. data/ext/vendor/golang.org/x/net/ipv4/sys_ssmreq_stub.go +21 -0
  410. data/ext/vendor/golang.org/x/net/ipv4/sys_stub.go +13 -0
  411. data/ext/vendor/golang.org/x/net/ipv4/sys_windows.go +67 -0
  412. data/ext/vendor/golang.org/x/net/ipv4/unicast_test.go +247 -0
  413. data/ext/vendor/golang.org/x/net/ipv4/unicastsockopt_test.go +148 -0
  414. data/ext/vendor/golang.org/x/net/ipv4/zsys_darwin.go +99 -0
  415. data/ext/vendor/golang.org/x/net/ipv4/zsys_dragonfly.go +31 -0
  416. data/ext/vendor/golang.org/x/net/ipv4/zsys_freebsd_386.go +93 -0
  417. data/ext/vendor/golang.org/x/net/ipv4/zsys_freebsd_amd64.go +95 -0
  418. data/ext/vendor/golang.org/x/net/ipv4/zsys_freebsd_arm.go +95 -0
  419. data/ext/vendor/golang.org/x/net/ipv4/zsys_linux_386.go +148 -0
  420. data/ext/vendor/golang.org/x/net/ipv4/zsys_linux_amd64.go +150 -0
  421. data/ext/vendor/golang.org/x/net/ipv4/zsys_linux_arm.go +148 -0
  422. data/ext/vendor/golang.org/x/net/ipv4/zsys_linux_arm64.go +150 -0
  423. data/ext/vendor/golang.org/x/net/ipv4/zsys_linux_mips.go +148 -0
  424. data/ext/vendor/golang.org/x/net/ipv4/zsys_linux_mips64.go +150 -0
  425. data/ext/vendor/golang.org/x/net/ipv4/zsys_linux_mips64le.go +150 -0
  426. data/ext/vendor/golang.org/x/net/ipv4/zsys_linux_mipsle.go +148 -0
  427. data/ext/vendor/golang.org/x/net/ipv4/zsys_linux_ppc.go +148 -0
  428. data/ext/vendor/golang.org/x/net/ipv4/zsys_linux_ppc64.go +150 -0
  429. data/ext/vendor/golang.org/x/net/ipv4/zsys_linux_ppc64le.go +150 -0
  430. data/ext/vendor/golang.org/x/net/ipv4/zsys_linux_s390x.go +150 -0
  431. data/ext/vendor/golang.org/x/net/ipv4/zsys_netbsd.go +30 -0
  432. data/ext/vendor/golang.org/x/net/ipv4/zsys_openbsd.go +30 -0
  433. data/ext/vendor/golang.org/x/net/ipv4/zsys_solaris.go +100 -0
  434. data/ext/vendor/golang.org/x/net/ipv6/batch.go +119 -0
  435. data/ext/vendor/golang.org/x/net/ipv6/bpf_test.go +96 -0
  436. data/ext/vendor/golang.org/x/net/ipv6/control.go +187 -0
  437. data/ext/vendor/golang.org/x/net/ipv6/control_rfc2292_unix.go +48 -0
  438. data/ext/vendor/golang.org/x/net/ipv6/control_rfc3542_unix.go +94 -0
  439. data/ext/vendor/golang.org/x/net/ipv6/control_stub.go +13 -0
  440. data/ext/vendor/golang.org/x/net/ipv6/control_test.go +21 -0
  441. data/ext/vendor/golang.org/x/net/ipv6/control_unix.go +55 -0
  442. data/ext/vendor/golang.org/x/net/ipv6/control_windows.go +16 -0
  443. data/ext/vendor/golang.org/x/net/ipv6/defs_darwin.go +112 -0
  444. data/ext/vendor/golang.org/x/net/ipv6/defs_dragonfly.go +84 -0
  445. data/ext/vendor/golang.org/x/net/ipv6/defs_freebsd.go +105 -0
  446. data/ext/vendor/golang.org/x/net/ipv6/defs_linux.go +147 -0
  447. data/ext/vendor/golang.org/x/net/ipv6/defs_netbsd.go +80 -0
  448. data/ext/vendor/golang.org/x/net/ipv6/defs_openbsd.go +89 -0
  449. data/ext/vendor/golang.org/x/net/ipv6/defs_solaris.go +114 -0
  450. data/ext/vendor/golang.org/x/net/ipv6/dgramopt.go +302 -0
  451. data/ext/vendor/golang.org/x/net/ipv6/doc.go +243 -0
  452. data/ext/vendor/golang.org/x/net/ipv6/endpoint.go +128 -0
  453. data/ext/vendor/golang.org/x/net/ipv6/example_test.go +216 -0
  454. data/ext/vendor/golang.org/x/net/ipv6/gen.go +199 -0
  455. data/ext/vendor/golang.org/x/net/ipv6/genericopt.go +58 -0
  456. data/ext/vendor/golang.org/x/net/ipv6/header.go +55 -0
  457. data/ext/vendor/golang.org/x/net/ipv6/header_test.go +55 -0
  458. data/ext/vendor/golang.org/x/net/ipv6/helper.go +57 -0
  459. data/ext/vendor/golang.org/x/net/ipv6/iana.go +82 -0
  460. data/ext/vendor/golang.org/x/net/ipv6/icmp.go +60 -0
  461. data/ext/vendor/golang.org/x/net/ipv6/icmp_bsd.go +29 -0
  462. data/ext/vendor/golang.org/x/net/ipv6/icmp_linux.go +27 -0
  463. data/ext/vendor/golang.org/x/net/ipv6/icmp_solaris.go +27 -0
  464. data/ext/vendor/golang.org/x/net/ipv6/icmp_stub.go +23 -0
  465. data/ext/vendor/golang.org/x/net/ipv6/icmp_test.go +96 -0
  466. data/ext/vendor/golang.org/x/net/ipv6/icmp_windows.go +22 -0
  467. data/ext/vendor/golang.org/x/net/ipv6/mocktransponder_test.go +32 -0
  468. data/ext/vendor/golang.org/x/net/ipv6/multicast_test.go +264 -0
  469. data/ext/vendor/golang.org/x/net/ipv6/multicastlistener_test.go +261 -0
  470. data/ext/vendor/golang.org/x/net/ipv6/multicastsockopt_test.go +157 -0
  471. data/ext/vendor/golang.org/x/net/ipv6/payload.go +23 -0
  472. data/ext/vendor/golang.org/x/net/ipv6/payload_cmsg.go +35 -0
  473. data/ext/vendor/golang.org/x/net/ipv6/payload_cmsg_go1_8.go +55 -0
  474. data/ext/vendor/golang.org/x/net/ipv6/payload_cmsg_go1_9.go +57 -0
  475. data/ext/vendor/golang.org/x/net/ipv6/payload_nocmsg.go +41 -0
  476. data/ext/vendor/golang.org/x/net/ipv6/readwrite_go1_8_test.go +242 -0
  477. data/ext/vendor/golang.org/x/net/ipv6/readwrite_go1_9_test.go +373 -0
  478. data/ext/vendor/golang.org/x/net/ipv6/readwrite_test.go +148 -0
  479. data/ext/vendor/golang.org/x/net/ipv6/sockopt.go +43 -0
  480. data/ext/vendor/golang.org/x/net/ipv6/sockopt_posix.go +87 -0
  481. data/ext/vendor/golang.org/x/net/ipv6/sockopt_stub.go +46 -0
  482. data/ext/vendor/golang.org/x/net/ipv6/sockopt_test.go +133 -0
  483. data/ext/vendor/golang.org/x/net/ipv6/sys_asmreq.go +24 -0
  484. data/ext/vendor/golang.org/x/net/ipv6/sys_asmreq_stub.go +17 -0
  485. data/ext/vendor/golang.org/x/net/ipv6/sys_bpf.go +23 -0
  486. data/ext/vendor/golang.org/x/net/ipv6/sys_bpf_stub.go +16 -0
  487. data/ext/vendor/golang.org/x/net/ipv6/sys_bsd.go +57 -0
  488. data/ext/vendor/golang.org/x/net/ipv6/sys_darwin.go +106 -0
  489. data/ext/vendor/golang.org/x/net/ipv6/sys_freebsd.go +92 -0
  490. data/ext/vendor/golang.org/x/net/ipv6/sys_linux.go +74 -0
  491. data/ext/vendor/golang.org/x/net/ipv6/sys_solaris.go +74 -0
  492. data/ext/vendor/golang.org/x/net/ipv6/sys_ssmreq.go +54 -0
  493. data/ext/vendor/golang.org/x/net/ipv6/sys_ssmreq_stub.go +21 -0
  494. data/ext/vendor/golang.org/x/net/ipv6/sys_stub.go +13 -0
  495. data/ext/vendor/golang.org/x/net/ipv6/sys_windows.go +75 -0
  496. data/ext/vendor/golang.org/x/net/ipv6/unicast_test.go +184 -0
  497. data/ext/vendor/golang.org/x/net/ipv6/unicastsockopt_test.go +120 -0
  498. data/ext/vendor/golang.org/x/net/ipv6/zsys_darwin.go +131 -0
  499. data/ext/vendor/golang.org/x/net/ipv6/zsys_dragonfly.go +88 -0
  500. data/ext/vendor/golang.org/x/net/ipv6/zsys_freebsd_386.go +122 -0
  501. data/ext/vendor/golang.org/x/net/ipv6/zsys_freebsd_amd64.go +124 -0
  502. data/ext/vendor/golang.org/x/net/ipv6/zsys_freebsd_arm.go +124 -0
  503. data/ext/vendor/golang.org/x/net/ipv6/zsys_linux_386.go +170 -0
  504. data/ext/vendor/golang.org/x/net/ipv6/zsys_linux_amd64.go +172 -0
  505. data/ext/vendor/golang.org/x/net/ipv6/zsys_linux_arm.go +170 -0
  506. data/ext/vendor/golang.org/x/net/ipv6/zsys_linux_arm64.go +172 -0
  507. data/ext/vendor/golang.org/x/net/ipv6/zsys_linux_mips.go +170 -0
  508. data/ext/vendor/golang.org/x/net/ipv6/zsys_linux_mips64.go +172 -0
  509. data/ext/vendor/golang.org/x/net/ipv6/zsys_linux_mips64le.go +172 -0
  510. data/ext/vendor/golang.org/x/net/ipv6/zsys_linux_mipsle.go +170 -0
  511. data/ext/vendor/golang.org/x/net/ipv6/zsys_linux_ppc.go +170 -0
  512. data/ext/vendor/golang.org/x/net/ipv6/zsys_linux_ppc64.go +172 -0
  513. data/ext/vendor/golang.org/x/net/ipv6/zsys_linux_ppc64le.go +172 -0
  514. data/ext/vendor/golang.org/x/net/ipv6/zsys_linux_s390x.go +172 -0
  515. data/ext/vendor/golang.org/x/net/ipv6/zsys_netbsd.go +84 -0
  516. data/ext/vendor/golang.org/x/net/ipv6/zsys_openbsd.go +93 -0
  517. data/ext/vendor/golang.org/x/net/ipv6/zsys_solaris.go +131 -0
  518. data/ext/vendor/golang.org/x/net/lex/httplex/httplex.go +351 -0
  519. data/ext/vendor/golang.org/x/net/lex/httplex/httplex_test.go +119 -0
  520. data/ext/vendor/golang.org/x/net/lif/address.go +105 -0
  521. data/ext/vendor/golang.org/x/net/lif/address_test.go +123 -0
  522. data/ext/vendor/golang.org/x/net/lif/binary.go +115 -0
  523. data/ext/vendor/golang.org/x/net/lif/defs_solaris.go +90 -0
  524. data/ext/vendor/golang.org/x/net/lif/lif.go +43 -0
  525. data/ext/vendor/golang.org/x/net/lif/link.go +126 -0
  526. data/ext/vendor/golang.org/x/net/lif/link_test.go +63 -0
  527. data/ext/vendor/golang.org/x/net/lif/sys.go +21 -0
  528. data/ext/vendor/golang.org/x/net/lif/sys_solaris_amd64.s +8 -0
  529. data/ext/vendor/golang.org/x/net/lif/syscall.go +28 -0
  530. data/ext/vendor/golang.org/x/net/lif/zsys_solaris_amd64.go +103 -0
  531. data/ext/vendor/golang.org/x/net/nettest/conntest.go +456 -0
  532. data/ext/vendor/golang.org/x/net/nettest/conntest_go16.go +24 -0
  533. data/ext/vendor/golang.org/x/net/nettest/conntest_go17.go +24 -0
  534. data/ext/vendor/golang.org/x/net/nettest/conntest_test.go +76 -0
  535. data/ext/vendor/golang.org/x/net/netutil/listen.go +48 -0
  536. data/ext/vendor/golang.org/x/net/netutil/listen_test.go +101 -0
  537. data/ext/vendor/golang.org/x/net/proxy/direct.go +18 -0
  538. data/ext/vendor/golang.org/x/net/proxy/per_host.go +140 -0
  539. data/ext/vendor/golang.org/x/net/proxy/per_host_test.go +55 -0
  540. data/ext/vendor/golang.org/x/net/proxy/proxy.go +134 -0
  541. data/ext/vendor/golang.org/x/net/proxy/proxy_test.go +215 -0
  542. data/ext/vendor/golang.org/x/net/proxy/socks5.go +214 -0
  543. data/ext/vendor/golang.org/x/net/publicsuffix/gen.go +713 -0
  544. data/ext/vendor/golang.org/x/net/publicsuffix/list.go +135 -0
  545. data/ext/vendor/golang.org/x/net/publicsuffix/list_test.go +416 -0
  546. data/ext/vendor/golang.org/x/net/publicsuffix/table.go +9419 -0
  547. data/ext/vendor/golang.org/x/net/publicsuffix/table_test.go +16756 -0
  548. data/ext/vendor/golang.org/x/net/route/address.go +425 -0
  549. data/ext/vendor/golang.org/x/net/route/address_darwin_test.go +63 -0
  550. data/ext/vendor/golang.org/x/net/route/address_test.go +103 -0
  551. data/ext/vendor/golang.org/x/net/route/binary.go +90 -0
  552. data/ext/vendor/golang.org/x/net/route/defs_darwin.go +114 -0
  553. data/ext/vendor/golang.org/x/net/route/defs_dragonfly.go +113 -0
  554. data/ext/vendor/golang.org/x/net/route/defs_freebsd.go +337 -0
  555. data/ext/vendor/golang.org/x/net/route/defs_netbsd.go +112 -0
  556. data/ext/vendor/golang.org/x/net/route/defs_openbsd.go +116 -0
  557. data/ext/vendor/golang.org/x/net/route/interface.go +64 -0
  558. data/ext/vendor/golang.org/x/net/route/interface_announce.go +32 -0
  559. data/ext/vendor/golang.org/x/net/route/interface_classic.go +66 -0
  560. data/ext/vendor/golang.org/x/net/route/interface_freebsd.go +78 -0
  561. data/ext/vendor/golang.org/x/net/route/interface_multicast.go +30 -0
  562. data/ext/vendor/golang.org/x/net/route/interface_openbsd.go +90 -0
  563. data/ext/vendor/golang.org/x/net/route/message.go +72 -0
  564. data/ext/vendor/golang.org/x/net/route/message_darwin_test.go +34 -0
  565. data/ext/vendor/golang.org/x/net/route/message_freebsd_test.go +92 -0
  566. data/ext/vendor/golang.org/x/net/route/message_test.go +239 -0
  567. data/ext/vendor/golang.org/x/net/route/route.go +123 -0
  568. data/ext/vendor/golang.org/x/net/route/route_classic.go +67 -0
  569. data/ext/vendor/golang.org/x/net/route/route_openbsd.go +65 -0
  570. data/ext/vendor/golang.org/x/net/route/route_test.go +390 -0
  571. data/ext/vendor/golang.org/x/net/route/sys.go +39 -0
  572. data/ext/vendor/golang.org/x/net/route/sys_darwin.go +87 -0
  573. data/ext/vendor/golang.org/x/net/route/sys_dragonfly.go +76 -0
  574. data/ext/vendor/golang.org/x/net/route/sys_freebsd.go +155 -0
  575. data/ext/vendor/golang.org/x/net/route/sys_netbsd.go +71 -0
  576. data/ext/vendor/golang.org/x/net/route/sys_openbsd.go +80 -0
  577. data/ext/vendor/golang.org/x/net/route/syscall.go +28 -0
  578. data/ext/vendor/golang.org/x/net/route/zsys_darwin.go +99 -0
  579. data/ext/vendor/golang.org/x/net/route/zsys_dragonfly.go +98 -0
  580. data/ext/vendor/golang.org/x/net/route/zsys_freebsd_386.go +126 -0
  581. data/ext/vendor/golang.org/x/net/route/zsys_freebsd_amd64.go +123 -0
  582. data/ext/vendor/golang.org/x/net/route/zsys_freebsd_arm.go +123 -0
  583. data/ext/vendor/golang.org/x/net/route/zsys_netbsd.go +97 -0
  584. data/ext/vendor/golang.org/x/net/route/zsys_openbsd.go +101 -0
  585. data/ext/vendor/golang.org/x/net/trace/events.go +532 -0
  586. data/ext/vendor/golang.org/x/net/trace/histogram.go +365 -0
  587. data/ext/vendor/golang.org/x/net/trace/histogram_test.go +325 -0
  588. data/ext/vendor/golang.org/x/net/trace/trace.go +1082 -0
  589. data/ext/vendor/golang.org/x/net/trace/trace_go16.go +21 -0
  590. data/ext/vendor/golang.org/x/net/trace/trace_go17.go +21 -0
  591. data/ext/vendor/golang.org/x/net/trace/trace_test.go +178 -0
  592. data/ext/vendor/golang.org/x/net/webdav/file.go +796 -0
  593. data/ext/vendor/golang.org/x/net/webdav/file_go1.6.go +17 -0
  594. data/ext/vendor/golang.org/x/net/webdav/file_go1.7.go +16 -0
  595. data/ext/vendor/golang.org/x/net/webdav/file_test.go +1184 -0
  596. data/ext/vendor/golang.org/x/net/webdav/if.go +173 -0
  597. data/ext/vendor/golang.org/x/net/webdav/if_test.go +322 -0
  598. data/ext/vendor/golang.org/x/net/webdav/internal/xml/README +11 -0
  599. data/ext/vendor/golang.org/x/net/webdav/internal/xml/atom_test.go +56 -0
  600. data/ext/vendor/golang.org/x/net/webdav/internal/xml/example_test.go +151 -0
  601. data/ext/vendor/golang.org/x/net/webdav/internal/xml/marshal.go +1223 -0
  602. data/ext/vendor/golang.org/x/net/webdav/internal/xml/marshal_test.go +1939 -0
  603. data/ext/vendor/golang.org/x/net/webdav/internal/xml/read.go +692 -0
  604. data/ext/vendor/golang.org/x/net/webdav/internal/xml/read_test.go +744 -0
  605. data/ext/vendor/golang.org/x/net/webdav/internal/xml/typeinfo.go +371 -0
  606. data/ext/vendor/golang.org/x/net/webdav/internal/xml/xml.go +1998 -0
  607. data/ext/vendor/golang.org/x/net/webdav/internal/xml/xml_test.go +752 -0
  608. data/ext/vendor/golang.org/x/net/webdav/litmus_test_server.go +94 -0
  609. data/ext/vendor/golang.org/x/net/webdav/lock.go +445 -0
  610. data/ext/vendor/golang.org/x/net/webdav/lock_test.go +731 -0
  611. data/ext/vendor/golang.org/x/net/webdav/prop.go +418 -0
  612. data/ext/vendor/golang.org/x/net/webdav/prop_test.go +613 -0
  613. data/ext/vendor/golang.org/x/net/webdav/webdav.go +702 -0
  614. data/ext/vendor/golang.org/x/net/webdav/webdav_test.go +344 -0
  615. data/ext/vendor/golang.org/x/net/webdav/xml.go +519 -0
  616. data/ext/vendor/golang.org/x/net/webdav/xml_test.go +906 -0
  617. data/ext/vendor/golang.org/x/net/websocket/client.go +106 -0
  618. data/ext/vendor/golang.org/x/net/websocket/dial.go +24 -0
  619. data/ext/vendor/golang.org/x/net/websocket/dial_test.go +43 -0
  620. data/ext/vendor/golang.org/x/net/websocket/exampledial_test.go +31 -0
  621. data/ext/vendor/golang.org/x/net/websocket/examplehandler_test.go +26 -0
  622. data/ext/vendor/golang.org/x/net/websocket/hybi.go +583 -0
  623. data/ext/vendor/golang.org/x/net/websocket/hybi_test.go +608 -0
  624. data/ext/vendor/golang.org/x/net/websocket/server.go +113 -0
  625. data/ext/vendor/golang.org/x/net/websocket/websocket.go +448 -0
  626. data/ext/vendor/golang.org/x/net/websocket/websocket_test.go +665 -0
  627. data/ext/vendor/golang.org/x/net/xsrftoken/xsrf.go +94 -0
  628. data/ext/vendor/golang.org/x/net/xsrftoken/xsrf_test.go +83 -0
  629. data/ext/vendor/golang.org/x/text/AUTHORS +3 -0
  630. data/ext/vendor/golang.org/x/text/CONTRIBUTING.md +31 -0
  631. data/ext/vendor/golang.org/x/text/CONTRIBUTORS +3 -0
  632. data/ext/vendor/golang.org/x/text/LICENSE +27 -0
  633. data/ext/vendor/golang.org/x/text/PATENTS +22 -0
  634. data/ext/vendor/golang.org/x/text/README.md +91 -0
  635. data/ext/vendor/golang.org/x/text/cases/cases.go +162 -0
  636. data/ext/vendor/golang.org/x/text/cases/context.go +376 -0
  637. data/ext/vendor/golang.org/x/text/cases/context_test.go +438 -0
  638. data/ext/vendor/golang.org/x/text/cases/example_test.go +53 -0
  639. data/ext/vendor/golang.org/x/text/cases/fold.go +34 -0
  640. data/ext/vendor/golang.org/x/text/cases/fold_test.go +51 -0
  641. data/ext/vendor/golang.org/x/text/cases/gen.go +839 -0
  642. data/ext/vendor/golang.org/x/text/cases/gen_trieval.go +219 -0
  643. data/ext/vendor/golang.org/x/text/cases/icu.go +61 -0
  644. data/ext/vendor/golang.org/x/text/cases/icu_test.go +210 -0
  645. data/ext/vendor/golang.org/x/text/cases/info.go +82 -0
  646. data/ext/vendor/golang.org/x/text/cases/map.go +816 -0
  647. data/ext/vendor/golang.org/x/text/cases/map_test.go +950 -0
  648. data/ext/vendor/golang.org/x/text/cases/tables.go +2251 -0
  649. data/ext/vendor/golang.org/x/text/cases/tables_test.go +1158 -0
  650. data/ext/vendor/golang.org/x/text/cases/trieval.go +215 -0
  651. data/ext/vendor/golang.org/x/text/cmd/gotext/doc.go +35 -0
  652. data/ext/vendor/golang.org/x/text/cmd/gotext/extract.go +195 -0
  653. data/ext/vendor/golang.org/x/text/cmd/gotext/main.go +356 -0
  654. data/ext/vendor/golang.org/x/text/cmd/gotext/message.go +127 -0
  655. data/ext/vendor/golang.org/x/text/codereview.cfg +1 -0
  656. data/ext/vendor/golang.org/x/text/collate/build/builder.go +702 -0
  657. data/ext/vendor/golang.org/x/text/collate/build/builder_test.go +290 -0
  658. data/ext/vendor/golang.org/x/text/collate/build/colelem.go +294 -0
  659. data/ext/vendor/golang.org/x/text/collate/build/colelem_test.go +215 -0
  660. data/ext/vendor/golang.org/x/text/collate/build/contract.go +309 -0
  661. data/ext/vendor/golang.org/x/text/collate/build/contract_test.go +266 -0
  662. data/ext/vendor/golang.org/x/text/collate/build/order.go +393 -0
  663. data/ext/vendor/golang.org/x/text/collate/build/order_test.go +229 -0
  664. data/ext/vendor/golang.org/x/text/collate/build/table.go +81 -0
  665. data/ext/vendor/golang.org/x/text/collate/build/trie.go +290 -0
  666. data/ext/vendor/golang.org/x/text/collate/build/trie_test.go +107 -0
  667. data/ext/vendor/golang.org/x/text/collate/collate.go +403 -0
  668. data/ext/vendor/golang.org/x/text/collate/collate_test.go +482 -0
  669. data/ext/vendor/golang.org/x/text/collate/export_test.go +51 -0
  670. data/ext/vendor/golang.org/x/text/collate/index.go +32 -0
  671. data/ext/vendor/golang.org/x/text/collate/maketables.go +553 -0
  672. data/ext/vendor/golang.org/x/text/collate/option.go +239 -0
  673. data/ext/vendor/golang.org/x/text/collate/option_test.go +209 -0
  674. data/ext/vendor/golang.org/x/text/collate/reg_test.go +230 -0
  675. data/ext/vendor/golang.org/x/text/collate/sort.go +81 -0
  676. data/ext/vendor/golang.org/x/text/collate/sort_test.go +55 -0
  677. data/ext/vendor/golang.org/x/text/collate/table_test.go +291 -0
  678. data/ext/vendor/golang.org/x/text/collate/tables.go +73789 -0
  679. data/ext/vendor/golang.org/x/text/collate/tools/colcmp/Makefile +7 -0
  680. data/ext/vendor/golang.org/x/text/collate/tools/colcmp/chars.go +1156 -0
  681. data/ext/vendor/golang.org/x/text/collate/tools/colcmp/col.go +97 -0
  682. data/ext/vendor/golang.org/x/text/collate/tools/colcmp/colcmp.go +529 -0
  683. data/ext/vendor/golang.org/x/text/collate/tools/colcmp/darwin.go +111 -0
  684. data/ext/vendor/golang.org/x/text/collate/tools/colcmp/gen.go +183 -0
  685. data/ext/vendor/golang.org/x/text/collate/tools/colcmp/icu.go +209 -0
  686. data/ext/vendor/golang.org/x/text/currency/common.go +66 -0
  687. data/ext/vendor/golang.org/x/text/currency/currency.go +185 -0
  688. data/ext/vendor/golang.org/x/text/currency/currency_test.go +171 -0
  689. data/ext/vendor/golang.org/x/text/currency/example_test.go +27 -0
  690. data/ext/vendor/golang.org/x/text/currency/format.go +215 -0
  691. data/ext/vendor/golang.org/x/text/currency/format_test.go +70 -0
  692. data/ext/vendor/golang.org/x/text/currency/gen.go +400 -0
  693. data/ext/vendor/golang.org/x/text/currency/gen_common.go +70 -0
  694. data/ext/vendor/golang.org/x/text/currency/query.go +152 -0
  695. data/ext/vendor/golang.org/x/text/currency/query_test.go +107 -0
  696. data/ext/vendor/golang.org/x/text/currency/tables.go +2574 -0
  697. data/ext/vendor/golang.org/x/text/currency/tables_test.go +93 -0
  698. data/ext/vendor/golang.org/x/text/doc.go +13 -0
  699. data/ext/vendor/golang.org/x/text/encoding/charmap/charmap.go +249 -0
  700. data/ext/vendor/golang.org/x/text/encoding/charmap/charmap_test.go +258 -0
  701. data/ext/vendor/golang.org/x/text/encoding/charmap/maketables.go +556 -0
  702. data/ext/vendor/golang.org/x/text/encoding/charmap/tables.go +7410 -0
  703. data/ext/vendor/golang.org/x/text/encoding/encoding.go +335 -0
  704. data/ext/vendor/golang.org/x/text/encoding/encoding_test.go +290 -0
  705. data/ext/vendor/golang.org/x/text/encoding/example_test.go +42 -0
  706. data/ext/vendor/golang.org/x/text/encoding/htmlindex/gen.go +173 -0
  707. data/ext/vendor/golang.org/x/text/encoding/htmlindex/htmlindex.go +86 -0
  708. data/ext/vendor/golang.org/x/text/encoding/htmlindex/htmlindex_test.go +144 -0
  709. data/ext/vendor/golang.org/x/text/encoding/htmlindex/map.go +105 -0
  710. data/ext/vendor/golang.org/x/text/encoding/htmlindex/tables.go +352 -0
  711. data/ext/vendor/golang.org/x/text/encoding/ianaindex/example_test.go +27 -0
  712. data/ext/vendor/golang.org/x/text/encoding/ianaindex/gen.go +192 -0
  713. data/ext/vendor/golang.org/x/text/encoding/ianaindex/ianaindex.go +209 -0
  714. data/ext/vendor/golang.org/x/text/encoding/ianaindex/ianaindex_test.go +192 -0
  715. data/ext/vendor/golang.org/x/text/encoding/ianaindex/tables.go +2348 -0
  716. data/ext/vendor/golang.org/x/text/encoding/internal/enctest/enctest.go +180 -0
  717. data/ext/vendor/golang.org/x/text/encoding/internal/identifier/gen.go +137 -0
  718. data/ext/vendor/golang.org/x/text/encoding/internal/identifier/identifier.go +81 -0
  719. data/ext/vendor/golang.org/x/text/encoding/internal/identifier/mib.go +1621 -0
  720. data/ext/vendor/golang.org/x/text/encoding/internal/internal.go +75 -0
  721. data/ext/vendor/golang.org/x/text/encoding/japanese/all.go +12 -0
  722. data/ext/vendor/golang.org/x/text/encoding/japanese/all_test.go +248 -0
  723. data/ext/vendor/golang.org/x/text/encoding/japanese/eucjp.go +225 -0
  724. data/ext/vendor/golang.org/x/text/encoding/japanese/iso2022jp.go +299 -0
  725. data/ext/vendor/golang.org/x/text/encoding/japanese/maketables.go +161 -0
  726. data/ext/vendor/golang.org/x/text/encoding/japanese/shiftjis.go +189 -0
  727. data/ext/vendor/golang.org/x/text/encoding/japanese/tables.go +26971 -0
  728. data/ext/vendor/golang.org/x/text/encoding/korean/all_test.go +94 -0
  729. data/ext/vendor/golang.org/x/text/encoding/korean/euckr.go +177 -0
  730. data/ext/vendor/golang.org/x/text/encoding/korean/maketables.go +143 -0
  731. data/ext/vendor/golang.org/x/text/encoding/korean/tables.go +34152 -0
  732. data/ext/vendor/golang.org/x/text/encoding/simplifiedchinese/all.go +12 -0
  733. data/ext/vendor/golang.org/x/text/encoding/simplifiedchinese/all_test.go +143 -0
  734. data/ext/vendor/golang.org/x/text/encoding/simplifiedchinese/gbk.go +269 -0
  735. data/ext/vendor/golang.org/x/text/encoding/simplifiedchinese/hzgb2312.go +245 -0
  736. data/ext/vendor/golang.org/x/text/encoding/simplifiedchinese/maketables.go +161 -0
  737. data/ext/vendor/golang.org/x/text/encoding/simplifiedchinese/tables.go +43999 -0
  738. data/ext/vendor/golang.org/x/text/encoding/testdata/candide-gb18030.txt +510 -0
  739. data/ext/vendor/golang.org/x/text/encoding/testdata/candide-utf-16le.txt +0 -0
  740. data/ext/vendor/golang.org/x/text/encoding/testdata/candide-utf-32be.txt +0 -0
  741. data/ext/vendor/golang.org/x/text/encoding/testdata/candide-utf-8.txt +510 -0
  742. data/ext/vendor/golang.org/x/text/encoding/testdata/candide-windows-1252.txt +510 -0
  743. data/ext/vendor/golang.org/x/text/encoding/testdata/rashomon-euc-jp.txt +178 -0
  744. data/ext/vendor/golang.org/x/text/encoding/testdata/rashomon-iso-2022-jp.txt +178 -0
  745. data/ext/vendor/golang.org/x/text/encoding/testdata/rashomon-shift-jis.txt +178 -0
  746. data/ext/vendor/golang.org/x/text/encoding/testdata/rashomon-utf-8.txt +178 -0
  747. data/ext/vendor/golang.org/x/text/encoding/testdata/sunzi-bingfa-gb-levels-1-and-2-hz-gb2312.txt +107 -0
  748. data/ext/vendor/golang.org/x/text/encoding/testdata/sunzi-bingfa-gb-levels-1-and-2-utf-8.txt +107 -0
  749. data/ext/vendor/golang.org/x/text/encoding/testdata/sunzi-bingfa-simplified-gbk.txt +107 -0
  750. data/ext/vendor/golang.org/x/text/encoding/testdata/sunzi-bingfa-simplified-utf-8.txt +107 -0
  751. data/ext/vendor/golang.org/x/text/encoding/testdata/sunzi-bingfa-traditional-big5.txt +106 -0
  752. data/ext/vendor/golang.org/x/text/encoding/testdata/sunzi-bingfa-traditional-utf-8.txt +106 -0
  753. data/ext/vendor/golang.org/x/text/encoding/testdata/unsu-joh-eun-nal-euc-kr.txt +175 -0
  754. data/ext/vendor/golang.org/x/text/encoding/testdata/unsu-joh-eun-nal-utf-8.txt +175 -0
  755. data/ext/vendor/golang.org/x/text/encoding/traditionalchinese/all_test.go +114 -0
  756. data/ext/vendor/golang.org/x/text/encoding/traditionalchinese/big5.go +199 -0
  757. data/ext/vendor/golang.org/x/text/encoding/traditionalchinese/maketables.go +140 -0
  758. data/ext/vendor/golang.org/x/text/encoding/traditionalchinese/tables.go +37142 -0
  759. data/ext/vendor/golang.org/x/text/encoding/unicode/override.go +82 -0
  760. data/ext/vendor/golang.org/x/text/encoding/unicode/unicode.go +434 -0
  761. data/ext/vendor/golang.org/x/text/encoding/unicode/unicode_test.go +499 -0
  762. data/ext/vendor/golang.org/x/text/encoding/unicode/utf32/utf32.go +296 -0
  763. data/ext/vendor/golang.org/x/text/encoding/unicode/utf32/utf32_test.go +248 -0
  764. data/ext/vendor/golang.org/x/text/feature/plural/common.go +70 -0
  765. data/ext/vendor/golang.org/x/text/feature/plural/data_test.go +190 -0
  766. data/ext/vendor/golang.org/x/text/feature/plural/example_test.go +46 -0
  767. data/ext/vendor/golang.org/x/text/feature/plural/gen.go +513 -0
  768. data/ext/vendor/golang.org/x/text/feature/plural/gen_common.go +74 -0
  769. data/ext/vendor/golang.org/x/text/feature/plural/message.go +244 -0
  770. data/ext/vendor/golang.org/x/text/feature/plural/message_test.go +197 -0
  771. data/ext/vendor/golang.org/x/text/feature/plural/plural.go +258 -0
  772. data/ext/vendor/golang.org/x/text/feature/plural/plural_test.go +216 -0
  773. data/ext/vendor/golang.org/x/text/feature/plural/tables.go +540 -0
  774. data/ext/vendor/golang.org/x/text/gen.go +318 -0
  775. data/ext/vendor/golang.org/x/text/internal/catmsg/catmsg.go +366 -0
  776. data/ext/vendor/golang.org/x/text/internal/catmsg/catmsg_test.go +316 -0
  777. data/ext/vendor/golang.org/x/text/internal/catmsg/codec.go +407 -0
  778. data/ext/vendor/golang.org/x/text/internal/catmsg/varint.go +62 -0
  779. data/ext/vendor/golang.org/x/text/internal/catmsg/varint_test.go +123 -0
  780. data/ext/vendor/golang.org/x/text/internal/colltab/collate_test.go +121 -0
  781. data/ext/vendor/golang.org/x/text/internal/colltab/collelem.go +371 -0
  782. data/ext/vendor/golang.org/x/text/internal/colltab/collelem_test.go +183 -0
  783. data/ext/vendor/golang.org/x/text/internal/colltab/colltab.go +105 -0
  784. data/ext/vendor/golang.org/x/text/internal/colltab/colltab_test.go +64 -0
  785. data/ext/vendor/golang.org/x/text/internal/colltab/contract.go +145 -0
  786. data/ext/vendor/golang.org/x/text/internal/colltab/contract_test.go +131 -0
  787. data/ext/vendor/golang.org/x/text/internal/colltab/iter.go +178 -0
  788. data/ext/vendor/golang.org/x/text/internal/colltab/iter_test.go +63 -0
  789. data/ext/vendor/golang.org/x/text/internal/colltab/numeric.go +236 -0
  790. data/ext/vendor/golang.org/x/text/internal/colltab/numeric_test.go +159 -0
  791. data/ext/vendor/golang.org/x/text/internal/colltab/table.go +275 -0
  792. data/ext/vendor/golang.org/x/text/internal/colltab/trie.go +159 -0
  793. data/ext/vendor/golang.org/x/text/internal/colltab/trie_test.go +106 -0
  794. data/ext/vendor/golang.org/x/text/internal/colltab/weighter.go +31 -0
  795. data/ext/vendor/golang.org/x/text/internal/colltab/weighter_test.go +42 -0
  796. data/ext/vendor/golang.org/x/text/internal/export/README +4 -0
  797. data/ext/vendor/golang.org/x/text/internal/export/idna/common_test.go +55 -0
  798. data/ext/vendor/golang.org/x/text/internal/export/idna/example_test.go +68 -0
  799. data/ext/vendor/golang.org/x/text/internal/export/idna/gen.go +276 -0
  800. data/ext/vendor/golang.org/x/text/internal/export/idna/gen_common.go +59 -0
  801. data/ext/vendor/golang.org/x/text/internal/export/idna/gen_test.go +91 -0
  802. data/ext/vendor/golang.org/x/text/internal/export/idna/gen_trieval.go +123 -0
  803. data/ext/vendor/golang.org/x/text/internal/export/idna/idna.go +717 -0
  804. data/ext/vendor/golang.org/x/text/internal/export/idna/idna_test.go +308 -0
  805. data/ext/vendor/golang.org/x/text/internal/export/idna/punycode.go +201 -0
  806. data/ext/vendor/golang.org/x/text/internal/export/idna/punycode_test.go +198 -0
  807. data/ext/vendor/golang.org/x/text/internal/export/idna/tables.go +4557 -0
  808. data/ext/vendor/golang.org/x/text/internal/export/idna/trie.go +70 -0
  809. data/ext/vendor/golang.org/x/text/internal/export/idna/trieval.go +119 -0
  810. data/ext/vendor/golang.org/x/text/internal/format/format.go +41 -0
  811. data/ext/vendor/golang.org/x/text/internal/gen.go +52 -0
  812. data/ext/vendor/golang.org/x/text/internal/gen/code.go +351 -0
  813. data/ext/vendor/golang.org/x/text/internal/gen/gen.go +281 -0
  814. data/ext/vendor/golang.org/x/text/internal/gen_test.go +38 -0
  815. data/ext/vendor/golang.org/x/text/internal/internal.go +51 -0
  816. data/ext/vendor/golang.org/x/text/internal/internal_test.go +38 -0
  817. data/ext/vendor/golang.org/x/text/internal/match.go +67 -0
  818. data/ext/vendor/golang.org/x/text/internal/match_test.go +56 -0
  819. data/ext/vendor/golang.org/x/text/internal/number/common.go +40 -0
  820. data/ext/vendor/golang.org/x/text/internal/number/decimal.go +498 -0
  821. data/ext/vendor/golang.org/x/text/internal/number/decimal_test.go +329 -0
  822. data/ext/vendor/golang.org/x/text/internal/number/format.go +540 -0
  823. data/ext/vendor/golang.org/x/text/internal/number/format_test.go +522 -0
  824. data/ext/vendor/golang.org/x/text/internal/number/gen.go +458 -0
  825. data/ext/vendor/golang.org/x/text/internal/number/gen_common.go +44 -0
  826. data/ext/vendor/golang.org/x/text/internal/number/number.go +154 -0
  827. data/ext/vendor/golang.org/x/text/internal/number/number_test.go +100 -0
  828. data/ext/vendor/golang.org/x/text/internal/number/pattern.go +485 -0
  829. data/ext/vendor/golang.org/x/text/internal/number/pattern_test.go +438 -0
  830. data/ext/vendor/golang.org/x/text/internal/number/roundingmode_string.go +16 -0
  831. data/ext/vendor/golang.org/x/text/internal/number/tables.go +1154 -0
  832. data/ext/vendor/golang.org/x/text/internal/number/tables_test.go +125 -0
  833. data/ext/vendor/golang.org/x/text/internal/stringset/set.go +86 -0
  834. data/ext/vendor/golang.org/x/text/internal/stringset/set_test.go +53 -0
  835. data/ext/vendor/golang.org/x/text/internal/tables.go +117 -0
  836. data/ext/vendor/golang.org/x/text/internal/tag/tag.go +100 -0
  837. data/ext/vendor/golang.org/x/text/internal/tag/tag_test.go +67 -0
  838. data/ext/vendor/golang.org/x/text/internal/testtext/codesize.go +53 -0
  839. data/ext/vendor/golang.org/x/text/internal/testtext/flag.go +22 -0
  840. data/ext/vendor/golang.org/x/text/internal/testtext/gc.go +14 -0
  841. data/ext/vendor/golang.org/x/text/internal/testtext/gccgo.go +11 -0
  842. data/ext/vendor/golang.org/x/text/internal/testtext/go1_6.go +23 -0
  843. data/ext/vendor/golang.org/x/text/internal/testtext/go1_7.go +17 -0
  844. data/ext/vendor/golang.org/x/text/internal/testtext/text.go +105 -0
  845. data/ext/vendor/golang.org/x/text/internal/triegen/compact.go +58 -0
  846. data/ext/vendor/golang.org/x/text/internal/triegen/data_test.go +875 -0
  847. data/ext/vendor/golang.org/x/text/internal/triegen/example_compact_test.go +71 -0
  848. data/ext/vendor/golang.org/x/text/internal/triegen/example_test.go +148 -0
  849. data/ext/vendor/golang.org/x/text/internal/triegen/gen_test.go +68 -0
  850. data/ext/vendor/golang.org/x/text/internal/triegen/print.go +251 -0
  851. data/ext/vendor/golang.org/x/text/internal/triegen/triegen.go +494 -0
  852. data/ext/vendor/golang.org/x/text/internal/ucd/example_test.go +81 -0
  853. data/ext/vendor/golang.org/x/text/internal/ucd/ucd.go +371 -0
  854. data/ext/vendor/golang.org/x/text/internal/ucd/ucd_test.go +105 -0
  855. data/ext/vendor/golang.org/x/text/internal/utf8internal/utf8internal.go +87 -0
  856. data/ext/vendor/golang.org/x/text/language/Makefile +16 -0
  857. data/ext/vendor/golang.org/x/text/language/common.go +16 -0
  858. data/ext/vendor/golang.org/x/text/language/coverage.go +197 -0
  859. data/ext/vendor/golang.org/x/text/language/coverage_test.go +154 -0
  860. data/ext/vendor/golang.org/x/text/language/display/dict.go +92 -0
  861. data/ext/vendor/golang.org/x/text/language/display/dict_test.go +39 -0
  862. data/ext/vendor/golang.org/x/text/language/display/display.go +420 -0
  863. data/ext/vendor/golang.org/x/text/language/display/display_test.go +705 -0
  864. data/ext/vendor/golang.org/x/text/language/display/examples_test.go +116 -0
  865. data/ext/vendor/golang.org/x/text/language/display/lookup.go +251 -0
  866. data/ext/vendor/golang.org/x/text/language/display/maketables.go +602 -0
  867. data/ext/vendor/golang.org/x/text/language/display/tables.go +50344 -0
  868. data/ext/vendor/golang.org/x/text/language/doc.go +102 -0
  869. data/ext/vendor/golang.org/x/text/language/examples_test.go +413 -0
  870. data/ext/vendor/golang.org/x/text/language/gen.go +1706 -0
  871. data/ext/vendor/golang.org/x/text/language/gen_common.go +20 -0
  872. data/ext/vendor/golang.org/x/text/language/gen_index.go +162 -0
  873. data/ext/vendor/golang.org/x/text/language/go1_1.go +38 -0
  874. data/ext/vendor/golang.org/x/text/language/go1_2.go +11 -0
  875. data/ext/vendor/golang.org/x/text/language/httpexample_test.go +48 -0
  876. data/ext/vendor/golang.org/x/text/language/index.go +769 -0
  877. data/ext/vendor/golang.org/x/text/language/language.go +887 -0
  878. data/ext/vendor/golang.org/x/text/language/language_test.go +878 -0
  879. data/ext/vendor/golang.org/x/text/language/lookup.go +396 -0
  880. data/ext/vendor/golang.org/x/text/language/lookup_test.go +457 -0
  881. data/ext/vendor/golang.org/x/text/language/match.go +933 -0
  882. data/ext/vendor/golang.org/x/text/language/match_test.go +505 -0
  883. data/ext/vendor/golang.org/x/text/language/parse.go +859 -0
  884. data/ext/vendor/golang.org/x/text/language/parse_test.go +517 -0
  885. data/ext/vendor/golang.org/x/text/language/tables.go +3675 -0
  886. data/ext/vendor/golang.org/x/text/language/tags.go +143 -0
  887. data/ext/vendor/golang.org/x/text/language/testdata/CLDRLocaleMatcherTest.txt +389 -0
  888. data/ext/vendor/golang.org/x/text/language/testdata/GoLocaleMatcherTest.txt +226 -0
  889. data/ext/vendor/golang.org/x/text/message/catalog.go +28 -0
  890. data/ext/vendor/golang.org/x/text/message/catalog/catalog.go +292 -0
  891. data/ext/vendor/golang.org/x/text/message/catalog/catalog_test.go +194 -0
  892. data/ext/vendor/golang.org/x/text/message/catalog/dict.go +90 -0
  893. data/ext/vendor/golang.org/x/text/message/doc.go +100 -0
  894. data/ext/vendor/golang.org/x/text/message/examples_test.go +42 -0
  895. data/ext/vendor/golang.org/x/text/message/fmt_test.go +1889 -0
  896. data/ext/vendor/golang.org/x/text/message/format.go +532 -0
  897. data/ext/vendor/golang.org/x/text/message/message.go +169 -0
  898. data/ext/vendor/golang.org/x/text/message/message_test.go +181 -0
  899. data/ext/vendor/golang.org/x/text/message/print.go +1194 -0
  900. data/ext/vendor/golang.org/x/text/number/doc.go +28 -0
  901. data/ext/vendor/golang.org/x/text/number/examples_test.go +28 -0
  902. data/ext/vendor/golang.org/x/text/number/format.go +122 -0
  903. data/ext/vendor/golang.org/x/text/number/format_test.go +107 -0
  904. data/ext/vendor/golang.org/x/text/number/number.go +77 -0
  905. data/ext/vendor/golang.org/x/text/number/number_test.go +190 -0
  906. data/ext/vendor/golang.org/x/text/number/option.go +177 -0
  907. data/ext/vendor/golang.org/x/text/runes/cond.go +187 -0
  908. data/ext/vendor/golang.org/x/text/runes/cond_test.go +282 -0
  909. data/ext/vendor/golang.org/x/text/runes/example_test.go +60 -0
  910. data/ext/vendor/golang.org/x/text/runes/runes.go +355 -0
  911. data/ext/vendor/golang.org/x/text/runes/runes_test.go +664 -0
  912. data/ext/vendor/golang.org/x/text/search/index.go +35 -0
  913. data/ext/vendor/golang.org/x/text/search/pattern.go +155 -0
  914. data/ext/vendor/golang.org/x/text/search/pattern_test.go +357 -0
  915. data/ext/vendor/golang.org/x/text/search/search.go +237 -0
  916. data/ext/vendor/golang.org/x/text/search/tables.go +12448 -0
  917. data/ext/vendor/golang.org/x/text/secure/bidirule/bench_test.go +54 -0
  918. data/ext/vendor/golang.org/x/text/secure/bidirule/bidirule.go +340 -0
  919. data/ext/vendor/golang.org/x/text/secure/bidirule/bidirule_test.go +851 -0
  920. data/ext/vendor/golang.org/x/text/secure/doc.go +6 -0
  921. data/ext/vendor/golang.org/x/text/secure/precis/benchmark_test.go +82 -0
  922. data/ext/vendor/golang.org/x/text/secure/precis/class.go +36 -0
  923. data/ext/vendor/golang.org/x/text/secure/precis/class_test.go +50 -0
  924. data/ext/vendor/golang.org/x/text/secure/precis/context.go +139 -0
  925. data/ext/vendor/golang.org/x/text/secure/precis/doc.go +14 -0
  926. data/ext/vendor/golang.org/x/text/secure/precis/enforce_test.go +396 -0
  927. data/ext/vendor/golang.org/x/text/secure/precis/gen.go +310 -0
  928. data/ext/vendor/golang.org/x/text/secure/precis/gen_trieval.go +68 -0
  929. data/ext/vendor/golang.org/x/text/secure/precis/nickname.go +72 -0
  930. data/ext/vendor/golang.org/x/text/secure/precis/options.go +157 -0
  931. data/ext/vendor/golang.org/x/text/secure/precis/profile.go +402 -0
  932. data/ext/vendor/golang.org/x/text/secure/precis/profile_test.go +149 -0
  933. data/ext/vendor/golang.org/x/text/secure/precis/profiles.go +78 -0
  934. data/ext/vendor/golang.org/x/text/secure/precis/tables.go +3887 -0
  935. data/ext/vendor/golang.org/x/text/secure/precis/tables_test.go +69 -0
  936. data/ext/vendor/golang.org/x/text/secure/precis/transformer.go +32 -0
  937. data/ext/vendor/golang.org/x/text/secure/precis/trieval.go +64 -0
  938. data/ext/vendor/golang.org/x/text/transform/examples_test.go +37 -0
  939. data/ext/vendor/golang.org/x/text/transform/transform.go +705 -0
  940. data/ext/vendor/golang.org/x/text/transform/transform_test.go +1317 -0
  941. data/ext/vendor/golang.org/x/text/unicode/bidi/bidi.go +198 -0
  942. data/ext/vendor/golang.org/x/text/unicode/bidi/bracket.go +335 -0
  943. data/ext/vendor/golang.org/x/text/unicode/bidi/core.go +1058 -0
  944. data/ext/vendor/golang.org/x/text/unicode/bidi/core_test.go +224 -0
  945. data/ext/vendor/golang.org/x/text/unicode/bidi/gen.go +133 -0
  946. data/ext/vendor/golang.org/x/text/unicode/bidi/gen_ranges.go +57 -0
  947. data/ext/vendor/golang.org/x/text/unicode/bidi/gen_trieval.go +64 -0
  948. data/ext/vendor/golang.org/x/text/unicode/bidi/prop.go +206 -0
  949. data/ext/vendor/golang.org/x/text/unicode/bidi/ranges_test.go +53 -0
  950. data/ext/vendor/golang.org/x/text/unicode/bidi/tables.go +1813 -0
  951. data/ext/vendor/golang.org/x/text/unicode/bidi/tables_test.go +82 -0
  952. data/ext/vendor/golang.org/x/text/unicode/bidi/trieval.go +60 -0
  953. data/ext/vendor/golang.org/x/text/unicode/cldr/base.go +100 -0
  954. data/ext/vendor/golang.org/x/text/unicode/cldr/cldr.go +130 -0
  955. data/ext/vendor/golang.org/x/text/unicode/cldr/cldr_test.go +27 -0
  956. data/ext/vendor/golang.org/x/text/unicode/cldr/collate.go +359 -0
  957. data/ext/vendor/golang.org/x/text/unicode/cldr/collate_test.go +275 -0
  958. data/ext/vendor/golang.org/x/text/unicode/cldr/data_test.go +186 -0
  959. data/ext/vendor/golang.org/x/text/unicode/cldr/decode.go +171 -0
  960. data/ext/vendor/golang.org/x/text/unicode/cldr/examples_test.go +21 -0
  961. data/ext/vendor/golang.org/x/text/unicode/cldr/makexml.go +400 -0
  962. data/ext/vendor/golang.org/x/text/unicode/cldr/resolve.go +602 -0
  963. data/ext/vendor/golang.org/x/text/unicode/cldr/resolve_test.go +368 -0
  964. data/ext/vendor/golang.org/x/text/unicode/cldr/slice.go +144 -0
  965. data/ext/vendor/golang.org/x/text/unicode/cldr/slice_test.go +175 -0
  966. data/ext/vendor/golang.org/x/text/unicode/cldr/xml.go +1487 -0
  967. data/ext/vendor/golang.org/x/text/unicode/doc.go +8 -0
  968. data/ext/vendor/golang.org/x/text/unicode/norm/composition.go +508 -0
  969. data/ext/vendor/golang.org/x/text/unicode/norm/composition_test.go +130 -0
  970. data/ext/vendor/golang.org/x/text/unicode/norm/example_iter_test.go +82 -0
  971. data/ext/vendor/golang.org/x/text/unicode/norm/example_test.go +27 -0
  972. data/ext/vendor/golang.org/x/text/unicode/norm/forminfo.go +259 -0
  973. data/ext/vendor/golang.org/x/text/unicode/norm/forminfo_test.go +54 -0
  974. data/ext/vendor/golang.org/x/text/unicode/norm/input.go +109 -0
  975. data/ext/vendor/golang.org/x/text/unicode/norm/iter.go +457 -0
  976. data/ext/vendor/golang.org/x/text/unicode/norm/iter_test.go +98 -0
  977. data/ext/vendor/golang.org/x/text/unicode/norm/maketables.go +976 -0
  978. data/ext/vendor/golang.org/x/text/unicode/norm/norm_test.go +14 -0
  979. data/ext/vendor/golang.org/x/text/unicode/norm/normalize.go +609 -0
  980. data/ext/vendor/golang.org/x/text/unicode/norm/normalize_test.go +1287 -0
  981. data/ext/vendor/golang.org/x/text/unicode/norm/readwriter.go +125 -0
  982. data/ext/vendor/golang.org/x/text/unicode/norm/readwriter_test.go +56 -0
  983. data/ext/vendor/golang.org/x/text/unicode/norm/tables.go +7651 -0
  984. data/ext/vendor/golang.org/x/text/unicode/norm/transform.go +88 -0
  985. data/ext/vendor/golang.org/x/text/unicode/norm/transform_test.go +101 -0
  986. data/ext/vendor/golang.org/x/text/unicode/norm/trie.go +54 -0
  987. data/ext/vendor/golang.org/x/text/unicode/norm/triegen.go +117 -0
  988. data/ext/vendor/golang.org/x/text/unicode/norm/ucd_test.go +275 -0
  989. data/ext/vendor/golang.org/x/text/unicode/rangetable/gen.go +115 -0
  990. data/ext/vendor/golang.org/x/text/unicode/rangetable/merge.go +260 -0
  991. data/ext/vendor/golang.org/x/text/unicode/rangetable/merge_test.go +184 -0
  992. data/ext/vendor/golang.org/x/text/unicode/rangetable/rangetable.go +70 -0
  993. data/ext/vendor/golang.org/x/text/unicode/rangetable/rangetable_test.go +55 -0
  994. data/ext/vendor/golang.org/x/text/unicode/rangetable/tables.go +6376 -0
  995. data/ext/vendor/golang.org/x/text/unicode/runenames/bits.go +59 -0
  996. data/ext/vendor/golang.org/x/text/unicode/runenames/example_test.go +118 -0
  997. data/ext/vendor/golang.org/x/text/unicode/runenames/gen.go +195 -0
  998. data/ext/vendor/golang.org/x/text/unicode/runenames/gen_bits.go +63 -0
  999. data/ext/vendor/golang.org/x/text/unicode/runenames/runenames.go +48 -0
  1000. data/ext/vendor/golang.org/x/text/unicode/runenames/runenames_test.go +46 -0
  1001. data/ext/vendor/golang.org/x/text/unicode/runenames/tables.go +15514 -0
  1002. data/ext/vendor/golang.org/x/text/width/common_test.go +92 -0
  1003. data/ext/vendor/golang.org/x/text/width/example_test.go +52 -0
  1004. data/ext/vendor/golang.org/x/text/width/gen.go +115 -0
  1005. data/ext/vendor/golang.org/x/text/width/gen_common.go +96 -0
  1006. data/ext/vendor/golang.org/x/text/width/gen_trieval.go +34 -0
  1007. data/ext/vendor/golang.org/x/text/width/kind_string.go +16 -0
  1008. data/ext/vendor/golang.org/x/text/width/runes_test.go +461 -0
  1009. data/ext/vendor/golang.org/x/text/width/tables.go +1316 -0
  1010. data/ext/vendor/golang.org/x/text/width/tables_test.go +59 -0
  1011. data/ext/vendor/golang.org/x/text/width/transform.go +239 -0
  1012. data/ext/vendor/golang.org/x/text/width/transform_test.go +701 -0
  1013. data/ext/vendor/golang.org/x/text/width/trieval.go +30 -0
  1014. data/ext/vendor/golang.org/x/text/width/width.go +206 -0
  1015. data/lib/ires/version.rb +1 -1
  1016. data/shared/darwin/ires.so +0 -0
  1017. data/shared/linux/ires.so +0 -0
  1018. metadata +1011 -23
  1019. data/ext/operate/image.go +0 -176
  1020. data/ext/util/uri/uri.go +0 -105
  1021. data/ext/vendor/github.com/satori/go.uuid/README.md +0 -65
  1022. data/ext/vendor/github.com/satori/go.uuid/benchmarks_test.go +0 -121
  1023. data/ext/vendor/github.com/satori/go.uuid/uuid.go +0 -488
  1024. data/ext/vendor/github.com/satori/go.uuid/uuid_test.go +0 -633
@@ -0,0 +1,20 @@
1
+ // Copyright 2014 The Go Authors. All rights reserved.
2
+ // Use of this source code is governed by a BSD-style
3
+ // license that can be found in the LICENSE file.
4
+
5
+ // +build ignore
6
+
7
+ package main
8
+
9
+ // This file contains code common to the maketables.go and the package code.
10
+
11
+ // langAliasType is the type of an alias in langAliasMap.
12
+ type langAliasType int8
13
+
14
+ const (
15
+ langDeprecated langAliasType = iota
16
+ langMacro
17
+ langLegacy
18
+
19
+ langAliasTypeUnknown langAliasType = -1
20
+ )
@@ -0,0 +1,162 @@
1
+ // Copyright 2015 The Go Authors. All rights reserved.
2
+ // Use of this source code is governed by a BSD-style
3
+ // license that can be found in the LICENSE file.
4
+
5
+ // +build ignore
6
+
7
+ package main
8
+
9
+ // This file generates derivative tables based on the language package itself.
10
+
11
+ import (
12
+ "bytes"
13
+ "flag"
14
+ "fmt"
15
+ "io/ioutil"
16
+ "log"
17
+ "reflect"
18
+ "sort"
19
+ "strings"
20
+
21
+ "golang.org/x/text/internal/gen"
22
+ "golang.org/x/text/language"
23
+ "golang.org/x/text/unicode/cldr"
24
+ )
25
+
26
+ var (
27
+ test = flag.Bool("test", false,
28
+ "test existing tables; can be used to compare web data with package data.")
29
+
30
+ draft = flag.String("draft",
31
+ "contributed",
32
+ `Minimal draft requirements (approved, contributed, provisional, unconfirmed).`)
33
+ )
34
+
35
+ func main() {
36
+ gen.Init()
37
+
38
+ // Read the CLDR zip file.
39
+ r := gen.OpenCLDRCoreZip()
40
+ defer r.Close()
41
+
42
+ d := &cldr.Decoder{}
43
+ data, err := d.DecodeZip(r)
44
+ if err != nil {
45
+ log.Fatalf("DecodeZip: %v", err)
46
+ }
47
+
48
+ w := gen.NewCodeWriter()
49
+ defer func() {
50
+ buf := &bytes.Buffer{}
51
+
52
+ if _, err = w.WriteGo(buf, "language"); err != nil {
53
+ log.Fatalf("Error formatting file index.go: %v", err)
54
+ }
55
+
56
+ // Since we're generating a table for our own package we need to rewrite
57
+ // doing the equivalent of go fmt -r 'language.b -> b'. Using
58
+ // bytes.Replace will do.
59
+ out := bytes.Replace(buf.Bytes(), []byte("language."), nil, -1)
60
+ if err := ioutil.WriteFile("index.go", out, 0600); err != nil {
61
+ log.Fatalf("Could not create file index.go: %v", err)
62
+ }
63
+ }()
64
+
65
+ m := map[language.Tag]bool{}
66
+ for _, lang := range data.Locales() {
67
+ // We include all locales unconditionally to be consistent with en_US.
68
+ // We want en_US, even though it has no data associated with it.
69
+
70
+ // TODO: put any of the languages for which no data exists at the end
71
+ // of the index. This allows all components based on ICU to use that
72
+ // as the cutoff point.
73
+ // if x := data.RawLDML(lang); false ||
74
+ // x.LocaleDisplayNames != nil ||
75
+ // x.Characters != nil ||
76
+ // x.Delimiters != nil ||
77
+ // x.Measurement != nil ||
78
+ // x.Dates != nil ||
79
+ // x.Numbers != nil ||
80
+ // x.Units != nil ||
81
+ // x.ListPatterns != nil ||
82
+ // x.Collations != nil ||
83
+ // x.Segmentations != nil ||
84
+ // x.Rbnf != nil ||
85
+ // x.Annotations != nil ||
86
+ // x.Metadata != nil {
87
+
88
+ // TODO: support POSIX natively, albeit non-standard.
89
+ tag := language.Make(strings.Replace(lang, "_POSIX", "-u-va-posix", 1))
90
+ m[tag] = true
91
+ // }
92
+ }
93
+ // Include locales for plural rules, which uses a different structure.
94
+ for _, plurals := range data.Supplemental().Plurals {
95
+ for _, rules := range plurals.PluralRules {
96
+ for _, lang := range strings.Split(rules.Locales, " ") {
97
+ m[language.Make(lang)] = true
98
+ }
99
+ }
100
+ }
101
+
102
+ var core, special []language.Tag
103
+
104
+ for t := range m {
105
+ if x := t.Extensions(); len(x) != 0 && fmt.Sprint(x) != "[u-va-posix]" {
106
+ log.Fatalf("Unexpected extension %v in %v", x, t)
107
+ }
108
+ if len(t.Variants()) == 0 && len(t.Extensions()) == 0 {
109
+ core = append(core, t)
110
+ } else {
111
+ special = append(special, t)
112
+ }
113
+ }
114
+
115
+ w.WriteComment(`
116
+ NumCompactTags is the number of common tags. The maximum tag is
117
+ NumCompactTags-1.`)
118
+ w.WriteConst("NumCompactTags", len(core)+len(special))
119
+
120
+ sort.Sort(byAlpha(special))
121
+ w.WriteVar("specialTags", special)
122
+
123
+ // TODO: order by frequency?
124
+ sort.Sort(byAlpha(core))
125
+
126
+ // Size computations are just an estimate.
127
+ w.Size += int(reflect.TypeOf(map[uint32]uint16{}).Size())
128
+ w.Size += len(core) * 6 // size of uint32 and uint16
129
+
130
+ fmt.Fprintln(w)
131
+ fmt.Fprintln(w, "var coreTags = map[uint32]uint16{")
132
+ fmt.Fprintln(w, "0x0: 0, // und")
133
+ i := len(special) + 1 // Und and special tags already written.
134
+ for _, t := range core {
135
+ if t == language.Und {
136
+ continue
137
+ }
138
+ fmt.Fprint(w.Hash, t, i)
139
+ b, s, r := t.Raw()
140
+ fmt.Fprintf(w, "0x%s%s%s: %d, // %s\n",
141
+ getIndex(b, 3), // 3 is enough as it is guaranteed to be a compact number
142
+ getIndex(s, 2),
143
+ getIndex(r, 3),
144
+ i, t)
145
+ i++
146
+ }
147
+ fmt.Fprintln(w, "}")
148
+ }
149
+
150
+ // getIndex prints the subtag type and extracts its index of size nibble.
151
+ // If the index is less than n nibbles, the result is prefixed with 0s.
152
+ func getIndex(x interface{}, n int) string {
153
+ s := fmt.Sprintf("%#v", x) // s is of form Type{typeID: 0x00}
154
+ s = s[strings.Index(s, "0x")+2 : len(s)-1]
155
+ return strings.Repeat("0", n-len(s)) + s
156
+ }
157
+
158
+ type byAlpha []language.Tag
159
+
160
+ func (a byAlpha) Len() int { return len(a) }
161
+ func (a byAlpha) Swap(i, j int) { a[i], a[j] = a[j], a[i] }
162
+ func (a byAlpha) Less(i, j int) bool { return a[i].String() < a[j].String() }
@@ -0,0 +1,38 @@
1
+ // Copyright 2013 The Go Authors. All rights reserved.
2
+ // Use of this source code is governed by a BSD-style
3
+ // license that can be found in the LICENSE file.
4
+
5
+ // +build !go1.2
6
+
7
+ package language
8
+
9
+ import "sort"
10
+
11
+ func sortStable(s sort.Interface) {
12
+ ss := stableSort{
13
+ s: s,
14
+ pos: make([]int, s.Len()),
15
+ }
16
+ for i := range ss.pos {
17
+ ss.pos[i] = i
18
+ }
19
+ sort.Sort(&ss)
20
+ }
21
+
22
+ type stableSort struct {
23
+ s sort.Interface
24
+ pos []int
25
+ }
26
+
27
+ func (s *stableSort) Len() int {
28
+ return len(s.pos)
29
+ }
30
+
31
+ func (s *stableSort) Less(i, j int) bool {
32
+ return s.s.Less(i, j) || !s.s.Less(j, i) && s.pos[i] < s.pos[j]
33
+ }
34
+
35
+ func (s *stableSort) Swap(i, j int) {
36
+ s.s.Swap(i, j)
37
+ s.pos[i], s.pos[j] = s.pos[j], s.pos[i]
38
+ }
@@ -0,0 +1,11 @@
1
+ // Copyright 2013 The Go Authors. All rights reserved.
2
+ // Use of this source code is governed by a BSD-style
3
+ // license that can be found in the LICENSE file.
4
+
5
+ // +build go1.2
6
+
7
+ package language
8
+
9
+ import "sort"
10
+
11
+ var sortStable = sort.Stable
@@ -0,0 +1,48 @@
1
+ // Copyright 2016 The Go Authors. All rights reserved.
2
+ // Use of this source code is governed by a BSD-style
3
+ // license that can be found in the LICENSE file.
4
+
5
+ package language_test
6
+
7
+ import (
8
+ "fmt"
9
+ "net/http"
10
+ "strings"
11
+
12
+ "golang.org/x/text/language"
13
+ )
14
+
15
+ // matcher is a language.Matcher configured for all supported languages.
16
+ var matcher = language.NewMatcher([]language.Tag{
17
+ language.BritishEnglish,
18
+ language.Norwegian,
19
+ language.German,
20
+ })
21
+
22
+ // handler is a http.HandlerFunc.
23
+ func handler(w http.ResponseWriter, r *http.Request) {
24
+ t, q, err := language.ParseAcceptLanguage(r.Header.Get("Accept-Language"))
25
+ // We ignore the error: the default language will be selected for t == nil.
26
+ tag, _, _ := matcher.Match(t...)
27
+ fmt.Printf("%5v (t: %6v; q: %3v; err: %v)\n", tag, t, q, err)
28
+ }
29
+
30
+ func ExampleParseAcceptLanguage() {
31
+ for _, al := range []string{
32
+ "nn;q=0.3, en-us;q=0.8, en,",
33
+ "gsw, en;q=0.7, en-US;q=0.8",
34
+ "gsw, nl, da",
35
+ "invalid",
36
+ } {
37
+ // Create dummy request with Accept-Language set and pass it to handler.
38
+ r, _ := http.NewRequest("GET", "example.com", strings.NewReader("Hello"))
39
+ r.Header.Set("Accept-Language", al)
40
+ handler(nil, r)
41
+ }
42
+
43
+ // Output:
44
+ // en-GB (t: [ en en-US nn]; q: [ 1 0.8 0.3]; err: <nil>)
45
+ // en-GB (t: [ gsw en-US en]; q: [ 1 0.8 0.7]; err: <nil>)
46
+ // de (t: [ gsw nl da]; q: [ 1 1 1]; err: <nil>)
47
+ // en-GB (t: []; q: []; err: language: tag is not well-formed)
48
+ }
@@ -0,0 +1,769 @@
1
+ // Code generated by running "go generate" in golang.org/x/text. DO NOT EDIT.
2
+
3
+ package language
4
+
5
+ // NumCompactTags is the number of common tags. The maximum tag is
6
+ // NumCompactTags-1.
7
+ const NumCompactTags = 754
8
+
9
+ var specialTags = []Tag{ // 2 elements
10
+ 0: {lang: 0xd7, region: 0x6e, script: 0x0, pVariant: 0x5, pExt: 0xe, str: "ca-ES-valencia"},
11
+ 1: {lang: 0x138, region: 0x135, script: 0x0, pVariant: 0x5, pExt: 0x5, str: "en-US-u-va-posix"},
12
+ } // Size: 72 bytes
13
+
14
+ var coreTags = map[uint32]uint16{
15
+ 0x0: 0, // und
16
+ 0x01600000: 3, // af
17
+ 0x016000d2: 4, // af-NA
18
+ 0x01600161: 5, // af-ZA
19
+ 0x01c00000: 6, // agq
20
+ 0x01c00052: 7, // agq-CM
21
+ 0x02100000: 8, // ak
22
+ 0x02100080: 9, // ak-GH
23
+ 0x02700000: 10, // am
24
+ 0x0270006f: 11, // am-ET
25
+ 0x03a00000: 12, // ar
26
+ 0x03a00001: 13, // ar-001
27
+ 0x03a00023: 14, // ar-AE
28
+ 0x03a00039: 15, // ar-BH
29
+ 0x03a00062: 16, // ar-DJ
30
+ 0x03a00067: 17, // ar-DZ
31
+ 0x03a0006b: 18, // ar-EG
32
+ 0x03a0006c: 19, // ar-EH
33
+ 0x03a0006d: 20, // ar-ER
34
+ 0x03a00097: 21, // ar-IL
35
+ 0x03a0009b: 22, // ar-IQ
36
+ 0x03a000a1: 23, // ar-JO
37
+ 0x03a000a8: 24, // ar-KM
38
+ 0x03a000ac: 25, // ar-KW
39
+ 0x03a000b0: 26, // ar-LB
40
+ 0x03a000b9: 27, // ar-LY
41
+ 0x03a000ba: 28, // ar-MA
42
+ 0x03a000c9: 29, // ar-MR
43
+ 0x03a000e1: 30, // ar-OM
44
+ 0x03a000ed: 31, // ar-PS
45
+ 0x03a000f3: 32, // ar-QA
46
+ 0x03a00108: 33, // ar-SA
47
+ 0x03a0010b: 34, // ar-SD
48
+ 0x03a00115: 35, // ar-SO
49
+ 0x03a00117: 36, // ar-SS
50
+ 0x03a0011c: 37, // ar-SY
51
+ 0x03a00120: 38, // ar-TD
52
+ 0x03a00128: 39, // ar-TN
53
+ 0x03a0015e: 40, // ar-YE
54
+ 0x04000000: 41, // ars
55
+ 0x04300000: 42, // as
56
+ 0x04300099: 43, // as-IN
57
+ 0x04400000: 44, // asa
58
+ 0x0440012f: 45, // asa-TZ
59
+ 0x04800000: 46, // ast
60
+ 0x0480006e: 47, // ast-ES
61
+ 0x05800000: 48, // az
62
+ 0x0581e000: 49, // az-Cyrl
63
+ 0x0581e032: 50, // az-Cyrl-AZ
64
+ 0x05855000: 51, // az-Latn
65
+ 0x05855032: 52, // az-Latn-AZ
66
+ 0x05e00000: 53, // bas
67
+ 0x05e00052: 54, // bas-CM
68
+ 0x07100000: 55, // be
69
+ 0x07100047: 56, // be-BY
70
+ 0x07500000: 57, // bem
71
+ 0x07500162: 58, // bem-ZM
72
+ 0x07900000: 59, // bez
73
+ 0x0790012f: 60, // bez-TZ
74
+ 0x07e00000: 61, // bg
75
+ 0x07e00038: 62, // bg-BG
76
+ 0x08200000: 63, // bh
77
+ 0x0a000000: 64, // bm
78
+ 0x0a0000c3: 65, // bm-ML
79
+ 0x0a500000: 66, // bn
80
+ 0x0a500035: 67, // bn-BD
81
+ 0x0a500099: 68, // bn-IN
82
+ 0x0a900000: 69, // bo
83
+ 0x0a900053: 70, // bo-CN
84
+ 0x0a900099: 71, // bo-IN
85
+ 0x0b200000: 72, // br
86
+ 0x0b200078: 73, // br-FR
87
+ 0x0b500000: 74, // brx
88
+ 0x0b500099: 75, // brx-IN
89
+ 0x0b700000: 76, // bs
90
+ 0x0b71e000: 77, // bs-Cyrl
91
+ 0x0b71e033: 78, // bs-Cyrl-BA
92
+ 0x0b755000: 79, // bs-Latn
93
+ 0x0b755033: 80, // bs-Latn-BA
94
+ 0x0d700000: 81, // ca
95
+ 0x0d700022: 82, // ca-AD
96
+ 0x0d70006e: 83, // ca-ES
97
+ 0x0d700078: 84, // ca-FR
98
+ 0x0d70009e: 85, // ca-IT
99
+ 0x0dc00000: 86, // ce
100
+ 0x0dc00106: 87, // ce-RU
101
+ 0x0df00000: 88, // cgg
102
+ 0x0df00131: 89, // cgg-UG
103
+ 0x0e500000: 90, // chr
104
+ 0x0e500135: 91, // chr-US
105
+ 0x0e900000: 92, // ckb
106
+ 0x0e90009b: 93, // ckb-IQ
107
+ 0x0e90009c: 94, // ckb-IR
108
+ 0x0f900000: 95, // cs
109
+ 0x0f90005e: 96, // cs-CZ
110
+ 0x0fd00000: 97, // cu
111
+ 0x0fd00106: 98, // cu-RU
112
+ 0x0ff00000: 99, // cy
113
+ 0x0ff0007b: 100, // cy-GB
114
+ 0x10000000: 101, // da
115
+ 0x10000063: 102, // da-DK
116
+ 0x10000082: 103, // da-GL
117
+ 0x10700000: 104, // dav
118
+ 0x107000a4: 105, // dav-KE
119
+ 0x10c00000: 106, // de
120
+ 0x10c0002e: 107, // de-AT
121
+ 0x10c00036: 108, // de-BE
122
+ 0x10c0004e: 109, // de-CH
123
+ 0x10c00060: 110, // de-DE
124
+ 0x10c0009e: 111, // de-IT
125
+ 0x10c000b2: 112, // de-LI
126
+ 0x10c000b7: 113, // de-LU
127
+ 0x11600000: 114, // dje
128
+ 0x116000d4: 115, // dje-NE
129
+ 0x11e00000: 116, // dsb
130
+ 0x11e00060: 117, // dsb-DE
131
+ 0x12300000: 118, // dua
132
+ 0x12300052: 119, // dua-CM
133
+ 0x12700000: 120, // dv
134
+ 0x12a00000: 121, // dyo
135
+ 0x12a00114: 122, // dyo-SN
136
+ 0x12c00000: 123, // dz
137
+ 0x12c00043: 124, // dz-BT
138
+ 0x12e00000: 125, // ebu
139
+ 0x12e000a4: 126, // ebu-KE
140
+ 0x12f00000: 127, // ee
141
+ 0x12f00080: 128, // ee-GH
142
+ 0x12f00122: 129, // ee-TG
143
+ 0x13500000: 130, // el
144
+ 0x1350005d: 131, // el-CY
145
+ 0x13500087: 132, // el-GR
146
+ 0x13800000: 133, // en
147
+ 0x13800001: 134, // en-001
148
+ 0x1380001a: 135, // en-150
149
+ 0x13800025: 136, // en-AG
150
+ 0x13800026: 137, // en-AI
151
+ 0x1380002d: 138, // en-AS
152
+ 0x1380002e: 139, // en-AT
153
+ 0x1380002f: 140, // en-AU
154
+ 0x13800034: 141, // en-BB
155
+ 0x13800036: 142, // en-BE
156
+ 0x1380003a: 143, // en-BI
157
+ 0x1380003d: 144, // en-BM
158
+ 0x13800042: 145, // en-BS
159
+ 0x13800046: 146, // en-BW
160
+ 0x13800048: 147, // en-BZ
161
+ 0x13800049: 148, // en-CA
162
+ 0x1380004a: 149, // en-CC
163
+ 0x1380004e: 150, // en-CH
164
+ 0x13800050: 151, // en-CK
165
+ 0x13800052: 152, // en-CM
166
+ 0x1380005c: 153, // en-CX
167
+ 0x1380005d: 154, // en-CY
168
+ 0x13800060: 155, // en-DE
169
+ 0x13800061: 156, // en-DG
170
+ 0x13800063: 157, // en-DK
171
+ 0x13800064: 158, // en-DM
172
+ 0x1380006d: 159, // en-ER
173
+ 0x13800072: 160, // en-FI
174
+ 0x13800073: 161, // en-FJ
175
+ 0x13800074: 162, // en-FK
176
+ 0x13800075: 163, // en-FM
177
+ 0x1380007b: 164, // en-GB
178
+ 0x1380007c: 165, // en-GD
179
+ 0x1380007f: 166, // en-GG
180
+ 0x13800080: 167, // en-GH
181
+ 0x13800081: 168, // en-GI
182
+ 0x13800083: 169, // en-GM
183
+ 0x1380008a: 170, // en-GU
184
+ 0x1380008c: 171, // en-GY
185
+ 0x1380008d: 172, // en-HK
186
+ 0x13800096: 173, // en-IE
187
+ 0x13800097: 174, // en-IL
188
+ 0x13800098: 175, // en-IM
189
+ 0x13800099: 176, // en-IN
190
+ 0x1380009a: 177, // en-IO
191
+ 0x1380009f: 178, // en-JE
192
+ 0x138000a0: 179, // en-JM
193
+ 0x138000a4: 180, // en-KE
194
+ 0x138000a7: 181, // en-KI
195
+ 0x138000a9: 182, // en-KN
196
+ 0x138000ad: 183, // en-KY
197
+ 0x138000b1: 184, // en-LC
198
+ 0x138000b4: 185, // en-LR
199
+ 0x138000b5: 186, // en-LS
200
+ 0x138000bf: 187, // en-MG
201
+ 0x138000c0: 188, // en-MH
202
+ 0x138000c6: 189, // en-MO
203
+ 0x138000c7: 190, // en-MP
204
+ 0x138000ca: 191, // en-MS
205
+ 0x138000cb: 192, // en-MT
206
+ 0x138000cc: 193, // en-MU
207
+ 0x138000ce: 194, // en-MW
208
+ 0x138000d0: 195, // en-MY
209
+ 0x138000d2: 196, // en-NA
210
+ 0x138000d5: 197, // en-NF
211
+ 0x138000d6: 198, // en-NG
212
+ 0x138000d9: 199, // en-NL
213
+ 0x138000dd: 200, // en-NR
214
+ 0x138000df: 201, // en-NU
215
+ 0x138000e0: 202, // en-NZ
216
+ 0x138000e6: 203, // en-PG
217
+ 0x138000e7: 204, // en-PH
218
+ 0x138000e8: 205, // en-PK
219
+ 0x138000eb: 206, // en-PN
220
+ 0x138000ec: 207, // en-PR
221
+ 0x138000f0: 208, // en-PW
222
+ 0x13800107: 209, // en-RW
223
+ 0x13800109: 210, // en-SB
224
+ 0x1380010a: 211, // en-SC
225
+ 0x1380010b: 212, // en-SD
226
+ 0x1380010c: 213, // en-SE
227
+ 0x1380010d: 214, // en-SG
228
+ 0x1380010e: 215, // en-SH
229
+ 0x1380010f: 216, // en-SI
230
+ 0x13800112: 217, // en-SL
231
+ 0x13800117: 218, // en-SS
232
+ 0x1380011b: 219, // en-SX
233
+ 0x1380011d: 220, // en-SZ
234
+ 0x1380011f: 221, // en-TC
235
+ 0x13800125: 222, // en-TK
236
+ 0x13800129: 223, // en-TO
237
+ 0x1380012c: 224, // en-TT
238
+ 0x1380012d: 225, // en-TV
239
+ 0x1380012f: 226, // en-TZ
240
+ 0x13800131: 227, // en-UG
241
+ 0x13800133: 228, // en-UM
242
+ 0x13800135: 229, // en-US
243
+ 0x13800139: 230, // en-VC
244
+ 0x1380013c: 231, // en-VG
245
+ 0x1380013d: 232, // en-VI
246
+ 0x1380013f: 233, // en-VU
247
+ 0x13800142: 234, // en-WS
248
+ 0x13800161: 235, // en-ZA
249
+ 0x13800162: 236, // en-ZM
250
+ 0x13800164: 237, // en-ZW
251
+ 0x13b00000: 238, // eo
252
+ 0x13b00001: 239, // eo-001
253
+ 0x13d00000: 240, // es
254
+ 0x13d0001f: 241, // es-419
255
+ 0x13d0002c: 242, // es-AR
256
+ 0x13d0003f: 243, // es-BO
257
+ 0x13d00041: 244, // es-BR
258
+ 0x13d00048: 245, // es-BZ
259
+ 0x13d00051: 246, // es-CL
260
+ 0x13d00054: 247, // es-CO
261
+ 0x13d00056: 248, // es-CR
262
+ 0x13d00059: 249, // es-CU
263
+ 0x13d00065: 250, // es-DO
264
+ 0x13d00068: 251, // es-EA
265
+ 0x13d00069: 252, // es-EC
266
+ 0x13d0006e: 253, // es-ES
267
+ 0x13d00086: 254, // es-GQ
268
+ 0x13d00089: 255, // es-GT
269
+ 0x13d0008f: 256, // es-HN
270
+ 0x13d00094: 257, // es-IC
271
+ 0x13d000cf: 258, // es-MX
272
+ 0x13d000d8: 259, // es-NI
273
+ 0x13d000e2: 260, // es-PA
274
+ 0x13d000e4: 261, // es-PE
275
+ 0x13d000e7: 262, // es-PH
276
+ 0x13d000ec: 263, // es-PR
277
+ 0x13d000f1: 264, // es-PY
278
+ 0x13d0011a: 265, // es-SV
279
+ 0x13d00135: 266, // es-US
280
+ 0x13d00136: 267, // es-UY
281
+ 0x13d0013b: 268, // es-VE
282
+ 0x13f00000: 269, // et
283
+ 0x13f0006a: 270, // et-EE
284
+ 0x14400000: 271, // eu
285
+ 0x1440006e: 272, // eu-ES
286
+ 0x14500000: 273, // ewo
287
+ 0x14500052: 274, // ewo-CM
288
+ 0x14700000: 275, // fa
289
+ 0x14700024: 276, // fa-AF
290
+ 0x1470009c: 277, // fa-IR
291
+ 0x14d00000: 278, // ff
292
+ 0x14d00052: 279, // ff-CM
293
+ 0x14d00084: 280, // ff-GN
294
+ 0x14d000c9: 281, // ff-MR
295
+ 0x14d00114: 282, // ff-SN
296
+ 0x15000000: 283, // fi
297
+ 0x15000072: 284, // fi-FI
298
+ 0x15200000: 285, // fil
299
+ 0x152000e7: 286, // fil-PH
300
+ 0x15700000: 287, // fo
301
+ 0x15700063: 288, // fo-DK
302
+ 0x15700076: 289, // fo-FO
303
+ 0x15d00000: 290, // fr
304
+ 0x15d00036: 291, // fr-BE
305
+ 0x15d00037: 292, // fr-BF
306
+ 0x15d0003a: 293, // fr-BI
307
+ 0x15d0003b: 294, // fr-BJ
308
+ 0x15d0003c: 295, // fr-BL
309
+ 0x15d00049: 296, // fr-CA
310
+ 0x15d0004b: 297, // fr-CD
311
+ 0x15d0004c: 298, // fr-CF
312
+ 0x15d0004d: 299, // fr-CG
313
+ 0x15d0004e: 300, // fr-CH
314
+ 0x15d0004f: 301, // fr-CI
315
+ 0x15d00052: 302, // fr-CM
316
+ 0x15d00062: 303, // fr-DJ
317
+ 0x15d00067: 304, // fr-DZ
318
+ 0x15d00078: 305, // fr-FR
319
+ 0x15d0007a: 306, // fr-GA
320
+ 0x15d0007e: 307, // fr-GF
321
+ 0x15d00084: 308, // fr-GN
322
+ 0x15d00085: 309, // fr-GP
323
+ 0x15d00086: 310, // fr-GQ
324
+ 0x15d00091: 311, // fr-HT
325
+ 0x15d000a8: 312, // fr-KM
326
+ 0x15d000b7: 313, // fr-LU
327
+ 0x15d000ba: 314, // fr-MA
328
+ 0x15d000bb: 315, // fr-MC
329
+ 0x15d000be: 316, // fr-MF
330
+ 0x15d000bf: 317, // fr-MG
331
+ 0x15d000c3: 318, // fr-ML
332
+ 0x15d000c8: 319, // fr-MQ
333
+ 0x15d000c9: 320, // fr-MR
334
+ 0x15d000cc: 321, // fr-MU
335
+ 0x15d000d3: 322, // fr-NC
336
+ 0x15d000d4: 323, // fr-NE
337
+ 0x15d000e5: 324, // fr-PF
338
+ 0x15d000ea: 325, // fr-PM
339
+ 0x15d00102: 326, // fr-RE
340
+ 0x15d00107: 327, // fr-RW
341
+ 0x15d0010a: 328, // fr-SC
342
+ 0x15d00114: 329, // fr-SN
343
+ 0x15d0011c: 330, // fr-SY
344
+ 0x15d00120: 331, // fr-TD
345
+ 0x15d00122: 332, // fr-TG
346
+ 0x15d00128: 333, // fr-TN
347
+ 0x15d0013f: 334, // fr-VU
348
+ 0x15d00140: 335, // fr-WF
349
+ 0x15d0015f: 336, // fr-YT
350
+ 0x16800000: 337, // fur
351
+ 0x1680009e: 338, // fur-IT
352
+ 0x16c00000: 339, // fy
353
+ 0x16c000d9: 340, // fy-NL
354
+ 0x16d00000: 341, // ga
355
+ 0x16d00096: 342, // ga-IE
356
+ 0x17c00000: 343, // gd
357
+ 0x17c0007b: 344, // gd-GB
358
+ 0x18e00000: 345, // gl
359
+ 0x18e0006e: 346, // gl-ES
360
+ 0x1a100000: 347, // gsw
361
+ 0x1a10004e: 348, // gsw-CH
362
+ 0x1a100078: 349, // gsw-FR
363
+ 0x1a1000b2: 350, // gsw-LI
364
+ 0x1a200000: 351, // gu
365
+ 0x1a200099: 352, // gu-IN
366
+ 0x1a700000: 353, // guw
367
+ 0x1a900000: 354, // guz
368
+ 0x1a9000a4: 355, // guz-KE
369
+ 0x1aa00000: 356, // gv
370
+ 0x1aa00098: 357, // gv-IM
371
+ 0x1b200000: 358, // ha
372
+ 0x1b200080: 359, // ha-GH
373
+ 0x1b2000d4: 360, // ha-NE
374
+ 0x1b2000d6: 361, // ha-NG
375
+ 0x1b600000: 362, // haw
376
+ 0x1b600135: 363, // haw-US
377
+ 0x1ba00000: 364, // he
378
+ 0x1ba00097: 365, // he-IL
379
+ 0x1bc00000: 366, // hi
380
+ 0x1bc00099: 367, // hi-IN
381
+ 0x1cf00000: 368, // hr
382
+ 0x1cf00033: 369, // hr-BA
383
+ 0x1cf00090: 370, // hr-HR
384
+ 0x1d000000: 371, // hsb
385
+ 0x1d000060: 372, // hsb-DE
386
+ 0x1d300000: 373, // hu
387
+ 0x1d300092: 374, // hu-HU
388
+ 0x1d500000: 375, // hy
389
+ 0x1d500028: 376, // hy-AM
390
+ 0x1df00000: 377, // id
391
+ 0x1df00095: 378, // id-ID
392
+ 0x1e500000: 379, // ig
393
+ 0x1e5000d6: 380, // ig-NG
394
+ 0x1e800000: 381, // ii
395
+ 0x1e800053: 382, // ii-CN
396
+ 0x1f600000: 383, // is
397
+ 0x1f60009d: 384, // is-IS
398
+ 0x1f700000: 385, // it
399
+ 0x1f70004e: 386, // it-CH
400
+ 0x1f70009e: 387, // it-IT
401
+ 0x1f700113: 388, // it-SM
402
+ 0x1f700138: 389, // it-VA
403
+ 0x1f800000: 390, // iu
404
+ 0x1fe00000: 391, // ja
405
+ 0x1fe000a2: 392, // ja-JP
406
+ 0x20100000: 393, // jbo
407
+ 0x20500000: 394, // jgo
408
+ 0x20500052: 395, // jgo-CM
409
+ 0x20800000: 396, // jmc
410
+ 0x2080012f: 397, // jmc-TZ
411
+ 0x20c00000: 398, // jv
412
+ 0x20e00000: 399, // ka
413
+ 0x20e0007d: 400, // ka-GE
414
+ 0x21000000: 401, // kab
415
+ 0x21000067: 402, // kab-DZ
416
+ 0x21400000: 403, // kaj
417
+ 0x21500000: 404, // kam
418
+ 0x215000a4: 405, // kam-KE
419
+ 0x21d00000: 406, // kcg
420
+ 0x22100000: 407, // kde
421
+ 0x2210012f: 408, // kde-TZ
422
+ 0x22500000: 409, // kea
423
+ 0x2250005a: 410, // kea-CV
424
+ 0x23200000: 411, // khq
425
+ 0x232000c3: 412, // khq-ML
426
+ 0x23700000: 413, // ki
427
+ 0x237000a4: 414, // ki-KE
428
+ 0x24000000: 415, // kk
429
+ 0x240000ae: 416, // kk-KZ
430
+ 0x24200000: 417, // kkj
431
+ 0x24200052: 418, // kkj-CM
432
+ 0x24300000: 419, // kl
433
+ 0x24300082: 420, // kl-GL
434
+ 0x24400000: 421, // kln
435
+ 0x244000a4: 422, // kln-KE
436
+ 0x24800000: 423, // km
437
+ 0x248000a6: 424, // km-KH
438
+ 0x24f00000: 425, // kn
439
+ 0x24f00099: 426, // kn-IN
440
+ 0x25200000: 427, // ko
441
+ 0x252000aa: 428, // ko-KP
442
+ 0x252000ab: 429, // ko-KR
443
+ 0x25400000: 430, // kok
444
+ 0x25400099: 431, // kok-IN
445
+ 0x26800000: 432, // ks
446
+ 0x26800099: 433, // ks-IN
447
+ 0x26900000: 434, // ksb
448
+ 0x2690012f: 435, // ksb-TZ
449
+ 0x26b00000: 436, // ksf
450
+ 0x26b00052: 437, // ksf-CM
451
+ 0x26c00000: 438, // ksh
452
+ 0x26c00060: 439, // ksh-DE
453
+ 0x27200000: 440, // ku
454
+ 0x27f00000: 441, // kw
455
+ 0x27f0007b: 442, // kw-GB
456
+ 0x28800000: 443, // ky
457
+ 0x288000a5: 444, // ky-KG
458
+ 0x28f00000: 445, // lag
459
+ 0x28f0012f: 446, // lag-TZ
460
+ 0x29300000: 447, // lb
461
+ 0x293000b7: 448, // lb-LU
462
+ 0x2a100000: 449, // lg
463
+ 0x2a100131: 450, // lg-UG
464
+ 0x2ad00000: 451, // lkt
465
+ 0x2ad00135: 452, // lkt-US
466
+ 0x2b300000: 453, // ln
467
+ 0x2b30002a: 454, // ln-AO
468
+ 0x2b30004b: 455, // ln-CD
469
+ 0x2b30004c: 456, // ln-CF
470
+ 0x2b30004d: 457, // ln-CG
471
+ 0x2b600000: 458, // lo
472
+ 0x2b6000af: 459, // lo-LA
473
+ 0x2bd00000: 460, // lrc
474
+ 0x2bd0009b: 461, // lrc-IQ
475
+ 0x2bd0009c: 462, // lrc-IR
476
+ 0x2be00000: 463, // lt
477
+ 0x2be000b6: 464, // lt-LT
478
+ 0x2c000000: 465, // lu
479
+ 0x2c00004b: 466, // lu-CD
480
+ 0x2c200000: 467, // luo
481
+ 0x2c2000a4: 468, // luo-KE
482
+ 0x2c300000: 469, // luy
483
+ 0x2c3000a4: 470, // luy-KE
484
+ 0x2c500000: 471, // lv
485
+ 0x2c5000b8: 472, // lv-LV
486
+ 0x2cf00000: 473, // mas
487
+ 0x2cf000a4: 474, // mas-KE
488
+ 0x2cf0012f: 475, // mas-TZ
489
+ 0x2e700000: 476, // mer
490
+ 0x2e7000a4: 477, // mer-KE
491
+ 0x2eb00000: 478, // mfe
492
+ 0x2eb000cc: 479, // mfe-MU
493
+ 0x2ef00000: 480, // mg
494
+ 0x2ef000bf: 481, // mg-MG
495
+ 0x2f000000: 482, // mgh
496
+ 0x2f0000d1: 483, // mgh-MZ
497
+ 0x2f200000: 484, // mgo
498
+ 0x2f200052: 485, // mgo-CM
499
+ 0x2fd00000: 486, // mk
500
+ 0x2fd000c2: 487, // mk-MK
501
+ 0x30200000: 488, // ml
502
+ 0x30200099: 489, // ml-IN
503
+ 0x30900000: 490, // mn
504
+ 0x309000c5: 491, // mn-MN
505
+ 0x31900000: 492, // mr
506
+ 0x31900099: 493, // mr-IN
507
+ 0x31d00000: 494, // ms
508
+ 0x31d0003e: 495, // ms-BN
509
+ 0x31d000d0: 496, // ms-MY
510
+ 0x31d0010d: 497, // ms-SG
511
+ 0x31e00000: 498, // mt
512
+ 0x31e000cb: 499, // mt-MT
513
+ 0x32300000: 500, // mua
514
+ 0x32300052: 501, // mua-CM
515
+ 0x32f00000: 502, // my
516
+ 0x32f000c4: 503, // my-MM
517
+ 0x33800000: 504, // mzn
518
+ 0x3380009c: 505, // mzn-IR
519
+ 0x33f00000: 506, // nah
520
+ 0x34300000: 507, // naq
521
+ 0x343000d2: 508, // naq-NA
522
+ 0x34500000: 509, // nb
523
+ 0x345000da: 510, // nb-NO
524
+ 0x34500110: 511, // nb-SJ
525
+ 0x34c00000: 512, // nd
526
+ 0x34c00164: 513, // nd-ZW
527
+ 0x34e00000: 514, // nds
528
+ 0x34e00060: 515, // nds-DE
529
+ 0x34e000d9: 516, // nds-NL
530
+ 0x34f00000: 517, // ne
531
+ 0x34f00099: 518, // ne-IN
532
+ 0x34f000db: 519, // ne-NP
533
+ 0x36500000: 520, // nl
534
+ 0x36500030: 521, // nl-AW
535
+ 0x36500036: 522, // nl-BE
536
+ 0x36500040: 523, // nl-BQ
537
+ 0x3650005b: 524, // nl-CW
538
+ 0x365000d9: 525, // nl-NL
539
+ 0x36500116: 526, // nl-SR
540
+ 0x3650011b: 527, // nl-SX
541
+ 0x36600000: 528, // nmg
542
+ 0x36600052: 529, // nmg-CM
543
+ 0x36800000: 530, // nn
544
+ 0x368000da: 531, // nn-NO
545
+ 0x36a00000: 532, // nnh
546
+ 0x36a00052: 533, // nnh-CM
547
+ 0x36d00000: 534, // no
548
+ 0x37300000: 535, // nqo
549
+ 0x37400000: 536, // nr
550
+ 0x37800000: 537, // nso
551
+ 0x37e00000: 538, // nus
552
+ 0x37e00117: 539, // nus-SS
553
+ 0x38500000: 540, // ny
554
+ 0x38700000: 541, // nyn
555
+ 0x38700131: 542, // nyn-UG
556
+ 0x38e00000: 543, // om
557
+ 0x38e0006f: 544, // om-ET
558
+ 0x38e000a4: 545, // om-KE
559
+ 0x39300000: 546, // or
560
+ 0x39300099: 547, // or-IN
561
+ 0x39600000: 548, // os
562
+ 0x3960007d: 549, // os-GE
563
+ 0x39600106: 550, // os-RU
564
+ 0x39b00000: 551, // pa
565
+ 0x39b05000: 552, // pa-Arab
566
+ 0x39b050e8: 553, // pa-Arab-PK
567
+ 0x39b32000: 554, // pa-Guru
568
+ 0x39b32099: 555, // pa-Guru-IN
569
+ 0x39f00000: 556, // pap
570
+ 0x3b100000: 557, // pl
571
+ 0x3b1000e9: 558, // pl-PL
572
+ 0x3bb00000: 559, // prg
573
+ 0x3bb00001: 560, // prg-001
574
+ 0x3bc00000: 561, // ps
575
+ 0x3bc00024: 562, // ps-AF
576
+ 0x3be00000: 563, // pt
577
+ 0x3be0002a: 564, // pt-AO
578
+ 0x3be00041: 565, // pt-BR
579
+ 0x3be0004e: 566, // pt-CH
580
+ 0x3be0005a: 567, // pt-CV
581
+ 0x3be00086: 568, // pt-GQ
582
+ 0x3be0008b: 569, // pt-GW
583
+ 0x3be000b7: 570, // pt-LU
584
+ 0x3be000c6: 571, // pt-MO
585
+ 0x3be000d1: 572, // pt-MZ
586
+ 0x3be000ee: 573, // pt-PT
587
+ 0x3be00118: 574, // pt-ST
588
+ 0x3be00126: 575, // pt-TL
589
+ 0x3c200000: 576, // qu
590
+ 0x3c20003f: 577, // qu-BO
591
+ 0x3c200069: 578, // qu-EC
592
+ 0x3c2000e4: 579, // qu-PE
593
+ 0x3d200000: 580, // rm
594
+ 0x3d20004e: 581, // rm-CH
595
+ 0x3d700000: 582, // rn
596
+ 0x3d70003a: 583, // rn-BI
597
+ 0x3da00000: 584, // ro
598
+ 0x3da000bc: 585, // ro-MD
599
+ 0x3da00104: 586, // ro-RO
600
+ 0x3dc00000: 587, // rof
601
+ 0x3dc0012f: 588, // rof-TZ
602
+ 0x3e000000: 589, // ru
603
+ 0x3e000047: 590, // ru-BY
604
+ 0x3e0000a5: 591, // ru-KG
605
+ 0x3e0000ae: 592, // ru-KZ
606
+ 0x3e0000bc: 593, // ru-MD
607
+ 0x3e000106: 594, // ru-RU
608
+ 0x3e000130: 595, // ru-UA
609
+ 0x3e300000: 596, // rw
610
+ 0x3e300107: 597, // rw-RW
611
+ 0x3e400000: 598, // rwk
612
+ 0x3e40012f: 599, // rwk-TZ
613
+ 0x3e900000: 600, // sah
614
+ 0x3e900106: 601, // sah-RU
615
+ 0x3ea00000: 602, // saq
616
+ 0x3ea000a4: 603, // saq-KE
617
+ 0x3f100000: 604, // sbp
618
+ 0x3f10012f: 605, // sbp-TZ
619
+ 0x3fa00000: 606, // sdh
620
+ 0x3fb00000: 607, // se
621
+ 0x3fb00072: 608, // se-FI
622
+ 0x3fb000da: 609, // se-NO
623
+ 0x3fb0010c: 610, // se-SE
624
+ 0x3fd00000: 611, // seh
625
+ 0x3fd000d1: 612, // seh-MZ
626
+ 0x3ff00000: 613, // ses
627
+ 0x3ff000c3: 614, // ses-ML
628
+ 0x40000000: 615, // sg
629
+ 0x4000004c: 616, // sg-CF
630
+ 0x40600000: 617, // shi
631
+ 0x40655000: 618, // shi-Latn
632
+ 0x406550ba: 619, // shi-Latn-MA
633
+ 0x406d8000: 620, // shi-Tfng
634
+ 0x406d80ba: 621, // shi-Tfng-MA
635
+ 0x40a00000: 622, // si
636
+ 0x40a000b3: 623, // si-LK
637
+ 0x41000000: 624, // sk
638
+ 0x41000111: 625, // sk-SK
639
+ 0x41400000: 626, // sl
640
+ 0x4140010f: 627, // sl-SI
641
+ 0x41a00000: 628, // sma
642
+ 0x41b00000: 629, // smi
643
+ 0x41c00000: 630, // smj
644
+ 0x41d00000: 631, // smn
645
+ 0x41d00072: 632, // smn-FI
646
+ 0x42000000: 633, // sms
647
+ 0x42100000: 634, // sn
648
+ 0x42100164: 635, // sn-ZW
649
+ 0x42700000: 636, // so
650
+ 0x42700062: 637, // so-DJ
651
+ 0x4270006f: 638, // so-ET
652
+ 0x427000a4: 639, // so-KE
653
+ 0x42700115: 640, // so-SO
654
+ 0x42f00000: 641, // sq
655
+ 0x42f00027: 642, // sq-AL
656
+ 0x42f000c2: 643, // sq-MK
657
+ 0x42f0014d: 644, // sq-XK
658
+ 0x43000000: 645, // sr
659
+ 0x4301e000: 646, // sr-Cyrl
660
+ 0x4301e033: 647, // sr-Cyrl-BA
661
+ 0x4301e0bd: 648, // sr-Cyrl-ME
662
+ 0x4301e105: 649, // sr-Cyrl-RS
663
+ 0x4301e14d: 650, // sr-Cyrl-XK
664
+ 0x43055000: 651, // sr-Latn
665
+ 0x43055033: 652, // sr-Latn-BA
666
+ 0x430550bd: 653, // sr-Latn-ME
667
+ 0x43055105: 654, // sr-Latn-RS
668
+ 0x4305514d: 655, // sr-Latn-XK
669
+ 0x43500000: 656, // ss
670
+ 0x43800000: 657, // ssy
671
+ 0x43900000: 658, // st
672
+ 0x44200000: 659, // sv
673
+ 0x44200031: 660, // sv-AX
674
+ 0x44200072: 661, // sv-FI
675
+ 0x4420010c: 662, // sv-SE
676
+ 0x44300000: 663, // sw
677
+ 0x4430004b: 664, // sw-CD
678
+ 0x443000a4: 665, // sw-KE
679
+ 0x4430012f: 666, // sw-TZ
680
+ 0x44300131: 667, // sw-UG
681
+ 0x44c00000: 668, // syr
682
+ 0x44e00000: 669, // ta
683
+ 0x44e00099: 670, // ta-IN
684
+ 0x44e000b3: 671, // ta-LK
685
+ 0x44e000d0: 672, // ta-MY
686
+ 0x44e0010d: 673, // ta-SG
687
+ 0x45f00000: 674, // te
688
+ 0x45f00099: 675, // te-IN
689
+ 0x46200000: 676, // teo
690
+ 0x462000a4: 677, // teo-KE
691
+ 0x46200131: 678, // teo-UG
692
+ 0x46900000: 679, // th
693
+ 0x46900123: 680, // th-TH
694
+ 0x46d00000: 681, // ti
695
+ 0x46d0006d: 682, // ti-ER
696
+ 0x46d0006f: 683, // ti-ET
697
+ 0x46f00000: 684, // tig
698
+ 0x47400000: 685, // tk
699
+ 0x47400127: 686, // tk-TM
700
+ 0x47e00000: 687, // tn
701
+ 0x48000000: 688, // to
702
+ 0x48000129: 689, // to-TO
703
+ 0x48800000: 690, // tr
704
+ 0x4880005d: 691, // tr-CY
705
+ 0x4880012b: 692, // tr-TR
706
+ 0x48c00000: 693, // ts
707
+ 0x4a200000: 694, // twq
708
+ 0x4a2000d4: 695, // twq-NE
709
+ 0x4a700000: 696, // tzm
710
+ 0x4a7000ba: 697, // tzm-MA
711
+ 0x4aa00000: 698, // ug
712
+ 0x4aa00053: 699, // ug-CN
713
+ 0x4ac00000: 700, // uk
714
+ 0x4ac00130: 701, // uk-UA
715
+ 0x4b200000: 702, // ur
716
+ 0x4b200099: 703, // ur-IN
717
+ 0x4b2000e8: 704, // ur-PK
718
+ 0x4ba00000: 705, // uz
719
+ 0x4ba05000: 706, // uz-Arab
720
+ 0x4ba05024: 707, // uz-Arab-AF
721
+ 0x4ba1e000: 708, // uz-Cyrl
722
+ 0x4ba1e137: 709, // uz-Cyrl-UZ
723
+ 0x4ba55000: 710, // uz-Latn
724
+ 0x4ba55137: 711, // uz-Latn-UZ
725
+ 0x4bc00000: 712, // vai
726
+ 0x4bc55000: 713, // vai-Latn
727
+ 0x4bc550b4: 714, // vai-Latn-LR
728
+ 0x4bcdf000: 715, // vai-Vaii
729
+ 0x4bcdf0b4: 716, // vai-Vaii-LR
730
+ 0x4be00000: 717, // ve
731
+ 0x4c100000: 718, // vi
732
+ 0x4c10013e: 719, // vi-VN
733
+ 0x4c700000: 720, // vo
734
+ 0x4c700001: 721, // vo-001
735
+ 0x4ca00000: 722, // vun
736
+ 0x4ca0012f: 723, // vun-TZ
737
+ 0x4cc00000: 724, // wa
738
+ 0x4cd00000: 725, // wae
739
+ 0x4cd0004e: 726, // wae-CH
740
+ 0x4e300000: 727, // wo
741
+ 0x4f000000: 728, // xh
742
+ 0x4f900000: 729, // xog
743
+ 0x4f900131: 730, // xog-UG
744
+ 0x50700000: 731, // yav
745
+ 0x50700052: 732, // yav-CM
746
+ 0x51000000: 733, // yi
747
+ 0x51000001: 734, // yi-001
748
+ 0x51600000: 735, // yo
749
+ 0x5160003b: 736, // yo-BJ
750
+ 0x516000d6: 737, // yo-NG
751
+ 0x51d00000: 738, // yue
752
+ 0x51d0008d: 739, // yue-HK
753
+ 0x52600000: 740, // zgh
754
+ 0x526000ba: 741, // zgh-MA
755
+ 0x52700000: 742, // zh
756
+ 0x52737000: 743, // zh-Hans
757
+ 0x52737053: 744, // zh-Hans-CN
758
+ 0x5273708d: 745, // zh-Hans-HK
759
+ 0x527370c6: 746, // zh-Hans-MO
760
+ 0x5273710d: 747, // zh-Hans-SG
761
+ 0x52738000: 748, // zh-Hant
762
+ 0x5273808d: 749, // zh-Hant-HK
763
+ 0x527380c6: 750, // zh-Hant-MO
764
+ 0x5273812e: 751, // zh-Hant-TW
765
+ 0x52c00000: 752, // zu
766
+ 0x52c00161: 753, // zu-ZA
767
+ }
768
+
769
+ // Total table size 4592 bytes (4KiB); checksum: C25F8AFF