- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 11 for 1E (0.01 seconds)
-
android/guava-tests/test/com/google/common/primitives/DoublesTest.java
assertThat(converter.convert("0")).isEqualTo(0.0); assertThat(converter.convert("-1")).isEqualTo(-1.0); assertThat(converter.convert("1e6")).isEqualTo(1e6); assertThat(converter.convert("1e-6")).isEqualTo(1e-6); } public void testStringConverter_convertError() { assertThrows( NumberFormatException.class, () -> Doubles.stringConverter().convert("notanumber")); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 01:43:32 GMT 2026 - 30.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/hash/BloomFilterTest.java
bitArray.bitSize() > 0); // Ideally we would also test the bitSize() overflow of this BF, but it runs out of heap space // BloomFilter.create(Funnels.unencodedCharsFunnel(), 244412641, 1e-11); } /** * Asserts that {@link BloomFilter#approximateElementCount} is within 1 percent of the expected * value. */
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 23K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/math/LinearTransformationTest.java
* * @author Pete Gillin */ @GwtIncompatible @J2ktIncompatible @NullUnmarked public class LinearTransformationTest extends TestCase { private static final double ALLOWED_ERROR = 1e-10; public void testMappingAnd_regular() { double x1 = 1.2; double y1 = 3.4; double xDelta = 5.6; double yDelta = 7.8; LinearTransformation transformation =Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:11:48 GMT 2026 - 7.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/math/LinearTransformationTest.java
* * @author Pete Gillin */ @GwtIncompatible @J2ktIncompatible @NullUnmarked public class LinearTransformationTest extends TestCase { private static final double ALLOWED_ERROR = 1e-10; public void testMappingAnd_regular() { double x1 = 1.2; double y1 = 3.4; double xDelta = 5.6; double yDelta = 7.8; LinearTransformation transformation =Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:11:48 GMT 2026 - 7.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/primitives/DoublesTest.java
assertThat(converter.convert("0")).isEqualTo(0.0); assertThat(converter.convert("-1")).isEqualTo(-1.0); assertThat(converter.convert("1e6")).isEqualTo(1e6); assertThat(converter.convert("1e-6")).isEqualTo(1e-6); } public void testStringConverter_convertError() { assertThrows( NumberFormatException.class, () -> Doubles.stringConverter().convert("notanumber")); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 01:43:32 GMT 2026 - 30.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/primitives/FloatsTest.java
assertThat(converter.convert("0")).isEqualTo(0.0f); assertThat(converter.convert("-1")).isEqualTo(-1.0f); assertThat(converter.convert("1e6")).isEqualTo(1e6f); assertThat(converter.convert("1e-6")).isEqualTo(1e-6f); } public void testStringConverter_convertError() { assertThrows(NumberFormatException.class, () -> Floats.stringConverter().convert("notanumber")); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 01:43:32 GMT 2026 - 29.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/primitives/FloatsTest.java
assertThat(converter.convert("0")).isEqualTo(0.0f); assertThat(converter.convert("-1")).isEqualTo(-1.0f); assertThat(converter.convert("1e6")).isEqualTo(1e6f); assertThat(converter.convert("1e-6")).isEqualTo(1e-6f); } public void testStringConverter_convertError() { assertThrows(NumberFormatException.class, () -> Floats.stringConverter().convert("notanumber")); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 01:43:32 GMT 2026 - 29.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/math/StatsTesting.java
*/ @NullUnmarked @J2ktIncompatible @GwtIncompatible class StatsTesting { // TODO(cpovirk): Convince myself that this larger error makes sense. static final double ALLOWED_ERROR = isAndroid() ? .25 : 1e-10; // Inputs and their statistics: static final double ONE_VALUE = 12.34; static final double OTHER_ONE_VALUE = -56.78; static final ImmutableList<Double> TWO_VALUES = ImmutableList.of(12.34, -56.78);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 05:21:26 GMT 2026 - 24K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java
/** * Tests for RateLimiter. * * @author Dimitris Andreou */ @NullUnmarked @GwtIncompatible @J2ktIncompatible public class RateLimiterTest extends TestCase { private static final double EPSILON = 1e-8; private final FakeStopwatch stopwatch = new FakeStopwatch(); public void testSimple() { RateLimiter limiter = RateLimiter.create(5.0, stopwatch); limiter.acquire(); // R0.00, since it's the first requestCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 22K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java
/** * Tests for RateLimiter. * * @author Dimitris Andreou */ @NullUnmarked @GwtIncompatible @J2ktIncompatible public class RateLimiterTest extends TestCase { private static final double EPSILON = 1e-8; private final FakeStopwatch stopwatch = new FakeStopwatch(); public void testSimple() { RateLimiter limiter = RateLimiter.create(5.0, stopwatch); limiter.acquire(); // R0.00, since it's the first requestCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 22K bytes - Click Count (0)