http://git-wip-us.apache.org/repos/asf/commons-rng/blob/d1b3113a/commons-rng-core/site-content/.svn/pristine/0c/0c6a8abe758016f15bddb7c0924ab6b4b31d3699.svn-base
----------------------------------------------------------------------
diff --git 
a/commons-rng-core/site-content/.svn/pristine/0c/0c6a8abe758016f15bddb7c0924ab6b4b31d3699.svn-base
 
b/commons-rng-core/site-content/.svn/pristine/0c/0c6a8abe758016f15bddb7c0924ab6b4b31d3699.svn-base
new file mode 100644
index 0000000..68a3274
--- /dev/null
+++ 
b/commons-rng-core/site-content/.svn/pristine/0c/0c6a8abe758016f15bddb7c0924ab6b4b31d3699.svn-base
@@ -0,0 +1,290 @@
+<!DOCTYPE html>
+<!--
+ | Generated by Apache Maven Doxia at 10 September 2016
+ | Rendered using Apache Maven Fluido Skin 1.3.0
+-->
+<html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
+  <head>
+    <meta charset="UTF-8" />
+    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
+    <meta name="Date-Revision-yyyymmdd" content="20160910" />
+    <meta http-equiv="Content-Language" content="en" />
+    <title>Rng &#x2013; CPD Results</title>
+
+  <link rel="stylesheet" href="./css/bootstrap.min.css" type="text/css" />
+  <link rel="stylesheet" href="./css/site.css" type="text/css" />
+    <link rel="stylesheet" href="./css/print.css" media="print" />
+
+  <script type="text/javascript" src="./js/jquery.min.js"></script>
+  <script type="text/javascript" src="./js/bootstrap.min.js"></script>
+  <script type="text/javascript" src="./js/prettify.min.js"></script>
+  <script type="text/javascript" src="./js/site.js"></script>
+
+                            
+<script 
src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML";
 type="text/javascript"></script>                                
+<link rel="stylesheet" href="./css/prettify.css" media="all" type="text/css"/> 
                 
+      </head>
+
+  <body class="composite">
+                          <a href="http://commons.apache.org/"; id="bannerLeft" 
title="Apache Commons logo">
+                                                                               
         <img class="logo-left" src="./images/commons-logo.png"  alt="Apache 
Commons logo"/>
+                </a>
+                                              <a href="index.html" 
id="bannerRight">
+                                                                               
                 <img class="logo-right" src="images/commons_rng.small.png"  
alt="Commons Rng"/>
+                </a>
+          <div class="clear"></div>
+
+    <div class="navbar">
+      <div class="navbar-inner">
+        <div class="container-fluid">
+          <a class="brand" 
href="http://commons.apache.org/proper/commons-rng/";>Apache Commons Rng 
&trade;</a>
+          <ul class="nav">      
+                    
+            <li id="publishDate">Last Published: 10 September 2016</li>
+      <li class="divider">|</li> <li id="projectVersion">Version: 
1.0-SNAPSHOT</li>
+  </ul>
+                    <div class="pull-right">  <ul class="nav">
+            <li>
+                  <a href="http://www.apachecon.com/"; class="externalLink" 
title="ApacheCon">
+    ApacheCon</a>
+      </li>
+          <li>
+                  <a href="http://www.apache.org"; class="externalLink" 
title="Apache">
+    Apache</a>
+      </li>
+          <li>
+                  <a href="../../" title="Commons">
+    Commons</a>
+      </li>
+    </ul>
+</div>
+        </div>
+      </div>
+    </div>
+
+    <div class="container-fluid">
+      <table class="layout-table">
+        <tr>
+          <td class="sidebar">
+            <div class="well sidebar-nav">
+                    <ul class="nav nav-list">
+                                  <li class="nav-header">Rng</li>
+                                        <li class="none">
+                  <a href="index.html" title="Overview">
+    Overview</a>
+          </li>
+                             <li class="none">
+                  <a href="../../rng/download_rng.cgi" title="Downloads">
+    Downloads</a>
+          </li>
+                             <li class="none">
+                  <a href="apidocs/index.html" title="Latest API docs 
(development)">
+    Latest API docs (development)</a>
+          </li>
+                             <li class="none">
+                  <a href="../../rng/javadocs/api-1.0/index.html" 
title="Javadoc (1.0 release)">
+    Javadoc (1.0 release)</a>
+          </li>
+                             <li class="none">
+                  <a href="issue-tracking.html" title="Issue Tracking">
+    Issue Tracking</a>
+          </li>
+                             <li class="none">
+                  <a 
href="http://git-wip-us.apache.org/repos/asf/commons-rng.git"; 
class="externalLink" title="Source Repository (current)">
+    Source Repository (current)</a>
+          </li>
+                             <li class="none">
+                  <a href="developers.html" title="Developers Guide">
+    Developers Guide</a>
+          </li>
+                 </ul>
+      <ul class="nav nav-list">
+                                        <li class="nav-header"><i 
class="icon-book"></i>User Guide</li>
+                                        <li class="none">
+                  <a href="userguide/index.html" title="Contents">
+    Contents</a>
+          </li>
+                 </ul>
+      <ul class="nav nav-list">
+                                        <li class="nav-header"><i 
class="icon-info-sign"></i>Project Documentation</li>
+                                                                               
                                                                                
                                                                                
                               <li class="collapsed">
+                  <a href="project-info.html" title="Project Information">
+    Project Information</a>
+                    </li>
+                                                                               
                                                                                
                                                                                
                                                                  <li 
class="expanded">
+                  <a href="project-reports.html" title="Project Reports">
+    Project Reports</a>
+                    <ul>
+                                  <li class="none">
+                  <a href="changes-report.html" title="Changes">
+    Changes</a>
+          </li>
+                                     <li class="none">
+                  <a href="jira-report.html" title="JIRA Report">
+    JIRA Report</a>
+          </li>
+                                     <li class="none">
+                  <a href="apidocs/index.html" title="JavaDocs">
+    JavaDocs</a>
+          </li>
+                                     <li class="none">
+                  <a href="xref/index.html" title="Source Xref">
+    Source Xref</a>
+          </li>
+                                     <li class="none">
+                  <a href="xref-test/index.html" title="Test Source Xref">
+    Test Source Xref</a>
+          </li>
+                                     <li class="none">
+                  <a href="surefire-report.html" title="Surefire Report">
+    Surefire Report</a>
+          </li>
+                                     <li class="none">
+                  <a href="rat-report.html" title="Rat Report">
+    Rat Report</a>
+          </li>
+                                     <li class="none">
+                  <a href="jdepend-report.html" title="JDepend">
+    JDepend</a>
+          </li>
+                                     <li class="none">
+                  <a href="jacoco/index.html" title="JaCoCo Test">
+    JaCoCo Test</a>
+          </li>
+                                     <li class="none">
+                  <a href="findbugs.html" title="FindBugs">
+    FindBugs</a>
+          </li>
+                                     <li class="none">
+                  <a href="checkstyle.html" title="Checkstyle">
+    Checkstyle</a>
+          </li>
+                                     <li class="none">
+                  <a href="pmd.html" title="PMD">
+    PMD</a>
+          </li>
+                                       <li class="none active">
+                  <a href="cpd.html" title="CPD">
+    CPD</a>
+          </li>
+                     </ul>
+              </li>
+                 </ul>
+      <ul class="nav nav-list">
+                                  <li class="nav-header">Commons</li>
+                                        <li class="none">
+                  <a href="../../" title="Home">
+    Home</a>
+          </li>
+                             <li class="none">
+                  <a href="http://www.apache.org/licenses/"; 
class="externalLink" title="License">
+    License</a>
+          </li>
+                                                                               
<li class="collapsed">
+                  <a href="../../components.html" title="Components">
+    Components</a>
+                    </li>
+                                                                               
<li class="collapsed">
+                  <a href="../../sandbox/index.html" title="Sandbox">
+    Sandbox</a>
+                    </li>
+                                                                               
<li class="collapsed">
+                  <a href="../../dormant/index.html" title="Dormant">
+    Dormant</a>
+                    </li>
+                 </ul>
+      <ul class="nav nav-list">
+                                  <li class="nav-header">General 
Information</li>
+                                        <li class="none">
+                  <a href="../../security.html" title="Security">
+    Security</a>
+          </li>
+                             <li class="none">
+                  <a href="../../volunteering.html" title="Volunteering">
+    Volunteering</a>
+          </li>
+                             <li class="none">
+                  <a href="../../patches.html" title="Contributing Patches">
+    Contributing Patches</a>
+          </li>
+                             <li class="none">
+                  <a href="../../building.html" title="Building Components">
+    Building Components</a>
+          </li>
+                             <li class="none">
+                  <a href="../../commons-parent-pom.html" title="Commons 
Parent Pom">
+    Commons Parent Pom</a>
+          </li>
+                             <li class="none">
+                  <a href="../../build-plugin/index.html" title="Commons Build 
Plugin">
+    Commons Build Plugin</a>
+          </li>
+                             <li class="none">
+                  <a href="../../releases/index.html" title="Releasing 
Components">
+    Releasing Components</a>
+          </li>
+                             <li class="none">
+                  <a href="http://wiki.apache.org/commons/FrontPage"; 
class="externalLink" title="Wiki">
+    Wiki</a>
+          </li>
+                 </ul>
+      <ul class="nav nav-list">
+                                  <li class="nav-header">ASF</li>
+                                        <li class="none">
+                  <a href="http://www.apache.org/foundation/how-it-works.html"; 
class="externalLink" title="How the ASF works">
+    How the ASF works</a>
+          </li>
+                             <li class="none">
+                  <a href="http://www.apache.org/foundation/getinvolved.html"; 
class="externalLink" title="Get Involved">
+    Get Involved</a>
+          </li>
+                             <li class="none">
+                  <a href="http://www.apache.org/dev/"; class="externalLink" 
title="Developer Resources">
+    Developer Resources</a>
+          </li>
+                             <li class="none">
+                  <a 
href="http://www.apache.org/foundation/policies/conduct.html"; 
class="externalLink" title="Code of Conduct">
+    Code of Conduct</a>
+          </li>
+                             <li class="none">
+                  <a href="http://www.apache.org/foundation/sponsorship.html"; 
class="externalLink" title="Sponsorship">
+    Sponsorship</a>
+          </li>
+                             <li class="none">
+                  <a href="http://www.apache.org/foundation/thanks.html"; 
class="externalLink" title="Thanks">
+    Thanks</a>
+          </li>
+                 </ul>
+              </div>
+            <div id="poweredBy">
+                                                                               
                                     <a 
href="http://www.apache.org/events/current-event.html"; title="ApacheCon" 
class="builtBy">
+        <img class="builtBy"  alt="ApacheCon" 
src="http://www.apache.org/events/current-event-125x125.png";    />
+      </a>
+                                                                               
                     <a href="http://maven.apache.org/"; title="Maven" 
