Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 191 - 200 of 466 for sflags (0.05 seconds)

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

         * @param tc the CIFS context to use
         * @param flags resolution flags
         * @return the members of the group
         * @throws IOException if there is an error retrieving group members
         */
        public jcifs.SID[] getGroupMemberSids(final String authorityServerName, final CIFSContext tc, final int flags) throws IOException {
            if (this.type != SID_TYPE_DOM_GRP && this.type != SID_TYPE_ALIAS) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 16K bytes
    - Click Count (0)
  2. src/main/java/jcifs/smb/SSPContext.java

         * @return whether the specified mechanism is preferred
         */
        boolean isPreferredMech(ASN1ObjectIdentifier selectedMech);
    
        /**
         * Gets the negotiated context flags.
         * @return context flags
         */
        int getFlags();
    
        /**
         * Gets the array of supported security mechanism OIDs.
         * @return array of supported mechanism OIDs
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  3. src/main/java/jcifs/smb1/dcerpc/msrpc/netdfs.java

            }
    
            /**
             * DFS flags
             */
            public int flags;
            /**
             * The DFS name
             */
            public String dfs_name;
    
            @Override
            public void encode(NdrBuffer _dst) throws NdrException {
                _dst.align(4);
                _dst.enc_ndr_long(flags);
                _dst.enc_ndr_referent(dfs_name, 1);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 21.2K bytes
    - Click Count (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to Top