Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 477 for rflags (0.04 sec)

  1. src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java

            }
    
            @Test
            @DisplayName("Test flags property")
            void testFlagsProperty() {
                testBlock.setFlags((byte) 0x12);
                assertEquals((byte) 0x12, testBlock.getFlags());
            }
    
            @Test
            @DisplayName("Test flags2 property")
            void testFlags2Property() {
                testBlock.setFlags2(0x1234);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbNamedPipeTest.java

            @DisplayName("Second constructor sets unshared based on flags")
            void secondCtorUnsharedFlagPath() throws Exception {
                // Arrange: include UNSHARED flag to exercise that branch
                int flags = SmbPipeResource.PIPE_TYPE_RDWR | SmbPipeResource.PIPE_TYPE_UNSHARED;
    
                // Act
                SmbNamedPipe pipe = new SmbNamedPipe("smb://server/IPC$/foo", flags, ctx());
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/dcerpc/DcerpcMessageTest.java

            for (int flag : new int[] { 0, 0xFF, 0x01, 0x80 }) {
                TestMessage m = new TestMessage();
                m.ptype = 0;
                m.flags = flag;
    
                NdrBuffer buf = new NdrBuffer(new byte[1024], 0);
                m.encode(buf);
    
                // Reset and skip to flags field
                buf.setIndex(3);
                assertEquals(flag, buf.dec_ndr_small());
            }
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/ntlmssp/Type3MessageTest.java

            String username = "testuser";
            String workstation = "TESTWS";
            int flags = NtlmFlags.NTLMSSP_NEGOTIATE_UNICODE | NtlmFlags.NTLMSSP_NEGOTIATE_NTLM;
    
            // When
            Type3Message type3 = new Type3Message(createMockContext(), type2, null, password, domain, username, workstation, flags);
    
            // Then
            assertNotNull(type3);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/dtyp/SecurityInfoTest.java

        @Test
        @DisplayName("Test flag checking with bitwise AND")
        void testFlagChecking() {
            int flags = SecurityInfo.OWNER_SECURITY_INFO | SecurityInfo.DACL_SECURITY_INFO;
    
            // Test presence of flags
            assertTrue((flags & SecurityInfo.OWNER_SECURITY_INFO) != 0);
            assertTrue((flags & SecurityInfo.DACL_SECURITY_INFO) != 0);
    
            // Test absence of flags
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/witness/WitnessNotification.java

            /**
             * Gets the address flags.
             *
             * @return the flags
             */
            public int getFlags() {
                return flags;
            }
    
            /**
             * Checks if this is an IPv4 address.
             *
             * @return true if IPv4
             */
            public boolean isIPv4() {
                return (flags & IPV4) != 0;
            }
    
            /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/SmbComNegotiateTest.java

         * It should initialize the command and flags2 with default values.
         */
        @Test
        void testConstructor() {
            // Verify that the command is set to SMB_COM_NEGOTIATE
            assertEquals(ServerMessageBlock.SMB_COM_NEGOTIATE, smbComNegotiate.command,
                    "Constructor should set the command to SMB_COM_NEGOTIATE.");
            // Verify that flags2 is set to the default flags
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4K bytes
    - Viewed (0)
  8. cmd/admin-router.go

    // this behavior.
    func adminMiddleware(f http.HandlerFunc, flags ...hFlag) http.HandlerFunc {
    	// Collect all flags with bitwise-OR and assign operator
    	var handlerFlags hFlag
    	for _, flag := range flags {
    		handlerFlags |= flag
    	}
    
    	// Get name of the handler using reflection.
    	handlerName := getHandlerName(f, "adminAPIHandlers")
    
    	var handler http.HandlerFunc = func(w http.ResponseWriter, r *http.Request) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 16 07:34:24 UTC 2025
    - 26.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseContext.java

            offset += 8;
    
            // Directory flags (4 bytes)
            int flags = 0;
            if (cacheScope == DirectoryCacheScope.RECURSIVE_TREE) {
                flags |= DIRECTORY_LEASE_FLAG_RECURSIVE;
            }
            if (notificationEnabled) {
                flags |= DIRECTORY_LEASE_FLAG_NOTIFICATIONS;
            }
            SMBUtil.writeInt4(flags, buffer, offset);
            offset += 4;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponse.java

        public static final byte SMB2_SHARE_TYPE_PRINT = 0x3;
    
        /**
         * Share flag indicating manual caching of documents.
         */
        public static final int SMB2_SHAREFLAG_MANUAL_CACHING = 0x0;
        /**
         * Share flag indicating automatic caching of documents.
         */
        public static final int SMB2_SHAREFLAG_AUTO_CACHING = 0x10;
        /**
         * Share flag indicating automatic caching of programs and documents.
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.8K bytes
    - Viewed (0)
Back to top