class="builtBy">
+        <img class="builtBy"  alt="Maven" 
src="http://maven.apache.org/images/logos/maven-feather.png";    />
+      </a>
+                      </div>
+          </td>
+          <td class="content">
+            <div class="section">
+<h2><a name="CPD_Results"></a>CPD Results</h2>
+<p>The following document contains the results of PMD's  <a 
class="externalLink" href="http://pmd.sourceforge.net/cpd.html";>CPD</a> 
5.3.2.</p></div>
+<div class="section">
+<h2><a name="Duplications"></a>Duplications</h2>
+<p>CPD found no problems in your source code.</p></div>
+          </td>
+        </tr>
+      </table>
+    </div>
+
+    <div class="footer">
+      <p>Copyright &copy;                    2016
+                        <a href="https://www.apache.org/";>The Apache Software 
Foundation</a>.
+            All Rights Reserved.</p>
+                                                                  
+<div class="center">Apache Commons, Apache Commons Rng, Apache, the Apache 
feather logo, and the Apache Commons project logos are trademarks of The Apache 
Software Foundation.
+      All other marks mentioned may be trademarks or registered trademarks of 
their respective owners.</div>
+                              </div>
+  </body>
+
+</html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/commons-rng/blob/d1b3113a/commons-rng-core/site-content/.svn/pristine/0e/0e4999d66aaa52ae88ca4a399c1a0c3d0eb0211c.svn-base
----------------------------------------------------------------------
diff --git 
a/commons-rng-core/site-content/.svn/pristine/0e/0e4999d66aaa52ae88ca4a399c1a0c3d0eb0211c.svn-base
 
