- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 228 for Block (0.13 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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K 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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 22.7K bytes - Viewed (0) -
android/guava/src/com/google/common/io/Closer.java
* <li>If a {@code Throwable} is thrown in the try block, no exceptions that occur when attempting * to close resources will be thrown from the finally block. The throwable from the try block * will be thrown. * <li>If no exceptions or errors were thrown in the try block, the <i>first</i> exception thrown * by an attempt to close a resource will be thrown.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 10.3K bytes - Viewed (0) -
cmd/metacache-stream.go
buf.Reset() bytebufferpool.Put(buf) }() block := newMetacacheWriter(buf, 1<<20) defer block.Close() finishBlock := func() { if err := block.Close(); err != nil { w.streamErr = err return } current.data = buf.Bytes() w.streamErr = nextBlock(¤t) // Prepare for next current.n++ buf.Reset() block.Reset(buf) current.First = "" }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed May 07 15:37:12 UTC 2025 - 19.5K bytes - Viewed (0) -
docs/debugging/xl-meta/main.go
combineShared := combineSharedBlocks[block] nextAttempt: fmt.Printf("Block %d, Base version %q. Part %d. Files %d\n", block+1, key, part, len(file)) m, err := readAndMap(file, part, block) if err != nil { return err } if exportedSizes[m.objSize] { fmt.Println("Skipping version", key, "as it has already been exported.") continue nextFile } addedFiles := 0
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 40.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/MacHashFunctionTest.java
byte[] key = fillByteArray(80, 0xaa); String data = "Test Using Larger Than Block-Size Key - Hash Key First"; checkSha1("aa4ae5e15272d00e95705637ce8a3b55ed402112", key, data); } public void testRfc2202_hmacSha1_case7() { byte[] key = fillByteArray(80, 0xaa); String data = "Test Using Larger Than Block-Size Key and Larger Than One Block-Size Data";
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Dec 27 16:19:35 UTC 2024 - 13.8K 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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.6K 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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 14.4K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerReader.kt
return DerHeader(tagClass, tag, constructed, length) } /** * Consume a header and execute [block], which should consume the entire value described by the * header. It is an error to not consume a full value in [block]. */ internal inline fun <T> read( name: String?, block: (DerHeader) -> T, ): T { if (!hasNext()) throw ProtocolException("expected a value")
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 10.5K bytes - Viewed (0) -
src/test/java/jcifs/util/AuthenticationRateLimiterTest.java
assertFalse(rateLimiter.checkAttempt("user21", "192.168.1.21"), "Should block after global rate limit"); } @Test public void testLockoutExpiry() throws Exception { String username = "expireuser"; String ip = "192.168.1.4"; // Lock out the account for (int i = 0; i < 3; i++) { assertTrue(rateLimiter.checkAttempt(username, ip));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.8K bytes - Viewed (0)