- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 89 for 0000 (0.15 sec)
-
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/jcifs/internal/smb1/net/NetShareEnumResponseTest.java
} @Test @DisplayName("Test readSetupWireFormat returns 0") void testReadSetupWireFormat() { byte[] buffer = new byte[100]; int result = response.readSetupWireFormat(buffer, 0, 100); assertEquals(0, result); // Test with different parameters result = response.readSetupWireFormat(buffer, 10, 50); assertEquals(0, result); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/SessionServicePacket.java
/* jcifs smb client library in Java * Copyright (C) 2000 "Michael B. Allen" <jcifs at samba dot org> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful,
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComNTCreateAndX.java
/* jcifs smb client library in Java * Copyright (C) 2000 "Michael B. Allen" <jcifs at samba dot org> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful,
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 6.5K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/util/ResponseDataUtilTest.java
assertNotNull(tempFile); assertTrue(tempFile.exists()); assertEquals(10000, tempFile.length()); // Verify content try (FileInputStream fis = new FileInputStream(tempFile)) { byte[] buffer = new byte[10000]; int bytesRead = fis.read(buffer); assertEquals(10000, bytesRead); for (int i = 0; i < largeData.length; i++) {Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Nov 22 13:28:22 UTC 2025 - 7.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileFsSizeInformationTest.java
double percentFree = (fileFsSizeInfo.getFree() * 100.0) / fileFsSizeInfo.getCapacity(); 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/main/java/jcifs/internal/smb1/com/SmbComNTCreateAndX.java
/* jcifs smb client library in Java * Copyright (C) 2000 "Michael B. Allen" <jcifs at samba dot org> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful,
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/SpnegoContextTest.java
assertEquals(0, cap.getValue().length, "Optimistic token must be zero-length"); } @ParameterizedTest @ValueSource(bytes = { 0x00, 0x7F, (byte) 0xFF }) @DisplayName("initSecContext throws on invalid token type") void testInitSecContextInvalidTokenType(byte firstByte) throws Exception { SpnegoContext ctx = newContext();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.3K 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
double percentFree = (fileFsFullSizeInfo.getFree() * 100.0) / fileFsFullSizeInfo.getCapacity(); double percentUsed = ((fileFsFullSizeInfo.getCapacity() - fileFsFullSizeInfo.getFree()) * 100.0) / fileFsFullSizeInfo.getCapacity(); // Then assertEquals(25.0, percentFree, 0.001); assertEquals(75.0, percentUsed, 0.001); } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 30.5K bytes - Viewed (0)