b/commons-rng-core/site-content/.svn/pristine/0e/0e4999d66aaa52ae88ca4a399c1a0c3d0eb0211c.svn-base
new file mode 100644
index 0000000..9851da6
--- /dev/null
+++ 
b/commons-rng-core/site-content/.svn/pristine/0e/0e4999d66aaa52ae88ca4a399c1a0c3d0eb0211c.svn-base
@@ -0,0 +1,273 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 
"http://www.w3.org/TR/html4/loose.dtd";>
+<html lang="en">
+<head>
+<title>Source code</title>
+<link rel="stylesheet" type="text/css" 
href="../../../../../../../stylesheet.css" title="Style">
+</head>
+<body>
+<div class="sourceContainer">
+<pre><span class="sourceLineNo">001</span>/*<a name="line.1"></a>
+<span class="sourceLineNo">002</span> * Licensed to the Apache Software 
Foundation (ASF) under one or more<a name="line.2"></a>
+<span class="sourceLineNo">003</span> * contributor license agreements.  See 
the NOTICE file distributed with<a name="line.3"></a>
+<span class="sourceLineNo">004</span> * this work for additional information 
regarding copyright ownership.<a name="line.4"></a>
+<span class="sourceLineNo">005</span> * The ASF licenses this file to You 
under the Apache License, Version 2.0<a name="line.5"></a>
+<span class="sourceLineNo">006</span> * (the "License"); you may not use this 
file except in compliance with<a name="line.6"></a>
+<span class="sourceLineNo">007</span> * the License.  You may obtain a copy of 
the License at<a name="line.7"></a>
+<span class="sourceLineNo">008</span> *<a name="line.8"></a>
+<span class="sourceLineNo">009</span> *      
http://www.apache.org/licenses/LICENSE-2.0<a name="line.9"></a>
+<span class="sourceLineNo">010</span> *<a name="line.10"></a>
+<span class="sourceLineNo">011</span> * Unless required by applicable law or 
agreed to in writing, software<a name="line.11"></a>
+<span class="sourceLineNo">012</span> * distributed under the License is 
distributed on an "AS IS" BASIS,<a name="line.12"></a>
+<span class="sourceLineNo">013</span> * WITHOUT WARRANTIES OR CONDITIONS OF 
ANY KIND, either express or implied.<a name="line.13"></a>
+<span class="sourceLineNo">014</span> * See the License for the specific 
language governing permissions and<a name="line.14"></a>
+<span class="sourceLineNo">015</span> * limitations under the License.<a 
name="line.15"></a>
+<span class="sourceLineNo">016</span> */<a name="line.16"></a>
+<span class="sourceLineNo">017</span>package 
org.apache.commons.rng.internal.source32;<a name="line.17"></a>
+<span class="sourceLineNo">018</span><a name="line.18"></a>
+<span class="sourceLineNo">019</span>import java.util.Arrays;<a 
name="line.19"></a>
+<span class="sourceLineNo">020</span>import 
org.apache.commons.rng.internal.util.NumberFactory;<a name="line.20"></a>
+<span class="sourceLineNo">021</span><a name="line.21"></a>
+<span class="sourceLineNo">022</span>/**<a name="line.22"></a>
+<span class="sourceLineNo">023</span> * This abstract class implements the 
WELL class of pseudo-random number<a name="line.23"></a>
+<span class="sourceLineNo">024</span> * generator from Fran&amp;ccedil;ois 
Panneton, Pierre L'Ecuyer and Makoto<a name="line.24"></a>
+<span class="sourceLineNo">025</span> * Matsumoto.<a name="line.25"></a>
+<span class="sourceLineNo">026</span> * &lt;p&gt;<a name="line.26"></a>
+<span class="sourceLineNo">027</span> * This generator is described in a paper 
by Fran&amp;ccedil;ois Panneton,<a name="line.27"></a>
+<span class="sourceLineNo">028</span> * Pierre L'Ecuyer and Makoto Matsumoto<a 
name="line.28"></a>
+<span class="sourceLineNo">029</span> * &lt;a 
href="http://www.iro.umontreal.ca/~lecuyer/myftp/papers/wellrng.pdf"&gt;<a 
name="line.29"></a>
+<span class="sourceLineNo">030</span> * Improved Long-Period Generators Based 
on Linear Recurrences Modulo 2&lt;/a&gt;<a name="line.30"></a>
+<span class="sourceLineNo">031</span> * ACM Transactions on Mathematical 
Software, 32, 1 (2006).<a name="line.31"></a>
+<span class="sourceLineNo">032</span> * The errata for the paper are in<a 
name="line.32"></a>
+<span class="sourceLineNo">033</span> * &lt;a 
href="http://www.iro.umontreal.ca/~lecuyer/myftp/papers/wellrng-errata.txt"&gt;wellrng-errata.txt&lt;/a&gt;.<a
 name="line.33"></a>
+<span class="sourceLineNo">034</span> * &lt;/p&gt;<a name="line.34"></a>
+<span class="sourceLineNo">035</span> *<a name="line.35"></a>
+<span class="sourceLineNo">036</span> * @see &lt;a 
href="http://www.iro.umontreal.ca/~panneton/WELLRNG.html"&gt;WELL Random number 
generator&lt;/a&gt;<a name="line.36"></a>
+<span class="sourceLineNo">037</span> *<a name="line.37"></a>
+<span class="sourceLineNo">038</span> * @since 1.0<a name="line.38"></a>
+<span class="sourceLineNo">039</span> */<a name="line.39"></a>
+<span class="sourceLineNo">040</span>public abstract class AbstractWell 
extends IntProvider {<a name="line.40"></a>
+<span class="sourceLineNo">041</span>    /** Current index in the bytes pool. 
*/<a name="line.41"></a>
+<span class="sourceLineNo">042</span>    protected int index;<a 
name="line.42"></a>
+<span class="sourceLineNo">043</span>    /** Bytes pool. */<a 
name="line.43"></a>
+<span class="sourceLineNo">044</span>    protected final int[] v;<a 
name="line.44"></a>
+<span class="sourceLineNo">045</span><a name="line.45"></a>
+<span class="sourceLineNo">046</span>    /**<a name="line.46"></a>
+<span class="sourceLineNo">047</span>     * Creates an instance with the given 
{@code seed}.<a name="line.47"></a>
+<span class="sourceLineNo">048</span>     *<a name="line.48"></a>
+<span class="sourceLineNo">049</span>     * @param k Number of bits in the 
pool (not necessarily a multiple of 32).<a name="line.49"></a>
+<span class="sourceLineNo">050</span>     * @param seed Initial seed.<a 
name="line.50"></a>
+<span class="sourceLineNo">051</span>     */<a name="line.51"></a>
+<span class="sourceLineNo">052</span>    protected AbstractWell(final int k,<a 
name="line.52"></a>
+<span class="sourceLineNo">053</span>                           final int[] 
seed) {<a name="line.53"></a>
+<span class="sourceLineNo">054</span>        final int r = 
calculateBlockCount(k);<a name="line.54"></a>
+<span class="sourceLineNo">055</span>        v = new int[r];<a 
name="line.55"></a>
+<span class="sourceLineNo">056</span>        index = 0;<a name="line.56"></a>
+<span class="sourceLineNo">057</span><a name="line.57"></a>
+<span class="sourceLineNo">058</span>        // Initialize the pool content.<a 
name="line.58"></a>
+<span class="sourceLineNo">059</span>        setSeedInternal(seed);<a 
name="line.59"></a>
+<span class="sourceLineNo">060</span>    }<a name="line.60"></a>
+<span class="sourceLineNo">061</span><a name="line.61"></a>
+<span class="sourceLineNo">062</span>    /** {@inheritDoc} */<a 
name="line.62"></a>
+<span class="sourceLineNo">063</span>    @Override<a name="line.63"></a>
+<span class="sourceLineNo">064</span>    protected byte[] getStateInternal() 
{<a name="line.64"></a>
+<span class="sourceLineNo">065</span>        final int[] s = Arrays.copyOf(v, 
v.length + 1);<a name="line.65"></a>
+<span class="sourceLineNo">066</span>        s[v.length] = index;<a 
name="line.66"></a>
+<span class="sourceLineNo">067</span><a name="line.67"></a>
+<span class="sourceLineNo">068</span>        return 
NumberFactory.makeByteArray(s);<a name="line.68"></a>
+<span class="sourceLineNo">069</span>    }<a name="line.69"></a>
+<span class="sourceLineNo">070</span><a name="line.70"></a>
+<span class="sourceLineNo">071</span>    /** {@inheritDoc} */<a 
name="line.71"></a>
+<span class="sourceLineNo">072</span>    @Override<a name="line.72"></a>
+<span class="sourceLineNo">073</span>    protected void 
setStateInternal(byte[] s) {<a name="line.73"></a>
+<span class="sourceLineNo">074</span>        checkStateSize(s, (v.length + 1) 
* 4);<a name="line.74"></a>
+<span class="sourceLineNo">075</span><a name="line.75"></a>
+<span class="sourceLineNo">076</span>        final int[] tmp = 
NumberFactory.makeIntArray(s);<a name="line.76"></a>
+<span class="sourceLineNo">077</span>        System.arraycopy(tmp, 0, v, 0, 
v.length);<a name="line.77"></a>
+<span class="sourceLineNo">078</span>        index = tmp[v.length];<a 
name="line.78"></a>
+<span class="sourceLineNo">079</span>    }<a name="line.79"></a>
+<span class="sourceLineNo">080</span><a name="line.80"></a>
+<span class="sourceLineNo">081</span>    /**<a name="line.81"></a>
+<span class="sourceLineNo">082</span>     * Initializes the generator with the 
given {@code seed}.<a name="line.82"></a>
+<span class="sourceLineNo">083</span>     *<a name="line.83"></a>
+<span class="sourceLineNo">084</span>     * @param seed Seed. Cannot be 
null.<a name="line.84"></a>
+<span class="sourceLineNo">085</span>     */<a name="line.85"></a>
+<span class="sourceLineNo">086</span>    private void setSeedInternal(final 
int[] seed) {<a name="line.86"></a>
+<span class="sourceLineNo">087</span>        System.arraycopy(seed, 0, v, 0, 
Math.min(seed.length, v.length));<a name="line.87"></a>
+<span class="sourceLineNo">088</span><a name="line.88"></a>
+<span class="sourceLineNo">089</span>        if (seed.length &lt; v.length) 
{<a name="line.89"></a>
+<span class="sourceLineNo">090</span>            for (int i = seed.length; i 
&lt; v.length; ++i) {<a name="line.90"></a>
+<span class="sourceLineNo">091</span>                final long current = v[i 
- seed.length];<a name="line.91"></a>
+<span class="sourceLineNo">092</span>                v[i] = (int) 
((1812433253L * (current ^ (current &gt;&gt; 30)) + i) &amp; 0xffffffffL);<a 
name="line.92"></a>
+<span class="sourceLineNo">093</span>            }<a name="line.93"></a>
+<span class="sourceLineNo">094</span>        }<a name="line.94"></a>
+<span class="sourceLineNo">095</span><a name="line.95"></a>
+<span class="sourceLineNo">096</span>        index = 0;<a name="line.96"></a>
+<span class="sourceLineNo">097</span>    }<a name="line.97"></a>
+<span class="sourceLineNo">098</span><a name="line.98"></a>
+<span class="sourceLineNo">099</span>    /**<a name="line.99"></a>
+<span class="sourceLineNo">100</span>     * Calculate the number of 32-bits 
blocks.<a name="line.100"></a>
+<span class="sourceLineNo">101</span>     *<a name="line.101"></a>
+<span class="sourceLineNo">102</span>     * @param k Number of bits in the 
pool (not necessarily a multiple of 32).<a name="line.102"></a>
+<span class="sourceLineNo">103</span>     * @return the number of 32-bits 
blocks.<a name="line.103"></a>
+<span class="sourceLineNo">104</span>     */<a name="line.104"></a>
+<span class="sourceLineNo">105</span>    private static int 
calculateBlockCount(final int k) {<a name="line.105"></a>
+<span class="sourceLineNo">106</span>        // the bits pool contains k bits, 
k = r w - p where r is the number<a name="line.106"></a>
+<span class="sourceLineNo">107</span>        // of w bits blocks, w is the 
block size (always 32 in the original paper)<a name="line.107"></a>
+<span class="sourceLineNo">108</span>        // and p is the number of unused 
bits in the last block<a name="line.108"></a>
+<span class="sourceLineNo">109</span>        final int w = 32;<a 
name="line.109"></a>
+<span class="sourceLineNo">110</span>        final int r = (k + w - 1) / w;<a 
name="line.110"></a>
+<span class="sourceLineNo">111</span>        return r;<a name="line.111"></a>
+<span class="sourceLineNo">112</span>    }<a name="line.112"></a>
+<span class="sourceLineNo">113</span><a name="line.113"></a>
+<span class="sourceLineNo">114</span>    /**<a name="line.114"></a>
+<span class="sourceLineNo">115</span>     * Inner class used to store the 
indirection index table which is fixed for a given<a name="line.115"></a>
+<span class="sourceLineNo">116</span>     * type of WELL class of 
pseudo-random number generator.<a name="line.116"></a>
+<span class="sourceLineNo">117</span>     */<a name="line.117"></a>
+<span class="sourceLineNo">118</span>    protected static final class 
IndexTable {<a name="line.118"></a>
+<span class="sourceLineNo">119</span>        /** Index indirection table 
giving for each index its predecessor taking table size into account. */<a 
name="line.119"></a>
+<span class="sourceLineNo">120</span>        private final int[] iRm1;<a 
name="line.120"></a>
+<span class="sourceLineNo">121</span>        /** Index indirection table 
giving for each index its second predecessor taking table size into account. 
*/<a name="line.121"></a>
+<span class="sourceLineNo">122</span>        private final int[] iRm2;<a 
name="line.122"></a>
+<span class="sourceLineNo">123</span>        /** Index indirection table 
giving for each index the value index + m1 taking table size into account. */<a 
name="line.123"></a>
+<span class="sourceLineNo">124</span>        private final int[] i1;<a 
name="line.124"></a>
+<span class="sourceLineNo">125</span>        /** Index indirection table 
giving for each index the value index + m2 taking table size into account. */<a 
name="line.125"></a>
+<span class="sourceLineNo">126</span>        private final int[] i2;<a 
name="line.126"></a>
+<span class="sourceLineNo">127</span>        /** Index indirection table 
giving for each index the value index + m3 taking table size into account. */<a 
name="line.127"></a>
+<span class="sourceLineNo">128</span>        private final int[] i3;<a 
name="line.128"></a>
+<span class="sourceLineNo">129</span><a name="line.129"></a>
+<span class="sourceLineNo">130</span>        /** Creates a new pre-calculated 
indirection index table.<a name="line.130"></a>
+<span class="sourceLineNo">131</span>         * @param k number of bits in the 
pool (not necessarily a multiple of 32)<a name="line.131"></a>
+<span class="sourceLineNo">132</span>         * @param m1 first parameter of 
the algorithm<a name="line.132"></a>
+<span class="sourceLineNo">133</span>         * @param m2 second parameter of 
the algorithm<a name="line.133"></a>
+<span class="sourceLineNo">134</span>         * @param m3 third parameter of 
the algorithm<a name="line.134"></a>
+<span class="sourceLineNo">135</span>         */<a name="line.135"></a>
+<span class="sourceLineNo">136</span>        public IndexTable(final int k, 
final int m1, final int m2, final int m3) {<a name="line.136"></a>
+<span class="sourceLineNo">137</span><a name="line.137"></a>
+<span class="sourceLineNo">138</span>            final int r = 
calculateBlockCount(k);<a name="line.138"></a>
+<span class="sourceLineNo">139</span><a name="line.139"></a>
+<span class="sourceLineNo">140</span>            // precompute indirection 
index tables. These tables are used for optimizing access<a name="line.140"></a>
+<span class="sourceLineNo">141</span>            // they allow saving 
computations like "(j + r - 2) % r" with costly modulo operations<a 
name="line.141"></a>
+<span class="sourceLineNo">142</span>            iRm1 = new int[r];<a 
name="line.142"></a>
+<span class="sourceLineNo">143</span>            iRm2 = new int[r];<a 
name="line.143"></a>
+<span class="sourceLineNo">144</span>            i1 = new int[r];<a 
name="line.144"></a>
+<span class="sourceLineNo">145</span>            i2 = new int[r];<a 
name="line.145"></a>
+<span class="sourceLineNo">146</span>            i3 = new int[r];<a 
name="line.146"></a>
+<span class="sourceLineNo">147</span>            for (int j = 0; j &lt; r; 
++j) {<a name="line.147"></a>
+<span class="sourceLineNo">148</span>                iRm1[j] = (j + r - 1) % 
r;<a name="line.148"></a>
+<span class="sourceLineNo">149</span>                iRm2[j] = (j + r - 2) % 
r;<a name="line.149"></a>
+<span class="sourceLineNo">150</span>                i1[j] = (j + m1) % r;<a 
name="line.150"></a>
+<span class="sourceLineNo">151</span>                i2[j] = (j + m2) % r;<a 
name="line.151"></a>
+<span class="sourceLineNo">152</span>                i3[j] = (j + m3) % r;<a 
name="line.152"></a>
+<span class="sourceLineNo">153</span>            }<a name="line.153"></a>
+<span class="sourceLineNo">154</span>        }<a name="line.154"></a>
+<span class="sourceLineNo">155</span><a name="line.155"></a>
+<span class="sourceLineNo">156</span>        /**<a name="line.156"></a>
+<span class="sourceLineNo">157</span>         * Returns the predecessor of the 
given index modulo the table size.<a name="line.157"></a>
+<span class="sourceLineNo">158</span>         * @param index the index to look 
at<a name="line.158"></a>
+<span class="sourceLineNo">159</span>         * @return (index - 1) % table 
size<a name="line.159"></a>
+<span class="sourceLineNo">160</span>         */<a name="line.160"></a>
+<span class="sourceLineNo">161</span>        public int getIndexPred(final int 
index) {<a name="line.161"></a>
+<span class="sourceLineNo">162</span>            return iRm1[index];<a 
name="line.162"></a>
+<span class="sourceLineNo">163</span>        }<a name="line.163"></a>
+<span class="sourceLineNo">164</span><a name="line.164"></a>
+<span class="sourceLineNo">165</span>        /**<a name="line.165"></a>
+<span class="sourceLineNo">166</span>         * Returns the second predecessor 
of the given index modulo the table size.<a name="line.166"></a>
+<span class="sourceLineNo">167</span>         * @param index the index to look 
at<a name="line.167"></a>
+<span class="sourceLineNo">168</span>         * @return (index - 2) % table 
size<a name="line.168"></a>
+<span class="sourceLineNo">169</span>         */<a name="line.169"></a>
+<span class="sourceLineNo">170</span>        public int getIndexPred2(final 
int index) {<a name="line.170"></a>
+<span class="sourceLineNo">171</span>            return iRm2[index];<a 
name="line.171"></a>
+<span class="sourceLineNo">172</span>        }<a name="line.172"></a>
+<span class="sourceLineNo">173</span><a name="line.173"></a>
+<span class="sourceLineNo">174</span>        /**<a name="line.174"></a>
+<span class="sourceLineNo">175</span>         * Returns index + M1 modulo the 
table size.<a name="line.175"></a>
+<span class="sourceLineNo">176</span>         * @param index the index to look 
at<a name="line.176"></a>
+<span class="sourceLineNo">177</span>         * @return (index + M1) % table 
size<a name="line.177"></a>
+<span class="sourceLineNo">178</span>         */<a name="line.178"></a>
+<span class="sourceLineNo">179</span>        public int getIndexM1(final int 
index) {<a name="line.179"></a>
+<span class="sourceLineNo">180</span>            return i1[index];<a 
name="line.180"></a>
+<span class="sourceLineNo">181</span>        }<a name="line.181"></a>
+<span class="sourceLineNo">182</span><a name="line.182"></a>
+<span class="sourceLineNo">183</span>        /**<a name="line.183"></a>
+<span class="sourceLineNo">184</span>         * Returns index + M2 modulo the 
table size.<a name="line.184"></a>
+<span class="sourceLineNo">185</span>         * @param index the index to look 
at<a name="line.185"></a>
+<span class="sourceLineNo">186</span>         * @return (index + M2) % table 
size<a name="line.186"></a>
+<span class="sourceLineNo">187</span>         */<a name="line.187"></a>
+<span class="sourceLineNo">188</span>        public int getIndexM2(final int 
index) {<a name="line.188"></a>
+<span class="sourceLineNo">189</span>            return i2[index];<a 
name="line.189"></a>
+<span class="sourceLineNo">190</span>        }<a name="line.190"></a>
+<span class="sourceLineNo">191</span><a name="line.191"></a>
+<span class="sourceLineNo">192</span>        /**<a name="line.192"></a>
+<span class="sourceLineNo">193</span>         * Returns index + M3 modulo the 
table size.<a name="line.193"></a>
+<span class="sourceLineNo">194</span>         * @param index the index to look 
at<a name="line.194"></a>
+<span class="sourceLineNo">195</span>         * @return (index + M3) % table 
size<a name="line.195"></a>
+<span class="sourceLineNo">196</span>         */<a name="line.196"></a>
+<span class="sourceLineNo">197</span>        public int getIndexM3(final int 
index) {<a name="line.197"></a>
+<span class="sourceLineNo">198</span>            return i3[index];<a 
name="line.198"></a>
+<span class="sourceLineNo">199</span>        }<a name="line.199"></a>
+<span class="sourceLineNo">200</span>    }<a name="line.200"></a>
+<span class="sourceLineNo">201</span>}<a name="line.201"></a>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</pre>
+</div>
+</body>
+</html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/commons-rng/blob/d1b3113a/commons-rng-core/site-content/.svn/pristine/0e/0e5495aa5b1e1ff1fcf9da73599a88d32c323ce5.svn-base
----------------------------------------------------------------------
diff --git 
a/commons-rng-core/site-content/.svn/pristine/0e/0e5495aa5b1e1ff1fcf9da73599a88d32c323ce5.svn-base
 
