- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 24 for vfunc (0.05 sec)
-
src/text/template/exec_test.go
{"bug5a", "{{.Err}}", "erroozle", tVal, true}, // Args need to be indirected and dereferenced sometimes. {"bug6a", "{{vfunc .V0 .V1}}", "vfunc", tVal, true}, {"bug6b", "{{vfunc .V0 .V0}}", "vfunc", tVal, true}, {"bug6c", "{{vfunc .V1 .V0}}", "vfunc", tVal, true}, {"bug6d", "{{vfunc .V1 .V1}}", "vfunc", tVal, true}, // Legal parse but illegal execution: non-function should have no arguments. {"bug7a", "{{3 2}}", "", tVal, false},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 22:23:55 UTC 2024 - 60.1K bytes - Viewed (0) -
src/cmd/compile/internal/syntax/parser.go
} } // usage: defer p.trace(msg)() func (p *parser) trace(msg string) func() { p.print(msg + " (") const tab = ". " p.indent = append(p.indent, tab...) return func() { p.indent = p.indent[:len(p.indent)-len(tab)] if x := recover(); x != nil { panic(x) // skip print_trace } p.print(")") } } func (p *parser) print(msg string) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 62.9K bytes - Viewed (0) -
src/runtime/pprof/pprof_test.go
// Run multiple times to shake out data races t.Run("goroutine launches", testLaunches) } } func BenchmarkGoroutine(b *testing.B) { withIdle := func(n int, fn func(b *testing.B)) func(b *testing.B) { return func(b *testing.B) { c := make(chan int) var ready, done sync.WaitGroup defer func() { close(c) done.Wait() }() for i := 0; i < n; i++ { ready.Add(1)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 18:42:28 UTC 2024 - 68.8K bytes - Viewed (0) -
src/cmd/go/go_test.go
tg.tempFile("src/t/t2/t2_test.go", "package t\nimport _ \"p1\"\nimport \"testing\"\nfunc Test2(*testing.T) {}\n") tg.tempFile("src/t/t3/t3_test.go", "package t\nimport \"p1\"\nimport \"testing\"\nfunc Test3(t *testing.T) {t.Log(p1.X)}\n") tg.tempFile("src/t/t4/t4_test.go", "package t\nimport \"p2\"\nimport \"testing\"\nfunc Test4(t *testing.T) {t.Log(p2.X)}")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 81.1K bytes - Viewed (0) -
src/reflect/type.go
} func (t *rtype) NumIn() int { if t.Kind() != Func { panic("reflect: NumIn of non-func type " + t.String()) } tt := (*abi.FuncType)(unsafe.Pointer(t)) return tt.NumIn() } func (t *rtype) NumOut() int { if t.Kind() != Func { panic("reflect: NumOut of non-func type " + t.String()) } tt := (*abi.FuncType)(unsafe.Pointer(t)) return tt.NumOut() } func (t *rtype) Out(i int) Type {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 85.5K bytes - Viewed (0) -
src/cmd/dist/test.go
// // heading and test.variant must be non-empty. func (t *tester) registerTest(heading string, test *goTest, opts ...registerTestOpt) { var skipFunc func(*distTest) (string, bool) for _, opt := range opts { switch opt := opt.(type) { case rtSkipFunc: skipFunc = opt.skip } } // Register each test package as a separate test. register1 := func(test *goTest) { if test.variant == "" {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 16:01:35 UTC 2024 - 50K bytes - Viewed (0) -
cmd/kubeadm/app/apis/kubeadm/v1beta4/zz_generated.conversion.go
) func init() { localSchemeBuilder.Register(RegisterConversions) } // RegisterConversions adds conversion functions to the given scheme. // Public to allow building arbitrary schemes. func RegisterConversions(s *runtime.Scheme) error { if err := s.AddGeneratedConversionFunc((*APIEndpoint)(nil), (*kubeadm.APIEndpoint)(nil), func(a, b interface{}, scope conversion.Scope) error {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 16 08:34:39 UTC 2024 - 61.4K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/rewrite.go
func nlz32(x int32) int { return bits.LeadingZeros32(uint32(x)) } func nlz16(x int16) int { return bits.LeadingZeros16(uint16(x)) } func nlz8(x int8) int { return bits.LeadingZeros8(uint8(x)) } // ntzX returns the number of trailing zeros. func ntz64(x int64) int { return bits.TrailingZeros64(uint64(x)) } func ntz32(x int32) int { return bits.TrailingZeros32(uint32(x)) } func ntz16(x int16) int { return bits.TrailingZeros16(uint16(x)) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 19:02:52 UTC 2024 - 64.2K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/kuberuntime_manager_test.go
state runtimeapi.ContainerState } type cRecordList []*cRecord func (b cRecordList) Len() int { return len(b) } func (b cRecordList) Swap(i, j int) { b[i], b[j] = b[j], b[i] } func (b cRecordList) Less(i, j int) bool { if b[i].name != b[j].name { return b[i].name < b[j].name } return b[i].attempt < b[j].attempt }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 14 16:09:17 UTC 2024 - 96K bytes - Viewed (0) -
pkg/workloadapi/workload.pb.go
func (*Service) Descriptor() ([]byte, []int) { return file_workloadapi_workload_proto_rawDescGZIP(), []int{1} } func (x *Service) GetName() string { if x != nil { return x.Name } return "" } func (x *Service) GetNamespace() string { if x != nil { return x.Namespace } return "" } func (x *Service) GetHostname() string {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 12 18:02:35 UTC 2024 - 65.9K bytes - Viewed (0)