Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 80 for 0x0300 (0.03 sec)

  1. src/test/java/jcifs/smb1/smb1/Trans2FindNext2Test.java

            // informationLevel (2 bytes, LE) -> 0x0104
            assertEquals((byte) 0x04, dst[4]);
            assertEquals((byte) 0x01, dst[5]);
    
            // resumeKey (4 bytes, LE)
            assertEquals((byte) 0xEF, dst[6]);
            assertEquals((byte) 0xCD, dst[7]);
            assertEquals((byte) 0xAB, dst[8]);
            assertEquals((byte) 0x89, dst[9]);
    
            // flags (2 bytes, LE) -> 0x0000
            assertEquals((byte) 0x00, dst[10]);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/SmbComNegotiateResponseTest.java

            byte[] encryptionKey = "12345678".getBytes();
            ByteBuffer buffer = ByteBuffer.allocate(response.byteCount);
            buffer.put(encryptionKey);
            buffer.put(domainNameBytes);
            buffer.putShort((short) 0x0000); // Null terminator
    
            byte[] byteData = buffer.array();
    
            // Call the method
            int bytesRead = response.readBytesWireFormat(byteData, 0);
    
            // Assertions
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/com/SmbComTreeConnectAndXResponse.java

     *
     * @author mbechler
     */
    public class SmbComTreeConnectAndXResponse extends AndXServerMessageBlock implements TreeConnectResponse {
    
        private static final int SMB_SUPPORT_SEARCH_BITS = 0x0001;
        private static final int SMB_SHARE_IS_IN_DFS = 0x0002;
    
        private boolean supportSearchBits, shareIsInDfs;
        private String service;
        private String nativeFileSystem = "";
    
        /**
         * Constructs a tree connect AndX response.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/netbios/NameServicePacket.java

        // type/class
        static final int NB_IN = 0x00200001;
        static final int NBSTAT_IN = 0x00210001;
        static final int NB = 0x0020;
        static final int NBSTAT = 0x0021;
        static final int IN = 0x0001;
        static final int A = 0x0001;
        static final int NS = 0x0002;
        static final int NULL = 0x000a;
    
        static final int HEADER_LENGTH = 12;
    
        // header field offsets
        static final int OPCODE_OFFSET = 2;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/netbios/NameServicePacket.java

        // type/class
        static final int NB_IN = 0x00200001;
        static final int NBSTAT_IN = 0x00210001;
        static final int NB = 0x0020;
        static final int NBSTAT = 0x0021;
        static final int IN = 0x0001;
        static final int A = 0x0001;
        static final int NS = 0x0002;
        static final int NULL = 0x000a;
    
        static final int HEADER_LENGTH = 12;
    
        // header field offsets
        static final int OPCODE_OFFSET = 2;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  6. okhttp-idna-mapping-table/src/test/kotlin/okhttp3/internal/idn/MappingTablesTest.kt

          mergeAdjacentRanges(
            listOf(
              Mapping(0x0000, 0x002c, TYPE_DISALLOWED_STD3_VALID, ByteString.EMPTY),
            ),
          ),
        ).containsExactly(
          Mapping(0x0000, 0x002c, TYPE_VALID, ByteString.EMPTY),
        )
      }
    
      @Test fun simplifyCombinesCanonicalEquivalent() {
        assertThat(
          mergeAdjacentRanges(
            listOf(
              Mapping(0x0000, 0x002c, TYPE_DISALLOWED_STD3_VALID, ByteString.EMPTY),
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/rdma/SmbDirectNegotiateRequest.java

        // Protocol constants
        /** Minimum supported SMB Direct protocol version (1.0) */
        public static final int MIN_VERSION = 0x0100; // SMB Direct 1.0
        /** Maximum supported SMB Direct protocol version (1.0) */
        public static final int MAX_VERSION = 0x0100; // SMB Direct 1.0
        /** SMB Direct negotiate request message type */
        public static final int NEGOTIATE_REQUEST = 0x01;
    
        // Message fields
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/rdma/RdmaNegotiateRequest.java

        /**
         * Create new RDMA negotiation request
         */
        public RdmaNegotiateRequest() {
            // Initialize with default values
            this.minVersion = 0x0100; // SMB Direct 1.0
            this.maxVersion = 0x0100; // SMB Direct 1.0
            this.creditsRequested = RdmaCapabilities.DEFAULT_SEND_CREDIT_TARGET;
            this.preferredSendSize = RdmaCapabilities.DEFAULT_MAX_RECEIVE_SIZE;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/dcerpc/DcerpcBindTest.java

                getResultMessageMethod.setAccessible(true);
    
                assertEquals("0x0004", getResultMessageMethod.invoke(null, 4), "Should return hex format for unknown code 4");
                assertEquals("0x00FF", getResultMessageMethod.invoke(null, 255), "Should return hex format for unknown code 255");
                assertEquals("0x1000", getResultMessageMethod.invoke(null, 4096), "Should return hex format for large unknown code");
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/com/SmbComWriteResponseTest.java

            assertEquals(0x1234L, resp.getCount(), "Count should reflect value from buffer");
        }
    
        @Test
        public void testToStringContainsCount() {
            // Little-endian: count = 512 (0x0200)
            byte[] buf = new byte[12];
            buf[0] = 0x00;
            buf[1] = 0x02; // count = 512 in little-endian
            resp.readParameterWordsWireFormat(buf, 0);
            String str = resp.toString();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.1K bytes
    - Viewed (0)
Back to top