Java Code Examples for sun.misc.FDBigInteger#makeImmutable()
The following examples show how to use
sun.misc.FDBigInteger#makeImmutable() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: TestFDBigInteger.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 6 votes |
private static void testRightInplaceSub() throws Exception { for (int p5 = 0; p5 <= MAX_P5; p5++) { for (int p2 = 0; p2 <= MAX_P2; p2++) { // for (int p5r = 0; p5r <= p5; p5r += 10) { // for (int p2r = 0; p2r <= p2; p2r += 10) { for (int p5r = 0; p5r <= p5; p5r++) { for (int p2r = 0; p2r <= p2; p2r++) { // This strange way of creating a value ensures that it is mutable. FDBigInteger left = FDBigInteger.valueOfPow52(0, 0).multByPow52(p5, p2); FDBigInteger right = FDBigInteger.valueOfPow52(0, 0).multByPow52(p5r, p2r); testRightInplaceSub(left, right, false); right = FDBigInteger.valueOfPow52(0, 0).multByPow52(p5r, p2r); right.makeImmutable(); testRightInplaceSub(left, right, true); } } } } }
Example 2
Source File: TestFDBigInteger.java From jdk8u_jdk with GNU General Public License v2.0 | 6 votes |
private static void testLeftInplaceSub() throws Exception { for (int p5 = 0; p5 <= MAX_P5; p5++) { for (int p2 = 0; p2 <= MAX_P2; p2++) { // for (int p5r = 0; p5r <= p5; p5r += 10) { // for (int p2r = 0; p2r <= p2; p2r += 10) { for (int p5r = 0; p5r <= p5; p5r++) { for (int p2r = 0; p2r <= p2; p2r++) { // This strange way of creating a value ensures that it is mutable. FDBigInteger left = FDBigInteger.valueOfPow52(0, 0).multByPow52(p5, p2); FDBigInteger right = FDBigInteger.valueOfPow52(0, 0).multByPow52(p5r, p2r); testLeftInplaceSub(left, right, false); left = FDBigInteger.valueOfPow52(0, 0).multByPow52(p5, p2); left.makeImmutable(); testLeftInplaceSub(left, right, true); } } } } }
Example 3
Source File: TestFDBigInteger.java From dragonwell8_jdk with GNU General Public License v2.0 | 6 votes |
private static void testRightInplaceSub() throws Exception { for (int p5 = 0; p5 <= MAX_P5; p5++) { for (int p2 = 0; p2 <= MAX_P2; p2++) { // for (int p5r = 0; p5r <= p5; p5r += 10) { // for (int p2r = 0; p2r <= p2; p2r += 10) { for (int p5r = 0; p5r <= p5; p5r++) { for (int p2r = 0; p2r <= p2; p2r++) { // This strange way of creating a value ensures that it is mutable. FDBigInteger left = FDBigInteger.valueOfPow52(0, 0).multByPow52(p5, p2); FDBigInteger right = FDBigInteger.valueOfPow52(0, 0).multByPow52(p5r, p2r); testRightInplaceSub(left, right, false); right = FDBigInteger.valueOfPow52(0, 0).multByPow52(p5r, p2r); right.makeImmutable(); testRightInplaceSub(left, right, true); } } } } }
Example 4
Source File: TestFDBigInteger.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 6 votes |
private static void testLeftInplaceSub() throws Exception { for (int p5 = 0; p5 <= MAX_P5; p5++) { for (int p2 = 0; p2 <= MAX_P2; p2++) { // for (int p5r = 0; p5r <= p5; p5r += 10) { // for (int p2r = 0; p2r <= p2; p2r += 10) { for (int p5r = 0; p5r <= p5; p5r++) { for (int p2r = 0; p2r <= p2; p2r++) { // This strange way of creating a value ensures that it is mutable. FDBigInteger left = FDBigInteger.valueOfPow52(0, 0).multByPow52(p5, p2); FDBigInteger right = FDBigInteger.valueOfPow52(0, 0).multByPow52(p5r, p2r); testLeftInplaceSub(left, right, false); left = FDBigInteger.valueOfPow52(0, 0).multByPow52(p5, p2); left.makeImmutable(); testLeftInplaceSub(left, right, true); } } } } }
Example 5
Source File: TestFDBigInteger.java From TencentKona-8 with GNU General Public License v2.0 | 6 votes |
private static void testRightInplaceSub() throws Exception { for (int p5 = 0; p5 <= MAX_P5; p5++) { for (int p2 = 0; p2 <= MAX_P2; p2++) { // for (int p5r = 0; p5r <= p5; p5r += 10) { // for (int p2r = 0; p2r <= p2; p2r += 10) { for (int p5r = 0; p5r <= p5; p5r++) { for (int p2r = 0; p2r <= p2; p2r++) { // This strange way of creating a value ensures that it is mutable. FDBigInteger left = FDBigInteger.valueOfPow52(0, 0).multByPow52(p5, p2); FDBigInteger right = FDBigInteger.valueOfPow52(0, 0).multByPow52(p5r, p2r); testRightInplaceSub(left, right, false); right = FDBigInteger.valueOfPow52(0, 0).multByPow52(p5r, p2r); right.makeImmutable(); testRightInplaceSub(left, right, true); } } } } }
Example 6
Source File: TestFDBigInteger.java From jdk8u-dev-jdk with GNU General Public License v2.0 | 6 votes |
private static void testRightInplaceSub() throws Exception { for (int p5 = 0; p5 <= MAX_P5; p5++) { for (int p2 = 0; p2 <= MAX_P2; p2++) { // for (int p5r = 0; p5r <= p5; p5r += 10) { // for (int p2r = 0; p2r <= p2; p2r += 10) { for (int p5r = 0; p5r <= p5; p5r++) { for (int p2r = 0; p2r <= p2; p2r++) { // This strange way of creating a value ensures that it is mutable. FDBigInteger left = FDBigInteger.valueOfPow52(0, 0).multByPow52(p5, p2); FDBigInteger right = FDBigInteger.valueOfPow52(0, 0).multByPow52(p5r, p2r); testRightInplaceSub(left, right, false); right = FDBigInteger.valueOfPow52(0, 0).multByPow52(p5r, p2r); right.makeImmutable(); testRightInplaceSub(left, right, true); } } } } }
Example 7
Source File: TestFDBigInteger.java From openjdk-8 with GNU General Public License v2.0 | 6 votes |
private static void testRightInplaceSub() throws Exception { for (int p5 = 0; p5 <= MAX_P5; p5++) { for (int p2 = 0; p2 <= MAX_P2; p2++) { // for (int p5r = 0; p5r <= p5; p5r += 10) { // for (int p2r = 0; p2r <= p2; p2r += 10) { for (int p5r = 0; p5r <= p5; p5r++) { for (int p2r = 0; p2r <= p2; p2r++) { // This strange way of creating a value ensures that it is mutable. FDBigInteger left = FDBigInteger.valueOfPow52(0, 0).multByPow52(p5, p2); FDBigInteger right = FDBigInteger.valueOfPow52(0, 0).multByPow52(p5r, p2r); testRightInplaceSub(left, right, false); right = FDBigInteger.valueOfPow52(0, 0).multByPow52(p5r, p2r); right.makeImmutable(); testRightInplaceSub(left, right, true); } } } } }
Example 8
Source File: TestFDBigInteger.java From jdk8u60 with GNU General Public License v2.0 | 6 votes |
private static void testRightInplaceSub() throws Exception { for (int p5 = 0; p5 <= MAX_P5; p5++) { for (int p2 = 0; p2 <= MAX_P2; p2++) { // for (int p5r = 0; p5r <= p5; p5r += 10) { // for (int p2r = 0; p2r <= p2; p2r += 10) { for (int p5r = 0; p5r <= p5; p5r++) { for (int p2r = 0; p2r <= p2; p2r++) { // This strange way of creating a value ensures that it is mutable. FDBigInteger left = FDBigInteger.valueOfPow52(0, 0).multByPow52(p5, p2); FDBigInteger right = FDBigInteger.valueOfPow52(0, 0).multByPow52(p5r, p2r); testRightInplaceSub(left, right, false); right = FDBigInteger.valueOfPow52(0, 0).multByPow52(p5r, p2r); right.makeImmutable(); testRightInplaceSub(left, right, true); } } } } }
Example 9
Source File: TestFDBigInteger.java From hottub with GNU General Public License v2.0 | 6 votes |
private static void testRightInplaceSub() throws Exception { for (int p5 = 0; p5 <= MAX_P5; p5++) { for (int p2 = 0; p2 <= MAX_P2; p2++) { // for (int p5r = 0; p5r <= p5; p5r += 10) { // for (int p2r = 0; p2r <= p2; p2r += 10) { for (int p5r = 0; p5r <= p5; p5r++) { for (int p2r = 0; p2r <= p2; p2r++) { // This strange way of creating a value ensures that it is mutable. FDBigInteger left = FDBigInteger.valueOfPow52(0, 0).multByPow52(p5, p2); FDBigInteger right = FDBigInteger.valueOfPow52(0, 0).multByPow52(p5r, p2r); testRightInplaceSub(left, right, false); right = FDBigInteger.valueOfPow52(0, 0).multByPow52(p5r, p2r); right.makeImmutable(); testRightInplaceSub(left, right, true); } } } } }
Example 10
Source File: TestFDBigInteger.java From jdk8u-jdk with GNU General Public License v2.0 | 6 votes |
private static void testLeftInplaceSub() throws Exception { for (int p5 = 0; p5 <= MAX_P5; p5++) { for (int p2 = 0; p2 <= MAX_P2; p2++) { // for (int p5r = 0; p5r <= p5; p5r += 10) { // for (int p2r = 0; p2r <= p2; p2r += 10) { for (int p5r = 0; p5r <= p5; p5r++) { for (int p2r = 0; p2r <= p2; p2r++) { // This strange way of creating a value ensures that it is mutable. FDBigInteger left = FDBigInteger.valueOfPow52(0, 0).multByPow52(p5, p2); FDBigInteger right = FDBigInteger.valueOfPow52(0, 0).multByPow52(p5r, p2r); testLeftInplaceSub(left, right, false); left = FDBigInteger.valueOfPow52(0, 0).multByPow52(p5, p2); left.makeImmutable(); testLeftInplaceSub(left, right, true); } } } } }
Example 11
Source File: TestFDBigInteger.java From openjdk-8 with GNU General Public License v2.0 | 6 votes |
private static void testLeftInplaceSub() throws Exception { for (int p5 = 0; p5 <= MAX_P5; p5++) { for (int p2 = 0; p2 <= MAX_P2; p2++) { // for (int p5r = 0; p5r <= p5; p5r += 10) { // for (int p2r = 0; p2r <= p2; p2r += 10) { for (int p5r = 0; p5r <= p5; p5r++) { for (int p2r = 0; p2r <= p2; p2r++) { // This strange way of creating a value ensures that it is mutable. FDBigInteger left = FDBigInteger.valueOfPow52(0, 0).multByPow52(p5, p2); FDBigInteger right = FDBigInteger.valueOfPow52(0, 0).multByPow52(p5r, p2r); testLeftInplaceSub(left, right, false); left = FDBigInteger.valueOfPow52(0, 0).multByPow52(p5, p2); left.makeImmutable(); testLeftInplaceSub(left, right, true); } } } } }
Example 12
Source File: TestFDBigInteger.java From jdk8u-dev-jdk with GNU General Public License v2.0 | 5 votes |
private static void testMultBy10() throws Exception { for (int p5 = 0; p5 <= MAX_P5; p5++) { for (int p2 = 0; p2 <= MAX_P2; p2++) { // This strange way of creating a value ensures that it is mutable. FDBigInteger value = FDBigInteger.valueOfPow52(0, 0).multByPow52(p5, p2); testMultBy10(value, false); value.makeImmutable(); testMultBy10(value, true); } } }
Example 13
Source File: TestFDBigInteger.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
private static void testMultBy10() throws Exception { for (int p5 = 0; p5 <= MAX_P5; p5++) { for (int p2 = 0; p2 <= MAX_P2; p2++) { // This strange way of creating a value ensures that it is mutable. FDBigInteger value = FDBigInteger.valueOfPow52(0, 0).multByPow52(p5, p2); testMultBy10(value, false); value.makeImmutable(); testMultBy10(value, true); } } }
Example 14
Source File: TestFDBigInteger.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
private static void testMultBy10() throws Exception { for (int p5 = 0; p5 <= MAX_P5; p5++) { for (int p2 = 0; p2 <= MAX_P2; p2++) { // This strange way of creating a value ensures that it is mutable. FDBigInteger value = FDBigInteger.valueOfPow52(0, 0).multByPow52(p5, p2); testMultBy10(value, false); value.makeImmutable(); testMultBy10(value, true); } } }
Example 15
Source File: TestFDBigInteger.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
private static void testMultBy10() throws Exception { for (int p5 = 0; p5 <= MAX_P5; p5++) { for (int p2 = 0; p2 <= MAX_P2; p2++) { // This strange way of creating a value ensures that it is mutable. FDBigInteger value = FDBigInteger.valueOfPow52(0, 0).multByPow52(p5, p2); testMultBy10(value, false); value.makeImmutable(); testMultBy10(value, true); } } }
Example 16
Source File: TestFDBigInteger.java From hottub with GNU General Public License v2.0 | 4 votes |
private static FDBigInteger immutable(String hex, int offset) { FDBigInteger fd = mutable(hex, offset); fd.makeImmutable(); return fd; }
Example 17
Source File: TestFDBigInteger.java From jdk8u-jdk with GNU General Public License v2.0 | 4 votes |
private static FDBigInteger immutable(String hex, int offset) { FDBigInteger fd = mutable(hex, offset); fd.makeImmutable(); return fd; }
Example 18
Source File: TestFDBigInteger.java From jdk8u60 with GNU General Public License v2.0 | 4 votes |
private static FDBigInteger immutable(String hex, int offset) { FDBigInteger fd = mutable(hex, offset); fd.makeImmutable(); return fd; }
Example 19
Source File: TestFDBigInteger.java From jdk8u_jdk with GNU General Public License v2.0 | 4 votes |
private static FDBigInteger immutable(String hex, int offset) { FDBigInteger fd = mutable(hex, offset); fd.makeImmutable(); return fd; }
Example 20
Source File: TestFDBigInteger.java From openjdk-8-source with GNU General Public License v2.0 | 4 votes |
private static FDBigInteger immutable(String hex, int offset) { FDBigInteger fd = mutable(hex, offset); fd.makeImmutable(); return fd; }