Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 133 for 0x45 (0.02 sec)

  1. src/test/java/jcifs/ntlmssp/Type2MessageTest.java

                Type2Message message = new Type2Message(mockContext);
                byte[] testContext =
                        new byte[] { (byte) 0x11, (byte) 0x22, (byte) 0x33, (byte) 0x44, (byte) 0x55, (byte) 0x66, (byte) 0x77, (byte) 0x88 };
    
                // When
                message.setContext(testContext);
    
                // Then
                assertArrayEquals(testContext, message.getContext());
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 38.9K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/hash/SipHashFunctionTest.java

      public void testCollisionsDueToIncorrectSignExtension() {
        byte[] col1 = new byte[] {0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, (byte) 0x80};
        byte[] col2 = new byte[] {0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, (byte) 0x81};
        byte[] col3 = new byte[] {0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, (byte) 0xff};
    
        ImmutableSet<HashCode> hashCodes =
            ImmutableSet.of(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/CommonServerMessageBlockResponseTest.java

            when(response.getMid()).thenReturn(mid);
            response.setMid(mid);
            assertEquals(mid, response.getMid());
    
            // Test command methods
            int command = 0x25;
            doNothing().when(response).setCommand(command);
            when(response.getCommand()).thenReturn(command);
            response.setCommand(command);
            assertEquals(command, response.getCommand());
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/NtlmUtil.java

                if (tempStr != null) {
                    tempStr.intern();
                }
            }
        }
    
        // KGS!@#$%
        static final byte[] S8 = { (byte) 0x4b, (byte) 0x47, (byte) 0x53, (byte) 0x21, (byte) 0x40, (byte) 0x23, (byte) 0x24, (byte) 0x25 };
    
        /*
         * Accepts key multiple of 7
         * Returns enc multiple of 8
         * Multiple is the same like: 21 byte key gives 24 byte result
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/com/ServerDataTest.java

            serverData.serverTime = System.currentTimeMillis();
            serverData.serverTimeZone = -480; // PST
            serverData.encryptionKeyLength = 8;
            serverData.encryptionKey = new byte[] { 0x11, 0x22, 0x33, 0x44, 0x55, 0x66, 0x77, (byte) 0x88 };
            serverData.guid = new byte[16];
    
            // Then - verify all values are set correctly
            assertEquals((byte) 0x98, serverData.sflags);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17K bytes
    - Viewed (0)
  6. src/test/java/jcifs/util/ByteEncodableTest.java

            byte[] data = { 0x01, 0x02, 0x03, 0x04, 0x05 };
            ByteEncodable encodable = new ByteEncodable(data, 1, 3);
    
            // Verify size
            assertEquals(3, encodable.size(), "Size should be equal to the specified length");
        }
    
        @Test
        void testEncodeBasic() {
            // Test basic encoding
            byte[] data = { 0x01, 0x02, 0x03, 0x04, 0x05 };
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Hpack.kt

                  val index = readInt(b, PREFIX_7_BITS)
                  readIndexedHeader(index - 1)
                }
                b == 0x40 -> {
                  // 01000000
                  readLiteralHeaderWithIncrementalIndexingNewName()
                }
                b and 0x40 == 0x40 -> {
                  // 01NNNNNN
                  val index = readInt(b, PREFIX_6_BITS)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupRequestTest.java

            // Given
            int securityMode = 0x03;
            int capabilities = 0x0000000F;
            long previousSessionId = 0x123456789ABCDEF0L;
            byte[] token = { (byte) 0x11, (byte) 0x22, (byte) 0x33, (byte) 0x44, (byte) 0x55, (byte) 0x66, (byte) 0x77, (byte) 0x88 };
    
            Smb2SessionSetupRequest req = new Smb2SessionSetupRequest(mockContext, securityMode, capabilities, previousSessionId, token);
            req.setSessionBinding(true);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/ntlmssp/av/AvSingleHostTest.java

         * The constructor should only use the first 8/32 bytes.
         */
        @Test
        void testAvSingleHostCustomDataMachineIdConstructor_LongerInputs() {
            byte[] customData = { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A }; // Longer than 8
            byte[] machineId = new byte[40]; // Longer than 32
            for (int i = 0; i < 40; i++) {
                machineId[i] = (byte) i;
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/dcerpc/DcerpcMessageTest.java

            assertEquals(0xDEAD, e.getErrorCode());
        }
    
        @Test
        void testEncodeHeaderAndDecodeHeader() throws Exception {
            TestMessage m = new TestMessage();
            m.ptype = 0; // request
            m.flags = 0x05;
            m.alloc_hint = 0;
            NdrBuffer buf = new NdrBuffer(new byte[1024], 0);
            m.encode(buf);
            // decode back
            buf.setIndex(0);
            m.decode_header(buf);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7K bytes
    - Viewed (0)
Back to top