czmq-ffi-gen 0.9.1-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (118) hide show
  1. checksums.yaml +7 -0
  2. data/AUTHORS +1 -0
  3. data/CHANGES.md +88 -0
  4. data/Gemfile +2 -0
  5. data/LICENSE +14 -0
  6. data/README.md +112 -0
  7. data/lib/czmq-ffi-gen.rb +7 -0
  8. data/lib/czmq-ffi-gen/czmq/ffi.rb +1210 -0
  9. data/lib/czmq-ffi-gen/czmq/ffi/version.rb +15 -0
  10. data/lib/czmq-ffi-gen/czmq/ffi/zactor.rb +186 -0
  11. data/lib/czmq-ffi-gen/czmq/ffi/zarmour.rb +286 -0
  12. data/lib/czmq-ffi-gen/czmq/ffi/zcert.rb +307 -0
  13. data/lib/czmq-ffi-gen/czmq/ffi/zcertstore.rb +222 -0
  14. data/lib/czmq-ffi-gen/czmq/ffi/zchunk.rb +388 -0
  15. data/lib/czmq-ffi-gen/czmq/ffi/zclock.rb +140 -0
  16. data/lib/czmq-ffi-gen/czmq/ffi/zconfig.rb +442 -0
  17. data/lib/czmq-ffi-gen/czmq/ffi/zdigest.rb +156 -0
  18. data/lib/czmq-ffi-gen/czmq/ffi/zdir.rb +283 -0
  19. data/lib/czmq-ffi-gen/czmq/ffi/zdir_patch.rb +194 -0
  20. data/lib/czmq-ffi-gen/czmq/ffi/zfile.rb +353 -0
  21. data/lib/czmq-ffi-gen/czmq/ffi/zframe.rb +359 -0
  22. data/lib/czmq-ffi-gen/czmq/ffi/zhash.rb +416 -0
  23. data/lib/czmq-ffi-gen/czmq/ffi/zhashx.rb +659 -0
  24. data/lib/czmq-ffi-gen/czmq/ffi/ziflist.rb +189 -0
  25. data/lib/czmq-ffi-gen/czmq/ffi/zlist.rb +365 -0
  26. data/lib/czmq-ffi-gen/czmq/ffi/zlistx.rb +478 -0
  27. data/lib/czmq-ffi-gen/czmq/ffi/zloop.rb +396 -0
  28. data/lib/czmq-ffi-gen/czmq/ffi/zmsg.rb +515 -0
  29. data/lib/czmq-ffi-gen/czmq/ffi/zpoller.rb +194 -0
  30. data/lib/czmq-ffi-gen/czmq/ffi/zproc.rb +294 -0
  31. data/lib/czmq-ffi-gen/czmq/ffi/zsock.rb +3479 -0
  32. data/lib/czmq-ffi-gen/czmq/ffi/zstr.rb +203 -0
  33. data/lib/czmq-ffi-gen/czmq/ffi/ztimerset.rb +203 -0
  34. data/lib/czmq-ffi-gen/czmq/ffi/ztrie.rb +221 -0
  35. data/lib/czmq-ffi-gen/czmq/ffi/zuuid.rb +227 -0
  36. data/lib/czmq-ffi-gen/errors.rb +12 -0
  37. data/lib/czmq-ffi-gen/gem_version.rb +5 -0
  38. data/lib/czmq-ffi-gen/legacy.rb +16 -0
  39. data/lib/czmq-ffi-gen/libzmq.rb +18 -0
  40. data/lib/czmq-ffi-gen/signals.rb +27 -0
  41. data/lib/czmq-ffi-gen/vendor.rb +5 -0
  42. data/lib/czmq-ffi-gen/versions.rb +19 -0
  43. data/vendor/local/bin/inproc_lat.exe +0 -0
  44. data/vendor/local/bin/inproc_thr.exe +0 -0
  45. data/vendor/local/bin/libczmq.dll +0 -0
  46. data/vendor/local/bin/libgcc_s_sjlj-1.dll +0 -0
  47. data/vendor/local/bin/libstdc++-6.dll +0 -0
  48. data/vendor/local/bin/libzmq.dll +0 -0
  49. data/vendor/local/bin/local_lat.exe +0 -0
  50. data/vendor/local/bin/local_thr.exe +0 -0
  51. data/vendor/local/bin/remote_lat.exe +0 -0
  52. data/vendor/local/bin/remote_thr.exe +0 -0
  53. data/vendor/local/include/czmq.h +31 -0
  54. data/vendor/local/include/czmq_library.h +199 -0
  55. data/vendor/local/include/czmq_prelude.h +641 -0
  56. data/vendor/local/include/readme.txt +83 -0
  57. data/vendor/local/include/sha1.h +76 -0
  58. data/vendor/local/include/sha1.inc_c +335 -0
  59. data/vendor/local/include/slre.h +92 -0
  60. data/vendor/local/include/slre.inc_c +660 -0
  61. data/vendor/local/include/zactor.h +76 -0
  62. data/vendor/local/include/zarmour.h +114 -0
  63. data/vendor/local/include/zauth.h +100 -0
  64. data/vendor/local/include/zauth_v2.h +88 -0
  65. data/vendor/local/include/zbeacon.h +86 -0
  66. data/vendor/local/include/zbeacon_v2.h +75 -0
  67. data/vendor/local/include/zcert.h +136 -0
  68. data/vendor/local/include/zcertstore.h +100 -0
  69. data/vendor/local/include/zchunk.h +163 -0
  70. data/vendor/local/include/zclock.h +73 -0
  71. data/vendor/local/include/zconfig.h +185 -0
  72. data/vendor/local/include/zctx.h +107 -0
  73. data/vendor/local/include/zdigest.h +65 -0
  74. data/vendor/local/include/zdir.h +149 -0
  75. data/vendor/local/include/zdir_patch.h +82 -0
  76. data/vendor/local/include/zfile.h +177 -0
  77. data/vendor/local/include/zframe.h +176 -0
  78. data/vendor/local/include/zgossip.h +95 -0
  79. data/vendor/local/include/zgossip_engine.inc +927 -0
  80. data/vendor/local/include/zgossip_msg.h +129 -0
  81. data/vendor/local/include/zhash.h +195 -0
  82. data/vendor/local/include/zhash_primes.inc +329 -0
  83. data/vendor/local/include/zhashx.h +298 -0
  84. data/vendor/local/include/ziflist.h +77 -0
  85. data/vendor/local/include/zlist.h +158 -0
  86. data/vendor/local/include/zlistx.h +205 -0
  87. data/vendor/local/include/zloop.h +168 -0
  88. data/vendor/local/include/zmonitor.h +73 -0
  89. data/vendor/local/include/zmonitor_v2.h +56 -0
  90. data/vendor/local/include/zmq.h +617 -0
  91. data/vendor/local/include/zmq_utils.h +48 -0
  92. data/vendor/local/include/zmsg.h +280 -0
  93. data/vendor/local/include/zmutex.h +55 -0
  94. data/vendor/local/include/zpoller.h +92 -0
  95. data/vendor/local/include/zproc.h +168 -0
  96. data/vendor/local/include/zproxy.h +111 -0
  97. data/vendor/local/include/zproxy_v2.h +62 -0
  98. data/vendor/local/include/zrex.h +82 -0
  99. data/vendor/local/include/zsock.h +912 -0
  100. data/vendor/local/include/zsock_option.inc +4126 -0
  101. data/vendor/local/include/zsocket.h +110 -0
  102. data/vendor/local/include/zsockopt.h +256 -0
  103. data/vendor/local/include/zstr.h +110 -0
  104. data/vendor/local/include/zsys.h +386 -0
  105. data/vendor/local/include/zthread.h +50 -0
  106. data/vendor/local/include/ztimerset.h +90 -0
  107. data/vendor/local/include/ztrie.h +106 -0
  108. data/vendor/local/include/zuuid.h +96 -0
  109. data/vendor/local/lib/libczmq.dll.a +0 -0
  110. data/vendor/local/lib/liblibzmq.dll.a +0 -0
  111. data/vendor/local/lib/libzmq-static.a +0 -0
  112. data/vendor/local/lib/pkgconfig/libczmq.pc +23 -0
  113. data/vendor/local/lib/pkgconfig/libzmq.pc +11 -0
  114. data/vendor/local/share/zmq/AUTHORS.txt +147 -0
  115. data/vendor/local/share/zmq/COPYING.LESSER.txt +181 -0
  116. data/vendor/local/share/zmq/COPYING.txt +674 -0
  117. data/vendor/local/share/zmq/NEWS.txt +978 -0
  118. metadata +230 -0
