- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 64 for Block (4.24 sec)
-
src/test/java/jcifs/smb1/smb1/AndXServerMessageBlockTest.java
DummyAndXBlock block = new DummyAndXBlock(next); assertNotNull(block); assertSame(next, block.andx, "andx should reference provided SMB"); } @Test @DisplayName("getBatchLimit defaults to 0") void testGetBatchLimitDefault() { DummyAndXBlock block = new DummyAndXBlock(); assertEquals(0, block.getBatchLimit((byte) 0x25)); } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0) -
src/test/java/org/codelibs/opensearch/extension/analysis/NGramSynonymTokenizer.java
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Sat Mar 15 06:51:20 UTC 2025 - 17K bytes - Viewed (0) -
src/main/java/jcifs/smb1/util/DES.java
} /// Encrypt a block of bytes. /** * Encrypts an 8-byte block using DES * @param clearText the 8-byte plaintext block * @param cipherText the output 8-byte ciphertext block */ public void encrypt(final byte[] clearText, final byte[] cipherText) { encrypt(clearText, 0, cipherText, 0); } /// Decrypt a block of bytes. /**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/util/PathValidatorTest.java
} @Test public void testBlacklist() throws Exception { validator.addToBlacklist("\\share\\forbidden"); // Should block blacklisted path try { validator.validatePath("\\share\\forbidden\\file.txt"); fail("Should block blacklisted path"); } catch (SmbException e) { assertTrue(e.getMessage().contains("not allowed")); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.6K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/RobotsTxtHelperTest.java
// Disallow: /*.pdf$ - should block .pdf files but not .pdf with query params assertFalse(robotsTxt.allows("/document.pdf", "WildcardBot")); assertFalse(robotsTxt.allows("/files/report.pdf", "WildcardBot")); assertTrue(robotsTxt.allows("/document.pdf?download=true", "WildcardBot")); // $ means exact end // Disallow: /admin/*.php - should block PHP files in admin directoryRegistered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 20.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java
} } /** * Constructs an AndX message block with configuration and command * @param config the configuration * @param command the SMB command */ protected AndXServerMessageBlock(final Configuration config, final byte command) { this(config, command, null); } /** * Constructs an AndX message block with command and chained command * @param config the configurationRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 15.8K bytes - Viewed (0) -
src/main/java/jcifs/ntlmssp/Type2Message.java
*/ public void setTarget(final String target) { this.target = target; } /** * Returns the target information block. * * @return A <code>byte[]</code> containing the target information block. * The target information block is used by the client to create an * NTLMv2 response. */ public byte[] getTargetInformation() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 14.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/query/QueryCommand.java
return QueryBuilders.matchPhraseQuery(f, text); } final UnicodeBlock block = UnicodeBlock.of(text.codePointAt(0)); if (block == UnicodeBlock.CJK_UNIFIED_IDEOGRAPHS // || block == UnicodeBlock.HIRAGANA // || block == UnicodeBlock.KATAKANA // || block == UnicodeBlock.HANGUL_SYLLABLES // ) { return QueryBuilders.prefixQuery(f, text);
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sun Nov 23 11:39:05 UTC 2025 - 11.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/ntlmssp/Type2Message.java
/** * Returns the target information block. * * @return A <code>byte[]</code> containing the target information block. * The target information block is used by the client to create an * NTLMv2 response. */ public byte[] getTargetInformation() { return targetInformation; } /** * Sets the target information block.Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 13K bytes - Viewed (0) -
src/main/java/jcifs/util/AuthenticationRateLimiter.java
return false; } else { // Block expired, reset ip.reset(); } } // Check IP rate limit if (ip.getRecentAttempts() >= maxAttemptsPerIp) { ip.block(lockoutDuration); totalAttemptsBlocked.incrementAndGet();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.1K bytes - Viewed (0)