- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 1,958 for length (0.05 sec)
-
src/test/java/jcifs/pac/PacMacTest.java
byte[] mac = PacMac.calculateMacArcfourHMACMD5(3, key, TEST_DATA); assertNotNull(mac); assertEquals(16, mac.length); // Test with a different key usage byte[] mac2 = PacMac.calculateMacArcfourHMACMD5(9, key, TEST_DATA); assertNotNull(mac2); assertEquals(16, mac2.length); // Test with another key usage byte[] mac3 = PacMac.calculateMacArcfourHMACMD5(23, key, TEST_DATA);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 7.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/DerivedGoogleCollectionGenerators.java
@Override public Entry<K, V>[] createArray(int length) { return generator.createArray(length); } @Override public Iterable<Entry<K, V>> order(List<Entry<K, V>> insertionOrder) { return generator.order(insertionOrder); } @SuppressWarnings("unchecked") @Override public K[] createKeyArray(int length) { return (K[]) new Object[length]; } @SuppressWarnings("unchecked")Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 6.8K bytes - Viewed (2) -
src/main/java/jcifs/smb1/util/Base64.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvRequestResumeKeyResponseTest.java
// Test with buffer and length larger than needed byte[] buffer = new byte[100]; // Fill test pattern for (int i = 0; i < buffer.length; i++) { buffer[i] = (byte) (i % 256); } int bytesConsumed = response.decode(buffer, 0, 50); assertEquals(28, bytesConsumed, "Should consume exactly 28 bytes regardless of extra length");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SigningDigest.java
* * @param data The data. * @param offset The starting offset at which the SMB header begins. * @param length The length of the SMB data starting at offset. */ void sign(final byte[] data, final int offset, final int length, final ServerMessageBlock request, final ServerMessageBlock response) { request.signSeq = signSequence; if (response != null) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java
@Test @DisplayName("Should handle negative length in verify method") void testVerifyNegativeLength() { byte[] data = new byte[128]; boolean result = digest.verify(data, 0, -1, 0, response); assertFalse(result, "Should return false for negative length"); } @Test @DisplayName("Should handle offset+length exceeding buffer size in verify method")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 43.7K bytes - Viewed (0) -
src/test/java/jcifs/NetbiosAddressTest.java
assertNotNull(anyHosts); assertNotNull(masterBrowser); assertNotNull(smbServer); // Test that they have expected lengths assertEquals(16, anyHosts.length()); assertEquals(15, masterBrowser.length()); assertEquals(15, smbServer.length()); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComSessionSetupAndX.java
if (blob != null) { System.arraycopy(blob, 0, dst, dstIndex, blob.length); dstIndex += blob.length; } else { System.arraycopy(lmHash, 0, dst, dstIndex, lmHash.length); dstIndex += lmHash.length; System.arraycopy(ntHash, 0, dst, dstIndex, ntHash.length); dstIndex += ntHash.length; dstIndex += writeString(accountName, dst, dstIndex);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 7.1K bytes - Viewed (0) -
src/main/java/jcifs/smb/compression/CompressionService.java
* * @param data the data buffer * @param offset the offset in the buffer * @param length the length of data to compress * @param algorithm the compression algorithm to use * @return the compressed data * @throws CIFSException if compression fails */ byte[] compress(byte[] data, int offset, int length, int algorithm) throws CIFSException; /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 5.2K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/DerivedGoogleCollectionGenerators.java
@Override public Entry<K, V>[] createArray(int length) { return generator.createArray(length); } @Override public Iterable<Entry<K, V>> order(List<Entry<K, V>> insertionOrder) { return generator.order(insertionOrder); } @SuppressWarnings("unchecked") @Override public K[] createKeyArray(int length) { return (K[]) new Object[length]; } @SuppressWarnings("unchecked")Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 6.8K bytes - Viewed (0)