- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for 0001C (0.01 sec)
-
compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java
int cpus = Runtime.getRuntime().availableProcessors(); assertEquals((int) (cpus * 2.2), cli.calculateDegreeOfConcurrency("2.2C")); assertEquals(1, cli.calculateDegreeOfConcurrency("0.0001C")); assertThrows(IllegalArgumentException.class, () -> cli.calculateDegreeOfConcurrency("-2.2C")); assertThrows(IllegalArgumentException.class, () -> cli.calculateDegreeOfConcurrency("0C")); }Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Sep 17 10:01:14 UTC 2025 - 30.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/util/HexdumpTest.java
Hexdump.hexdump(ps, data, 0, 32); String output = baos.toString(); assertNotNull(output); assertTrue(output.contains("00000:")); assertTrue(output.contains("00010:")); // Second line offset // Verify first line contains bytes 0-15 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
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/test/java/jcifs/internal/smb2/rdma/RdmaIntegrationTest.java
assertEquals(5120, stats.getBytesTransferred(), "Should have transferred 5KB total"); assertEquals(1, stats.getOperationErrors(), "Should have 1 error"); assertEquals(0.25, stats.getErrorRate(), 0.001, "Error rate should be 25% (1 error out of 4 successful operations)"); // Verify latency calculations assertTrue(stats.getAverageReadLatencyMicros() > 0, "Read latency should be positive");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 13.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/util/SuggestUtilTest.java
public void testCreateBulkLineWithNullId() { // Test that null ID causes exception SuggestItem item = new SuggestItem(new String[] { "text" }, new String[0][0], new String[0], 0, 0, 1.0f, new String[0], new String[0], new String[0], SuggestItem.Kind.DOCUMENT); // Explicitly set ID to null (constructor auto-generates ID) item.setId(null);
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 24 03:40:05 UTC 2025 - 26.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/AllocInfoTest.java
// When - calculate percentage free double percentFree = (allocInfo.getFree() * 100.0) / allocInfo.getCapacity(); // Then assertEquals(25.0, percentFree, 0.001); } @Test @DisplayName("Should support available space check pattern") void shouldSupportAvailableSpaceCheckPattern() { // GivenRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.8K 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)