Mercurial > hg > nginx-site
changeset 466:74736c333906
Corrected boundaries of the example ranges.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Wed, 28 Mar 2012 06:53:07 +0000 |
parents | c0bd33801c8c |
children | c505c92c8658 |
files | xml/en/docs/http/ngx_http_split_clients_module.xml xml/ru/docs/http/ngx_http_split_clients_module.xml |
diffstat | 2 files changed, 6 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_split_clients_module.xml Wed Mar 28 06:51:14 2012 +0000 +++ b/xml/en/docs/http/ngx_http_split_clients_module.xml Wed Mar 28 06:53:07 2012 +0000 @@ -55,12 +55,12 @@ } </example> The value of the original string is hashed using MurmurHash2. -In the example given, hash values from 0 to 21474836 (0.5%) +In the example given, hash values from 0 to 21474835 (0.5%) correspond to the <var>$variant</var> variable taking the value <literal>".one"</literal>, -hash values from 21474837 to 107374182 (2%) correspond to +hash values from 21474836 to 107374180 (2%) correspond to the value <literal>".two"</literal>, -and hash values from 107374183 to 4294967297 correspond to +and hash values from 107374181 to 4294967295 correspond to the value <literal>""</literal>. </para>
--- a/xml/ru/docs/http/ngx_http_split_clients_module.xml Wed Mar 28 06:51:14 2012 +0000 +++ b/xml/ru/docs/http/ngx_http_split_clients_module.xml Wed Mar 28 06:53:07 2012 +0000 @@ -55,10 +55,10 @@ } </example> Значение исходной строки хэшируется с помощью MurmurHash2. -В приведённом примере при значениях хэша от 0 до 21474836 (0.5%) +В приведённом примере при значениях хэша от 0 до 21474835 (0.5%) переменная <var>$variant</var> получит значение <literal>".one"</literal>. -При значениях хэша от 21474837 до 107374182 (2%) — <literal>".two"</literal>. -И при значениях хэша от 107374183 до 4294967297 — <literal>""</literal>. +При значениях хэша от 21474836 до 107374180 (2%) — <literal>".two"</literal>. +И при значениях хэша от 107374181 до 4294967295 — <literal>""</literal>. </para> </directive>