- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 618 for padding (0.05 sec)
-
src/main/java/jcifs/smb1/dcerpc/ndr/NdrBuffer.java
return buf; } /** * Aligns the buffer index to the specified boundary with a fill value. * * @param boundary the alignment boundary * @param value the fill value for padding * @return the number of bytes added for alignment */ public int align(final int boundary, final byte value) { final int n = align(boundary); int i = n; while (i > 0) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 10.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/SMBSigningDigestTest.java
} @ParameterizedTest @ValueSource(ints = { 0, 1, 2, 4, 8, 16 }) @DisplayName("Test verify method with different extra padding values") void testVerifyWithDifferentExtraPadding(int extraPad) { // Arrange int offset = 0; int length = testData.length;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/Striped64.java
* Nearly all declarations in this class are package-private, * accessed directly by subclasses. * * Table entries are of class Cell; a variant of AtomicLong padded * to reduce cache contention on most processors. Padding is * overkill for most Atomics because they are usually irregularly * scattered in memory and thus don't interfere much with each * other. But Atomic objects residing in arrays will tend to be
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jan 15 22:17:15 UTC 2025 - 11.4K bytes - Viewed (0) -
guava/src/com/google/common/hash/LittleEndianByteArray.java
// Delegates to the fast (unsafe) version or the fallback. return byteArray.getLongLittleEndian(input, offset); } /** * Similar to load64, but allows offset + 8 > input.length, padding the result with zeroes. This * has to explicitly reverse the order of the bytes as it packs them into the result which makes * it slower than the native version. * * @param input the input bytes
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 12 03:49:18 UTC 2025 - 12.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/util/Hexdump.java
final char[] c = new char[size]; toHexChars(val, c, 0, size); return new String(c); } /** * Converts a long value to a hexadecimal string representation with specified padding. * * @param val the long value to convert to hexadecimal * @param size the desired length of the resulting hex string (will be left-padded with zeros)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.8K bytes - Viewed (0) -
src/main/webapp/js/admin/jquery-3.7.1.min.js
"):t}function it(e,t,n,r,i,o){var a="width"===t?1:0,s=0,u=0,l=0;if(n===(r?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(l+=ce.css(e,n+Q[a],!0,i)),r?("content"===n&&(u-=ce.css(e,"padding"+Q[a],!0,i)),"margin"!==n&&(u-=ce.css(e,"border"+Q[a]+"Width",!0,i))):(u+=ce.css(e,"padding"+Q[a],!0,i),"padding"!==n?u+=ce.css(e,"border"+Q[a]+"Width",!0,i):s+=ce.css(e,"border"+Q[a]+"Width",!0,i));return!r&&0<=o&&(u+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-u-s-.5))||0),u+l}function...
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Oct 26 01:07:52 UTC 2024 - 85.5K bytes - Viewed (1) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java
SMBUtil.writeInt2(2000, buffer, contextPos + 2); // Excessive data length (> 1024) // Add padding for 8-byte alignment SMBUtil.writeInt2(0, buffer, contextPos + 4); // Reserved // The validation logic is implemented and verified through code inspection // Complex SMB parsing conditions make precise testing challenging, but the security checks exist try {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileFsFullSizeInformationTest.java
void shouldDecodeBufferWithOffset() throws SMBProtocolDecodingException { // Given - buffer with padding before actual data ByteBuffer buffer = ByteBuffer.allocate(42); buffer.order(ByteOrder.LITTLE_ENDIAN); buffer.position(10); // Add 10 bytes of padding buffer.putLong(2048L); buffer.putLong(1024L); buffer.putLong(1024L);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 30.5K bytes - Viewed (0) -
docs/debugging/xl-meta/main.go
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 40.3K bytes - Viewed (0) -
src/archive/tar/reader_test.go
{data2[:512], 1, io.ErrUnexpectedEOF}, {data2[:1195], 1, io.ErrUnexpectedEOF}, {data2[:1196], 1, io.EOF}, // Exact end of data and start of padding {data2[:1200], 1, io.EOF}, {data2[:1535], 1, io.EOF}, {data2[:1536], 1, io.EOF}, // Exact end of padding {data2[:1536] + trash[:1], 1, io.ErrUnexpectedEOF}, {data2[:1536] + trash[:511], 1, io.ErrUnexpectedEOF}, {data2[:1536] + trash, 1, ErrHeader},
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Thu Oct 03 15:48:09 UTC 2024 - 46.9K bytes - Viewed (0)