- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 497 for Padding (0.07 sec)
-
src/test/java/jcifs/smb1/dcerpc/ndr/NdrShortTest.java
ns.encode(buf); // should not throw // After encoding, check how many bytes were used int bytesUsed = buf.getIndex(); // Should be 2 bytes for the short value (alignment may add padding) assertTrue(bytesUsed >= 2, "Should use at least 2 bytes for short"); // Reset index to read back buf.reset(); NdrShort decoded = new NdrShort(0); // placeholder value
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileBasicInfoTest.java
int decodedBytes = decoded.decode(buffer, 0, 36); // Verify encoding/decoding assertEquals(40, encodedBytes); // encode writes 40 bytes (includes padding) assertEquals(36, decodedBytes); // decode reads 36 bytes (no padding) assertEquals(original.getCreateTime(), decoded.getCreateTime()); assertEquals(original.getLastAccessTime(), decoded.getLastAccessTime());
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/create/LeaseV1CreateContextRequest.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 4.6K bytes - Viewed (0) -
android/guava/src/com/google/common/escape/CharEscaper.java
int charsLeft = slen - lastEscape; if (charsLeft > 0) { int sizeNeeded = destIndex + charsLeft; if (destSize < sizeNeeded) { // Regrow and copy, expensive! No padding as this is the final copy. dest = growBuffer(dest, destIndex, sizeNeeded); } s.getChars(lastEscape, slen, dest, destIndex); destIndex = sizeNeeded; }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 15:45:16 UTC 2025 - 6.7K bytes - Viewed (0) -
internal/amztime/iso8601_time.go
) // ISO8601Format converts time 't' into ISO8601 time format expected in AWS S3 spec. // // This function is needed to avoid a Go's float64 precision bug, where Go avoids // padding the extra '0' before the timezone. func ISO8601Format(t time.Time) string { value := t.Format(iso8601TimeFormat) if len(value) < len(iso8601TimeFormat) { value = t.Format(iso8601TimeFormat[:len(iso8601TimeFormat)-1])
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Mon Jan 16 23:38:33 UTC 2023 - 1.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/persistent/DurableHandleV2Request.java
public boolean isPersistent() { return (flags & Smb2HandleCapabilities.SMB2_DHANDLE_FLAG_PERSISTENT) != 0; } @Override public int size() { // Context header (16) + name length (4) + padding to 8-byte alignment (4) + data (32) return 16 + 4 + 4 + STRUCTURE_SIZE; } @Override public int encode(byte[] dst, int dstIndex) { int start = dstIndex;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 5.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans/SmbComTransaction.java
this.hasMore = false; } return this; } /** * Calculates padding needed for the given offset * @param offset * the current offset * @return padding size in bytes */ protected int pad(final int offset) { final int p = offset % getPadding(); if (p == 0) { return 0;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 17.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/BaseEncodingTest.java
} public void testBase64LenientPadding() { testDecodes(base64(), "Zg", "f"); testDecodes(base64(), "Zg=", "f"); testDecodes(base64(), "Zg==", "f"); // proper padding length testDecodes(base64(), "Zg===", "f"); testDecodes(base64(), "Zg====", "f"); } public void testBase64InvalidDecodings() { // These contain bytes not in the decodabet.
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 24.7K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Longs.java
* @return an array containing the values of {@code array}, with guaranteed minimum length {@code * minLength} */ public static long[] ensureCapacity(long[] array, int minLength, int padding) { checkArgument(minLength >= 0, "Invalid minLength: %s", minLength); checkArgument(padding >= 0, "Invalid padding: %s", padding);Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Oct 22 18:14:49 UTC 2025 - 29K bytes - Viewed (0) -
docs/assets/css/app.css
font-family: cash-market,"Helvetica Neue",helvetica,sans-serif; line-height: normal; font-weight: bold; } button.dl { font-weight: 300; font-size: 25px; line-height: 40px; padding: 3px 10px; display: inline-block; border-radius: 6px; color: #f0f0f0; margin: 5px 0; width: auto; } .logo { text-align: center; margin-top: 150px;
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Feb 08 07:57:03 UTC 2022 - 1.1K bytes - Viewed (2)