Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 475 for COffset (0.05 sec)

  1. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java

            assertEquals(9, SMBUtil.readInt2(buffer, offset));
    
            // Verify tree flags (0)
            assertEquals(0, SMBUtil.readInt2(buffer, offset + 2));
    
            // Verify path length
            assertEquals(pathBytes.length, SMBUtil.readInt2(buffer, offset + 6));
    
            // Verify path content
            byte[] actualPath = new byte[pathBytes.length];
            System.arraycopy(buffer, offset + 8, actualPath, 0, pathBytes.length);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbConstants.java

        int SECURITY_USER = 0x01;
    
        /** Command offset in SMB header */
        int CMD_OFFSET = 4;
        /** Error code offset in SMB header */
        int ERROR_CODE_OFFSET = 5;
        /** Flags offset in SMB header */
        int FLAGS_OFFSET = 9;
        /** Signature offset in SMB header */
        int SIGNATURE_OFFSET = 14;
        /** TID offset in SMB header */
        int TID_OFFSET = 24;
        /** SMB header length */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryResponseTest.java

            byte[] buffer = new byte[512];
            int bufferIndex = 0;
    
            // Set structure size to 9 (valid)
            SMBUtil.writeInt2(9, buffer, bufferIndex);
            // Set buffer offset (relative to header start)
            SMBUtil.writeInt2(80, buffer, bufferIndex + 2);
            // Set buffer length (empty directory)
            SMBUtil.writeInt4(0, buffer, bufferIndex + 4);
    
            // Mock getHeaderStart
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 23.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionTest.java

            // Execute the method with offset
            int bytesWritten = transaction.writeParameterWordsWireFormat(dst, startOffset);
    
            // Verify the bytes written
            assertTrue(bytesWritten > 0);
    
            // Verify data is written at correct offset
            assertEquals(3, dst[startOffset]);
    
            // Verify total parameter count at correct offset
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/create/Smb2CreateRequestTest.java

            byte[] buffer = new byte[2048];
            int bytesWritten = request.writeBytesWireFormat(buffer, 0);
    
            assertTrue(bytesWritten > 0);
    
            // Verify name length field at offset 46 (after 44 bytes of fixed fields + 2 for name offset)
            byte[] nameBytes = longPath.getBytes(StandardCharsets.UTF_16LE);
            int nameLenInBuffer = (buffer[46] & 0xFF) | ((buffer[47] & 0xFF) << 8);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/dict/DictionaryFile.java

        /**
         * Retrieves a paginated list of dictionary items.
         *
         * @param offset the starting offset for pagination
         * @param size the number of items to retrieve
         * @return a paginated list of dictionary items
         */
        public abstract PagingList<T> selectList(int offset, int size);
    
        /**
         * Retrieves a dictionary item by its ID.
         *
         * @param id the item ID
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/dict/stopwords/StopwordsFile.java

            if (stopwordsItemList == null) {
                reload(null);
            }
    
            if (offset >= stopwordsItemList.size() || offset < 0) {
                return new PagingList<>(Collections.<StopwordsItem> emptyList(), offset, size, stopwordsItemList.size());
            }
    
            int toIndex = offset + size;
            if (toIndex > stopwordsItemList.size()) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/com/LockingAndXRange.java

         *
         * @return the process ID
         */
        public int getPid() {
            return this.pid;
        }
    
        /**
         * Returns the starting byte offset of the lock range.
         *
         * @return the starting byte offset
         */
        public long getByteOffset() {
            return this.byteOffset;
        }
    
        /**
         * Returns the byte length of the lock range.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/fscc/FileSystemInformationTest.java

            @Test
            @DisplayName("Should handle buffer offset correctly")
            void testDecodeWithOffset() throws SMBProtocolDecodingException {
                byte[] buffer = new byte[100];
                int offset = 50;
    
                // Set data at offset
                buffer[offset + 16] = 0x04; // sectPerAlloc
                buffer[offset + 20] = 0x00;
                buffer[offset + 21] = 0x02; // bytesPerSect
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/dict/stemmeroverride/StemmerOverrideFile.java

            if (stemmerOverrideItemList == null) {
                reload(null);
            }
    
            if (offset >= stemmerOverrideItemList.size() || offset < 0) {
                return new PagingList<>(Collections.<StemmerOverrideItem> emptyList(), offset, size, stemmerOverrideItemList.size());
            }
    
            int toIndex = offset + size;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 13.7K bytes
    - Viewed (0)
Back to top