Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 105 for recvs (0.09 sec)

  1. src/go/types/universe.go

    	{
    		obj := NewTypeName(nopos, nil, "error", nil)
    		obj.setColor(black)
    		typ := NewNamed(obj, nil, nil)
    
    		// error.Error() string
    		recv := NewVar(nopos, nil, "", typ)
    		res := NewVar(nopos, nil, "", Typ[String])
    		sig := NewSignatureType(recv, nil, nil, nil, NewTuple(res), false)
    		err := NewFunc(nopos, nil, "Error", sig)
    
    		// interface{ Error() string }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  2. src/syscall/zsyscall_windows.go

    }
    
    func AcceptEx(ls Handle, as Handle, buf *byte, rxdatalen uint32, laddrlen uint32, raddrlen uint32, recvd *uint32, overlapped *Overlapped) (err error) {
    	r1, _, e1 := Syscall9(procAcceptEx.Addr(), 8, uintptr(ls), uintptr(as), uintptr(unsafe.Pointer(buf)), uintptr(rxdatalen), uintptr(laddrlen), uintptr(raddrlen), uintptr(unsafe.Pointer(recvd)), uintptr(unsafe.Pointer(overlapped)), 0)
    	if r1 == 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 11:49:46 UTC 2024
    - 56.3K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/internal/analysisutil/util.go

    func IsFunctionNamed(f *types.Func, pkgPath string, names ...string) bool {
    	if f == nil {
    		return false
    	}
    	if f.Pkg() == nil || f.Pkg().Path() != pkgPath {
    		return false
    	}
    	if f.Type().(*types.Signature).Recv() != nil {
    		return false
    	}
    	for _, n := range names {
    		if f.Name() == n {
    			return true
    		}
    	}
    	return false
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  4. internal/http/dial_linux.go

    			fd := int(fdPtr)
    
    			_ = unix.SetsockoptInt(fd, unix.SOL_SOCKET, unix.SO_REUSEADDR, 1)
    
    			_ = unix.SetsockoptInt(fd, unix.SOL_SOCKET, unix.SO_REUSEPORT, 1)
    
    			// Enable custom socket send/recv buffers.
    			if opts.SendBufSize > 0 {
    				_ = unix.SetsockoptInt(fd, unix.SOL_SOCKET, unix.SO_SNDBUF, opts.SendBufSize)
    			}
    
    			if opts.RecvBufSize > 0 {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 22 23:07:14 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/walk/order.go

    				base.Fatalf("unknown op in select %v", r.Op())
    
    			case ir.OSELRECV2:
    				// case x, ok = <-c
    				r := r.(*ir.AssignListStmt)
    				recv := r.Rhs[0].(*ir.UnaryExpr)
    				recv.X = o.expr(recv.X, nil)
    				if !ir.IsAutoTmp(recv.X) {
    					recv.X = o.copyExpr(recv.X)
    				}
    				init := ir.TakeInit(r)
    
    				colas := r.Def
    				do := func(i int, t *types.Type) {
    					n := r.Lhs[i]
    					if ir.IsBlank(n) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 02:00:33 UTC 2024
    - 42.7K bytes
    - Viewed (0)
  6. src/go/types/exprstring.go

    		buf.WriteString("map[")
    		WriteExpr(buf, x.Key)
    		buf.WriteByte(']')
    		WriteExpr(buf, x.Value)
    
    	case *ast.ChanType:
    		var s string
    		switch x.Dir {
    		case ast.SEND:
    			s = "chan<- "
    		case ast.RECV:
    			s = "<-chan "
    		default:
    			s = "chan "
    		}
    		buf.WriteString(s)
    		WriteExpr(buf, x.Value)
    	}
    }
    
    func writeSigExpr(buf *bytes.Buffer, sig *ast.FuncType) {
    	buf.WriteByte('(')
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 08 19:31:44 UTC 2024
    - 4.8K 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/cmd/compile/internal/ssagen/ssa.go

    				continue
    			}
    			s.newHeapaddr(n)
    			if n.Class == ir.PPARAM {
    				s.move(n.Type(), s.expr(n.Heapaddr), s.decladdrs[n])
    			}
    		}
    	}
    
    	typ := s.curfn.Type()
    	do(typ.Recvs())
    	do(typ.Params())
    	do(typ.Results())
    }
    
    // newHeapaddr allocates heap memory for n and sets its heap address.
    func (s *state) newHeapaddr(n *ir.Name) {
    	s.setHeapaddr(n.Pos(), n, s.newObject(n.Type(), nil))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
  9. pilot/pkg/xds/adstest.go

    		_ = a.client.CloseSend()
    		if a.conn != nil {
    			_ = a.conn.Close()
    		}
    	})
    }
    
    func (a *AdsTest) adsReceiveChannel() {
    	context.AfterFunc(a.context, a.Cleanup)
    	for {
    		resp, err := a.client.Recv()
    		if err != nil {
    			if isUnexpectedError(err) {
    				log.Warnf("ads received error: %v", err)
    			}
    			select {
    			case a.error <- err:
    			case <-a.context.Done():
    			}
    			return
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Feb 04 03:39:42 UTC 2024
    - 6K bytes
    - Viewed (0)
  10. pilot/pkg/xds/deltaadstest.go

    		_ = a.client.CloseSend()
    		if a.conn != nil {
    			_ = a.conn.Close()
    		}
    	})
    }
    
    func (a *DeltaAdsTest) adsReceiveChannel() {
    	context.AfterFunc(a.context, a.Cleanup)
    	for {
    		resp, err := a.client.Recv()
    		if err != nil {
    			if isUnexpectedError(err) {
    				log.Warnf("ads received error: %v", err)
    			}
    			select {
    			case a.error <- err:
    			case <-a.context.Done():
    			}
    			return
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Feb 04 03:39:42 UTC 2024
    - 6.9K bytes
    - Viewed (0)
Back to top