- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 17 for 1E (0.01 sec)
-
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")); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:45:32 UTC 2025 - 30.9K bytes - Viewed (0) -
internal/s3select/json/record.go
// Like fmt %g, but the exponent cutoffs are different // and exponents themselves are not padded to two digits. abs := math.Abs(f) fmt := byte('f') if abs != 0 { if abs < 1e-6 || abs >= 1e21 { fmt = 'e' } } dst = strconv.AppendFloat(dst, f, fmt, -1, 64) if fmt == 'e' { // clean up e-09 to e-9 n := len(dst)
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 5.2K bytes - Viewed (0) -
src/main/java/jcifs/NetbiosAddress.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.1K bytes - Viewed (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. */
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 18:19:59 UTC 2025 - 22.1K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/FormBodyTest.kt
assertThat(formEncode(27)).isEqualTo("%1B") assertThat(formEncode(28)).isEqualTo("%1C") assertThat(formEncode(29)).isEqualTo("%1D") assertThat(formEncode(30)).isEqualTo("%1E") assertThat(formEncode(31)).isEqualTo("%1F") // Browsers use '+' for space. assertThat(formEncode(32)).isEqualTo("+") assertThat(formEncode(33)).isEqualTo("%21")
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 7.9K bytes - Viewed (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();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.4K bytes - Viewed (0) -
src/main/java/jcifs/netbios/NbtAddress.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 15.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/StatsTesting.java
* * @author Pete Gillin */ @NullUnmarked 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);Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 23.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java
import org.mockito.Mockito; /** * Tests for RateLimiter. * * @author Dimitris Andreou */ @NullUnmarked 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 requestRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 18:19:59 UTC 2025 - 21.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java
import org.mockito.Mockito; /** * Tests for RateLimiter. * * @author Dimitris Andreou */ @NullUnmarked 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 requestRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 18:19:59 UTC 2025 - 21.9K bytes - Viewed (0)