Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 461 for tflags (5.14 sec)

  1. src/test/java/jcifs/internal/smb2/create/Smb2CreateRequestTest.java

        }
    
        @Test
        @DisplayName("Test SMB create flags setter")
        void testSetSmbCreateFlags() {
            request = new Smb2CreateRequest(mockConfig, "test.txt");
    
            long flags = 0x1234567890ABCDEFL;
            request.setSmbCreateFlags(flags);
    
            byte[] buffer = new byte[1024];
            request.writeBytesWireFormat(buffer, 0);
    
            // Verify flags are written at correct offset (8-15)
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  2. 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);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/dcerpc/DcerpcHandle.java

                    // need fragementation
                    msg.flags &= ~DCERPC_LAST_FRAG;
                    fragSize = this.max_xmit - 24;
                } else {
                    msg.flags |= DCERPC_LAST_FRAG;
                    msg.alloc_hint = fragSize;
                }
    
                msg.length = 24 + fragSize;
    
                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
    - 15.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoRequest.java

        /**
         * Constructs a ValidateNegotiateInfo request
         *
         * @param capabilities
         *            the client capabilities flags
         * @param clientGuid
         *            the client GUID
         * @param securityMode
         *            the security mode flags
         * @param dialects
         *            the SMB dialects supported by the client
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/dtyp/SecurityDescriptor.java

            this.decode(buffer, bufferIndex, len);
        }
    
        /**
         * Gets the type flags of this security descriptor.
         *
         * @return the type flags indicating security descriptor control flags
         */
        public final int getType() {
            return this.type;
        }
    
        /**
         * Gets the access control entries (ACEs) from this security descriptor.
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/witness/WitnessRpcClient.java

                message.setIpAddress(request.getServerAddress());
                message.setClientComputerName(context.getConfig().getNetbiosHostname());
                message.setFlags(request.getFlags());
                message.setTimeout((int) (context.getConfig().getWitnessRegistrationTimeout() / 1000));
    
                // Send the RPC request
                rpcHandle.sendrecv(message);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/TestLockingTest.java

                assertEquals(100L, t.delay, "Default delay should be 100");
            }
    
            @Test
            @DisplayName("Multiple flags are parsed correctly")
            void multipleFlags() {
                TestLocking t = new TestLocking();
    
                // Parse multiple flags
                String[] args = { "-t", "3", "-i", "7", "-d", "200", "smb://test/file.txt" };
                for (int ai = 0; ai < args.length; ai++) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbComNegotiateResponse.java

                if (byteCount > server.encryptionKeyLength) {
                    int len = 0;
                    // Use appropriate string decoding based on Unicode flag
                    try {
                        if ((flags2 & FLAGS2_UNICODE) == FLAGS2_UNICODE) {
                            while (buffer[bufferIndex + len] != (byte) 0x00 || buffer[bufferIndex + len + 1] != (byte) 0x00) {
                                len += 2;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 6K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top