Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 258 for unnamed (0.16 sec)

  1. 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)
  2. src/go/types/unify.go

    			if u.nify(x, y, mode, p) {
    				// We have a match, possibly through underlying types.
    				xi := asInterface(x)
    				yi := asInterface(y)
    				xn := asNamed(x) != nil
    				yn := asNamed(y) != nil
    				// If we have two interfaces, what to do depends on
    				// whether they are named and their method sets.
    				if xi != nil && yi != nil {
    					// Both types are interfaces.
    					// If both types are defined types, they must be identical
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:24:39 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  3. 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)
  4. pkg/registry/core/service/storage/storage_test.go

    	pods := []api.Pod{
    		makePod("unnamed", "1.2.3.4", "1.2.3.5"),
    		makePod("named", "1.2.3.6", "1.2.3.7"),
    		makePod("no-endpoints", "9.9.9.9"), // to prove this does not get chosen
    	}
    
    	endpoints := []*api.Endpoints{
    		epstest.MakeEndpoints("unnamed",
    			[]api.EndpointAddress{
    				epstest.MakeEndpointAddress("1.2.3.4", "unnamed"),
    			},
    			[]api.EndpointPort{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 440.2K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/unify.go

    			if u.nify(x, y, mode, p) {
    				// We have a match, possibly through underlying types.
    				xi := asInterface(x)
    				yi := asInterface(y)
    				xn := asNamed(x) != nil
    				yn := asNamed(y) != nil
    				// If we have two interfaces, what to do depends on
    				// whether they are named and their method sets.
    				if xi != nil && yi != nil {
    					// Both types are interfaces.
    					// If both types are defined types, they must be identical
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:24:39 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. src/encoding/gob/type.go

    // 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.
    	star := ""
    	if rt.Name() == "" {
    		if pt := rt; pt.Kind() == reflect.Pointer {
    			star = "*"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 02:00:26 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/syntax/parser.go

    				named++
    			}
    			if par.Type != nil {
    				typed++
    			}
    			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 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 62.9K bytes
    - Viewed (0)
  10. 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)
Back to top