- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 21 for flagval (0.1 sec)
-
src/cmd/compile/internal/inline/inlheur/testdata/props/acrosscall.go
// callsite: acrosscall.go:58:9|0 flagstr "" flagval 0 score 8 mask 0 maskstr "" // <endcallsites> // <endfuncpreamble> func T_feeds_if_via_call(x int) { feedsif(x) } // acrosscall.go T_feeds_if_via_call_conditional 69 0 1 // ParamFlags // 0 ParamMayFeedIfOrSwitch // <endpropsdump> // {"Flags":0,"ParamFlags":[64],"ResultFlags":null} // callsite: acrosscall.go:71:10|0 flagstr "" flagval 0 score 8 mask 0 maskstr "" // <endcallsites>
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 16 20:15:25 UTC 2023 - 5.3K bytes - Viewed (0) -
src/cmd/compile/internal/inline/inlheur/testdata/props/calls.go
// {"Flags":0,"ParamFlags":[96,0],"ResultFlags":null} // callsite: calls.go:103:9|0 flagstr "" flagval 0 score 2 mask 0 maskstr "" // callsite: calls.go:112:9|1 flagstr "" flagval 0 score 2 mask 0 maskstr "" // callsite: calls.go:115:9|2 flagstr "" flagval 0 score 2 mask 0 maskstr "" // callsite: calls.go:119:12|3 flagstr "CallSiteOnPanicPath" flagval 2 score 102 mask 1 maskstr "panicPathAdj" // <endcallsites> // <endfuncpreamble>
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 16 20:15:25 UTC 2023 - 7.1K bytes - Viewed (0) -
src/cmd/compile/internal/inline/inlheur/testdata/props/returns2.go
// callsite: returns2.go:42:18|0 flagstr "" flagval 0 score -51 mask 8200 maskstr "passConstToIfAdj|returnFeedsInlinableFuncToIndCallAdj" // callsite: returns2.go:44:20|1 flagstr "" flagval 0 score -23 mask 8192 maskstr "returnFeedsInlinableFuncToIndCallAdj" // <endcallsites> // <endfuncpreamble> func T_returned_inlinable_func_feeds_indirect_call(q int) { f := returnsFunc(10) f(q) f2 := returnsFunc2() f2(q) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 16 20:15:01 UTC 2023 - 5.7K bytes - Viewed (0) -
src/cmd/compile/internal/inline/inlheur/testdata/props/funcflags.go
os.Exit(1) } os.Exit(2) } // funcflags.go T_exitinexpr 281 0 1 // <endpropsdump> // {"Flags":0,"ParamFlags":[0],"ResultFlags":null} // callsite: funcflags.go:286:18|0 flagstr "CallSiteOnPanicPath" flagval 2 score 102 mask 1 maskstr "panicPathAdj" // <endcallsites> // <endfuncpreamble> func T_exitinexpr(x int) { // This function does indeed unconditionally call exit, since the
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 16 20:15:01 UTC 2023 - 6.5K bytes - Viewed (0) -
src/cmd/compile/internal/inline/inlheur/funcprops_test.go
} // expected format: "// callsite: <expanded pos> flagstr <desc> flagval <flags> score <score> mask <scoremask> maskstr <scoremaskstring>" fields := strings.Fields(line) if len(fields) != 12 { return funcInlHeur, nil, fmt.Errorf("malformed callsite (nf=%d) %s line %d: %s", len(fields), dr.p, dr.ln, line) } if fields[2] != "flagstr" || fields[4] != "flagval" || fields[6] != "score" || fields[8] != "mask" || fields[10] != "maskstr" {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 16 20:15:25 UTC 2023 - 15K bytes - Viewed (0) -
src/flag/flag.go
If you like, you can bind the flag to a variable using the Var() functions. var flagvar int func init() { flag.IntVar(&flagvar, "flagname", 1234, "help message for flagname") } Or you can create custom flags that satisfy the Value interface (with pointer receivers) and couple them to flag parsing by flag.Var(&flagVal, "name", "help message for flagname")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 18:38:24 UTC 2024 - 39.7K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/model/types_test.go
name.Ref = testValue(t, 2, "test-instance") nestedVal := apiservercel.NewMapValue() flags := apiservercel.NewField(5, "flags") flagsVal := apiservercel.NewMapValue() myFlag := apiservercel.NewField(6, "my_flag") myFlag.Ref = testValue(t, 7, true) flagsVal.AddField(myFlag) flags.Ref = testValue(t, 8, flagsVal) dates := apiservercel.NewField(9, "dates") dates.Ref = testValue(t, 10, apiservercel.NewListValue()) nestedVal.AddField(flags)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 08 15:52:31 UTC 2023 - 3.8K bytes - Viewed (0) -
test/abi/idata.go
//go:noinline //go:registerparams func itor(x intVal) ratVal { return ratVal{nil} } //go:noinline //go:registerparams func itof(x intVal) floatVal { return floatVal{nil} } func rtof(x ratVal) floatVal { return floatVal{newFloat().SetRat(x.val)} } type Value interface { String() string } //go:noinline //go:registerparams func ToFloat(x Value) Value { switch x := x.(type) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 05 20:11:08 UTC 2021 - 2.1K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/util/cmdutil_test.go
cfg interface{} flagValue interface{} expected interface{} }{ { name: "string: config is overridden by the flag", flag: "foo", cfg: "foo_cfg", flagValue: "foo_flag", expected: "foo_flag", }, { name: "bool: config is overridden by the flag", flag: "bar", cfg: true, flagValue: false, expected: false, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Feb 29 05:14:21 UTC 2024 - 4K bytes - Viewed (0) -
src/flag/flag_test.go
// Declare a user-defined flag type. type flagVar []string func (f *flagVar) String() string { return fmt.Sprint([]string(*f)) } func (f *flagVar) Set(value string) error { *f = append(*f, value) return nil } func TestUserDefined(t *testing.T) { var flags FlagSet flags.Init("test", ContinueOnError) flags.SetOutput(io.Discard) var v flagVar flags.Var(&v, "v", "usage")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 18:38:24 UTC 2024 - 22K bytes - Viewed (0)