Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 97 for recvq (0.29 sec)

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

    		return typ
    
    	case *ast.ChanType:
    		typ := new(Chan)
    		setDefType(def, typ)
    
    		dir := SendRecv
    		switch e.Dir {
    		case ast.SEND | ast.RECV:
    			// nothing to do
    		case ast.SEND:
    			dir = SendOnly
    		case ast.RECV:
    			dir = RecvOnly
    		default:
    			check.errorf(e, InvalidSyntaxTree, "unknown channel direction %d", e.Dir)
    			// ok to continue
    		}
    
    		typ.dir = dir
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  6. src/net/rpc/server_test.go

    	if err != nil {
    		b.Fatal("error dialing:", err)
    	}
    	defer client.Close()
    
    	// Asynchronous calls
    	args := &Args{7, 8}
    	procs := 4 * runtime.GOMAXPROCS(-1)
    	send := int32(b.N)
    	recv := int32(b.N)
    	var wg sync.WaitGroup
    	wg.Add(procs)
    	gate := make(chan bool, MaxConcurrentCalls)
    	res := make(chan *Call, MaxConcurrentCalls)
    	b.ResetTimer()
    
    	for p := 0; p < procs; p++ {
    		go func() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jul 18 05:23:29 UTC 2023
    - 19K bytes
    - Viewed (0)
  7. pkg/adsc/delta.go

    				Children: make(keySet),
    			}
    		}
    		c.initialWatches = append(c.initialWatches, key)
    	}
    }
    
    func (c *Client) handleRecv() {
    	for {
    		deltaLog.Infof("Start Recv for node %v", c.nodeID)
    		msg, err := c.xdsClient.Recv()
    		if err != nil {
    			deltaLog.Infof("Connection closed for node %v with err: %v", c.nodeID, err)
    			select {
    			case c.errChan <- err:
    			default:
    			}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 02 09:32:41 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  8. pkg/adsc/delta_test.go

    				return true
    			}, true, retry.Timeout(time.Second), retry.Delay(time.Millisecond))
    
    			if !cmp.Equal(tt.inClient.lastReceived, tt.expectedDeltaResources.lastReceived, protocmp.Transform()) {
    				t.Errorf("%s: expected recv %v got %v", tt.desc, tt.expectedDeltaResources.lastReceived, tt.inClient.lastReceived)
    			}
    
    			tree := tt.inClient.dumpTree()
    			if diff := cmp.Diff(tt.expectedTree, tree); diff != "" {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 02 09:32:41 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types2/stmt.go

    			case *syntax.ExprStmt:
    				rhs = s.X
    			}
    
    			// if present, rhs must be a receive operation
    			if rhs != nil {
    				if x, _ := syntax.Unparen(rhs).(*syntax.Operation); x != nil && x.Y == nil && x.Op == syntax.Recv {
    					valid = true
    				}
    			}
    
    			if !valid {
    				check.error(clause.Comm, InvalidSelectCase, "select case must be send or receive (possibly with assignment)")
    				continue
    			}
    			end := s.Rbrace
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/ztypes_darwin_arm64.go

    	SizeofBpfStat    = 0x8
    	SizeofBpfProgram = 0x10
    	SizeofBpfInsn    = 0x8
    	SizeofBpfHdr     = 0x14
    )
    
    type BpfVersion struct {
    	Major uint16
    	Minor uint16
    }
    
    type BpfStat struct {
    	Recv uint32
    	Drop uint32
    }
    
    type BpfProgram struct {
    	Len   uint32
    	Insns *BpfInsn
    }
    
    type BpfInsn struct {
    	Code uint16
    	Jt   uint8
    	Jf   uint8
    	K    uint32
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 12.4K bytes
    - Viewed (0)
Back to top