Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 246 for 0x10 (0.25 sec)

  1. src/test/java/jcifs/internal/TreeConnectResponseTest.java

                buffer[0] = 0x10;
                buffer[1] = 0x00;
                // Share type (DISK)
                buffer[2] = Smb2TreeConnectResponse.SMB2_SHARE_TYPE_DISK;
                // Reserved
                buffer[3] = 0;
                // Share flags (DFS)
                buffer[4] = 0x01;
                buffer[5] = 0x00;
                buffer[6] = 0x00;
                buffer[7] = 0x00;
                // Capabilities (DFS)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java

            // Then
            assertTrue(response.haveCapabilitiy(0x01)); // Has this bit
            assertTrue(response.haveCapabilitiy(0x0F)); // Has all these bits
            assertFalse(response.haveCapabilitiy(0x10)); // Doesn't have this bit
            assertFalse(response.haveCapabilitiy(0x40)); // Doesn't have this bit
        }
    
        @Test
        @DisplayName("Should check DFS support correctly")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HpackTest.kt

        assertThat(newReader(byteStream()).readInt(0xe0 or 10, 31)).isEqualTo(10)
      }
    
      @Test
      fun readMultibyteInt() {
        assertThat(newReader(byteStream(154, 10)).readInt(31, 31)).isEqualTo(1337)
      }
    
      @Test
      fun writeSingleByteInt() {
        hpackWriter!!.writeInt(10, 31, 0)
        assertBytes(10)
        hpackWriter!!.writeInt(10, 31, 0xe0)
        assertBytes(0xe0 or 10)
      }
    
      @Test
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 38.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

        /**
         * SMB command to check if a directory exists.
         */
        public static final byte SMB_COM_CHECK_DIRECTORY = (byte) 0x10;
    
        /**
         * SMB command to seek within a file.
         */
        public static final byte SMB_COM_SEEK = (byte) 0x12;
    
        /**
         * SMB command for file locking operations.
         */
        public static final byte SMB_COM_LOCKING_ANDX = (byte) 0x24;
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 38.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbFile.java

         * a directory
         */
        public static final int ATTR_DIRECTORY = 0x10;
        /**
         * A file with this bit on as returned by {@code getAttributes()} or set
         * with {@code setAttributes()} is an archived file
         */
        public static final int ATTR_ARCHIVE = 0x20;
    
        // extended file attribute encoding(others same as above)
        static final int ATTR_COMPRESSED = 0x800;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/trans2/Trans2FindFirst2Response.java

        static final int SMB_INFO_QUERY_EAS_FROM_LIST = 3;
        static final int SMB_FIND_FILE_DIRECTORY_INFO = 0x101;
        static final int SMB_FIND_FILE_FULL_DIRECTORY_INFO = 0x102;
        static final int SMB_FILE_NAMES_INFO = 0x103;
        static final int SMB_FILE_BOTH_DIRECTORY_INFO = 0x104;
    
        private int sid;
        private boolean isEndOfSearch;
        private int eaErrorOffset;
        private int lastNameOffset;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/Trans2FindNext2Test.java

            assertEquals(dst.length, n);
    
            // resumeKey (LE) at offset 6..9 should be 0x11121314 -> 14 13 12 11
            assertEquals((byte) 0x14, dst[6]);
            assertEquals((byte) 0x13, dst[7]);
            assertEquals((byte) 0x12, dst[8]);
            assertEquals((byte) 0x11, dst[9]);
    
            // filename content
            byte[] nameBytes = updatedName.getBytes();
            for (int i = 0; i < nameBytes.length; i++) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeTest.java

            assertEquals(FILE_NOTIFY_CHANGE_ATTRIBUTES, SMBUtil.readInt4(dst3, 0));
    
            // Verify watch tree flags
            assertEquals(0x00, dst1[6]);
            assertEquals(0x01, dst2[6]);
            assertEquals(0x00, dst3[6]);
        }
    
        @Test
        @DisplayName("Test setup count initialization")
        void testSetupCountInitialization() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/util/ByteEncodableTest.java

            // Verify content
            assertArrayEquals(new byte[] { 0x02, 0x03, 0x04, 0x00, 0x00 }, dest, "Encoded bytes should match the expected subset");
        }
    
        @Test
        void testEncodeWithOffset() {
            // Test encoding with a destination offset
            byte[] data = { 0x01, 0x02, 0x03, 0x04, 0x05 };
            ByteEncodable encodable = new ByteEncodable(data, 0, 3);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/hash/SipHashFunctionTest.java

      public void testCollisionsDueToIncorrectSignExtension() {
        byte[] col1 = new byte[] {0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, (byte) 0x80};
        byte[] col2 = new byte[] {0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, (byte) 0x81};
        byte[] col3 = new byte[] {0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, (byte) 0xff};
    
        ImmutableSet<HashCode> hashCodes =
            ImmutableSet.of(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 6.7K bytes
    - Viewed (0)
Back to top