- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 633 for padding (0.07 sec)
-
src/test/java/jcifs/smb1/smb1/SmbComNtTransactionResponseTest.java
bufferIndex += 4; // dataDisplacement = 0 writeInt4(0, buffer, bufferIndex); bufferIndex += 4; // setupCount = 0 (1 byte + 1 padding byte) buffer[bufferIndex] = 0; buffer[bufferIndex + 1] = 0; // padding byte int bytesRead = response.readParameterWordsWireFormat(buffer, 0); assertEquals(37, bytesRead); // 3 reserved + 32 (8*4) + 2 for setupCountRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/io/Smb2ReadRequest.java
public void setFileId(final byte[] fileId) { this.fileId = fileId; } /** * Sets the padding for the read request * * @param padding * the padding to set */ public void setPadding(final byte padding) { this.padding = padding; } /** * Sets the read flags for the read operation * * @param readFlags
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 7.8K bytes - Viewed (0) -
src/test/java/org/codelibs/core/misc/Base64UtilTest.java
// Test case 1: Standard padding final byte[] data1 = "abc".getBytes(); assertEquals("YWJj", Base64Util.encode(data1)); // Test case 2: Single padding final byte[] data2 = "abcd".getBytes(); assertEquals("YWJjZA==", Base64Util.encode(data2)); // Test case 3: Double padding final byte[] data3 = "abcde".getBytes();Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat Nov 22 11:21:59 UTC 2025 - 6K bytes - Viewed (0) -
guava/src/com/google/common/io/BaseEncoding.java
* characters as specified by <a href="http://tools.ietf.org/html/rfc4648#section-3.2">RFC 4648 * section 3.2</a>, Padding of Encoded Data. */ public abstract BaseEncoding omitPadding(); /** * Returns an encoding that behaves equivalently to this encoding, but uses an alternate character * for padding. *
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Oct 06 14:51:47 UTC 2025 - 41.7K bytes - Viewed (0) -
src/archive/tar/strconv.go
if !validPAXRecord(k, v) { return "", ErrHeader } const padding = 3 // Extra padding for ' ', '=', and '\n' size := len(k) + len(v) + padding size += len(strconv.Itoa(size)) record := strconv.Itoa(size) + " " + k + "=" + v + "\n" // Final adjustment if adding size field increased the record size. if len(record) != size { size = len(record)Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Mon Sep 08 17:08:20 UTC 2025 - 9.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2ReadRequestTest.java
} @ParameterizedTest @DisplayName("Should handle various padding values") @ValueSource(ints = { 0, 1, 15, 127, 255 }) void testVariousPadding(int padding) { assertDoesNotThrow(() -> request.setPadding((byte) padding)); } @ParameterizedTest @DisplayName("Should handle various read lengths")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationTest.java
int written = trans2SetFileInfo.writeDataWireFormat(buffer, 0); // Should write FileInformation data + 6 bytes padding assertEquals(46, written); // 40 + 6 // Verify encode was called verify(mockFileInfo).encode(buffer, 0); // Check that 6 bytes of padding are zeros for (int i = 40; i < 46; i++) { assertEquals(0, buffer[i]); } }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.8K bytes - Viewed (0) -
src/main/webapp/css/admin/style.css
list-style-type: none; padding: 0; } .form-group .has-error + .form-control { border-color: #dd4b39 !important; box-shadow: none; } .sidebar-mini.sidebar-collapse .sidebar-search { display: none !important; } input[type="file"].form-control:not([type="file"]) { height: 0% !important; } #result ol { list-style: none !important; padding-left: 0; } #result ol li {Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Nov 13 05:54:52 UTC 2025 - 1.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/dtyp/SecurityDescriptorTest.java
void testGetType() throws SMBProtocolDecodingException { // Prepare buffer with specific type value testBuffer[0] = 0x01; // revision testBuffer[1] = 0x00; // padding testBuffer[2] = 0x04; // type low byte testBuffer[3] = (byte) 0x80; // type high byte (0x8004) // Set all offsets to 0 for (int i = 4; i < 20; i++) { testBuffer[i] = 0;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/nego/CompressionNegotiateContext.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 7.5K bytes - Viewed (0)