Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 48 for Boolean (0.56 sec)

  1. src/cmd/vendor/golang.org/x/tools/go/analysis/internal/analysisflags/flags.go

    		progname, string(h.Sum(nil)))
    	os.Exit(0)
    	return nil
    }
    
    // A triState is a boolean that knows whether
    // it has been set to either true or false.
    // It is used to identify whether a flag appears;
    // the standard boolean flag cannot
    // distinguish missing from unset.
    // It also satisfies flag.Value.
    type triState int
    
    const (
    	unset triState = iota
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 19:00:13 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  2. src/cmd/vendor/github.com/google/pprof/internal/binutils/binutils.go

    // Accepts a list of paths and returns:
    // a string with path to the preferred objdump binary if found,
    // or an empty string if not found;
    // a boolean if any acceptable objdump was found;
    // a boolean indicating if it is an LLVM objdump.
    func findObjdump(paths []string) (string, bool, bool) {
    	objdumpNames := []string{"llvm-objdump", "objdump"}
    	if runtime.GOOS == "darwin" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/text/cases/cases.go

    func Fold(opts ...Option) Caser {
    	return Caser{makeFold(getOpts(opts...))}
    }
    
    // An Option is used to modify the behavior of a Caser.
    type Option func(o options) options
    
    // TODO: consider these options to take a boolean as well, like FinalSigma.
    // The advantage of using this approach is that other providers of a lower-case
    // algorithm could set different defaults by prefixing a user-provided slice
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  4. src/cmd/doc/main.go

    // the path (or "" if it's the current package) and the symbol
    // (possibly with a .method) within that package.
    // parseSymbol is used to analyze the symbol itself.
    // The boolean final argument reports whether it is possible that
    // there may be more directories worth looking at. It will only
    // be true if the package path is a partial match for some directory
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  5. src/cmd/link/internal/ld/main.go

    	flagW ternaryFlag
    	FlagW = new(bool) // the -w flag, computed in main from flagW
    )
    
    // ternaryFlag is like a boolean flag, but has a default value that is
    // neither true nor false, allowing it to be set from context (e.g. from another
    // flag).
    // *ternaryFlag implements flag.Value.
    type ternaryFlag int
    
    const (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 16:59:50 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/walk/switch.go

    	// Temporary variables (i.e., ONAMEs) used by type switch dispatch logic:
    	srcName  ir.Node // value being type-switched on
    	hashName ir.Node // type hash of the value being type-switched on
    	okName   ir.Node // boolean used for comma-ok type assertions
    	itabName ir.Node // itab value to use for first word of non-empty interface
    }
    
    type typeClause struct {
    	hash uint32
    	body ir.Nodes
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:34:01 UTC 2024
    - 30.1K bytes
    - Viewed (0)
  7. src/cmd/go/internal/modfetch/fetch.go

    	goSum.mu.Lock()
    	goSum.m = nil
    	goSum.w = nil
    	goSum.status = nil
    	goSum.overwrite = false
    	goSum.enabled = false
    	goSum.mu.Unlock()
    }
    
    // initGoSum initializes the go.sum data.
    // The boolean it returns reports whether the
    // use of go.sum is now enabled.
    // The goSum lock must be held.
    func initGoSum() (bool, error) {
    	if GoSumFile == "" {
    		return false, nil
    	}
    	if goSum.m != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/_gen/genericOps.go

    	// the type of a CondSelect is the same as the type of its first
    	// two arguments, which should be register-width scalars; the third
    	// argument should be a boolean
    	{name: "CondSelect", argLength: 3}, // arg2 ? arg0 : arg1
    
    	// boolean ops
    	{name: "AndB", argLength: 2, commutative: true, typ: "Bool"}, // arg0 && arg1 (not shortcircuited)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  9. src/cmd/go/internal/test/testflag.go

    	if f.abs == "" {
    		return base.Cwd()
    	}
    	return f.abs
    }
    
    // vetFlag implements the special parsing logic for the -vet flag:
    // a comma-separated list, with distinguished values "all" and
    // "off", plus a boolean tracking whether it was set explicitly.
    //
    // "all" is encoded as vetFlag{true, false, nil}, since it will
    // pass no flags to the vet binary, and by default, it runs all
    // analyzers.
    type vetFlag struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 19:25:24 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/types2/predicates.go

    func isTypeLit(t Type) bool {
    	switch Unalias(t).(type) {
    	case *Named, *TypeParam:
    		return false
    	}
    	return true
    }
    
    // isTyped reports whether t is typed; i.e., not an untyped
    // constant or boolean.
    // Safe to call from types that are not fully set up.
    func isTyped(t Type) bool {
    	// Alias and named types cannot denote untyped types
    	// so there's no need to call Unalias or under, below.
    	b, _ := t.(*Basic)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 17.5K bytes
    - Viewed (0)
Back to top