Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 49 for Boolean (0.12 sec)

  1. 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)
  2. src/cmd/vendor/github.com/ianlancetaylor/demangle/rust.go

    			if !rst.skip {
    				fmt.Fprintf(&rst.buf, "%d", val)
    				rst.last = '0'
    			}
    		}
    	case boolean:
    		if digits > 1 {
    			rst.fail("boolean value too large")
    		} else if val == 0 {
    			rst.writeString("false")
    		} else if val == 1 {
    			rst.writeString("true")
    		} else {
    			rst.fail("invalid boolean value")
    		}
    	case character:
    		if digits > 6 {
    			rst.fail("character value too large")
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 15 16:39:48 UTC 2023
    - 23.3K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. src/cmd/compile/internal/ssa/nilcheck.go

    			for _, v := range b.Values {
    				switch v.Op {
    				case OpIsNonNil:
    					ptr := v.Args[0]
    					if nonNilValues[ptr.ID] != nil {
    						if v.Pos.IsStmt() == src.PosIsStmt { // Boolean true is a terrible statement boundary.
    							pendingLines.add(v.Pos)
    							v.Pos = v.Pos.WithNotStmt()
    						}
    						// This is a redundant explicit nil check.
    						v.reset(OpConstBool)
    						v.AuxInt = 1 // true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 31 20:45:54 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. src/cmd/vendor/github.com/google/pprof/internal/driver/config.go

    // a valid value for a multi-choice config field.
    func isConfigurable(name string) bool {
    	_, ok := configFieldMap[name]
    	return ok
    }
    
    // isBoolConfig returns true if name is either name of a boolean config field,
    // or a valid value for a multi-choice config field.
    func isBoolConfig(name string) bool {
    	f, ok := configFieldMap[name]
    	if !ok {
    		return false
    	}
    	if name != f.name {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:19:53 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top