Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 164 for 0x1d (0.01 sec)

  1. src/test/java/jcifs/smb/SmbRandomAccessFileTest.java

            SmbRandomAccessFile raf = spy(newInstance("r", false, false, false));
            doAnswer(inv -> {
                byte[] b = inv.getArgument(0);
                int off = inv.getArgument(1);
                b[off] = 0x12;
                b[off + 1] = 0x34;
                return 2;
            }).when(raf).read(any(byte[].class), anyInt(), eq(2));
            assertEquals(0x1234, raf.readUnsignedShort());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  2. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.8K bytes
    - Viewed (0)
  3. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/trans/SmbComTransaction.java

         */
        public static final byte TRANS2_QUERY_PATH_INFORMATION = (byte) 0x05;
        /**
         * SMB TRANS2 subcommand for getting DFS referrals
         */
        public static final byte TRANS2_GET_DFS_REFERRAL = (byte) 0x10;
        /**
         * SMB TRANS2 subcommand for querying file information
         */
        public static final byte TRANS2_QUERY_FILE_INFORMATION = (byte) 0x07;
        /**
         * SMB TRANS2 subcommand for setting file information
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/TreeConnectResponseTest.java

                // Given - Prepare a valid SMB2 Tree Connect Response buffer
                byte[] buffer = new byte[16];
                // Structure size (16)
                buffer[0] = 0x10;
                buffer[1] = 0x00;
                // Share type (DISK)
                buffer[2] = Smb2TreeConnectResponse.SMB2_SHARE_TYPE_DISK;
                // Reserved
                buffer[3] = 0;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/dcerpc/msrpc/netdfsTest.java

            assertEquals(level, enumEx.level);
            assertEquals(prefmaxlen, enumEx.prefmaxlen);
            assertEquals(info, enumEx.info);
            assertEquals(totalentries, enumEx.totalentries);
            assertEquals(0x15, enumEx.getOpnum());
        }
    
        @Test
        void testNetrDfsEnumEx_EncodeInDecodeOut() throws NdrException {
            String dfsName = "test_dfs";
            int level = 1;
            int prefmaxlen = 100;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 30.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/dcerpc/msrpc/samr.java

         * This operation obtains a handle to a specific alias.
         */
        public static class SamrOpenAlias extends DcerpcMessage {
    
            @Override
            public int getOpnum() {
                return 0x1b;
            }
    
            /** The return value of the operation */
            public int retval;
            /** The handle to the domain */
            public rpc.policy_handle domain_handle;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 23.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/dcerpc/msrpc/samr.java

         * This operation obtains a handle to a specific alias.
         */
        public static class SamrOpenAlias extends DcerpcMessage {
    
            @Override
            public int getOpnum() {
                return 0x1b;
            }
    
            /** The return value of the operation */
            public int retval;
            /** The handle to the domain */
            public rpc.policy_handle domain_handle;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 23.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/ntlmssp/av/AvPairsTest.java

            originalPairs.add(new AvTimestamp(new byte[] { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08 }));
            originalPairs.add(new AvTargetName("TESTNAME".getBytes()));
            originalPairs.add(new AvSingleHost(new byte[] { 0x11, 0x22, 0x33, 0x44 }));
            originalPairs.add(new AvChannelBindings(new byte[] { 0x55, 0x66 }));
    
            byte[] encoded = AvPairs.encode(originalPairs);
            List<AvPair> decodedPairs = AvPairs.decode(encoded);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/nego/PreauthIntegrityNegotiateContextTest.java

        class ConstantValueTests {
    
            @Test
            @DisplayName("Should have correct constant values")
            void testConstantValues() {
                assertEquals(0x1, PreauthIntegrityNegotiateContext.NEGO_CTX_PREAUTH_TYPE);
                assertEquals(0x1, PreauthIntegrityNegotiateContext.HASH_ALGO_SHA512);
            }
        }
    
        @Nested
        @DisplayName("Edge Case Tests")
        class EdgeCaseTests {
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 34K bytes
    - Viewed (0)
Back to top