Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 91 for 0x5c (0.38 sec)

  1. src/test/java/jcifs/netbios/NameServicePacketTest.java

            assertEquals((byte) 0x56, dst[2]);
            assertEquals((byte) 0x78, dst[3]);
        }
    
        @Test
        void testReadInt2() {
            byte[] src = { (byte) 0x12, (byte) 0x34 };
            assertEquals(0x1234, NameServicePacket.readInt2(src, 0));
        }
    
        @Test
        void testReadInt4() {
            byte[] src = { (byte) 0x12, (byte) 0x34, (byte) 0x56, (byte) 0x78 };
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/dcerpc/DcerpcConstantsTest.java

            }
    
            @Test
            @DisplayName("RPC_PT_BIND_ACK should have correct value")
            void testRpcPtBindAck() {
                assertEquals(0x0C, DcerpcConstants.RPC_PT_BIND_ACK, "RPC_PT_BIND_ACK should be 0x0C");
            }
    
            @Test
            @DisplayName("RPC_PT_BIND_NAK should have correct value")
            void testRpcPtBindNak() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java

                // Unicode strings are written as UTF-16LE with null terminator
                assertTrue(bytesWritten > testString.length());
                // First byte should be 'T' in UTF-16LE (0x54)
                assertEquals(0x54, buffer[10] & 0xFF);
            }
    
            @Test
            @DisplayName("Test write string without Unicode")
            void testWriteStringNonUnicode() {
                testBlock.setUseUnicode(false);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/nego/PreauthIntegrityNegotiateContextTest.java

            }
    
            @Test
            @DisplayName("Should encode salt only (no hash algorithms)")
            void testEncodeSaltOnly() {
                byte[] salt = { 0x0A, 0x0B, 0x0C };
                PreauthIntegrityNegotiateContext context = new PreauthIntegrityNegotiateContext(mockConfig, null, salt);
    
                int bytesWritten = context.encode(buffer, 0);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 34K bytes
    - Viewed (0)
  5. cmd/batch-handlers_gen.go

    	o = msgp.AppendString(o, z.ID)
    	// string "User"
    	o = append(o, 0xa4, 0x55, 0x73, 0x65, 0x72)
    	o = msgp.AppendString(o, z.User)
    	// string "Started"
    	o = append(o, 0xa7, 0x53, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64)
    	o = msgp.AppendTime(o, z.Started)
    	// string "Replicate"
    	o = append(o, 0xa9, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x65)
    	if z.Replicate == nil {
    		o = msgp.AppendNil(o)
    	} else {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/hash/MacHashFunctionTest.java

        byte[] data = fillByteArray(50, 0xcd);
    
        checkSha1("4c9007f4026250c6bc8414f9bf50c86c2d7235da", key, data);
      }
    
      public void testRfc2202_hmacSha1_case5() {
        byte[] key = fillByteArray(20, 0x0c);
        String data = "Test With Truncation";
    
        checkSha1("4c1a03424b55e07fe7f27be1d58bb9324a9a5a04", key, data);
      }
    
      public void testRfc2202_hmacSha1_case6() {
        byte[] key = fillByteArray(80, 0xaa);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Dec 27 16:19:35 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/hash/SipHashFunctionTest.java

      public void test15ByteStringFromSipHashPaper() {
        byte[] message =
            new byte[] {
              0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e
            };
        long k0 = 0x0706050403020100L;
        long k1 = 0x0f0e0d0c0b0a0908L;
    
        assertEquals(0xa129ca6149be45e5L, Hashing.sipHash24(k0, k1).hashBytes(message).asLong());
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/create/LeaseV1CreateContextRequestTest.java

        private Smb2LeaseKey testKey;
        private int testState;
    
        @BeforeEach
        void setUp() {
            byte[] keyBytes = new byte[] { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F, 0x10 };
            testKey = new Smb2LeaseKey(keyBytes);
            testState = Smb2LeaseState.SMB2_LEASE_READ_WRITE;
            leaseContext = new LeaseV1CreateContextRequest(testKey, testState);
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/dcerpc/DcerpcConstants.java

         */
        int RPC_PT_FAULT = 0x03;
        /**
         * Bind packet type - establishes context
         */
        int RPC_PT_BIND = 0x0B;
        /**
         * Bind acknowledgment packet type
         */
        int RPC_PT_BIND_ACK = 0x0C;
        /**
         * Bind negative acknowledgment packet type
         */
        int RPC_PT_BIND_NAK = 0x0D;
        /**
         * Alter context packet type
         */
        int RPC_PT_ALTER_CONTEXT = 0x0E;
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/TransWaitNamedPipeTest.java

            assertEquals(pipeName, pipe.name);
    
            // Command should be SMB_COM_TRANSACTION
            assertEquals(ServerMessageBlock.SMB_COM_TRANSACTION, pipe.command);
    
            // SubCommand should be TRANS_WAIT_NAMED_PIPE (0x53)
            assertEquals(SmbComTransaction.TRANS_WAIT_NAMED_PIPE, pipe.subCommand);
    
            // Timeout is set to 0xFFFFFFFF (-1 when cast to int)
            assertEquals(0xFFFFFFFF, pipe.timeout);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.3K bytes
    - Viewed (0)
Back to top