Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 111 for 0x38 (0.04 sec)

  1. src/test/java/jcifs/internal/util/SMBUtilTest.java

        void testWriteInt4() {
            byte[] dst = new byte[12];
    
            // Test with simple value
            SMBUtil.writeInt4(0x12345678L, dst, 0);
            assertEquals((byte) 0x78, dst[0]);
            assertEquals((byte) 0x56, dst[1]);
            assertEquals((byte) 0x34, dst[2]);
            assertEquals((byte) 0x12, dst[3]);
    
            // Test with max value for 4 bytes
            SMBUtil.writeInt4(0xFFFFFFFFL, dst, 4);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/dcerpc/DcerpcConstantsTest.java

            }
    
            @Test
            @DisplayName("DCERPC_RESERVED_1 should have correct value")
            void testDcerpcReserved1() {
                assertEquals(0x08, DcerpcConstants.DCERPC_RESERVED_1, "DCERPC_RESERVED_1 should be 0x08");
            }
    
            @Test
            @DisplayName("DCERPC_CONC_MPX should have correct value")
            void testDcerpcConcMpx() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/dcerpc/DcerpcConstants.java

         */
        int DCERPC_PENDING_CANCEL = 0x04; /* Cancel was pending at sender */
        /**
         * Reserved flag for future use
         */
        int DCERPC_RESERVED_1 = 0x08;
        /**
         * Supports concurrent multiplexing flag.
         */
        int DCERPC_CONC_MPX = 0x10; /* supports concurrent multiplexing */
        /**
         * Did not execute flag - indicates request was not executed
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/com/ServerDataTest.java

            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);
            assertEquals(0xC853, serverData.sflags2);
            assertEquals(50, serverData.smaxMpxCount);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17K bytes
    - Viewed (0)
  5. src/main/java/jcifs/netbios/NodeStatusResponse.java

                ownerNodeType = (src[srcIndex + 16] & 0x60) >> 5;
                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;
    
                /*
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/dcerpc/msrpc/MsrpcSamrConnect2Test.java

                // Act & Assert - getOpnum is inherited from SamrConnect2
                assertDoesNotThrow(() -> msg.getOpnum());
                assertEquals(0x39, msg.getOpnum(), "getOpnum should return 0x39 as defined in SamrConnect2");
            }
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  7. guava/src/com/google/common/primitives/Shorts.java

       * {@code ByteBuffer.allocate(2).putShort(value).array()}. For example, the input value {@code
       * (short) 0x1234} would yield the byte array {@code {0x12, 0x34}}.
       *
       * <p>If you need to convert and concatenate several values (possibly even of different types),
       * use a shared {@link java.nio.ByteBuffer} instance, or use {@link
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 22 18:14:49 UTC 2025
    - 25.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/primitives/Shorts.java

       * {@code ByteBuffer.allocate(2).putShort(value).array()}. For example, the input value {@code
       * (short) 0x1234} would yield the byte array {@code {0x12, 0x34}}.
       *
       * <p>If you need to convert and concatenate several values (possibly even of different types),
       * use a shared {@link java.nio.ByteBuffer} instance, or use {@link
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 22 18:14:49 UTC 2025
    - 25.7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/netbios/SessionServicePacketTest.java

            byte[] dst = new byte[8];
            SessionServicePacket.writeInt4(0x12345678, dst, 0);
    
            assertEquals((byte) 0x12, dst[0]);
            assertEquals((byte) 0x34, dst[1]);
            assertEquals((byte) 0x56, dst[2]);
            assertEquals((byte) 0x78, dst[3]);
        }
    
        @ParameterizedTest
        @MethodSource("provideInt4TestValues")
        @DisplayName("writeInt4 should handle various values")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/ntlmssp/av/AvPairTest.java

            assertEquals(0x6, AvPair.MsvAvFlags, "MsvAvFlags constant should be 0x6.");
            assertEquals(0x7, AvPair.MsvAvTimestamp, "MsvAvTimestamp constant should be 0x7.");
            assertEquals(0x08, AvPair.MsvAvSingleHost, "MsvAvSingleHost constant should be 0x08.");
            assertEquals(0x09, AvPair.MsvAvTargetName, "MsvAvTargetName constant should be 0x09.");
            assertEquals(0x0A, AvPair.MsvAvChannelBindings, "MsvAvChannelBindings constant should be 0x0A.");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
Back to top