Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 121 for 0x10B (0.08 sec)

  1. src/main/java/jcifs/smb1/smb1/Trans2SetFileInformation.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.smb1.smb1;
    
    class Trans2SetFileInformation extends SmbComTransaction {
    
        static final int SMB_FILE_BASIC_INFO = 0x101;
    
        private final int fid;
        private final int attributes;
        private final long createTime, lastWriteTime;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/FileEntryTest.java

            // Arrange
            FileEntry e = new TestFileEntry("doc.pdf", 2, 0x10, 10L, 20L, 30L, 4096L, 3);
    
            // Act & Assert: getters return exactly what was provided
            assertAll(() -> assertEquals("doc.pdf", e.getName()), () -> assertEquals(2, e.getType()),
                    () -> assertEquals(0x10, e.getAttributes()), () -> assertEquals(10L, e.createTime()),
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10K bytes
    - Viewed (0)
  3. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/dtyp/SecurityInfo.java

         */
        int SACL_SECURITY_INFO = 0x8;
    
        /**
         * Flag indicating that mandatory label information is requested or being set.
         */
        int LABEL_SECURITY_INFO = 0x10;
    
        /**
         * Flag indicating that attribute security information is requested or being set.
         */
        int ATTRIBUTE_SECURITY_INFO = 0x20;
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/netbios/NameServicePacket.java

                    + (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);
            writeInt2(answerCount, dst, start + ANSWER_OFFSET);
            writeInt2(authorityCount, dst, start + AUTHORITY_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)
  6. src/main/java/jcifs/netbios/NameServicePacket.java

            dst[dstIndex + OPCODE_OFFSET + 1] =
                    (byte) ((this.isRecurAvailable ? 0x80 : 0x00) + (this.isBroadcast ? 0x10 : 0x00) + (this.resultCode & 0x0F));
            writeInt2(this.questionCount, dst, start + QUESTION_OFFSET);
            writeInt2(this.answerCount, dst, start + ANSWER_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)
  7. src/main/java/jcifs/smb1/dcerpc/msrpc/srvsvc.idl

    			[in,out] int *level,
    			[in,out,switch_is(*level)] ShareCtr *info,
    			[in] unsigned long prefmaxlen,
    			[out] unsigned long *totalentries,
    			[in,out] unsigned long *resume_handle);
    
    	[op(0x10)]
    	int ShareGetInfo([in,string,unique] wchar_t *servername,
    			[in,string] wchar_t *sharename,
    			[in] int level,
    			[out,switch_is(level)] ShareInfo *info);
    
    	typedef struct {
    		unsigned long platform_id;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 2.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/Smb2Constants.java

         */
        public static final int SMB2_GLOBAL_CAP_MULTI_CHANNEL = 0x8;
    
        /**
         * Server supports persistent handles
         */
        public static final int SMB2_GLOBAL_CAP_PERSISTENT_HANDLES = 0x10;
    
        /**
         * Server supports directory leasing
         */
        public static final int SMB2_GLOBAL_CAP_DIRECTORY_LEASING = 0x20;
    
        /**
         * Server supports SMB3 encryption
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/smb1/SmbComOpenAndXTest.java

         */
        @Test
        void testConstructor_CreateAndFailIfExists() {
            int flags = SmbFile.O_CREAT | SmbFile.O_EXCL;
            smbComOpenAndX = new SmbComOpenAndX(fileName, access, flags, andx);
            assertEquals(0x10, smbComOpenAndX.openFunction); // OPEN_FN_CREATE | OPEN_FN_FAIL_IF_EXISTS
        }
    
        /**
         * Test constructor with O_CREAT flag.
         */
        @Test
        void testConstructor_CreateAndOpen() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/NtlmChallengeTest.java

            @Test
            @DisplayName("Various byte values are converted to uppercase hex")
            void testHexConversion() {
                byte[] challenge = new byte[] { (byte) 0x00, (byte) 0x0F, (byte) 0x10, (byte) 0x7F, (byte) 0x80, (byte) 0xFF };
                UniAddress dc = mock(UniAddress.class);
                when(dc.toString()).thenReturn("DC");
    
                NtlmChallenge nc = new NtlmChallenge(challenge, dc);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6K bytes
    - Viewed (0)
Back to top