- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 13 for isEnum (0.04 seconds)
-
build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/KotlinInternalFilteringTest.kt
"Constructor" to "AddedClass(java.lang.String)", "Constructor" to "AddedClass()", "Class" to "AddedEnum", "Field" to "FOO" ) + reportedMembersFor("AddedEnum", isEnum = true) + listOf( "Method" to "AddedEnum.valueOf(java.lang.String)", "Method" to "AddedEnum.values()", "Class" to "AddedObject", "Field" to "INSTANCE", "Field" to "cathedral"
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Fri Mar 14 02:17:00 GMT 2025 - 6.5K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocLinkConverter.java
signature.append(suffix); } } signature.append(")"); methodSignature = signature.toString(); } if (targetClass.isEnum() && targetClass.getEnumConstant(methodSignature) != null) { return linkRenderer.link(targetClass.getEnumConstant(methodSignature), listener); }
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 7K bytes - Click Count (0) -
guava/src/com/google/common/collect/EnumMultiset.java
private transient int distinctElements; private transient long size; /** Creates an empty {@code EnumMultiset}. */ private EnumMultiset(Class<E> type) { this.type = type; checkArgument(type.isEnum()); this.enumConstants = type.getEnumConstants(); this.counts = new int[enumConstants.length]; } private boolean isActuallyE(@Nullable Object o) { if (o instanceof Enum) {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 9.3K bytes - Click Count (0) -
cmd/api-headers_test.go
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Mar 30 00:56:02 GMT 2025 - 1.2K bytes - Click Count (0) -
android/guava/src/com/google/common/math/DoubleUtils.java
int exponent = absX.bitLength() - 1; // exponent == floor(log2(abs(x))) if (exponent < Long.SIZE - 1) { return x.longValue(); } else if (exponent > MAX_EXPONENT) { return x.signum() * POSITIVE_INFINITY; } /* * We need the top SIGNIFICAND_BITS + 1 bits, including the "implicit" one bit. To make rounding
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 5.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ComparisonChainTest.java
new Foo("b", 1, null)); for (Foo a : instances) { for (Foo b : instances) { int comparedUsingComparisonChain = signum(comparatorUsingComparisonChain.compare(a, b)); int comparedUsingComparatorMethods = signum(comparatorUsingComparatorMethods.compare(a, b)); assertWithMessage("%s vs %s", a, b) .that(comparedUsingComparatorMethods)
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Feb 12 03:05:13 GMT 2025 - 7.6K bytes - Click Count (0) -
android/guava/src/com/google/common/math/MathPreconditions.java
throw new IllegalArgumentException(role + " (" + x + ") must be > 0"); } return x; } @CanIgnoreReturnValue static BigInteger checkPositive(String role, BigInteger x) { if (x.signum() <= 0) { throw new IllegalArgumentException(role + " (" + x + ") must be > 0"); } return x; } @CanIgnoreReturnValue static int checkNonNegative(String role, int x) { if (x < 0) {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 3.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/math/MathBenchmarking.java
*/ static BigInteger randomPositiveBigInteger(int numBits) { BigInteger result; do { result = randomNonNegativeBigInteger(numBits); } while (result.signum() == 0); return result; } /** * Generates a number in [0, 2^numBits) with an exponential distribution. The floor of the log2 of
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Aug 10 19:54:19 GMT 2025 - 4.2K bytes - Click Count (0) -
guava/src/com/google/common/math/DoubleUtils.java
int exponent = absX.bitLength() - 1; // exponent == floor(log2(abs(x))) if (exponent < Long.SIZE - 1) { return x.longValue(); } else if (exponent > MAX_EXPONENT) { return x.signum() * POSITIVE_INFINITY; } /* * We need the top SIGNIFICAND_BITS + 1 bits, including the "implicit" one bit. To make rounding
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 5.1K bytes - Click Count (0) -
guava/src/com/google/common/math/BigDecimalMath.java
@Override double roundToDoubleArbitrarily(BigDecimal bigDecimal) { return bigDecimal.doubleValue(); } @Override int sign(BigDecimal bigDecimal) { return bigDecimal.signum(); } @Override BigDecimal toX(double d, RoundingMode mode) { return new BigDecimal(d); } @Override BigDecimal minus(BigDecimal a, BigDecimal b) { return a.subtract(b);Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Jul 17 15:26:41 GMT 2025 - 3K bytes - Click Count (0)