Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 290 for sflags2 (1.27 sec)

  1. src/test/java/jcifs/dcerpc/msrpc/MsrpcShareGetInfoTest.java

            assertEquals(0, msrpcShareGetInfo.getPtype());
    
            // Check individual flag bits
            int flags = msrpcShareGetInfo.getFlags();
            assertTrue((flags & DcerpcConstants.DCERPC_FIRST_FRAG) != 0);
            assertTrue((flags & DcerpcConstants.DCERPC_LAST_FRAG) != 0);
        }
    
        @Test
        void testShareInfo502Initialization() throws Exception {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/Smb2ConstantsTest.java

            }
    
            @Test
            @DisplayName("Signing flags should not overlap")
            void testSigningFlagsNoOverlap() {
                assertNotEquals(Smb2Constants.SMB2_NEGOTIATE_SIGNING_ENABLED, Smb2Constants.SMB2_NEGOTIATE_SIGNING_REQUIRED,
                        "Signing flags must be distinct");
    
                // Verify they can be combined with bitwise OR
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbComTransaction.java

                    + ",maxParameterCount=" + maxParameterCount + ",maxDataCount=" + maxDataCount + ",maxSetupCount=" + (int) maxSetupCount
                    + ",flags=0x" + Hexdump.toHexString(flags, 2) + ",timeout=" + timeout + ",parameterCount=" + parameterCount
                    + ",parameterOffset=" + parameterOffset + ",parameterDisplacement=" + parameterDisplacement + ",dataCount=" + dataCount
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/NtlmContextTest.java

            assertTrue(type1Token.length > 0);
    
            // Decode the token to verify its properties
            Type1Message type1Message = new Type1Message(type1Token);
            // Type1Message ORs default flags with provided flags; ensure expected bits are present
            assertTrue((type1Message.getFlags() & context.ntlmsspFlags) == context.ntlmsspFlags);
            assertEquals(domain, type1Message.getSuppliedDomain());
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/dcerpc/msrpc/netdfs.idl

    	typedef struct {
    		[string] wchar_t *dfs_name;
    	} DfsInfo200;
    
    	typedef struct {
    		uint32_t count;
    		[size_is(count)] DfsInfo200 *s;
    	} DfsEnumArray200;
    
    	typedef struct {
    		uint32_t flags;
    		[string] wchar_t *dfs_name;
    	} DfsInfo300;
    
    	typedef struct {
    		uint32_t count;
    		[size_is(count)] DfsInfo300 *s;
    	} DfsEnumArray300;
    
    	typedef union {
    		[case(1)] DfsEnumArray1 *info1;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 1.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbTree.java

                     *   \server\share\path\to\file
                     * as opposed to normally
                     *   \path\to\file
                     */
                    request.flags2 = SmbConstants.FLAGS2_RESOLVE_PATHS_IN_DFS;
                    request.path = '\\' + session.transport().tconHostName + '\\' + share + request.path;
                }
                try {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/create/LeaseV1CreateContextResponse.java

         * @return the granted lease state
         */
        public int getLeaseState() {
            return leaseState;
        }
    
        /**
         * Gets the lease flags from the server response
         * @return the lease flags
         */
        public int getLeaseFlags() {
            return leaseFlags;
        }
    
        @Override
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoResponse.java

        private final byte[] serverGuid = new byte[16];
        private int securityMode;
        private int dialect;
    
        /**
         * Gets the server capabilities
         *
         * @return the capabilities flags from the server
         */
        public int getCapabilities() {
            return this.capabilities;
        }
    
        /**
         * Gets the server GUID
         *
         * @return the server's unique identifier
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/dcerpc/DcerpcHandle.java

                        msg.flags &= ~DCERPC_LAST_FRAG;
                        n = max_xmit - 24;
                    } else {
                        msg.flags |= DCERPC_LAST_FRAG;
                        isDirect = false;
                        msg.alloc_hint = n;
                    }
    
                    msg.length = 24 + n;
    
                    if (off > 0) {
                        msg.flags &= ~DCERPC_FIRST_FRAG;
                    }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SmbFileOutputStream.java

         * @param off the start offset in the data
         * @param len the number of bytes to write
         * @param flags write operation flags
         * @throws IOException if an I/O error occurs
         */
        public void writeDirect(final byte[] b, int off, int len, final int flags) throws IOException {
            if (len <= 0) {
                return;
            }
    
            if (tmp == null) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11K bytes
    - Viewed (0)
Back to top