Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 169 for 0x18 (0.02 sec)

  1. src/main/java/jcifs/dcerpc/msrpc/srvsvc.java

         * RPC message for getting information about a specific share.
         */
        public static class ShareGetInfo extends DcerpcMessage {
    
            @Override
            public int getOpnum() {
                return 0x10;
            }
    
            /**
             * The return value of the operation.
             */
            public int retval;
            /**
             * The name of the server.
             */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 27K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/com/SmbComNTCreateAndXTest.java

        }
    
        @Test
        @DisplayName("addFlags0 combines flags correctly")
        void addFlags0() {
            SmbComNTCreateAndX req = createRequest(0, 0);
            req.addFlags0(0x10);
            int flags0 = (int) getPrivateField(req, "flags0");
            assertTrue((flags0 & 0x10) != 0, "flag should be set after addFlags0");
            // Calling again should combine rather than overwrite
            req.addFlags0(0x20);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/lease/DirectoryCacheEntryTest.java

            entry.updateChild("file1.txt", 1024L, 1000L, false, 0x20, 500L, 800L);
            entry.updateChild("file2.txt", 2048L, 2000L, false, 0x20, 600L, 900L);
            entry.updateChild("dir1", 0L, 3000L, true, 0x10, 700L, 1000L);
    
            List<DirectoryCacheEntry.FileInfo> children = entry.getChildren();
            assertEquals(3, children.size());
    
            // Verify all children are present
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/Smb2ConstantsTest.java

            @DisplayName("Multi-channel capability should be 0x8")
            void testGlobalCapMultiChannel() {
                assertEquals(0x8, Smb2Constants.SMB2_GLOBAL_CAP_MULTI_CHANNEL, "Multi-channel capability must be 0x8");
            }
    
            @Test
            @DisplayName("Persistent handles capability should be 0x10")
            void testGlobalCapPersistentHandles() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/ntlmssp/av/AvPair.java

        /**
         * Timestamp type
         */
        public static final int MsvAvTimestamp = 0x7;
    
        /**
         * Single host type
         */
        public static final int MsvAvSingleHost = 0x08;
    
        /**
         * Target name type
         */
        public static final int MsvAvTargetName = 0x09;
    
        /**
         * Channel bindings type
         */
        public static final int MsvAvChannelBindings = 0x0A;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbRandomAccessFileTest.java

            SmbRandomAccessFile raf = spy(newInstance("r", false, false, false));
            doAnswer(inv -> {
                byte[] b = inv.getArgument(0);
                int off = inv.getArgument(1);
                b[off] = 0x12;
                b[off + 1] = 0x34;
                return 2;
            }).when(raf).read(any(byte[].class), anyInt(), eq(2));
            assertEquals(0x1234, raf.readUnsignedShort());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/com/SmbComNegotiateResponse.java

            this.server.signaturesEnabled = (this.server.securityMode & 0x04) == 0x04;
            this.server.signaturesRequired = (this.server.securityMode & 0x08) == 0x08;
            this.server.smaxMpxCount = SMBUtil.readInt2(buffer, bufferIndex);
            bufferIndex += 2;
            this.server.maxNumberVcs = SMBUtil.readInt2(buffer, bufferIndex);
            bufferIndex += 2;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/lock/Smb2Lock.java

         */
        public static final int SMB2_LOCKFLAG_UNLOCK = 0x4;
    
        /**
         * Flag indicating the lock should fail immediately if it cannot be granted.
         */
        public static final int SMB2_LOCKFLAG_FAIL_IMMEDIATELY = 0x10;
    
        private final long offset;
        private final long length;
        private final int flags;
    
        /**
         * Constructs an SMB2 lock element with the specified parameters.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  9. 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)
  10. src/main/java/jcifs/internal/dtyp/SecurityInfo.java

        /**
         * Flag indicating that system access control list (SACL) information is requested or being set.
         */
        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)
Back to top