Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 254 for 0x11 (0.02 sec)

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

            // Act
            pipe.customizeCreate(req, resp);
    
            // Assert: verify interactions with dependencies
            verify(req, times(1)).addFlags0(0x16);
            verify(resp, times(1)).setExtended(true);
            verify(resp, never()).setExtended(false);
        }
    
        @Test
        @DisplayName("openPipe returns a handle bound to this pipe")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/netbios/NbtException.java

        public static final int SUCCESS = 0;
        /** Name service error class */
        public static final int ERR_NAM_SRVC = 0x01;
        /** Session service error class */
        public static final int ERR_SSN_SRVC = 0x02;
    
        // name service error codes
        /** Format error in the name service */
        public static final int FMT_ERR = 0x1;
        /** Server error in the name service */
        public static final int SRV_ERR = 0x2;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/multichannel/Smb2ChannelCapabilities.java

         */
        public static final int FSCTL_QUERY_NETWORK_INTERFACE_INFO = 0x001401FC;
    
        /**
         * SMB2 session flag indicating channel binding
         */
        public static final int SMB2_SESSION_FLAG_BINDING = 0x01;
    
        /**
         * Size of network interface info structure in bytes
         */
        public static final int NETWORK_INTERFACE_INFO_SIZE = 152;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/netbios/SessionRetargetResponsePacketTest.java

            // Test successful reading of 6 bytes from the input stream.
            // The content of these bytes is not critical for this test, only that 6 bytes are read.
            byte[] data = { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06 }; // Sample 6 bytes
            ByteArrayInputStream bais = new ByteArrayInputStream(data);
            SessionRetargetResponsePacket packet = new SessionRetargetResponsePacket();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/trans/SmbComTransactionResponseTest.java

        @Test
        @DisplayName("Test constructor initialization with command and subcommand")
        void testConstructorWithCommandAndSubcommand() {
            byte command = (byte) 0x25;
            byte subcommand = (byte) 0x01;
            TestSmbComTransactionResponse resp = new TestSmbComTransactionResponse(mockConfig, command, subcommand);
            assertNotNull(resp);
            assertEquals(command, resp.getCommand());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/netbios/NameServicePacket.java

                    + (isTruncated ? 0x02 : 0x00) + (isRecurDesired ? 0x01 : 0x00));
            dst[dstIndex + OPCODE_OFFSET + 1] = (byte) ((isRecurAvailable ? 0x80 : 0x00) + (isBroadcast ? 0x10 : 0x00) + (resultCode & 0x0F));
            writeInt2(questionCount, dst, start + QUESTION_OFFSET);
            writeInt2(answerCount, dst, start + ANSWER_OFFSET);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/netbios/NameServicePacket.java

                    + (this.isAuthAnswer ? 0x04 : 0x00) + (this.isTruncated ? 0x02 : 0x00) + (this.isRecurDesired ? 0x01 : 0x00));
            dst[dstIndex + OPCODE_OFFSET + 1] =
                    (byte) ((this.isRecurAvailable ? 0x80 : 0x00) + (this.isBroadcast ? 0x10 : 0x00) + (this.resultCode & 0x0F));
            writeInt2(this.questionCount, dst, start + QUESTION_OFFSET);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/ntlmssp/av/AvFlagsTest.java

    public class AvFlagsTest {
    
        /**
         * Test constructor with raw bytes.
         */
        @Test
        void testAvFlagsByteArrayConstructor() {
            // Test with a positive integer
            byte[] rawBytes = new byte[] { 0x01, 0x02, 0x03, 0x04 }; // Represents 0x04030201 (little-endian)
            AvFlags avFlags = new AvFlags(rawBytes);
            assertNotNull(avFlags, "AvFlags object should not be null");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/spnego/NegTokenTargTest.java

        }
    
        @Test
        @DisplayName("parsing malformed token throws IOException")
        void testMalformedToken() {
            byte[] bad = new byte[] { 0x01, 0x02, 0x03 }; // not a valid ASN.1 tagged object
            assertThrows(IOException.class, () -> new NegTokenTarg(bad), "Malformed byte[] should cause IOException");
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/io/Smb2ReadRequestTest.java

            @DisplayName("Should write request structure correctly")
            void testWriteBytesWireFormat() {
                // Setup
                request.setPadding((byte) 2);
                request.setReadFlags((byte) 0x01);
                request.setReadLength(4096);
                request.setOffset(8192L);
                request.setMinimumCount(512);
                request.setRemainingBytes(1024);
    
                byte[] buffer = new byte[256];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.8K bytes
    - Viewed (0)
Back to top