Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 517 for offsets (0.04 sec)

  1. src/main/java/jcifs/internal/smb2/lease/DirectoryChangeNotifier.java

                return;
            }
    
            int offset = 0;
    
            while (offset < outputBuffer.length) {
                // Parse FILE_NOTIFY_INFORMATION structure
                int nextEntryOffset = SMBUtil.readInt4(outputBuffer, offset);
                int action = SMBUtil.readInt4(outputBuffer, offset + 4);
                int fileNameLength = SMBUtil.readInt4(outputBuffer, offset + 8);
    
                // Extract filename
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/util/ByteEncodableTest.java

            assertArrayEquals(new byte[] { 0x02, 0x03, 0x04, 0x00, 0x00 }, dest, "Encoded bytes should match the expected subset");
        }
    
        @Test
        void testEncodeWithOffset() {
            // Test encoding with a destination offset
            byte[] data = { 0x01, 0x02, 0x03, 0x04, 0x05 };
            ByteEncodable encodable = new ByteEncodable(data, 0, 3);
            byte[] dest = new byte[5]; // {0,0,0,0,0}
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/idn/IdnaMappingTable.kt

     *
     * ```
     *  0..63 : Length of the UTF-16 sequence that this range maps to. The offset is b2b3.
     * 64..79 : Offset by a fixed negative offset. The bottom 4 bits of b1 are the top 4 bits of the offset.
     * 80..95 : Offset by a fixed positive offset. The bottom 4 bits of b1 are the top 4 bits of the offset.
     *    119 : Ignored.
     *    120 : Valid.
     *    121 : Disallowed
     *    122 : Mapped inline to the sequence: [b2].
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/nego/PreauthIntegrityNegotiateContextTest.java

                assertEquals(12, bytesWritten);
                assertEquals(1, SMBUtil.readInt2(buffer, offset));
                assertEquals(6, SMBUtil.readInt2(buffer, offset + 2));
                assertEquals(PreauthIntegrityNegotiateContext.HASH_ALGO_SHA512, SMBUtil.readInt2(buffer, offset + 4));
                assertArrayEquals(salt, Arrays.copyOfRange(buffer, offset + 6, offset + 12));
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 34K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/fscc/FileEndOfFileInformationTest.java

        }
    
        @Test
        @DisplayName("Test decode with offset")
        void testDecodeWithOffset() throws SMBProtocolDecodingException {
            // Prepare buffer with offset
            long expectedValue = 0xAAAABBBBCCCCDDDDL;
            byte[] buffer = new byte[20];
            int offset = 7;
            SMBUtil.writeInt8(expectedValue, buffer, offset);
    
            // Decode from offset
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/ntlmssp/Type2Message.java

            int offset = 0;
            if (domainLength > 0) {
                writeUShort(targetInfo, offset, 2);
                offset += 2;
                writeUShort(targetInfo, offset, domainLength);
                offset += 2;
                System.arraycopy(domain, 0, targetInfo, offset, domainLength);
                offset += domainLength;
            }
            if (serverLength > 0) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 13K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/Smb2CancelRequestTest.java

            byte[] buffer = new byte[100];
            int offset = 10;
    
            // When
            int bytesWritten = request.writeBytesWireFormat(buffer, offset);
    
            // Then
            assertEquals(4, bytesWritten, "Should write 4 bytes");
            // Check that structure size (4) is written as 2-byte little-endian
            assertEquals(4, buffer[offset] | (buffer[offset + 1] << 8), "Structure size should be 4");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/util/transport/ResponseTest.java

            int offset = 0;
            int size = 3;
    
            // Simulate successful verification
            when(mockResponse.verifySignature(buffer, offset, size)).thenReturn(true);
            assertTrue(mockResponse.verifySignature(buffer, offset, size));
    
            // Simulate failed verification
            when(mockResponse.verifySignature(buffer, offset, size)).thenReturn(false);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top