Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 191 - 200 of 417 for sflags2 (0.46 seconds)

  1. 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)
  2. 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)
  3. src/test/java/jcifs/smb1/smb1/SmbComNegotiateResponseTest.java

            // Setup server data for this scenario
            serverData.capabilities = 0; // No extended security
            serverData.encryptionKeyLength = 8;
            response.flags2 = ServerMessageBlock.FLAGS2_UNICODE;
            byte[] domainNameBytes = "DOMAIN_U".getBytes("UTF-16LE");
            response.byteCount = 8 + domainNameBytes.length + 2; // key + domain + null terminator
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  4. src/main/java/jcifs/smb/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 (this.tmp == null) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  5. 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)
  6. src/main/java/jcifs/smb/SmbNamedPipe.java

     * file operations.
     * </ul>
     *
     * <p>
     * The jCIFS API maps all of these operations into the standard Java
     * <code>XxxputStream</code> interface. A special <code>PIPE_TYPE</code>
     * flags is necessary to distinguish which type of Named Pipe behavior
     * is desired.
     *
     * <table border="1">
     * <caption>SmbNamedPipe Constructor Examples</caption>
     * <tr >
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  7. src/main/java/jcifs/dcerpc/msrpc/MsrpcSamrConnect4.java

         */
        public MsrpcSamrConnect4(final String server, final int access, final SamrPolicyHandle policyHandle) {
            super(server, 2, access, policyHandle);
            this.ptype = 0;
            this.flags = DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG;
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb1/dcerpc/msrpc/MsrpcSamrConnect2.java

         */
        public MsrpcSamrConnect2(final String server, final int access, final SamrPolicyHandle policyHandle) {
            super(server, access, policyHandle);
            ptype = 0;
            flags = DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG;
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  9. src/test/java/jcifs/smb/Kerb5ContextTest.java

            when(gssContext.getAnonymityState()).thenReturn(false);
            when(gssContext.getConfState()).thenReturn(false);
            when(gssContext.getIntegState()).thenReturn(false);
    
            int flags = ctx.getFlags();
            assertEquals(0, flags);
        }
    
        @Test
        @DisplayName("getFlags combines all flag bits when true")
        void getFlags_allTrue() {
            when(gssContext.getCredDelegState()).thenReturn(true);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  10. src/main/java/jcifs/internal/smb2/multichannel/NetworkInterfaceInfo.java

         *
         * @return capability flags
         */
        public int getCapability() {
            return capability;
        }
    
        /**
         * Set interface capabilities
         *
         * @param capability capability flags
         */
        public void setCapability(int capability) {
            this.capability = capability;
            // Update capability flags based on bitmask
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 11:13:46 GMT 2025
    - 9.8K bytes
    - Click Count (0)
Back to Top