You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@commons.apache.org by er...@apache.org on 2016/09/02 16:37:59 UTC
svn commit: r996528 [11/35] - in
/websites/production/commons/content/proper/commons-rng: ./ apidocs/
apidocs/org/apache/commons/rng/ apidocs/org/apache/commons/rng/class-use/
apidocs/org/apache/commons/rng/internal/
apidocs/org/apache/commons/rng/inte...
Added: websites/production/commons/content/proper/commons-rng/apidocs/src-html/org/apache/commons/rng/internal/source32/MultiplyWithCarry256.html
==============================================================================
--- websites/production/commons/content/proper/commons-rng/apidocs/src-html/org/apache/commons/rng/internal/source32/MultiplyWithCarry256.html (added)
+++ websites/production/commons/content/proper/commons-rng/apidocs/src-html/org/apache/commons/rng/internal/source32/MultiplyWithCarry256.html Fri Sep 2 16:37:56 2016
@@ -0,0 +1,206 @@
+<!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> * Port from Marsaglia's <a href="https://en.wikipedia.org/wiki/Multiply-with-carry"><a name="line.23"></a>
+<span class="sourceLineNo">024</span> * "Multiply-With-Carry" algorithm</a>.<a name="line.24"></a>
+<span class="sourceLineNo">025</span> *<a name="line.25"></a>
+<span class="sourceLineNo">026</span> * <p><a name="line.26"></a>
+<span class="sourceLineNo">027</span> * Implementation is based on the (non-portable!) C code reproduced on<a name="line.27"></a>
+<span class="sourceLineNo">028</span> * <a href="http://school.anhb.uwa.edu.au/personalpages/kwessen/shared/Marsaglia03.html"><a name="line.28"></a>
+<span class="sourceLineNo">029</span> * that page</a>.<a name="line.29"></a>
+<span class="sourceLineNo">030</span> * </p><a name="line.30"></a>
+<span class="sourceLineNo">031</span> *<a name="line.31"></a>
+<span class="sourceLineNo">032</span> * @since 1.0<a name="line.32"></a>
+<span class="sourceLineNo">033</span> */<a name="line.33"></a>
+<span class="sourceLineNo">034</span>public class MultiplyWithCarry256 extends IntProvider {<a name="line.34"></a>
+<span class="sourceLineNo">035</span> /** Length of the state array. */<a name="line.35"></a>
+<span class="sourceLineNo">036</span> private static final int Q_SIZE = 256;<a name="line.36"></a>
+<span class="sourceLineNo">037</span> /** Size of the seed. */<a name="line.37"></a>
+<span class="sourceLineNo">038</span> private static final int SEED_SIZE = Q_SIZE + 1;<a name="line.38"></a>
+<span class="sourceLineNo">039</span> /** Multiply. */<a name="line.39"></a>
+<span class="sourceLineNo">040</span> private static final long A = 809430660;<a name="line.40"></a>
+<span class="sourceLineNo">041</span> /** State. */<a name="line.41"></a>
+<span class="sourceLineNo">042</span> private final int[] state = new int[Q_SIZE];<a name="line.42"></a>
+<span class="sourceLineNo">043</span> /** Current index in "state" array. */<a name="line.43"></a>
+<span class="sourceLineNo">044</span> private int index;<a name="line.44"></a>
+<span class="sourceLineNo">045</span> /** Carry. */<a name="line.45"></a>
+<span class="sourceLineNo">046</span> private int carry;<a name="line.46"></a>
+<span class="sourceLineNo">047</span><a name="line.47"></a>
+<span class="sourceLineNo">048</span> /**<a name="line.48"></a>
+<span class="sourceLineNo">049</span> * Creates a new instance.<a name="line.49"></a>
+<span class="sourceLineNo">050</span> *<a name="line.50"></a>
+<span class="sourceLineNo">051</span> * @param seed Seed.<a name="line.51"></a>
+<span class="sourceLineNo">052</span> * If the length is larger than 257, only the first 257 elements will<a name="line.52"></a>
+<span class="sourceLineNo">053</span> * be used; if smaller, the remaining elements will be automatically<a name="line.53"></a>
+<span class="sourceLineNo">054</span> * set.<a name="line.54"></a>
+<span class="sourceLineNo">055</span> */<a name="line.55"></a>
+<span class="sourceLineNo">056</span> public MultiplyWithCarry256(int[] seed) {<a name="line.56"></a>
+<span class="sourceLineNo">057</span> setSeedInternal(seed);<a name="line.57"></a>
+<span class="sourceLineNo">058</span> }<a name="line.58"></a>
+<span class="sourceLineNo">059</span><a name="line.59"></a>
+<span class="sourceLineNo">060</span> /** {@inheritDoc} */<a name="line.60"></a>
+<span class="sourceLineNo">061</span> @Override<a name="line.61"></a>
+<span class="sourceLineNo">062</span> protected byte[] getStateInternal() {<a name="line.62"></a>
+<span class="sourceLineNo">063</span> final int[] s = Arrays.copyOf(state, SEED_SIZE + 1);<a name="line.63"></a>
+<span class="sourceLineNo">064</span> s[SEED_SIZE - 1] = carry;<a name="line.64"></a>
+<span class="sourceLineNo">065</span> s[SEED_SIZE] = index;<a name="line.65"></a>
+<span class="sourceLineNo">066</span><a name="line.66"></a>
+<span class="sourceLineNo">067</span> return NumberFactory.makeByteArray(s);<a name="line.67"></a>
+<span class="sourceLineNo">068</span> }<a name="line.68"></a>
+<span class="sourceLineNo">069</span><a name="line.69"></a>
+<span class="sourceLineNo">070</span> /** {@inheritDoc} */<a name="line.70"></a>
+<span class="sourceLineNo">071</span> @Override<a name="line.71"></a>
+<span class="sourceLineNo">072</span> protected void setStateInternal(byte[] s) {<a name="line.72"></a>
+<span class="sourceLineNo">073</span> checkStateSize(s, (SEED_SIZE + 1) * 4);<a name="line.73"></a>
+<span class="sourceLineNo">074</span><a name="line.74"></a>
+<span class="sourceLineNo">075</span> final int[] tmp = NumberFactory.makeIntArray(s);<a name="line.75"></a>
+<span class="sourceLineNo">076</span><a name="line.76"></a>
+<span class="sourceLineNo">077</span> System.arraycopy(tmp, 0, state, 0, Q_SIZE);<a name="line.77"></a>
+<span class="sourceLineNo">078</span> carry = tmp[SEED_SIZE - 1];<a name="line.78"></a>
+<span class="sourceLineNo">079</span> index = tmp[SEED_SIZE];<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> /**<a name="line.82"></a>
+<span class="sourceLineNo">083</span> * Seeds the RNG.<a name="line.83"></a>
+<span class="sourceLineNo">084</span> *<a name="line.84"></a>
+<span class="sourceLineNo">085</span> * @param seed Seed.<a name="line.85"></a>
+<span class="sourceLineNo">086</span> */<a name="line.86"></a>
+<span class="sourceLineNo">087</span> private void setSeedInternal(int[] seed) {<a name="line.87"></a>
+<span class="sourceLineNo">088</span> // Reset the whole state of this RNG (i.e. "state" and "index").<a name="line.88"></a>
+<span class="sourceLineNo">089</span> // Seeding procedure is not part of the reference code.<a name="line.89"></a>
+<span class="sourceLineNo">090</span><a name="line.90"></a>
+<span class="sourceLineNo">091</span> final int[] tmp = new int[SEED_SIZE];<a name="line.91"></a>
+<span class="sourceLineNo">092</span> System.arraycopy(seed, 0, tmp, 0, Math.min(seed.length, tmp.length));<a name="line.92"></a>
+<span class="sourceLineNo">093</span><a name="line.93"></a>
+<span class="sourceLineNo">094</span> if (seed.length < SEED_SIZE) {<a name="line.94"></a>
+<span class="sourceLineNo">095</span> for (int i = seed.length; i < SEED_SIZE; i++) {<a name="line.95"></a>
+<span class="sourceLineNo">096</span> tmp[i] = 26021969 * i;<a name="line.96"></a>
+<span class="sourceLineNo">097</span> }<a name="line.97"></a>
+<span class="sourceLineNo">098</span> for (int i = SEED_SIZE - 1; i > seed.length; i--) {<a name="line.98"></a>
+<span class="sourceLineNo">099</span> tmp[i] ^= tmp[SEED_SIZE - i - 1];<a name="line.99"></a>
+<span class="sourceLineNo">100</span> }<a name="line.100"></a>
+<span class="sourceLineNo">101</span><a name="line.101"></a>
+<span class="sourceLineNo">102</span> tmp[seed.length] = 0x80000000; // Ensuring non-zero initial array.<a name="line.102"></a>
+<span class="sourceLineNo">103</span> }<a name="line.103"></a>
+<span class="sourceLineNo">104</span><a name="line.104"></a>
+<span class="sourceLineNo">105</span> // First element of the "seed" is the initial "carry".<a name="line.105"></a>
+<span class="sourceLineNo">106</span> final int c = tmp[0];<a name="line.106"></a>
+<span class="sourceLineNo">107</span> // Marsaglia's recommendation: 0 <= carry < A.<a name="line.107"></a>
+<span class="sourceLineNo">108</span> carry = (int) ((c < 0 ? -c : c) % A);<a name="line.108"></a>
+<span class="sourceLineNo">109</span><a name="line.109"></a>
+<span class="sourceLineNo">110</span> // Initial state.<a name="line.110"></a>
+<span class="sourceLineNo">111</span> System.arraycopy(tmp, 1, state, 0, Q_SIZE);<a name="line.111"></a>
+<span class="sourceLineNo">112</span><a name="line.112"></a>
+<span class="sourceLineNo">113</span> // Initial index.<a name="line.113"></a>
+<span class="sourceLineNo">114</span> index = Q_SIZE;<a name="line.114"></a>
+<span class="sourceLineNo">115</span> }<a name="line.115"></a>
+<span class="sourceLineNo">116</span><a name="line.116"></a>
+<span class="sourceLineNo">117</span> /** {@inheritDoc} */<a name="line.117"></a>
+<span class="sourceLineNo">118</span> @Override<a name="line.118"></a>
+<span class="sourceLineNo">119</span> public int next() {<a name="line.119"></a>
+<span class="sourceLineNo">120</span> if (index == Q_SIZE) { // Whole state used up.<a name="line.120"></a>
+<span class="sourceLineNo">121</span> // Refill.<a name="line.121"></a>
+<span class="sourceLineNo">122</span> for (int i = 0; i < Q_SIZE; i++) {<a name="line.122"></a>
+<span class="sourceLineNo">123</span> final long t = A * (state[i] & 0xffffffffL) + carry;<a name="line.123"></a>
+<span class="sourceLineNo">124</span> carry = (int) (t >> 32);<a name="line.124"></a>
+<span class="sourceLineNo">125</span> state[i] = (int) t;<a name="line.125"></a>
+<span class="sourceLineNo">126</span> }<a name="line.126"></a>
+<span class="sourceLineNo">127</span><a name="line.127"></a>
+<span class="sourceLineNo">128</span> // Reset current index.<a name="line.128"></a>
+<span class="sourceLineNo">129</span> index = 0;<a name="line.129"></a>
+<span class="sourceLineNo">130</span> }<a name="line.130"></a>
+<span class="sourceLineNo">131</span><a name="line.131"></a>
+<span class="sourceLineNo">132</span> return state[index++];<a name="line.132"></a>
+<span class="sourceLineNo">133</span> }<a name="line.133"></a>
+<span class="sourceLineNo">134</span>}<a name="line.134"></a>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</pre>
+</div>
+</body>
+</html>
\ No newline at end of file
Propchange: websites/production/commons/content/proper/commons-rng/apidocs/src-html/org/apache/commons/rng/internal/source32/MultiplyWithCarry256.html
------------------------------------------------------------------------------
svn:eol-style = native
Modified: websites/production/commons/content/proper/commons-rng/apidocs/src-html/org/apache/commons/rng/internal/source64/MersenneTwister64.html
==============================================================================
--- websites/production/commons/content/proper/commons-rng/apidocs/src-html/org/apache/commons/rng/internal/source64/MersenneTwister64.html (original)
+++ websites/production/commons/content/proper/commons-rng/apidocs/src-html/org/apache/commons/rng/internal/source64/MersenneTwister64.html Fri Sep 2 16:37:56 2016
@@ -123,86 +123,90 @@
<span class="sourceLineNo">115</span> }<a name="line.115"></a>
<span class="sourceLineNo">116</span><a name="line.116"></a>
<span class="sourceLineNo">117</span> /**<a name="line.117"></a>
-<span class="sourceLineNo">118</span> * Reinitializes the generator as if just built with the given seed.<a name="line.118"></a>
+<span class="sourceLineNo">118</span> * Initializes the generator with the given seed.<a name="line.118"></a>
<span class="sourceLineNo">119</span> *<a name="line.119"></a>
<span class="sourceLineNo">120</span> * @param seed Initial seed.<a name="line.120"></a>
<span class="sourceLineNo">121</span> */<a name="line.121"></a>
<span class="sourceLineNo">122</span> private void setSeedInternal(long[] seed) {<a name="line.122"></a>
-<span class="sourceLineNo">123</span> initState(19650218L);<a name="line.123"></a>
-<span class="sourceLineNo">124</span><a name="line.124"></a>
-<span class="sourceLineNo">125</span> int i = 1;<a name="line.125"></a>
-<span class="sourceLineNo">126</span> int j = 0;<a name="line.126"></a>
+<span class="sourceLineNo">123</span> if (seed.length == 0) {<a name="line.123"></a>
+<span class="sourceLineNo">124</span> // Accept empty seed.<a name="line.124"></a>
+<span class="sourceLineNo">125</span> seed = new long[1];<a name="line.125"></a>
+<span class="sourceLineNo">126</span> }<a name="line.126"></a>
<span class="sourceLineNo">127</span><a name="line.127"></a>
-<span class="sourceLineNo">128</span> for (int k = Math.max(NN, seed.length); k != 0; k--) {<a name="line.128"></a>
-<span class="sourceLineNo">129</span> final long mm1 = mt[i - 1];<a name="line.129"></a>
-<span class="sourceLineNo">130</span> mt[i] = (mt[i] ^ ((mm1 ^ (mm1 >>> 62)) * 0x369dea0f31a53f85L)) + seed[j] + j; // non linear<a name="line.130"></a>
-<span class="sourceLineNo">131</span> i++;<a name="line.131"></a>
-<span class="sourceLineNo">132</span> j++;<a name="line.132"></a>
-<span class="sourceLineNo">133</span> if (i >= NN) {<a name="line.133"></a>
-<span class="sourceLineNo">134</span> mt[0] = mt[NN - 1];<a name="line.134"></a>
-<span class="sourceLineNo">135</span> i = 1;<a name="line.135"></a>
-<span class="sourceLineNo">136</span> }<a name="line.136"></a>
-<span class="sourceLineNo">137</span> if (j >= seed.length) {<a name="line.137"></a>
-<span class="sourceLineNo">138</span> j = 0;<a name="line.138"></a>
-<span class="sourceLineNo">139</span> }<a name="line.139"></a>
-<span class="sourceLineNo">140</span> }<a name="line.140"></a>
-<span class="sourceLineNo">141</span> for (int k = NN - 1; k != 0; k--) {<a name="line.141"></a>
-<span class="sourceLineNo">142</span> final long mm1 = mt[i - 1];<a name="line.142"></a>
-<span class="sourceLineNo">143</span> mt[i] = (mt[i] ^ ((mm1 ^ (mm1 >>> 62)) * 0x27bb2ee687b0b0fdL)) - i; // non linear<a name="line.143"></a>
-<span class="sourceLineNo">144</span> i++;<a name="line.144"></a>
-<span class="sourceLineNo">145</span> if (i >= NN) {<a name="line.145"></a>
-<span class="sourceLineNo">146</span> mt[0] = mt[NN - 1];<a name="line.146"></a>
-<span class="sourceLineNo">147</span> i = 1;<a name="line.147"></a>
-<span class="sourceLineNo">148</span> }<a name="line.148"></a>
-<span class="sourceLineNo">149</span> }<a name="line.149"></a>
-<span class="sourceLineNo">150</span><a name="line.150"></a>
-<span class="sourceLineNo">151</span> mt[0] = 0x8000000000000000L; // MSB is 1; assuring non-zero initial array<a name="line.151"></a>
-<span class="sourceLineNo">152</span> }<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> * Initialize the internal state of this instance.<a name="line.155"></a>
-<span class="sourceLineNo">156</span> *<a name="line.156"></a>
-<span class="sourceLineNo">157</span> * @param seed Seed.<a name="line.157"></a>
-<span class="sourceLineNo">158</span> */<a name="line.158"></a>
-<span class="sourceLineNo">159</span> private void initState(long seed) {<a name="line.159"></a>
-<span class="sourceLineNo">160</span> mt[0] = seed;<a name="line.160"></a>
-<span class="sourceLineNo">161</span> for (mti = 1; mti < NN; mti++) {<a name="line.161"></a>
-<span class="sourceLineNo">162</span> final long mm1 = mt[mti - 1];<a name="line.162"></a>
-<span class="sourceLineNo">163</span> mt[mti] = 0x5851f42d4c957f2dL * (mm1 ^ (mm1 >>> 62)) + mti;<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><a name="line.166"></a>
-<span class="sourceLineNo">167</span> /** {@inheritDoc} */<a name="line.167"></a>
-<span class="sourceLineNo">168</span> @Override<a name="line.168"></a>
-<span class="sourceLineNo">169</span> public long next() {<a name="line.169"></a>
-<span class="sourceLineNo">170</span> long x;<a name="line.170"></a>
-<span class="sourceLineNo">171</span><a name="line.171"></a>
-<span class="sourceLineNo">172</span> if (mti >= NN) { // generate NN words at one time<a name="line.172"></a>
-<span class="sourceLineNo">173</span> for (int i = 0; i < NN - MM; i++) {<a name="line.173"></a>
-<span class="sourceLineNo">174</span> x = (mt[i] & UM) | (mt[i + 1] & LM);<a name="line.174"></a>
-<span class="sourceLineNo">175</span> mt[i] = mt[i + MM] ^ (x >>> 1) ^ MAG01[(int)(x & 0x1L)];<a name="line.175"></a>
-<span class="sourceLineNo">176</span> }<a name="line.176"></a>
-<span class="sourceLineNo">177</span> for (int i = NN - MM; i < NN - 1; i++) {<a name="line.177"></a>
+<span class="sourceLineNo">128</span> initState(19650218L);<a name="line.128"></a>
+<span class="sourceLineNo">129</span> int i = 1;<a name="line.129"></a>
+<span class="sourceLineNo">130</span> int j = 0;<a name="line.130"></a>
+<span class="sourceLineNo">131</span><a name="line.131"></a>
+<span class="sourceLineNo">132</span> for (int k = Math.max(NN, seed.length); k != 0; k--) {<a name="line.132"></a>
+<span class="sourceLineNo">133</span> final long mm1 = mt[i - 1];<a name="line.133"></a>
+<span class="sourceLineNo">134</span> mt[i] = (mt[i] ^ ((mm1 ^ (mm1 >>> 62)) * 0x369dea0f31a53f85L)) + seed[j] + j; // non linear<a name="line.134"></a>
+<span class="sourceLineNo">135</span> i++;<a name="line.135"></a>
+<span class="sourceLineNo">136</span> j++;<a name="line.136"></a>
+<span class="sourceLineNo">137</span> if (i >= NN) {<a name="line.137"></a>
+<span class="sourceLineNo">138</span> mt[0] = mt[NN - 1];<a name="line.138"></a>
+<span class="sourceLineNo">139</span> i = 1;<a name="line.139"></a>
+<span class="sourceLineNo">140</span> }<a name="line.140"></a>
+<span class="sourceLineNo">141</span> if (j >= seed.length) {<a name="line.141"></a>
+<span class="sourceLineNo">142</span> j = 0;<a name="line.142"></a>
+<span class="sourceLineNo">143</span> }<a name="line.143"></a>
+<span class="sourceLineNo">144</span> }<a name="line.144"></a>
+<span class="sourceLineNo">145</span> for (int k = NN - 1; k != 0; k--) {<a name="line.145"></a>
+<span class="sourceLineNo">146</span> final long mm1 = mt[i - 1];<a name="line.146"></a>
+<span class="sourceLineNo">147</span> mt[i] = (mt[i] ^ ((mm1 ^ (mm1 >>> 62)) * 0x27bb2ee687b0b0fdL)) - i; // non linear<a name="line.147"></a>
+<span class="sourceLineNo">148</span> i++;<a name="line.148"></a>
+<span class="sourceLineNo">149</span> if (i >= NN) {<a name="line.149"></a>
+<span class="sourceLineNo">150</span> mt[0] = mt[NN - 1];<a name="line.150"></a>
+<span class="sourceLineNo">151</span> i = 1;<a name="line.151"></a>
+<span class="sourceLineNo">152</span> }<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> mt[0] = 0x8000000000000000L; // MSB is 1; assuring non-zero initial array<a name="line.155"></a>
+<span class="sourceLineNo">156</span> }<a name="line.156"></a>
+<span class="sourceLineNo">157</span><a name="line.157"></a>
+<span class="sourceLineNo">158</span> /**<a name="line.158"></a>
+<span class="sourceLineNo">159</span> * Initialize the internal state of this instance.<a name="line.159"></a>
+<span class="sourceLineNo">160</span> *<a name="line.160"></a>
+<span class="sourceLineNo">161</span> * @param seed Seed.<a name="line.161"></a>
+<span class="sourceLineNo">162</span> */<a name="line.162"></a>
+<span class="sourceLineNo">163</span> private void initState(long seed) {<a name="line.163"></a>
+<span class="sourceLineNo">164</span> mt[0] = seed;<a name="line.164"></a>
+<span class="sourceLineNo">165</span> for (mti = 1; mti < NN; mti++) {<a name="line.165"></a>
+<span class="sourceLineNo">166</span> final long mm1 = mt[mti - 1];<a name="line.166"></a>
+<span class="sourceLineNo">167</span> mt[mti] = 0x5851f42d4c957f2dL * (mm1 ^ (mm1 >>> 62)) + mti;<a name="line.167"></a>
+<span class="sourceLineNo">168</span> }<a name="line.168"></a>
+<span class="sourceLineNo">169</span> }<a name="line.169"></a>
+<span class="sourceLineNo">170</span><a name="line.170"></a>
+<span class="sourceLineNo">171</span> /** {@inheritDoc} */<a name="line.171"></a>
+<span class="sourceLineNo">172</span> @Override<a name="line.172"></a>
+<span class="sourceLineNo">173</span> public long next() {<a name="line.173"></a>
+<span class="sourceLineNo">174</span> long x;<a name="line.174"></a>
+<span class="sourceLineNo">175</span><a name="line.175"></a>
+<span class="sourceLineNo">176</span> if (mti >= NN) { // generate NN words at one time<a name="line.176"></a>
+<span class="sourceLineNo">177</span> for (int i = 0; i < NN - MM; i++) {<a name="line.177"></a>
<span class="sourceLineNo">178</span> x = (mt[i] & UM) | (mt[i + 1] & LM);<a name="line.178"></a>
-<span class="sourceLineNo">179</span> mt[i] = mt[ i + (MM - NN)] ^ (x >>> 1) ^ MAG01[(int)(x & 0x1L)];<a name="line.179"></a>
+<span class="sourceLineNo">179</span> mt[i] = mt[i + MM] ^ (x >>> 1) ^ MAG01[(int)(x & 0x1L)];<a name="line.179"></a>
<span class="sourceLineNo">180</span> }<a name="line.180"></a>
-<span class="sourceLineNo">181</span><a name="line.181"></a>
-<span class="sourceLineNo">182</span> x = (mt[NN - 1] & UM) | (mt[0] & LM);<a name="line.182"></a>
-<span class="sourceLineNo">183</span> mt[NN - 1] = mt[MM - 1] ^ (x >>> 1) ^ MAG01[(int)(x & 0x1L)];<a name="line.183"></a>
-<span class="sourceLineNo">184</span><a name="line.184"></a>
-<span class="sourceLineNo">185</span> mti = 0;<a name="line.185"></a>
-<span class="sourceLineNo">186</span> }<a name="line.186"></a>
-<span class="sourceLineNo">187</span><a name="line.187"></a>
-<span class="sourceLineNo">188</span> x = mt[mti++];<a name="line.188"></a>
-<span class="sourceLineNo">189</span><a name="line.189"></a>
-<span class="sourceLineNo">190</span> x ^= (x >>> 29) & 0x5555555555555555L;<a name="line.190"></a>
-<span class="sourceLineNo">191</span> x ^= (x << 17) & 0x71d67fffeda60000L;<a name="line.191"></a>
-<span class="sourceLineNo">192</span> x ^= (x << 37) & 0xfff7eee000000000L;<a name="line.192"></a>
-<span class="sourceLineNo">193</span> x ^= x >>> 43;<a name="line.193"></a>
-<span class="sourceLineNo">194</span><a name="line.194"></a>
-<span class="sourceLineNo">195</span> return x;<a name="line.195"></a>
-<span class="sourceLineNo">196</span> }<a name="line.196"></a>
-<span class="sourceLineNo">197</span>}<a name="line.197"></a>
+<span class="sourceLineNo">181</span> for (int i = NN - MM; i < NN - 1; i++) {<a name="line.181"></a>
+<span class="sourceLineNo">182</span> x = (mt[i] & UM) | (mt[i + 1] & LM);<a name="line.182"></a>
+<span class="sourceLineNo">183</span> mt[i] = mt[ i + (MM - NN)] ^ (x >>> 1) ^ MAG01[(int)(x & 0x1L)];<a name="line.183"></a>
+<span class="sourceLineNo">184</span> }<a name="line.184"></a>
+<span class="sourceLineNo">185</span><a name="line.185"></a>
+<span class="sourceLineNo">186</span> x = (mt[NN - 1] & UM) | (mt[0] & LM);<a name="line.186"></a>
+<span class="sourceLineNo">187</span> mt[NN - 1] = mt[MM - 1] ^ (x >>> 1) ^ MAG01[(int)(x & 0x1L)];<a name="line.187"></a>
+<span class="sourceLineNo">188</span><a name="line.188"></a>
+<span class="sourceLineNo">189</span> mti = 0;<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> x = mt[mti++];<a name="line.192"></a>
+<span class="sourceLineNo">193</span><a name="line.193"></a>
+<span class="sourceLineNo">194</span> x ^= (x >>> 29) & 0x5555555555555555L;<a name="line.194"></a>
+<span class="sourceLineNo">195</span> x ^= (x << 17) & 0x71d67fffeda60000L;<a name="line.195"></a>
+<span class="sourceLineNo">196</span> x ^= (x << 37) & 0xfff7eee000000000L;<a name="line.196"></a>
+<span class="sourceLineNo">197</span> x ^= x >>> 43;<a name="line.197"></a>
+<span class="sourceLineNo">198</span><a name="line.198"></a>
+<span class="sourceLineNo">199</span> return x;<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>
Added: websites/production/commons/content/proper/commons-rng/apidocs/src-html/org/apache/commons/rng/internal/util/ByteArray2IntArray.html
==============================================================================
--- websites/production/commons/content/proper/commons-rng/apidocs/src-html/org/apache/commons/rng/internal/util/ByteArray2IntArray.html (added)
+++ websites/production/commons/content/proper/commons-rng/apidocs/src-html/org/apache/commons/rng/internal/util/ByteArray2IntArray.html Fri Sep 2 16:37:56 2016
@@ -0,0 +1,111 @@
+<!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>import java.util.Arrays;<a name="line.19"></a>
+<span class="sourceLineNo">020</span><a name="line.20"></a>
+<span class="sourceLineNo">021</span>/**<a name="line.21"></a>
+<span class="sourceLineNo">022</span> * Creates a {@code int[]} from a {@code byte[]}.<a name="line.22"></a>
+<span class="sourceLineNo">023</span> *<a name="line.23"></a>
+<span class="sourceLineNo">024</span> * @since 1.0<a name="line.24"></a>
+<span class="sourceLineNo">025</span> */<a name="line.25"></a>
+<span class="sourceLineNo">026</span>public class ByteArray2IntArray implements SeedConverter<byte[], int[]> {<a name="line.26"></a>
+<span class="sourceLineNo">027</span> /** Number of bytes in an {@code int}. */<a name="line.27"></a>
+<span class="sourceLineNo">028</span> private static final int INT_SIZE = 4;<a name="line.28"></a>
+<span class="sourceLineNo">029</span><a name="line.29"></a>
+<span class="sourceLineNo">030</span> /** {@inheritDoc} */<a name="line.30"></a>
+<span class="sourceLineNo">031</span> @Override<a name="line.31"></a>
+<span class="sourceLineNo">032</span> public int[] convert(byte[] seed) {<a name="line.32"></a>
+<span class="sourceLineNo">033</span> final byte[] tmp = seed.length % INT_SIZE == 0 ?<a name="line.33"></a>
+<span class="sourceLineNo">034</span> seed :<a name="line.34"></a>
+<span class="sourceLineNo">035</span> Arrays.copyOf(seed, INT_SIZE * ((seed.length + INT_SIZE - 1) / INT_SIZE));<a name="line.35"></a>
+<span class="sourceLineNo">036</span><a name="line.36"></a>
+<span class="sourceLineNo">037</span> return NumberFactory.makeIntArray(tmp);<a name="line.37"></a>
+<span class="sourceLineNo">038</span> }<a name="line.38"></a>
+<span class="sourceLineNo">039</span>}<a name="line.39"></a>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</pre>
+</div>
+</body>
+</html>
\ No newline at end of file
Propchange: websites/production/commons/content/proper/commons-rng/apidocs/src-html/org/apache/commons/rng/internal/util/ByteArray2IntArray.html
------------------------------------------------------------------------------
svn:eol-style = native
Added: websites/production/commons/content/proper/commons-rng/apidocs/src-html/org/apache/commons/rng/internal/util/ByteArray2LongArray.html
==============================================================================
--- websites/production/commons/content/proper/commons-rng/apidocs/src-html/org/apache/commons/rng/internal/util/ByteArray2LongArray.html (added)
+++ websites/production/commons/content/proper/commons-rng/apidocs/src-html/org/apache/commons/rng/internal/util/ByteArray2LongArray.html Fri Sep 2 16:37:56 2016
@@ -0,0 +1,111 @@
+<!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>import java.util.Arrays;<a name="line.19"></a>
+<span class="sourceLineNo">020</span><a name="line.20"></a>
+<span class="sourceLineNo">021</span>/**<a name="line.21"></a>
+<span class="sourceLineNo">022</span> * Creates a {@code long[]} from a {@code byte[]}.<a name="line.22"></a>
+<span class="sourceLineNo">023</span> *<a name="line.23"></a>
+<span class="sourceLineNo">024</span> * @since 1.0<a name="line.24"></a>
+<span class="sourceLineNo">025</span> */<a name="line.25"></a>
+<span class="sourceLineNo">026</span>public class ByteArray2LongArray implements SeedConverter<byte[], long[]> {<a name="line.26"></a>
+<span class="sourceLineNo">027</span> /** Number of bytes in a {@code long}. */<a name="line.27"></a>
+<span class="sourceLineNo">028</span> private static final int LONG_SIZE = 8;<a name="line.28"></a>
+<span class="sourceLineNo">029</span><a name="line.29"></a>
+<span class="sourceLineNo">030</span> /** {@inheritDoc} */<a name="line.30"></a>
+<span class="sourceLineNo">031</span> @Override<a name="line.31"></a>
+<span class="sourceLineNo">032</span> public long[] convert(byte[] seed) {<a name="line.32"></a>
+<span class="sourceLineNo">033</span> final byte[] tmp = seed.length % LONG_SIZE == 0 ?<a name="line.33"></a>
+<span class="sourceLineNo">034</span> seed :<a name="line.34"></a>
+<span class="sourceLineNo">035</span> Arrays.copyOf(seed, LONG_SIZE * ((seed.length + LONG_SIZE - 1) / LONG_SIZE));<a name="line.35"></a>
+<span class="sourceLineNo">036</span><a name="line.36"></a>
+<span class="sourceLineNo">037</span> return NumberFactory.makeLongArray(tmp);<a name="line.37"></a>
+<span class="sourceLineNo">038</span> }<a name="line.38"></a>
+<span class="sourceLineNo">039</span>}<a name="line.39"></a>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</pre>
+</div>
+</body>
+</html>
\ No newline at end of file
Propchange: websites/production/commons/content/proper/commons-rng/apidocs/src-html/org/apache/commons/rng/internal/util/ByteArray2LongArray.html
------------------------------------------------------------------------------
svn:eol-style = native
Modified: websites/production/commons/content/proper/commons-rng/apidocs/src-html/org/apache/commons/rng/internal/util/Int2Long.html
==============================================================================
--- websites/production/commons/content/proper/commons-rng/apidocs/src-html/org/apache/commons/rng/internal/util/Int2Long.html (original)
+++ websites/production/commons/content/proper/commons-rng/apidocs/src-html/org/apache/commons/rng/internal/util/Int2Long.html Fri Sep 2 16:37:56 2016
@@ -36,13 +36,7 @@
<span class="sourceLineNo">028</span> final int s = seed;<a name="line.28"></a>
<span class="sourceLineNo">029</span> return NumberFactory.makeLong(s, ~s);<a name="line.29"></a>
<span class="sourceLineNo">030</span> }<a name="line.30"></a>
-<span class="sourceLineNo">031</span><a name="line.31"></a>
-<span class="sourceLineNo">032</span> /** {@inheritDoc} */<a name="line.32"></a>
-<span class="sourceLineNo">033</span> @Override<a name="line.33"></a>
-<span class="sourceLineNo">034</span> public String toString() {<a name="line.34"></a>
-<span class="sourceLineNo">035</span> return getClass().getSimpleName();<a name="line.35"></a>
-<span class="sourceLineNo">036</span> }<a name="line.36"></a>
-<span class="sourceLineNo">037</span>}<a name="line.37"></a>
+<span class="sourceLineNo">031</span>}<a name="line.31"></a>
Modified: websites/production/commons/content/proper/commons-rng/apidocs/src-html/org/apache/commons/rng/internal/util/IntArray2Int.html
==============================================================================
--- websites/production/commons/content/proper/commons-rng/apidocs/src-html/org/apache/commons/rng/internal/util/IntArray2Int.html (original)
+++ websites/production/commons/content/proper/commons-rng/apidocs/src-html/org/apache/commons/rng/internal/util/IntArray2Int.html Fri Sep 2 16:37:56 2016
@@ -40,13 +40,7 @@
<span class="sourceLineNo">032</span><a name="line.32"></a>
<span class="sourceLineNo">033</span> return out;<a name="line.33"></a>
<span class="sourceLineNo">034</span> }<a name="line.34"></a>
-<span class="sourceLineNo">035</span><a name="line.35"></a>
-<span class="sourceLineNo">036</span> /** {@inheritDoc} */<a name="line.36"></a>
-<span class="sourceLineNo">037</span> @Override<a name="line.37"></a>
-<span class="sourceLineNo">038</span> public String toString() {<a name="line.38"></a>
-<span class="sourceLineNo">039</span> return getClass().getSimpleName();<a name="line.39"></a>
-<span class="sourceLineNo">040</span> }<a name="line.40"></a>
-<span class="sourceLineNo">041</span>}<a name="line.41"></a>
+<span class="sourceLineNo">035</span>}<a name="line.35"></a>
Modified: websites/production/commons/content/proper/commons-rng/apidocs/src-html/org/apache/commons/rng/internal/util/IntArray2LongArray.html
==============================================================================
--- websites/production/commons/content/proper/commons-rng/apidocs/src-html/org/apache/commons/rng/internal/util/IntArray2LongArray.html (original)
+++ websites/production/commons/content/proper/commons-rng/apidocs/src-html/org/apache/commons/rng/internal/util/IntArray2LongArray.html Fri Sep 2 16:37:56 2016
@@ -43,13 +43,7 @@
<span class="sourceLineNo">035</span><a name="line.35"></a>
<span class="sourceLineNo">036</span> return out;<a name="line.36"></a>
<span class="sourceLineNo">037</span> }<a name="line.37"></a>
-<span class="sourceLineNo">038</span><a name="line.38"></a>
-<span class="sourceLineNo">039</span> /** {@inheritDoc} */<a name="line.39"></a>
-<span class="sourceLineNo">040</span> @Override<a name="line.40"></a>
-<span class="sourceLineNo">041</span> public String toString() {<a name="line.41"></a>
-<span class="sourceLineNo">042</span> return getClass().getSimpleName();<a name="line.42"></a>
-<span class="sourceLineNo">043</span> }<a name="line.43"></a>
-<span class="sourceLineNo">044</span>}<a name="line.44"></a>
+<span class="sourceLineNo">038</span>}<a name="line.38"></a>
Modified: websites/production/commons/content/proper/commons-rng/apidocs/src-html/org/apache/commons/rng/internal/util/Long2Int.html
==============================================================================
--- websites/production/commons/content/proper/commons-rng/apidocs/src-html/org/apache/commons/rng/internal/util/Long2Int.html (original)
+++ websites/production/commons/content/proper/commons-rng/apidocs/src-html/org/apache/commons/rng/internal/util/Long2Int.html Fri Sep 2 16:37:56 2016
@@ -35,13 +35,7 @@
<span class="sourceLineNo">027</span> public Integer convert(Long seed) {<a name="line.27"></a>
<span class="sourceLineNo">028</span> return NumberFactory.makeInt(seed);<a name="line.28"></a>
<span class="sourceLineNo">029</span> }<a name="line.29"></a>
-<span class="sourceLineNo">030</span><a name="line.30"></a>
-<span class="sourceLineNo">031</span> /** {@inheritDoc} */<a name="line.31"></a>
-<span class="sourceLineNo">032</span> @Override<a name="line.32"></a>
-<span class="sourceLineNo">033</span> public String toString() {<a name="line.33"></a>
-<span class="sourceLineNo">034</span> return getClass().getSimpleName();<a name="line.34"></a>
-<span class="sourceLineNo">035</span> }<a name="line.35"></a>
-<span class="sourceLineNo">036</span>}<a name="line.36"></a>
+<span class="sourceLineNo">030</span>}<a name="line.30"></a>
Modified: websites/production/commons/content/proper/commons-rng/apidocs/src-html/org/apache/commons/rng/internal/util/Long2IntArray.html
==============================================================================
--- websites/production/commons/content/proper/commons-rng/apidocs/src-html/org/apache/commons/rng/internal/util/Long2IntArray.html (original)
+++ websites/production/commons/content/proper/commons-rng/apidocs/src-html/org/apache/commons/rng/internal/util/Long2IntArray.html Fri Sep 2 16:37:56 2016
@@ -49,13 +49,7 @@
<span class="sourceLineNo">041</span> public int[] convert(Long seed) {<a name="line.41"></a>
<span class="sourceLineNo">042</span> return SeedFactory.createIntArray(size, new SplitMix64(seed));<a name="line.42"></a>
<span class="sourceLineNo">043</span> }<a name="line.43"></a>
-<span class="sourceLineNo">044</span><a name="line.44"></a>
-<span class="sourceLineNo">045</span> /** {@inheritDoc} */<a name="line.45"></a>
-<span class="sourceLineNo">046</span> @Override<a name="line.46"></a>
-<span class="sourceLineNo">047</span> public String toString() {<a name="line.47"></a>
-<span class="sourceLineNo">048</span> return getClass().getSimpleName() + "(size=" + size + ")";<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>
+<span class="sourceLineNo">044</span>}<a name="line.44"></a>
Modified: websites/production/commons/content/proper/commons-rng/apidocs/src-html/org/apache/commons/rng/internal/util/Long2LongArray.html
==============================================================================
--- websites/production/commons/content/proper/commons-rng/apidocs/src-html/org/apache/commons/rng/internal/util/Long2LongArray.html (original)
+++ websites/production/commons/content/proper/commons-rng/apidocs/src-html/org/apache/commons/rng/internal/util/Long2LongArray.html Fri Sep 2 16:37:56 2016
@@ -55,13 +55,7 @@
<span class="sourceLineNo">047</span><a name="line.47"></a>
<span class="sourceLineNo">048</span> return out;<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>
-<span class="sourceLineNo">051</span> /** {@inheritDoc} */<a name="line.51"></a>
-<span class="sourceLineNo">052</span> @Override<a name="line.52"></a>
-<span class="sourceLineNo">053</span> public String toString() {<a name="line.53"></a>
-<span class="sourceLineNo">054</span> return getClass().getSimpleName() + "(size: " + size + ")";<a name="line.54"></a>
-<span class="sourceLineNo">055</span> }<a name="line.55"></a>
-<span class="sourceLineNo">056</span>}<a name="line.56"></a>
+<span class="sourceLineNo">050</span>}<a name="line.50"></a>
Modified: websites/production/commons/content/proper/commons-rng/apidocs/src-html/org/apache/commons/rng/internal/util/LongArray2IntArray.html
==============================================================================
--- websites/production/commons/content/proper/commons-rng/apidocs/src-html/org/apache/commons/rng/internal/util/LongArray2IntArray.html (original)
+++ websites/production/commons/content/proper/commons-rng/apidocs/src-html/org/apache/commons/rng/internal/util/LongArray2IntArray.html Fri Sep 2 16:37:56 2016
@@ -42,13 +42,7 @@
<span class="sourceLineNo">034</span><a name="line.34"></a>
<span class="sourceLineNo">035</span> return out;<a name="line.35"></a>
<span class="sourceLineNo">036</span> }<a name="line.36"></a>
-<span class="sourceLineNo">037</span><a name="line.37"></a>
-<span class="sourceLineNo">038</span> /** {@inheritDoc} */<a name="line.38"></a>
-<span class="sourceLineNo">039</span> @Override<a name="line.39"></a>
-<span class="sourceLineNo">040</span> public String toString() {<a name="line.40"></a>
-<span class="sourceLineNo">041</span> return getClass().getSimpleName();<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">037</span>}<a name="line.37"></a>
Modified: websites/production/commons/content/proper/commons-rng/apidocs/src-html/org/apache/commons/rng/internal/util/LongArray2Long.html
==============================================================================
--- websites/production/commons/content/proper/commons-rng/apidocs/src-html/org/apache/commons/rng/internal/util/LongArray2Long.html (original)
+++ websites/production/commons/content/proper/commons-rng/apidocs/src-html/org/apache/commons/rng/internal/util/LongArray2Long.html Fri Sep 2 16:37:56 2016
@@ -40,13 +40,7 @@
<span class="sourceLineNo">032</span><a name="line.32"></a>
<span class="sourceLineNo">033</span> return out;<a name="line.33"></a>
<span class="sourceLineNo">034</span> }<a name="line.34"></a>
-<span class="sourceLineNo">035</span><a name="line.35"></a>
-<span class="sourceLineNo">036</span> /** {@inheritDoc} */<a name="line.36"></a>
-<span class="sourceLineNo">037</span> @Override<a name="line.37"></a>
-<span class="sourceLineNo">038</span> public String toString() {<a name="line.38"></a>
-<span class="sourceLineNo">039</span> return getClass().getSimpleName();<a name="line.39"></a>
-<span class="sourceLineNo">040</span> }<a name="line.40"></a>
-<span class="sourceLineNo">041</span>}<a name="line.41"></a>
+<span class="sourceLineNo">035</span>}<a name="line.35"></a>
Modified: websites/production/commons/content/proper/commons-rng/apidocs/src-html/org/apache/commons/rng/internal/util/NoOpConverter.html
==============================================================================
--- websites/production/commons/content/proper/commons-rng/apidocs/src-html/org/apache/commons/rng/internal/util/NoOpConverter.html (original)
+++ websites/production/commons/content/proper/commons-rng/apidocs/src-html/org/apache/commons/rng/internal/util/NoOpConverter.html Fri Sep 2 16:37:56 2016
@@ -39,13 +39,7 @@
<span class="sourceLineNo">031</span> public SEED convert(SEED seed) {<a name="line.31"></a>
<span class="sourceLineNo">032</span> return seed;<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> /** {@inheritDoc} */<a name="line.35"></a>
-<span class="sourceLineNo">036</span> @Override<a name="line.36"></a>
-<span class="sourceLineNo">037</span> public String toString() {<a name="line.37"></a>
-<span class="sourceLineNo">038</span> return "Pass-through";<a name="line.38"></a>
-<span class="sourceLineNo">039</span> }<a name="line.39"></a>
-<span class="sourceLineNo">040</span>}<a name="line.40"></a>
+<span class="sourceLineNo">034</span>}<a name="line.34"></a>
Modified: websites/production/commons/content/proper/commons-rng/apidocs/src-html/org/apache/commons/rng/internal/util/SeedConverterComposer.html
==============================================================================
--- websites/production/commons/content/proper/commons-rng/apidocs/src-html/org/apache/commons/rng/internal/util/SeedConverterComposer.html (original)
+++ websites/production/commons/content/proper/commons-rng/apidocs/src-html/org/apache/commons/rng/internal/util/SeedConverterComposer.html Fri Sep 2 16:37:56 2016
@@ -55,13 +55,7 @@
<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>
-<span class="sourceLineNo">051</span> /** {@inheritDoc} */<a name="line.51"></a>
-<span class="sourceLineNo">052</span> @Override<a name="line.52"></a>
-<span class="sourceLineNo">053</span> public String toString() {<a name="line.53"></a>
-<span class="sourceLineNo">054</span> return getClass().getSimpleName() + " (" + second + " o " + first + ")";<a name="line.54"></a>
-<span class="sourceLineNo">055</span> }<a name="line.55"></a>
-<span class="sourceLineNo">056</span>}<a name="line.56"></a>
+<span class="sourceLineNo">050</span>}<a name="line.50"></a>
Modified: websites/production/commons/content/proper/commons-rng/changes-report.html
==============================================================================
--- websites/production/commons/content/proper/commons-rng/changes-report.html (original)
+++ websites/production/commons/content/proper/commons-rng/changes-report.html Fri Sep 2 16:37:56 2016
@@ -1,13 +1,13 @@
<!DOCTYPE html>
<!--
- | Generated by Apache Maven Doxia at 23 August 2016
+ | Generated by Apache Maven Doxia at 02 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="20160823" />
+ <meta name="Date-Revision-yyyymmdd" content="20160902" />
<meta http-equiv="Content-Language" content="en" />
<title>Rng – Commons Rng Release Notes</title>
@@ -40,7 +40,7 @@
<a class="brand" href="http://commons.apache.org/proper/commons-rng/">Apache Commons Rng ™</a>
<ul class="nav">
- <li id="publishDate">Last Published: 23 August 2016</li>
+ <li id="publishDate">Last Published: 02 September 2016</li>
<li class="divider">|</li> <li id="projectVersion">Version: 1.0-SNAPSHOT</li>
</ul>
<div class="pull-right"> <ul class="nav">
Modified: websites/production/commons/content/proper/commons-rng/checkstyle.html
==============================================================================
--- websites/production/commons/content/proper/commons-rng/checkstyle.html (original)
+++ websites/production/commons/content/proper/commons-rng/checkstyle.html Fri Sep 2 16:37:56 2016
@@ -1,13 +1,13 @@
<!DOCTYPE html>
<!--
- | Generated by Apache Maven Doxia at 23 August 2016
+ | Generated by Apache Maven Doxia at 02 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="20160823" />
+ <meta name="Date-Revision-yyyymmdd" content="20160902" />
<meta http-equiv="Content-Language" content="en" />
<title>Rng – Checkstyle Results</title>
@@ -40,7 +40,7 @@
<a class="brand" href="http://commons.apache.org/proper/commons-rng/">Apache Commons Rng ™</a>
<ul class="nav">
- <li id="publishDate">Last Published: 23 August 2016</li>
+ <li id="publishDate">Last Published: 02 September 2016</li>
<li class="divider">|</li> <li id="projectVersion">Version: 1.0-SNAPSHOT</li>
</ul>
<div class="pull-right"> <ul class="nav">
@@ -278,7 +278,7 @@
<th><img src="images/icon_warning_sml.gif" alt="" /> Warnings</th>
<th><img src="images/icon_error_sml.gif" alt="" /> Errors</th></tr>
<tr class="b">
-<td>42</td>
+<td>44</td>
<td>0</td>
<td>0</td>
<td>0</td></tr></table></div>
Modified: websites/production/commons/content/proper/commons-rng/checkstyle.rss
==============================================================================
--- websites/production/commons/content/proper/commons-rng/checkstyle.rss (original)
+++ websites/production/commons/content/proper/commons-rng/checkstyle.rss Fri Sep 2 16:37:56 2016
@@ -25,7 +25,7 @@ under the License.
<language>en-us</language>
<copyright>©2016 The Apache Software Foundation</copyright>
<item>
- <title>File: 42,
+ <title>File: 44,
Errors: 0,
Warnings: 0,
Infos: 0
@@ -60,7 +60,7 @@ under the License.
</tr>
<tr>
<td>
- <a href="http://commons.apache.org/proper/commons-rng//checkstyle.html#org.apache.commons.rng.internal.util.LongMixLong.java">org/apache/commons/rng/internal/util/LongMixLong.java</a>
+ <a href="http://commons.apache.org/proper/commons-rng//checkstyle.html#org.apache.commons.rng.internal.source64.MersenneTwister64.java">org/apache/commons/rng/internal/source64/MersenneTwister64.java</a>
</td>
<td>
0
@@ -88,7 +88,7 @@ under the License.
</tr>
<tr>
<td>
- <a href="http://commons.apache.org/proper/commons-rng//checkstyle.html#org.apache.commons.rng.internal.source64.MersenneTwister64.java">org/apache/commons/rng/internal/source64/MersenneTwister64.java</a>
+ <a href="http://commons.apache.org/proper/commons-rng//checkstyle.html#org.apache.commons.rng.internal.util.LongArray2IntArray.java">org/apache/commons/rng/internal/util/LongArray2IntArray.java</a>
</td>
<td>
0
@@ -102,7 +102,7 @@ under the License.
</tr>
<tr>
<td>
- <a href="http://commons.apache.org/proper/commons-rng//checkstyle.html#org.apache.commons.rng.internal.util.LongArray2IntArray.java">org/apache/commons/rng/internal/util/LongArray2IntArray.java</a>
+ <a href="http://commons.apache.org/proper/commons-rng//checkstyle.html#org.apache.commons.rng.internal.util.IntArray2LongArray.java">org/apache/commons/rng/internal/util/IntArray2LongArray.java</a>
</td>
<td>
0
@@ -116,7 +116,7 @@ under the License.
</tr>
<tr>
<td>
- <a href="http://commons.apache.org/proper/commons-rng//checkstyle.html#org.apache.commons.rng.internal.util.IntArray2LongArray.java">org/apache/commons/rng/internal/util/IntArray2LongArray.java</a>
+ <a href="http://commons.apache.org/proper/commons-rng//checkstyle.html#org.apache.commons.rng.internal.BaseProvider.java">org/apache/commons/rng/internal/BaseProvider.java</a>
</td>
<td>
0
@@ -130,7 +130,7 @@ under the License.
</tr>
<tr>
<td>
- <a href="http://commons.apache.org/proper/commons-rng//checkstyle.html#org.apache.commons.rng.internal.BaseProvider.java">org/apache/commons/rng/internal/BaseProvider.java</a>
+ <a href="http://commons.apache.org/proper/commons-rng//checkstyle.html#org.apache.commons.rng.internal.source64.TwoCmres.java">org/apache/commons/rng/internal/source64/TwoCmres.java</a>
</td>
<td>
0
@@ -158,7 +158,7 @@ under the License.
</tr>
<tr>
<td>
- <a href="http://commons.apache.org/proper/commons-rng//checkstyle.html#org.apache.commons.rng.internal.source64.TwoCmres.java">org/apache/commons/rng/internal/source64/TwoCmres.java</a>
+ <a href="http://commons.apache.org/proper/commons-rng//checkstyle.html#org.apache.commons.rng.internal.source32.Well1024a.java">org/apache/commons/rng/internal/source32/Well1024a.java</a>
</td>
<td>
0
@@ -172,7 +172,7 @@ under the License.
</tr>
<tr>
<td>
- <a href="http://commons.apache.org/proper/commons-rng//checkstyle.html#org.apache.commons.rng.internal.source32.Well1024a.java">org/apache/commons/rng/internal/source32/Well1024a.java</a>
+ <a href="http://commons.apache.org/proper/commons-rng//checkstyle.html#org.apache.commons.rng.internal.source32.package-info.java">org/apache/commons/rng/internal/source32/package-info.java</a>
</td>
<td>
0
@@ -186,7 +186,7 @@ under the License.
</tr>
<tr>
<td>
- <a href="http://commons.apache.org/proper/commons-rng//checkstyle.html#org.apache.commons.rng.internal.source32.package-info.java">org/apache/commons/rng/internal/source32/package-info.java</a>
+ <a href="http://commons.apache.org/proper/commons-rng//checkstyle.html#org.apache.commons.rng.internal.ProviderBuilder.java">org/apache/commons/rng/internal/ProviderBuilder.java</a>
</td>
<td>
0
@@ -200,7 +200,7 @@ under the License.
</tr>
<tr>
<td>
- <a href="http://commons.apache.org/proper/commons-rng//checkstyle.html#org.apache.commons.rng.internal.ProviderBuilder.java">org/apache/commons/rng/internal/ProviderBuilder.java</a>
+ <a href="http://commons.apache.org/proper/commons-rng//checkstyle.html#org.apache.commons.rng.internal.util.SeedConverter.java">org/apache/commons/rng/internal/util/SeedConverter.java</a>
</td>
<td>
0
@@ -214,7 +214,7 @@ under the License.
</tr>
<tr>
<td>
- <a href="http://commons.apache.org/proper/commons-rng//checkstyle.html#org.apache.commons.rng.internal.util.SeedConverter.java">org/apache/commons/rng/internal/util/SeedConverter.java</a>
+ <a href="http://commons.apache.org/proper/commons-rng//checkstyle.html#org.apache.commons.rng.internal.util.SeedFactory.java">org/apache/commons/rng/internal/util/SeedFactory.java</a>
</td>
<td>
0
@@ -242,7 +242,7 @@ under the License.
</tr>
<tr>
<td>
- <a href="http://commons.apache.org/proper/commons-rng//checkstyle.html#org.apache.commons.rng.internal.util.SeedFactory.java">org/apache/commons/rng/internal/util/SeedFactory.java</a>
+ <a href="http://commons.apache.org/proper/commons-rng//checkstyle.html#org.apache.commons.rng.UniformRandomProvider.java">org/apache/commons/rng/UniformRandomProvider.java</a>
</td>
<td>
0
@@ -270,7 +270,7 @@ under the License.
</tr>
<tr>
<td>
- <a href="http://commons.apache.org/proper/commons-rng//checkstyle.html#org.apache.commons.rng.UniformRandomProvider.java">org/apache/commons/rng/UniformRandomProvider.java</a>
+ <a href="http://commons.apache.org/proper/commons-rng//checkstyle.html#org.apache.commons.rng.internal.source32.Well19937a.java">org/apache/commons/rng/internal/source32/Well19937a.java</a>
</td>
<td>
0
@@ -284,7 +284,7 @@ under the License.
</tr>
<tr>
<td>
- <a href="http://commons.apache.org/proper/commons-rng//checkstyle.html#org.apache.commons.rng.internal.source32.Well19937a.java">org/apache/commons/rng/internal/source32/Well19937a.java</a>
+ <a href="http://commons.apache.org/proper/commons-rng//checkstyle.html#org.apache.commons.rng.internal.util.Long2IntArray.java">org/apache/commons/rng/internal/util/Long2IntArray.java</a>
</td>
<td>
0
@@ -298,7 +298,7 @@ under the License.
</tr>
<tr>
<td>
- <a href="http://commons.apache.org/proper/commons-rng//checkstyle.html#org.apache.commons.rng.internal.util.Long2IntArray.java">org/apache/commons/rng/internal/util/Long2IntArray.java</a>
+ <a href="http://commons.apache.org/proper/commons-rng//checkstyle.html#org.apache.commons.rng.internal.source32.KISSRandom.java">org/apache/commons/rng/internal/source32/KISSRandom.java</a>
</td>
<td>
0
@@ -312,7 +312,7 @@ under the License.
</tr>
<tr>
<td>
- <a href="http://commons.apache.org/proper/commons-rng//checkstyle.html#org.apache.commons.rng.internal.source32.ISAACRandom.java">org/apache/commons/rng/internal/source32/ISAACRandom.java</a>
+ <a href="http://commons.apache.org/proper/commons-rng//checkstyle.html#org.apache.commons.rng.internal.source32.Well44497b.java">org/apache/commons/rng/internal/source32/Well44497b.java</a>
</td>
<td>
0
@@ -326,7 +326,7 @@ under the License.
</tr>
<tr>
<td>
- <a href="http://commons.apache.org/proper/commons-rng//checkstyle.html#org.apache.commons.rng.internal.source32.Well44497b.java">org/apache/commons/rng/internal/source32/Well44497b.java</a>
+ <a href="http://commons.apache.org/proper/commons-rng//checkstyle.html#org.apache.commons.rng.internal.source32.ISAACRandom.java">org/apache/commons/rng/internal/source32/ISAACRandom.java</a>
</td>
<td>
0
@@ -424,7 +424,7 @@ under the License.
</tr>
<tr>
<td>
- <a href="http://commons.apache.org/proper/commons-rng//checkstyle.html#org.apache.commons.rng.internal.util.Long2Int.java">org/apache/commons/rng/internal/util/Long2Int.java</a>
+ <a href="http://commons.apache.org/proper/commons-rng//checkstyle.html#org.apache.commons.rng.internal.source32.MultiplyWithCarry256.java">org/apache/commons/rng/internal/source32/MultiplyWithCarry256.java</a>
</td>
<td>
0
@@ -438,7 +438,7 @@ under the License.
</tr>
<tr>
<td>
- <a href="http://commons.apache.org/proper/commons-rng//checkstyle.html#org.apache.commons.rng.internal.util.LongArray2Long.java">org/apache/commons/rng/internal/util/LongArray2Long.java</a>
+ <a href="http://commons.apache.org/proper/commons-rng//checkstyle.html#org.apache.commons.rng.internal.util.Long2Int.java">org/apache/commons/rng/internal/util/Long2Int.java</a>
</td>
<td>
0
@@ -452,7 +452,7 @@ under the License.
</tr>
<tr>
<td>
- <a href="http://commons.apache.org/proper/commons-rng//checkstyle.html#org.apache.commons.rng.internal.source32.IntProvider.java">org/apache/commons/rng/internal/source32/IntProvider.java</a>
+ <a href="http://commons.apache.org/proper/commons-rng//checkstyle.html#org.apache.commons.rng.internal.util.LongArray2Long.java">org/apache/commons/rng/internal/util/LongArray2Long.java</a>
</td>
<td>
0
@@ -480,7 +480,7 @@ under the License.
</tr>
<tr>
<td>
- <a href="http://commons.apache.org/proper/commons-rng//checkstyle.html#org.apache.commons.rng.internal.util.LongMixInt.java">org/apache/commons/rng/internal/util/LongMixInt.java</a>
+ <a href="http://commons.apache.org/proper/commons-rng//checkstyle.html#org.apache.commons.rng.internal.source32.IntProvider.java">org/apache/commons/rng/internal/source32/IntProvider.java</a>
</td>
<td>
0
@@ -522,6 +522,20 @@ under the License.
</tr>
<tr>
<td>
+ <a href="http://commons.apache.org/proper/commons-rng//checkstyle.html#org.apache.commons.rng.internal.util.ByteArray2IntArray.java">org/apache/commons/rng/internal/util/ByteArray2IntArray.java</a>
+ </td>
+ <td>
+ 0
+ </td>
+ <td>
+ 0
+ </td>
+ <td>
+ 0
+ </td>
+ </tr>
+ <tr>
+ <td>
<a href="http://commons.apache.org/proper/commons-rng//checkstyle.html#org.apache.commons.rng.internal.source64.XorShift1024Star.java">org/apache/commons/rng/internal/source64/XorShift1024Star.java</a>
</td>
<td>
@@ -536,7 +550,7 @@ under the License.
</tr>
<tr>
<td>
- <a href="http://commons.apache.org/proper/commons-rng//checkstyle.html#org.apache.commons.rng.internal.util.SeedConverterComposer.java">org/apache/commons/rng/internal/util/SeedConverterComposer.java</a>
+ <a href="http://commons.apache.org/proper/commons-rng//checkstyle.html#org.apache.commons.rng.internal.util.ByteArray2LongArray.java">org/apache/commons/rng/internal/util/ByteArray2LongArray.java</a>
</td>
<td>
0
@@ -564,6 +578,20 @@ under the License.
</tr>
<tr>
<td>
+ <a href="http://commons.apache.org/proper/commons-rng//checkstyle.html#org.apache.commons.rng.internal.util.SeedConverterComposer.java">org/apache/commons/rng/internal/util/SeedConverterComposer.java</a>
+ </td>
+ <td>
+ 0
+ </td>
+ <td>
+ 0
+ </td>
+ <td>
+ 0
+ </td>
+ </tr>
+ <tr>
+ <td>
<a href="http://commons.apache.org/proper/commons-rng//checkstyle.html#org.apache.commons.rng.internal.util.NoOpConverter.java">org/apache/commons/rng/internal/util/NoOpConverter.java</a>
</td>
<td>
@@ -592,7 +620,7 @@ under the License.
</tr>
<tr>
<td>
- <a href="http://commons.apache.org/proper/commons-rng//checkstyle.html#org.apache.commons.rng.internal.source32.Well512a.java">org/apache/commons/rng/internal/source32/Well512a.java</a>
+ <a href="http://commons.apache.org/proper/commons-rng//checkstyle.html#org.apache.commons.rng.internal.source64.RandomLongSource.java">org/apache/commons/rng/internal/source64/RandomLongSource.java</a>
</td>
<td>
0
@@ -606,7 +634,7 @@ under the License.
</tr>
<tr>
<td>
- <a href="http://commons.apache.org/proper/commons-rng//checkstyle.html#org.apache.commons.rng.internal.source64.RandomLongSource.java">org/apache/commons/rng/internal/source64/RandomLongSource.java</a>
+ <a href="http://commons.apache.org/proper/commons-rng//checkstyle.html#org.apache.commons.rng.internal.source32.Well512a.java">org/apache/commons/rng/internal/source32/Well512a.java</a>
</td>
<td>
0
Modified: websites/production/commons/content/proper/commons-rng/cpd.html
==============================================================================
--- websites/production/commons/content/proper/commons-rng/cpd.html (original)
+++ websites/production/commons/content/proper/commons-rng/cpd.html Fri Sep 2 16:37:56 2016
@@ -1,13 +1,13 @@
<!DOCTYPE html>
<!--
- | Generated by Apache Maven Doxia at 23 August 2016
+ | Generated by Apache Maven Doxia at 02 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="20160823" />
+ <meta name="Date-Revision-yyyymmdd" content="20160902" />
<meta http-equiv="Content-Language" content="en" />
<title>Rng – CPD Results</title>
@@ -40,7 +40,7 @@
<a class="brand" href="http://commons.apache.org/proper/commons-rng/">Apache Commons Rng ™</a>
<ul class="nav">
- <li id="publishDate">Last Published: 23 August 2016</li>
+ <li id="publishDate">Last Published: 02 September 2016</li>
<li class="divider">|</li> <li id="projectVersion">Version: 1.0-SNAPSHOT</li>
</ul>
<div class="pull-right"> <ul class="nav">
@@ -271,7 +271,43 @@
<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>
+<table border="0" class="bodyTable">
+<tr class="a">
+<th>File</th>
+<th>Line</th></tr>
+<tr class="b">
+<td>org/apache/commons/rng/internal/source32/KISSRandom.java</td>
+<td><a href="./xref/org/apache/commons/rng/internal/source32/KISSRandom.html#L70">70</a></td></tr>
+<tr class="a">
+<td>org/apache/commons/rng/internal/source32/MultiplyWithCarry256.java</td>
+<td><a href="./xref/org/apache/commons/rng/internal/source32/MultiplyWithCarry256.html#L79">79</a></td></tr>
+<tr class="b"><td colspan='2'>
+<div>
+<pre> jcong = tmp[3];
+ }
+
+ /**
+ * Seeds the RNG.
+ *
+ * @param seed Seed.
+ */
+ private void setSeedInternal(int[] seed) {
+ // Reset the whole state of this RNG (i.e. the 4 state variables).
+ // Seeding procedure is not part of the reference code.
+
+ final int[] tmp = new int[SEED_SIZE];
+ System.arraycopy(seed, 0, tmp, 0, Math.min(seed.length, tmp.length));
+
+ if (seed.length < SEED_SIZE) {
+ for (int i = seed.length; i < SEED_SIZE; i++) {
+ tmp[i] = 26021969 * i;
+ }
+ for (int i = SEED_SIZE - 1; i > seed.length; i--) {
+ tmp[i] ^= tmp[SEED_SIZE - i - 1];
+ }
+
+ tmp[seed.length] = 0x80000000; // Ensuring non-zero initial array.
+ }</pre></div></td></tr></table></div>
</td>
</tr>
</table>
Modified: websites/production/commons/content/proper/commons-rng/dependencies.html
==============================================================================
--- websites/production/commons/content/proper/commons-rng/dependencies.html (original)
+++ websites/production/commons/content/proper/commons-rng/dependencies.html Fri Sep 2 16:37:56 2016
@@ -1,13 +1,13 @@
<!DOCTYPE html>
<!--
- | Generated by Apache Maven Doxia at 23 August 2016
+ | Generated by Apache Maven Doxia at 02 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="20160823" />
+ <meta name="Date-Revision-yyyymmdd" content="20160902" />
<meta http-equiv="Content-Language" content="en" />
<title>Rng – Project Dependencies</title>
@@ -40,7 +40,7 @@
<a class="brand" href="http://commons.apache.org/proper/commons-rng/">Apache Commons Rng ™</a>
<ul class="nav">
- <li id="publishDate">Last Published: 23 August 2016</li>
+ <li id="publishDate">Last Published: 02 September 2016</li>
<li class="divider">|</li> <li id="projectVersion">Version: 1.0-SNAPSHOT</li>
</ul>
<div class="pull-right"> <ul class="nav">
Modified: websites/production/commons/content/proper/commons-rng/dependency-convergence.html
==============================================================================
--- websites/production/commons/content/proper/commons-rng/dependency-convergence.html (original)
+++ websites/production/commons/content/proper/commons-rng/dependency-convergence.html Fri Sep 2 16:37:56 2016
@@ -1,13 +1,13 @@
<!DOCTYPE html>
<!--
- | Generated by Apache Maven Doxia at 23 August 2016
+ | Generated by Apache Maven Doxia at 02 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="20160823" />
+ <meta name="Date-Revision-yyyymmdd" content="20160902" />
<meta http-equiv="Content-Language" content="en" />
<title>Rng – Dependency Convergence</title>
@@ -40,7 +40,7 @@
<a class="brand" href="http://commons.apache.org/proper/commons-rng/">Apache Commons Rng ™</a>
<ul class="nav">
- <li id="publishDate">Last Published: 23 August 2016</li>
+ <li id="publishDate">Last Published: 02 September 2016</li>
<li class="divider">|</li> <li id="projectVersion">Version: 1.0-SNAPSHOT</li>
</ul>
<div class="pull-right"> <ul class="nav">
Modified: websites/production/commons/content/proper/commons-rng/dependency-info.html
==============================================================================
--- websites/production/commons/content/proper/commons-rng/dependency-info.html (original)
+++ websites/production/commons/content/proper/commons-rng/dependency-info.html Fri Sep 2 16:37:56 2016
@@ -1,13 +1,13 @@
<!DOCTYPE html>
<!--
- | Generated by Apache Maven Doxia at 23 August 2016
+ | Generated by Apache Maven Doxia at 02 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="20160823" />
+ <meta name="Date-Revision-yyyymmdd" content="20160902" />
<meta http-equiv="Content-Language" content="en" />
<title>Rng – Dependency Information</title>
@@ -40,7 +40,7 @@
<a class="brand" href="http://commons.apache.org/proper/commons-rng/">Apache Commons Rng ™</a>
<ul class="nav">
- <li id="publishDate">Last Published: 23 August 2016</li>
+ <li id="publishDate">Last Published: 02 September 2016</li>
<li class="divider">|</li> <li id="projectVersion">Version: 1.0-SNAPSHOT</li>
</ul>
<div class="pull-right"> <ul class="nav">
Modified: websites/production/commons/content/proper/commons-rng/developers.html
==============================================================================
--- websites/production/commons/content/proper/commons-rng/developers.html (original)
+++ websites/production/commons/content/proper/commons-rng/developers.html Fri Sep 2 16:37:56 2016
@@ -1,13 +1,13 @@
<!DOCTYPE html>
<!--
- | Generated by Apache Maven Doxia at 23 August 2016
+ | Generated by Apache Maven Doxia at 30 August 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="20160823" />
+ <meta name="Date-Revision-yyyymmdd" content="20160830" />
<meta http-equiv="Content-Language" content="en" />
<title>Rng – Developers Guide</title>
@@ -40,7 +40,7 @@
<a class="brand" href="http://commons.apache.org/proper/commons-rng/">Apache Commons Rng ™</a>
<ul class="nav">
- <li id="publishDate">Last Published: 23 August 2016</li>
+ <li id="publishDate">Last Published: 30 August 2016</li>
<li class="divider">|</li> <li id="projectVersion">Version: 1.0-SNAPSHOT</li>
</ul>
<div class="pull-right"> <ul class="nav">
Modified: websites/production/commons/content/proper/commons-rng/distribution-management.html
==============================================================================
--- websites/production/commons/content/proper/commons-rng/distribution-management.html (original)
+++ websites/production/commons/content/proper/commons-rng/distribution-management.html Fri Sep 2 16:37:56 2016
@@ -1,13 +1,13 @@
<!DOCTYPE html>
<!--
- | Generated by Apache Maven Doxia at 23 August 2016
+ | Generated by Apache Maven Doxia at 02 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="20160823" />
+ <meta name="Date-Revision-yyyymmdd" content="20160902" />
<meta http-equiv="Content-Language" content="en" />
<title>Rng – Project Distribution Management</title>
@@ -40,7 +40,7 @@
<a class="brand" href="http://commons.apache.org/proper/commons-rng/">Apache Commons Rng ™</a>
<ul class="nav">
- <li id="publishDate">Last Published: 23 August 2016</li>
+ <li id="publishDate">Last Published: 02 September 2016</li>
<li class="divider">|</li> <li id="projectVersion">Version: 1.0-SNAPSHOT</li>
</ul>
<div class="pull-right"> <ul class="nav">
Modified: websites/production/commons/content/proper/commons-rng/download_rng.html
==============================================================================
--- websites/production/commons/content/proper/commons-rng/download_rng.html (original)
+++ websites/production/commons/content/proper/commons-rng/download_rng.html Fri Sep 2 16:37:56 2016
@@ -1,6 +1,6 @@
<!DOCTYPE html>
<!--
- | Generated by Apache Maven Doxia at 23 August 2016
+ | Generated by Apache Maven Doxia at 30 August 2016
| Rendered using Apache Maven Fluido Skin 1.3.0
-->
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
@@ -8,7 +8,7 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="author" content="Apache Commons Documentation Team" />
- <meta name="Date-Revision-yyyymmdd" content="20160823" />
+ <meta name="Date-Revision-yyyymmdd" content="20160830" />
<meta http-equiv="Content-Language" content="en" />
<title>Rng – Download Apache Commons Rng</title>
@@ -41,7 +41,7 @@
<a class="brand" href="http://commons.apache.org/proper/commons-rng/">Apache Commons Rng ™</a>
<ul class="nav">
- <li id="publishDate">Last Published: 23 August 2016</li>
+ <li id="publishDate">Last Published: 30 August 2016</li>
<li class="divider">|</li> <li id="projectVersion">Version: 1.0-SNAPSHOT</li>
</ul>
<div class="pull-right"> <ul class="nav">
Modified: websites/production/commons/content/proper/commons-rng/findbugs.html
==============================================================================
--- websites/production/commons/content/proper/commons-rng/findbugs.html (original)
+++ websites/production/commons/content/proper/commons-rng/findbugs.html Fri Sep 2 16:37:56 2016
@@ -1,13 +1,13 @@
<!DOCTYPE html>
<!--
- | Generated by Apache Maven Doxia at 23 August 2016
+ | Generated by Apache Maven Doxia at 02 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="20160823" />
+ <meta name="Date-Revision-yyyymmdd" content="20160902" />
<meta http-equiv="Content-Language" content="en" />
<title>Rng – FindBugs Bug Detector Report</title>
@@ -40,7 +40,7 @@
<a class="brand" href="http://commons.apache.org/proper/commons-rng/">Apache Commons Rng ™</a>
<ul class="nav">
- <li id="publishDate">Last Published: 23 August 2016</li>
+ <li id="publishDate">Last Published: 02 September 2016</li>
<li class="divider">|</li> <li id="projectVersion">Version: 1.0-SNAPSHOT</li>
</ul>
<div class="pull-right"> <ul class="nav">
@@ -281,7 +281,7 @@
<th>Errors</th>
<th>Missing Classes</th></tr>
<tr class="b">
-<td>42</td>
+<td>44</td>
<td>0</td>
<td>0</td>
<td>0</td></tr></table></div>
Modified: websites/production/commons/content/proper/commons-rng/index.html
==============================================================================
--- websites/production/commons/content/proper/commons-rng/index.html (original)
+++ websites/production/commons/content/proper/commons-rng/index.html Fri Sep 2 16:37:56 2016
@@ -1,13 +1,13 @@
<!DOCTYPE html>
<!--
- | Generated by Apache Maven Doxia at 23 August 2016
+ | Generated by Apache Maven Doxia at 30 August 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="20160823" />
+ <meta name="Date-Revision-yyyymmdd" content="20160830" />
<meta http-equiv="Content-Language" content="en" />
<title>Rng – Commons Rng</title>
@@ -40,7 +40,7 @@
<a class="brand" href="http://commons.apache.org/proper/commons-rng/">Apache Commons Rng ™</a>
<ul class="nav">
- <li id="publishDate">Last Published: 23 August 2016</li>
+ <li id="publishDate">Last Published: 30 August 2016</li>
<li class="divider">|</li> <li id="projectVersion">Version: 1.0-SNAPSHOT</li>
</ul>
<div class="pull-right"> <ul class="nav">
Modified: websites/production/commons/content/proper/commons-rng/integration.html
==============================================================================
--- websites/production/commons/content/proper/commons-rng/integration.html (original)
+++ websites/production/commons/content/proper/commons-rng/integration.html Fri Sep 2 16:37:56 2016
@@ -1,13 +1,13 @@
<!DOCTYPE html>
<!--
- | Generated by Apache Maven Doxia at 23 August 2016
+ | Generated by Apache Maven Doxia at 02 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="20160823" />
+ <meta name="Date-Revision-yyyymmdd" content="20160902" />
<meta http-equiv="Content-Language" content="en" />
<title>Rng – CI Management</title>
@@ -40,7 +40,7 @@
<a class="brand" href="http://commons.apache.org/proper/commons-rng/">Apache Commons Rng ™</a>
<ul class="nav">
- <li id="publishDate">Last Published: 23 August 2016</li>
+ <li id="publishDate">Last Published: 02 September 2016</li>
<li class="divider">|</li> <li id="projectVersion">Version: 1.0-SNAPSHOT</li>
</ul>
<div class="pull-right"> <ul class="nav">