Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 251 - 260 of 417 for sflags2 (0.07 seconds)

  1. pyproject.toml

    [tool.ruff.lint.pyupgrade]
    # Preserve types, even if a file imports `from __future__ import annotations`.
    keep-runtime-typing = true
    
    [tool.inline-snapshot]
    # default-flags=["fix"]
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Mar 23 12:36:49 GMT 2026
    - 10.3K bytes
    - Click Count (0)
  2. src/main/java/jcifs/smb1/dcerpc/msrpc/MsrpcLsarOpenPolicy2.java

            qos.length = 12;
            qos.impersonation_level = 2;
            qos.context_mode = 1;
            qos.effective_only = 0;
            object_attributes.security_quality_of_service = qos;
            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
    - 2K bytes
    - Click Count (0)
  3. src/main/java/jcifs/dcerpc/msrpc/MsrpcShareEnum.java

         */
        public MsrpcShareEnum(final String server) {
            super("\\\\" + server, 1, new srvsvc.ShareInfoCtr1(), -1, 0, 0);
            this.ptype = 0;
            this.flags = DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG;
        }
    
        /**
         * Returns the share entries retrieved from the enumeration.
         *
         * @return an array of FileEntry objects representing the shares
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  4. src/main/java/jcifs/smb1/dcerpc/msrpc/MsrpcShareEnum.java

         * @param server the server name to enumerate shares from
         */
        public MsrpcShareEnum(final String server) {
            super("\\\\" + server, 1, new srvsvc.ShareInfoCtr1(), -1, 0, 0);
            ptype = 0;
            flags = DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG;
        }
    
        /**
         * Returns the share entries retrieved from the enumeration.
         *
         * @return an array of FileEntry objects representing the shares
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java

            }
    
            @Test
            @DisplayName("Should handle file attributes with multiple flags set")
            void testMultipleFileAttributeFlags() throws SMBProtocolDecodingException {
                // Given
                byte[] buffer = new byte[60];
                SMBUtil.writeInt2(60, buffer, 0);
    
                // Set multiple attribute flags
                int attributes = 0x01 | 0x02 | 0x04 | 0x10 | 0x20; // Multiple attributes
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 26.9K bytes
    - Click Count (0)
  6. src/test/java/jcifs/dcerpc/DcerpcPipeHandleTest.java

                assertEquals("smb://server/IPC$/test?server=customServer&address=192.168.1.1", result);
            }
        }
    
        @Nested
        @DisplayName("Pipe Flags Tests")
        class PipeFlagsTests {
    
            @Test
            @DisplayName("Should have correct pipe flags constant")
            void testPipeFlags() {
                int expectedFlags = (0x2019F << 16) | SmbPipeResource.PIPE_TYPE_RDWR | SmbPipeResource.PIPE_TYPE_DCE_TRANSACT;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 21K bytes
    - Click Count (0)
  7. src/main/java/jcifs/internal/smb2/lease/DirectoryChangeNotifier.java

                return DirectoryChangeType.DIRECTORY_RENAMED;
            default:
                return DirectoryChangeType.ATTRIBUTES_CHANGED;
            }
        }
    
        /**
         * Get notification filter flags
         *
         * @return filter flags for change notifications
         */
        public int getNotificationFilter() {
            return FILE_NOTIFY_CHANGE_FILE_NAME | FILE_NOTIFY_CHANGE_DIR_NAME | FILE_NOTIFY_CHANGE_ATTRIBUTES | FILE_NOTIFY_CHANGE_SIZE
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 13.7K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescTest.java

            assertTrue(str.contains("securityInformation=0x" + Hexdump.toHexString(securityInfo, 8)));
        }
    
        @Test
        @DisplayName("Test constructor with different security information flags")
        void testConstructorWithDifferentSecurityFlags() {
            int fid = 0x5678;
            int securityInfo = ALL_SECURITY_INFORMATION;
    
            querySecurityDesc = new NtTransQuerySecurityDesc(mockConfig, fid, securityInfo);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.9K bytes
    - Click Count (0)
  9. src/main/java/jcifs/smb1/smb1/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
    - 8.5K bytes
    - Click Count (0)
  10. src/main/java/jcifs/dcerpc/DcerpcBind.java

            this.binding = binding;
            this.max_xmit = handle.getMaxXmit();
            this.max_recv = handle.getMaxRecv();
            this.ptype = 11;
            this.flags = DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG;
        }
    
        @Override
        public int getOpnum() {
            return 0;
        }
    
        @Override
        public void encode_in(final NdrBuffer buf) throws NdrException {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3.6K bytes
    - Click Count (0)
Back to Top