@@ -0,0 +1,129 @@
1
+ /* =========================================================================
2
+ zgossip_msg - class description
3
+
4
+ Copyright (c) the Contributors as noted in the AUTHORS file.
5
+ This file is part of CZMQ, the high-level C binding for 0MQ:
6
+ http://czmq.zeromq.org.
7
+
8
+ This Source Code Form is subject to the terms of the Mozilla Public
9
+ License, v. 2.0. If a copy of the MPL was not distributed with this
10
+ file, You can obtain one at http://mozilla.org/MPL/2.0/.
11
+ =========================================================================
12
+ */
13
+
14
+ #ifndef ZGOSSIP_MSG_H_INCLUDED
15
+ #define ZGOSSIP_MSG_H_INCLUDED
16
+
17
+ #ifdef __cplusplus
18
+ extern "C" {
19
+ #endif
20
+
21
+ typedef struct _zgossip_msg_t zgossip_msg_t;
22
+
23
+ // @warning THE FOLLOWING @INTERFACE BLOCK IS AUTO-GENERATED BY ZPROJECT
24
+ // @warning Please edit the model at "api/zgossip_msg.api" to make changes.
25
+ // @interface
26
+ // This is a draft class, and may change without notice. It is disabled in
27
+ // stable builds by default. If you use this in applications, please ask
28
+ // for it to be pushed to stable state. Use --enable-drafts to enable.
29
+ #ifdef CZMQ_BUILD_DRAFT_API
30
+ #define ZGOSSIP_MSG_HELLO 1 //
31
+ #define ZGOSSIP_MSG_PUBLISH 2 //
32
+ #define ZGOSSIP_MSG_PING 3 //
33
+ #define ZGOSSIP_MSG_PONG 4 //
34
+ #define ZGOSSIP_MSG_INVALID 5 //
35
+
36
+ // *** Draft method, for development use, may change without warning ***
37
+ // Create a new empty zgossip_msg
38
+ CZMQ_EXPORT zgossip_msg_t *
39
+ zgossip_msg_new (void);
40
+
41
+ // *** Draft method, for development use, may change without warning ***
42
+ // Destroy a zgossip_msg instance
43
+ CZMQ_EXPORT void
44
+ zgossip_msg_destroy (zgossip_msg_t **self_p);
45
+
46
+ // *** Draft method, for development use, may change without warning ***
47
+ // Receive a zgossip_msg from the socket. Returns 0 if OK, -1 if
48
+ // there was an error. Blocks if there is no message waiting.
49
+ CZMQ_EXPORT int
50
+ zgossip_msg_recv (zgossip_msg_t *self, zsock_t *input);
51
+
52
+ // *** Draft method, for development use, may change without warning ***
53
+ // Send the zgossip_msg to the output socket, does not destroy it
54
+ CZMQ_EXPORT int
55
+ zgossip_msg_send (zgossip_msg_t *self, zsock_t *output);
56
+
57
+ // *** Draft method, for development use, may change without warning ***
58
+ // Print contents of message to stdout
59
+ CZMQ_EXPORT void
60
+ zgossip_msg_print (zgossip_msg_t *self);
61
+
62
+ // *** Draft method, for development use, may change without warning ***
63
+ // Get the message routing id, as a frame
64
+ CZMQ_EXPORT zframe_t *
65
+ zgossip_msg_routing_id (zgossip_msg_t *self);
66
+
67
+ // *** Draft method, for development use, may change without warning ***
68
+ // Set the message routing id from a frame
69
+ CZMQ_EXPORT void
70
+ zgossip_msg_set_routing_id (zgossip_msg_t *self, zframe_t *routing_id);
71
+
72
+ // *** Draft method, for development use, may change without warning ***
73
+ // Get the zgossip_msg message id
74
+ CZMQ_EXPORT int
75
+ zgossip_msg_id (zgossip_msg_t *self);
76
+
77
+ // *** Draft method, for development use, may change without warning ***
78
+ // Set the zgossip_msg message id
79
+ CZMQ_EXPORT void
80
+ zgossip_msg_set_id (zgossip_msg_t *self, int id);
81
+
82
+ // *** Draft method, for development use, may change without warning ***
83
+ // Get the zgossip_msg message id as printable text
84
+ CZMQ_EXPORT const char *
85
+ zgossip_msg_command (zgossip_msg_t *self);
86
+
87
+ // *** Draft method, for development use, may change without warning ***
88
+ // Get the key field
89
+ CZMQ_EXPORT const char *
90
+ zgossip_msg_key (zgossip_msg_t *self);
91
+
92
+ // *** Draft method, for development use, may change without warning ***
93
+ // Set the key field
94
+ CZMQ_EXPORT void
95
+ zgossip_msg_set_key (zgossip_msg_t *self, const char *key);
96
+
97
+ // *** Draft method, for development use, may change without warning ***
98
+ // Get the value field
99
+ CZMQ_EXPORT const char *
100
+ zgossip_msg_value (zgossip_msg_t *self);
101
+
102
+ // *** Draft method, for development use, may change without warning ***
103
+ // Set the value field
104
+ CZMQ_EXPORT void
105
+ zgossip_msg_set_value (zgossip_msg_t *self, const char *value);
106
+
107
+ // *** Draft method, for development use, may change without warning ***
108
+ // Get the ttl field
109
+ CZMQ_EXPORT uint32_t
110
+ zgossip_msg_ttl (zgossip_msg_t *self);
111
+
112
+ // *** Draft method, for development use, may change without warning ***
113
+ // Set the ttl field
114
+ CZMQ_EXPORT void
115
+ zgossip_msg_set_ttl (zgossip_msg_t *self, uint32_t ttl);
116
+
117
+ // *** Draft method, for development use, may change without warning ***
118
+ // Self test of this class.
119
+ CZMQ_EXPORT void
120
+ zgossip_msg_test (bool verbose);
121
+
122
+ #endif // CZMQ_BUILD_DRAFT_API
123
+ // @end
124
+
125
+ #ifdef __cplusplus
126
+ }
127
+ #endif
128
+
129
+ #endif
@@ -0,0 +1,195 @@
1
+ /* =========================================================================
2
+ zhash - generic type-free hash container (simple)
3
+
4
+ Copyright (c) the Contributors as noted in the AUTHORS file.
5
+ This file is part of CZMQ, the high-level C binding for 0MQ:
6
+ http://czmq.zeromq.org.
7
+
8
+ This Source Code Form is subject to the terms of the Mozilla Public
9
+ License, v. 2.0. If a copy of the MPL was not distributed with this
10
+ file, You can obtain one at http://mozilla.org/MPL/2.0/.
11
+ =========================================================================
12
+ */
13
+
14
+ #ifndef __ZHASH_H_INCLUDED__
15
+ #define __ZHASH_H_INCLUDED__
16
+
17
+ #ifdef __cplusplus
18
+ extern "C" {
19
+ #endif
20
+
21
+ // @warning THE FOLLOWING @INTERFACE BLOCK IS AUTO-GENERATED BY ZPROJECT
22
+ // @warning Please edit the model at "api/zhash.api" to make changes.
23
+ // @interface
24
+ // This is a stable class, and may not change except for emergencies. It
25
+ // is provided in stable builds.
26
+ // This class has legacy methods, which will be removed over time. You
27
+ // should not use them, and migrate any code that is still using them.
28
+ // Callback function for zhash_freefn method
29
+ typedef void (zhash_free_fn) (
30
+ void *data);
31
+
32
+ // Callback function for zhash_foreach method. Deprecated.
33
+ typedef int (zhash_foreach_fn) (
34
+ const char *key, void *item, void *argument);
35
+
36
+ // Create a new, empty hash container
37
+ CZMQ_EXPORT zhash_t *
38
+ zhash_new (void);
39
+
40
+ // Unpack binary frame into a new hash table. Packed data must follow format
41
+ // defined by zhash_pack. Hash table is set to autofree. An empty frame
42
+ // unpacks to an empty hash table.
43
+ CZMQ_EXPORT zhash_t *
44
+ zhash_unpack (zframe_t *frame);
45
+
46
+ // Destroy a hash container and all items in it
47
+ CZMQ_EXPORT void
48
+ zhash_destroy (zhash_t **self_p);
49
+
50
+ // Insert item into hash table with specified key and item.
51
+ // If key is already present returns -1 and leaves existing item unchanged
52
+ // Returns 0 on success.
53
+ CZMQ_EXPORT int
54
+ zhash_insert (zhash_t *self, const char *key, void *item);
55
+
56
+ // Update item into hash table with specified key and item.
57
+ // If key is already present, destroys old item and inserts new one.
58
+ // Use free_fn method to ensure deallocator is properly called on item.
59
+ CZMQ_EXPORT void
60
+ zhash_update (zhash_t *self, const char *key, void *item);
61
+
62
+ // Remove an item specified by key from the hash table. If there was no such
63
+ // item, this function does nothing.
64
+ CZMQ_EXPORT void
65
+ zhash_delete (zhash_t *self, const char *key);
66
+
67
+ // Return the item at the specified key, or null
68
+ CZMQ_EXPORT void *
69
+ zhash_lookup (zhash_t *self, const char *key);
70
+
71
+ // Reindexes an item from an old key to a new key. If there was no such
72
+ // item, does nothing. Returns 0 if successful, else -1.
73
+ CZMQ_EXPORT int
74
+ zhash_rename (zhash_t *self, const char *old_key, const char *new_key);
75
+
76
+ // Set a free function for the specified hash table item. When the item is
77
+ // destroyed, the free function, if any, is called on that item.
78
+ // Use this when hash items are dynamically allocated, to ensure that
79
+ // you don't have memory leaks. You can pass 'free' or NULL as a free_fn.
80
+ // Returns the item, or NULL if there is no such item.
81
+ CZMQ_EXPORT void *
82
+ zhash_freefn (zhash_t *self, const char *key, zhash_free_fn free_fn);
83
+
84
+ // Return the number of keys/items in the hash table
85
+ CZMQ_EXPORT size_t
86
+ zhash_size (zhash_t *self);
87
+
88
+ // Make copy of hash table; if supplied table is null, returns null.
89
+ // Does not copy items themselves. Rebuilds new table so may be slow on
90
+ // very large tables. NOTE: only works with item values that are strings
91
+ // since there's no other way to know how to duplicate the item value.
92
+ // Caller owns return value and must destroy it when done.
93
+ CZMQ_EXPORT zhash_t *
94
+ zhash_dup (zhash_t *self);
95
+
96
+ // Return keys for items in table
97
+ // Caller owns return value and must destroy it when done.
98
+ CZMQ_EXPORT zlist_t *
99
+ zhash_keys (zhash_t *self);
100
+
101
+ // Simple iterator; returns first item in hash table, in no given order,
102
+ // or NULL if the table is empty. This method is simpler to use than the
103
+ // foreach() method, which is deprecated. To access the key for this item
104
+ // use zhash_cursor(). NOTE: do NOT modify the table while iterating.
105
+ CZMQ_EXPORT void *
106
+ zhash_first (zhash_t *self);
107
+
108
+ // Simple iterator; returns next item in hash table, in no given order,
109
+ // or NULL if the last item was already returned. Use this together with
110
+ // zhash_first() to process all items in a hash table. If you need the
111
+ // items in sorted order, use zhash_keys() and then zlist_sort(). To
112
+ // access the key for this item use zhash_cursor(). NOTE: do NOT modify
113
+ // the table while iterating.
114
+ CZMQ_EXPORT void *
115
+ zhash_next (zhash_t *self);
116
+
117
+ // After a successful first/next method, returns the key for the item that
118
+ // was returned. This is a constant string that you may not modify or
119
+ // deallocate, and which lasts as long as the item in the hash. After an
120
+ // unsuccessful first/next, returns NULL.
121
+ CZMQ_EXPORT const char *
122
+ zhash_cursor (zhash_t *self);
123
+
124
+ // Add a comment to hash table before saving to disk. You can add as many
125
+ // comment lines as you like. These comment lines are discarded when loading
126
+ // the file. If you use a null format, all comments are deleted.
127
+ CZMQ_EXPORT void
128
+ zhash_comment (zhash_t *self, const char *format, ...) CHECK_PRINTF (2);
129
+
130
+ // Serialize hash table to a binary frame that can be sent in a message.
131
+ // The packed format is compatible with the 'dictionary' type defined in
132
+ // http://rfc.zeromq.org/spec:35/FILEMQ, and implemented by zproto:
133
+ //
134
+ // ; A list of name/value pairs
135
+ // dictionary = dict-count *( dict-name dict-value )
136
+ // dict-count = number-4
137
+ // dict-value = longstr
138
+ // dict-name = string
139
+ //
140
+ // ; Strings are always length + text contents
141
+ // longstr = number-4 *VCHAR
142
+ // string = number-1 *VCHAR
143
+ //
144
+ // ; Numbers are unsigned integers in network byte order
145
+ // number-1 = 1OCTET
146
+ // number-4 = 4OCTET
147
+ //
148
+ // Comments are not included in the packed data. Item values MUST be
149
+ // strings.
150
+ // Caller owns return value and must destroy it when done.
151
+ CZMQ_EXPORT zframe_t *
152
+ zhash_pack (zhash_t *self);
153
+
154
+ // Save hash table to a text file in name=value format. Hash values must be
155
+ // printable strings; keys may not contain '=' character. Returns 0 if OK,
156
+ // else -1 if a file error occurred.
157
+ CZMQ_EXPORT int
158
+ zhash_save (zhash_t *self, const char *filename);
159
+
160
+ // Load hash table from a text file in name=value format; hash table must
161
+ // already exist. Hash values must printable strings; keys may not contain
162
+ // '=' character. Returns 0 if OK, else -1 if a file was not readable.
163
+ CZMQ_EXPORT int
164
+ zhash_load (zhash_t *self, const char *filename);
165
+
166
+ // When a hash table was loaded from a file by zhash_load, this method will
167
+ // reload the file if it has been modified since, and is "stable", i.e. not
168
+ // still changing. Returns 0 if OK, -1 if there was an error reloading the
169
+ // file.
170
+ CZMQ_EXPORT int
171
+ zhash_refresh (zhash_t *self);
172
+
173
+ // Set hash for automatic value destruction
174
+ CZMQ_EXPORT void
175
+ zhash_autofree (zhash_t *self);
176
+
177
+ // *** Deprecated method, slated for removal: avoid using it ***
178
+ // Apply function to each item in the hash table. Items are iterated in no
179
+ // defined order. Stops if callback function returns non-zero and returns
180
+ // final return code from callback function (zero = success). Deprecated.
181
+ CZMQ_EXPORT int
182
+ zhash_foreach (zhash_t *self, zhash_foreach_fn callback, void *argument);
183
+
184
+ // Self test of this class.
185
+ CZMQ_EXPORT void
186
+ zhash_test (bool verbose);
187
+
188
+ // @end
189
+
190
+
191
+ #ifdef __cplusplus
192
+ }
193
+ #endif
194
+
195
+ #endif
@@ -0,0 +1,329 @@
1
+ /* =========================================================================
2
+ zhash_primes.h - 5 largest primes less than 2^n for n = 4...63
3
+
4
+ Copyright (c) the Contributors as noted in the AUTHORS file.
5
+ This file is part of CZMQ, the high-level C binding for 0MQ:
6
+ http://czmq.zeromq.org.
7
+
8
+ This Source Code Form is subject to the terms of the Mozilla Public
9
+ License, v. 2.0. If a copy of the MPL was not distributed with this
10
+ file, You can obtain one at http://mozilla.org/MPL/2.0/.
11
+ =========================================================================
12
+ */
13
+
14
+ #ifndef __ZHASH_PRIMES_H_INCLUDED__
15
+ #define __ZHASH_PRIMES_H_INCLUDED__
16
+
17
+ #ifdef _MSC_VER
18
+ # define PORTABLE_LLU(number) number##ULL
19
+ #else
20
+ # define PORTABLE_LLU(number) number##LLU
21
+ #endif
22
+
23
+ static size_t primes [] = {
24
+ PORTABLE_LLU(3),
25
+ PORTABLE_LLU(5),
26
+ PORTABLE_LLU(7),
27
+ PORTABLE_LLU(11),
28
+ PORTABLE_LLU(13), // 2^4
29
+ PORTABLE_LLU(17),
30
+ PORTABLE_LLU(19),
31
+ PORTABLE_LLU(23),
32
+ PORTABLE_LLU(29),
33
+ PORTABLE_LLU(31), // 2^5
34
+ PORTABLE_LLU(43),
35
+ PORTABLE_LLU(47),
36
+ PORTABLE_LLU(53),
37
+ PORTABLE_LLU(59),
38
+ PORTABLE_LLU(61), // 2^6
39
+ PORTABLE_LLU(103),
40
+ PORTABLE_LLU(107),
41
+ PORTABLE_LLU(109),
42
+ PORTABLE_LLU(113),
43
+ PORTABLE_LLU(127), // 2^7
44
+ PORTABLE_LLU(229),
45
+ PORTABLE_LLU(233),
46
+ PORTABLE_LLU(239),
47
+ PORTABLE_LLU(241),
48
+ PORTABLE_LLU(251), // 2^8
49
+ PORTABLE_LLU(487),
50
+ PORTABLE_LLU(491),
51
+ PORTABLE_LLU(499),
52
+ PORTABLE_LLU(503),
53
+ PORTABLE_LLU(509), // 2^9
54
+ PORTABLE_LLU(997),
55
+ PORTABLE_LLU(1009),
56
+ PORTABLE_LLU(1013),
57
+ PORTABLE_LLU(1019),
58
+ PORTABLE_LLU(1021), // 2^10
59
+ PORTABLE_LLU(2011),
60
+ PORTABLE_LLU(2017),
61
+ PORTABLE_LLU(2027),
62
+ PORTABLE_LLU(2029),
63
+ PORTABLE_LLU(2039), // 2^11
64
+ PORTABLE_LLU(4057),
65
+ PORTABLE_LLU(4073),
66
+ PORTABLE_LLU(4079),
67
+ PORTABLE_LLU(4091),
68
+ PORTABLE_LLU(4093), // 2^12
69
+ PORTABLE_LLU(8161),
70
+ PORTABLE_LLU(8167),
71
+ PORTABLE_LLU(8171),
72
+ PORTABLE_LLU(8179),
73
+ PORTABLE_LLU(8191), // 2^13
74
+ PORTABLE_LLU(16349),
75
+ PORTABLE_LLU(16361),
76
+ PORTABLE_LLU(16363),
77
+ PORTABLE_LLU(16369),
78
+ PORTABLE_LLU(16381), // 2^14
79
+ PORTABLE_LLU(32707),
80
+ PORTABLE_LLU(32713),
81
+ PORTABLE_LLU(32717),
82
+ PORTABLE_LLU(32719),
83
+ PORTABLE_LLU(32749), // 2^15
84
+ PORTABLE_LLU(65449),
85
+ PORTABLE_LLU(65479),
86
+ PORTABLE_LLU(65497),
87
+ PORTABLE_LLU(65519),
88
+ PORTABLE_LLU(65521), // 2^16
89
+ PORTABLE_LLU(131023),
90
+ PORTABLE_LLU(131041),
91
+ PORTABLE_LLU(131059),
92
+ PORTABLE_LLU(131063),
93
+ PORTABLE_LLU(131071), // 2^17
94
+ PORTABLE_LLU(262111),
95
+ PORTABLE_LLU(262121),
96
+ PORTABLE_LLU(262127),
97
+ PORTABLE_LLU(262133),
98
+ PORTABLE_LLU(262139), // 2^18
99
+ PORTABLE_LLU(524243),
100
+ PORTABLE_LLU(524257),
101
+ PORTABLE_LLU(524261),
102
+ PORTABLE_LLU(524269),
103
+ PORTABLE_LLU(524287), // 2^19
104
+ PORTABLE_LLU(1048517),
105
+ PORTABLE_LLU(1048549),
106
+ PORTABLE_LLU(1048559),
107
+ PORTABLE_LLU(1048571),
108
+ PORTABLE_LLU(1048573), // 2^20
109
+ PORTABLE_LLU(2097091),
110
+ PORTABLE_LLU(2097097),
111
+ PORTABLE_LLU(2097131),
112
+ PORTABLE_LLU(2097133),
113
+ PORTABLE_LLU(2097143), // 2^21
114
+ PORTABLE_LLU(4194247),
115
+ PORTABLE_LLU(4194271),
116
+ PORTABLE_LLU(4194277),
117
+ PORTABLE_LLU(4194287),
118
+ PORTABLE_LLU(4194301), // 2^22
119
+ PORTABLE_LLU(8388547),
120
+ PORTABLE_LLU(8388571),
121
+ PORTABLE_LLU(8388581),
122
+ PORTABLE_LLU(8388587),
123
+ PORTABLE_LLU(8388593), // 2^23
124
+ PORTABLE_LLU(16777141),
125
+ PORTABLE_LLU(16777153),
126
+ PORTABLE_LLU(16777183),
127
+ PORTABLE_LLU(16777199),
128
+ PORTABLE_LLU(16777213), // 2^24
129
+ PORTABLE_LLU(33554341),
130
+ PORTABLE_LLU(33554347),
131
+ PORTABLE_LLU(33554371),
132
+ PORTABLE_LLU(33554383),
133
+ PORTABLE_LLU(33554393), // 2^25
134
+ PORTABLE_LLU(67108763),
135
+ PORTABLE_LLU(67108777),
136
+ PORTABLE_LLU(67108819),
137
+ PORTABLE_LLU(67108837),
138
+ PORTABLE_LLU(67108859), // 2^26
139
+ PORTABLE_LLU(134217593),
140
+ PORTABLE_LLU(134217613),
141
+ PORTABLE_LLU(134217617),
142
+ PORTABLE_LLU(134217649),
143
+ PORTABLE_LLU(134217689), // 2^27
144
+ PORTABLE_LLU(268435331),
145
+ PORTABLE_LLU(268435337),
146
+ PORTABLE_LLU(268435361),
147
+ PORTABLE_LLU(268435367),
148
+ PORTABLE_LLU(268435399), // 2^28
149
+ PORTABLE_LLU(536870839),
150
+ PORTABLE_LLU(536870849),
151
+ PORTABLE_LLU(536870869),
152
+ PORTABLE_LLU(536870879),
153
+ PORTABLE_LLU(536870909), // 2^29
154
+ PORTABLE_LLU(1073741719),
155
+ PORTABLE_LLU(1073741723),
156
+ PORTABLE_LLU(1073741741),
157
+ PORTABLE_LLU(1073741783),
158
+ PORTABLE_LLU(1073741789), // 2^30
159
+ PORTABLE_LLU(2147483563),
160
+ PORTABLE_LLU(2147483579),
161
+ PORTABLE_LLU(2147483587),
162
+ PORTABLE_LLU(2147483629),
163
+ PORTABLE_LLU(2147483647), // 2^31
164
+ PORTABLE_LLU(4294967197),
165
+ PORTABLE_LLU(4294967231),
166
+ PORTABLE_LLU(4294967279),
167
+ PORTABLE_LLU(4294967291),
168
+ PORTABLE_LLU(4294967295), // 2^32
169
+ #if __WORDSIZE == 64
170
+ PORTABLE_LLU(8589934581),
171
+ PORTABLE_LLU(8589934585),
172
+ PORTABLE_LLU(8589934587),
173
+ PORTABLE_LLU(8589934589),
174
+ PORTABLE_LLU(8589934591), // 2^33
175
+ PORTABLE_LLU(17179869175),
176
+ PORTABLE_LLU(17179869177),
177
+ PORTABLE_LLU(17179869179),
178
+ PORTABLE_LLU(17179869181),
179
+ PORTABLE_LLU(17179869183), // 2^34
180
+ PORTABLE_LLU(34359738359),
181
+ PORTABLE_LLU(34359738361),
182
+ PORTABLE_LLU(34359738363),
183
+ PORTABLE_LLU(34359738365),
184
+ PORTABLE_LLU(34359738367), // 2^35
185
+ PORTABLE_LLU(68719476725),
186
+ PORTABLE_LLU(68719476727),
187
+ PORTABLE_LLU(68719476729),
188
+ PORTABLE_LLU(68719476733),
189
+ PORTABLE_LLU(68719476735), // 2^36
190
+ PORTABLE_LLU(137438953463),
191
+ PORTABLE_LLU(137438953465),
192
+ PORTABLE_LLU(137438953467),
193
+ PORTABLE_LLU(137438953469),
194
+ PORTABLE_LLU(137438953471), // 2^37
195
+ PORTABLE_LLU(274877906935),
196
+ PORTABLE_LLU(274877906937),
197
+ PORTABLE_LLU(274877906939),
198
+ PORTABLE_LLU(274877906941),
199
+ PORTABLE_LLU(274877906943), // 2^38
200
+ PORTABLE_LLU(549755813877),
201
+ PORTABLE_LLU(549755813879),
202
+ PORTABLE_LLU(549755813883),
203
+ PORTABLE_LLU(549755813885),
204
+ PORTABLE_LLU(549755813887), // 2^39
205
+ PORTABLE_LLU(1099511627767),
206
+ PORTABLE_LLU(1099511627769),
207
+ PORTABLE_LLU(1099511627771),
208
+ PORTABLE_LLU(1099511627773),
209
+ PORTABLE_LLU(1099511627775), // 2^40
210
+ PORTABLE_LLU(2199023255543),
211
+ PORTABLE_LLU(2199023255545),
212
+ PORTABLE_LLU(2199023255547),
213
+ PORTABLE_LLU(2199023255549),
214
+ PORTABLE_LLU(2199023255551), // 2^41
215
+ PORTABLE_LLU(4398046511095),
216
+ PORTABLE_LLU(4398046511097),
217
+ PORTABLE_LLU(4398046511099),
218
+ PORTABLE_LLU(4398046511101),
219
+ PORTABLE_LLU(4398046511103), // 2^42
220
+ PORTABLE_LLU(8796093022199),
221
+ PORTABLE_LLU(8796093022201),
222
+ PORTABLE_LLU(8796093022203),
223
+ PORTABLE_LLU(8796093022205),
224
+ PORTABLE_LLU(8796093022207), // 2^43
225
+ PORTABLE_LLU(17592186044407),
226
+ PORTABLE_LLU(17592186044409),
227
+ PORTABLE_LLU(17592186044411),
228
+ PORTABLE_LLU(17592186044413),
229
+ PORTABLE_LLU(17592186044415), // 2^44
230
+ PORTABLE_LLU(35184372088823),
231
+ PORTABLE_LLU(35184372088825),
232
+ PORTABLE_LLU(35184372088827),
233
+ PORTABLE_LLU(35184372088829),
234
+ PORTABLE_LLU(35184372088831), // 2^45
235
+ PORTABLE_LLU(70368744177655),
236
+ PORTABLE_LLU(70368744177657),
237
+ PORTABLE_LLU(70368744177659),
238
+ PORTABLE_LLU(70368744177661),
239
+ PORTABLE_LLU(70368744177663), // 2^46
240
+ PORTABLE_LLU(140737488355319),
241
+ PORTABLE_LLU(140737488355321),
242
+ PORTABLE_LLU(140737488355323),
243
+ PORTABLE_LLU(140737488355325),
244
+ PORTABLE_LLU(140737488355327), // 2^47
245
+ PORTABLE_LLU(281474976710647),
246
+ PORTABLE_LLU(281474976710649),
247
+ PORTABLE_LLU(281474976710651),
248
+ PORTABLE_LLU(281474976710653),
249
+ PORTABLE_LLU(281474976710655), // 2^48
250
+ PORTABLE_LLU(562949953421303),
251
+ PORTABLE_LLU(562949953421305),
252
+ PORTABLE_LLU(562949953421307),
253
+ PORTABLE_LLU(562949953421309),
254
+ PORTABLE_LLU(562949953421311), // 2^49
255
+ PORTABLE_LLU(1125899906842615),
256
+ PORTABLE_LLU(1125899906842617),
257
+ PORTABLE_LLU(1125899906842619),
258
+ PORTABLE_LLU(1125899906842621),
259
+ PORTABLE_LLU(1125899906842623), // 2^50
260
+ PORTABLE_LLU(2251799813685239),
261
+ PORTABLE_LLU(2251799813685241),
262
+ PORTABLE_LLU(2251799813685243),
263
+ PORTABLE_LLU(2251799813685245),
264
+ PORTABLE_LLU(2251799813685247), // 2^51
265
+ PORTABLE_LLU(4503599627370487),
266
+ PORTABLE_LLU(4503599627370489),
267
+ PORTABLE_LLU(4503599627370491),
268
+ PORTABLE_LLU(4503599627370493),
269
+ PORTABLE_LLU(4503599627370495), // 2^52
270
+ PORTABLE_LLU(9007199254740983),
271
+ PORTABLE_LLU(9007199254740985),
272
+ PORTABLE_LLU(9007199254740987),
273
+ PORTABLE_LLU(9007199254740989),
274
+ PORTABLE_LLU(9007199254740991), // 2^53
275
+ PORTABLE_LLU(18014398509481975),
276
+ PORTABLE_LLU(18014398509481977),
277
+ PORTABLE_LLU(18014398509481979),
278
+ PORTABLE_LLU(18014398509481981),
279
+ PORTABLE_LLU(18014398509481983), // 2^54
280
+ PORTABLE_LLU(36028797018963959),
281
+ PORTABLE_LLU(36028797018963961),
282
+ PORTABLE_LLU(36028797018963963),
283
+ PORTABLE_LLU(36028797018963965),
284
+ PORTABLE_LLU(36028797018963967), // 2^55
285
+ PORTABLE_LLU(72057594037927925),
286
+ PORTABLE_LLU(72057594037927927),
287
+ PORTABLE_LLU(72057594037927929),
288
+ PORTABLE_LLU(72057594037927933),
289
+ PORTABLE_LLU(72057594037927935), // 2^56
290
+ PORTABLE_LLU(144115188075855863),
291
+ PORTABLE_LLU(144115188075855865),
292
+ PORTABLE_LLU(144115188075855867),
293
+ PORTABLE_LLU(144115188075855869),
294
+ PORTABLE_LLU(144115188075855871), // 2^57
295
+ PORTABLE_LLU(288230376151711735),
296
+ PORTABLE_LLU(288230376151711737),
297
+ PORTABLE_LLU(288230376151711739),
298
+ PORTABLE_LLU(288230376151711741),
299
+ PORTABLE_LLU(288230376151711743), // 2^58
300
+ PORTABLE_LLU(576460752303423479),
301
+ PORTABLE_LLU(576460752303423481),
302
+ PORTABLE_LLU(576460752303423483),
303
+ PORTABLE_LLU(576460752303423485),
304
+ PORTABLE_LLU(576460752303423487), // 2^59
305
+ PORTABLE_LLU(1152921504606846967),
306
+ PORTABLE_LLU(1152921504606846969),
307
+ PORTABLE_LLU(1152921504606846971),
308
+ PORTABLE_LLU(1152921504606846973),
309
+ PORTABLE_LLU(1152921504606846975), // 2^60
310
+ PORTABLE_LLU(2305843009213693941),
311
+ PORTABLE_LLU(2305843009213693943),
312
+ PORTABLE_LLU(2305843009213693945),
313
+ PORTABLE_LLU(2305843009213693947),
314
+ PORTABLE_LLU(2305843009213693949), // 2^61
315
+ PORTABLE_LLU(4611686018427387895),
316
+ PORTABLE_LLU(4611686018427387897),
317
+ PORTABLE_LLU(4611686018427387899),
318
+ PORTABLE_LLU(4611686018427387901),
319
+ PORTABLE_LLU(4611686018427387903), // 2^62
320
+ PORTABLE_LLU(9223372036854775799),
321
+ PORTABLE_LLU(9223372036854775801),
322
+ PORTABLE_LLU(9223372036854775803),
323
+ PORTABLE_LLU(9223372036854775805),
324
+ PORTABLE_LLU(9223372036854775807) // 2^63
325
+ #endif
326
+ };
327
+
328
+ #endif
329
+