b/commons-rng-core/site-content/.svn/pristine/0e/0e5495aa5b1e1ff1fcf9da73599a88d32c323ce5.svn-base
new file mode 100644
index 0000000..e841705
--- /dev/null
+++ 
b/commons-rng-core/site-content/.svn/pristine/0e/0e5495aa5b1e1ff1fcf9da73599a88d32c323ce5.svn-base
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 
1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";><html 
xmlns="http://www.w3.org/1999/xhtml"; lang="en"><head><meta 
http-equiv="Content-Type" content="text/html;charset=UTF-8"/><link 
rel="stylesheet" href="../.resources/report.css" type="text/css"/><link 
rel="shortcut icon" href="../.resources/report.gif" 
type="image/gif"/><title>Long2Int.java</title><link rel="stylesheet" 
href="../.resources/prettify.css" type="text/css"/><script 
type="text/javascript" src="../.resources/prettify.js"></script></head><body 
onload="window['PR_TAB_WIDTH']=4;prettyPrint()"><div class="breadcrumb" 
id="breadcrumb"><span class="info"><a href="../.sessions.html" 
class="el_session">Sessions</a></span><a href="../index.html" 
class="el_report">Apache Commons Rng</a> &gt; <a href="index.source.html" 
class="el_package">org.apache.commons.rng.internal.util</a> &gt; <span 
class="el_source">Long2Int.java</span></div><h1
 >Long2Int.java</h1><pre class="source lang-java linenums">/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the &quot;License&quot;); you may not use this file except in compliance 
with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an &quot;AS IS&quot; BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.commons.rng.internal.util;
+
+/**
+ * Converts a {@code Long} to an {@code Integer}.
+ *
+ * @since 1.0
+ */
+<span class="fc" id="L24">public class Long2Int implements 
SeedConverter&lt;Long, Integer&gt; {</span>
+    /** {@inheritDoc} */
+    @Override
+    public Integer convert(Long seed) {
+<span class="fc" id="L28">        return NumberFactory.makeInt(seed);</span>
+    }
+}
+</pre><div class="footer"><span class="right">Created with <a 
href="http://www.eclemma.org/jacoco";>JaCoCo</a> 
0.7.5.201505241946</span></div></body></html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/commons-rng/blob/d1b3113a/commons-rng-core/site-content/.svn/pristine/0f/0f5e04dbec676e1130a2be41b2c8a5079c37af7d.svn-base
----------------------------------------------------------------------
diff --git 
a/commons-rng-core/site-content/.svn/pristine/0f/0f5e04dbec676e1130a2be41b2c8a5079c37af7d.svn-base
 
b/commons-rng-core/site-content/.svn/pristine/0f/0f5e04dbec676e1130a2be41b2c8a5079c37af7d.svn-base
new file mode 100644
index 0000000..abfa41d
--- /dev/null
+++ 
b/commons-rng-core/site-content/.svn/pristine/0f/0f5e04dbec676e1130a2be41b2c8a5079c37af7d.svn-base
@@ -0,0 +1,122 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 
"http://www.w3.org/TR/html4/loose.dtd";>
+<html lang="en">
+<head>
+<title>Source code</title>
+<link rel="stylesheet" type="text/css" 
href="../../../../../../../stylesheet.css" title="Style">
+</head>
+<body>
+<div class="sourceContainer">
+<pre><span class="sourceLineNo">001</span>/*<a name="line.1"></a>
+<span class="sourceLineNo">002</span> * Licensed to the Apache Software 
Foundation (ASF) under one or more<a name="line.2"></a>
+<span class="sourceLineNo">003</span> * contributor license agreements.  See 
the NOTICE file distributed with<a name="line.3"></a>
+<span class="sourceLineNo">004</span> * this work for additional information 
regarding copyright ownership.<a name="line.4"></a>
+<span class="sourceLineNo">005</span> * The ASF licenses this file to You 
under the Apache License, Version 2.0<a name="line.5"></a>
+<span class="sourceLineNo">006</span> * (the "License"); you may not use this 
file except in compliance with<a name="line.6"></a>
+<span class="sourceLineNo">007</span> * the License.  You may obtain a copy of 
the License at<a name="line.7"></a>
+<span class="sourceLineNo">008</span> *<a name="line.8"></a>
+<span class="sourceLineNo">009</span> *      
http://www.apache.org/licenses/LICENSE-2.0<a name="line.9"></a>
+<span class="sourceLineNo">010</span> *<a name="line.10"></a>
+<span class="sourceLineNo">011</span> * Unless required by applicable law or 
agreed to in writing, software<a name="line.11"></a>
+<span class="sourceLineNo">012</span> * distributed under the License is 
distributed on an "AS IS" BASIS,<a name="line.12"></a>
+<span class="sourceLineNo">013</span> * WITHOUT WARRANTIES OR CONDITIONS OF 
ANY KIND, either express or implied.<a name="line.13"></a>
+<span class="sourceLineNo">014</span> * See the License for the specific 
language governing permissions and<a name="line.14"></a>
+<span class="sourceLineNo">015</span> * limitations under the License.<a 
name="line.15"></a>
+<span class="sourceLineNo">016</span> */<a name="line.16"></a>
+<span class="sourceLineNo">017</span>package 
org.apache.commons.rng.internal.util;<a name="line.17"></a>
+<span class="sourceLineNo">018</span><a name="line.18"></a>
+<span class="sourceLineNo">019</span>/**<a name="line.19"></a>
+<span class="sourceLineNo">020</span> * Composes two {@link SeedConverter 
converters}.<a name="line.20"></a>
+<span class="sourceLineNo">021</span> *<a name="line.21"></a>
+<span class="sourceLineNo">022</span> * @param &lt;IN&gt; Input seed type.<a 
name="line.22"></a>
+<span class="sourceLineNo">023</span> * @param &lt;TRANS&gt; Transitional seed 
type.<a name="line.23"></a>
+<span class="sourceLineNo">024</span> * @param &lt;OUT&gt; Output seed type.<a 
name="line.24"></a>
+<span class="sourceLineNo">025</span> *<a name="line.25"></a>
+<span class="sourceLineNo">026</span> * @since 1.0<a name="line.26"></a>
+<span class="sourceLineNo">027</span> */<a name="line.27"></a>
+<span class="sourceLineNo">028</span>public class SeedConverterComposer&lt;IN, 
TRANS, OUT&gt; implements SeedConverter&lt;IN, OUT&gt; {<a name="line.28"></a>
+<span class="sourceLineNo">029</span>    /** First conversion. */<a 
name="line.29"></a>
+<span class="sourceLineNo">030</span>    private SeedConverter&lt;IN, 
TRANS&gt; first;<a name="line.30"></a>
+<span class="sourceLineNo">031</span>    /** Second conversion. */<a 
name="line.31"></a>
+<span class="sourceLineNo">032</span>    private SeedConverter&lt;TRANS, 
OUT&gt; second;<a name="line.32"></a>
+<span class="sourceLineNo">033</span><a name="line.33"></a>
+<span class="sourceLineNo">034</span>    /**<a name="line.34"></a>
+<span class="sourceLineNo">035</span>     * @param first First conversion.<a 
name="line.35"></a>
+<span class="sourceLineNo">036</span>     * @param second second conversion.<a 
name="line.36"></a>
+<span class="sourceLineNo">037</span>     */<a name="line.37"></a>
+<span class="sourceLineNo">038</span>    public 
SeedConverterComposer(SeedConverter&lt;IN, TRANS&gt; first,<a 
name="line.38"></a>
+<span class="sourceLineNo">039</span>                                 
SeedConverter&lt;TRANS, OUT&gt; second) {<a name="line.39"></a>
+<span class="sourceLineNo">040</span>        this.first = first;<a 
name="line.40"></a>
+<span class="sourceLineNo">041</span>        this.second = second;<a 
name="line.41"></a>
+<span class="sourceLineNo">042</span>    }<a name="line.42"></a>
+<span class="sourceLineNo">043</span><a name="line.43"></a>
+<span class="sourceLineNo">044</span>    /** {@inheritDoc} */<a 
name="line.44"></a>
+<span class="sourceLineNo">045</span>    @Override<a name="line.45"></a>
+<span class="sourceLineNo">046</span>    public OUT convert(IN seed) {<a 
name="line.46"></a>
+<span class="sourceLineNo">047</span>        final TRANS trans = 
first.convert(seed);<a name="line.47"></a>
+<span class="sourceLineNo">048</span>        return second.convert(trans);<a 
name="line.48"></a>
+<span class="sourceLineNo">049</span>    }<a name="line.49"></a>
+<span class="sourceLineNo">050</span>}<a name="line.50"></a>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</pre>
+</div>
+</body>
+</html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/commons-rng/blob/d1b3113a/commons-rng-core/site-content/.svn/pristine/11/1126b1ba58160d0a0f2c5cb83e86a967b559b053.svn-base
----------------------------------------------------------------------
diff --git 
a/commons-rng-core/site-content/.svn/pristine/11/1126b1ba58160d0a0f2c5cb83e86a967b559b053.svn-base
 
b/commons-rng-core/site-content/.svn/pristine/11/1126b1ba58160d0a0f2c5cb83e86a967b559b053.svn-base
new file mode 100644
index 0000000..5b3465b
--- /dev/null
+++ 
b/commons-rng-core/site-content/.svn/pristine/11/1126b1ba58160d0a0f2c5cb83e86a967b559b053.svn-base
@@ -0,0 +1,175 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
+<html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
+<head><meta http-equiv="content-type" content="text/html; charset=UTF-8" />
+<title>NumberFactoryTest xref</title>
+<link type="text/css" rel="stylesheet" href="../../../../../../stylesheet.css" 
/>
+</head>
+<body>
+<div id="overview"><a 
href="../../../../../../../testapidocs/org/apache/commons/rng/internal/util/NumberFactoryTest.html">View
 Javadoc</a></div><pre>
