Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 67 for unnamed1 (0.11 sec)

  1. src/runtime/mfinal.go

    	case fint.Kind_&abi.KindMask == abi.Pointer:
    		if (fint.Uncommon() == nil || etyp.Uncommon() == nil) && (*ptrtype)(unsafe.Pointer(fint)).Elem == ot.Elem {
    			// ok - not same type, but both pointers,
    			// one or the other is unnamed, and same element type, so assignable.
    			goto okarg
    		}
    	case fint.Kind_&abi.KindMask == abi.Interface:
    		ityp := (*interfacetype)(unsafe.Pointer(fint))
    		if len(ityp.Methods) == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 01:56:56 UTC 2024
    - 19K bytes
    - Viewed (0)
  2. src/cmd/go/internal/work/gc.go

    		data, err := os.ReadFile(filepath.Join(p.Dir, file))
    		if err != nil {
    			base.Fatalf("go: %s", err)
    		}
    		h.Write(data)
    	}
    	return fmt.Sprintf("plugin/unnamed-%x", h.Sum(nil))
    }
    
    func (gcToolchain) ld(b *Builder, root *Action, targetPath, importcfg, mainpkg string) error {
    	cxx := len(root.Package.CXXFiles) > 0 || len(root.Package.SwigCXXFiles) > 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 15:37:44 UTC 2024
    - 23K bytes
    - Viewed (0)
  3. src/cmd/vendor/github.com/ianlancetaylor/demangle/demangle.go

    				st.advance(1)
    				st.fail("expected closure or unnamed type")
    			}
    			c := st.str[1]
    			switch c {
    			case 'b':
    				st.advance(2)
    				st.compactNumber()
    				a = &Name{Name: "'block-literal'"}
    			case 'l':
    				a = st.closureTypeName()
    			case 't':
    				a = st.unnamedTypeName()
    			default:
    				st.advance(1)
    				st.fail("expected closure or unnamed type")
    			}
    		default:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 94.1K bytes
    - Viewed (0)
  4. pilot/pkg/networking/core/cluster_builder.go

    	// protocol detection is disabled for gateway and use_downstream_protocol is used under protocol
    	// detection for cluster to select upstream connection protocol when the service port is unnamed.
    	// use_downstream_protocol should be disabled for gateway; while it sort of makes sense there, even
    	// without sniffing, a concern is that clients will do ALPN negotiation, and we always advertise
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 31.6K bytes
    - Viewed (0)
  5. src/cmd/internal/obj/objfile.go

    	}
    	if s.IsPkgInit() {
    		flag2 |= goobj.SymFlagPkgInit
    	}
    	if s.IsLinkname() || (w.ctxt.IsAsm && name != "") || name == "main.main" {
    		// Assembly reference is treated the same as linkname,
    		// but not for unnamed (aux) symbols.
    		// The runtime linknames main.main.
    		flag2 |= goobj.SymFlagLinkname
    	}
    	if s.ABIWrapper() {
    		flag2 |= goobj.SymFlagABIWrapper
    	}
    	if strings.HasPrefix(name, "gofile..") {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 24K bytes
    - Viewed (0)
  6. src/cmd/vendor/github.com/ianlancetaylor/demangle/ast.go

    }
    
    // UnnamedType is an unnamed type, that just has an index.
    type UnnamedType struct {
    	Num int
    }
    
    func (ut *UnnamedType) print(ps *printState) {
    	if ps.llvmStyle {
    		if ut.Num == 0 {
    			ps.writeString("'unnamed'")
    		} else {
    			ps.writeString(fmt.Sprintf("'unnamed%d'", ut.Num-1))
    		}
    	} else {
    		ps.writeString(fmt.Sprintf("{unnamed type#%d}", ut.Num+1))
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 105.8K bytes
    - Viewed (0)
  7. src/encoding/gob/type.go

    // Expecting to be used only during initialization, it panics if the mapping
    // between types and names is not a bijection.
    func Register(value any) {
    	// Default to printed representation for unnamed types
    	rt := reflect.TypeOf(value)
    	name := rt.String()
    
    	// But for named types (or pointers to them), qualify with import path (but see inner comment).
    	// Dereference one pointer looking for a named type.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 02:00:26 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/syntax/parser.go

    			list = append(list, par)
    		}
    		return false
    	})
    
    	if len(list) == 0 {
    		return
    	}
    
    	// distribute parameter types (len(list) > 0)
    	if named == 0 && !requireNames {
    		// all unnamed and we're not in a type parameter list => found names are named types
    		for _, par := range list {
    			if typ := par.Name; typ != nil {
    				par.Type = typ
    				par.Name = nil
    			}
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 62.9K bytes
    - Viewed (0)
  9. src/go/types/issues_test.go

    	// P where P's core type is string
    	{
    		P := NewTypeName(nopos, nil, "P", nil) // [P string]
    		makeSig(NewTypeParam(P, NewInterfaceType(nil, []Type{Typ[String]})))
    	}
    
    	// P where P's core type is an (unnamed) slice
    	{
    		P := NewTypeName(nopos, nil, "P", nil) // [P []int]
    		makeSig(NewTypeParam(P, NewInterfaceType(nil, []Type{NewSlice(Typ[Int])})))
    	}
    
    	// P where P's core type is bytestring (i.e., string or []byte)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  10. src/go/types/unify.go

    				//
    				// Similarly, if we have inexact unification and there are no defined types but
    				// channel types, select a directed channel, if any. This ensures that in a series
    				// of unnamed types, all matching against the same type parameter, we infer the
    				// directed channel if there is one, independent of order.
    				// Selecting a directional channel, if any, ensures that a value of another
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:24:39 UTC 2024
    - 27.9K bytes
    - Viewed (0)
Back to top