commons-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From er...@apache.org
Subject svn commit: r996528 [13/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...
Date Fri, 02 Sep 2016 16:37:59 GMT
Modified: websites/production/commons/content/proper/commons-rng/jacoco/org.apache.commons.rng.internal.source32/AbstractWell$IndexTable.html
==============================================================================
--- websites/production/commons/content/proper/commons-rng/jacoco/org.apache.commons.rng.internal.source32/AbstractWell$IndexTable.html (original)
+++ websites/production/commons/content/proper/commons-rng/jacoco/org.apache.commons.rng.internal.source32/AbstractWell$IndexTable.html Fri Sep  2 16:37:56 2016
@@ -1 +1 @@
-<?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>AbstractWell.IndexTable</title><script type="text/javascript" src="../.resources/sort.js"></script></head><body onload="initialSort(['breadcrumb'])"><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.html" class="el_package">org.apache.commons.rng.internal.source32</a> &gt; <span class="el_class">AbstractWell.IndexTable</span></div><h1>AbstractWell.IndexTable</h1><table class="coverage" cellspacing="0" id="
 coveragetable"><thead><tr><td class="sortable" id="a" onclick="toggleSort(this)">Element</td><td class="down sortable bar" id="b" onclick="toggleSort(this)">Missed Instructions</td><td class="sortable ctr2" id="c" onclick="toggleSort(this)">Cov.</td><td class="sortable bar" id="d" onclick="toggleSort(this)">Missed Branches</td><td class="sortable ctr2" id="e" onclick="toggleSort(this)">Cov.</td><td class="sortable ctr1" id="f" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="g" onclick="toggleSort(this)">Cxty</td><td class="sortable ctr1" id="h" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="i" onclick="toggleSort(this)">Lines</td><td class="sortable ctr1" id="j" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="k" onclick="toggleSort(this)">Methods</td></tr></thead><tfoot><tr><td>Total</td><td class="bar">0 of 107</td><td class="ctr2">100%</td><td class="bar">0 of 2</td><td class="ctr2">100%</td><td class="ctr1">0</td><td cl
 ass="ctr2">7</td><td class="ctr1">0</td><td class="ctr2">19</td><td class="ctr1">0</td><td class="ctr2">6</td></tr></tfoot><tbody><tr><td id="a0"><a href="AbstractWell.java.html#L139" class="el_method">AbstractWell.IndexTable(int, int, int, int)</a></td><td class="bar" id="b0"><img src="../.resources/greenbar.gif" width="120" height="10" title="82" alt="82"/></td><td class="ctr2" id="c0">100%</td><td class="bar" id="d0"><img src="../.resources/greenbar.gif" width="120" height="10" title="2" alt="2"/></td><td class="ctr2" id="e0">100%</td><td class="ctr1" id="f0">0</td><td class="ctr2" id="g0">2</td><td class="ctr1" id="h0">0</td><td class="ctr2" id="i0">14</td><td class="ctr1" id="j0">0</td><td class="ctr2" id="k0">1</td></tr><tr><td id="a4"><a href="AbstractWell.java.html#L165" class="el_method">getIndexPred(int)</a></td><td class="bar" id="b1"><img src="../.resources/greenbar.gif" width="7" height="10" title="5" alt="5"/></td><td class="ctr2" id="c1">100%</td><td class="bar" id="d
 1"/><td class="ctr2" id="e1">n/a</td><td class="ctr1" id="f1">0</td><td class="ctr2" id="g1">1</td><td class="ctr1" id="h1">0</td><td class="ctr2" id="i1">1</td><td class="ctr1" id="j1">0</td><td class="ctr2" id="k1">1</td></tr><tr><td id="a5"><a href="AbstractWell.java.html#L174" class="el_method">getIndexPred2(int)</a></td><td class="bar" id="b2"><img src="../.resources/greenbar.gif" width="7" height="10" title="5" alt="5"/></td><td class="ctr2" id="c2">100%</td><td class="bar" id="d2"/><td class="ctr2" id="e2">n/a</td><td class="ctr1" id="f2">0</td><td class="ctr2" id="g2">1</td><td class="ctr1" id="h2">0</td><td class="ctr2" id="i2">1</td><td class="ctr1" id="j2">0</td><td class="ctr2" id="k2">1</td></tr><tr><td id="a1"><a href="AbstractWell.java.html#L183" class="el_method">getIndexM1(int)</a></td><td class="bar" id="b3"><img src="../.resources/greenbar.gif" width="7" height="10" title="5" alt="5"/></td><td class="ctr2" id="c3">100%</td><td class="bar" id="d3"/><td class="ctr2"
  id="e3">n/a</td><td class="ctr1" id="f3">0</td><td class="ctr2" id="g3">1</td><td class="ctr1" id="h3">0</td><td class="ctr2" id="i3">1</td><td class="ctr1" id="j3">0</td><td class="ctr2" id="k3">1</td></tr><tr><td id="a2"><a href="AbstractWell.java.html#L192" class="el_method">getIndexM2(int)</a></td><td class="bar" id="b4"><img src="../.resources/greenbar.gif" width="7" height="10" title="5" alt="5"/></td><td class="ctr2" id="c4">100%</td><td class="bar" id="d4"/><td class="ctr2" id="e4">n/a</td><td class="ctr1" id="f4">0</td><td class="ctr2" id="g4">1</td><td class="ctr1" id="h4">0</td><td class="ctr2" id="i4">1</td><td class="ctr1" id="j4">0</td><td class="ctr2" id="k4">1</td></tr><tr><td id="a3"><a href="AbstractWell.java.html#L201" class="el_method">getIndexM3(int)</a></td><td class="bar" id="b5"><img src="../.resources/greenbar.gif" width="7" height="10" title="5" alt="5"/></td><td class="ctr2" id="c5">100%</td><td class="bar" id="d5"/><td class="ctr2" id="e5">n/a</td><td cl
 ass="ctr1" id="f5">0</td><td class="ctr2" id="g5">1</td><td class="ctr1" id="h5">0</td><td class="ctr2" id="i5">1</td><td class="ctr1" id="j5">0</td><td class="ctr2" id="k5">1</td></tr></tbody></table><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
+<?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>AbstractWell.IndexTable</title><script type="text/javascript" src="../.resources/sort.js"></script></head><body onload="initialSort(['breadcrumb'])"><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.html" class="el_package">org.apache.commons.rng.internal.source32</a> &gt; <span class="el_class">AbstractWell.IndexTable</span></div><h1>AbstractWell.IndexTable</h1><table class="coverage" cellspacing="0" id="
 coveragetable"><thead><tr><td class="sortable" id="a" onclick="toggleSort(this)">Element</td><td class="down sortable bar" id="b" onclick="toggleSort(this)">Missed Instructions</td><td class="sortable ctr2" id="c" onclick="toggleSort(this)">Cov.</td><td class="sortable bar" id="d" onclick="toggleSort(this)">Missed Branches</td><td class="sortable ctr2" id="e" onclick="toggleSort(this)">Cov.</td><td class="sortable ctr1" id="f" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="g" onclick="toggleSort(this)">Cxty</td><td class="sortable ctr1" id="h" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="i" onclick="toggleSort(this)">Lines</td><td class="sortable ctr1" id="j" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="k" onclick="toggleSort(this)">Methods</td></tr></thead><tfoot><tr><td>Total</td><td class="bar">0 of 107</td><td class="ctr2">100%</td><td class="bar">0 of 2</td><td class="ctr2">100%</td><td class="ctr1">0</td><td cl
 ass="ctr2">7</td><td class="ctr1">0</td><td class="ctr2">19</td><td class="ctr1">0</td><td class="ctr2">6</td></tr></tfoot><tbody><tr><td id="a0"><a href="AbstractWell.java.html#L136" class="el_method">AbstractWell.IndexTable(int, int, int, int)</a></td><td class="bar" id="b0"><img src="../.resources/greenbar.gif" width="120" height="10" title="82" alt="82"/></td><td class="ctr2" id="c0">100%</td><td class="bar" id="d0"><img src="../.resources/greenbar.gif" width="120" height="10" title="2" alt="2"/></td><td class="ctr2" id="e0">100%</td><td class="ctr1" id="f0">0</td><td class="ctr2" id="g0">2</td><td class="ctr1" id="h0">0</td><td class="ctr2" id="i0">14</td><td class="ctr1" id="j0">0</td><td class="ctr2" id="k0">1</td></tr><tr><td id="a4"><a href="AbstractWell.java.html#L162" class="el_method">getIndexPred(int)</a></td><td class="bar" id="b1"><img src="../.resources/greenbar.gif" width="7" height="10" title="5" alt="5"/></td><td class="ctr2" id="c1">100%</td><td class="bar" id="d
 1"/><td class="ctr2" id="e1">n/a</td><td class="ctr1" id="f1">0</td><td class="ctr2" id="g1">1</td><td class="ctr1" id="h1">0</td><td class="ctr2" id="i1">1</td><td class="ctr1" id="j1">0</td><td class="ctr2" id="k1">1</td></tr><tr><td id="a5"><a href="AbstractWell.java.html#L171" class="el_method">getIndexPred2(int)</a></td><td class="bar" id="b2"><img src="../.resources/greenbar.gif" width="7" height="10" title="5" alt="5"/></td><td class="ctr2" id="c2">100%</td><td class="bar" id="d2"/><td class="ctr2" id="e2">n/a</td><td class="ctr1" id="f2">0</td><td class="ctr2" id="g2">1</td><td class="ctr1" id="h2">0</td><td class="ctr2" id="i2">1</td><td class="ctr1" id="j2">0</td><td class="ctr2" id="k2">1</td></tr><tr><td id="a1"><a href="AbstractWell.java.html#L180" class="el_method">getIndexM1(int)</a></td><td class="bar" id="b3"><img src="../.resources/greenbar.gif" width="7" height="10" title="5" alt="5"/></td><td class="ctr2" id="c3">100%</td><td class="bar" id="d3"/><td class="ctr2"
  id="e3">n/a</td><td class="ctr1" id="f3">0</td><td class="ctr2" id="g3">1</td><td class="ctr1" id="h3">0</td><td class="ctr2" id="i3">1</td><td class="ctr1" id="j3">0</td><td class="ctr2" id="k3">1</td></tr><tr><td id="a2"><a href="AbstractWell.java.html#L189" class="el_method">getIndexM2(int)</a></td><td class="bar" id="b4"><img src="../.resources/greenbar.gif" width="7" height="10" title="5" alt="5"/></td><td class="ctr2" id="c4">100%</td><td class="bar" id="d4"/><td class="ctr2" id="e4">n/a</td><td class="ctr1" id="f4">0</td><td class="ctr2" id="g4">1</td><td class="ctr1" id="h4">0</td><td class="ctr2" id="i4">1</td><td class="ctr1" id="j4">0</td><td class="ctr2" id="k4">1</td></tr><tr><td id="a3"><a href="AbstractWell.java.html#L198" class="el_method">getIndexM3(int)</a></td><td class="bar" id="b5"><img src="../.resources/greenbar.gif" width="7" height="10" title="5" alt="5"/></td><td class="ctr2" id="c5">100%</td><td class="bar" id="d5"/><td class="ctr2" id="e5">n/a</td><td cl
 ass="ctr1" id="f5">0</td><td class="ctr2" id="g5">1</td><td class="ctr1" id="h5">0</td><td class="ctr2" id="i5">1</td><td class="ctr1" id="j5">0</td><td class="ctr2" id="k5">1</td></tr></tbody></table><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

Modified: websites/production/commons/content/proper/commons-rng/jacoco/org.apache.commons.rng.internal.source32/AbstractWell.html
==============================================================================
--- websites/production/commons/content/proper/commons-rng/jacoco/org.apache.commons.rng.internal.source32/AbstractWell.html (original)
+++ websites/production/commons/content/proper/commons-rng/jacoco/org.apache.commons.rng.internal.source32/AbstractWell.html Fri Sep  2 16:37:56 2016
@@ -1 +1 @@
-<?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>AbstractWell</title><script type="text/javascript" src="../.resources/sort.js"></script></head><body onload="initialSort(['breadcrumb'])"><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.html" class="el_package">org.apache.commons.rng.internal.source32</a> &gt; <span class="el_class">AbstractWell</span></div><h1>AbstractWell</h1><table class="coverage" cellspacing="0" id="coveragetable"><thead><tr><td cla
 ss="sortable" id="a" onclick="toggleSort(this)">Element</td><td class="down sortable bar" id="b" onclick="toggleSort(this)">Missed Instructions</td><td class="sortable ctr2" id="c" onclick="toggleSort(this)">Cov.</td><td class="sortable bar" id="d" onclick="toggleSort(this)">Missed Branches</td><td class="sortable ctr2" id="e" onclick="toggleSort(this)">Cov.</td><td class="sortable ctr1" id="f" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="g" onclick="toggleSort(this)">Cxty</td><td class="sortable ctr1" id="h" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="i" onclick="toggleSort(this)">Lines</td><td class="sortable ctr1" id="j" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="k" onclick="toggleSort(this)">Methods</td></tr></thead><tfoot><tr><td>Total</td><td class="bar">0 of 135</td><td class="ctr2">100%</td><td class="bar">0 of 4</td><td class="ctr2">100%</td><td class="ctr1">0</td><td class="ctr2">7</td><td class="ctr1"
 >0</td><td class="ctr2">24</td><td class="ctr1">0</td><td class="ctr2">5</td></tr></tfoot><tbody><tr><td id="a3"><a href="AbstractWell.java.html#L90" class="el_method">setSeedInternal(int[])</a></td><td class="bar" id="b0"><img src="../.resources/greenbar.gif" width="120" height="10" title="58" alt="58"/></td><td class="ctr2" id="c0">100%</td><td class="bar" id="d0"><img src="../.resources/greenbar.gif" width="120" height="10" title="4" alt="4"/></td><td class="ctr2" id="e0">100%</td><td class="ctr1" id="f0">0</td><td class="ctr2" id="g0">3</td><td class="ctr1" id="h0">0</td><td class="ctr2" id="i0">7</td><td class="ctr1" id="j0">0</td><td class="ctr2" id="k0">1</td></tr><tr><td id="a4"><a href="AbstractWell.java.html#L74" class="el_method">setStateInternal(byte[])</a></td><td class="bar" id="b1"><img src="../.resources/greenbar.gif" width="62" height="10" title="30" alt="30"/></td><td class="ctr2" id="c1">100%</td><td class="bar" id="d1"/><td class="ctr2" id="e1">n/a</td><td class=
 "ctr1" id="f1">0</td><td class="ctr2" id="g1">1</td><td class="ctr1" id="h1">0</td><td class="ctr2" id="i2">5</td><td class="ctr1" id="j1">0</td><td class="ctr2" id="k1">1</td></tr><tr><td id="a2"><a href="AbstractWell.java.html#L65" class="el_method">getStateInternal()</a></td><td class="bar" id="b2"><img src="../.resources/greenbar.gif" width="39" height="10" title="19" alt="19"/></td><td class="ctr2" id="c2">100%</td><td class="bar" id="d2"/><td class="ctr2" id="e2">n/a</td><td class="ctr1" id="f2">0</td><td class="ctr2" id="g2">1</td><td class="ctr1" id="h2">0</td><td class="ctr2" id="i3">3</td><td class="ctr1" id="j2">0</td><td class="ctr2" id="k2">1</td></tr><tr><td id="a0"><a href="AbstractWell.java.html#L53" class="el_method">AbstractWell(int, int[])</a></td><td class="bar" id="b3"><img src="../.resources/greenbar.gif" width="33" height="10" title="16" alt="16"/></td><td class="ctr2" id="c3">100%</td><td class="bar" id="d3"/><td class="ctr2" id="e3">n/a</td><td class="ctr1" 
 id="f3">0</td><td class="ctr2" id="g3">1</td><td class="ctr1" id="h3">0</td><td class="ctr2" id="i1">6</td><td class="ctr1" id="j3">0</td><td class="ctr2" id="k3">1</td></tr><tr><td id="a1"><a href="AbstractWell.java.html#L112" class="el_method">calculateBlockCount(int)</a></td><td class="bar" id="b4"><img src="../.resources/greenbar.gif" width="24" height="10" title="12" alt="12"/></td><td class="ctr2" id="c4">100%</td><td class="bar" id="d4"/><td class="ctr2" id="e4">n/a</td><td class="ctr1" id="f4">0</td><td class="ctr2" id="g4">1</td><td class="ctr1" id="h4">0</td><td class="ctr2" id="i4">3</td><td class="ctr1" id="j4">0</td><td class="ctr2" id="k4">1</td></tr></tbody></table><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
+<?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>AbstractWell</title><script type="text/javascript" src="../.resources/sort.js"></script></head><body onload="initialSort(['breadcrumb'])"><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.html" class="el_package">org.apache.commons.rng.internal.source32</a> &gt; <span class="el_class">AbstractWell</span></div><h1>AbstractWell</h1><table class="coverage" cellspacing="0" id="coveragetable"><thead><tr><td cla
 ss="sortable" id="a" onclick="toggleSort(this)">Element</td><td class="down sortable bar" id="b" onclick="toggleSort(this)">Missed Instructions</td><td class="sortable ctr2" id="c" onclick="toggleSort(this)">Cov.</td><td class="sortable bar" id="d" onclick="toggleSort(this)">Missed Branches</td><td class="sortable ctr2" id="e" onclick="toggleSort(this)">Cov.</td><td class="sortable ctr1" id="f" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="g" onclick="toggleSort(this)">Cxty</td><td class="sortable ctr1" id="h" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="i" onclick="toggleSort(this)">Lines</td><td class="sortable ctr1" id="j" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="k" onclick="toggleSort(this)">Methods</td></tr></thead><tfoot><tr><td>Total</td><td class="bar">0 of 135</td><td class="ctr2">100%</td><td class="bar">0 of 4</td><td class="ctr2">100%</td><td class="ctr1">0</td><td class="ctr2">7</td><td class="ctr1"
 >0</td><td class="ctr2">24</td><td class="ctr1">0</td><td class="ctr2">5</td></tr></tfoot><tbody><tr><td id="a3"><a href="AbstractWell.java.html#L87" class="el_method">setSeedInternal(int[])</a></td><td class="bar" id="b0"><img src="../.resources/greenbar.gif" width="120" height="10" title="58" alt="58"/></td><td class="ctr2" id="c0">100%</td><td class="bar" id="d0"><img src="../.resources/greenbar.gif" width="120" height="10" title="4" alt="4"/></td><td class="ctr2" id="e0">100%</td><td class="ctr1" id="f0">0</td><td class="ctr2" id="g0">3</td><td class="ctr1" id="h0">0</td><td class="ctr2" id="i0">7</td><td class="ctr1" id="j0">0</td><td class="ctr2" id="k0">1</td></tr><tr><td id="a4"><a href="AbstractWell.java.html#L74" class="el_method">setStateInternal(byte[])</a></td><td class="bar" id="b1"><img src="../.resources/greenbar.gif" width="62" height="10" title="30" alt="30"/></td><td class="ctr2" id="c1">100%</td><td class="bar" id="d1"/><td class="ctr2" id="e1">n/a</td><td class=
 "ctr1" id="f1">0</td><td class="ctr2" id="g1">1</td><td class="ctr1" id="h1">0</td><td class="ctr2" id="i2">5</td><td class="ctr1" id="j1">0</td><td class="ctr2" id="k1">1</td></tr><tr><td id="a2"><a href="AbstractWell.java.html#L65" class="el_method">getStateInternal()</a></td><td class="bar" id="b2"><img src="../.resources/greenbar.gif" width="39" height="10" title="19" alt="19"/></td><td class="ctr2" id="c2">100%</td><td class="bar" id="d2"/><td class="ctr2" id="e2">n/a</td><td class="ctr1" id="f2">0</td><td class="ctr2" id="g2">1</td><td class="ctr1" id="h2">0</td><td class="ctr2" id="i3">3</td><td class="ctr1" id="j2">0</td><td class="ctr2" id="k2">1</td></tr><tr><td id="a0"><a href="AbstractWell.java.html#L53" class="el_method">AbstractWell(int, int[])</a></td><td class="bar" id="b3"><img src="../.resources/greenbar.gif" width="33" height="10" title="16" alt="16"/></td><td class="ctr2" id="c3">100%</td><td class="bar" id="d3"/><td class="ctr2" id="e3">n/a</td><td class="ctr1" 
 id="f3">0</td><td class="ctr2" id="g3">1</td><td class="ctr1" id="h3">0</td><td class="ctr2" id="i1">6</td><td class="ctr1" id="j3">0</td><td class="ctr2" id="k3">1</td></tr><tr><td id="a1"><a href="AbstractWell.java.html#L109" class="el_method">calculateBlockCount(int)</a></td><td class="bar" id="b4"><img src="../.resources/greenbar.gif" width="24" height="10" title="12" alt="12"/></td><td class="ctr2" id="c4">100%</td><td class="bar" id="d4"/><td class="ctr2" id="e4">n/a</td><td class="ctr1" id="f4">0</td><td class="ctr2" id="g4">1</td><td class="ctr1" id="h4">0</td><td class="ctr2" id="i4">3</td><td class="ctr1" id="j4">0</td><td class="ctr2" id="k4">1</td></tr></tbody></table><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

Modified: websites/production/commons/content/proper/commons-rng/jacoco/org.apache.commons.rng.internal.source32/AbstractWell.java.html
==============================================================================
--- websites/production/commons/content/proper/commons-rng/jacoco/org.apache.commons.rng.internal.source32/AbstractWell.java.html (original)
+++ websites/production/commons/content/proper/commons-rng/jacoco/org.apache.commons.rng.internal.source32/AbstractWell.java.html Fri Sep  2 16:37:56 2016
@@ -81,23 +81,20 @@ public abstract class AbstractWell exten
     /**
      * Initializes the generator with the given {@code seed}.
      *
-     * &lt;p&gt;The state of the generator is exactly the same as a new generator built
-     * with the same seed.&lt;/p&gt;
-     *
      * @param seed Seed. Cannot be null.
      */
     private void setSeedInternal(final int[] seed) {
-<span class="fc" id="L90">        System.arraycopy(seed, 0, v, 0, Math.min(seed.length, v.length));</span>
+<span class="fc" id="L87">        System.arraycopy(seed, 0, v, 0, Math.min(seed.length, v.length));</span>
 
-<span class="fc bfc" id="L92" title="All 2 branches covered.">        if (seed.length &lt; v.length) {</span>
-<span class="fc bfc" id="L93" title="All 2 branches covered.">            for (int i = seed.length; i &lt; v.length; ++i) {</span>
-<span class="fc" id="L94">                final long current = v[i - seed.length];</span>
-<span class="fc" id="L95">                v[i] = (int) ((1812433253L * (current ^ (current &gt;&gt; 30)) + i) &amp; 0xffffffffL);</span>
+<span class="fc bfc" id="L89" title="All 2 branches covered.">        if (seed.length &lt; v.length) {</span>
+<span class="fc bfc" id="L90" title="All 2 branches covered.">            for (int i = seed.length; i &lt; v.length; ++i) {</span>
+<span class="fc" id="L91">                final long current = v[i - seed.length];</span>
+<span class="fc" id="L92">                v[i] = (int) ((1812433253L * (current ^ (current &gt;&gt; 30)) + i) &amp; 0xffffffffL);</span>
             }
         }
 
-<span class="fc" id="L99">        index = 0;</span>
-<span class="fc" id="L100">    }</span>
+<span class="fc" id="L96">        index = 0;</span>
+<span class="fc" id="L97">    }</span>
 
     /**
      * Calculate the number of 32-bits blocks.
@@ -109,9 +106,9 @@ public abstract class AbstractWell exten
         // the bits pool contains k bits, k = r w - p where r is the number
         // of w bits blocks, w is the block size (always 32 in the original paper)
         // and p is the number of unused bits in the last block
-<span class="fc" id="L112">        final int w = 32;</span>
-<span class="fc" id="L113">        final int r = (k + w - 1) / w;</span>
-<span class="fc" id="L114">        return r;</span>
+<span class="fc" id="L109">        final int w = 32;</span>
+<span class="fc" id="L110">        final int r = (k + w - 1) / w;</span>
+<span class="fc" id="L111">        return r;</span>
     }
 
     /**
@@ -136,25 +133,25 @@ public abstract class AbstractWell exten
          * @param m2 second parameter of the algorithm
          * @param m3 third parameter of the algorithm
          */
-<span class="fc" id="L139">        public IndexTable(final int k, final int m1, final int m2, final int m3) {</span>
+<span class="fc" id="L136">        public IndexTable(final int k, final int m1, final int m2, final int m3) {</span>
 
-<span class="fc" id="L141">            final int r = calculateBlockCount(k);</span>
+<span class="fc" id="L138">            final int r = calculateBlockCount(k);</span>
 
             // precompute indirection index tables. These tables are used for optimizing access
             // they allow saving computations like &quot;(j + r - 2) % r&quot; with costly modulo operations
-<span class="fc" id="L145">            iRm1 = new int[r];</span>
-<span class="fc" id="L146">            iRm2 = new int[r];</span>
-<span class="fc" id="L147">            i1 = new int[r];</span>
-<span class="fc" id="L148">            i2 = new int[r];</span>
-<span class="fc" id="L149">            i3 = new int[r];</span>
-<span class="fc bfc" id="L150" title="All 2 branches covered.">            for (int j = 0; j &lt; r; ++j) {</span>
-<span class="fc" id="L151">                iRm1[j] = (j + r - 1) % r;</span>
-<span class="fc" id="L152">                iRm2[j] = (j + r - 2) % r;</span>
-<span class="fc" id="L153">                i1[j] = (j + m1) % r;</span>
-<span class="fc" id="L154">                i2[j] = (j + m2) % r;</span>
-<span class="fc" id="L155">                i3[j] = (j + m3) % r;</span>
+<span class="fc" id="L142">            iRm1 = new int[r];</span>
+<span class="fc" id="L143">            iRm2 = new int[r];</span>
+<span class="fc" id="L144">            i1 = new int[r];</span>
+<span class="fc" id="L145">            i2 = new int[r];</span>
+<span class="fc" id="L146">            i3 = new int[r];</span>
+<span class="fc bfc" id="L147" title="All 2 branches covered.">            for (int j = 0; j &lt; r; ++j) {</span>
+<span class="fc" id="L148">                iRm1[j] = (j + r - 1) % r;</span>
+<span class="fc" id="L149">                iRm2[j] = (j + r - 2) % r;</span>
+<span class="fc" id="L150">                i1[j] = (j + m1) % r;</span>
+<span class="fc" id="L151">                i2[j] = (j + m2) % r;</span>
+<span class="fc" id="L152">                i3[j] = (j + m3) % r;</span>
             }
-<span class="fc" id="L157">        }</span>
+<span class="fc" id="L154">        }</span>
 
         /**
          * Returns the predecessor of the given index modulo the table size.
@@ -162,7 +159,7 @@ public abstract class AbstractWell exten
          * @return (index - 1) % table size
          */
         public int getIndexPred(final int index) {
-<span class="fc" id="L165">            return iRm1[index];</span>
+<span class="fc" id="L162">            return iRm1[index];</span>
         }
 
         /**
@@ -171,7 +168,7 @@ public abstract class AbstractWell exten
          * @return (index - 2) % table size
          */
         public int getIndexPred2(final int index) {
-<span class="fc" id="L174">            return iRm2[index];</span>
+<span class="fc" id="L171">            return iRm2[index];</span>
         }
 
         /**
@@ -180,7 +177,7 @@ public abstract class AbstractWell exten
          * @return (index + M1) % table size
          */
         public int getIndexM1(final int index) {
-<span class="fc" id="L183">            return i1[index];</span>
+<span class="fc" id="L180">            return i1[index];</span>
         }
 
         /**
@@ -189,7 +186,7 @@ public abstract class AbstractWell exten
          * @return (index + M2) % table size
          */
         public int getIndexM2(final int index) {
-<span class="fc" id="L192">            return i2[index];</span>
+<span class="fc" id="L189">            return i2[index];</span>
         }
 
         /**
@@ -198,7 +195,7 @@ public abstract class AbstractWell exten
          * @return (index + M3) % table size
          */
         public int getIndexM3(final int index) {
-<span class="fc" id="L201">            return i3[index];</span>
+<span class="fc" id="L198">            return i3[index];</span>
         }
     }
 }

Added: websites/production/commons/content/proper/commons-rng/jacoco/org.apache.commons.rng.internal.source32/KISSRandom.html
==============================================================================
--- websites/production/commons/content/proper/commons-rng/jacoco/org.apache.commons.rng.internal.source32/KISSRandom.html (added)
+++ websites/production/commons/content/proper/commons-rng/jacoco/org.apache.commons.rng.internal.source32/KISSRandom.html Fri Sep  2 16:37:56 2016
@@ -0,0 +1 @@
+<?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>KISSRandom</title><script type="text/javascript" src="../.resources/sort.js"></script></head><body onload="initialSort(['breadcrumb'])"><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.html" class="el_package">org.apache.commons.rng.internal.source32</a> &gt; <span class="el_class">KISSRandom</span></div><h1>KISSRandom</h1><table class="coverage" cellspacing="0" id="coveragetable"><thead><tr><td class="so
 rtable" id="a" onclick="toggleSort(this)">Element</td><td class="down sortable bar" id="b" onclick="toggleSort(this)">Missed Instructions</td><td class="sortable ctr2" id="c" onclick="toggleSort(this)">Cov.</td><td class="sortable bar" id="d" onclick="toggleSort(this)">Missed Branches</td><td class="sortable ctr2" id="e" onclick="toggleSort(this)">Cov.</td><td class="sortable ctr1" id="f" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="g" onclick="toggleSort(this)">Cxty</td><td class="sortable ctr1" id="h" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="i" onclick="toggleSort(this)">Lines</td><td class="sortable ctr1" id="j" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="k" onclick="toggleSort(this)">Methods</td></tr></thead><tfoot><tr><td>Total</td><td class="bar">0 of 211</td><td class="ctr2">100%</td><td class="bar">0 of 6</td><td class="ctr2">100%</td><td class="ctr1">0</td><td class="ctr2">9</td><td class="ctr1">0</td
 ><td class="ctr2">33</td><td class="ctr1">0</td><td class="ctr2">6</td></tr></tfoot><tbody><tr><td id="a4"><a href="KISSRandom.java.html#L82" class="el_method">setSeedInternal(int[])</a></td><td class="bar" id="b0"><img src="../.resources/greenbar.gif" width="120" height="10" title="78" alt="78"/></td><td class="ctr2" id="c0">100%</td><td class="bar" id="d0"><img src="../.resources/greenbar.gif" width="120" height="10" title="6" alt="6"/></td><td class="ctr2" id="e0">100%</td><td class="ctr1" id="f0">0</td><td class="ctr2" id="g0">4</td><td class="ctr1" id="h0">0</td><td class="ctr2" id="i0">13</td><td class="ctr1" id="j0">0</td><td class="ctr2" id="k0">1</td></tr><tr><td id="a3"><a href="KISSRandom.java.html#L105" class="el_method">next()</a></td><td class="bar" id="b1"><img src="../.resources/greenbar.gif" width="100" height="10" title="65" alt="65"/></td><td class="ctr2" id="c1">100%</td><td class="bar" id="d1"/><td class="ctr2" id="e1">n/a</td><td class="ctr1" id="f1">0</td><td 
 class="ctr2" id="g1">1</td><td class="ctr1" id="h1">0</td><td class="ctr2" id="i1">8</td><td class="ctr1" id="j1">0</td><td class="ctr2" id="k1">1</td></tr><tr><td id="a5"><a href="KISSRandom.java.html#L63" class="el_method">setStateInternal(byte[])</a></td><td class="bar" id="b2"><img src="../.resources/greenbar.gif" width="43" height="10" title="28" alt="28"/></td><td class="ctr2" id="c2">100%</td><td class="bar" id="d2"/><td class="ctr2" id="e2">n/a</td><td class="ctr1" id="f2">0</td><td class="ctr2" id="g2">1</td><td class="ctr1" id="h2">0</td><td class="ctr2" id="i2">7</td><td class="ctr1" id="j2">0</td><td class="ctr2" id="k2">1</td></tr><tr><td id="a1"><a href="KISSRandom.java.html#L57" class="el_method">getStateInternal()</a></td><td class="bar" id="b3"><img src="../.resources/greenbar.gif" width="36" height="10" title="24" alt="24"/></td><td class="ctr2" id="c3">100%</td><td class="bar" id="d3"/><td class="ctr2" id="e3">n/a</td><td class="ctr1" id="f3">0</td><td class="ctr2
 " id="g3">1</td><td class="ctr1" id="h3">0</td><td class="ctr2" id="i4">1</td><td class="ctr1" id="j3">0</td><td class="ctr2" id="k3">1</td></tr><tr><td id="a0"><a href="KISSRandom.java.html#L129" class="el_method">computeNew(int, int)</a></td><td class="bar" id="b4"><img src="../.resources/greenbar.gif" width="15" height="10" title="10" alt="10"/></td><td class="ctr2" id="c4">100%</td><td class="bar" id="d4"/><td class="ctr2" id="e4">n/a</td><td class="ctr1" id="f4">0</td><td class="ctr2" id="g4">1</td><td class="ctr1" id="h4">0</td><td class="ctr2" id="i5">1</td><td class="ctr1" id="j4">0</td><td class="ctr2" id="k4">1</td></tr><tr><td id="a2"><a href="KISSRandom.java.html#L50" class="el_method">KISSRandom(int[])</a></td><td class="bar" id="b5"><img src="../.resources/greenbar.gif" width="9" height="10" title="6" alt="6"/></td><td class="ctr2" id="c5">100%</td><td class="bar" id="d5"/><td class="ctr2" id="e5">n/a</td><td class="ctr1" id="f5">0</td><td class="ctr2" id="g5">1</td><t
 d class="ctr1" id="h5">0</td><td class="ctr2" id="i3">3</td><td class="ctr1" id="j5">0</td><td class="ctr2" id="k5">1</td></tr></tbody></table><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

Propchange: websites/production/commons/content/proper/commons-rng/jacoco/org.apache.commons.rng.internal.source32/KISSRandom.html
------------------------------------------------------------------------------
    svn:eol-style = native

Added: websites/production/commons/content/proper/commons-rng/jacoco/org.apache.commons.rng.internal.source32/KISSRandom.java.html
==============================================================================
--- websites/production/commons/content/proper/commons-rng/jacoco/org.apache.commons.rng.internal.source32/KISSRandom.java.html (added)
+++ websites/production/commons/content/proper/commons-rng/jacoco/org.apache.commons.rng.internal.source32/KISSRandom.java.html Fri Sep  2 16:37:56 2016
@@ -0,0 +1,132 @@
+<?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>KISSRandom.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.source32</a> &gt; <span class="el_source">KISSRandom.java</span><
 /div><h1>KISSRandom.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.source32;
+
+import org.apache.commons.rng.internal.util.NumberFactory;
+
+/**
+ * Port from Marsaglia's &lt;a href=&quot;http://www.cse.yorku.ca/~oz/marsaglia-rng.html&quot;&gt;
+ * &quot;KISS&quot; algorithm&lt;/a&gt;.
+ * This version contains the correction referred to
+ * &lt;a href=&quot;https://programmingpraxis.com/2010/10/05/george-marsaglias-random-number-generators/&quot;&gt;here&lt;/a&gt;
+ * in a reply to the original post.
+ *
+ * @since 1.0
+ */
+public class KISSRandom extends IntProvider {
+    /** Size of the seed. */
+    private static final int SEED_SIZE = 4;
+    /** State variable. */
+    private int z;
+    /** State variable. */
+    private int w;
+    /** State variable. */
+    private int jsr;
+    /** State variable. */
+    private int jcong;
+
+    /**
+     * Creates a new instance.
+     *
+     * @param seed Seed.
+     * If the length is larger than 4, only the first 4 elements will
+     * be used; if smaller, the remaining elements will be automatically
+     * set.
+     */
+<span class="fc" id="L50">    public KISSRandom(int[] seed) {</span>
+<span class="fc" id="L51">        setSeedInternal(seed);</span>
+<span class="fc" id="L52">    }</span>
+
+    /** {@inheritDoc} */
+    @Override
+    protected byte[] getStateInternal() {
+<span class="fc" id="L57">        return NumberFactory.makeByteArray(new int[] { z, w, jsr, jcong });</span>
+    }
+
+    /** {@inheritDoc} */
+    @Override
+    protected void setStateInternal(byte[] s) {
+<span class="fc" id="L63">        checkStateSize(s, SEED_SIZE * 4);</span>
+
+<span class="fc" id="L65">        final int[] tmp = NumberFactory.makeIntArray(s);</span>
+
+<span class="fc" id="L67">        z = tmp[0];</span>
+<span class="fc" id="L68">        w = tmp[1];</span>
+<span class="fc" id="L69">        jsr = tmp[2];</span>
+<span class="fc" id="L70">        jcong = tmp[3];</span>
+<span class="fc" id="L71">    }</span>
+
+    /**
+     * 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.
+
+<span class="fc" id="L82">        final int[] tmp = new int[SEED_SIZE];</span>
+<span class="fc" id="L83">        System.arraycopy(seed, 0, tmp, 0, Math.min(seed.length, tmp.length));</span>
+
+<span class="fc bfc" id="L85" title="All 2 branches covered.">        if (seed.length &lt; SEED_SIZE) {</span>
+<span class="fc bfc" id="L86" title="All 2 branches covered.">            for (int i = seed.length; i &lt; SEED_SIZE; i++) {</span>
+<span class="fc" id="L87">                tmp[i] = 26021969 * i;</span>
+            }
+<span class="fc bfc" id="L89" title="All 2 branches covered.">            for (int i = SEED_SIZE - 1; i &gt; seed.length; i--) {</span>
+<span class="fc" id="L90">                tmp[i] ^= tmp[SEED_SIZE - i - 1];</span>
+            }
+
+<span class="fc" id="L93">            tmp[seed.length] = 0x80000000; // Ensuring non-zero initial array.</span>
+        }
+
+<span class="fc" id="L96">        z = tmp[0];</span>
+<span class="fc" id="L97">        w = tmp[1];</span>
+<span class="fc" id="L98">        jsr = tmp[2];</span>
+<span class="fc" id="L99">        jcong = tmp[3];</span>
+<span class="fc" id="L100">    }</span>
+
+    /** {@inheritDoc} */
+    @Override
+    public int next() {
+<span class="fc" id="L105">        z = computeNew(36969, z);</span>
+<span class="fc" id="L106">        w = computeNew(18000, w);</span>
+<span class="fc" id="L107">        final int mwc = (z &lt;&lt; 16) + w;</span>
+
+        // Cf. correction mentioned in the reply to the original post:
+        //   https://programmingpraxis.com/2010/10/05/george-marsaglias-random-number-generators/
+<span class="fc" id="L111">        jsr ^= jsr &lt;&lt; 13;</span>
+<span class="fc" id="L112">        jsr ^= jsr &gt;&gt;&gt; 17;</span>
+<span class="fc" id="L113">        jsr ^= jsr &lt;&lt; 5;</span>
+
+<span class="fc" id="L115">        jcong = 69069 * jcong + 1234567;</span>
+
+<span class="fc" id="L117">        return (mwc ^ jcong) + jsr;</span>
+    }
+
+    /**
+     * Compute new value.
+     *
+     * @param mult Multiplier.
+     * @param previous Previous value.
+     * @return new value.
+     */
+    private int computeNew(int mult,
+                           int previous) {
+<span class="fc" id="L129">        return mult * (previous &amp; 65535) + (previous &gt;&gt;&gt; 16);</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

Propchange: websites/production/commons/content/proper/commons-rng/jacoco/org.apache.commons.rng.internal.source32/KISSRandom.java.html
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: websites/production/commons/content/proper/commons-rng/jacoco/org.apache.commons.rng.internal.source32/MersenneTwister.html
==============================================================================
--- websites/production/commons/content/proper/commons-rng/jacoco/org.apache.commons.rng.internal.source32/MersenneTwister.html (original)
+++ websites/production/commons/content/proper/commons-rng/jacoco/org.apache.commons.rng.internal.source32/MersenneTwister.html Fri Sep  2 16:37:56 2016
@@ -1 +1 @@
-<?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>MersenneTwister</title><script type="text/javascript" src="../.resources/sort.js"></script></head><body onload="initialSort(['breadcrumb'])"><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.html" class="el_package">org.apache.commons.rng.internal.source32</a> &gt; <span class="el_class">MersenneTwister</span></div><h1>MersenneTwister</h1><table class="coverage" cellspacing="0" id="coveragetable"><thead><t
 r><td class="sortable" id="a" onclick="toggleSort(this)">Element</td><td class="down sortable bar" id="b" onclick="toggleSort(this)">Missed Instructions</td><td class="sortable ctr2" id="c" onclick="toggleSort(this)">Cov.</td><td class="sortable bar" id="d" onclick="toggleSort(this)">Missed Branches</td><td class="sortable ctr2" id="e" onclick="toggleSort(this)">Cov.</td><td class="sortable ctr1" id="f" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="g" onclick="toggleSort(this)">Cxty</td><td class="sortable ctr1" id="h" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="i" onclick="toggleSort(this)">Lines</td><td class="sortable ctr1" id="j" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="k" onclick="toggleSort(this)">Methods</td></tr></thead><tfoot><tr><td>Total</td><td class="bar">0 of 458</td><td class="ctr2">100%</td><td class="bar">0 of 26</td><td class="ctr2">100%</td><td class="ctr1">0</td><td class="ctr2">20</td><td c
 lass="ctr1">0</td><td class="ctr2">65</td><td class="ctr1">0</td><td class="ctr2">7</td></tr></tfoot><tbody><tr><td id="a4"><a href="MersenneTwister.java.html#L143" class="el_method">setSeedInternal(int[])</a></td><td class="bar" id="b0"><img src="../.resources/greenbar.gif" width="120" height="10" title="186" alt="186"/></td><td class="ctr2" id="c0">100%</td><td class="bar" id="d0"><img src="../.resources/greenbar.gif" width="120" height="10" title="18" alt="18"/></td><td class="ctr2" id="e0">100%</td><td class="ctr1" id="f0">0</td><td class="ctr2" id="g0">10</td><td class="ctr1" id="h0">0</td><td class="ctr2" id="i0">25</td><td class="ctr1" id="j0">0</td><td class="ctr2" id="k0">1</td></tr><tr><td id="a3"><a href="MersenneTwister.java.html#L196" class="el_method">next()</a></td><td class="bar" id="b1"><img src="../.resources/greenbar.gif" width="109" height="10" title="170" alt="170"/></td><td class="ctr2" id="c1">100%</td><td class="bar" id="d1"><img src="../.resources/greenbar.g
 if" width="40" height="10" title="6" alt="6"/></td><td class="ctr2" id="e1">100%</td><td class="ctr1" id="f1">0</td><td class="ctr2" id="g1">4</td><td class="ctr1" id="h1">0</td><td class="ctr2" id="i1">21</td><td class="ctr1" id="j1">0</td><td class="ctr2" id="k1">1</td></tr><tr><td id="a1"><a href="MersenneTwister.java.html#L183" class="el_method">initState(int)</a></td><td class="bar" id="b2"><img src="../.resources/greenbar.gif" width="30" height="10" title="47" alt="47"/></td><td class="ctr2" id="c2">100%</td><td class="bar" id="d2"><img src="../.resources/greenbar.gif" width="13" height="10" title="2" alt="2"/></td><td class="ctr2" id="e2">100%</td><td class="ctr1" id="f2">0</td><td class="ctr2" id="g2">2</td><td class="ctr1" id="h2">0</td><td class="ctr2" id="i2">6</td><td class="ctr1" id="j2">0</td><td class="ctr2" id="k2">1</td></tr><tr><td id="a5"><a href="MersenneTwister.java.html#L130" class="el_method">setStateInternal(byte[])</a></td><td class="bar" id="b3"><img src=".
 ./.resources/greenbar.gif" width="12" height="10" title="20" alt="20"/></td><td class="ctr2" id="c3">100%</td><td class="bar" id="d3"/><td class="ctr2" id="e3">n/a</td><td class="ctr1" id="f3">0</td><td class="ctr2" id="g3">1</td><td class="ctr1" id="h3">0</td><td class="ctr2" id="i3">5</td><td class="ctr1" id="j3">0</td><td class="ctr2" id="k3">1</td></tr><tr><td id="a0"><a href="MersenneTwister.java.html#L121" class="el_method">getStateInternal()</a></td><td class="bar" id="b4"><img src="../.resources/greenbar.gif" width="8" height="10" title="13" alt="13"/></td><td class="ctr2" id="c4">100%</td><td class="bar" id="d4"/><td class="ctr2" id="e4">n/a</td><td class="ctr1" id="f4">0</td><td class="ctr2" id="g4">1</td><td class="ctr1" id="h4">0</td><td class="ctr2" id="i5">3</td><td class="ctr1" id="j4">0</td><td class="ctr2" id="k4">1</td></tr><tr><td id="a6"><a href="MersenneTwister.java.html#L103" class="el_method">static {...}</a></td><td class="bar" id="b5"><img src="../.resources
 /greenbar.gif" width="7" height="10" title="12" alt="12"/></td><td class="ctr2" id="c5">100%</td><td class="bar" id="d5"/><td class="ctr2" id="e5">n/a</td><td class="ctr1" id="f5">0</td><td class="ctr2" id="g5">1</td><td class="ctr1" id="h5">0</td><td class="ctr2" id="i6">1</td><td class="ctr1" id="j5">0</td><td class="ctr2" id="k5">1</td></tr><tr><td id="a2"><a href="MersenneTwister.java.html#L105" class="el_method">MersenneTwister(int[])</a></td><td class="bar" id="b6"><img src="../.resources/greenbar.gif" width="6" height="10" title="10" alt="10"/></td><td class="ctr2" id="c6">100%</td><td class="bar" id="d6"/><td class="ctr2" id="e6">n/a</td><td class="ctr1" id="f6">0</td><td class="ctr2" id="g6">1</td><td class="ctr1" id="h6">0</td><td class="ctr2" id="i4">4</td><td class="ctr1" id="j6">0</td><td class="ctr2" id="k6">1</td></tr></tbody></table><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
+<?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>MersenneTwister</title><script type="text/javascript" src="../.resources/sort.js"></script></head><body onload="initialSort(['breadcrumb'])"><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.html" class="el_package">org.apache.commons.rng.internal.source32</a> &gt; <span class="el_class">MersenneTwister</span></div><h1>MersenneTwister</h1><table class="coverage" cellspacing="0" id="coveragetable"><thead><t
 r><td class="sortable" id="a" onclick="toggleSort(this)">Element</td><td class="down sortable bar" id="b" onclick="toggleSort(this)">Missed Instructions</td><td class="sortable ctr2" id="c" onclick="toggleSort(this)">Cov.</td><td class="sortable bar" id="d" onclick="toggleSort(this)">Missed Branches</td><td class="sortable ctr2" id="e" onclick="toggleSort(this)">Cov.</td><td class="sortable ctr1" id="f" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="g" onclick="toggleSort(this)">Cxty</td><td class="sortable ctr1" id="h" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="i" onclick="toggleSort(this)">Lines</td><td class="sortable ctr1" id="j" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="k" onclick="toggleSort(this)">Methods</td></tr></thead><tfoot><tr><td>Total</td><td class="bar">0 of 464</td><td class="ctr2">100%</td><td class="bar">0 of 28</td><td class="ctr2">100%</td><td class="ctr1">0</td><td class="ctr2">21</td><td c
 lass="ctr1">0</td><td class="ctr2">67</td><td class="ctr1">0</td><td class="ctr2">7</td></tr></tfoot><tbody><tr><td id="a4"><a href="MersenneTwister.java.html#L143" class="el_method">setSeedInternal(int[])</a></td><td class="bar" id="b0"><img src="../.resources/greenbar.gif" width="120" height="10" title="192" alt="192"/></td><td class="ctr2" id="c0">100%</td><td class="bar" id="d0"><img src="../.resources/greenbar.gif" width="120" height="10" title="20" alt="20"/></td><td class="ctr2" id="e0">100%</td><td class="ctr1" id="f0">0</td><td class="ctr2" id="g0">11</td><td class="ctr1" id="h0">0</td><td class="ctr2" id="i0">27</td><td class="ctr1" id="j0">0</td><td class="ctr2" id="k0">1</td></tr><tr><td id="a3"><a href="MersenneTwister.java.html#L201" class="el_method">next()</a></td><td class="bar" id="b1"><img src="../.resources/greenbar.gif" width="106" height="10" title="170" alt="170"/></td><td class="ctr2" id="c1">100%</td><td class="bar" id="d1"><img src="../.resources/greenbar.g
 if" width="36" height="10" title="6" alt="6"/></td><td class="ctr2" id="e1">100%</td><td class="ctr1" id="f1">0</td><td class="ctr2" id="g1">4</td><td class="ctr1" id="h1">0</td><td class="ctr2" id="i1">21</td><td class="ctr1" id="j1">0</td><td class="ctr2" id="k1">1</td></tr><tr><td id="a1"><a href="MersenneTwister.java.html#L188" class="el_method">initState(int)</a></td><td class="bar" id="b2"><img src="../.resources/greenbar.gif" width="29" height="10" title="47" alt="47"/></td><td class="ctr2" id="c2">100%</td><td class="bar" id="d2"><img src="../.resources/greenbar.gif" width="12" height="10" title="2" alt="2"/></td><td class="ctr2" id="e2">100%</td><td class="ctr1" id="f2">0</td><td class="ctr2" id="g2">2</td><td class="ctr1" id="h2">0</td><td class="ctr2" id="i2">6</td><td class="ctr1" id="j2">0</td><td class="ctr2" id="k2">1</td></tr><tr><td id="a5"><a href="MersenneTwister.java.html#L130" class="el_method">setStateInternal(byte[])</a></td><td class="bar" id="b3"><img src=".
 ./.resources/greenbar.gif" width="12" height="10" title="20" alt="20"/></td><td class="ctr2" id="c3">100%</td><td class="bar" id="d3"/><td class="ctr2" id="e3">n/a</td><td class="ctr1" id="f3">0</td><td class="ctr2" id="g3">1</td><td class="ctr1" id="h3">0</td><td class="ctr2" id="i3">5</td><td class="ctr1" id="j3">0</td><td class="ctr2" id="k3">1</td></tr><tr><td id="a0"><a href="MersenneTwister.java.html#L121" class="el_method">getStateInternal()</a></td><td class="bar" id="b4"><img src="../.resources/greenbar.gif" width="8" height="10" title="13" alt="13"/></td><td class="ctr2" id="c4">100%</td><td class="bar" id="d4"/><td class="ctr2" id="e4">n/a</td><td class="ctr1" id="f4">0</td><td class="ctr2" id="g4">1</td><td class="ctr1" id="h4">0</td><td class="ctr2" id="i5">3</td><td class="ctr1" id="j4">0</td><td class="ctr2" id="k4">1</td></tr><tr><td id="a6"><a href="MersenneTwister.java.html#L103" class="el_method">static {...}</a></td><td class="bar" id="b5"><img src="../.resources
 /greenbar.gif" width="7" height="10" title="12" alt="12"/></td><td class="ctr2" id="c5">100%</td><td class="bar" id="d5"/><td class="ctr2" id="e5">n/a</td><td class="ctr1" id="f5">0</td><td class="ctr2" id="g5">1</td><td class="ctr1" id="h5">0</td><td class="ctr2" id="i6">1</td><td class="ctr1" id="j5">0</td><td class="ctr2" id="k5">1</td></tr><tr><td id="a2"><a href="MersenneTwister.java.html#L105" class="el_method">MersenneTwister(int[])</a></td><td class="bar" id="b6"><img src="../.resources/greenbar.gif" width="6" height="10" title="10" alt="10"/></td><td class="ctr2" id="c6">100%</td><td class="bar" id="d6"/><td class="ctr2" id="e6">n/a</td><td class="ctr1" id="f6">0</td><td class="ctr2" id="g6">1</td><td class="ctr1" id="h6">0</td><td class="ctr2" id="i4">4</td><td class="ctr1" id="j6">0</td><td class="ctr2" id="k6">1</td></tr></tbody></table><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

Modified: websites/production/commons/content/proper/commons-rng/jacoco/org.apache.commons.rng.internal.source32/MersenneTwister.java.html
==============================================================================
--- websites/production/commons/content/proper/commons-rng/jacoco/org.apache.commons.rng.internal.source32/MersenneTwister.java.html (original)
+++ websites/production/commons/content/proper/commons-rng/jacoco/org.apache.commons.rng.internal.source32/MersenneTwister.java.html Fri Sep  2 16:37:56 2016
@@ -135,44 +135,49 @@ public class MersenneTwister extends Int
 <span class="fc" id="L135">    }</span>
 
     /**
-     * Reinitializes the generator as if just built with the given seed.
+     * Initializes the generator with the given seed.
      *
      * @param seed Initial seed.
      */
     private void setSeedInternal(int[] seed) {
-<span class="fc" id="L143">        initState(19650218);</span>
-<span class="fc" id="L144">        int i = 1;</span>
-<span class="fc" id="L145">        int j = 0;</span>
-
-<span class="fc bfc" id="L147" title="All 2 branches covered.">        for (int k = Math.max(N, seed.length); k != 0; k--) {</span>
-<span class="fc bfc" id="L148" title="All 2 branches covered.">            final long l0 = (mt[i] &amp; LOWER_MASK_LONG) | ((mt[i] &lt; 0) ? UPPER_MASK_LONG : 0);</span>
-<span class="fc bfc" id="L149" title="All 2 branches covered.">            final long l1 = (mt[i - 1] &amp; LOWER_MASK_LONG) | ((mt[i - 1] &lt; 0) ? UPPER_MASK_LONG : 0);</span>
-<span class="fc" id="L150">            final long l = (l0 ^ ((l1 ^ (l1 &gt;&gt; 30)) * 1664525l)) + seed[j] + j; // non linear</span>
-<span class="fc" id="L151">            mt[i] = (int) (l &amp; INT_MASK_LONG);</span>
-<span class="fc" id="L152">            i++; j++;</span>
-<span class="fc bfc" id="L153" title="All 2 branches covered.">            if (i &gt;= N) {</span>
-<span class="fc" id="L154">                mt[0] = mt[N - 1];</span>
-<span class="fc" id="L155">                i = 1;</span>
+<span class="fc bfc" id="L143" title="All 2 branches covered.">        if (seed.length == 0) {</span>
+            // Accept empty seed.
+<span class="fc" id="L145">            seed = new int[1];</span>
+        }
+
+<span class="fc" id="L148">        initState(19650218);</span>
+<span class="fc" id="L149">        int i = 1;</span>
+<span class="fc" id="L150">        int j = 0;</span>
+
+<span class="fc bfc" id="L152" title="All 2 branches covered.">        for (int k = Math.max(N, seed.length); k != 0; k--) {</span>
+<span class="fc bfc" id="L153" title="All 2 branches covered.">            final long l0 = (mt[i] &amp; LOWER_MASK_LONG) | ((mt[i] &lt; 0) ? UPPER_MASK_LONG : 0);</span>
+<span class="fc bfc" id="L154" title="All 2 branches covered.">            final long l1 = (mt[i - 1] &amp; LOWER_MASK_LONG) | ((mt[i - 1] &lt; 0) ? UPPER_MASK_LONG : 0);</span>
+<span class="fc" id="L155">            final long l = (l0 ^ ((l1 ^ (l1 &gt;&gt; 30)) * 1664525l)) + seed[j] + j; // non linear</span>
+<span class="fc" id="L156">            mt[i] = (int) (l &amp; INT_MASK_LONG);</span>
+<span class="fc" id="L157">            i++; j++;</span>
+<span class="fc bfc" id="L158" title="All 2 branches covered.">            if (i &gt;= N) {</span>
+<span class="fc" id="L159">                mt[0] = mt[N - 1];</span>
+<span class="fc" id="L160">                i = 1;</span>
             }
-<span class="fc bfc" id="L157" title="All 2 branches covered.">            if (j &gt;= seed.length) {</span>
-<span class="fc" id="L158">                j = 0;</span>
+<span class="fc bfc" id="L162" title="All 2 branches covered.">            if (j &gt;= seed.length) {</span>
+<span class="fc" id="L163">                j = 0;</span>
             }
         }
 
-<span class="fc bfc" id="L162" title="All 2 branches covered.">        for (int k = N - 1; k != 0; k--) {</span>
-<span class="fc bfc" id="L163" title="All 2 branches covered.">            final long l0 = (mt[i] &amp; LOWER_MASK_LONG) | ((mt[i] &lt; 0) ? UPPER_MASK_LONG : 0);</span>
-<span class="fc bfc" id="L164" title="All 2 branches covered.">            final long l1 = (mt[i - 1] &amp; LOWER_MASK_LONG) | ((mt[i - 1] &lt; 0) ? UPPER_MASK_LONG : 0);</span>
-<span class="fc" id="L165">            final long l  = (l0 ^ ((l1 ^ (l1 &gt;&gt; 30)) * 1566083941l)) - i; // non linear</span>
-<span class="fc" id="L166">            mt[i] = (int) (l &amp; INT_MASK_LONG);</span>
-<span class="fc" id="L167">            i++;</span>
-<span class="fc bfc" id="L168" title="All 2 branches covered.">            if (i &gt;= N) {</span>
-<span class="fc" id="L169">                mt[0] = mt[N - 1];</span>
-<span class="fc" id="L170">                i = 1;</span>
+<span class="fc bfc" id="L167" title="All 2 branches covered.">        for (int k = N - 1; k != 0; k--) {</span>
+<span class="fc bfc" id="L168" title="All 2 branches covered.">            final long l0 = (mt[i] &amp; LOWER_MASK_LONG) | ((mt[i] &lt; 0) ? UPPER_MASK_LONG : 0);</span>
+<span class="fc bfc" id="L169" title="All 2 branches covered.">            final long l1 = (mt[i - 1] &amp; LOWER_MASK_LONG) | ((mt[i - 1] &lt; 0) ? UPPER_MASK_LONG : 0);</span>
+<span class="fc" id="L170">            final long l  = (l0 ^ ((l1 ^ (l1 &gt;&gt; 30)) * 1566083941l)) - i; // non linear</span>
+<span class="fc" id="L171">            mt[i] = (int) (l &amp; INT_MASK_LONG);</span>
+<span class="fc" id="L172">            i++;</span>
+<span class="fc bfc" id="L173" title="All 2 branches covered.">            if (i &gt;= N) {</span>
+<span class="fc" id="L174">                mt[0] = mt[N - 1];</span>
+<span class="fc" id="L175">                i = 1;</span>
             }
         }
 
-<span class="fc" id="L174">        mt[0] = UPPER_MASK; // MSB is 1; assuring non-zero initial array</span>
-<span class="fc" id="L175">    }</span>
+<span class="fc" id="L179">        mt[0] = UPPER_MASK; // MSB is 1; assuring non-zero initial array</span>
+<span class="fc" id="L180">    }</span>
 
     /**
      * Initialize the internal state of this instance.
@@ -180,48 +185,48 @@ public class MersenneTwister extends Int
      * @param seed Seed.
      */
     private void initState(int seed) {
-<span class="fc" id="L183">        long longMT = seed &amp; INT_MASK_LONG;</span>
-<span class="fc" id="L184">        mt[0] = (int) longMT;</span>
-<span class="fc bfc" id="L185" title="All 2 branches covered.">        for (mti = 1; mti &lt; N; ++mti) {</span>
-<span class="fc" id="L186">            longMT = (1812433253L * (longMT ^ (longMT &gt;&gt; 30)) + mti) &amp; INT_MASK_LONG;</span>
-<span class="fc" id="L187">            mt[mti] = (int) longMT;</span>
+<span class="fc" id="L188">        long longMT = seed &amp; INT_MASK_LONG;</span>
+<span class="fc" id="L189">        mt[0] = (int) longMT;</span>
+<span class="fc bfc" id="L190" title="All 2 branches covered.">        for (mti = 1; mti &lt; N; ++mti) {</span>
+<span class="fc" id="L191">            longMT = (1812433253L * (longMT ^ (longMT &gt;&gt; 30)) + mti) &amp; INT_MASK_LONG;</span>
+<span class="fc" id="L192">            mt[mti] = (int) longMT;</span>
         }
-<span class="fc" id="L189">    }</span>
+<span class="fc" id="L194">    }</span>
 
     /** {@inheritDoc} */
     @Override
     public int next() {
         int y;
 
-<span class="fc bfc" id="L196" title="All 2 branches covered.">        if (mti &gt;= N) { // Generate N words at one time.</span>
-<span class="fc" id="L197">            int mtNext = mt[0];</span>
-<span class="fc bfc" id="L198" title="All 2 branches covered.">            for (int k = 0; k &lt; N - M; ++k) {</span>
-<span class="fc" id="L199">                int mtCurr = mtNext;</span>
-<span class="fc" id="L200">                mtNext = mt[k + 1];</span>
-<span class="fc" id="L201">                y = (mtCurr &amp; UPPER_MASK) | (mtNext &amp; LOWER_MASK);</span>
-<span class="fc" id="L202">                mt[k] = mt[k + M] ^ (y &gt;&gt;&gt; 1) ^ MAG01[y &amp; 1];</span>
+<span class="fc bfc" id="L201" title="All 2 branches covered.">        if (mti &gt;= N) { // Generate N words at one time.</span>
+<span class="fc" id="L202">            int mtNext = mt[0];</span>
+<span class="fc bfc" id="L203" title="All 2 branches covered.">            for (int k = 0; k &lt; N - M; ++k) {</span>
+<span class="fc" id="L204">                int mtCurr = mtNext;</span>
+<span class="fc" id="L205">                mtNext = mt[k + 1];</span>
+<span class="fc" id="L206">                y = (mtCurr &amp; UPPER_MASK) | (mtNext &amp; LOWER_MASK);</span>
+<span class="fc" id="L207">                mt[k] = mt[k + M] ^ (y &gt;&gt;&gt; 1) ^ MAG01[y &amp; 1];</span>
             }
-<span class="fc bfc" id="L204" title="All 2 branches covered.">            for (int k = N - M; k &lt; N - 1; ++k) {</span>
-<span class="fc" id="L205">                int mtCurr = mtNext;</span>
-<span class="fc" id="L206">                mtNext = mt[k + 1];</span>
-<span class="fc" id="L207">                y = (mtCurr &amp; UPPER_MASK) | (mtNext &amp; LOWER_MASK);</span>
-<span class="fc" id="L208">                mt[k] = mt[k + (M - N)] ^ (y &gt;&gt;&gt; 1) ^ MAG01[y &amp; 1];</span>
+<span class="fc bfc" id="L209" title="All 2 branches covered.">            for (int k = N - M; k &lt; N - 1; ++k) {</span>
+<span class="fc" id="L210">                int mtCurr = mtNext;</span>
+<span class="fc" id="L211">                mtNext = mt[k + 1];</span>
+<span class="fc" id="L212">                y = (mtCurr &amp; UPPER_MASK) | (mtNext &amp; LOWER_MASK);</span>
+<span class="fc" id="L213">                mt[k] = mt[k + (M - N)] ^ (y &gt;&gt;&gt; 1) ^ MAG01[y &amp; 1];</span>
             }
-<span class="fc" id="L210">            y = (mtNext &amp; UPPER_MASK) | (mt[0] &amp; LOWER_MASK);</span>
-<span class="fc" id="L211">            mt[N - 1] = mt[M - 1] ^ (y &gt;&gt;&gt; 1) ^ MAG01[y &amp; 1];</span>
+<span class="fc" id="L215">            y = (mtNext &amp; UPPER_MASK) | (mt[0] &amp; LOWER_MASK);</span>
+<span class="fc" id="L216">            mt[N - 1] = mt[M - 1] ^ (y &gt;&gt;&gt; 1) ^ MAG01[y &amp; 1];</span>
 
-<span class="fc" id="L213">            mti = 0;</span>
+<span class="fc" id="L218">            mti = 0;</span>
         }
 
-<span class="fc" id="L216">        y = mt[mti++];</span>
+<span class="fc" id="L221">        y = mt[mti++];</span>
 
         // Tempering.
-<span class="fc" id="L219">        y ^=  y &gt;&gt;&gt; 11;</span>
-<span class="fc" id="L220">        y ^= (y &lt;&lt; 7) &amp; 0x9d2c5680;</span>
-<span class="fc" id="L221">        y ^= (y &lt;&lt; 15) &amp; 0xefc60000;</span>
-<span class="fc" id="L222">        y ^=  y &gt;&gt;&gt; 18;</span>
+<span class="fc" id="L224">        y ^=  y &gt;&gt;&gt; 11;</span>
+<span class="fc" id="L225">        y ^= (y &lt;&lt; 7) &amp; 0x9d2c5680;</span>
+<span class="fc" id="L226">        y ^= (y &lt;&lt; 15) &amp; 0xefc60000;</span>
+<span class="fc" id="L227">        y ^=  y &gt;&gt;&gt; 18;</span>
 
-<span class="fc" id="L224">        return y;</span>
+<span class="fc" id="L229">        return y;</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

Added: websites/production/commons/content/proper/commons-rng/jacoco/org.apache.commons.rng.internal.source32/MultiplyWithCarry256.html
==============================================================================
--- websites/production/commons/content/proper/commons-rng/jacoco/org.apache.commons.rng.internal.source32/MultiplyWithCarry256.html (added)
+++ websites/production/commons/content/proper/commons-rng/jacoco/org.apache.commons.rng.internal.source32/MultiplyWithCarry256.html Fri Sep  2 16:37:56 2016
@@ -0,0 +1 @@
+<?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>MultiplyWithCarry256</title><script type="text/javascript" src="../.resources/sort.js"></script></head><body onload="initialSort(['breadcrumb'])"><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.html" class="el_package">org.apache.commons.rng.internal.source32</a> &gt; <span class="el_class">MultiplyWithCarry256</span></div><h1>MultiplyWithCarry256</h1><table class="coverage" cellspacing="0" id="coveraget
 able"><thead><tr><td class="sortable" id="a" onclick="toggleSort(this)">Element</td><td class="down sortable bar" id="b" onclick="toggleSort(this)">Missed Instructions</td><td class="sortable ctr2" id="c" onclick="toggleSort(this)">Cov.</td><td class="sortable bar" id="d" onclick="toggleSort(this)">Missed Branches</td><td class="sortable ctr2" id="e" onclick="toggleSort(this)">Cov.</td><td class="sortable ctr1" id="f" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="g" onclick="toggleSort(this)">Cxty</td><td class="sortable ctr1" id="h" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="i" onclick="toggleSort(this)">Lines</td><td class="sortable ctr1" id="j" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="k" onclick="toggleSort(this)">Methods</td></tr></thead><tfoot><tr><td>Total</td><td class="bar">0 of 188</td><td class="ctr2">100%</td><td class="bar">0 of 12</td><td class="ctr2">100%</td><td class="ctr1">0</td><td class="ctr
 2">11</td><td class="ctr1">0</td><td class="ctr2">34</td><td class="ctr1">0</td><td class="ctr2">5</td></tr></tfoot><tbody><tr><td id="a3"><a href="MultiplyWithCarry256.java.html#L91" class="el_method">setSeedInternal(int[])</a></td><td class="bar" id="b0"><img src="../.resources/greenbar.gif" width="120" height="10" title="84" alt="84"/></td><td class="ctr2" id="c0">100%</td><td class="bar" id="d0"><img src="../.resources/greenbar.gif" width="120" height="10" title="8" alt="8"/></td><td class="ctr2" id="e0">100%</td><td class="ctr1" id="f0">0</td><td class="ctr2" id="g0">5</td><td class="ctr1" id="h0">0</td><td class="ctr2" id="i0">13</td><td class="ctr1" id="j0">0</td><td class="ctr2" id="k0">1</td></tr><tr><td id="a2"><a href="MultiplyWithCarry256.java.html#L120" class="el_method">next()</a></td><td class="bar" id="b1"><img src="../.resources/greenbar.gif" width="72" height="10" title="51" alt="51"/></td><td class="ctr2" id="c1">100%</td><td class="bar" id="d1"><img src="../.reso
 urces/greenbar.gif" width="60" height="10" title="4" alt="4"/></td><td class="ctr2" id="e1">100%</td><td class="ctr1" id="f1">0</td><td class="ctr2" id="g1">3</td><td class="ctr1" id="h1">0</td><td class="ctr2" id="i1">7</td><td class="ctr1" id="j1">0</td><td class="ctr2" id="k1">1</td></tr><tr><td id="a4"><a href="MultiplyWithCarry256.java.html#L73" class="el_method">setStateInternal(byte[])</a></td><td class="bar" id="b2"><img src="../.resources/greenbar.gif" width="35" height="10" title="25" alt="25"/></td><td class="ctr2" id="c2">100%</td><td class="bar" id="d2"/><td class="ctr2" id="e2">n/a</td><td class="ctr1" id="f2">0</td><td class="ctr2" id="g2">1</td><td class="ctr1" id="h2">0</td><td class="ctr2" id="i2">6</td><td class="ctr1" id="j2">0</td><td class="ctr2" id="k2">1</td></tr><tr><td id="a0"><a href="MultiplyWithCarry256.java.html#L63" class="el_method">getStateInternal()</a></td><td class="bar" id="b3"><img src="../.resources/greenbar.gif" width="25" height="10" title="1
 8" alt="18"/></td><td class="ctr2" id="c3">100%</td><td class="bar" id="d3"/><td class="ctr2" id="e3">n/a</td><td class="ctr1" id="f3">0</td><td class="ctr2" id="g3">1</td><td class="ctr1" id="h3">0</td><td class="ctr2" id="i3">4</td><td class="ctr1" id="j3">0</td><td class="ctr2" id="k3">1</td></tr><tr><td id="a1"><a href="MultiplyWithCarry256.java.html#L42" class="el_method">MultiplyWithCarry256(int[])</a></td><td class="bar" id="b4"><img src="../.resources/greenbar.gif" width="14" height="10" title="10" alt="10"/></td><td class="ctr2" id="c4">100%</td><td class="bar" id="d4"/><td class="ctr2" id="e4">n/a</td><td class="ctr1" id="f4">0</td><td class="ctr2" id="g4">1</td><td class="ctr1" id="h4">0</td><td class="ctr2" id="i4">4</td><td class="ctr1" id="j4">0</td><td class="ctr2" id="k4">1</td></tr></tbody></table><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

Propchange: websites/production/commons/content/proper/commons-rng/jacoco/org.apache.commons.rng.internal.source32/MultiplyWithCarry256.html
------------------------------------------------------------------------------
    svn:eol-style = native

Added: websites/production/commons/content/proper/commons-rng/jacoco/org.apache.commons.rng.internal.source32/MultiplyWithCarry256.java.html
==============================================================================
--- websites/production/commons/content/proper/commons-rng/jacoco/org.apache.commons.rng.internal.source32/MultiplyWithCarry256.java.html (added)
+++ websites/production/commons/content/proper/commons-rng/jacoco/org.apache.commons.rng.internal.source32/MultiplyWithCarry256.java.html Fri Sep  2 16:37:56 2016
@@ -0,0 +1,135 @@
+<?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>MultiplyWithCarry256.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.source32</a> &gt; <span class="el_source">MultiplyWithC
 arry256.java</span></div><h1>MultiplyWithCarry256.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.source32;
+
+import java.util.Arrays;
+import org.apache.commons.rng.internal.util.NumberFactory;
+
+/**
+ * Port from Marsaglia's &lt;a href=&quot;https://en.wikipedia.org/wiki/Multiply-with-carry&quot;&gt;
+ * &quot;Multiply-With-Carry&quot; algorithm&lt;/a&gt;.
+ *
+ * &lt;p&gt;
+ * Implementation is based on the (non-portable!) C code reproduced on
+ * &lt;a href=&quot;http://school.anhb.uwa.edu.au/personalpages/kwessen/shared/Marsaglia03.html&quot;&gt;
+ * that page&lt;/a&gt;.
+ * &lt;/p&gt;
+ *
+ * @since 1.0
+ */
+public class MultiplyWithCarry256 extends IntProvider {
+    /** Length of the state array. */
+    private static final int Q_SIZE = 256;
+    /** Size of the seed. */
+    private static final int SEED_SIZE = Q_SIZE + 1;
+    /** Multiply. */
+    private static final long A = 809430660;
+    /** State. */
+<span class="fc" id="L42">    private final int[] state = new int[Q_SIZE];</span>
+    /** Current index in &quot;state&quot; array. */
+    private int index;
+    /** Carry. */
+    private int carry;
+
+    /**
+     * Creates a new instance.
+     *
+     * @param seed Seed.
+     * If the length is larger than 257, only the first 257 elements will
+     * be used; if smaller, the remaining elements will be automatically
+     * set.
+     */
+<span class="fc" id="L56">    public MultiplyWithCarry256(int[] seed) {</span>
+<span class="fc" id="L57">        setSeedInternal(seed);</span>
+<span class="fc" id="L58">    }</span>
+
+    /** {@inheritDoc} */
+    @Override
+    protected byte[] getStateInternal() {
+<span class="fc" id="L63">        final int[] s = Arrays.copyOf(state, SEED_SIZE + 1);</span>
+<span class="fc" id="L64">        s[SEED_SIZE - 1] = carry;</span>
+<span class="fc" id="L65">        s[SEED_SIZE] = index;</span>
+
+<span class="fc" id="L67">        return NumberFactory.makeByteArray(s);</span>
+    }
+
+    /** {@inheritDoc} */
+    @Override
+    protected void setStateInternal(byte[] s) {
+<span class="fc" id="L73">        checkStateSize(s, (SEED_SIZE + 1) * 4);</span>
+
+<span class="fc" id="L75">        final int[] tmp = NumberFactory.makeIntArray(s);</span>
+
+<span class="fc" id="L77">        System.arraycopy(tmp, 0, state, 0, Q_SIZE);</span>
+<span class="fc" id="L78">        carry = tmp[SEED_SIZE - 1];</span>
+<span class="fc" id="L79">        index = tmp[SEED_SIZE];</span>
+<span class="fc" id="L80">    }</span>
+
+    /**
+     * Seeds the RNG.
+     *
+     * @param seed Seed.
+     */
+    private void setSeedInternal(int[] seed) {
+        // Reset the whole state of this RNG (i.e. &quot;state&quot; and &quot;index&quot;).
+        // Seeding procedure is not part of the reference code.
+
+<span class="fc" id="L91">        final int[] tmp = new int[SEED_SIZE];</span>
+<span class="fc" id="L92">        System.arraycopy(seed, 0, tmp, 0, Math.min(seed.length, tmp.length));</span>
+
+<span class="fc bfc" id="L94" title="All 2 branches covered.">        if (seed.length &lt; SEED_SIZE) {</span>
+<span class="fc bfc" id="L95" title="All 2 branches covered.">            for (int i = seed.length; i &lt; SEED_SIZE; i++) {</span>
+<span class="fc" id="L96">                tmp[i] = 26021969 * i;</span>
+            }
+<span class="fc bfc" id="L98" title="All 2 branches covered.">            for (int i = SEED_SIZE - 1; i &gt; seed.length; i--) {</span>
+<span class="fc" id="L99">                tmp[i] ^= tmp[SEED_SIZE - i - 1];</span>
+            }
+
+<span class="fc" id="L102">            tmp[seed.length] = 0x80000000; // Ensuring non-zero initial array.</span>
+        }
+
+        // First element of the &quot;seed&quot; is the initial &quot;carry&quot;.
+<span class="fc" id="L106">        final int c = tmp[0];</span>
+        // Marsaglia's recommendation: 0 &lt;= carry &lt; A.
+<span class="fc bfc" id="L108" title="All 2 branches covered.">        carry = (int) ((c &lt; 0 ? -c : c) % A);</span>
+
+        // Initial state.
+<span class="fc" id="L111">        System.arraycopy(tmp, 1, state, 0, Q_SIZE);</span>
+
+        // Initial index.
+<span class="fc" id="L114">        index = Q_SIZE;</span>
+<span class="fc" id="L115">    }</span>
+
+    /** {@inheritDoc} */
+    @Override
+    public int next() {
+<span class="fc bfc" id="L120" title="All 2 branches covered.">        if (index == Q_SIZE) { // Whole state used up.</span>
+            // Refill.
+<span class="fc bfc" id="L122" title="All 2 branches covered.">            for (int i = 0; i &lt; Q_SIZE; i++) {</span>
+<span class="fc" id="L123">                final long t = A * (state[i] &amp; 0xffffffffL) + carry;</span>
+<span class="fc" id="L124">                carry = (int) (t &gt;&gt; 32);</span>
+<span class="fc" id="L125">                state[i] = (int) t;</span>
+            }
+
+            // Reset current index.
+<span class="fc" id="L129">            index = 0;</span>
+        }
+
+<span class="fc" id="L132">        return state[index++];</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

Propchange: websites/production/commons/content/proper/commons-rng/jacoco/org.apache.commons.rng.internal.source32/MultiplyWithCarry256.java.html
------------------------------------------------------------------------------
    svn:eol-style = native



Mime
View raw message