- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 13 for 1E (0.02 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) -
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) -
src/main/java/jcifs/netbios/NbtAddress.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 15.1K bytes - Click Count (0) -
src/test/java/jcifs/smb1/util/HexdumpTest.java
assertTrue(output.contains(" 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F")); // Verify second line contains bytes 16-31 assertTrue(output.contains(" 10 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 1E 1F")); } @Test @DisplayName("Should handle control characters in hexdump") void testHexdumpControlCharacters() { ByteArrayOutputStream baos = new ByteArrayOutputStream();
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.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)