Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 42 for recvq (0.04 sec)

  1. pkg/istio-agent/xds_proxy.go

    	con := &ProxyConnection{
    		conID:           connectionNumber.Inc(),
    		upstreamError:   make(chan error), // can be produced by recv and send
    		downstreamError: make(chan error), // can be produced by recv and send
    		// Requests channel is unbounded. The Envoy<->XDS Proxy<->Istiod system produces a natural
    		// looping of Recv and Send. Due to backpressure introduced by gRPC natively (that is, Send() can
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 22:12:28 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  2. src/go/types/resolver.go

    				hasTParamError := false                           // avoid duplicate type parameter errors
    				if d.decl.Recv.NumFields() == 0 {
    					// regular function
    					if d.decl.Recv != nil {
    						check.error(d.decl.Recv, BadRecv, "method has no receiver")
    						// treat as function
    					}
    					if name == "init" || (name == "main" && check.pkg.name == "main") {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 16:22:59 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  3. src/go/internal/gcimporter/gcimporter_test.go

    	for i := 0; i < iface.NumExplicitMethods(); i++ {
    		m := iface.ExplicitMethod(i)
    		recv := m.Type().(*types.Signature).Recv()
    		if recv == nil {
    			t.Errorf("%s: missing receiver type", m)
    			continue
    		}
    		if recv.Type() != named {
    			t.Errorf("%s: got recv type %s; want %s", m, recv.Type(), named)
    		}
    	}
    
    	// check embedded interfaces (if they are named, too)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 16:22:59 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  4. src/go/doc/example.go

    	typMethods := make(map[string][]ast.Decl)
    
    	for _, decl := range file.Decls {
    		switch d := decl.(type) {
    		case *ast.FuncDecl:
    			if d.Recv == nil {
    				topDecls[d.Name.Obj] = d
    			} else {
    				if len(d.Recv.List) == 1 {
    					t := d.Recv.List[0].Type
    					tname, _ := baseTypeName(t)
    					typMethods[tname] = append(typMethods[tname], d)
    				}
    			}
    		case *ast.GenDecl:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  5. src/go/internal/gcimporter/ureader.go

    	r.p.ifaces = append(r.p.ifaces, iface)
    
    	return iface
    }
    
    func (r *reader) signature(recv *types.Var, rtparams, tparams []*types.TypeParam) *types.Signature {
    	r.Sync(pkgbits.SyncSignature)
    
    	params := r.params()
    	results := r.params()
    	variadic := r.Bool()
    
    	return types.NewSignatureType(recv, rtparams, tparams, params, results, variadic)
    }
    
    func (r *reader) params() *types.Tuple {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/call.go

    		// are rare.)
    		name := ""
    		if len(params) > 0 && params[0].name != "" {
    			// name needed
    			name = sig.recv.name
    			if name == "" {
    				name = "_"
    			}
    		}
    		params = append([]*Var{NewVar(sig.recv.pos, sig.recv.pkg, name, x.typ)}, params...)
    		x.mode = value
    		x.typ = &Signature{
    			tparams:  sig.tparams,
    			params:   NewTuple(params...),
    			results:  sig.results,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 31.5K bytes
    - Viewed (0)
  7. src/go/types/call.go

    		// are rare.)
    		name := ""
    		if len(params) > 0 && params[0].name != "" {
    			// name needed
    			name = sig.recv.name
    			if name == "" {
    				name = "_"
    			}
    		}
    		params = append([]*Var{NewVar(sig.recv.pos, sig.recv.pkg, name, x.typ)}, params...)
    		x.mode = value
    		x.typ = &Signature{
    			tparams:  sig.tparams,
    			params:   NewTuple(params...),
    			results:  sig.results,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  8. src/go/types/check.go

    		m[node] = obj
    	}
    }
    
    func (check *Checker) recordSelection(x *ast.SelectorExpr, kind SelectionKind, recv Type, obj Object, index []int, indirect bool) {
    	assert(obj != nil && (recv == nil || len(index) > 0))
    	check.recordUse(x.Sel, obj)
    	if m := check.Selections; m != nil {
    		m[x] = &Selection{kind, recv, obj, index, indirect}
    	}
    }
    
    func (check *Checker) recordScope(node ast.Node, scope *Scope) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types2/check.go

    		m[node] = obj
    	}
    }
    
    func (check *Checker) recordSelection(x *syntax.SelectorExpr, kind SelectionKind, recv Type, obj Object, index []int, indirect bool) {
    	assert(obj != nil && (recv == nil || len(index) > 0))
    	check.recordUse(x.Sel, obj)
    	if m := check.Selections; m != nil {
    		m[x] = &Selection{kind, recv, obj, index, indirect}
    	}
    }
    
    func (check *Checker) recordScope(node syntax.Node, scope *Scope) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  10. pkg/xds/server.go

    	// to tell the receiving goroutines that all data have been sent."
    
    	// Block until either a request is received or a push is triggered.
    	// We need 2 go routines because 'read' blocks in Recv().
    	go Receive(ctx)
    
    	// Wait for the proxy to be fully initialized before we start serving traffic. Because
    	// initialization doesn't have dependencies that will block, there is no need to add any timeout
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 13 20:55:20 UTC 2024
    - 16.3K bytes
    - Viewed (0)
Back to top