- Sort Score
- Num 10 results
- Language All
Results 241 - 250 of 457 for Offset (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/test/java/jcifs/smb/compression/DefaultCompressionServiceTest.java
byte[] decompressed = compressionService.decompress(compressed, CompressionService.COMPRESSION_LZ77_HUFFMAN); assertArrayEquals(testData, decompressed); } @Test @DisplayName("Test compression with offset and length") public void testCompressionWithOffsetLength() throws CIFSException { byte[] paddedData = new byte[testData.length + 200]; System.arraycopy(testData, 0, paddedData, 100, testData.length);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 9.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/nego/NegotiateContextResponseTest.java
assertEquals(0, buffer[13]); assertEquals((byte) 0xFF, buffer[9]); // Should not modify before offset assertEquals((byte) 0xFF, buffer[14]); // Should not modify after encoded data } @Test @DisplayName("Should handle offset in decode") void testDecodeWithOffset() throws SMBProtocolDecodingException { // Arrange
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 19.4K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/com/SmbComQueryInformationResponse.java
private int fileSize = 0; /** * Constructs a query information response. * * @param config the configuration * @param serverTimeZoneOffset the server time zone offset */ public SmbComQueryInformationResponse(final Configuration config, final long serverTimeZoneOffset) { super(config, SMB_COM_QUERY_INFORMATION); this.serverTimeZoneOffset = serverTimeZoneOffset;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/AndXServerMessageBlockTest.java
} @Override public void setRawPayload(byte[] payload) { this.rawPayload = payload; } @Override public boolean verifySignature(byte[] data, int offset, int length) { return true; // Default to successful verification } public void setRetainPayload(boolean retain) { this.retainPayload = retain; }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 19.4K bytes - Click Count (0) -
okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsRecordCodec.kt
// 0 - 63 bytes var length = source.readByte().toInt() if (length < 0) { // compressed name pointer, first two bits are 1 // drop second byte of compression offset source.skip(1) } else { while (length > 0) { // skip each part of the domain name source.skip(length.toLong()) length = source.readByte().toInt() } }Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 3.9K bytes - Click Count (0) -
cmd/storage-interface.go
ReadFile(ctx context.Context, volume string, path string, offset int64, buf []byte, verifier *BitrotVerifier) (n int64, err error) AppendFile(ctx context.Context, volume string, path string, buf []byte) (err error) CreateFile(ctx context.Context, origvolume, olume, path string, size int64, reader io.Reader) error ReadFileStream(ctx context.Context, volume, path string, offset, length int64) (io.ReadCloser, error)
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Apr 25 05:41:04 GMT 2025 - 5.3K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableMultiset.java
@GwtIncompatible // not present in emulated superclass @Override int copyIntoArray(@Nullable Object[] dst, int offset) { for (Multiset.Entry<E> entry : entrySet()) { Arrays.fill(dst, offset, offset + entry.getCount(), entry.getElement()); offset += entry.getCount(); } return offset; } @Override public boolean equals(@Nullable Object object) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 21:07:18 GMT 2025 - 22.3K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/UnsignedBytes.java
} try { int offset = theUnsafe.arrayBaseOffset(byte[].class); int scale = theUnsafe.arrayIndexScale(byte[].class); // Use Unsafe only if we're in a 64-bit JVM with an 8-byte aligned field offset. if (Objects.equals(System.getProperty("sun.arch.data.model"), "64") && (offset % 8) == 0 // sanity check - this should never failCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 16:38:16 GMT 2026 - 21K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/ioctl/QueryNetworkInterfaceInfoRequest.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 11:13:46 GMT 2025 - 1.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/FileFsSizeInformationTest.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 25.9K bytes - Click Count (0)