Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 127 for positions (0.15 sec)

  1. src/test/java/jcifs/internal/fscc/FileRenameInformation2Test.java

            int dstIndex = 10;
            int bytesWritten = info.encode(buffer, dstIndex);
    
            // Verify replaceIfExists flag at correct position
            assertEquals(1, buffer[dstIndex]);
    
            // Verify file name length at correct position
            int nameLength = SMBUtil.readInt4(buffer, dstIndex + 16);
            assertEquals(fileName.getBytes(StandardCharsets.UTF_16LE).length, nameLength);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/pac/PacDataInputStreamTest.java

        }
    
        @Test
        public void testAlign() throws IOException {
            // Test alignment from position 1 to 4
            byte[] data = new byte[] { 0x01, 0x02, 0x03, 0x04, 0x05 };
            PacDataInputStream pdis = createInputStream(data);
            pdis.readByte(); // position is 1
            pdis.align(4);
            assertEquals(1, pdis.available());
            assertEquals(0x05, pdis.readByte());
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescResponseTest.java

            // Owner SID at offset 20
            buffer.position(20);
            buffer.put((byte) 0x01); // Revision
            buffer.put((byte) 0x01); // SubAuthorityCount
            buffer.put(new byte[] { 0, 0, 0, 0, 0, 1 }); // IdentifierAuthority
            buffer.putInt(0); // SubAuthority
    
            // Group SID at offset 40
            buffer.position(40);
            buffer.put((byte) 0x01); // Revision
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/dfs/DfsReferralResponseBufferTest.java

                bb.putShort((short) 3); // rflags
                // v1 node string follows
                bb.put("\\server1\0".getBytes(StandardCharsets.UTF_16LE));
    
                // Position for second referral
                bb.position(28); // 8 header + 20 first referral
    
                // Second Referral v1
                bb.putShort((short) 1); // version
                bb.putShort((short) 22); // size
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/trans/SmbComTransactionResponse.java

        protected int dataDisplacement;
        /** Number of setup words in this response */
        protected int setupCount;
        /** Start position of parameter data in the buffer */
        protected int bufParameterStart;
        /** Start position of data bytes in the buffer */
        protected int bufDataStart;
    
        int dataCount;
        byte subCommand;
        volatile boolean hasMore = true;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/beans/factory/ParameterizedClassDescFactory.java

         *
         * @param constructor
         *            The constructor. Must not be {@literal null}.
         * @param index
         *            The position of the argument.
         * @param map
         *            A {@link Map} with type variables as keys and type arguments as values for the parameterized type. Must not be {@literal null}.
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/fscc/FileStandardInfo.java

    /**
     * Represents the FILE_STANDARD_INFORMATION structure used in SMB2/3 file system control code (FSCC) operations.
     * This structure provides standard file information including allocation size, end-of-file position,
     * number of links, deletion status, and directory flag.
     */
    public class FileStandardInfo implements BasicFileInformation {
    
        private long allocationSize;
        private long endOfFile;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/rdma/tcp/TcpRdmaConnection.java

                writeBuffer.limit(writeBuffer.position() + bytesToWrite);
    
                int totalWritten = 0;
                while (writeBuffer.hasRemaining()) {
                    int written = socketChannel.write(writeBuffer);
                    totalWritten += written;
                }
    
                // Update original buffer position
                buffer.position(buffer.position() + totalWritten);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/rule/RuleManager.java

         */
        void addRule(Rule rule);
    
        /**
         * Adds a rule to the specified index.
         *
         * @param index the position at which the rule should be added
         * @param rule the rule to be added
         */
        /**
         * Adds a rule to the specified index.
         *
         * @param index the position at which the rule should be added
         * @param rule the rule to be added
         */
        void addRule(int index, Rule rule);
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeResponseTest.java

            byte[] fileNameBytes1 = fileName1.getBytes("UTF-16LE");
            buffer.putInt(fileNameBytes1.length);
            buffer.put(fileNameBytes1);
    
            // Align to secondOffset
            buffer.position(secondOffset);
    
            // Second notification with zero nextEntryOffset (last entry)
            buffer.putInt(0); // nextEntryOffset = 0 (last entry)
            buffer.putInt(FileNotifyInformation.FILE_ACTION_REMOVED);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.7K bytes
    - Viewed (0)
Back to top