+<a class="jxr_linenumber" name="L1" href="#L1">1</a>   <em 
class="jxr_comment">/*</em>
+<a class="jxr_linenumber" name="L2" href="#L2">2</a>   <em 
class="jxr_comment"> * Licensed to the Apache Software Foundation (ASF) under 
one or more</em>
+<a class="jxr_linenumber" name="L3" href="#L3">3</a>   <em 
class="jxr_comment"> * contributor license agreements.  See the NOTICE file 
distributed with</em>
+<a class="jxr_linenumber" name="L4" href="#L4">4</a>   <em 
class="jxr_comment"> * this work for additional information regarding copyright 
ownership.</em>
+<a class="jxr_linenumber" name="L5" href="#L5">5</a>   <em 
class="jxr_comment"> * The ASF licenses this file to You under the Apache 
License, Version 2.0</em>
+<a class="jxr_linenumber" name="L6" href="#L6">6</a>   <em 
class="jxr_comment"> * (the "License"); you may not use this file except in 
compliance with</em>
+<a class="jxr_linenumber" name="L7" href="#L7">7</a>   <em 
class="jxr_comment"> * the License.  You may obtain a copy of the License 
at</em>
+<a class="jxr_linenumber" name="L8" href="#L8">8</a>   <em 
class="jxr_comment"> *</em>
+<a class="jxr_linenumber" name="L9" href="#L9">9</a>   <em 
class="jxr_comment"> *      <a href="http://www.apache.org/licenses/LICENSE-2."; 
target="alexandria_uri">http://www.apache.org/licenses/LICENSE-2.</a>0</em>
+<a class="jxr_linenumber" name="L10" href="#L10">10</a>  <em 
class="jxr_comment"> *</em>
+<a class="jxr_linenumber" name="L11" href="#L11">11</a>  <em 
class="jxr_comment"> * Unless required by applicable law or agreed to in 
writing, software</em>
+<a class="jxr_linenumber" name="L12" href="#L12">12</a>  <em 
class="jxr_comment"> * distributed under the License is distributed on an "AS 
IS" BASIS,</em>
+<a class="jxr_linenumber" name="L13" href="#L13">13</a>  <em 
class="jxr_comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either 
express or implied.</em>
+<a class="jxr_linenumber" name="L14" href="#L14">14</a>  <em 
class="jxr_comment"> * See the License for the specific language governing 
permissions and</em>
+<a class="jxr_linenumber" name="L15" href="#L15">15</a>  <em 
class="jxr_comment"> * limitations under the License.</em>
+<a class="jxr_linenumber" name="L16" href="#L16">16</a>  <em 
class="jxr_comment"> */</em>
+<a class="jxr_linenumber" name="L17" href="#L17">17</a>  <strong 
class="jxr_keyword">package</strong> org.apache.commons.rng.internal.util;
+<a class="jxr_linenumber" name="L18" href="#L18">18</a>  
+<a class="jxr_linenumber" name="L19" href="#L19">19</a>  <strong 
class="jxr_keyword">import</strong> org.junit.Assert;
+<a class="jxr_linenumber" name="L20" href="#L20">20</a>  <strong 
class="jxr_keyword">import</strong> org.junit.Test;
+<a class="jxr_linenumber" name="L21" href="#L21">21</a>  
+<a class="jxr_linenumber" name="L22" href="#L22">22</a>  <em 
class="jxr_javadoccomment">/**</em>
+<a class="jxr_linenumber" name="L23" href="#L23">23</a>  <em 
class="jxr_javadoccomment"> * Tests for the {@link NumberFactory}.</em>
+<a class="jxr_linenumber" name="L24" href="#L24">24</a>  <em 
class="jxr_javadoccomment"> */</em>
+<a class="jxr_linenumber" name="L25" href="#L25">25</a>  <strong 
class="jxr_keyword">public</strong> <strong class="jxr_keyword">class</strong> 
<a 
href="../../../../../../org/apache/commons/rng/internal/util/NumberFactoryTest.html">NumberFactoryTest</a>
 {
+<a class="jxr_linenumber" name="L26" href="#L26">26</a>      <em 
class="jxr_javadoccomment">/** sizeof(int). */</em>
+<a class="jxr_linenumber" name="L27" href="#L27">27</a>      <strong 
class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> 
INT_SIZE = 4;
+<a class="jxr_linenumber" name="L28" href="#L28">28</a>      <em 
class="jxr_javadoccomment">/** sizeof(long). */</em>
+<a class="jxr_linenumber" name="L29" href="#L29">29</a>      <strong 
class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> 
LONG_SIZE = 8;
+<a class="jxr_linenumber" name="L30" href="#L30">30</a>  
+<a class="jxr_linenumber" name="L31" href="#L31">31</a>      <em 
class="jxr_javadoccomment">/** Test values. */</em>
+<a class="jxr_linenumber" name="L32" href="#L32">32</a>      <strong 
class="jxr_keyword">private</strong> <strong 
class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> 
<strong class="jxr_keyword">long</strong>[] LONG_TEST_VALUES = <strong 
class="jxr_keyword">new</strong> <strong class="jxr_keyword">long</strong>[] {
+<a class="jxr_linenumber" name="L33" href="#L33">33</a>          0L,
+<a class="jxr_linenumber" name="L34" href="#L34">34</a>          1L,
+<a class="jxr_linenumber" name="L35" href="#L35">35</a>          -1L,
+<a class="jxr_linenumber" name="L36" href="#L36">36</a>          19337L,
+<a class="jxr_linenumber" name="L37" href="#L37">37</a>          
1234567891011213L,
+<a class="jxr_linenumber" name="L38" href="#L38">38</a>          
-11109876543211L,
+<a class="jxr_linenumber" name="L39" href="#L39">39</a>          
Long.valueOf(Integer.MAX_VALUE),
+<a class="jxr_linenumber" name="L40" href="#L40">40</a>          
Long.valueOf(Integer.MIN_VALUE),
+<a class="jxr_linenumber" name="L41" href="#L41">41</a>          
Long.MAX_VALUE,
+<a class="jxr_linenumber" name="L42" href="#L42">42</a>          
Long.MIN_VALUE,
+<a class="jxr_linenumber" name="L43" href="#L43">43</a>      };
+<a class="jxr_linenumber" name="L44" href="#L44">44</a>      <em 
class="jxr_javadoccomment">/** Test values. */</em>
+<a class="jxr_linenumber" name="L45" href="#L45">45</a>      <strong 
class="jxr_keyword">private</strong> <strong 
class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> 
<strong class="jxr_keyword">int</strong>[] INT_TEST_VALUES = <strong 
class="jxr_keyword">new</strong> <strong class="jxr_keyword">int</strong>[] {
+<a class="jxr_linenumber" name="L46" href="#L46">46</a>          0,
+<a class="jxr_linenumber" name="L47" href="#L47">47</a>          1,
+<a class="jxr_linenumber" name="L48" href="#L48">48</a>          -1,
+<a class="jxr_linenumber" name="L49" href="#L49">49</a>          19337,
+<a class="jxr_linenumber" name="L50" href="#L50">50</a>          1234567891,
+<a class="jxr_linenumber" name="L51" href="#L51">51</a>          -1110987656,
+<a class="jxr_linenumber" name="L52" href="#L52">52</a>          
Integer.MAX_VALUE,
+<a class="jxr_linenumber" name="L53" href="#L53">53</a>          
Integer.MIN_VALUE,
+<a class="jxr_linenumber" name="L54" href="#L54">54</a>      };
+<a class="jxr_linenumber" name="L55" href="#L55">55</a>  
+<a class="jxr_linenumber" name="L56" href="#L56">56</a>      @Test
+<a class="jxr_linenumber" name="L57" href="#L57">57</a>      <strong 
class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> 
testMakeIntFromLong() {
+<a class="jxr_linenumber" name="L58" href="#L58">58</a>          <strong 
class="jxr_keyword">for</strong> (<strong class="jxr_keyword">long</strong> v : 
LONG_TEST_VALUES) {
+<a class="jxr_linenumber" name="L59" href="#L59">59</a>              <strong 
class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> vL 
= NumberFactory.extractLo(v);
+<a class="jxr_linenumber" name="L60" href="#L60">60</a>              <strong 
class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> vH 
= NumberFactory.extractHi(v);
+<a class="jxr_linenumber" name="L61" href="#L61">61</a>  
+<a class="jxr_linenumber" name="L62" href="#L62">62</a>              <strong 
class="jxr_keyword">final</strong> <strong class="jxr_keyword">long</strong> 
actual = (((<strong class="jxr_keyword">long</strong>) vH) &lt;&lt; 32) | (vL 
&amp; 0xffffffffL);
+<a class="jxr_linenumber" name="L63" href="#L63">63</a>              
Assert.assertEquals(v, actual);
+<a class="jxr_linenumber" name="L64" href="#L64">64</a>          }
+<a class="jxr_linenumber" name="L65" href="#L65">65</a>      }
+<a class="jxr_linenumber" name="L66" href="#L66">66</a>  
+<a class="jxr_linenumber" name="L67" href="#L67">67</a>      @Test
+<a class="jxr_linenumber" name="L68" href="#L68">68</a>      <strong 
class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> 
testLong2Long() {
+<a class="jxr_linenumber" name="L69" href="#L69">69</a>          <strong 
class="jxr_keyword">for</strong> (<strong class="jxr_keyword">long</strong> v : 
LONG_TEST_VALUES) {
+<a class="jxr_linenumber" name="L70" href="#L70">70</a>              <strong 
class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> vL 
= NumberFactory.extractLo(v);
+<a class="jxr_linenumber" name="L71" href="#L71">71</a>              <strong 
class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> vH 
= NumberFactory.extractHi(v);
+<a class="jxr_linenumber" name="L72" href="#L72">72</a>  
+<a class="jxr_linenumber" name="L73" href="#L73">73</a>              
Assert.assertEquals(v, NumberFactory.makeLong(vH, vL));
+<a class="jxr_linenumber" name="L74" href="#L74">74</a>          }
+<a class="jxr_linenumber" name="L75" href="#L75">75</a>      }
+<a class="jxr_linenumber" name="L76" href="#L76">76</a>  
+<a class="jxr_linenumber" name="L77" href="#L77">77</a>      @Test
+<a class="jxr_linenumber" name="L78" href="#L78">78</a>      <strong 
class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> 
testLongFromByteArray2Long() {
+<a class="jxr_linenumber" name="L79" href="#L79">79</a>          <strong 
class="jxr_keyword">for</strong> (<strong class="jxr_keyword">long</strong> 
expected : LONG_TEST_VALUES) {
+<a class="jxr_linenumber" name="L80" href="#L80">80</a>              <strong 
class="jxr_keyword">final</strong> byte[] b = 
NumberFactory.makeByteArray(expected);
+<a class="jxr_linenumber" name="L81" href="#L81">81</a>              
Assert.assertEquals(expected, NumberFactory.makeLong(b));
+<a class="jxr_linenumber" name="L82" href="#L82">82</a>          }
+<a class="jxr_linenumber" name="L83" href="#L83">83</a>      }
+<a class="jxr_linenumber" name="L84" href="#L84">84</a>  
+<a class="jxr_linenumber" name="L85" href="#L85">85</a>      @Test
+<a class="jxr_linenumber" name="L86" href="#L86">86</a>      <strong 
class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> 
testLongArrayFromByteArray2LongArray() {
+<a class="jxr_linenumber" name="L87" href="#L87">87</a>          <strong 
class="jxr_keyword">final</strong> byte[] b = 
NumberFactory.makeByteArray(LONG_TEST_VALUES);
+<a class="jxr_linenumber" name="L88" href="#L88">88</a>          
Assert.assertArrayEquals(LONG_TEST_VALUES,
+<a class="jxr_linenumber" name="L89" href="#L89">89</a>                        
           NumberFactory.makeLongArray(b));
+<a class="jxr_linenumber" name="L90" href="#L90">90</a>      }
+<a class="jxr_linenumber" name="L91" href="#L91">91</a>  
+<a class="jxr_linenumber" name="L92" href="#L92">92</a>      @Test
+<a class="jxr_linenumber" name="L93" href="#L93">93</a>      <strong 
class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> 
testIntFromByteArray2Int() {
+<a class="jxr_linenumber" name="L94" href="#L94">94</a>          <strong 
class="jxr_keyword">for</strong> (<strong class="jxr_keyword">int</strong> 
expected : INT_TEST_VALUES) {
+<a class="jxr_linenumber" name="L95" href="#L95">95</a>              <strong 
class="jxr_keyword">final</strong> byte[] b = 
NumberFactory.makeByteArray(expected);
+<a class="jxr_linenumber" name="L96" href="#L96">96</a>              
Assert.assertEquals(expected, NumberFactory.makeInt(b));
+<a class="jxr_linenumber" name="L97" href="#L97">97</a>          }
+<a class="jxr_linenumber" name="L98" href="#L98">98</a>      }
+<a class="jxr_linenumber" name="L99" href="#L99">99</a>  
+<a class="jxr_linenumber" name="L100" href="#L100">100</a>     @Test
+<a class="jxr_linenumber" name="L101" href="#L101">101</a>     <strong 
class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> 
testIntArrayFromByteArray2IntArray() {
+<a class="jxr_linenumber" name="L102" href="#L102">102</a>         <strong 
class="jxr_keyword">final</strong> byte[] b = 
NumberFactory.makeByteArray(INT_TEST_VALUES);
+<a class="jxr_linenumber" name="L103" href="#L103">103</a>         
Assert.assertArrayEquals(INT_TEST_VALUES,
+<a class="jxr_linenumber" name="L104" href="#L104">104</a>                     
             NumberFactory.makeIntArray(b));
+<a class="jxr_linenumber" name="L105" href="#L105">105</a>     }
+<a class="jxr_linenumber" name="L106" href="#L106">106</a> 
+<a class="jxr_linenumber" name="L107" href="#L107">107</a>     @Test
+<a class="jxr_linenumber" name="L108" href="#L108">108</a>     <strong 
class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> 
testMakeIntPrecondition1() {
+<a class="jxr_linenumber" name="L109" href="#L109">109</a>         <strong 
class="jxr_keyword">for</strong> (<strong class="jxr_keyword">int</strong> i = 
0; i &lt;= 10; i++) {
+<a class="jxr_linenumber" name="L110" href="#L110">110</a>             <strong 
class="jxr_keyword">try</strong> {
+<a class="jxr_linenumber" name="L111" href="#L111">111</a>                 
NumberFactory.makeInt(<strong class="jxr_keyword">new</strong> byte[i]);
+<a class="jxr_linenumber" name="L112" href="#L112">112</a>                 
<strong class="jxr_keyword">if</strong> (i != INT_SIZE) {
+<a class="jxr_linenumber" name="L113" href="#L113">113</a>                     
Assert.fail(<span class="jxr_string">"Exception expected"</span>);
+<a class="jxr_linenumber" name="L114" href="#L114">114</a>                 }
+<a class="jxr_linenumber" name="L115" href="#L115">115</a>             } 
<strong class="jxr_keyword">catch</strong> (IllegalArgumentException e) {
+<a class="jxr_linenumber" name="L116" href="#L116">116</a>                 <em 
class="jxr_comment">// Expected.</em>
+<a class="jxr_linenumber" name="L117" href="#L117">117</a>             }
+<a class="jxr_linenumber" name="L118" href="#L118">118</a>         }
+<a class="jxr_linenumber" name="L119" href="#L119">119</a>     }
+<a class="jxr_linenumber" name="L120" href="#L120">120</a> 
+<a class="jxr_linenumber" name="L121" href="#L121">121</a>     @Test
+<a class="jxr_linenumber" name="L122" href="#L122">122</a>     <strong 
class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> 
testMakeIntArrayPrecondition1() {
+<a class="jxr_linenumber" name="L123" href="#L123">123</a>         <strong 
class="jxr_keyword">for</strong> (<strong class="jxr_keyword">int</strong> i = 
0; i &lt;= 20; i++) {
+<a class="jxr_linenumber" name="L124" href="#L124">124</a>             <strong 
class="jxr_keyword">try</strong> {
+<a class="jxr_linenumber" name="L125" href="#L125">125</a>                 
NumberFactory.makeIntArray(<strong class="jxr_keyword">new</strong> byte[i]);
+<a class="jxr_linenumber" name="L126" href="#L126">126</a>                 
<strong class="jxr_keyword">if</strong> (i != 0 &amp;&amp; (i % INT_SIZE != 0)) 
{
+<a class="jxr_linenumber" name="L127" href="#L127">127</a>                     
Assert.fail(<span class="jxr_string">"Exception expected"</span>);
+<a class="jxr_linenumber" name="L128" href="#L128">128</a>                 }
+<a class="jxr_linenumber" name="L129" href="#L129">129</a>             } 
<strong class="jxr_keyword">catch</strong> (IllegalArgumentException e) {
+<a class="jxr_linenumber" name="L130" href="#L130">130</a>                 <em 
class="jxr_comment">// Expected.</em>
+<a class="jxr_linenumber" name="L131" href="#L131">131</a>             }
+<a class="jxr_linenumber" name="L132" href="#L132">132</a>         }
+<a class="jxr_linenumber" name="L133" href="#L133">133</a>     }
+<a class="jxr_linenumber" name="L134" href="#L134">134</a> 
+<a class="jxr_linenumber" name="L135" href="#L135">135</a>     @Test
+<a class="jxr_linenumber" name="L136" href="#L136">136</a>     <strong 
class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> 
testMakeLongPrecondition1() {
+<a class="jxr_linenumber" name="L137" href="#L137">137</a>         <strong 
class="jxr_keyword">for</strong> (<strong class="jxr_keyword">int</strong> i = 
0; i &lt;= 10; i++) {
+<a class="jxr_linenumber" name="L138" href="#L138">138</a>             <strong 
class="jxr_keyword">try</strong> {
+<a class="jxr_linenumber" name="L139" href="#L139">139</a>                 
NumberFactory.makeLong(<strong class="jxr_keyword">new</strong> byte[i]);
+<a class="jxr_linenumber" name="L140" href="#L140">140</a>                 
<strong class="jxr_keyword">if</strong> (i != LONG_SIZE) {
+<a class="jxr_linenumber" name="L141" href="#L141">141</a>                     
Assert.fail(<span class="jxr_string">"Exception expected"</span>);
+<a class="jxr_linenumber" name="L142" href="#L142">142</a>                 }
+<a class="jxr_linenumber" name="L143" href="#L143">143</a>             } 
<strong class="jxr_keyword">catch</strong> (IllegalArgumentException e) {
+<a class="jxr_linenumber" name="L144" href="#L144">144</a>                 <em 
class="jxr_comment">// Expected.</em>
+<a class="jxr_linenumber" name="L145" href="#L145">145</a>             }
+<a class="jxr_linenumber" name="L146" href="#L146">146</a>         }
+<a class="jxr_linenumber" name="L147" href="#L147">147</a>     }
+<a class="jxr_linenumber" name="L148" href="#L148">148</a> 
+<a class="jxr_linenumber" name="L149" href="#L149">149</a>     @Test
+<a class="jxr_linenumber" name="L150" href="#L150">150</a>     <strong 
class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> 
testMakeLongArrayPrecondition1() {
+<a class="jxr_linenumber" name="L151" href="#L151">151</a>         <strong 
class="jxr_keyword">for</strong> (<strong class="jxr_keyword">int</strong> i = 
0; i &lt;= 20; i++) {
+<a class="jxr_linenumber" name="L152" href="#L152">152</a>             <strong 
class="jxr_keyword">try</strong> {
+<a class="jxr_linenumber" name="L153" href="#L153">153</a>                 
NumberFactory.makeLongArray(<strong class="jxr_keyword">new</strong> byte[i]);
+<a class="jxr_linenumber" name="L154" href="#L154">154</a>                 
<strong class="jxr_keyword">if</strong> (i != 0 &amp;&amp; (i % LONG_SIZE != 
0)) {
+<a class="jxr_linenumber" name="L155" href="#L155">155</a>                     
Assert.fail(<span class="jxr_string">"Exception expected"</span>);
+<a class="jxr_linenumber" name="L156" href="#L156">156</a>                 }
+<a class="jxr_linenumber" name="L157" href="#L157">157</a>             } 
<strong class="jxr_keyword">catch</strong> (IllegalArgumentException e) {
+<a class="jxr_linenumber" name="L158" href="#L158">158</a>                 <em 
class="jxr_comment">// Expected.</em>
+<a class="jxr_linenumber" name="L159" href="#L159">159</a>             }
+<a class="jxr_linenumber" name="L160" href="#L160">160</a>         }
+<a class="jxr_linenumber" name="L161" href="#L161">161</a>     }
+<a class="jxr_linenumber" name="L162" href="#L162">162</a> }
+</pre>
+<hr/>
+<div id="footer">Copyright &#169; 2016 <a href="https://www.apache.org/";>The 
Apache Software Foundation</a>. All rights reserved.</div>
+</body>
+</html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/commons-rng/blob/d1b3113a/commons-rng-core/site-content/.svn/pristine/11/115dbf4d48d89c87c7bf557817370fe098a8f9ec.svn-base
----------------------------------------------------------------------
diff --git 
a/commons-rng-core/site-content/.svn/pristine/11/115dbf4d48d89c87c7bf557817370fe098a8f9ec.svn-base
 
