- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 54 for pad8 (0.02 seconds)
-
src/test/java/jcifs/ntlmssp/av/AvSingleHostTest.java
assertArrayEquals(machineId, actualMachineId); } /** * Test with customData and machineId that are not exactly 8 and 32 bytes respectively. * The constructor requires exact sizes, so we need to pad them manually. */ @Test void testAvSingleHostCustomDataMachineIdConstructor_ShorterInputs() { // Prepare padded arrays byte[] customData = new byte[8]; customData[0] = 0x01;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.4K bytes - Click Count (0) -
src/main/java/jcifs/util/Hexdump.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 5.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeResponseTest.java
buffer.putInt(entry1AlignedSize); // nextEntryOffset buffer.putInt(FileNotifyInformation.FILE_ACTION_ADDED); buffer.putInt(fileNameBytes1.length); buffer.put(fileNameBytes1); // Pad to aligned size while (buffer.position() < entry1AlignedSize) { buffer.put((byte) 0); } // Second notification buffer.putInt(entry2AlignedSize); // nextEntryOffset
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.7K bytes - Click Count (0) -
android/guava/src/com/google/common/cache/Striped64.java
* needed again; and for short-lived ones, it does not matter. */ /** * Padded variant of AtomicLong supporting only raw accesses plus CAS. The value field is placed * between pads, hoping that the JVM doesn't reorder them. * * <p>JVM intrinsics note: It would be possible to use a release-only form of CAS here, if it were * provided. */ static final class Cell {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jan 15 22:17:15 GMT 2025 - 11.4K bytes - Click Count (0) -
src/main/java/jcifs/internal/witness/WitnessHeartbeatMessage.java
// Context handle (20 bytes) if (contextHandle != null) { buf.writeOctetArray(contextHandle, 0, Math.min(contextHandle.length, 20)); // Pad with zeros if context handle is shorter than 20 bytes for (int i = contextHandle.length; i < 20; i++) { buf.enc_ndr_small(0); } } else {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 09:06:40 GMT 2025 - 5.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupResponseTest.java
int bodyStart = headerStart + Smb2Constants.SMB2_HEADER_LENGTH; byte[] blob = new byte[] { 9, 8, 7, 6 }; // Place blob further ahead to exercise pad adjustment logic int secBufOffset = Smb2Constants.SMB2_HEADER_LENGTH + 16; // beyond current bodyIndex (64+8) int sessionFlags = Smb2SessionSetupResponse.SMB2_SESSION_FLAGS_IS_NULL;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.7K bytes - Click Count (0) -
src/main/java/jcifs/internal/witness/WitnessRegisterMessage.java
// String data in UTF-16LE buf.writeOctetArray(wideBytes, 0, wideBytes.length); buf.enc_ndr_short(0); // Wide null terminator // Pad to 4-byte boundary int padding = (4 - ((wideBytes.length + 2) % 4)) % 4; for (int i = 0; i < padding; i++) { buf.enc_ndr_small(0); } } }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 09:06:40 GMT 2025 - 8.6K bytes - Click Count (0) -
src/main/java/jcifs/smb1/util/Hexdump.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 7.8K bytes - Click Count (0) -
src/main/java/jcifs/smb1/util/MD4.java
* reset. * * @return the array of bytes for the resulting hash value. */ @Override public byte[] engineDigest() { // pad output to 56 mod 64; as RFC1320 puts it: congruent to 448 mod 512 final int bufferNdx = (int) (count % BLOCK_LENGTH); final int padLen = bufferNdx < 56 ? 56 - bufferNdx : 120 - bufferNdx;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 9.6K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbTransportImpl.java
off += 27; resp.decode(buffer, 4); /* EMC can send pad w/o data */ final int pad = r.getDataOffset() - off; if (r.getByteCount() > 0 && pad > 0 && pad < 4) { readn(this.in, buffer, 4 + off, pad); } if (r.getDataLength() > 0) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 69.8K bytes - Click Count (0)