Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 541 for offset (0.37 sec)

  1. src/main/java/jcifs/internal/smb1/com/SmbComWrite.java

         * @param offset the file offset at which to write
         * @param remaining the number of bytes remaining to be written
         * @param b the data buffer containing bytes to write
         * @param off the offset in the buffer where data starts
         * @param len the number of bytes to write
         */
        public SmbComWrite(final Configuration config, final int fid, final int offset, final int remaining, final byte[] b, final int off,
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/rank/fusion/RankFusionProcessor.java

            if (startPosition * 2 >= windowSize) {
                int offset = params.getOffset();
                if (offset < 0) {
                    offset = 0;
                } else if (offset > windowSize / 2) {
                    offset = windowSize / 2;
                }
                int start = startPosition - offset;
                if (start < 0) {
                    start = 0;
                }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 24.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/rdma/Smb2RdmaTransform.java

         */
        public Smb2RdmaTransform(long offset, int token, int length) {
            this.offset = offset;
            this.token = token;
            this.length = length;
        }
    
        /**
         * Get buffer offset
         *
         * @return offset within registered buffer
         */
        public long getOffset() {
            return offset;
        }
    
        /**
         * Get RDMA token
         *
         * @return RDMA provider token
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeTest.java

            byte[] buffer = new byte[10];
            int offset = 2;
    
            // Act
            int bytesWritten = transPeekNamedPipe.writeSetupWireFormat(buffer, offset);
    
            // Assert
            assertEquals(4, bytesWritten);
            assertEquals(SmbComTransaction.TRANS_PEEK_NAMED_PIPE, buffer[offset]);
            assertEquals((byte) 0x00, buffer[offset + 1]);
    
            // Verify FID is written correctly (little-endian)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/util/HexdumpTest.java

        }
    
        @Test
        @DisplayName("Should format with specific offset and length")
        void testHexdumpWithOffsetAndLength() {
            // Given
            byte[] data = createTestData(64);
            int offset = 16;
            int length = 32;
    
            // When
            String result = Hexdump.toHexString(data, offset, length);
    
            // Then
            assertNotNull(result);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/com/LockingAndXRange.java

         */
        public LockingAndXRange(final boolean largeFile) {
            this.largeFile = largeFile;
        }
    
        /**
         * Returns the process ID associated with this lock range.
         *
         * @return the process ID
         */
        public int getPid() {
            return this.pid;
        }
    
        /**
         * Returns the starting byte offset 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)
  7. src/main/java/jcifs/ntlmssp/NtlmMessage.java

            final int offset = readULong(src, index + 4);
            final byte[] buffer = new byte[length];
            System.arraycopy(src, offset, buffer, 0, length);
            return buffer;
        }
    
        static void writeULong(final byte[] dest, final int offset, final int ulong) {
            dest[offset] = (byte) (ulong & 0xff);
            dest[offset + 1] = (byte) (ulong >> 8 & 0xff);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/dfs/DfsReferralRequestBufferTest.java

            @DisplayName("Should encode with offset correctly")
            void testEncodeWithOffset() {
                String path = "\\\\test";
                int maxReferralLevel = 5;
                buffer = new DfsReferralRequestBuffer(path, maxReferralLevel);
    
                int offset = 10;
                byte[] dst = new byte[offset + buffer.size()];
                int bytesEncoded = buffer.encode(dst, offset);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/dfs/ReferralTest.java

                assertEquals(ttl, ref.getTtl());
            }
        }
    
        // Buffer Offset Tests
    
        @Test
        public void testDecodeFromNonZeroIndex() {
            int offset = 100;
            ByteBuffer bb = ByteBuffer.wrap(testBuffer).order(ByteOrder.LITTLE_ENDIAN);
    
            bb.position(offset);
            bb.putShort((short) 1);
            bb.putShort((short) 24);
            bb.putShort((short) 1);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 22K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb1/com/SmbComSeekResponse.java

        private long offset;
    
        /**
         * Constructs a seek response.
         *
         * @param config the configuration
         */
        public SmbComSeekResponse(final Configuration config) {
            super(config);
        }
    
        /**
         * Gets the current file offset after the seek operation.
         *
         * @return the offset
         */
        public long getOffset() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 2.8K bytes
    - Viewed (0)
Back to top