Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 188 for recvq (0.04 sec)

  1. src/runtime/sigqueue.go

    //
    //go:linkname signal_recv os/signal.signal_recv
    func signal_recv() uint32 {
    	for {
    		// Serve any signals from local copy.
    		for i := uint32(0); i < _NSIG; i++ {
    			if sig.recv[i/32]&(1<<(i&31)) != 0 {
    				sig.recv[i/32] &^= 1 << (i & 31)
    				return i
    			}
    		}
    
    		// Wait for updates to be available from signal sender.
    	Receive:
    		for {
    			switch sig.state.Load() {
    			default:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  2. pkg/istio-agent/tap_proxy.go

    }
    
    const (
    	TypeDebugPrefix = "istio.io/debug/"
    )
    
    func (p *tapProxy) StreamAggregatedResources(downstream DiscoveryStream) error {
    	timeout := time.Second * 15
    	req, err := downstream.Recv()
    	if err != nil {
    		log.Errorf("failed to recv: %v", err)
    		return err
    	}
    	if strings.HasPrefix(req.TypeUrl, TypeDebugPrefix) {
    		if resp, err := p.xdsProxy.tapRequest(req, timeout); err == nil {
    			err := downstream.Send(resp)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 04 20:29:08 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  3. pkg/istio-agent/xds_proxy_delta.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
    		deltaRequestsChan: channels.NewUnbounded[*discovery.DeltaDiscoveryRequest](),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 04 20:29:08 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/tests/prepare_tpu_computation_for_tf_export.mlir

          // CHECK-SAME-DAG: _xla_original_oc_node_name =
          // CHECK-SAME-DAG: _xla_token_input_nodes = ["_xla_token_arg_node"]
          %recv = "tf.XlaRecvFromHost"() {key = "if_op_token_recv_key", shape = #tf_type.shape<>} : () -> tensor<f32>
    
          // CHECK: tf.Yield
          "tf.Yield"(%recv) : (tensor<f32>) -> ()
        }, {
          // CHECK-NOT: _xla_token_input_nodes
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 14 18:46:36 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/copylock/copylock.go

    // inadvertently copy a lock, by checking whether
    // its receiver, parameters, or return values
    // are locks.
    func checkCopyLocksFunc(pass *analysis.Pass, name string, recv *ast.FieldList, typ *ast.FuncType) {
    	if recv != nil && len(recv.List) > 0 {
    		expr := recv.List[0].Type
    		if path := lockPath(pass.Pkg, pass.TypesInfo.Types[expr].Type, nil); path != nil {
    			pass.ReportRangef(expr, "%s passes lock by value: %v", name, path)
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  6. src/net/net_windows_test.go

    	}()
    
    	// Receive first or second connection.
    	s, err := recv(ln, true)
    	if err != nil {
    		t.Fatalf("recv failed: %v", err)
    	}
    	switch s {
    	case "":
    		// First connection data is received, let's get second connection data.
    	case "abc":
    		// First connection is lost forever, but that is ok.
    		return
    	default:
    		t.Fatalf(`"%s" received from recv, but "" or "abc" expected`, s)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/typecheck/typecheck.go

    // expression "recv.sym".
    func NewMethodExpr(pos src.XPos, recv *types.Type, sym *types.Sym) *ir.SelectorExpr {
    	// Compute the method set for recv.
    	var ms []*types.Field
    	if recv.IsInterface() {
    		ms = recv.AllMethods()
    	} else {
    		mt := types.ReceiverBaseType(recv)
    		if mt == nil {
    			base.FatalfAt(pos, "type %v has no receiver base type", recv)
    		}
    		CalcMethods(mt)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 20 19:08:34 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  8. src/go/doc/comment/parse.go

    	pkg, name, ok := splitDocName(text)
    	var recv string
    	if ok {
    		pkg, recv, _ = splitDocName(pkg)
    	}
    	if pkg != "" {
    		if pkg, ok = d.lookupPkg(pkg); !ok {
    			return nil, false
    		}
    	} else {
    		if ok = d.lookupSym(recv, name); !ok {
    			return nil, false
    		}
    	}
    	link = &DocLink{
    		ImportPath: pkg,
    		Recv:       recv,
    		Name:       name,
    	}
    	return link, true
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 33.5K bytes
    - Viewed (0)
  9. src/go/internal/gcimporter/iimport.go

    			mpos := r.pos()
    			mname := r.ident()
    
    			// TODO(mdempsky): Matches bimport.go, but I
    			// don't agree with this.
    			var recv *types.Var
    			if base != nil {
    				recv = types.NewVar(token.NoPos, r.currPkg, "", base)
    			}
    
    			msig := r.signature(recv, nil, nil)
    			methods[i] = types.NewFunc(mpos, r.currPkg, mname, msig)
    		}
    
    		typ := types.NewInterfaceType(methods, embeddeds)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  10. src/go/parser/resolver.go

    	}
    }
    
    func (r *resolver) walkRecv(recv *ast.FieldList) {
    	// If our receiver has receiver type parameters, we must declare them before
    	// trying to resolve the rest of the receiver, and avoid re-resolving the
    	// type parameter identifiers.
    	if recv == nil || len(recv.List) == 0 {
    		return // nothing to do
    	}
    	typ := recv.List[0].Type
    	if ptr, ok := typ.(*ast.StarExpr); ok {
    		typ = ptr.X
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 02 12:56:53 UTC 2023
    - 15.8K bytes
    - Viewed (0)
Back to top