- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 59 for pad8 (0.02 seconds)
-
android/guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java
assertThat(bb.remaining()).isLessThan(bufferSize); int before = processCalled; super.processRemaining(bb); int after = processCalled; assertEquals(before + 1, after); // default implementation pads and calls process() processCalled--; // don't count the tail invocation (makes tests a bit more understandable) } // ensures that the number of invocations looks sane
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Oct 28 18:19:59 GMT 2025 - 8.6K bytes - Click Count (0) -
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) -
docs/debugging/xattr/main.go
table.SetAlignment(tablewriter.ALIGN_LEFT) table.SetCenterSeparator("") table.SetColumnSeparator("") table.SetRowSeparator("") table.SetHeaderLine(false) // table.EnableBorder(false) table.SetTablePadding("\t") // pad with tabs table.SetNoWhiteSpace(true) if set { if err := setxattr(path, name, value); err != nil { log.Fatalln(fmt.Errorf("setting attribute %s failed with: %v", name, err)) } } else { if name == "" {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Dec 29 23:52:41 GMT 2023 - 3.2K 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/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/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/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)