- Sort Score
- Result 10 results
- Languages All
Results 161 - 170 of 297 for dupe (0.02 sec)
-
src/test/java/jcifs/dcerpc/msrpc/MsrpcShareGetInfoTest.java
infoField.setAccessible(true); infoField.set(msrpcShareGetInfo, info502); // Test getSecurity with special bytes - should throw exception due to invalid format assertThrows(ArrayIndexOutOfBoundsException.class, () -> { msrpcShareGetInfo.getSecurity(); }); } @Test void testPtypeAndFlagsValues() {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/util/HexdumpTest.java
assertEquals("0A0B0C", Hexdump.toHexString(data3, 0, 6)); // 6 chars = 3 bytes // Test with offset - NOTE: srcIndex is ignored due to bug, it always starts from index 0 byte[] data4 = { 0x00, 0x11, 0x22, 0x33, 0x44 }; assertEquals("00", Hexdump.toHexString(data4, 1, 2)); // Bug: ignores srcIndex, reads from 0
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/netbios/SessionRequestPacketTest.java
byte[] dst = new byte[256]; int bytesWritten = packet.writeTrailerWireFormat(dst, 0); assertTrue(bytesWritten > 68); // Should be larger due to scope } @Test @DisplayName("readTrailerWireFormat should read complete packet data") void testReadTrailerWireFormatSuccess() throws IOException { SessionRequestPacket writePacket =Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SecurityBlobTest.java
SecurityBlob shorter = new SecurityBlob(new byte[] { 1, 2 }); SecurityBlob longer = new SecurityBlob(new byte[] { 1, 2, 9 }); // Act & Assert // Due to implementation, iteration uses this.b.length and ignores extra bytes in argument assertTrue(shorter.equals(longer), "Shorter equals longer when prefix matches (implementation behavior)");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/DirFileEntryEnumIteratorBaseTest.java
assertTrue(it.hasNext()); assertEquals("first", it.next().getName()); // initial assertTrue(it.hasNext()); FileEntry next = it.next(); // Assert: "bad" was skipped due to filter exception, "good" returned assertNotNull(next); assertEquals("good", next.getName()); assertFalse(it.hasNext()); verify(tree, times(1)).release(); } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTransportPoolImplTest.java
// When: Request another connection SmbTransportImpl second = pool.getSmbTransport(ctx, address, 445, false); // Then: Should create new connection due to session limit assertNotSame(first, second, "Should create new connection when session limit reached"); } @Test @DisplayName("Should access fail counts map correctly")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 19.2K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/event/ExecutionEventLogger.java
&& recorder.hasReachedMaxLevel()) { event.getSession() .getResult() .addException( new Exception("Build failed due to log statements with a higher severity than allowed. " + "Fix the logged issues or remove flag --fail-on-severity (-fos).")); } logResult(event.getSession());
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Nov 08 08:49:11 UTC 2024 - 17.2K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/RuleManagerTest.java
} } }).start(); } startLatch.countDown(); endLatch.await(); // Verify all rules were added (can't check exact count due to thread-safe implementation) ResponseData responseData = new ResponseData(); assertNotNull(threadSafeManager.getRule(responseData)); // At least one rule should match } /**Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Sep 06 04:15:37 UTC 2025 - 23.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java
offset += encoded; } // Verify each context was encoded assertTrue(offset > 0); // The actual encoded size might be different from size() due to padding // Just verify that we encoded something for each context for (CreateContextRequest context : contexts) { assertNotNull(context.getName()); } }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.9K bytes - Viewed (0) -
cmd/batch-expire.go
DeletePrefixObject: true, // use prefix delete on exact object (this is an optimization to avoid fan-out calls) }) if err != nil { stopFn(exp, err) batchLogIf(ctx, fmt.Errorf("Failed to expire %s/%s due to %v (attempts=%d)", exp.Bucket, exp.Name, err, attempts)) } else { stopFn(exp, err) success = true break } } ri.trackMultipleObjectVersions(exp, success) }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Apr 22 11:16:32 UTC 2025 - 23K bytes - Viewed (0)