Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 8,278 for boolp (0.04 sec)

  1. src/cmd/compile/internal/ssa/fuse_test.go

    			Goto("checkPtr")),
    		Bloc("checkPtr",
    			Valu("ptr1", OpLoad, ptrType, 0, nil, "sb", "mem"),
    			Valu("nilptr", OpConstNil, ptrType, 0, nil),
    			Valu("bool1", OpNeqPtr, c.config.Types.Bool, 0, nil, "ptr1", "nilptr"),
    			If("bool1", "then", "exit")),
    		Bloc("then",
    			Goto("exit")),
    		Bloc("exit",
    			Exit("mem")))
    
    	CheckFunc(fun.f)
    	fuseLate(fun.f)
    
    	for _, b := range fun.f.Blocks {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 31 20:45:54 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  2. internal/s3select/sql/value.go

    // conversion succeeded.
    func (v Value) ToBool() (val bool, ok bool) {
    	val, ok = v.value.(bool)
    	return
    }
    
    // ToTimestamp returns the timestamp value if present.
    func (v Value) ToTimestamp() (t time.Time, ok bool) {
    	t, ok = v.value.(time.Time)
    	return
    }
    
    // ToBytes returns the value if byte-slice.
    func (v Value) ToBytes() (val []byte, ok bool) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Feb 25 20:31:19 UTC 2022
    - 20.2K bytes
    - Viewed (0)
  3. src/flag/flag_test.go

    	}
    }
    
    func testParse(f *FlagSet, t *testing.T) {
    	if f.Parsed() {
    		t.Error("f.Parse() = true before Parse")
    	}
    	boolFlag := f.Bool("bool", false, "bool value")
    	bool2Flag := f.Bool("bool2", false, "bool2 value")
    	intFlag := f.Int("int", 0, "int value")
    	int64Flag := f.Int64("int64", 0, "int64 value")
    	uintFlag := f.Uint("uint", 0, "uint value")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:38:24 UTC 2024
    - 22K bytes
    - Viewed (0)
  4. src/cmd/go/internal/test/flagdefs.go

    	"timeout":              true,
    	"trace":                true,
    	"v":                    true,
    }
    
    var passAnalyzersToVet = map[string]bool{
    	"appends":          true,
    	"asmdecl":          true,
    	"assign":           true,
    	"atomic":           true,
    	"bool":             true,
    	"bools":            true,
    	"buildtag":         true,
    	"buildtags":        true,
    	"cgocall":          true,
    	"composites":       true,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 01:02:40 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  5. src/cmd/vendor/github.com/google/pprof/internal/driver/cli.go

    				// Set all flags to initially false so we can
    				// identify conflicts.
    				bools := make(map[string]*bool)
    				for _, choice := range field.choices {
    					bools[choice] = flag.Bool(choice, false, configHelp[choice])
    				}
    				setter = func() {
    					var set []string
    					for k, v := range bools {
    						if *v {
    							set = append(set, k)
    						}
    					}
    					switch len(set) {
    					case 0:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 15 16:39:48 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/managed/ManagedModelGroovyScalarConfigurationIntegrationTest.groovy

                            println "prop theBigDecimal: $p.theBigDecimal :"
                            println "prop theBigInteger: $p.theBigInteger :"
                            println "prop bool1        : $p.bool1 :"
                            println "prop bool2        : $p.bool2 :"
                            println "prop theBoolean   : $p.theBoolean :"
                            println "prop thebyte      : $p.thebyte :"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 19.7K bytes
    - Viewed (0)
  7. src/database/sql/convert_test.go

    		{s: int64(0), d: &scanbool, wantbool: false},
    		{s: uint16(0), d: &scanbool, wantbool: false},
    
    		// Not bools
    		{s: "yup", d: &scanbool, wanterr: `sql/driver: couldn't convert "yup" into type bool`},
    		{s: 2, d: &scanbool, wanterr: `sql/driver: couldn't convert 2 into type bool`},
    
    		// Floats
    		{s: float64(1.5), d: &scanf64, wantf64: float64(1.5)},
    		{s: int64(1), d: &scanf64, wantf64: float64(1)},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 10 20:23:22 UTC 2024
    - 17K bytes
    - Viewed (0)
  8. src/cmd/go/internal/modindex/index_format.txt

    		synopsis - string offset
    		name - string offset
    		pkgName - string offset
    		ignoreFile - int32 bool // report the file in Ignored(Go|Other)Files because there was an error reading it or parsing its build constraints.
    		binaryOnly uint32 bool
    		cgoDirectives string offset // the #cgo directive lines in the comment on import "C"
    		goBuildConstraint  - string offset
    		len(plusBuildConstraints) - uint32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 13 00:22:50 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  9. src/reflect/deepequal.go

    		return v1.Int() == v2.Int()
    	case Uint, Uint8, Uint16, Uint32, Uint64, Uintptr:
    		return v1.Uint() == v2.Uint()
    	case String:
    		return v1.String() == v2.String()
    	case Bool:
    		return v1.Bool() == v2.Bool()
    	case Float32, Float64:
    		return v1.Float() == v2.Float()
    	case Complex64, Complex128:
    		return v1.Complex() == v2.Complex()
    	default:
    		// Normal equality suffices
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:34:30 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/tools/go/analysis/internal/analysisflags/flags.go

    	}
    	panic("not reached")
    }
    
    func (ts triState) IsBoolFlag() bool {
    	return true
    }
    
    // Legacy flag support
    
    // vetLegacyFlags maps flags used by legacy vet to their corresponding
    // new names. The old names will continue to work.
    var vetLegacyFlags = map[string]string{
    	// Analyzer name changes
    	"bool":       "bools",
    	"buildtags":  "buildtag",
    	"methods":    "stdmethods",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 19:00:13 UTC 2024
    - 12.1K bytes
    - Viewed (0)
Back to top