- Sort Score
- Result 10 results
- Languages All
Results 341 - 350 of 388 for 100 (0.03 sec)
-
src/main/java/jcifs/util/PathValidator.java
*/ private String sanitizeForLog(String path) { if (path == null) { return "null"; } // Truncate long paths if (path.length() > 100) { path = path.substring(0, 100) + "..."; } // Remove control characters for safe logging return path.replaceAll("[\\x00-\\x1F\\x7F]", "?"); } /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.5K bytes - Viewed (0) -
src/test/java/jcifs/SIDTest.java
*/ @Test void testByteArrayConstructorTooManySubAuthorities() { byte[] badSid = new byte[10]; badSid[1] = 101; // sub_authority_count > 100 assertThrows(RuntimeCIFSException.class, () -> new SID(badSid, 0)); } /** * Test constructor that combines a domain SID and an RID. * * @throws SmbException if the SID string is invalidRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.5K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerStatusTest.java
assertFalse(result); } /** * Test thread safety of enum */ public void test_threadSafety() throws Exception { final int threadCount = 100; final int iterationsPerThread = 1000; final Set<Exception> exceptions = new HashSet<>(); Thread[] threads = new Thread[threadCount]; for (int i = 0; i < threadCount; i++) {
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Wed Sep 03 14:42:53 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NameQueryResponseTest.java
Name mockRecordName = new Name(mockConfig); recordNameField.set(nameQueryResponse, mockRecordName); // Prepare a byte array with valid NetBIOS name format byte[] src = new byte[100]; int srcIndex = 0; // Start with compressed name pointer (0xC0) to use questionName src[srcIndex] = (byte) 0xC0; src[srcIndex + 1] = 0x0C; // Pointer offset // recordType (2 bytes)
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.4K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/RobotsTxtHelperTest.java
assertFalse(robotsTxt.allows("/test/", "TestBot")); } public void testParse_negativeCrawlDelay() { String robotsTxtContent = "User-agent: TestBot\n" + "Crawl-delay: -100\n" + "Disallow: /test/\n"; RobotsTxt robotsTxt; final InputStream in = new java.io.ByteArrayInputStream(robotsTxtContent.getBytes()); try { robotsTxt = robotsTxtHelper.parse(in);
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 20.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/SIDTest.java
@Test @DisplayName("Binary constructor with invalid sub_authority_count throws RuntimeCIFSException") void testBinaryConstructorInvalidCount() { // Arrange: second byte is sub_authority_count > 100 byte[] bytes = new byte[1 + 1 + 6]; bytes[0] = 1; // revision bytes[1] = (byte) 101; // invalid count // Act + AssertRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcShareGetInfoTest.java
// Test when sd_size doesn't match actual array size srvsvc.ShareInfo502 info502 = new srvsvc.ShareInfo502(); info502.security_descriptor = new byte[] { 1, 2, 3, 4 }; info502.sd_size = 100; // Mismatched size - SecurityDescriptor will try to read beyond array bounds // Replace info field Field infoField = msrpcShareGetInfo.getClass().getSuperclass().getDeclaredField("info");
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/internal/smb2/info/Smb2SetInfoRequestTest.java
@Test @DisplayName("Test size method") void testSize() { request = new Smb2SetInfoRequest(mockConfig); Encodable mockInfo = mock(Encodable.class); when(mockInfo.size()).thenReturn(100); request.setInfo(mockInfo); int size = request.size(); // Expected size calculation: size8(SMB2_HEADER_LENGTH + 32 + info.size()) // size8 rounds up to nearest multiple of 8Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.9K bytes - Viewed (0) -
src/main/java/org/codelibs/curl/CurlRequest.java
Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Mon Nov 24 03:10:07 UTC 2025 - 18.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.6K bytes - Viewed (0)