Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 321 for 0x02 (0.01 sec)

  1. src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java

            void testSMBCommandConstants() {
                assertEquals((byte) 0x00, ServerMessageBlock.SMB_COM_CREATE_DIRECTORY);
                assertEquals((byte) 0x01, ServerMessageBlock.SMB_COM_DELETE_DIRECTORY);
                assertEquals((byte) 0x04, ServerMessageBlock.SMB_COM_CLOSE);
                assertEquals((byte) 0x06, ServerMessageBlock.SMB_COM_DELETE);
                assertEquals((byte) 0x07, ServerMessageBlock.SMB_COM_RENAME);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  2. 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)
  3. src/test/java/jcifs/NetbiosNameTest.java

            // Given
            int testType = 0x20; // Server service
            when(mockNetbiosName.getNameType()).thenReturn(testType);
    
            // When
            int nameType = mockNetbiosName.getNameType();
    
            // Then
            assertEquals(testType, nameType);
            verify(mockNetbiosName).getNameType();
        }
    
        @ParameterizedTest
        @ValueSource(ints = { 0x00, 0x03, 0x06, 0x1B, 0x1C, 0x1D, 0x1E, 0x20 })
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8K bytes
    - Viewed (0)
  4. 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)
  5. src/test/java/jcifs/smb1/smb1/Trans2FindNext2Test.java

            assertEquals((byte) 0x12, dst[1]);
    
            // LIST_COUNT (2 bytes, LE)
            int listCount = Trans2FindFirst2.LIST_COUNT;
            assertEquals((byte) (listCount & 0xFF), dst[2]);
            assertEquals((byte) ((listCount >> 8) & 0xFF), dst[3]);
    
            // informationLevel (2 bytes, LE) -> 0x0104
            assertEquals((byte) 0x04, dst[4]);
            assertEquals((byte) 0x01, dst[5]);
    
            // resumeKey (4 bytes, LE)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChange.java

            dstIndex += 4;
            SMBUtil.writeInt2(this.fid, dst, dstIndex);
            dstIndex += 2;
            dst[dstIndex] = this.watchTree ? (byte) 0x01 : (byte) 0x00; // watchTree
            dstIndex++;
            dst[dstIndex++] = (byte) 0x00; // Reserved
            return dstIndex - start;
        }
    
        /**
         * {@inheritDoc}
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/hash/FarmHashFingerprint64Test.java

        hasher = HASH_FN.newHasher();
        hasher
            .putByte((byte) 0x01)
            .putByte((byte) 0x01)
            .putByte((byte) 0x00)
            .putByte((byte) 0x01)
            .putByte((byte) 0x00)
            .putByte((byte) 0x00)
            .putByte((byte) 0x00)
            .putByte((byte) 0x00);
        assertEquals(hashCode, hasher.hash().asLong());
    
        hasher = HASH_FN.newHasher();
        hasher
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/hash/Fingerprint2011Test.java

        hasher = HASH_FN.newHasher();
        hasher
            .putByte((byte) 0x01)
            .putByte((byte) 0x01)
            .putByte((byte) 0x00)
            .putByte((byte) 0x01)
            .putByte((byte) 0x00)
            .putByte((byte) 0x00)
            .putByte((byte) 0x00)
            .putByte((byte) 0x00);
        assertEquals(hashCode, hasher.hash().asLong());
    
        hasher = HASH_FN.newHasher();
        hasher
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/netbios/SessionRequestPacketTest.java

        private static Stream<Arguments> provideNamesForWriteTest() {
            return Stream.of(Arguments.of("SERVER", 0x20, "CLIENT", 0x00), Arguments.of("WORKSTATION", 0x00, "USER", 0x03),
                    Arguments.of("DOMAIN", 0x1B, "BROWSER", 0x1D), Arguments.of("A", 0x20, "B", 0x00),
                    Arguments.of("VERYLONGNAMETEST", 0x20, "ANOTHERLONGNAME", 0x00));
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/netbios/SessionServicePacketTest.java

            byte[] src = { (byte) 0x00, (byte) 0x01, (byte) 0xFF, (byte) 0xFF };
            int length = SessionServicePacket.readLength(src, 0);
    
            assertEquals(0x01FFFF, length);
        }
    
        @Test
        @DisplayName("readLength should handle zero length")
        void testReadLengthZero() {
            byte[] src = { (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00 };
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.5K bytes
    - Viewed (0)
Back to top