- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 163 for uintValue (0.21 sec)
-
android/guava-tests/test/com/google/common/collect/ComparatorsTest.java
Comparator<Number> numberComparator = // Can't use Comparator.comparing(Number::intValue) due to Java 7 compatibility. new Comparator<Number>() { @Override public int compare(Number a, Number b) { return a.intValue() - b.intValue(); } }; Integer comparand1 = 1; Integer comparand2 = 2;
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Apr 11 08:42:51 UTC 2024 - 5.6K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/math/BigIntegerMathRoundingBenchmark.java
int j = i & ARRAY_MASK; tmp += BigIntegerMath.sqrt(positive[j], mode).intValue(); } return tmp; } @Benchmark int divide(int reps) { int tmp = 0; for (int i = 0; i < reps; i++) { int j = i & ARRAY_MASK; tmp += BigIntegerMath.divide(nonzero1[j], nonzero2[j], mode).intValue(); } return tmp; } @Benchmark long roundToDouble(int reps) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jun 30 13:06:20 UTC 2020 - 2.8K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/math/BigIntegerMathRoundingBenchmark.java
int j = i & ARRAY_MASK; tmp += BigIntegerMath.sqrt(positive[j], mode).intValue(); } return tmp; } @Benchmark int divide(int reps) { int tmp = 0; for (int i = 0; i < reps; i++) { int j = i & ARRAY_MASK; tmp += BigIntegerMath.divide(nonzero1[j], nonzero2[j], mode).intValue(); } return tmp; } @Benchmark long roundToDouble(int reps) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jun 30 13:06:20 UTC 2020 - 2.8K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/math/IntMathBenchmark.java
factorial[i] = RANDOM_SOURCE.nextInt(50); binomial[i] = RANDOM_SOURCE.nextInt(factorial[i] + 1); positive[i] = randomPositiveBigInteger(Integer.SIZE - 1).intValue(); nonnegative[i] = randomNonNegativeBigInteger(Integer.SIZE - 1).intValue(); ints[i] = RANDOM_SOURCE.nextInt(); } } @Benchmark int pow(int reps) { int tmp = 0; for (int i = 0; i < reps; i++) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 3.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AtomicDoubleTest.java
at.set(x); assertEquals(Double.toString(x), at.toString()); } } /** intValue returns current value. */ public void testIntValue() { AtomicDouble at = new AtomicDouble(); assertEquals(0, at.intValue()); for (double x : VALUES) { at.set(x); assertEquals((int) x, at.intValue()); } } /** longValue returns current value. */ public void testLongValue() {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Jun 10 19:21:11 UTC 2024 - 6.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/searchlist/ListForm.java
if (num == null) { num = fessConfig.getPagingSearchPageSizeAsInteger(); } if (num > fessConfig.getPagingSearchPageMaxSizeAsInteger().intValue() || num <= 0) { num = fessConfig.getPagingSearchPageMaxSizeAsInteger(); } return num; } @Override public String[] getLanguages() {
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 4.7K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/math/ApacheBenchmark.java
for (int j = 0; j < 2; j++) { nonnegInt[i][j] = randomNonNegativeBigInteger(Integer.SIZE - 2).intValue(); nonnegLong[i][j] = randomNonNegativeBigInteger(Long.SIZE - 2).longValue(); } do { for (int j = 0; j < 2; j++) { intsToAdd[i][j] = randomBigInteger(Integer.SIZE - 2).intValue(); } } while (!Impl.GUAVA.noAddOverflow(intsToAdd[i][0], intsToAdd[i][1])); do {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 6.9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/convert/IntegerConversionUtil.java
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 3.7K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/JavassistExtensions.kt
get() = hasAnnotation(Metadata::class.qualifiedName) internal val CtMethod.isSynthetic get() = methodInfo.getAttribute(SyntheticAttribute.tag) != null internal val MemberValue.intValue: Int get() { var value: Int? = null accept(object : MemberValueVisitorAdapter() { override fun visitIntegerMemberValue(node: IntegerMemberValue) { value = node.value
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 4.6K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/labels.go
func getIntValueFromLabel(labels map[string]string, label string) (int, error) { if strValue, found := labels[label]; found { intValue, err := strconv.Atoi(strValue) if err != nil { // This really should not happen. Just set value to 0 to handle this abnormal case return 0, err } return intValue, nil } // Do not report error, because there should be many old containers without label now.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 22 02:01:31 UTC 2024 - 10.9K bytes - Viewed (0)