Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 466 for YOffset (0.03 sec)

  1. docs/smb3-features/02-persistent-handles-design.md

        @Override
        public void encode(byte[] buffer, int offset) {
            // Context header
            int nameLen = getName().length();
            writeInt4(buffer, offset, 16);  // Next
            writeInt2(buffer, offset + 4, nameLen);  // NameOffset
            writeInt2(buffer, offset + 6, nameLen);  // NameLength
            writeInt2(buffer, offset + 8, 0);  // Reserved
            writeInt2(buffer, offset + 10, STRUCTURE_SIZE);  // DataOffset
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 31.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/com/SmbComSeekResponseTest.java

        }
    
        @Test
        @DisplayName("readParameterWordsWireFormat with offset beyond buffer - throws exception")
        void testReadParameterWordsWithOffsetBeyondBuffer() {
            byte[] buffer = new byte[] { 0x00, 0x01, 0x02, 0x03, 0x04 };
            assertThrows(ArrayIndexOutOfBoundsException.class, () -> response.readParameterWordsWireFormat(buffer, 2) // Only 3 bytes available from offset 2
            );
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeTest.java

            byte[] dst = new byte[100];
    
            int bytesWritten = notifyChange.writeSetupWireFormat(dst, 10);
    
            // Verify structure:
            // Offset 0-3: Completion Filter (4 bytes)
            // Offset 4-5: FID (2 bytes)
            // Offset 6: Watch Tree (1 byte)
            // Offset 7: Reserved (1 byte)
            assertEquals(8, bytesWritten);
    
            // Check completion filter
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/dict/mapping/CharMappingFile.java

            if (offset >= mappingItemList.size() || offset < 0) {
                return new PagingList<>(Collections.<CharMappingItem> emptyList(), offset, size, mappingItemList.size());
            }
    
            int toIndex = offset + size;
            if (toIndex > mappingItemList.size()) {
                toIndex = mappingItemList.size();
            }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  5. docs/smb3-features/04-directory-leasing-design.md

            byte[] data = response.getOutputBuffer();
            int offset = 0;
            
            while (offset < data.length) {
                int nextEntryOffset = readInt4(data, offset);
                int action = readInt4(data, offset + 4);
                int fileNameLength = readInt4(data, offset + 8);
                
                // Extract filename
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/ioctl/SrvRequestResumeKeyResponseTest.java

            buffer[offset + 24] = 0x12;
            buffer[offset + 25] = 0x34;
            buffer[offset + 26] = 0x56;
            buffer[offset + 27] = 0x78;
    
            // Decode
            int bytesConsumed = response.decode(buffer, offset, 28);
    
            // Verify
            assertEquals(28, bytesConsumed, "Should consume exactly 28 bytes");
    
            byte[] resumeKey = response.getResumeKey();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/RequestBody.kt

              imports = ["okhttp3.RequestBody.Companion.toRequestBody"],
            ),
          level = DeprecationLevel.WARNING,
        )
        fun create(
          contentType: MediaType?,
          content: ByteArray,
          offset: Int = 0,
          byteCount: Int = content.size,
        ): RequestBody = content.toRequestBody(contentType, offset, byteCount)
    
        @JvmStatic
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 04 17:43:43 UTC 2025
    - 9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/compression/DefaultCompressionService.java

        }
    
        @Override
        public byte[] compress(byte[] data, int offset, int length, int algorithm) throws CIFSException {
            if (data == null) {
                throw new CIFSException("Data cannot be null");
            }
            if (offset < 0 || length < 0 || offset + length > data.length) {
                throw new CIFSException("Invalid offset or length");
            }
            if (!isAlgorithmSupported(algorithm)) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/multichannel/NetworkInterfaceInfo.java

                SMBUtil.writeInt4(0, buffer, offset + 4); // sin6_flowinfo
                System.arraycopy(address.getAddress(), 0, buffer, offset + 8, 16); // sin6_addr
                SMBUtil.writeInt4(0, buffer, offset + 24); // sin6_scope_id
            } else {
                // IPv4 sockaddr_in structure (Windows AF_INET = 2)
                SMBUtil.writeInt2(2, buffer, offset); // sa_family: AF_INET
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/net/NetShareEnumTest.java

                assertEquals(descrBytes[i], dst[offset + i]);
            }
            offset += descrBytes.length;
    
            // 3. Level (2 bytes)
            assertEquals(0x0001, SMBUtil.readInt2(dst, offset));
            offset += 2;
    
            // 4. MaxDataCount (2 bytes)
            int maxDataCount = SMBUtil.readInt2(dst, offset);
            assertTrue(maxDataCount > 0);
            offset += 2;
    
            // Verify total bytes written
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
Back to top