Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 465 for OFFSET (1.62 sec)

  1. src/test/java/jcifs/internal/smb1/net/NetServerEnum2Test.java

        }
    
        private String readNullTerminatedString(byte[] buffer, int offset) {
            int end = offset;
            while (end < buffer.length && buffer[end] != 0) {
                end++;
            }
            return new String(buffer, offset, end - offset);
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/util/HMACT64Test.java

                verify(mockMd5, times(1)).update((byte) 0x01);
            }
        }
    
        @Test
        void testEngineUpdateByteArray() throws NoSuchAlgorithmException {
            // Test engineUpdate(byte[] input, int offset, int len)
            try (MockedStatic<Crypto> mockedCrypto = mockStatic(Crypto.class)) {
                mockedCrypto.when(Crypto::getMD5).thenReturn(mockMd5);
                HMACT64 hmac = new HMACT64(TEST_KEY);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  3. src/main/webapp/css/admin/bootstrap.min.css

    flex-order:11;order:11}.order-sm-12{-ms-flex-order:12;order:12}.offset-sm-0{margin-left:0}.offset-sm-1{margin-left:8.333333%}.offset-sm-2{margin-left:16.666667%}.offset-sm-3{margin-left:25%}.offset-sm-4{margin-left:33.333333%}.offset-sm-5{margin-left:41.666667%}.offset-sm-6{margin-left:50%}.offset-sm-7{margin-left:58.333333%}.offset-sm-8{margin-left:66.666667%}.offset-sm-9{margin-left:75%}.offset-sm-10{margin-left:83.333333%}.offset-sm-11{margin-left:91.666667%}}@media (min-width:768px){.col-md{...
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Oct 26 01:49:09 UTC 2024
    - 158.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/util/RC4.java

         *
         * @param src the source data array
         * @param soff the offset in the source array
         * @param slen the length of data to process
         * @param dst the destination array for the result
         * @param doff the offset in the destination array
         */
        public void update(final byte[] src, int soff, final int slen, final byte[] dst, int doff) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

         * @param str string to measure
         * @param offset current buffer offset for alignment calculation
         * @return string length
         */
        public int stringWireLength(final String str, final int offset) {
            int len = str.length() + 1;
            if (this.useUnicode) {
                len = str.length() * 2 + 2;
                len = offset % 2 != 0 ? len + 1 : len;
            }
            return len;
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 38.9K bytes
    - Viewed (0)
  6. src/archive/tar/reader.go

    			if s.entry(i).offset()[0] == 0x00 {
    				break // Don't return, need to process extended headers (even if empty)
    			}
    			offset := p.parseNumeric(s.entry(i).offset())
    			length := p.parseNumeric(s.entry(i).length())
    			if p.err != nil {
    				return nil, p.err
    			}
    			spd = append(spd, sparseEntry{Offset: offset, Length: length})
    		}
    
    		if s.isExtended()[0] > 0 {
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Mar 08 01:59:14 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequestTest.java

            // Verify by writing to buffer and checking the fileId position
            byte[] buffer = new byte[1024];
            request.writeBytesWireFormat(buffer, Smb2Constants.SMB2_HEADER_LENGTH);
    
            // FileId is at offset 8 in the request structure
            for (int i = 0; i < 16; i++) {
                assertEquals(fileId[i], buffer[Smb2Constants.SMB2_HEADER_LENGTH + 8 + i]);
            }
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationResponseTest.java

        @BeforeEach
        void setUp() {
            mockConfig = mock(Configuration.class);
        }
    
        @Test
        void testConstructor() {
            // Test constructor with positive timezone offset
            long serverTimeZoneOffset = 3600000L; // 1 hour in milliseconds
            response = new SmbComQueryInformationResponse(mockConfig, serverTimeZoneOffset);
    
            assertNotNull(response);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/dcerpc/msrpc/lsarpcTest.java

            private byte[] data;
            private int offset;
    
            public MockNdrBuffer(byte[] data) {
                super(data, 0);
                this.data = data;
                this.offset = 0;
            }
    
            @Override
            public int align(int a) {
                // Simulate alignment by advancing offset
                int remainder = offset % a;
                if (remainder != 0) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 60.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/dfs/DfsReferralResponseBufferTest.java

            @Test
            @DisplayName("Should decode with non-zero buffer offset")
            void testDecodeWithOffset() {
                byte[] testBuffer = new byte[20];
                int offset = 5;
                ByteBuffer bb = ByteBuffer.wrap(testBuffer).order(ByteOrder.LITTLE_ENDIAN);
    
                // Add padding before actual data
                bb.position(offset);
                bb.putShort((short) 24); // pathConsumed
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.4K bytes
    - Viewed (0)
Back to top