Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 517 for offsets (0.04 sec)

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

        @Test
        @DisplayName("Test decode with buffer offset")
        void testDecodeWithBufferOffset() throws SMBProtocolDecodingException {
            // Prepare test data with offset
            byte[] buffer = new byte[20]; // Extra space to test offset
            int bufferIndex = 7; // Start at offset 7
            long expectedIndexNumber = 0xFEDCBA9876543210L;
    
            // Encode test data at offset
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/arch/arm64.go

    }
    
    // ARM64RegisterListOffset generates offset encoding according to AArch64 specification.
    func ARM64RegisterListOffset(firstReg, regCnt int, arrangement int64) (int64, error) {
    	offset := int64(firstReg)
    	switch regCnt {
    	case 1:
    		offset |= 0x7 << 12
    	case 2:
    		offset |= 0xa << 12
    	case 3:
    		offset |= 0x6 << 12
    	case 4:
    		offset |= 0x2 << 12
    	default:
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Feb 14 15:13:11 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  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