- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 337 for si_value (0.25 sec)
-
android/guava-tests/test/com/google/common/math/BigDecimalMathTest.java
} public void testRoundToDouble_halfMinDouble() { BigDecimal minDouble = new BigDecimal(Double.MIN_VALUE); BigDecimal halfMinDouble = minDouble.divide(BigDecimal.valueOf(2)); new RoundToDoubleTester(halfMinDouble) .roundUnnecessaryShouldThrow() .setExpectation(Double.MIN_VALUE, UP, CEILING, HALF_UP) .setExpectation(0.0, HALF_EVEN, FLOOR, DOWN, HALF_DOWN) .test(); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 10.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/quantization/tensorflow/tf_to_quant.cc
// a special case that there are tf.Identity ops between the min/max // constants and the tf.FakeQuantWithMinMaxVarsOp. Value min = tf_op.getMin(), max = tf_op.getMax(); DenseFPElementsAttr min_value, max_value; if (auto id1 = dyn_cast_or_null<TF::IdentityOp>(min.getDefiningOp())) { id1.replaceAllUsesWith(id1.getInput()); min = tf_op.getMin(); rewriter.eraseOp(id1); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 8.1K bytes - Viewed (0) -
android/guava/src/com/google/common/math/IntMath.java
} /** * Returns {@code true} if {@code x} represents a power of two. * * <p>This differs from {@code Integer.bitCount(x) == 1}, because {@code * Integer.bitCount(Integer.MIN_VALUE) == 1}, but {@link Integer#MIN_VALUE} is not a power of two. */ public static boolean isPowerOfTwo(int x) { return x > 0 & (x & (x - 1)) == 0; } /**
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 07 17:50:39 UTC 2024 - 23.5K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/SignedBytes.java
* {@link Byte#MAX_VALUE} if it is too large, or {@link Byte#MIN_VALUE} if it is too small */ public static byte saturatedCast(long value) { if (value > Byte.MAX_VALUE) { return Byte.MAX_VALUE; } if (value < Byte.MIN_VALUE) { return Byte.MIN_VALUE; } return (byte) value; } /**
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Apr 22 13:09:25 UTC 2021 - 7.5K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/reflect/JavaPropertyReflectionUtilTest.groovy
writeableProperty(JavaTestSubject, "myProperty", String.class).setValue(myProperties, "otherValue") then: readableProperty(JavaTestSubject, String, "myProperty").getValue(myProperties) == "otherValue" } def "write property with multiple setters"() { when: writeableProperty(JavaTestSubject, "myProperty2", String.class).setValue(myProperties, "stringValue") then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 11.9K bytes - Viewed (0) -
analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/localDelegatedProperty.kt
// FILE: context.kt import kotlin.reflect.KProperty class Delegate(private var value: String) { operator fun getValue(thisRef: Any?, property: KProperty<*>): String { return value } operator fun setValue(thisRef: Any?, property: KProperty<*>, value: String) { this.value = value } } fun test() { var x by Delegate("a") <caret_context>x } // MODULE: main
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Tue Jan 30 11:41:26 UTC 2024 - 541 bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/snapshot/impl/SnapshotSerializerTest.groovy
integer(Integer.MAX_VALUE) | _ integer(Integer.MIN_VALUE) | _ new LongValueSnapshot(123L) | _ new LongValueSnapshot(0L) | _ new LongValueSnapshot(Long.MAX_VALUE) | _ new LongValueSnapshot(Long.MIN_VALUE) | _ new ShortValueSnapshot(123 as short) | _ new ShortValueSnapshot(0 as short) | _
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jan 11 20:22:01 UTC 2024 - 8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/IntMathTest.java
assertMean(0, -1, 2); assertMean(0, Integer.MIN_VALUE + 2, Integer.MAX_VALUE); assertMean(0, 0, 1); assertMean(-1, -1, 0); assertMean(-1, Integer.MIN_VALUE, Integer.MAX_VALUE); // x == y == mean assertMean(1, 1, 1); assertMean(0, 0, 0); assertMean(-1, -1, -1); assertMean(Integer.MIN_VALUE, Integer.MIN_VALUE, Integer.MIN_VALUE);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 07 17:50:39 UTC 2024 - 24.5K bytes - Viewed (0) -
platforms/core-configuration/model-groovy/src/integTest/groovy/org/gradle/model/dsl/internal/transform/ModelDslRuleInputDetectionIntegrationSpec.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 13.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/SignedBytesTest.java
@GwtCompatible(emulated = true) public class SignedBytesTest extends TestCase { private static final byte[] EMPTY = {}; private static final byte[] ARRAY1 = {(byte) 1}; private static final byte LEAST = Byte.MIN_VALUE; private static final byte GREATEST = Byte.MAX_VALUE; private static final byte[] VALUES = {LEAST, -1, 0, 1, GREATEST}; public void testCheckedCast() { for (byte value : VALUES) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Feb 20 17:00:05 UTC 2024 - 7K bytes - Viewed (0)