Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 63 for recvs (0.04 sec)

  1. pkg/kubelet/cm/dra/plugin/client_test.go

    			if err != nil {
    				t.Fatal(err)
    			}
    			var actualResponses []*drapbv1alpha3.NodeListAndWatchResourcesResponse
    			var actualErr error
    			for {
    				resp, err := stream.Recv()
    				if err != nil {
    					actualErr = err
    					break
    				}
    				actualResponses = append(actualResponses, resp)
    			}
    			assert.Equal(t, test.responses, actualResponses)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 19 16:27:05 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  2. 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)
  3. src/cmd/compile/internal/types2/named.go

    		// hold the instantiated receiver.
    		copy := *origSig
    		sig = &copy
    	}
    
    	var rtyp Type
    	if origm.hasPtrRecv() {
    		rtyp = NewPointer(t)
    	} else {
    		rtyp = t
    	}
    
    	sig.recv = substVar(origSig.recv, rtyp)
    	return substFunc(origm, sig)
    }
    
    // SetUnderlying sets the underlying type and marks t as complete.
    // t must not have type arguments.
    func (t *Named) SetUnderlying(underlying Type) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 20:03:31 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  4. src/reflect/value.go

    	return v.recv(false)
    }
    
    // internal recv, possibly non-blocking (nb).
    // v is known to be a channel.
    func (v Value) recv(nb bool) (val Value, ok bool) {
    	tt := (*chanType)(unsafe.Pointer(v.typ()))
    	if ChanDir(tt.Dir)&RecvDir == 0 {
    		panic("reflect: recv on send-only channel")
    	}
    	t := tt.Elem
    	val = Value{t, nil, flag(t.Kind())}
    	var p unsafe.Pointer
    	if t.IfaceIndir() {
    		p = unsafe_New(t)
    		val.ptr = p
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 119.9K bytes
    - Viewed (0)
  5. src/go/types/named.go

    		// hold the instantiated receiver.
    		copy := *origSig
    		sig = &copy
    	}
    
    	var rtyp Type
    	if origm.hasPtrRecv() {
    		rtyp = NewPointer(t)
    	} else {
    		rtyp = t
    	}
    
    	sig.recv = substVar(origSig.recv, rtyp)
    	return substFunc(origm, sig)
    }
    
    // SetUnderlying sets the underlying type and marks t as complete.
    // t must not have type arguments.
    func (t *Named) SetUnderlying(underlying Type) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 20:03:31 UTC 2024
    - 24K bytes
    - Viewed (0)
  6. pilot/pkg/xds/pushqueue_test.go

    			for {
    				_, request, shuttingdown := p.Dequeue()
    				if shuttingdown {
    					close(pushChannel)
    					return
    				}
    				pushChannel <- request
    			}
    		}()
    
    		go func() {
    			// recv from pushChannel and simulate push
    			for {
    				request := <-pushChannel
    				if request == nil {
    					return
    				}
    				updated := make([]string, 0, len(request.ConfigsUpdated))
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 00:26:45 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types2/api_test.go

    		sig, _ := sel.Type().(*Signature)
    		if sel.Kind() == MethodVal {
    			got := sig.Recv().Type()
    			want := sel.Recv()
    			if !Identical(got, want) {
    				t.Errorf("%s: Recv() = %s, want %s", segment, got, want)
    			}
    		} else if sig != nil && sig.Recv() != nil {
    			t.Errorf("%s: signature has receiver %s", sig, sig.Recv().Type())
    		}
    	}
    	// Assert that all wantOut entries were used exactly once.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 93.3K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/typecheck/_builtin/runtime.go

    func selectnbsend(hchan chan<- any, elem *any) bool
    func selectnbrecv(elem *any, hchan <-chan any) (bool, bool)
    
    func selectsetpc(pc *uintptr)
    func selectgo(cas0 *byte, order0 *byte, pc0 *uintptr, nsends int, nrecvs int, block bool) (int, bool)
    func block()
    
    func makeslice(typ *byte, len int, cap int) unsafe.Pointer
    func makeslice64(typ *byte, len int64, cap int64) unsafe.Pointer
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_collective.cc

        rewriter.eraseOp(assign_group);
        return success();
      }
    };
    
    void LegalizeTFCollective::runOnOperation() {
      // FIXME(b/226139061): Figure out a way to share the channel_id with
      // send/recv Ops. For now, start with a different range to avoid collision.
      int64_t channel_id = 10000;
      auto module = getOperation();
      MLIRContext* context = module->getContext();
    
      RewritePatternSet patterns(context);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 16K bytes
    - Viewed (0)
  10. pilot/pkg/xds/delta.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 s.receiveDelta(con, ids)
    
    	// 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: Fri Jun 14 04:34:37 UTC 2024
    - 25.6K bytes
    - Viewed (0)
Back to top