Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 491 for Offset (0.17 sec)

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

         */
        public final void setMode(final int mode) {
            this.mode = mode;
        }
    
        /**
         * Sets the seek offset.
         *
         * @param offset
         *            the offset to set
         */
        public final void setOffset(final long offset) {
            this.offset = offset;
        }
    
        /**
         * {@inheritDoc}
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/create/Smb2CloseRequestTest.java

            assertEquals(0, SMBUtil.readInt2(buffer, offset + 2));
    
            // Verify Reserved (4 bytes at offset+4, should be 0)
            assertEquals(0, SMBUtil.readInt4(buffer, offset + 4));
    
            // Verify file ID is copied correctly (16 bytes starting at offset+8)
            byte[] copiedFileId = new byte[16];
            System.arraycopy(buffer, offset + 8, copiedFileId, 0, 16);
            assertArrayEquals(testFileId, copiedFileId);
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/util/QueryResponseList.java

         * @param pageSize the number of records per page
         * @param offset the offset value for pagination
         */
        protected QueryResponseList(final List<Map<String, Object>> documentList, final int start, final int pageSize, final int offset) {
            parent = documentList;
            this.offset = offset;
            this.start = start;
            this.pageSize = pageSize;
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java

            @Test
            @DisplayName("Should handle offset correctly in verify")
            void testVerifyWithOffset() throws Exception {
                byte[] largeData = new byte[256];
                int offset = 64;
                Arrays.fill(largeData, (byte) 0x00);
    
                // Set signed flag at correct offset
                SMBUtil.writeInt4(ServerMessageBlock2.SMB2_FLAGS_SIGNED, largeData, offset + 16);
    
                // Create valid signature
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 43.7K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/opensearch/extension/analysis/NGramSynonymTokenizer.java

            }
        }
    
        /*
         * static class SynInfo { final String src; final int offset, length; final String[] synonyms; Mode mode; int count;
         * SynInfo(String src, int offset, int length, String[] synonyms){ this.src = src; this.offset = offset; this.length
         * = length; this.synonyms = synonyms; }
         *
         * static enum Mode { PREV, SYN, AFTER; } }
         */
    
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Sat Mar 15 06:51:20 UTC 2025
    - 17K bytes
    - Viewed (0)
  6. src/test/java/jcifs/SmbTreeHandleTest.java

         * Verifies that the method returns the correct time zone offset.
         * @throws CIFSException
         */
        @Test
        void testGetServerTimeZoneOffset() throws CIFSException {
            when(smbTreeHandle.getServerTimeZoneOffset()).thenReturn(0L);
            assertEquals(0L, smbTreeHandle.getServerTimeZoneOffset(), "Server time zone offset should be 0");
            when(smbTreeHandle.getServerTimeZoneOffset()).thenReturn(3600000L);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  7. cmd/dummy-data-generator_test.go

    	}
    	return
    }
    
    func (d *DummyDataGen) Seek(offset int64, whence int) (int64, error) {
    	switch whence {
    	case io.SeekStart:
    		if offset < 0 {
    			return 0, errors.New("Invalid offset")
    		}
    		d.idx = offset
    	case io.SeekCurrent:
    		if d.idx+offset < 0 {
    			return 0, errors.New("Invalid offset")
    		}
    		d.idx += offset
    	case io.SeekEnd:
    		if d.length+offset < 0 {
    			return 0, errors.New("Invalid offset")
    		}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/SMBSigningDigest.java

         * @param data
         *            The data.
         * @param offset
         *            The starting offset at which the SMB header begins.
         * @param length
         *            The length of the SMB data starting at offset.
         * @param request
         *            request message
         * @param response
         *            response message
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  9. src/cmd/asm/internal/asm/parse.go

    			p.get(',')
    		}
    	}
    	a.Type = obj.TYPE_REGLIST
    	switch p.arch.Family {
    	case sys.ARM:
    		a.Offset = int64(bits)
    	case sys.ARM64:
    		offset, err := arch.ARM64RegisterListOffset(firstReg, regCnt, arrangement)
    		if err != nil {
    			p.errorf("%v", err)
    		}
    		a.Offset = offset
    	default:
    		p.errorf("register list not supported on this architecture")
    	}
    }
    
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Feb 14 15:13:11 UTC 2025
    - 37.3K bytes
    - Viewed (0)
  10. src/archive/zip/struct.go

    // timeZone returns a *time.Location based on the provided offset.
    // If the offset is non-sensible, then this uses an offset of zero.
    func timeZone(offset time.Duration) *time.Location {
    	const (
    		minOffset   = -12 * time.Hour  // E.g., Baker island at -12:00
    		maxOffset   = +14 * time.Hour  // E.g., Line island at +14:00
    		offsetAlias = 15 * time.Minute // E.g., Nepal at +5:45
    	)
    	offset = offset.Round(offsetAlias)
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue May 28 21:41:09 UTC 2024
    - 12.1K bytes
    - Viewed (0)
Back to top