CPD Results
The following document contains the results of PMD's CPD 7.6.0.
Duplications
File | Line |
---|---|
io/github/olyutorskii/aletojio/rng/xorsft/Xoshiro256pp.java | 61 |
io/github/olyutorskii/aletojio/rng/xorsft/Xoshiro256ss.java | 63 |
tmp2 ^= tmp0; tmp3 ^= tmp1; tmp1 ^= tmp2; tmp0 ^= tmp3; tmp2 ^= lsft1; tmp3 = Long.rotateLeft(tmp3, ROTL_1); this.s0 = tmp0; this.s1 = tmp1; this.s2 = tmp2; this.s3 = tmp3; return result; } /** * Set seed. * * <p>At least one seed must be non-zero. * * @param s0Arg seed0 * @param s1Arg seed1 * @param s2Arg seed2 * @param s3Arg seed3 * @throws IllegalArgumentException At least one seed must be non-zero */ public void setSeed(long s0Arg, long s1Arg, long s2Arg, long s3Arg) throws IllegalArgumentException { if ((s0Arg | s1Arg | s2Arg | s3Arg) == 0L) { throw new IllegalArgumentException(MSG_ILLSEED); } this.s0 = s0Arg; this.s1 = s1Arg; this.s2 = s2Arg; this.s3 = s3Arg; return; } } |