Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 191 - 200 of 509 for flags0 (0.09 seconds)

  1. src/main/java/jcifs/smb/SmbFile.java

        }
    
        /**
         * Sets the create disposition on an SMB2 create request based on flags
         *
         * @param req the SMB2 create request
         * @param flags the file open flags
         */
        private static void setCreateDisposition(final Smb2CreateRequest req, final int flags) {
            if ((flags & SmbConstants.O_TRUNC) == O_TRUNC && (flags & SmbConstants.O_CREAT) == O_CREAT) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 103.2K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb2/ServerMessageBlock2ResponseTest.java

                }
            }
    
            public void setFlagsForTest(int flags) {
                // Workaround: Use reflection to set private flags field
                try {
                    java.lang.reflect.Field flagsField = ServerMessageBlock2.class.getDeclaredField("flags");
                    flagsField.setAccessible(true);
                    flagsField.set(this, flags);
                } catch (Exception e) {
                    throw new RuntimeException(e);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 19.3K bytes
    - Click Count (0)
  3. src/main/java/jcifs/smb1/smb1/SID.java

         * @param auth the authentication credentials to use
         * @param flags resolution flags
         * @return array of SIDs representing group members
         * @throws IOException if there is an error retrieving group members
         */
        public SID[] getGroupMemberSids(final String authorityServerName, final NtlmPasswordAuthentication auth, final int flags)
                throws IOException {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 31.5K bytes
    - Click Count (0)
  4. internal/lock/lock_windows.go

    		return nil, err
    	}
    
    	return os.NewFile(uintptr(fd), path), nil
    }
    
    func lockFile(fd syscall.Handle, flags uint32) error {
    	// https://msdn.microsoft.com/en-us/library/windows/desktop/aa365203(v=vs.85).aspx
    	if fd == syscall.InvalidHandle {
    		return nil
    	}
    
    	err := lockFileEx(fd, flags, 1, 0, &syscall.Overlapped{})
    	if err == nil || err == errLockViolation {
    		return nil
    	}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  5. src/test/java/jcifs/smb/compression/CompressionNegotiateContextTest.java

        public void testEncoding() {
            byte[] buffer = new byte[256];
            int encodedSize = context.encode(buffer, 0);
    
            assertTrue(encodedSize > 8); // Minimum size: count + padding + flags + algorithms
            assertEquals(context.size(), encodedSize);
        }
    
        @Test
        @DisplayName("Test context decoding")
        public void testDecoding() throws SMBProtocolDecodingException {
            // Encode first
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  6. src/main/java/jcifs/pac/PacLogonInfo.java

            return this.extraSids;
        }
    
        /**
         * Returns the user account control flags.
         * @return the user account control value
         */
        public int getUserAccountControl() {
            return this.userAccountControl;
        }
    
        /**
         * Returns the user flags indicating PAC content.
         * @return the user flags value
         */
        public int getUserFlags() {
            return this.userFlags;
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 14.3K bytes
    - Click Count (0)
  7. 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;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 1.7K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb1/smb1/SmbComNegotiate.java

    class SmbComNegotiate extends ServerMessageBlock {
    
        private static final String DIALECTS = "\u0002NT LM 0.12\u0000";
    
        SmbComNegotiate() {
            command = SMB_COM_NEGOTIATE;
            flags2 = DEFAULT_FLAGS2;
        }
    
        @Override
        int writeParameterWordsWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 2K bytes
    - Click Count (0)
  9. src/main/java/jcifs/internal/smb2/rdma/RdmaCapability.java

     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.internal.smb2.rdma;
    
    /**
     * RDMA capability flags indicating what operations are supported
     * by an RDMA provider implementation.
     */
    public enum RdmaCapability {
        /**
         * Remote direct read operations
         */
        RDMA_READ,
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 05:11:12 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  10. src/main/java/jcifs/smb1/smb1/SecurityDescriptor.java

     * and access permissions for SMB resources.
     */
    public class SecurityDescriptor {
    
        SID owner_user, owner_group;
        /**
         * The type flags indicating security descriptor control flags.
         */
        public int type;
        /**
         * The array of access control entries (ACEs) in this security descriptor.
         */
        public ACE[] aces;
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4.5K bytes
    - Click Count (0)
Back to Top