b/commons-rng-core/site-content/.svn/pristine/11/115dbf4d48d89c87c7bf557817370fe098a8f9ec.svn-base
new file mode 100644
index 0000000..33996c9
--- /dev/null
+++ 
b/commons-rng-core/site-content/.svn/pristine/11/115dbf4d48d89c87c7bf557817370fe098a8f9ec.svn-base
@@ -0,0 +1,139 @@
+# 
+# RNG: org.apache.commons.rng.internal.source32.Well19937a
+# 
+# Java: 1.8.0_66
+# Runtime: 1.8.0_66-b17
+# JVM: Java HotSpot(TM) 64-Bit Server VM 25.66-b17
+# OS: Linux 3.16.0-4-amd64 amd64
+# 
+# Analyzer: /usr/bin/dieharder -a -g 200 -Y 1 -k 2 
+# 
+#=============================================================================#
+#            dieharder version 3.31.1 Copyright 2003 Robert G. Brown          #
+#=============================================================================#
+   rng_name    |rands/second|   Seed   |
+stdin_input_raw|  1.73e+07  |1799941164|
+#=============================================================================#
+        test_name   |ntup| tsamples |psamples|  p-value |Assessment
+#=============================================================================#
+   diehard_birthdays|   0|       100|     100|0.90271894|  PASSED  
+      diehard_operm5|   0|   1000000|     100|0.97948864|  PASSED  
+  diehard_rank_32x32|   0|     40000|     100|0.30710789|  PASSED  
+    diehard_rank_6x8|   0|    100000|     100|0.52413835|  PASSED  
+   diehard_bitstream|   0|   2097152|     100|0.30403307|  PASSED  
+        diehard_opso|   0|   2097152|     100|0.96953003|  PASSED  
+        diehard_oqso|   0|   2097152|     100|0.75628742|  PASSED  
+         diehard_dna|   0|   2097152|     100|0.34796381|  PASSED  
+diehard_count_1s_str|   0|    256000|     100|0.63925200|  PASSED  
+diehard_count_1s_byt|   0|    256000|     100|0.60389108|  PASSED  
+ diehard_parking_lot|   0|     12000|     100|0.59664629|  PASSED  
+    diehard_2dsphere|   2|      8000|     100|0.34004534|  PASSED  
+    diehard_3dsphere|   3|      4000|     100|0.44190630|  PASSED  
+     diehard_squeeze|   0|    100000|     100|0.46798335|  PASSED  
+        diehard_sums|   0|       100|     100|0.84617661|  PASSED  
+        diehard_runs|   0|    100000|     100|0.62836806|  PASSED  
+        diehard_runs|   0|    100000|     100|0.83212763|  PASSED  
+       diehard_craps|   0|    200000|     100|0.69174925|  PASSED  
+       diehard_craps|   0|    200000|     100|0.26166574|  PASSED  
+ marsaglia_tsang_gcd|   0|  10000000|     100|0.69997766|  PASSED  
+ marsaglia_tsang_gcd|   0|  10000000|     100|0.73274673|  PASSED  
+         sts_monobit|   1|    100000|     100|0.81296423|  PASSED  
+            sts_runs|   2|    100000|     100|0.02229324|  PASSED  
+          sts_serial|   1|    100000|     100|0.64293588|  PASSED  
+          sts_serial|   2|    100000|     100|0.67769765|  PASSED  
+          sts_serial|   3|    100000|     100|0.70598400|  PASSED  
+          sts_serial|   3|    100000|     100|0.65492751|  PASSED  
+          sts_serial|   4|    100000|     100|0.21107922|  PASSED  
+          sts_serial|   4|    100000|     100|0.26787239|  PASSED  
+          sts_serial|   5|    100000|     100|0.46547826|  PASSED  
+          sts_serial|   5|    100000|     100|0.82843161|  PASSED  
+          sts_serial|   6|    100000|     100|0.49193977|  PASSED  
+          sts_serial|   6|    100000|     100|0.80196164|  PASSED  
+          sts_serial|   7|    100000|     100|0.30680894|  PASSED  
+          sts_serial|   7|    100000|     100|0.96159902|  PASSED  
+          sts_serial|   8|    100000|     100|0.39880946|  PASSED  
+          sts_serial|   8|    100000|     100|0.57571155|  PASSED  
+          sts_serial|   9|    100000|     100|0.38317260|  PASSED  
+          sts_serial|   9|    100000|     100|0.28633113|  PASSED  
+          sts_serial|  10|    100000|     100|0.51666558|  PASSED  
+          sts_serial|  10|    100000|     100|0.12128650|  PASSED  
+          sts_serial|  11|    100000|     100|0.39104575|  PASSED  
+          sts_serial|  11|    100000|     100|0.27094339|  PASSED  
+          sts_serial|  12|    100000|     100|0.54349727|  PASSED  
+          sts_serial|  12|    100000|     100|0.97442641|  PASSED  
+          sts_serial|  13|    100000|     100|0.33396691|  PASSED  
+          sts_serial|  13|    100000|     100|0.50725034|  PASSED  
+          sts_serial|  14|    100000|     100|0.91973411|  PASSED  
+          sts_serial|  14|    100000|     100|0.33574589|  PASSED  
+          sts_serial|  15|    100000|     100|0.96473455|  PASSED  
+          sts_serial|  15|    100000|     100|0.85505523|  PASSED  
+          sts_serial|  16|    100000|     100|0.73645602|  PASSED  
+          sts_serial|  16|    100000|     100|0.30176390|  PASSED  
+         rgb_bitdist|   1|    100000|     100|0.58741365|  PASSED  
+         rgb_bitdist|   2|    100000|     100|0.91788386|  PASSED  
+         rgb_bitdist|   3|    100000|     100|0.56736948|  PASSED  
+         rgb_bitdist|   4|    100000|     100|0.10234909|  PASSED  
+         rgb_bitdist|   5|    100000|     100|0.92361299|  PASSED  
+         rgb_bitdist|   6|    100000|     100|0.96118125|  PASSED  
+         rgb_bitdist|   7|    100000|     100|0.98926105|  PASSED  
+         rgb_bitdist|   8|    100000|     100|0.95439554|  PASSED  
+         rgb_bitdist|   9|    100000|     100|0.74753984|  PASSED  
+         rgb_bitdist|  10|    100000|     100|0.70427721|  PASSED  
+         rgb_bitdist|  11|    100000|     100|0.31167880|  PASSED  
+         rgb_bitdist|  12|    100000|     100|0.67638942|  PASSED  
+rgb_minimum_distance|   2|     10000|    1000|0.24830005|  PASSED  
+rgb_minimum_distance|   3|     10000|    1000|0.51237951|  PASSED  
+rgb_minimum_distance|   4|     10000|    1000|0.99498508|  PASSED  
+rgb_minimum_distance|   5|     10000|    1000|0.93168436|  PASSED  
+    rgb_permutations|   2|    100000|     100|0.52677898|  PASSED  
+    rgb_permutations|   3|    100000|     100|0.77853873|  PASSED  
+    rgb_permutations|   4|    100000|     100|0.49581412|  PASSED  
+    rgb_permutations|   5|    100000|     100|0.73989303|  PASSED  
+      rgb_lagged_sum|   0|   1000000|     100|0.63992934|  PASSED  
+      rgb_lagged_sum|   1|   1000000|     100|0.00194926|   WEAK   
+      rgb_lagged_sum|   1|   1000000|     200|0.22428654|  PASSED  
+      rgb_lagged_sum|   2|   1000000|     100|0.99119103|  PASSED  
+      rgb_lagged_sum|   3|   1000000|     100|0.77605040|  PASSED  
+      rgb_lagged_sum|   4|   1000000|     100|0.92487625|  PASSED  
+      rgb_lagged_sum|   5|   1000000|     100|0.84224070|  PASSED  
+      rgb_lagged_sum|   6|   1000000|     100|0.94932487|  PASSED  
+      rgb_lagged_sum|   7|   1000000|     100|0.36322314|  PASSED  
+      rgb_lagged_sum|   8|   1000000|     100|0.28510306|  PASSED  
+      rgb_lagged_sum|   9|   1000000|     100|0.99468534|  PASSED  
+      rgb_lagged_sum|  10|   1000000|     100|0.39728816|  PASSED  
+      rgb_lagged_sum|  11|   1000000|     100|0.70731212|  PASSED  
+      rgb_lagged_sum|  12|   1000000|     100|0.99339698|  PASSED  
+      rgb_lagged_sum|  13|   1000000|     100|0.91376480|  PASSED  
+      rgb_lagged_sum|  14|   1000000|     100|0.40578997|  PASSED  
+      rgb_lagged_sum|  15|   1000000|     100|0.81345470|  PASSED  
+      rgb_lagged_sum|  16|   1000000|     100|0.92180089|  PASSED  
+      rgb_lagged_sum|  17|   1000000|     100|0.31400884|  PASSED  
+      rgb_lagged_sum|  18|   1000000|     100|0.49913299|  PASSED  
+      rgb_lagged_sum|  19|   1000000|     100|0.52454826|  PASSED  
+      rgb_lagged_sum|  20|   1000000|     100|0.68063852|  PASSED  
+      rgb_lagged_sum|  21|   1000000|     100|0.79602795|  PASSED  
+      rgb_lagged_sum|  22|   1000000|     100|0.67626840|  PASSED  
+      rgb_lagged_sum|  23|   1000000|     100|0.37793995|  PASSED  
+      rgb_lagged_sum|  24|   1000000|     100|0.19147942|  PASSED  
+      rgb_lagged_sum|  25|   1000000|     100|0.97030573|  PASSED  
+      rgb_lagged_sum|  26|   1000000|     100|0.05840853|  PASSED  
+      rgb_lagged_sum|  27|   1000000|     100|0.92102023|  PASSED  
+      rgb_lagged_sum|  28|   1000000|     100|0.38082569|  PASSED  
+      rgb_lagged_sum|  29|   1000000|     100|0.66417959|  PASSED  
+      rgb_lagged_sum|  30|   1000000|     100|0.35290091|  PASSED  
+      rgb_lagged_sum|  31|   1000000|     100|0.57387170|  PASSED  
+      rgb_lagged_sum|  32|   1000000|     100|0.52510363|  PASSED  
+     rgb_kstest_test|   0|     10000|    1000|0.94295130|  PASSED  
+     dab_bytedistrib|   0|  51200000|       1|0.61104244|  PASSED  
+             dab_dct| 256|     50000|       1|0.17555502|  PASSED  
+Preparing to run test 207.  ntuple = 0
+        dab_filltree|  32|  15000000|       1|0.86932315|  PASSED  
+        dab_filltree|  32|  15000000|       1|0.79860259|  PASSED  
+Preparing to run test 208.  ntuple = 0
+       dab_filltree2|   0|   5000000|       1|0.63781564|  PASSED  
+       dab_filltree2|   1|   5000000|       1|0.88969741|  PASSED  
+Preparing to run test 209.  ntuple = 0
+        dab_monobit2|  12|  65000000|       1|0.02872831|  PASSED  
+# 
+# Test duration: 88.38189763153333 minutes
+# 

