- Sort Score
- Result 10 results
- Languages All
Results 371 - 380 of 3,763 for int (0.04 sec)
-
guava-tests/test/com/google/common/math/MathTesting.java
// Add small multiples of MIN_VALUE and MIN_NORMAL for (int scale = 1; scale <= 4; scale++) { for (double d : Doubles.asList(Double.MIN_VALUE, Double.MIN_NORMAL)) { fractionalBuilder.add(d * scale).add(-d * scale); } } for (int i = Double.MIN_EXPONENT; i <= Double.MAX_EXPONENT; i++) { for (int direction : new int[] {1, -1}) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 10 19:45:10 UTC 2022 - 11.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/MathTesting.java
// Add small multiples of MIN_VALUE and MIN_NORMAL for (int scale = 1; scale <= 4; scale++) { for (double d : Doubles.asList(Double.MIN_VALUE, Double.MIN_NORMAL)) { fractionalBuilder.add(d * scale).add(-d * scale); } } for (int i = Double.MIN_EXPONENT; i <= Double.MAX_EXPONENT; i++) { for (int direction : new int[] {1, -1}) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 10 19:45:10 UTC 2022 - 11.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/RegularImmutableTable.java
RegularImmutableTable() {} abstract Cell<R, C, V> getCell(int iterationIndex); @Override final ImmutableSet<Cell<R, C, V>> createCellSet() { return isEmpty() ? ImmutableSet.<Cell<R, C, V>>of() : new CellSet(); } @WeakOuter private final class CellSet extends IndexedImmutableSet<Cell<R, C, V>> { @Override public int size() { return RegularImmutableTable.this.size(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 7.1K bytes - Viewed (0) -
.teamcity/src/main/kotlin/model/bucket-extensions.kt
*/ fun <T, R> splitIntoBuckets( list: LinkedList<T>, toIntFunction: (T) -> Int, largeElementSplitFunction: (T, Int) -> List<R>, smallElementAggregateFunction: (List<T>) -> R, expectedBucketNumber: Int, maxNumberInBucket: Int, noElementSplitFunction: (Int) -> List<R> = { throw IllegalArgumentException("More buckets than things to split") },
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Thu Nov 17 05:17:44 UTC 2022 - 4K bytes - Viewed (0) -
android/guava/src/com/google/common/base/JdkPattern.java
} @Override public boolean find(int index) { return matcher.find(index); } @Override public String replaceAll(String replacement) { return matcher.replaceAll(replacement); } @Override public int end() { return matcher.end(); } @Override public int start() { return matcher.start(); } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Feb 09 15:49:48 UTC 2024 - 2.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans2/Trans2FindFirst2.java
// flags static final int FLAGS_CLOSE_AFTER_THIS_REQUEST = 0x01; static final int FLAGS_CLOSE_IF_END_REACHED = 0x02; static final int FLAGS_RETURN_RESUME_KEYS = 0x04; static final int FLAGS_RESUME_FROM_PREVIOUS_END = 0x08; static final int FLAGS_FIND_WITH_BACKUP_INTENT = 0x10; private int searchAttributes; private int tflags; private int informationLevel;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 4.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/IntMathTest.java
private static int saturatedCast(BigInteger big) { if (big.compareTo(MAX_INT) > 0) { return Integer.MAX_VALUE; } if (big.compareTo(MIN_INT) < 0) { return Integer.MIN_VALUE; } return big.intValue(); } private void assertOperationEquals(int a, int b, String op, int expected, int actual) { if (expected != actual) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 23.1K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/util/concurrent/AbstractFutureFootprintBenchmark.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 16 17:21:56 UTC 2024 - 2.9K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/math/BigIntegerMathBenchmark.java
@Benchmark int factorial(int reps) { int tmp = 0; for (int i = 0; i < reps; i++) { int j = i & ARRAY_MASK; tmp += BigIntegerMath.factorial(factorials[j]).intValue(); } return tmp; } @Benchmark int binomial(int reps) { int tmp = 0; for (int i = 0; i < reps; i++) { int j = i & 0xffff; tmp += BigIntegerMath.binomial(factorials[j], binomials[j]).intValue(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Aug 19 16:21:24 UTC 2024 - 3.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/ndr/NdrBuffer.java
} } public int align(int boundary) { int m = boundary - 1; int i = index - start; int n = ((i + m) & ~m) - i; advance(n); return n; } public void enc_ndr_small(int s) { buf[index] = (byte)(s & 0xFF); advance(1); } public int dec_ndr_small() { int val = buf[index] & 0xFF; advance(1);
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 20:39:42 UTC 2019 - 6.1K bytes - Viewed (0)