Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 178 for 0x104 (0.04 sec)

  1. src/test/java/jcifs/ntlmssp/av/AvPairsTest.java

         */
        @Test
        @DisplayName("Decode unknown AvPair type as generic AvPair")
        void testDecodeUnknownType() throws CIFSException {
            byte[] data = new byte[] { 0x01, 0x02, 0x03, 0x04 };
            int unknownType = 0xFF;
            byte[] avPairData = createAvPairData(unknownType, data);
            byte[] eolData = createEolData();
    
            byte[] fullData = new byte[avPairData.length + eolData.length];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/ntlmssp/av/AvFlagsTest.java

        /**
         * Test constructor with raw bytes.
         */
        @Test
        void testAvFlagsByteArrayConstructor() {
            // Test with a positive integer
            byte[] rawBytes = new byte[] { 0x01, 0x02, 0x03, 0x04 }; // Represents 0x04030201 (little-endian)
            AvFlags avFlags = new AvFlags(rawBytes);
            assertNotNull(avFlags, "AvFlags object should not be null");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/primitives/IntsTest.java

        assertThat(Ints.toByteArray(0x12131415)).isEqualTo(new byte[] {0x12, 0x13, 0x14, 0x15});
        assertThat(Ints.toByteArray(0xFFEEDDCC))
            .isEqualTo(new byte[] {(byte) 0xFF, (byte) 0xEE, (byte) 0xDD, (byte) 0xCC});
      }
    
      public void testFromByteArray() {
        assertThat(Ints.fromByteArray(new byte[] {0x12, 0x13, 0x14, 0x15, 0x33})).isEqualTo(0x12131415);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationTest.java

            String result = trans.toString();
    
            // Then
            assertTrue(result.startsWith("Trans2QueryPathInformation["), "String should start with the class name.");
            assertTrue(result.contains("informationLevel=0x101"), "String should contain the correct information level.");
            assertTrue(result.contains("filename=test.txt"), "String should contain the correct filename.");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChange.java

            super(config, NT_TRANSACT_NOTIFY_CHANGE);
            this.fid = fid;
            this.completionFilter = completionFilter;
            this.watchTree = watchTree;
            this.setupCount = 0x04;
            this.totalDataCount = 0;
            this.maxDataCount = 0;
            this.maxParameterCount = config.getNotifyBufferSize();
            this.maxSetupCount = (byte) 0x00;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  6. doc/asm.html

    $ go tool objdump -s main.main x.exe
    TEXT main.main(SB) /tmp/x.go
      x.go:3		0x10501c0		65488b0c2530000000	MOVQ GS:0x30, CX
      x.go:3		0x10501c9		483b6110		CMPQ 0x10(CX), SP
      x.go:3		0x10501cd		7634			JBE 0x1050203
      x.go:3		0x10501cf		4883ec10		SUBQ $0x10, SP
      x.go:3		0x10501d3		48896c2408		MOVQ BP, 0x8(SP)
      x.go:3		0x10501d8		488d6c2408		LEAQ 0x8(SP), BP
      x.go:4		0x10501dd		e86e45fdff		CALL runtime.printlock(SB)
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Nov 28 19:15:27 UTC 2023
    - 36.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/SmbComOpenAndXTest.java

         */
        @Test
        void testConstructor_CreateAndFailIfExists() {
            int flags = SmbFile.O_CREAT | SmbFile.O_EXCL;
            smbComOpenAndX = new SmbComOpenAndX(fileName, access, flags, andx);
            assertEquals(0x10, smbComOpenAndX.openFunction); // OPEN_FN_CREATE | OPEN_FN_FAIL_IF_EXISTS
        }
    
        /**
         * Test constructor with O_CREAT flag.
         */
        @Test
        void testConstructor_CreateAndOpen() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/SmbComQueryInformationResponseTest.java

            // 2 bytes for fileAttributes, 4 bytes for lastWriteTime, 4 bytes for fileSize
            byte[] buffer = new byte[20];
            // File Attributes: 0x0010 (Directory)
            buffer[0] = 0x10;
            buffer[1] = 0x00;
            // Last Write Time (UTime): A sample timestamp in milliseconds
            long sampleTimeMillis = 1672531200000L; // Represents a specific date in milliseconds
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/nego/NegotiateContextResponseTest.java

            private byte[] testSalt;
            private int[] testHashAlgos;
    
            @BeforeEach
            void setUp() {
                testSalt = new byte[] { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08 };
                testHashAlgos = new int[] { PreauthIntegrityNegotiateContext.HASH_ALGO_SHA512 };
            }
    
            @Test
            @DisplayName("Should create context with constructor parameters")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2ResponseTest.java

            buffer[4] = 0x01; // end of search = true
            buffer[5] = 0x00;
            // eaErrorOffset (2 bytes)
            buffer[6] = 0x00;
            buffer[7] = 0x00;
            // lastNameOffset (2 bytes)
            buffer[8] = 0x10;
            buffer[9] = 0x00;
    
            int result = response.readParametersWireFormat(buffer, 0, 10);
    
            // Should read 10 bytes
            assertEquals(10, result);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
Back to top