Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 517 for offsets (0.04 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. src/main/java/jcifs/SmbTreeHandle.java

         * @return the tree is connected
         */
        boolean isConnected();
    
        /**
         * Gets the server timezone offset in milliseconds
         * @return server timezone offset
         * @throws CIFSException if an error occurs retrieving the timezone offset
         */
        long getServerTimeZoneOffset() throws CIFSException;
    
        /**
         * Gets the OEM domain name reported by the server
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/util/HexdumpTest.java

        @DisplayName("Should handle hexdump with offset")
        void testHexdumpWithOffset() {
            ByteArrayOutputStream baos = new ByteArrayOutputStream();
            PrintStream ps = new PrintStream(baos);
    
            // Create test data and dump from offset
            byte[] data = createTestData(64);
            int offset = 16;
            int length = 32;
    
            Hexdump.hexdump(ps, data, offset, length);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkCopyTest.java

                // Verify all chunks
                int offset = HEADER_SIZE;
                assertEquals(0L, SMBUtil.readInt8(buffer, offset));
                assertEquals(1024L, SMBUtil.readInt8(buffer, offset + 8));
                assertEquals(4096, SMBUtil.readInt4(buffer, offset + 16));
    
                offset += CHUNK_SIZE;
                assertEquals(4096L, SMBUtil.readInt8(buffer, offset));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 23.1K bytes
    - Viewed (0)
Back to top