Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 543 for offsets (0.27 sec)

  1. src/test/java/jcifs/internal/smb1/com/SmbComTreeDisconnectTest.java

                        int offset = threadIndex * 10;
                        smbComTreeDisconnect.writeParameterWordsWireFormat(buffer, offset);
                        smbComTreeDisconnect.writeBytesWireFormat(buffer, offset);
                        smbComTreeDisconnect.readParameterWordsWireFormat(buffer, offset);
                        smbComTreeDisconnect.readBytesWireFormat(buffer, offset);
                        smbComTreeDisconnect.toString();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/SMBSigningDigestTest.java

                largeData[i] = (byte) i;
            }
    
            // Test with different offsets
            int[] offsets = { 0, 10, 50, 90 };
    
            for (int offset : offsets) {
                // Act
                signingDigest.sign(largeData, offset, 10, request, response);
    
                // Assert
                verify(signingDigest).sign(largeData, offset, 10, request, response);
            }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupRequestTest.java

            }
        }
    
        @Test
        @DisplayName("Should write bytes at different buffer offsets")
        void testWriteBytesAtDifferentOffsets() throws Exception {
            // Test at different offsets
            int[] offsets = { 0, 10, 50, 100, 200 };
    
            for (int offset : offsets) {
                // Given
                byte[] buffer = new byte[1024];
                Smb2SessionSetupRequest req =
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  4. doc/asm.html

    Adding an offset to the name refers to that offset from the symbol's address, so
    <code>foo+4(SB)</code> is four bytes past the start of <code>foo</code>.
    </p>
    
    <p>
    The <code>FP</code> pseudo-register is a virtual frame pointer
    used to refer to function arguments.
    The compilers maintain a virtual frame pointer and refer to the arguments on the stack as offsets from that pseudo-register.
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Fri Nov 14 19:09:46 UTC 2025
    - 36.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java

            });
        }
    
        @Test
        @DisplayName("Should write consistent structure at different offsets")
        void testWriteBytesAtDifferentOffsets() throws Exception {
            // Test at different offsets
            int[] offsets = { 0, 10, 50, 100, 200 };
    
            for (int offset : offsets) {
                // Given
                byte[] buffer = new byte[1024];
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/fscc/FsctlPipeWaitRequestTest.java

            // Verify
            assertEquals(14 + nameBytes.length, bytesEncoded);
    
            // Check timeout value at offset
            assertEquals(timeout, SMBUtil.readInt8(buffer, offset));
    
            // Check name length at offset
            assertEquals(nameBytes.length, SMBUtil.readInt4(buffer, offset + 8));
    
            // Check timeout specified flag at offset
            assertEquals(0x1, buffer[offset + 12]);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  7. src/cmd/asm/internal/asm/testdata/386enc.s

    	MOVQ (AX), M0  // 0f6f00
    	MOVQ M0, 8(SP) // 0f7f442408
    	MOVQ 8(SP), M0 // 0f6f442408
    	MOVQ M0, (AX)  // 0f7f00
    	MOVQ M0, (BX)  // 0f7f03
    	// On non-64bit arch, Go asm allowed uint32 offsets instead of int32.
    	// These tests check that property for backwards-compatibility.
    	MOVL 2147483648(AX), AX  // 8b8000000080
    	MOVL -2147483648(AX), AX // 8b8000000080
    	ADDL 2147483648(AX), AX  // 038000000080
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Tue Apr 11 18:32:50 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectResponseTest.java

        @ParameterizedTest
        @ValueSource(ints = { 0, 10, 50, 100, 200 })
        void testReadBytesWireFormatAtDifferentOffsets(int offset) throws SMBProtocolDecodingException {
            // Given
            byte[] buffer = new byte[256];
    
            // Write valid structure at offset
            SMBUtil.writeInt2(4, buffer, offset);
            SMBUtil.writeInt2(0, buffer, offset + 2);
    
            // When
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/dcerpc/msrpc/MsrpcShareGetInfoTest.java

            // No group (offset 0)
            for (int i = 8; i < 12; i++)
                securityDescriptorBytes[i] = 0;
            // No SACL (offset 0)
            for (int i = 12; i < 16; i++)
                securityDescriptorBytes[i] = 0;
            // DACL at offset 20
            securityDescriptorBytes[16] = 20;
            securityDescriptorBytes[17] = 0;
            securityDescriptorBytes[18] = 0;
            securityDescriptorBytes[19] = 0;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/SmbComNtTransactionTest.java

            }
        }
    
        @BeforeEach
        void setUp() {
            smbComNtTransaction = new ConcreteSmbComNtTransaction();
        }
    
        @Test
        void testConstructor() {
            // Test if the offsets are initialized correctly by the constructor.
            assertEquals(69, smbComNtTransaction.primarySetupOffset, "primarySetupOffset should be initialized to 69");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
Back to top