- Sort Score
- Result 10 results
- Languages All
Results 201 - 210 of 242 for jail (0.56 sec)
-
src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponseTest.java
} @Test void copiesOutputIntoProvidedBufferAndBlocksGetOutputData() throws Exception { // When an output buffer is provided, bytes are copied and getOutputData(Class) should fail. byte[] header = buildHeader(NtStatus.NT_STATUS_SUCCESS); byte[] output = new byte[] { 1, 2, 3, 4, 5 };Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/util/DES.java
// DISTRIBUTING THIS SOFTWARE OR ITS DERIVATIVES. // // THIS SOFTWARE IS NOT DESIGNED OR INTENDED FOR USE OR RESALE AS ON-LINE // CONTROL EQUIPMENT IN HAZARDOUS ENVIRONMENTS REQUIRING FAIL-SAFE // PERFORMANCE, SUCH AS IN THE OPERATION OF NUCLEAR FACILITIES, AIRCRAFT // NAVIGATION OR COMMUNICATION SYSTEMS, AIR TRAFFIC CONTROL, DIRECT LIFE // SUPPORT MACHINES, OR WEAPONS SYSTEMS, IN WHICH THE FAILURE OF THE
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 22.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/SIDTest.java
void testEmptyAndBlank() throws Exception { // No subauthorities SID s1 = new SID("S-1-5"); assertTrue(s1.isEmpty()); // isBlank will fail if sub_authority is null, so we skip that check for s1 // All-zero subauthorities byte[] ident = new byte[] { 0, 0, 0, 0, 0, 0 }; rpc.sid_t st = buildSidT((byte) 1, ident, 0, 0);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/RobotsTxtHelper.java
* <li>Directives before any User-agent declaration (ignored)</li> * <li>Empty values for directives</li> * </ul> * * <p>Only fatal I/O errors will cause parsing to fail with an exception.</p> * * @param stream the input stream to parse * @param charsetName the character encoding to use * @return the parsed RobotsTxt object, or null if disabled
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Fri Nov 14 12:52:01 UTC 2025 - 11.4K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/RobotsTxtHelperTest.java
assertFalse(robotsTxt.allows("/admin/", "GoodBot")); assertTrue(robotsTxt.allows("/public/", "GoodBot")); // Invalid directives should not cause parsing to fail // Test crawl-delay with invalid values // Invalid number should be ignored, valid ones should work assertEquals(0, robotsTxt.getCrawlDelay("GoodBot")); // invalid values ignored
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/SmbResourceLocatorImplTest.java
when(ctx2.getCredentials()).thenReturn(creds2); when(ctx2.getNameServiceClient()).thenReturn(nsc2); when(nsc2.getAllByName(anyString(), anyBoolean())).thenThrow(new UnknownHostException("fail")); SmbResourceLocatorImpl l3 = new SmbResourceLocatorImpl(ctx2, smbUrl("smb://host/share/file")); SmbResourceLocatorImpl l4 = new SmbResourceLocatorImpl(ctx2, smbUrl("smb://HOST/share/file"));
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2EchoResponseTest.java
assertTrue(result); assertFalse(echoResponse.isVerifyFailed()); verify(mockDigest).verify(buffer, 0, 100, 0, echoResponse); } @Test @DisplayName("Should fail signature verification when digest verification fails") void testVerifySignatureFailed() throws Exception { byte[] buffer = new byte[1024]; echoResponse.setDigest(mockDigest);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeHandleImplTest.java
SmbTreeHandleImpl handleWithNullLoc = new SmbTreeHandleImpl(null, freshConnection); assertNotNull(handleWithNullLoc); // But operations that use resourceLoc might fail // For example, send methods would likely throw NPE when trying to use the null resourceLoc }
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/extractor/impl/TikaExtractorTest.java
tikaExtractor.maxCompressionRatio = 1; tikaExtractor.maxUncompressionSize = 10000; try { tikaExtractor.getText(in, null); fail(); } catch (final ExtractException e) { logger.info(e.getMessage()); } } public void test_getTika_tar() {Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Aug 07 02:55:08 UTC 2025 - 30.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeConnectionTest.java
SmbTreeConnection c = spy(newConn()); // Prepare a minimal locator SmbResourceLocatorImpl loc = new SmbResourceLocatorImpl(ctx, smbUrl("smb://srv/share/path")); // Setup a tree that will fail with transport error first, then succeed SmbTreeImpl tree = mock(SmbTreeImpl.class); when(tree.acquire(false)).thenReturn(tree);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 13K bytes - Viewed (0)