Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 279 for 0x04 (0.02 sec)

  1. src/test/java/jcifs/smb1/smb1/NtlmContextTest.java

            // State 1: Generate Type 1 message
            context.initSecContext(new byte[0], 0, 0);
    
            // Create a mock Type 2 message (server challenge)
            byte[] serverChallenge = new byte[] { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08 };
            int type2Flags = NtlmFlags.NTLMSSP_NEGOTIATE_NTLM | NtlmFlags.NTLMSSP_REQUEST_TARGET | NtlmFlags.NTLMSSP_NEGOTIATE_KEY_EXCH
                    | NtlmFlags.NTLMSSP_NEGOTIATE_SIGN;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoRequestTest.java

        }
    
        @Test
        @DisplayName("Test createResponse method")
        void testCreateResponse() {
            request = new Smb2QueryInfoRequest(mockConfig);
            request.setInfoType((byte) 0x01);
            request.setFileInfoClass((byte) 0x04);
    
            Smb2QueryInfoResponse response = request.createResponse(mockContext, request);
    
            assertNotNull(response);
            verify(mockContext, times(1)).getConfig();
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbComNegotiateResponse.java

            bufferIndex++;
            server.security = server.securityMode & 0x01;
            server.encryptedPasswords = (server.securityMode & 0x02) == 0x02;
            server.signaturesEnabled = (server.securityMode & 0x04) == 0x04;
            server.signaturesRequired = (server.securityMode & 0x08) == 0x08;
            server.maxMpxCount = readInt2(buffer, bufferIndex);
            bufferIndex += 2;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/trans2/Trans2FindFirst2.java

     */
    public class Trans2FindFirst2 extends SmbComTransaction {
    
        // flags
    
        static final int FLAGS_CLOSE_AFTER_THIS_REQUEST = 0x01;
        static final int FLAGS_CLOSE_IF_END_REACHED = 0x02;
        static final int FLAGS_RETURN_RESUME_KEYS = 0x04;
        static final int FLAGS_RESUME_FROM_PREVIOUS_END = 0x08;
        static final int FLAGS_FIND_WITH_BACKUP_INTENT = 0x10;
    
        private final int searchAttributes;
        private final int tflags;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/netbios/NodeStatusResponse.java

                    isBeingDeleted = ((src[srcIndex + 16] & 0x10) == 0x10) == true;
                    isInConflict = ((src[srcIndex + 16] & 0x08) == 0x08) == true;
                    isActive = ((src[srcIndex + 16] & 0x04) == 0x04) == true;
                    isPermanent = ((src[srcIndex + 16] & 0x02) == 0x02) == true;
    
                    /* The NbtAddress object used to query this node will be in the list
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectRequestTest.java

            int bytesWritten = request.writeBytesWireFormat(buffer, offset);
    
            // Then
            assertEquals(4, bytesWritten);
    
            // Expected wire format: [0x04, 0x00, 0x00, 0x00]
            byte[] expected = new byte[] { 0x04, 0x00, 0x00, 0x00 };
            assertArrayEquals(expected, buffer);
        }
    
        @Test
        @DisplayName("Should always return 0 for readBytesWireFormat")
        void testReadBytesWireFormat() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectResponseTest.java

            // Given
            byte[] buffer = new byte[256];
    
            // Write exact structure size value (4)
            buffer[0] = 0x04;
            buffer[1] = 0x00;
            buffer[2] = 0x00;
            buffer[3] = 0x00;
    
            // When
            int bytesRead = response.readBytesWireFormat(buffer, 0);
    
            // Then
            assertEquals(4, bytesRead);
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/hash/HashCodeTest.java

                    (byte) 0x05, (byte) 0x06, (byte) 0x07, (byte) 0x08
                  },
                  0x89abcdef,
                  0x0123456789abcdefL, // asInt/asLong as above, due to equal eight first bytes
                  "efcdab89674523010102030405060708"),
              new ExpectedHashCode(
                  new byte[] {(byte) 0xdf, (byte) 0x9b, (byte) 0x57, (byte) 0x13},
                  0x13579bdf,
                  null,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbRandomAccessFileTest.java

                byte[] b = inv.getArgument(0);
                int off = inv.getArgument(1);
                b[off] = 0x01;
                b[off + 1] = 0x02;
                b[off + 2] = 0x03;
                b[off + 3] = 0x04;
                b[off + 4] = 0x05;
                b[off + 5] = 0x06;
                b[off + 6] = 0x07;
                b[off + 7] = 0x08;
                return 8;
            }).when(raf).read(any(byte[].class), anyInt(), eq(8));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/SmbComDeleteDirectoryTest.java

            // format byte + path + null terminator
            byte[] expected = new byte[1 + dirName.length() + 1];
            expected[0] = 0x04; // buffer format
            System.arraycopy(dirName.getBytes(), 0, expected, 1, dirName.length());
            expected[dirName.length() + 1] = 0x00; // null terminator
    
            byte[] dst = new byte[100];
            int len = sdd.writeBytesWireFormat(dst, 0);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.7K bytes
    - Viewed (0)
Back to top