- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 261 for 64 (0.01 sec)
-
src/test/java/jcifs/smb1/util/HMACT64Test.java
byte[] ipad = new byte[64]; byte[] opad = new byte[64]; // HMACT64 specific: truncate key to 64 bytes if needed int keyLen = Math.min(key.length, 64); for (int i = 0; i < keyLen; i++) { ipad[i] = (byte) (key[i] ^ 0x36); opad[i] = (byte) (key[i] ^ 0x5c); } for (int i = keyLen; i < 64; i++) { ipad[i] = 0x36;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.1K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/SipHashFunction.java
new SipHashFunction(2, 4, 0x0706050403020100L, 0x0f0e0d0c0b0a0908L); // The number of compression rounds. private final int c; // The number of finalization rounds. private final int d; // Two 64-bit keys (represent a single 128-bit key). private final long k0; private final long k1; /** * @param c the number of compression rounds (must be positive)
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 17:34:21 UTC 2025 - 5.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2SetInfoRequestTest.java
int bytesWritten = request.writeBytesWireFormat(buffer, 64); // Verify all fields in the buffer assertEquals(33, SMBUtil.readInt2(buffer, 64)); // Structure size assertEquals((byte) 0x02, buffer[66]); // Info type assertEquals((byte) 0x08, buffer[67]); // File info class assertEquals(64, SMBUtil.readInt4(buffer, 68)); // Buffer length
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.9K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/UnsignedLongs.java
/** * Sorts the array, treating its elements as unsigned 64-bit integers. * * @since 23.1 */ public static void sort(long[] array) { checkNotNull(array); sort(array, 0, array.length); } /** * Sorts the array between {@code fromIndex} inclusive and {@code toIndex} exclusive, treating its * elements as unsigned 64-bit integers. * * @since 23.1 */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 17.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java
void testReadValidOplockBreakNotification() throws Exception { // Create a valid buffer with structure size 24 byte[] buffer = new byte[64]; int bufferIndex = 0; // Write structure size (24) SMBUtil.writeInt2(24, buffer, bufferIndex); // Write oplock level at offset 2
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoRequestTest.java
int bytesWritten = request.writeBytesWireFormat(buffer, 64); // Verify all fields in the buffer assertEquals(41, SMBUtil.readInt2(buffer, 64)); // Structure size assertEquals(Smb2Constants.SMB2_0_INFO_FILE, buffer[66]); // Info type (set by setFileInfoClass) assertEquals((byte) 0x0A, buffer[67]); // File info class assertEquals(64, SMBUtil.readInt4(buffer, 76)); // Input buffer length
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ServerMessageBlock2RequestTest.java
void testEncodeValidSize() { byte[] buffer = new byte[1024]; testRequest.setTestSize(64); testRequest.setTestLength(64); int result = testRequest.encode(buffer, 0); assertEquals(64, result); } @Test @DisplayName("encode should throw exception when size mismatch")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/util/SMBUtil.java
+ ((src[srcIndex + 3] & 0xFF) << 24); } /** * Reads a 64-bit integer value from a byte array in little-endian format * @param src the source byte array * @param srcIndex the starting index in the source array * @return the 64-bit integer value */ public static long readInt8(final byte[] src, final int srcIndex) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8K bytes - Viewed (0) -
src/test/java/jcifs/util/HexdumpTest.java
// Then assertNotNull(result); assertFalse(result.isEmpty()); // Should contain hex representation of first bytes assertTrue(result.startsWith("00010203")); assertEquals(64, result.length()); // 32 bytes * 2 chars per byte } @ParameterizedTest @ValueSource(ints = { 1, 16, 32, 64, 128, 256 }) @DisplayName("Should handle various data sizes")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/PreauthIntegrityTest.java
calcMethod.setAccessible(true); byte[] input = "test data".getBytes(); byte[] oldHash = new byte[64]; byte[] newHash = (byte[]) calcMethod.invoke(transport, input, 0, input.length, oldHash); assertNotNull(newHash); assertEquals(64, newHash.length); // SHA-512 produces 64 bytes assertNotEquals(oldHash, newHash); // Should be different instance } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 10.5K bytes - Viewed (0)