- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 2,752 for boolp (0.09 sec)
-
src/cmd/compile/internal/ssa/nilcheck_test.go
Valu("bool1", OpIsNonNil, c.config.Types.Bool, 0, nil, "ptr1"), If("bool1", "extra", "secondCheck")), Bloc("secondCheck", Valu("bool2", OpIsNonNil, c.config.Types.Bool, 0, nil, "ptr1"), If("bool2", "extra", "thirdCheck")), Bloc("thirdCheck", Valu("bool3", OpIsNonNil, c.config.Types.Bool, 0, nil, "ptr1"), If("bool3", "extra", "exit")), Bloc("extra", Goto("exit")),
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 17 23:34:11 UTC 2023 - 12.3K bytes - Viewed (0) -
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) -
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) -
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) -
platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/managed/ManagedModelGroovyScalarConfigurationIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 19.7K bytes - Viewed (0) -
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) -
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) -
pkg/proxy/apis/config/types.go
// Kubernetes proxy server. type KubeProxyConfiguration struct { metav1.TypeMeta // featureGates is a map of feature names to bools that enable or disable alpha/experimental features. FeatureGates map[string]bool // clientConnection specifies the kubeconfig file and client connection settings for the proxy // server to use when communicating with the apiserver.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 13:25:06 UTC 2024 - 13K bytes - Viewed (0) -
src/time/tick_test.go
}) }) } } type timer interface { Stop() bool Reset(Duration) bool } // tickerTimer is a Timer with Reset and Stop methods that return bools, // to have the same signatures as Timer. type tickerTimer struct { *Ticker stopped bool } func (t *tickerTimer) Stop() bool { pending := !t.stopped t.stopped = true t.Ticker.Stop() return pending }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 11 17:10:37 UTC 2024 - 14.7K bytes - Viewed (0) -
src/internal/types/testdata/check/stmt0.go
case 1.0, 2.0, x /* ERROR "mismatched types int and float64" */ : } switch x { case 1.0: } // untyped bools become of type bool type B bool var b B = true switch x == x { case b /* ERROR "mismatched types B and bool" */ : } switch { case b /* ERROR "mismatched types B and bool" */ : } } func issue11667() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 19K bytes - Viewed (0)