Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 695 for flag (0.01 sec)

  1. src/cmd/asm/internal/flags/flags.go

    	fmt.Fprintf(os.Stderr, "usage: asm [options] file.s ...\n")
    	fmt.Fprintf(os.Stderr, "Flags:\n")
    	flag.PrintDefaults()
    	os.Exit(2)
    }
    
    func Parse() {
    	objabi.Flagparse(Usage)
    	if flag.NArg() == 0 {
    		flag.Usage()
    	}
    
    	// Flag refinement.
    	if *OutputFile == "" {
    		if flag.NArg() != 1 {
    			flag.Usage()
    		}
    		input := filepath.Base(flag.Arg(0))
    		input = strings.TrimSuffix(input, ".s")
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Aug 22 19:18:23 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/dcerpc/DcerpcMessage.java

         *
         * @param flag the flag to remove
         */
        public void unsetFlag(final int flag) {
            this.flags &= ~flag;
        }
    
        /**
         * Set flag
         *
         * @param flag the flag to set
         */
        public void setFlag(final int flag) {
            this.flags |= flag;
        }
    
        /**
         * Get the result of the DCERPC call.
         * @return result exception, if the call failed
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/spnego/NegTokenInit.java

        /**
         * Checks if a specific context flag is set
         * @param flag the context flag to check
         * @return true if the flag is set, false otherwise
         */
        public boolean getContextFlag(final int flag) {
            return (getContextFlags() & flag) == flag;
        }
    
        /**
         * Sets or clears a specific context flag
         * @param flag the context flag to set or clear
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/ntlmssp/NtlmMessageTest.java

            assertFalse(message.getFlag(0b0100), "Flag 0b0100 should not be set.");
            assertFalse(message.getFlag(0b0001), "Flag 0b0001 should not be set.");
    
            message.setFlags(0); // No flags set
            assertFalse(message.getFlag(0b1000), "No flags should be set.");
        }
    
        @Test
        void testSetFlag() {
            // Test setting a flag
            message.setFlags(0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  5. 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)
  6. src/main/java/jcifs/smb1/smb1/SmbConstants.java

        int FLAGS_OPLOCK_REQUESTED_OR_GRANTED = 0x20;
        /** Notify of modify action flag */
        int FLAGS_NOTIFY_OF_MODIFY_ACTION = 0x40;
        /** Response flag */
        int FLAGS_RESPONSE = 0x80;
    
        /** No flags2 set */
        int FLAGS2_NONE = 0x0000;
        /** Long filenames supported flag */
        int FLAGS2_LONG_FILENAMES = 0x0001;
        /** Extended attributes supported flag */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/ntlmssp/NtlmMessage.java

            this.flags = flags;
        }
    
        /**
         * Returns the status of the specified flag.
         *
         * @param flag The flag to test (i.e., <code>NTLMSSP_NEGOTIATE_OEM</code>).
         * @return A <code>boolean</code> indicating whether the flag is set.
         */
        public boolean getFlag(final int flag) {
            return (getFlags() & flag) != 0;
        }
    
        /**
         * Sets or clears the specified flag.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java

            for (int flag : capabilityFlags) {
                response = new Smb2TreeConnectResponse(mockConfig);
                byte[] buffer = createValidResponseBuffer(0, 0, flag, 0);
                response.readBytesWireFormat(buffer, 0);
                assertEquals(flag, response.getCapabilities());
            }
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/spnego/NegTokenInitTest.java

                NegTokenInit init = new NegTokenInit();
    
                // Initially false
                assertFalse(init.getContextFlag(flag));
    
                // Set to true
                init.setContextFlag(flag, true);
                assertTrue(init.getContextFlag(flag));
                assertEquals(flag, init.getContextFlags());
    
                // Set to false
                init.setContextFlag(flag, false);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/lock/Smb2Lock.java

         * @param length the number of bytes to lock
         * @param flags the lock flags (combination of SMB2_LOCKFLAG_* constants)
         */
        public Smb2Lock(final long offset, final long length, final int flags) {
            this.offset = offset;
            this.length = length;
            this.flags = flags;
    
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Encodable#size()
         */
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.8K bytes
    - Viewed (0)
Back to top