Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 485 for flag (0.02 sec)

  1. internal/config/bool-flag.go

    Anis Elleuch <******@****.***> 1649344240 +0100
    Registered: 2025-05-25 19:28
    - Last Modified: 2022-04-07 15:10
    - 2.3K bytes
    - Viewed (0)
  2. 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: 2025-05-27 11:13
    - Last Modified: 2023-08-22 19:18
    - 2.8K bytes
    - Viewed (0)
  3. istioctl/cmd/root_test.go

    	"github.com/spf13/cobra"
    )
    
    func checkHelpForFlag(t *testing.T, gotHelpText, flag string, wantExists bool) {
    	t.Helper()
    
    	if strings.Contains(gotHelpText, flag) != wantExists {
    		if wantExists {
    			t.Errorf("%q flag was expected but not found in help text", flag)
    		} else {
    			t.Errorf("%q flag was found in help text but not expected", flag)
    		}
    	}
    }
    
    func TestHideInheritedFlags(t *testing.T) {
    	const (
    Registered: 2025-05-28 22:53
    - Last Modified: 2021-01-15 17:59
    - 2.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/dcerpc/DcerpcMessage.java

         * @param flag
         */
        public void unsetFlag ( int flag ) {
            this.flags &= ~flag;
        }
    
    
        /**
         * Set flag
         * 
         * @param flag
         */
        public void setFlag ( int flag ) {
            this.flags |= flag;
        }
    
    
        /**
         * 
         * @return result exception, if the call failed
         */
        public DcerpcException getResult () {
            if ( this.result != 0 )
    Registered: 2025-05-25 00:10
    - Last Modified: 2018-07-01 13:12
    - 5K bytes
    - Viewed (0)
  5. 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(int flag) {
            return (getFlags() & flag) != 0;
        }
    
        /**
         * Sets or clears the specified flag.
         * 
    Registered: 2025-05-25 00:10
    - Last Modified: 2019-03-22 20:39
    - 4.3K bytes
    - Viewed (0)
  6. internal/lock/lock_solaris.go

    	return lockedOpenFile(path, flag, perm, syscall.F_SETLKW)
    }
    
    // Open - Call os.OpenFile
    func Open(path string, flag int, perm os.FileMode) (*os.File, error) {
    	return os.OpenFile(path, flag, perm)
    Registered: 2025-05-25 19:28
    - Last Modified: 2022-01-02 17:15
    - 2.8K bytes
    - Viewed (0)
  7. internal/lock/lock_windows.go

    	}
    	return lockedOpenFile(path, flag, perm, lockType)
    }
    
    // LockedOpenFile - initializes a new lock and protects
    // the file from concurrent access.
    func LockedOpenFile(path string, flag int, perm os.FileMode) (*LockedFile, error) {
    	var lockType uint32 = lockFileExclusiveLock
    	if flag == syscall.O_RDONLY {
    Registered: 2025-05-25 19:28
    - Last Modified: 2023-10-18 18:08
    - 7.9K bytes
    - Viewed (0)
  8. internal/lock/lock_nix.go

    	return lockedOpenFile(path, flag, perm, 0)
    }
    
    // Open - Call os.OpenFile
    func Open(path string, flag int, perm os.FileMode) (*os.File, error) {
    	return os.OpenFile(path, flag, perm)
    Registered: 2025-05-25 19:28
    - Last Modified: 2021-08-19 01:35
    - 2.8K bytes
    - Viewed (0)
  9. istioctl/pkg/config/config.go

    func runList(writer io.Writer) error {
    	// Sort flag names
    	keys := make([]string, len(settableFlags))
    	i := 0
    	for key := range settableFlags {
    		keys[i] = key
    		i++
    	}
    	sort.Strings(keys)
    	w := new(tabwriter.Writer).Init(writer, 0, 8, 5, ' ', 0)
    	fmt.Fprintf(w, "FLAG\tVALUE\tFROM\n")
    	for _, flag := range keys {
    		v := settableFlags[flag]
    		fmt.Fprintf(w, "%s\t%s\t%v\n", flag, viper.GetString(flag), configSource(flag, v))
    	}
    Registered: 2025-05-28 22:53
    - Last Modified: 2023-07-30 12:16
    - 3.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/ntlmssp/NtlmMessage.java

        public void setFlags ( int flags ) {
            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 ( int flag ) {
            return ( getFlags() & flag ) != 0;
        }
    
    
        /**
    Registered: 2025-05-25 00:10
    - Last Modified: 2018-07-01 13:12
    - 5.1K bytes
    - Viewed (0)
Back to top