http://git-wip-us.apache.org/repos/asf/commons-rng/blob/d1b3113a/commons-rng-core/site-content/.svn/pristine/11/11732ca591cf36ace78476ec3f8a158b1c582eab.svn-base
----------------------------------------------------------------------
diff --git 
a/commons-rng-core/site-content/.svn/pristine/11/11732ca591cf36ace78476ec3f8a158b1c582eab.svn-base
 
b/commons-rng-core/site-content/.svn/pristine/11/11732ca591cf36ace78476ec3f8a158b1c582eab.svn-base
new file mode 100644
index 0000000..12e9a01
Binary files /dev/null and 
b/commons-rng-core/site-content/.svn/pristine/11/11732ca591cf36ace78476ec3f8a158b1c582eab.svn-base
 differ

http://git-wip-us.apache.org/repos/asf/commons-rng/blob/d1b3113a/commons-rng-core/site-content/.svn/pristine/11/117de9d22137e62ca0179caa9c41ff37710cf569.svn-base
----------------------------------------------------------------------
diff --git 
a/commons-rng-core/site-content/.svn/pristine/11/117de9d22137e62ca0179caa9c41ff37710cf569.svn-base
 
b/commons-rng-core/site-content/.svn/pristine/11/117de9d22137e62ca0179caa9c41ff37710cf569.svn-base
new file mode 100644
index 0000000..426a54c
--- /dev/null
+++ 
b/commons-rng-core/site-content/.svn/pristine/11/117de9d22137e62ca0179caa9c41ff37710cf569.svn-base
@@ -0,0 +1,141 @@
+# 
+# RNG: org.apache.commons.rng.internal.source32.MersenneTwister
+# 
+# Java: 1.8.0_66
+# Runtime: 1.8.0_66-b17
+# JVM: Java HotSpot(TM) 64-Bit Server VM 25.66-b17
+# OS: Linux 3.16.0-4-amd64 amd64
+# 
+# Analyzer: /usr/bin/dieharder -a -g 200 -Y 1 -k 2 
+# 
+#=============================================================================#
+#            dieharder version 3.31.1 Copyright 2003 Robert G. Brown          #
+#=============================================================================#
+   rng_name    |rands/second|   Seed   |
+stdin_input_raw|  5.61e+06  | 144216798|
+#=============================================================================#
+        test_name   |ntup| tsamples |psamples|  p-value |Assessment
+#=============================================================================#
+   diehard_birthdays|   0|       100|     100|0.62964361|  PASSED  
+      diehard_operm5|   0|   1000000|     100|0.90551350|  PASSED  
+  diehard_rank_32x32|   0|     40000|     100|0.89910934|  PASSED  
+    diehard_rank_6x8|   0|    100000|     100|0.51363086|  PASSED  
+   diehard_bitstream|   0|   2097152|     100|0.64024067|  PASSED  
+        diehard_opso|   0|   2097152|     100|0.98035552|  PASSED  
+        diehard_oqso|   0|   2097152|     100|0.42076708|  PASSED  
+         diehard_dna|   0|   2097152|     100|0.72405594|  PASSED  
+diehard_count_1s_str|   0|    256000|     100|0.08272922|  PASSED  
+diehard_count_1s_byt|   0|    256000|     100|0.93542074|  PASSED  
+ diehard_parking_lot|   0|     12000|     100|0.96856245|  PASSED  
+    diehard_2dsphere|   2|      8000|     100|0.96831702|  PASSED  
+    diehard_3dsphere|   3|      4000|     100|0.27012534|  PASSED  
+     diehard_squeeze|   0|    100000|     100|0.88676145|  PASSED  
+        diehard_sums|   0|       100|     100|0.01035143|  PASSED  
+        diehard_runs|   0|    100000|     100|0.16583868|  PASSED  
+        diehard_runs|   0|    100000|     100|0.16317931|  PASSED  
+       diehard_craps|   0|    200000|     100|0.08538546|  PASSED  
+       diehard_craps|   0|    200000|     100|0.90156733|  PASSED  
+ marsaglia_tsang_gcd|   0|  10000000|     100|0.32544614|  PASSED  
+ marsaglia_tsang_gcd|   0|  10000000|     100|0.81762721|  PASSED  
+         sts_monobit|   1|    100000|     100|0.54466869|  PASSED  
+            sts_runs|   2|    100000|     100|0.81773502|  PASSED  
+          sts_serial|   1|    100000|     100|0.04476102|  PASSED  
+          sts_serial|   2|    100000|     100|0.87856941|  PASSED  
+          sts_serial|   3|    100000|     100|0.34583584|  PASSED  
+          sts_serial|   3|    100000|     100|0.82561725|  PASSED  
+          sts_serial|   4|    100000|     100|0.77659524|  PASSED  
+          sts_serial|   4|    100000|     100|0.71361141|  PASSED  
+          sts_serial|   5|    100000|     100|0.99091099|  PASSED  
+          sts_serial|   5|    100000|     100|0.86290078|  PASSED  
+          sts_serial|   6|    100000|     100|0.83218812|  PASSED  
+          sts_serial|   6|    100000|     100|0.02623732|  PASSED  
+          sts_serial|   7|    100000|     100|0.83849233|  PASSED  
+          sts_serial|   7|    100000|     100|0.64107260|  PASSED  
+          sts_serial|   8|    100000|     100|0.96490520|  PASSED  
+          sts_serial|   8|    100000|     100|0.87466604|  PASSED  
+          sts_serial|   9|    100000|     100|0.40033333|  PASSED  
+          sts_serial|   9|    100000|     100|0.07604848|  PASSED  
+          sts_serial|  10|    100000|     100|0.14285768|  PASSED  
+          sts_serial|  10|    100000|     100|0.71754133|  PASSED  
+          sts_serial|  11|    100000|     100|0.04601564|  PASSED  
+          sts_serial|  11|    100000|     100|0.05919300|  PASSED  
+          sts_serial|  12|    100000|     100|0.01973742|  PASSED  
+          sts_serial|  12|    100000|     100|0.37608743|  PASSED  
+          sts_serial|  13|    100000|     100|0.04009752|  PASSED  
+          sts_serial|  13|    100000|     100|0.87956938|  PASSED  
+          sts_serial|  14|    100000|     100|0.57607127|  PASSED  
+          sts_serial|  14|    100000|     100|0.49603930|  PASSED  
+          sts_serial|  15|    100000|     100|0.32452181|  PASSED  
+          sts_serial|  15|    100000|     100|0.87977045|  PASSED  
+          sts_serial|  16|    100000|     100|0.66847013|  PASSED  
+          sts_serial|  16|    100000|     100|0.73691563|  PASSED  
+         rgb_bitdist|   1|    100000|     100|0.51670797|  PASSED  
+         rgb_bitdist|   2|    100000|     100|0.65030958|  PASSED  
+         rgb_bitdist|   3|    100000|     100|0.89410276|  PASSED  
+         rgb_bitdist|   4|    100000|     100|0.75808726|  PASSED  
+         rgb_bitdist|   5|    100000|     100|0.99862991|   WEAK   
+         rgb_bitdist|   5|    100000|     200|0.85753141|  PASSED  
+         rgb_bitdist|   6|    100000|     100|0.44291686|  PASSED  
+         rgb_bitdist|   7|    100000|     100|0.20800662|  PASSED  
+         rgb_bitdist|   8|    100000|     100|0.94351919|  PASSED  
+         rgb_bitdist|   9|    100000|     100|0.66813650|  PASSED  
+         rgb_bitdist|  10|    100000|     100|0.96149006|  PASSED  
+         rgb_bitdist|  11|    100000|     100|0.72838012|  PASSED  
+         rgb_bitdist|  12|    100000|     100|0.09953221|  PASSED  
+rgb_minimum_distance|   2|     10000|    1000|0.12872836|  PASSED  
+rgb_minimum_distance|   3|     10000|    1000|0.38145781|  PASSED  
+rgb_minimum_distance|   4|     10000|    1000|0.89740209|  PASSED  
+rgb_minimum_distance|   5|     10000|    1000|0.37910331|  PASSED  
+    rgb_permutations|   2|    100000|     100|0.19202334|  PASSED  
+    rgb_permutations|   3|    100000|     100|0.95519208|  PASSED  
+    rgb_permutations|   4|    100000|     100|0.52705830|  PASSED  
+    rgb_permutations|   5|    100000|     100|0.39048289|  PASSED  
+      rgb_lagged_sum|   0|   1000000|     100|0.04991515|  PASSED  
+      rgb_lagged_sum|   1|   1000000|     100|0.64896069|  PASSED  
+      rgb_lagged_sum|   2|   1000000|     100|0.50454489|  PASSED  
+      rgb_lagged_sum|   3|   1000000|     100|0.65290295|  PASSED  
+      rgb_lagged_sum|   4|   1000000|     100|0.94461860|  PASSED  
+      rgb_lagged_sum|   5|   1000000|     100|0.69268473|  PASSED  
+      rgb_lagged_sum|   6|   1000000|     100|0.47937786|  PASSED  
+      rgb_lagged_sum|   7|   1000000|     100|0.77765314|  PASSED  
+      rgb_lagged_sum|   8|   1000000|     100|0.72461451|  PASSED  
+      rgb_lagged_sum|   9|   1000000|     100|0.89341742|  PASSED  
+      rgb_lagged_sum|  10|   1000000|     100|0.39273330|  PASSED  
+      rgb_lagged_sum|  11|   1000000|     100|0.45133038|  PASSED  
+      rgb_lagged_sum|  12|   1000000|     100|0.91427269|  PASSED  
+      rgb_lagged_sum|  13|   1000000|     100|0.89074005|  PASSED  
+      rgb_lagged_sum|  14|   1000000|     100|0.99706098|   WEAK   
+      rgb_lagged_sum|  14|   1000000|     200|0.48677648|  PASSED  
+      rgb_lagged_sum|  15|   1000000|     100|0.38100808|  PASSED  
+      rgb_lagged_sum|  16|   1000000|     100|0.98311270|  PASSED  
+      rgb_lagged_sum|  17|   1000000|     100|0.74963294|  PASSED  
+      rgb_lagged_sum|  18|   1000000|     100|0.54497941|  PASSED  
+      rgb_lagged_sum|  19|   1000000|     100|0.59778228|  PASSED  
+      rgb_lagged_sum|  20|   1000000|     100|0.03430273|  PASSED  
+      rgb_lagged_sum|  21|   1000000|     100|0.26493411|  PASSED  
+      rgb_lagged_sum|  22|   1000000|     100|0.23650614|  PASSED  
+      rgb_lagged_sum|  23|   1000000|     100|0.86606292|  PASSED  
+      rgb_lagged_sum|  24|   1000000|     100|0.53489459|  PASSED  
+      rgb_lagged_sum|  25|   1000000|     100|0.76501142|  PASSED  
+      rgb_lagged_sum|  26|   1000000|     100|0.00481576|   WEAK   
+      rgb_lagged_sum|  26|   1000000|     200|0.20824273|  PASSED  
+      rgb_lagged_sum|  27|   1000000|     100|0.99273274|  PASSED  
+      rgb_lagged_sum|  28|   1000000|     100|0.32983599|  PASSED  
+      rgb_lagged_sum|  29|   1000000|     100|0.89300048|  PASSED  
+      rgb_lagged_sum|  30|   1000000|     100|0.38219101|  PASSED  
+      rgb_lagged_sum|  31|   1000000|     100|0.14426062|  PASSED  
+      rgb_lagged_sum|  32|   1000000|     100|0.52365682|  PASSED  
+     rgb_kstest_test|   0|     10000|    1000|0.17315534|  PASSED  
+     dab_bytedistrib|   0|  51200000|       1|0.94701058|  PASSED  
+             dab_dct| 256|     50000|       1|0.77872643|  PASSED  
+Preparing to run test 207.  ntuple = 0
+        dab_filltree|  32|  15000000|       1|0.33682686|  PASSED  
+        dab_filltree|  32|  15000000|       1|0.07208702|  PASSED  
+Preparing to run test 208.  ntuple = 0
+       dab_filltree2|   0|   5000000|       1|0.01223292|  PASSED  
+       dab_filltree2|   1|   5000000|       1|0.97018114|  PASSED  
+Preparing to run test 209.  ntuple = 0
+        dab_monobit2|  12|  65000000|       1|0.98797548|  PASSED  
+# 
+# Test duration: 184.54890436295 minutes
+# 

Reply via email to