- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 25 for 0001C (0.02 sec)
-
src/test/java/jcifs/smb/compression/DefaultCompressionServiceTest.java
assertTrue(ratio >= 0.0 && ratio <= 1.0); double noneRatio = compressionService.estimateCompressionRatio(testData, CompressionService.COMPRESSION_NONE); assertEquals(1.0, noneRatio, 0.001); } @Test @DisplayName("Test configuration limits") public void testConfigurationLimits() { assertTrue(compressionService.getMinCompressionSize() > 0);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 9.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileFsSizeInformationTest.java
double percentUsed = ((fileFsSizeInfo.getCapacity() - fileFsSizeInfo.getFree()) * 100.0) / fileFsSizeInfo.getCapacity(); // Then assertEquals(25.0, percentFree, 0.001); assertEquals(75.0, percentUsed, 0.001); } }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 25.9K bytes - Viewed (0) -
src/test/java/org/codelibs/core/lang/StringUtilTest.java
assertEquals("010203", StringUtil.toHex(new byte[] { 1, 2, 3 })); } /** * @throws Exception */ @Test public void testToHex2() throws Exception { assertEquals("0001", StringUtil.toHex(1)); } /** * @throws Exception */ @Test public void testAppendHex() throws Exception { final StringBuilder buf = new StringBuilder();
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat Nov 22 11:21:59 UTC 2025 - 11.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileFsFullSizeInformationTest.java
((fileFsFullSizeInfo.getCapacity() - fileFsFullSizeInfo.getFree()) * 100.0) / fileFsFullSizeInfo.getCapacity(); // Then assertEquals(25.0, percentFree, 0.001); assertEquals(75.0, percentUsed, 0.001); } @Test @DisplayName("Should differentiate between caller available and actual free units")
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 30.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/DoubleMathTest.java
Doubles.asList( -Double.MIN_VALUE, -Double.MIN_NORMAL, -1, -20, Double.NaN, Double.NEGATIVE_INFINITY, -0.001)); public void testFuzzyEqualsFinite() { for (double a : FINITE_DOUBLE_CANDIDATES) { for (double b : FINITE_DOUBLE_CANDIDATES) { for (double tolerance : FINITE_TOLERANCE_CANDIDATES) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Oct 30 14:15:36 UTC 2025 - 27.3K bytes - Viewed (0) -
guava/src/com/google/common/net/InetAddresses.java
* <dt>An IPv6 "IPv4 compatible" (or "compat") address, {@code "::192.168.0.1"}. * <dd>{@code 00 00 00 00 00 00 00 00 00 00 00 00 c0 a8 00 01} * <dt>An IPv6 "IPv4 mapped" address, {@code "::ffff:192.168.0.1"}. * <dd>{@code 00 00 00 00 00 00 00 00 00 00 ff ff c0 a8 00 01} * </dl> * * <p>A few notes about IPv6 "IPv4 mapped" addresses and their observed use in Java. *
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Feb 19 21:24:11 UTC 2025 - 47.4K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlTest.kt
base .newBuilder() .host("[::0001]") .build() .toString(), ).isEqualTo("http://[::1]/") assertThat( base .newBuilder() .host("::1") .build() .toString(), ).isEqualTo("http://[::1]/") assertThat( base .newBuilder() .host("::0001") .build() .toString(),Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Mon Aug 04 07:38:48 UTC 2025 - 69.9K bytes - Viewed (0) -
guava/src/com/google/common/collect/CompactHashMap.java
/** * Maximum allowed false positive probability of detecting a hash flooding attack given random * input. */ @VisibleForTesting( ) static final double HASH_FLOODING_FPP = 0.001; /** * Maximum allowed length of a hash table bucket before falling back to a j.u.LinkedHashMap-based * implementation. Experimentally determined. */ private static final int MAX_HASH_BUCKET_LENGTH = 9;Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 39.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/BloomFilterTest.java
} /** Tests that we always get a non-negative optimal size. */ public void testOptimalSize() { for (int n = 1; n < 1000; n++) { for (double fpp = Double.MIN_VALUE; fpp < 1.0; fpp += 0.001) { assertThat(BloomFilter.optimalNumOfBits(n, fpp)).isAtLeast(0); } } // some random values Random random = new Random(0); for (int repeats = 0; repeats < 10000; repeats++) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 18:19:59 UTC 2025 - 22.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/DoubleMathTest.java
Doubles.asList( -Double.MIN_VALUE, -Double.MIN_NORMAL, -1, -20, Double.NaN, Double.NEGATIVE_INFINITY, -0.001)); public void testFuzzyEqualsFinite() { for (double a : FINITE_DOUBLE_CANDIDATES) { for (double b : FINITE_DOUBLE_CANDIDATES) { for (double tolerance : FINITE_TOLERANCE_CANDIDATES) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Oct 30 14:15:36 UTC 2025 - 27.3K bytes - Viewed (0)