Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for EmbeddedType (0.04 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/cmd/api/main_test.go

    func (w *Walker) sortedEmbeddeds(typ *types.Interface) []string {
    	n := typ.NumEmbeddeds()
    	list := make([]string, 0, n)
    	for i := 0; i < n; i++ {
    		emb := typ.EmbeddedType(i)
    		switch emb := emb.(type) {
    		case *types.Interface:
    			list = append(list, w.sortedEmbeddeds(emb)...)
    		case *types.Union:
    			var buf bytes.Buffer
    			nu := emb.Len()
    			for i := 0; i < nu; i++ {
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Thu Feb 20 03:25:33 GMT 2025
    - 31.4K bytes
    - Click Count (0)
Back to Top