Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 331 for 0x02 (0.01 sec)

  1. src/test/java/jcifs/internal/smb2/info/Smb2SetInfoRequestTest.java

            for (int i = 0; i < 16; i++) {
                newFileId[i] = (byte) (0xFF - i);
            }
            request.setFileId(newFileId);
            request.setInfoType((byte) 0x02);
            request.setFileInfoClass((byte) 0x08);
            request.setAdditionalInformation(0xABCDEF00);
    
            Encodable mockInfo = mock(Encodable.class);
            when(mockInfo.size()).thenReturn(64);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/netbios/NameServicePacket.java

            dst[dstIndex + OPCODE_OFFSET] = (byte) ((isResponse ? 0x80 : 0x00) + (opCode << 3 & 0x78) + (isAuthAnswer ? 0x04 : 0x00)
                    + (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);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/netbios/NameServicePacket.java

            dst[dstIndex + OPCODE_OFFSET] = (byte) ((this.isResponse ? 0x80 : 0x00) + (this.opCode << 3 & 0x78)
                    + (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)
  4. src/main/java/jcifs/smb1/smb1/SmbConstants.java

        /** Read-only file attribute */
        int ATTR_READONLY = 0x01;
        /** Hidden file attribute */
        int ATTR_HIDDEN = 0x02;
        /** System file attribute */
        int ATTR_SYSTEM = 0x04;
        /** Volume label attribute */
        int ATTR_VOLUME = 0x08;
        /** Directory attribute */
        int ATTR_DIRECTORY = 0x10;
        /** Archive attribute */
        int ATTR_ARCHIVE = 0x20;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponseTest.java

            buffer[38] = 0x00;
    
            // Parameter count (2 bytes)
            buffer[39] = 0x00;
            buffer[40] = 0x00;
    
            // Parameter offset (2 bytes)
            buffer[41] = 0x00;
            buffer[42] = 0x00;
    
            // Parameter displacement (2 bytes)
            buffer[43] = 0x00;
            buffer[44] = 0x00;
    
            // Data count (2 bytes)
            buffer[45] = 0x00;
            buffer[46] = 0x00;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/com/SmbComWriteResponseTest.java

        }
    
        @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();
            assertTrue(str.contains("count=512"), "toString should include numeric count");
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/netbios/NbtException.java

        /** 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;
        /** Implementation error in the name service */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/netbios/NodeStatusResponse.java

                    isBeingDeleted = ((src[srcIndex + 16] & 0x10) == 0x10) == true;
                    isInConflict = ((src[srcIndex + 16] & 0x08) == 0x08) == true;
                    isActive = ((src[srcIndex + 16] & 0x04) == 0x04) == true;
                    isPermanent = ((src[srcIndex + 16] & 0x02) == 0x02) == true;
    
                    /* The NbtAddress object used to query this node will be in the list
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/dcerpc/ndr/NdrBufferTest.java

            ndrBuffer.setIndex(10);
            byte[] partialData = { 0x05, 0x06, 0x07, 0x08, 0x09 };
            ndrBuffer.writeOctetArray(partialData, 1, 3); // Write 0x06, 0x07, 0x08
    
            assertEquals(13, ndrBuffer.getIndex());
            assertEquals(13, ndrBuffer.getLength());
            assertEquals(0x06, buffer[10]);
            assertEquals(0x07, buffer[11]);
            assertEquals(0x08, buffer[12]);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/dtyp/ACE.java

            case 0x00:
                return "This folder only";
            case 0x03:
                return "This folder, subfolders and files";
            case 0x0B:
                return "Subfolders and files only";
            case 0x02:
                return "This folder and subfolders";
            case 0x0A:
                return "Subfolders only";
            case 0x01:
                return "This folder and files";
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.6K bytes
    - Viewed (0)
Back to top