OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:shiftLeft
(Results
1 - 25
of
81
) sorted by null
1
2
3
4
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/
SimpleBigDecimal.java
36
return new SimpleBigDecimal(value.
shiftLeft
(scale), scale);
78
return new SimpleBigDecimal(bigInt.
shiftLeft
(newScale - scale),
90
return new SimpleBigDecimal(bigInt.add(b.
shiftLeft
(scale)), scale);
105
return new SimpleBigDecimal(bigInt.subtract(b.
shiftLeft
(scale)),
123
BigInteger dividend = bigInt.
shiftLeft
(scale);
132
public SimpleBigDecimal
shiftLeft
(int n)
134
return new SimpleBigDecimal(bigInt.
shiftLeft
(n), scale);
145
return bigInt.compareTo(val.
shiftLeft
(scale));
193
BigInteger fract = bigInt.subtract(floorBigInt.
shiftLeft
(scale));
196
fract = ECConstants.ONE.
shiftLeft
(scale).subtract(fract)
[
all
...]
WNafUtil.java
26
BigInteger _3k = k.
shiftLeft
(1).add(k);
192
BigInteger _3k = k.
shiftLeft
(1).add(k);
294
BigInteger _3k = k.
shiftLeft
(1).add(k);
Tnaf.java
93
BigInteger s3 = lambda.v.multiply(lambda.v).
shiftLeft
(1);
135
SimpleBigDecimal s3 = v.multiply(v).
shiftLeft
(1);
344
u[i] = (byte) ECConstants.TWO.subtract((r0.subtract(r1.
shiftLeft
(1))).mod(ECConstants.FOUR)).intValue();
483
u2 = s.subtract(u0.
shiftLeft
(1));
/libcore/luni/src/main/java/java/math/
Multiplication.java
135
res = bigFivePows[1].pow(intExp).
shiftLeft
(intExp);
155
res = res.
shiftLeft
(Integer.MAX_VALUE);
158
res = res.
shiftLeft
(Integer.MAX_VALUE);
161
res = res.
shiftLeft
(intExp);
/external/crcalc/src/com/hp/creals/
CR.java
301
CR result = valueOf(mantissa).
shiftLeft
(exp);
322
return k.
shiftLeft
(n);
328
return k.
shiftLeft
(n);
573
scaled_CR =
shiftLeft
(4*n);
757
public CR
shiftLeft
(int n) {
[
all
...]
UnaryCRFunction.java
409
.
shiftLeft
(rough_prec - working_arg_prec);
411
.
shiftLeft
(rough_prec - working_arg_prec);
417
CR h_cr = CR.valueOf(h).
shiftLeft
(working_arg_prec);
426
CR l_cr = CR.valueOf(l).
shiftLeft
(working_arg_prec);
472
adj = adj.
shiftLeft
(8);
477
.
shiftLeft
(8));
491
.
shiftLeft
(working_arg_prec);
508
.
shiftLeft
(working_arg_prec);
510
.
shiftLeft
(working_arg_prec);
609
CR appr_diff2 = f_high[0].subtract(f_mid[0].
shiftLeft
(1)).add(f_low[0])
[
all
...]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/generators/
DHKeyGeneratorHelper.java
42
min = ONE.
shiftLeft
(m - 1);
DHParametersHelper.java
45
p = q.
shiftLeft
(1).add(ONE);
RSAKeyPairGenerator.java
54
BigInteger squaredBound = ONE.
shiftLeft
(strength - 1);
56
BigInteger minDiff = ONE.
shiftLeft
(mindiffbits);
DSAParametersGenerator.java
186
BigInteger c = x.mod(q.
shiftLeft
(1));
257
BigInteger U = new BigInteger(1, output).mod(ONE.
shiftLeft
(N - 1));
299
BigInteger c = X.mod(q.
shiftLeft
(1));
/external/proguard/src/proguard/evaluation/value/
LongValue.java
150
public LongValue
shiftLeft
(IntegerValue other)
304
public LongValue
shiftLeft
(SpecificLongValue other)
460
public LongValue
shiftLeft
(ParticularIntegerValue other)
462
return
shiftLeft
((SpecificIntegerValue)other);
ParticularIntegerValue.java
151
public IntegerValue
shiftLeft
(IntegerValue other)
158
return other.
shiftLeft
(this);
183
return other.
shiftLeft
(this);
279
public IntegerValue
shiftLeft
(ParticularIntegerValue other)
SpecificIntegerValue.java
119
public IntegerValue
shiftLeft
(IntegerValue other)
126
return other.
shiftLeft
(this);
151
return other.
shiftLeft
(this);
251
public IntegerValue
shiftLeft
(SpecificIntegerValue other)
UnknownLongValue.java
105
public LongValue
shiftLeft
(IntegerValue other)
IntegerValue.java
137
public abstract IntegerValue
shiftLeft
(IntegerValue other);
332
public IntegerValue
shiftLeft
(UnknownIntegerValue other)
334
return
shiftLeft
((IntegerValue)other);
576
public IntegerValue
shiftLeft
(SpecificIntegerValue other)
578
return
shiftLeft
((IntegerValue)other);
820
public IntegerValue
shiftLeft
(ParticularIntegerValue other)
822
return
shiftLeft
((SpecificIntegerValue)other);
ParticularLongValue.java
124
public LongValue
shiftLeft
(IntegerValue other)
212
public LongValue
shiftLeft
(ParticularIntegerValue other)
SpecificLongValue.java
104
public LongValue
shiftLeft
(IntegerValue other)
196
public LongValue
shiftLeft
(SpecificLongValue other)
UnknownIntegerValue.java
121
public IntegerValue
shiftLeft
(IntegerValue other)
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/
BigIntegerHashCodeTest.java
41
aNumber1.add(aNumber2).
shiftLeft
(125);
BigIntegerTest.java
449
a = a.
shiftLeft
(1);
471
* @tests java.math.BigInteger#
shiftLeft
(int)
474
assertTrue("1 << 0", one.
shiftLeft
(0).equals(one));
475
assertTrue("1 << 1", one.
shiftLeft
(1).equals(two));
476
assertTrue("1 << 63", one.
shiftLeft
(63).equals(
478
assertTrue("1 << 64", one.
shiftLeft
(64).equals(
480
assertTrue("1 << 65", one.
shiftLeft
(65).equals(
482
assertTrue("-1 << 0", minusOne.
shiftLeft
(0).equals(minusOne));
483
assertTrue("-1 << 1", minusOne.
shiftLeft
(1).equals(minusTwo));
484
assertTrue("-1 << 63", minusOne.
shiftLeft
(63).equals
[
all
...]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/
Primes.java
525
x = x.mod(ONE.
shiftLeft
(length - 1)).setBit(length - 1);
527
BigInteger c0x2 = c0.
shiftLeft
(1);
528
BigInteger tx2 = x.subtract(ONE).divide(c0x2).add(ONE).
shiftLeft
(1);
541
tx2 = ONE.
shiftLeft
(length - 1).subtract(ONE).divide(c0x2).add(ONE).
shiftLeft
(1);
/external/guava/guava-tests/test/com/google/common/math/
BigIntegerMathTest.java
316
BigInteger plusHalfSquared = result.pow(2).add(result).
shiftLeft
(2).add(ONE);
317
BigInteger x4 = x.
shiftLeft
(2);
321
BigInteger minusHalfSquared = result.pow(2).subtract(result).
shiftLeft
(2).add(ONE);
332
BigInteger plusHalfSquared = result.pow(2).add(result).
shiftLeft
(2).add(ONE);
333
BigInteger x4 = x.
shiftLeft
(2);
337
BigInteger minusHalfSquared = result.pow(2).subtract(result).
shiftLeft
(2).add(ONE);
/external/crcalc/tests/src/com/hp/creals/
CRTest.java
77
check_eq(one.
shiftLeft
(1),two, "
shiftLeft
failed");
91
check_eq(one.divide(four).
shiftLeft
(4), four, "divide failed 1");
/external/guava/guava-gwt/test-super/com/google/common/primitives/super/com/google/common/primitives/
UnsignedLongTest.java
51
.add(BigInteger.ONE.
shiftLeft
(63).add(bigI))
52
.add(BigInteger.ONE.
shiftLeft
(64).add(bigI));
/external/guava/guava-tests/test/com/google/common/primitives/
UnsignedLongTest.java
55
.add(BigInteger.ONE.
shiftLeft
(63).add(bigI))
56
.add(BigInteger.ONE.
shiftLeft
(64).add(bigI));
Completed in 568 milliseconds
1
2
3
4