Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 71 for 0x1234567 (0.13 sec)

  1. src/test/java/jcifs/dcerpc/DcerpcExceptionTest.java

         */
        @Test
        void testConstructorWithError_unknownCode() {
            int errorCode = 0x12345678; // An arbitrary unknown error code
            DcerpcException exception = new DcerpcException(errorCode);
    
            assertEquals(errorCode, exception.getErrorCode(), "Error code should match the input.");
            assertEquals("0x12345678", exception.getMessage(), "Message should be hex string for unknown error code.");
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/dcerpc/rpcTest.java

            @DisplayName("Should encode UUID correctly")
            void testUuidTEncode() throws NdrException {
                // Given: A UUID with test values
                rpc.uuid_t uuid = new rpc.uuid_t();
                uuid.time_low = 0x12345678;
                uuid.time_mid = (short) 0x9ABC;
                uuid.time_hi_and_version = (short) 0xDEF0;
                uuid.clock_seq_hi_and_reserved = (byte) 0x11;
                uuid.clock_seq_low = (byte) 0x22;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/helper/DocumentHelperTest.java

            assertEquals("1234567...", documentHelper.getDigest(responseData, " 1234567890  1234567890  1234567890 ", dataMap, 10));
            assertEquals("1234567...", documentHelper.getDigest(responseData, "123456789012345678901234567890", dataMap, 10));
            assertEquals("1234567...", documentHelper.getDigest(responseData, "123456789012345678901", dataMap, 10));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 13:41:04 UTC 2025
    - 13K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/info/Smb2SetInfoRequestTest.java

        }
    
        @Test
        @DisplayName("Test setAdditionalInformation method")
        void testSetAdditionalInformation() {
            request = new Smb2SetInfoRequest(mockConfig);
            int testAdditionalInfo = 0x12345678;
    
            request.setAdditionalInformation(testAdditionalInfo);
    
            // Verify additional information was set
            Field additionalInfoField;
            try {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/com/SmbComSessionSetupAndXTest.java

            when(mockNegotiate.getNegotiatedSendBufferSize()).thenReturn(65535);
            when(mockNegotiate.getNegotiatedMpxCount()).thenReturn(65535);
            when(mockNegotiate.getNegotiatedSessionKey()).thenReturn(0x12345678);
        }
    
        /** Simple test stub of {@link ServerData} */
        private static class ServerDataStub extends ServerData {
            public ServerDataStub() {
                this.security = SmbConstants.SECURITY_USER;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/ServerMessageBlockTest.java

            assertEquals(0x1234, ServerMessageBlock.readInt2(buffer, 0));
        }
    
        @Test
        void testInt4ReadWrite() {
            byte[] buffer = new byte[4];
            ServerMessageBlock.writeInt4(0x12345678, buffer, 0);
            assertEquals(0x12345678, ServerMessageBlock.readInt4(buffer, 0));
        }
    
        @Test
        void testInt8ReadWrite() {
            byte[] buffer = new byte[8];
            long value = 0x123456789ABCDEF0L;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/primitives/BytesTest.java

        testRotate(new byte[] {0, 1, 2, 3, 4, 5, 6}, -1, 1, 6, new byte[] {0, 2, 3, 4, 5, 1, 6});
        testRotate(new byte[] {0, 1, 2, 3, 4, 5, 6}, 0, 1, 6, new byte[] {0, 1, 2, 3, 4, 5, 6});
        testRotate(new byte[] {0, 1, 2, 3, 4, 5, 6}, 5, 1, 6, new byte[] {0, 1, 2, 3, 4, 5, 6});
        testRotate(new byte[] {0, 1, 2, 3, 4, 5, 6}, 14, 1, 6, new byte[] {0, 2, 3, 4, 5, 1, 6});
    
        // Rotate the first three elements
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeTest.java

            }
        }
    
        @Test
        @DisplayName("Test setup wire format structure")
        void testSetupWireFormatStructure() {
            notifyChange = new NtTransNotifyChange(mockConfig, 0xABCD, 0x12345678, true);
            byte[] dst = new byte[100];
    
            int bytesWritten = notifyChange.writeSetupWireFormat(dst, 10);
    
            // Verify structure:
            // Offset 0-3: Completion Filter (4 bytes)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/com/SmbComNegotiateResponseTest.java

            response.getServerData().maxNumberVcs = 1;
            response.getServerData().maxBufferSize = 16384;
            response.getServerData().maxRawSize = 4096;
            response.getServerData().sessKey = 0x12345678;
            response.getServerData().scapabilities = SmbConstants.CAP_UNICODE;
            response.getServerData().serverTime = new Date().getTime();
            response.getServerData().serverTimeZone = -300;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/SmbComSessionSetupAndXTest.java

            serverData.encryptedPasswords = true;
            serverData.encryptionKey = new byte[8];
    
            // Configure mock transport
            mockTransport.server = serverData;
            mockTransport.sessionKey = 0x12345678;
            mockTransport.capabilities = SmbConstants.CAP_UNICODE | SmbConstants.CAP_NT_SMBS;
            mockTransport.snd_buf_size = 16644;
            mockTransport.maxMpxCount = 50;
    
            // Configure mock session
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.5K bytes
    - Viewed (0)
Back to top