- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 59 for Pad (0.01 seconds)
-
src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 02:21:31 GMT 2025 - 22.9K 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/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) -
src/archive/tar/writer.go
if tw.err != nil { return tw.err } if nb := tw.curr.logicalRemaining(); nb > 0 { return fmt.Errorf("archive/tar: missed writing %d bytes", nb) } if _, tw.err = tw.w.Write(zeroBlock[:tw.pad]); tw.err != nil { return tw.err } tw.pad = 0 return nil } // WriteHeader writes hdr and prepares to accept the file's contents. // The Header.Size determines how many bytes can be written for the next file.Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Mon Feb 03 16:38:43 GMT 2025 - 19.7K 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/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) -
api/go1.12.txt
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Wed Jan 02 21:21:53 GMT 2019 - 13.5K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java
System.arraycopy(buffer, hdrStart + securityBufferOffset, this.securityBuffer, 0, securityBufferLength); bufferIndex += securityBufferLength; } final int pad = (bufferIndex - hdrStart) % 8; bufferIndex += pad; if (this.dialectRevision == 0x0311 && negotiateContextOffset != 0 && negotiateContextCount != 0) { // Validate negotiate context offset
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 24K bytes - Click Count (0)