Search Options

Results per page
Sort
Preferred Languages
Advance

Results 291 - 300 of 333 for 0x08 (0.03 sec)

  1. src/main/java/jcifs/smb1/dcerpc/msrpc/lsarpc.java

        }
    
        /**
         * LSA close handle message.
         */
        public static class LsarClose extends DcerpcMessage {
    
            @Override
            public int getOpnum() {
                return 0x00;
            }
    
            /** Return value from the RPC call. */
            public int retval;
            /** Policy handle to be closed. */
            public rpc.policy_handle handle;
    
            /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 42.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SecurityBlobTest.java

            return Stream.of(Arguments.of(new byte[] {}, ""), Arguments.of(new byte[] { (byte) 0x00 }, "00"),
                    Arguments.of(new byte[] { (byte) 0x0F }, "0f"), Arguments.of(new byte[] { (byte) 0x10 }, "10"),
                    Arguments.of(new byte[] { (byte) 0xAB }, "ab"),
                    Arguments.of(new byte[] { (byte) 0x7F, (byte) 0x80, (byte) 0xFF }, "7f80ff"));
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/dcerpc/UUIDTest.java

                assertEquals((short) 0x8000, uuid.time_hi_and_version);
                assertEquals((byte) 0x80, uuid.clock_seq_hi_and_reserved);
                assertEquals((byte) 0x80, uuid.clock_seq_low);
                assertArrayEquals(new byte[] { (byte) 0x80, (byte) 0x80, (byte) 0x80, (byte) 0x80, (byte) 0x80, (byte) 0x80 }, uuid.node);
            }
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/CommonServerMessageBlockTest.java

        }
    
        @Test
        @DisplayName("Test setCommand with various SMB command codes")
        void testSetCommandWithVariousCodes() {
            // Test common SMB command codes
            int[] commandCodes = { 0x00, 0x72, 0x73, 0x74, 0x75, 0xFF };
    
            for (int command : commandCodes) {
                doNothing().when(messageBlock).setCommand(command);
                when(messageBlock.getCommand()).thenReturn(command);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/xml/XmlEscapers.java

     *
     * @author Alex Matevossian
     * @author David Beaumont
     * @since 15.0
     */
    @GwtCompatible
    public class XmlEscapers {
      private XmlEscapers() {}
    
      private static final char MIN_ASCII_CONTROL_CHAR = 0x00;
      private static final char MAX_ASCII_CONTROL_CHAR = 0x1F;
    
      // For each xxxEscaper() method, please add links to external reference pages
      // that are considered authoritative for the behavior of that escaper.
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jun 20 17:15:33 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  6. src/archive/zip/writer_test.go

    			name:    "hi, hello",
    			comment: "in the world",
    			flags:   0x8,
    		},
    		{
    			name:    "hi, こんにちわ",
    			comment: "in the world",
    			flags:   0x808,
    		},
    		{
    			name:    "hi, こんにちわ",
    			comment: "in the world",
    			nonUTF8: true,
    			flags:   0x8,
    		},
    		{
    			name:    "hi, hello",
    			comment: "in the 世界",
    			flags:   0x808,
    		},
    		{
    			name:    "hi, こんにちわ",
    			comment: "in the 世界",
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Jan 28 04:20:09 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/Smb2ConstantsTest.java

            }
    
            @Test
            @DisplayName("Multi-channel capability should be 0x8")
            void testGlobalCapMultiChannel() {
                assertEquals(0x8, Smb2Constants.SMB2_GLOBAL_CAP_MULTI_CHANNEL, "Multi-channel capability must be 0x8");
            }
    
            @Test
            @DisplayName("Persistent handles capability should be 0x10")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/NtlmUtilTest.java

            byte[] server = hex("0102030405060708");
            byte[] client = hex("DEADBEEFCAFEBABE");
    
            // Act
            byte[] a = NtlmUtil.getNTLM2Response(pwdHash, server, client);
            server[7] ^= 0x01; // mutate
            byte[] b = NtlmUtil.getNTLM2Response(pwdHash, server, client);
    
            // Assert
            assertEquals(24, a.length);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/smb1/AndXServerMessageBlockTest.java

            assertTrue(n > 0);
            // Common AndX header: command at +1, reserved at +2, offset at +3/+4
            assertEquals((byte) 0xFF, buf[1], "AndX command should be 0xFF when no chaining");
            assertEquals((byte) 0x00, buf[2], "Reserved byte must be 0");
            assertEquals((byte) 0xDE, buf[3], "Sentinel low offset when no chaining");
            assertEquals((byte) 0xDE, buf[4], "Sentinel high offset when no chaining");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SmbTransport.java

                /* 01234567
                 * 00SSFSMB
                 * 0 - 0's
                 * S - size of payload
                 * FSMB - 0xFF SMB magic #
                 */
    
                if (sbuf[0] == (byte) 0x00 && sbuf[1] == (byte) 0x00 && sbuf[4] == (byte) 0xFF && sbuf[5] == (byte) 'S' && sbuf[6] == (byte) 'M'
                        && sbuf[7] == (byte) 'B') {
                    break; /* all good */
                }
                /* out of phase maybe? */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.8K bytes
    - Viewed (0)
Back to top