Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 198 for 0xA0 (0.02 sec)

  1. src/main/java/jcifs/internal/dtyp/SecurityInfo.java

         */
        int LABEL_SECURITY_INFO = 0x10;
    
        /**
         * Flag indicating that attribute security information is requested or being set.
         */
        int ATTRIBUTE_SECURITY_INFO = 0x20;
    
        /**
         * Flag indicating that central access policy information is requested or being set.
         */
        int SCOPE_SECURITY_INFO = 0x40;
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/netbios/Name.java

        }
    
        int writeWireFormat(final byte[] dst, final int dstIndex) {
            // write 0x20 in first byte
            dst[dstIndex] = 0x20;
    
            final byte tmp[] = Strings.getOEMBytes(this.name, this.config);
            int i;
            for (i = 0; i < tmp.length; i++) {
                dst[dstIndex + 2 * i + 1] = (byte) (((tmp[i] & 0xF0) >> 4) + 0x41);
                dst[dstIndex + 2 * i + 2] = (byte) ((tmp[i] & 0x0F) + 0x41);
            }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2ResponseTest.java

            buffer[0] = 0x03;
            buffer[1] = 0x00;
            // isEndOfSearch (2 bytes)
            buffer[2] = 0x00; // end of search = false
            buffer[3] = 0x00;
            // eaErrorOffset (2 bytes)
            buffer[4] = 0x00;
            buffer[5] = 0x00;
            // lastNameOffset (2 bytes)
            buffer[6] = 0x08;
            buffer[7] = 0x00;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationTest.java

            int written = trans2SetFileInfo.writeSetupWireFormat(buffer, 0);
    
            // Should write 2 bytes: subcommand and 0x00
            assertEquals(2, written);
            assertEquals(SmbComTransaction.TRANS2_SET_FILE_INFORMATION, buffer[0]);
            assertEquals(0x00, buffer[1]);
        }
    
        @Test
        @DisplayName("Test writeSetupWireFormat with offset")
        void testWriteSetupWireFormatWithOffset() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/dtyp/SecurityInfoTest.java

        @Test
        @DisplayName("Test LABEL_SECURITY_INFO constant value")
        void testLabelSecurityInfo() {
            assertEquals(0x10, SecurityInfo.LABEL_SECURITY_INFO);
        }
    
        @Test
        @DisplayName("Test ATTRIBUTE_SECURITY_INFO constant value")
        void testAttributeSecurityInfo() {
            assertEquals(0x20, SecurityInfo.ATTRIBUTE_SECURITY_INFO);
        }
    
        @Test
        @DisplayName("Test SCOPE_SECURITY_INFO constant value")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  6. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionResponseTest.java

            // Prepare buffer with totalParameterCount = 1500
            buffer[bufferIndex] = 0x00;
            buffer[bufferIndex + 1] = 0x00;
            buffer[bufferIndex + 2] = 0x00;
            SMBUtil.writeInt4(1500, buffer, bufferIndex + 3);
    
            // Fill rest of required fields
            for (int i = 7; i < 37; i++) {
                buffer[bufferIndex + i] = 0x00;
            }
    
            response.readParameterWordsWireFormat(buffer, bufferIndex);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 16.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/netbios/NameQueryResponse.java

            if (resultCode != 0 || opCode != QUERY) {
                return 0;
            }
            final boolean groupName = ((src[srcIndex] & 0x80) == 0x80) == true;
            final int nodeType = (src[srcIndex] & 0x60) >> 5;
            srcIndex += 2;
            final int address = readInt4(src, srcIndex);
            if (address != 0) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/com/SmbComWriteResponseTest.java

        }
    
        @Test
        public void testReturnFromReadParameterWordsWireFormatIs8() {
            // ensure the method returns 8 as claimed
            byte[] buf = new byte[12];
            buf[0] = 0x00;
            buf[1] = 0x10; // count = 4096 in little-endian (0x1000)
            int returned = resp.readParameterWordsWireFormat(buf, 0);
            assertEquals(8, returned, "Method should return 8 bytes processed");
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/fscc/BasicFileInformationTest.java

            int[] attributeFlags = { 0x01, // FILE_ATTRIBUTE_READONLY
                    0x02, // FILE_ATTRIBUTE_HIDDEN
                    0x04, // FILE_ATTRIBUTE_SYSTEM
                    0x10, // FILE_ATTRIBUTE_DIRECTORY
                    0x20, // FILE_ATTRIBUTE_ARCHIVE
                    0x80, // FILE_ATTRIBUTE_NORMAL
                    0x100, // FILE_ATTRIBUTE_TEMPORARY
                    0x21, // Combination: ARCHIVE | READONLY
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13K bytes
    - Viewed (0)
Back to top