rfuzz 0.7 → 0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/Rakefile +1 -1
- data/doc/rdoc/classes/RFuzz/Browser.html +15 -15
- data/doc/rdoc/classes/RFuzz/Browser.src/{M000068.html → M000083.html} +0 -0
- data/doc/rdoc/classes/RFuzz/Browser.src/{M000069.html → M000084.html} +0 -0
- data/doc/rdoc/classes/RFuzz/Browser.src/{M000070.html → M000085.html} +0 -0
- data/doc/rdoc/classes/RFuzz/HttpClient.html +114 -57
- data/doc/rdoc/classes/RFuzz/HttpClient.src/M000019.html +12 -13
- data/doc/rdoc/classes/RFuzz/HttpClient.src/{M000011.html → M000020.html} +20 -20
- data/doc/rdoc/classes/RFuzz/HttpClient.src/M000021.html +28 -0
- data/doc/rdoc/classes/RFuzz/HttpClient.src/M000022.html +30 -0
- data/doc/rdoc/classes/RFuzz/HttpClient.src/M000023.html +35 -0
- data/doc/rdoc/classes/RFuzz/HttpClient.src/M000024.html +22 -0
- data/doc/rdoc/classes/RFuzz/HttpClient.src/M000025.html +44 -0
- data/doc/rdoc/classes/RFuzz/HttpClient.src/M000026.html +38 -0
- data/doc/rdoc/classes/RFuzz/HttpClient.src/{M000016.html → M000027.html} +12 -12
- data/doc/rdoc/classes/RFuzz/HttpClient.src/{M000017.html → M000028.html} +20 -20
- data/doc/rdoc/classes/RFuzz/HttpClient.src/{M000018.html → M000029.html} +4 -4
- data/doc/rdoc/classes/RFuzz/HttpClient.src/M000030.html +26 -0
- data/doc/rdoc/classes/RFuzz/HttpClientError.html +118 -0
- data/doc/rdoc/classes/RFuzz/HttpEncoding.html +7 -4
- data/doc/rdoc/classes/RFuzz/HttpEncoding.src/M000001.html +12 -12
- data/doc/rdoc/classes/RFuzz/HttpEncoding.src/M000002.html +4 -4
- data/doc/rdoc/classes/RFuzz/HttpEncoding.src/M000003.html +12 -12
- data/doc/rdoc/classes/RFuzz/HttpEncoding.src/M000004.html +4 -4
- data/doc/rdoc/classes/RFuzz/HttpEncoding.src/M000005.html +18 -18
- data/doc/rdoc/classes/RFuzz/HttpEncoding.src/M000006.html +4 -4
- data/doc/rdoc/classes/RFuzz/HttpEncoding.src/M000007.html +6 -6
- data/doc/rdoc/classes/RFuzz/HttpEncoding.src/M000008.html +6 -6
- data/doc/rdoc/classes/RFuzz/HttpEncoding.src/M000009.html +18 -18
- data/doc/rdoc/classes/RFuzz/HttpResponse.html +74 -13
- data/doc/rdoc/classes/RFuzz/HttpResponse.src/M000031.html +22 -0
- data/doc/rdoc/classes/RFuzz/HttpResponse.src/M000032.html +18 -0
- data/doc/rdoc/classes/RFuzz/HttpResponse.src/M000033.html +18 -0
- data/doc/rdoc/classes/RFuzz/Notifier.html +49 -31
- data/doc/rdoc/classes/RFuzz/Notifier.src/{M000044.html → M000058.html} +3 -3
- data/doc/rdoc/classes/RFuzz/Notifier.src/{M000045.html → M000059.html} +3 -3
- data/doc/rdoc/classes/RFuzz/Notifier.src/{M000047.html → M000060.html} +2 -2
- data/doc/rdoc/classes/RFuzz/Notifier.src/{M000048.html → M000061.html} +2 -2
- data/doc/rdoc/classes/RFuzz/Notifier.src/{M000049.html → M000062.html} +2 -2
- data/doc/rdoc/classes/RFuzz/Notifier.src/{M000046.html → M000063.html} +4 -4
- data/doc/rdoc/classes/RFuzz/Notifier.src/M000064.html +17 -0
- data/doc/rdoc/classes/RFuzz/PushBackIO.html +296 -0
- data/doc/rdoc/classes/RFuzz/PushBackIO.src/M000010.html +19 -0
- data/doc/rdoc/classes/RFuzz/PushBackIO.src/M000011.html +20 -0
- data/doc/rdoc/classes/RFuzz/PushBackIO.src/M000012.html +19 -0
- data/doc/rdoc/classes/RFuzz/PushBackIO.src/M000013.html +18 -0
- data/doc/rdoc/classes/RFuzz/PushBackIO.src/M000014.html +44 -0
- data/doc/rdoc/classes/RFuzz/PushBackIO.src/M000015.html +18 -0
- data/doc/rdoc/classes/RFuzz/PushBackIO.src/M000016.html +18 -0
- data/doc/rdoc/classes/RFuzz/PushBackIO.src/M000017.html +18 -0
- data/doc/rdoc/classes/RFuzz/PushBackIO.src/M000018.html +22 -0
- data/doc/rdoc/classes/RFuzz/RandomGenerator.html +62 -62
- data/doc/rdoc/classes/RFuzz/RandomGenerator.src/{M000032.html → M000046.html} +0 -0
- data/doc/rdoc/classes/RFuzz/RandomGenerator.src/{M000033.html → M000047.html} +0 -0
- data/doc/rdoc/classes/RFuzz/RandomGenerator.src/{M000036.html → M000050.html} +0 -0
- data/doc/rdoc/classes/RFuzz/RandomGenerator.src/{M000037.html → M000051.html} +0 -0
- data/doc/rdoc/classes/RFuzz/RandomGenerator.src/{M000038.html → M000052.html} +0 -0
- data/doc/rdoc/classes/RFuzz/RandomGenerator.src/{M000039.html → M000053.html} +0 -0
- data/doc/rdoc/classes/RFuzz/RandomGenerator.src/{M000040.html → M000054.html} +0 -0
- data/doc/rdoc/classes/RFuzz/RandomGenerator.src/{M000041.html → M000055.html} +0 -0
- data/doc/rdoc/classes/RFuzz/RandomGenerator.src/{M000042.html → M000056.html} +0 -0
- data/doc/rdoc/classes/RFuzz/RandomGenerator.src/{M000043.html → M000057.html} +0 -0
- data/doc/rdoc/classes/RFuzz/Sampler.html +60 -60
- data/doc/rdoc/classes/RFuzz/Sampler.src/{M000056.html → M000071.html} +0 -0
- data/doc/rdoc/classes/RFuzz/Sampler.src/{M000057.html → M000072.html} +0 -0
- data/doc/rdoc/classes/RFuzz/Sampler.src/{M000058.html → M000073.html} +0 -0
- data/doc/rdoc/classes/RFuzz/Sampler.src/{M000059.html → M000074.html} +0 -0
- data/doc/rdoc/classes/RFuzz/Sampler.src/{M000060.html → M000075.html} +0 -0
- data/doc/rdoc/classes/RFuzz/Sampler.src/{M000061.html → M000076.html} +0 -0
- data/doc/rdoc/classes/RFuzz/Sampler.src/{M000062.html → M000077.html} +0 -0
- data/doc/rdoc/classes/RFuzz/Sampler.src/{M000063.html → M000078.html} +0 -0
- data/doc/rdoc/classes/RFuzz/Sampler.src/{M000064.html → M000079.html} +0 -0
- data/doc/rdoc/classes/RFuzz/Sampler.src/{M000065.html → M000080.html} +0 -0
- data/doc/rdoc/classes/RFuzz/Sampler.src/{M000066.html → M000081.html} +0 -0
- data/doc/rdoc/classes/RFuzz/Sampler.src/{M000067.html → M000082.html} +0 -0
- data/doc/rdoc/classes/RFuzz/Session.html +63 -63
- data/doc/rdoc/classes/RFuzz/Session.src/{M000020.html → M000034.html} +0 -0
- data/doc/rdoc/classes/RFuzz/Session.src/{M000021.html → M000035.html} +0 -0
- data/doc/rdoc/classes/RFuzz/Session.src/{M000022.html → M000036.html} +0 -0
- data/doc/rdoc/classes/RFuzz/Session.src/{M000023.html → M000037.html} +0 -0
- data/doc/rdoc/classes/RFuzz/Session.src/{M000024.html → M000038.html} +0 -0
- data/doc/rdoc/classes/RFuzz/Session.src/{M000025.html → M000039.html} +0 -0
- data/doc/rdoc/classes/RFuzz/Session.src/{M000026.html → M000040.html} +0 -0
- data/doc/rdoc/classes/RFuzz/Session.src/{M000027.html → M000041.html} +0 -0
- data/doc/rdoc/classes/RFuzz/Session.src/{M000028.html → M000042.html} +0 -0
- data/doc/rdoc/classes/RFuzz/Session.src/{M000029.html → M000043.html} +0 -0
- data/doc/rdoc/classes/RFuzz/Session.src/{M000030.html → M000044.html} +0 -0
- data/doc/rdoc/classes/RFuzz/Session.src/{M000031.html → M000045.html} +0 -0
- data/doc/rdoc/classes/RFuzz/StatsTracker.html +32 -32
- data/doc/rdoc/classes/RFuzz/StatsTracker.src/{M000050.html → M000065.html} +0 -0
- data/doc/rdoc/classes/RFuzz/StatsTracker.src/{M000051.html → M000066.html} +0 -0
- data/doc/rdoc/classes/RFuzz/StatsTracker.src/{M000052.html → M000067.html} +0 -0
- data/doc/rdoc/classes/RFuzz/StatsTracker.src/{M000053.html → M000068.html} +0 -0
- data/doc/rdoc/classes/RFuzz/StatsTracker.src/{M000054.html → M000069.html} +0 -0
- data/doc/rdoc/classes/RFuzz/StatsTracker.src/{M000055.html → M000070.html} +0 -0
- data/doc/rdoc/classes/RFuzz.html +7 -1
- data/doc/rdoc/created.rid +1 -1
- data/doc/rdoc/files/lib/rfuzz/client_rb.html +2 -2
- data/doc/rdoc/files/lib/rfuzz/pushbackio_rb.html +108 -0
- data/doc/rdoc/fr_class_index.html +2 -0
- data/doc/rdoc/fr_file_index.html +1 -0
- data/doc/rdoc/fr_method_index.html +76 -61
- data/examples/cl_watcher.rb +12 -9
- data/examples/hpricot_pudding.rb +1 -1
- data/examples/mongrel_test_suite/test/http/protocol_parameters.rb +0 -3
- data/examples/mongrel_test_suite/test/rails/catastrophe.rb +26 -0
- data/examples/mongrel_test_suite/test/rails/conditional.rb +81 -0
- data/examples/mongrel_test_suite/test/rails/put.rb +25 -0
- data/examples/mongrel_test_suite/test/rails/redirect.rb +13 -0
- data/examples/mongrel_test_suite/test/rails/static_files.rb +47 -2
- data/examples/rails_security_test.rb +61 -0
- data/ext/http11_client/http11_client.c +15 -1
- data/ext/http11_client/http11_parser.c +627 -203
- data/ext/http11_client/http11_parser.h +2 -0
- data/ext/http11_client/http11_parser.rl +8 -4
- data/lib/rfuzz/client.rb +124 -115
- data/lib/rfuzz/pushbackio.rb +90 -0
- metadata +86 -60
- data/doc/rdoc/classes/RFuzz/HttpClient.src/M000010.html +0 -24
- data/doc/rdoc/classes/RFuzz/HttpClient.src/M000012.html +0 -50
- data/doc/rdoc/classes/RFuzz/HttpClient.src/M000013.html +0 -49
- data/doc/rdoc/classes/RFuzz/HttpClient.src/M000014.html +0 -57
- data/doc/rdoc/classes/RFuzz/HttpClient.src/M000015.html +0 -37
|
@@ -86,18 +86,18 @@
|
|
|
86
86
|
<h3 class="section-bar">Methods</h3>
|
|
87
87
|
|
|
88
88
|
<div class="name-list">
|
|
89
|
-
<a href="#
|
|
90
|
-
<a href="#
|
|
91
|
-
<a href="#
|
|
92
|
-
<a href="#
|
|
93
|
-
<a href="#
|
|
94
|
-
<a href="#
|
|
95
|
-
<a href="#
|
|
96
|
-
<a href="#
|
|
97
|
-
<a href="#
|
|
98
|
-
<a href="#
|
|
99
|
-
<a href="#
|
|
100
|
-
<a href="#
|
|
89
|
+
<a href="#M000052">base64</a>
|
|
90
|
+
<a href="#M000053">byte_array</a>
|
|
91
|
+
<a href="#M000054">bytes</a>
|
|
92
|
+
<a href="#M000057">floats</a>
|
|
93
|
+
<a href="#M000047">hash_of</a>
|
|
94
|
+
<a href="#M000049">headers</a>
|
|
95
|
+
<a href="#M000056">ints</a>
|
|
96
|
+
<a href="#M000046">new</a>
|
|
97
|
+
<a href="#M000055">num</a>
|
|
98
|
+
<a href="#M000048">queries</a>
|
|
99
|
+
<a href="#M000050">uris</a>
|
|
100
|
+
<a href="#M000051">words</a>
|
|
101
101
|
</div>
|
|
102
102
|
</div>
|
|
103
103
|
|
|
@@ -119,12 +119,12 @@
|
|
|
119
119
|
<div id="methods">
|
|
120
120
|
<h3 class="section-bar">Public Class methods</h3>
|
|
121
121
|
|
|
122
|
-
<div id="method-
|
|
123
|
-
<a name="
|
|
122
|
+
<div id="method-M000046" class="method-detail">
|
|
123
|
+
<a name="M000046"></a>
|
|
124
124
|
|
|
125
125
|
<div class="method-heading">
|
|
126
|
-
<a href="RandomGenerator.src/
|
|
127
|
-
onclick="popupCode('RandomGenerator.src/
|
|
126
|
+
<a href="RandomGenerator.src/M000046.html" target="Code" class="method-signature"
|
|
127
|
+
onclick="popupCode('RandomGenerator.src/M000046.html');return false;">
|
|
128
128
|
<span class="method-name">new</span><span class="method-args">(dict=nil, type=:words)</span>
|
|
129
129
|
</a>
|
|
130
130
|
</div>
|
|
@@ -136,7 +136,7 @@ with a word dictionary then you can generate the random words, and is the
|
|
|
136
136
|
expected behavior. You can use the "type" parameter to change the
|
|
137
137
|
default type of generated content from words to any of the other types
|
|
138
138
|
available [:base64,:uris,:<a
|
|
139
|
-
href="RandomGenerator.html#
|
|
139
|
+
href="RandomGenerator.html#M000053">byte_array</a>,:ints,:floats].
|
|
140
140
|
</p>
|
|
141
141
|
<p>
|
|
142
142
|
The dict should just be an array of words.
|
|
@@ -146,12 +146,12 @@ The dict should just be an array of words.
|
|
|
146
146
|
|
|
147
147
|
<h3 class="section-bar">Public Instance methods</h3>
|
|
148
148
|
|
|
149
|
-
<div id="method-
|
|
150
|
-
<a name="
|
|
149
|
+
<div id="method-M000052" class="method-detail">
|
|
150
|
+
<a name="M000052"></a>
|
|
151
151
|
|
|
152
152
|
<div class="method-heading">
|
|
153
|
-
<a href="RandomGenerator.src/
|
|
154
|
-
onclick="popupCode('RandomGenerator.src/
|
|
153
|
+
<a href="RandomGenerator.src/M000052.html" target="Code" class="method-signature"
|
|
154
|
+
onclick="popupCode('RandomGenerator.src/M000052.html');return false;">
|
|
155
155
|
<span class="method-name">base64</span><span class="method-args">(count,length=100)</span>
|
|
156
156
|
</a>
|
|
157
157
|
</div>
|
|
@@ -164,12 +164,12 @@ the default and is a max, but the lengths are random.
|
|
|
164
164
|
</div>
|
|
165
165
|
</div>
|
|
166
166
|
|
|
167
|
-
<div id="method-
|
|
168
|
-
<a name="
|
|
167
|
+
<div id="method-M000053" class="method-detail">
|
|
168
|
+
<a name="M000053"></a>
|
|
169
169
|
|
|
170
170
|
<div class="method-heading">
|
|
171
|
-
<a href="RandomGenerator.src/
|
|
172
|
-
onclick="popupCode('RandomGenerator.src/
|
|
171
|
+
<a href="RandomGenerator.src/M000053.html" target="Code" class="method-signature"
|
|
172
|
+
onclick="popupCode('RandomGenerator.src/M000053.html');return false;">
|
|
173
173
|
<span class="method-name">byte_array</span><span class="method-args">(count,length=100)</span>
|
|
174
174
|
</a>
|
|
175
175
|
</div>
|
|
@@ -182,12 +182,12 @@ very nasty. As usual, length=100 is a max for the random lengths.
|
|
|
182
182
|
</div>
|
|
183
183
|
</div>
|
|
184
184
|
|
|
185
|
-
<div id="method-
|
|
186
|
-
<a name="
|
|
185
|
+
<div id="method-M000054" class="method-detail">
|
|
186
|
+
<a name="M000054"></a>
|
|
187
187
|
|
|
188
188
|
<div class="method-heading">
|
|
189
|
-
<a href="RandomGenerator.src/
|
|
190
|
-
onclick="popupCode('RandomGenerator.src/
|
|
189
|
+
<a href="RandomGenerator.src/M000054.html" target="Code" class="method-signature"
|
|
190
|
+
onclick="popupCode('RandomGenerator.src/M000054.html');return false;">
|
|
191
191
|
<span class="method-name">bytes</span><span class="method-args">(count)</span>
|
|
192
192
|
</a>
|
|
193
193
|
</div>
|
|
@@ -199,12 +199,12 @@ Generate a single String with random binary garbage in it.
|
|
|
199
199
|
</div>
|
|
200
200
|
</div>
|
|
201
201
|
|
|
202
|
-
<div id="method-
|
|
203
|
-
<a name="
|
|
202
|
+
<div id="method-M000057" class="method-detail">
|
|
203
|
+
<a name="M000057"></a>
|
|
204
204
|
|
|
205
205
|
<div class="method-heading">
|
|
206
|
-
<a href="RandomGenerator.src/
|
|
207
|
-
onclick="popupCode('RandomGenerator.src/
|
|
206
|
+
<a href="RandomGenerator.src/M000057.html" target="Code" class="method-signature"
|
|
207
|
+
onclick="popupCode('RandomGenerator.src/M000057.html');return false;">
|
|
208
208
|
<span class="method-name">floats</span><span class="method-args">(count)</span>
|
|
209
209
|
</a>
|
|
210
210
|
</div>
|
|
@@ -216,12 +216,12 @@ An array for random floats.
|
|
|
216
216
|
</div>
|
|
217
217
|
</div>
|
|
218
218
|
|
|
219
|
-
<div id="method-
|
|
220
|
-
<a name="
|
|
219
|
+
<div id="method-M000047" class="method-detail">
|
|
220
|
+
<a name="M000047"></a>
|
|
221
221
|
|
|
222
222
|
<div class="method-heading">
|
|
223
|
-
<a href="RandomGenerator.src/
|
|
224
|
-
onclick="popupCode('RandomGenerator.src/
|
|
223
|
+
<a href="RandomGenerator.src/M000047.html" target="Code" class="method-signature"
|
|
224
|
+
onclick="popupCode('RandomGenerator.src/M000047.html');return false;">
|
|
225
225
|
<span class="method-name">hash_of</span><span class="method-args">(count,length=5,type=@type)</span>
|
|
226
226
|
</a>
|
|
227
227
|
</div>
|
|
@@ -230,12 +230,12 @@ An array for random floats.
|
|
|
230
230
|
<p>
|
|
231
231
|
Returns a random hash of type (default :words) where the key=>value is
|
|
232
232
|
randomly generated. This is aliased for <a
|
|
233
|
-
href="RandomGenerator.html#
|
|
234
|
-
href="RandomGenerator.html#
|
|
233
|
+
href="RandomGenerator.html#M000048">RandomGenerator.queries</a> and <a
|
|
234
|
+
href="RandomGenerator.html#M000049">RandomGenerator.headers</a> so that it
|
|
235
235
|
is more readable.
|
|
236
236
|
</p>
|
|
237
237
|
<dl>
|
|
238
|
-
<dt>:words,:base64,:uris,:<a href="RandomGenerator.html#
|
|
238
|
+
<dt>:words,:base64,:uris,:<a href="RandomGenerator.html#M000053">byte_array</a>,:ints,:floats</dt><dd>are the available
|
|
239
239
|
|
|
240
240
|
</dd>
|
|
241
241
|
</dl>
|
|
@@ -246,8 +246,8 @@ translate to function calls on self.send(type,length).
|
|
|
246
246
|
</div>
|
|
247
247
|
</div>
|
|
248
248
|
|
|
249
|
-
<div id="method-
|
|
250
|
-
<a name="
|
|
249
|
+
<div id="method-M000049" class="method-detail">
|
|
250
|
+
<a name="M000049"></a>
|
|
251
251
|
|
|
252
252
|
<div class="method-heading">
|
|
253
253
|
<span class="method-name">headers</span><span class="method-args">(count,length=5,type=@type)</span>
|
|
@@ -255,17 +255,17 @@ translate to function calls on self.send(type,length).
|
|
|
255
255
|
|
|
256
256
|
<div class="method-description">
|
|
257
257
|
<p>
|
|
258
|
-
Alias for <a href="RandomGenerator.html#
|
|
258
|
+
Alias for <a href="RandomGenerator.html#M000047">hash_of</a>
|
|
259
259
|
</p>
|
|
260
260
|
</div>
|
|
261
261
|
</div>
|
|
262
262
|
|
|
263
|
-
<div id="method-
|
|
264
|
-
<a name="
|
|
263
|
+
<div id="method-M000056" class="method-detail">
|
|
264
|
+
<a name="M000056"></a>
|
|
265
265
|
|
|
266
266
|
<div class="method-heading">
|
|
267
|
-
<a href="RandomGenerator.src/
|
|
268
|
-
onclick="popupCode('RandomGenerator.src/
|
|
267
|
+
<a href="RandomGenerator.src/M000056.html" target="Code" class="method-signature"
|
|
268
|
+
onclick="popupCode('RandomGenerator.src/M000056.html');return false;">
|
|
269
269
|
<span class="method-name">ints</span><span class="method-args">(count, max = nil)</span>
|
|
270
270
|
</a>
|
|
271
271
|
</div>
|
|
@@ -279,12 +279,12 @@ tests should run the same on all platforms).
|
|
|
279
279
|
</div>
|
|
280
280
|
</div>
|
|
281
281
|
|
|
282
|
-
<div id="method-
|
|
283
|
-
<a name="
|
|
282
|
+
<div id="method-M000055" class="method-detail">
|
|
283
|
+
<a name="M000055"></a>
|
|
284
284
|
|
|
285
285
|
<div class="method-heading">
|
|
286
|
-
<a href="RandomGenerator.src/
|
|
287
|
-
onclick="popupCode('RandomGenerator.src/
|
|
286
|
+
<a href="RandomGenerator.src/M000055.html" target="Code" class="method-signature"
|
|
287
|
+
onclick="popupCode('RandomGenerator.src/M000055.html');return false;">
|
|
288
288
|
<span class="method-name">num</span><span class="method-args">(max)</span>
|
|
289
289
|
</a>
|
|
290
290
|
</div>
|
|
@@ -296,8 +296,8 @@ A random number with a maximum of max.
|
|
|
296
296
|
</div>
|
|
297
297
|
</div>
|
|
298
298
|
|
|
299
|
-
<div id="method-
|
|
300
|
-
<a name="
|
|
299
|
+
<div id="method-M000048" class="method-detail">
|
|
300
|
+
<a name="M000048"></a>
|
|
301
301
|
|
|
302
302
|
<div class="method-heading">
|
|
303
303
|
<span class="method-name">queries</span><span class="method-args">(count,length=5,type=@type)</span>
|
|
@@ -305,17 +305,17 @@ A random number with a maximum of max.
|
|
|
305
305
|
|
|
306
306
|
<div class="method-description">
|
|
307
307
|
<p>
|
|
308
|
-
Alias for <a href="RandomGenerator.html#
|
|
308
|
+
Alias for <a href="RandomGenerator.html#M000047">hash_of</a>
|
|
309
309
|
</p>
|
|
310
310
|
</div>
|
|
311
311
|
</div>
|
|
312
312
|
|
|
313
|
-
<div id="method-
|
|
314
|
-
<a name="
|
|
313
|
+
<div id="method-M000050" class="method-detail">
|
|
314
|
+
<a name="M000050"></a>
|
|
315
315
|
|
|
316
316
|
<div class="method-heading">
|
|
317
|
-
<a href="RandomGenerator.src/
|
|
318
|
-
onclick="popupCode('RandomGenerator.src/
|
|
317
|
+
<a href="RandomGenerator.src/M000050.html" target="Code" class="method-signature"
|
|
318
|
+
onclick="popupCode('RandomGenerator.src/M000050.html');return false;">
|
|
319
319
|
<span class="method-name">uris</span><span class="method-args">(count,length=100)</span>
|
|
320
320
|
</a>
|
|
321
321
|
</div>
|
|
@@ -329,12 +329,12 @@ gigantor URI. The URI starts with /.
|
|
|
329
329
|
</div>
|
|
330
330
|
</div>
|
|
331
331
|
|
|
332
|
-
<div id="method-
|
|
333
|
-
<a name="
|
|
332
|
+
<div id="method-M000051" class="method-detail">
|
|
333
|
+
<a name="M000051"></a>
|
|
334
334
|
|
|
335
335
|
<div class="method-heading">
|
|
336
|
-
<a href="RandomGenerator.src/
|
|
337
|
-
onclick="popupCode('RandomGenerator.src/
|
|
336
|
+
<a href="RandomGenerator.src/M000051.html" target="Code" class="method-signature"
|
|
337
|
+
onclick="popupCode('RandomGenerator.src/M000051.html');return false;">
|
|
338
338
|
<span class="method-name">words</span><span class="method-args">(count=1)</span>
|
|
339
339
|
</a>
|
|
340
340
|
</div>
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -86,18 +86,18 @@
|
|
|
86
86
|
<h3 class="section-bar">Methods</h3>
|
|
87
87
|
|
|
88
88
|
<div class="name-list">
|
|
89
|
-
<a href="#
|
|
90
|
-
<a href="#
|
|
91
|
-
<a href="#
|
|
92
|
-
<a href="#
|
|
93
|
-
<a href="#
|
|
94
|
-
<a href="#
|
|
95
|
-
<a href="#
|
|
96
|
-
<a href="#
|
|
97
|
-
<a href="#
|
|
98
|
-
<a href="#
|
|
99
|
-
<a href="#
|
|
100
|
-
<a href="#
|
|
89
|
+
<a href="#M000074">dump</a>
|
|
90
|
+
<a href="#M000077">keys</a>
|
|
91
|
+
<a href="#M000081">mark</a>
|
|
92
|
+
<a href="#M000079">mean</a>
|
|
93
|
+
<a href="#M000071">new</a>
|
|
94
|
+
<a href="#M000072">reset</a>
|
|
95
|
+
<a href="#M000073">sample</a>
|
|
96
|
+
<a href="#M000080">sd</a>
|
|
97
|
+
<a href="#M000082">tick</a>
|
|
98
|
+
<a href="#M000078">to_hash</a>
|
|
99
|
+
<a href="#M000075">to_s</a>
|
|
100
|
+
<a href="#M000076">values</a>
|
|
101
101
|
</div>
|
|
102
102
|
</div>
|
|
103
103
|
|
|
@@ -152,12 +152,12 @@
|
|
|
152
152
|
<div id="methods">
|
|
153
153
|
<h3 class="section-bar">Public Class methods</h3>
|
|
154
154
|
|
|
155
|
-
<div id="method-
|
|
156
|
-
<a name="
|
|
155
|
+
<div id="method-M000077" class="method-detail">
|
|
156
|
+
<a name="M000077"></a>
|
|
157
157
|
|
|
158
158
|
<div class="method-heading">
|
|
159
|
-
<a href="Sampler.src/
|
|
160
|
-
onclick="popupCode('Sampler.src/
|
|
159
|
+
<a href="Sampler.src/M000077.html" target="Code" class="method-signature"
|
|
160
|
+
onclick="popupCode('Sampler.src/M000077.html');return false;">
|
|
161
161
|
<span class="method-name">keys</span><span class="method-args">()</span>
|
|
162
162
|
</a>
|
|
163
163
|
</div>
|
|
@@ -170,12 +170,12 @@ values that this stats object is using.
|
|
|
170
170
|
</div>
|
|
171
171
|
</div>
|
|
172
172
|
|
|
173
|
-
<div id="method-
|
|
174
|
-
<a name="
|
|
173
|
+
<div id="method-M000071" class="method-detail">
|
|
174
|
+
<a name="M000071"></a>
|
|
175
175
|
|
|
176
176
|
<div class="method-heading">
|
|
177
|
-
<a href="Sampler.src/
|
|
178
|
-
onclick="popupCode('Sampler.src/
|
|
177
|
+
<a href="Sampler.src/M000071.html" target="Code" class="method-signature"
|
|
178
|
+
onclick="popupCode('Sampler.src/M000071.html');return false;">
|
|
179
179
|
<span class="method-name">new</span><span class="method-args">(name)</span>
|
|
180
180
|
</a>
|
|
181
181
|
</div>
|
|
@@ -186,12 +186,12 @@ values that this stats object is using.
|
|
|
186
186
|
|
|
187
187
|
<h3 class="section-bar">Public Instance methods</h3>
|
|
188
188
|
|
|
189
|
-
<div id="method-
|
|
190
|
-
<a name="
|
|
189
|
+
<div id="method-M000074" class="method-detail">
|
|
190
|
+
<a name="M000074"></a>
|
|
191
191
|
|
|
192
192
|
<div class="method-heading">
|
|
193
|
-
<a href="Sampler.src/
|
|
194
|
-
onclick="popupCode('Sampler.src/
|
|
193
|
+
<a href="Sampler.src/M000074.html" target="Code" class="method-signature"
|
|
194
|
+
onclick="popupCode('Sampler.src/M000074.html');return false;">
|
|
195
195
|
<span class="method-name">dump</span><span class="method-args">(msg = "", out=STDERR)</span>
|
|
196
196
|
</a>
|
|
197
197
|
</div>
|
|
@@ -204,12 +204,12 @@ additional message.
|
|
|
204
204
|
</div>
|
|
205
205
|
</div>
|
|
206
206
|
|
|
207
|
-
<div id="method-
|
|
208
|
-
<a name="
|
|
207
|
+
<div id="method-M000081" class="method-detail">
|
|
208
|
+
<a name="M000081"></a>
|
|
209
209
|
|
|
210
210
|
<div class="method-heading">
|
|
211
|
-
<a href="Sampler.src/
|
|
212
|
-
onclick="popupCode('Sampler.src/
|
|
211
|
+
<a href="Sampler.src/M000081.html" target="Code" class="method-signature"
|
|
212
|
+
onclick="popupCode('Sampler.src/M000081.html');return false;">
|
|
213
213
|
<span class="method-name">mark</span><span class="method-args">()</span>
|
|
214
214
|
</a>
|
|
215
215
|
</div>
|
|
@@ -226,12 +226,12 @@ meaningless.
|
|
|
226
226
|
</div>
|
|
227
227
|
</div>
|
|
228
228
|
|
|
229
|
-
<div id="method-
|
|
230
|
-
<a name="
|
|
229
|
+
<div id="method-M000079" class="method-detail">
|
|
230
|
+
<a name="M000079"></a>
|
|
231
231
|
|
|
232
232
|
<div class="method-heading">
|
|
233
|
-
<a href="Sampler.src/
|
|
234
|
-
onclick="popupCode('Sampler.src/
|
|
233
|
+
<a href="Sampler.src/M000079.html" target="Code" class="method-signature"
|
|
234
|
+
onclick="popupCode('Sampler.src/M000079.html');return false;">
|
|
235
235
|
<span class="method-name">mean</span><span class="method-args">()</span>
|
|
236
236
|
</a>
|
|
237
237
|
</div>
|
|
@@ -243,12 +243,12 @@ Calculates and returns the mean for the data passed so far.
|
|
|
243
243
|
</div>
|
|
244
244
|
</div>
|
|
245
245
|
|
|
246
|
-
<div id="method-
|
|
247
|
-
<a name="
|
|
246
|
+
<div id="method-M000072" class="method-detail">
|
|
247
|
+
<a name="M000072"></a>
|
|
248
248
|
|
|
249
249
|
<div class="method-heading">
|
|
250
|
-
<a href="Sampler.src/
|
|
251
|
-
onclick="popupCode('Sampler.src/
|
|
250
|
+
<a href="Sampler.src/M000072.html" target="Code" class="method-signature"
|
|
251
|
+
onclick="popupCode('Sampler.src/M000072.html');return false;">
|
|
252
252
|
<span class="method-name">reset</span><span class="method-args">()</span>
|
|
253
253
|
</a>
|
|
254
254
|
</div>
|
|
@@ -260,12 +260,12 @@ Resets the internal counters so you can start sampling again.
|
|
|
260
260
|
</div>
|
|
261
261
|
</div>
|
|
262
262
|
|
|
263
|
-
<div id="method-
|
|
264
|
-
<a name="
|
|
263
|
+
<div id="method-M000073" class="method-detail">
|
|
264
|
+
<a name="M000073"></a>
|
|
265
265
|
|
|
266
266
|
<div class="method-heading">
|
|
267
|
-
<a href="Sampler.src/
|
|
268
|
-
onclick="popupCode('Sampler.src/
|
|
267
|
+
<a href="Sampler.src/M000073.html" target="Code" class="method-signature"
|
|
268
|
+
onclick="popupCode('Sampler.src/M000073.html');return false;">
|
|
269
269
|
<span class="method-name">sample</span><span class="method-args">(s)</span>
|
|
270
270
|
</a>
|
|
271
271
|
</div>
|
|
@@ -277,12 +277,12 @@ Adds a sampling to the calculations.
|
|
|
277
277
|
</div>
|
|
278
278
|
</div>
|
|
279
279
|
|
|
280
|
-
<div id="method-
|
|
281
|
-
<a name="
|
|
280
|
+
<div id="method-M000080" class="method-detail">
|
|
281
|
+
<a name="M000080"></a>
|
|
282
282
|
|
|
283
283
|
<div class="method-heading">
|
|
284
|
-
<a href="Sampler.src/
|
|
285
|
-
onclick="popupCode('Sampler.src/
|
|
284
|
+
<a href="Sampler.src/M000080.html" target="Code" class="method-signature"
|
|
285
|
+
onclick="popupCode('Sampler.src/M000080.html');return false;">
|
|
286
286
|
<span class="method-name">sd</span><span class="method-args">()</span>
|
|
287
287
|
</a>
|
|
288
288
|
</div>
|
|
@@ -294,12 +294,12 @@ Calculates the standard deviation of the data so far.
|
|
|
294
294
|
</div>
|
|
295
295
|
</div>
|
|
296
296
|
|
|
297
|
-
<div id="method-
|
|
298
|
-
<a name="
|
|
297
|
+
<div id="method-M000082" class="method-detail">
|
|
298
|
+
<a name="M000082"></a>
|
|
299
299
|
|
|
300
300
|
<div class="method-heading">
|
|
301
|
-
<a href="Sampler.src/
|
|
302
|
-
onclick="popupCode('Sampler.src/
|
|
301
|
+
<a href="Sampler.src/M000082.html" target="Code" class="method-signature"
|
|
302
|
+
onclick="popupCode('Sampler.src/M000082.html');return false;">
|
|
303
303
|
<span class="method-name">tick</span><span class="method-args">()</span>
|
|
304
304
|
</a>
|
|
305
305
|
</div>
|
|
@@ -320,12 +320,12 @@ An example is:
|
|
|
320
320
|
</div>
|
|
321
321
|
</div>
|
|
322
322
|
|
|
323
|
-
<div id="method-
|
|
324
|
-
<a name="
|
|
323
|
+
<div id="method-M000078" class="method-detail">
|
|
324
|
+
<a name="M000078"></a>
|
|
325
325
|
|
|
326
326
|
<div class="method-heading">
|
|
327
|
-
<a href="Sampler.src/
|
|
328
|
-
onclick="popupCode('Sampler.src/
|
|
327
|
+
<a href="Sampler.src/M000078.html" target="Code" class="method-signature"
|
|
328
|
+
onclick="popupCode('Sampler.src/M000078.html');return false;">
|
|
329
329
|
<span class="method-name">to_hash</span><span class="method-args">()</span>
|
|
330
330
|
</a>
|
|
331
331
|
</div>
|
|
@@ -334,12 +334,12 @@ An example is:
|
|
|
334
334
|
</div>
|
|
335
335
|
</div>
|
|
336
336
|
|
|
337
|
-
<div id="method-
|
|
338
|
-
<a name="
|
|
337
|
+
<div id="method-M000075" class="method-detail">
|
|
338
|
+
<a name="M000075"></a>
|
|
339
339
|
|
|
340
340
|
<div class="method-heading">
|
|
341
|
-
<a href="Sampler.src/
|
|
342
|
-
onclick="popupCode('Sampler.src/
|
|
341
|
+
<a href="Sampler.src/M000075.html" target="Code" class="method-signature"
|
|
342
|
+
onclick="popupCode('Sampler.src/M000075.html');return false;">
|
|
343
343
|
<span class="method-name">to_s</span><span class="method-args">()</span>
|
|
344
344
|
</a>
|
|
345
345
|
</div>
|
|
@@ -351,12 +351,12 @@ Returns a common display (used by dump)
|
|
|
351
351
|
</div>
|
|
352
352
|
</div>
|
|
353
353
|
|
|
354
|
-
<div id="method-
|
|
355
|
-
<a name="
|
|
354
|
+
<div id="method-M000076" class="method-detail">
|
|
355
|
+
<a name="M000076"></a>
|
|
356
356
|
|
|
357
357
|
<div class="method-heading">
|
|
358
|
-
<a href="Sampler.src/
|
|
359
|
-
onclick="popupCode('Sampler.src/
|
|
358
|
+
<a href="Sampler.src/M000076.html" target="Code" class="method-signature"
|
|
359
|
+
onclick="popupCode('Sampler.src/M000076.html');return false;">
|
|
360
360
|
<span class="method-name">values</span><span class="method-args">()</span>
|
|
361
361
|
</a>
|
|
362
362
|
</div>
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|