Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 91 for recv_a (0.27 sec)

  1. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/testinggoroutine/util.go

    func isMethodNamed(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
    }
    
    func funcIdent(fun ast.Expr) *ast.Ident {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. src/go/ast/walk.go

    		// nothing to do
    
    	case *GenDecl:
    		if n.Doc != nil {
    			Walk(v, n.Doc)
    		}
    		walkList(v, n.Specs)
    
    	case *FuncDecl:
    		if n.Doc != nil {
    			Walk(v, n.Doc)
    		}
    		if n.Recv != nil {
    			Walk(v, n.Recv)
    		}
    		Walk(v, n.Name)
    		Walk(v, n.Type)
    		if n.Body != nil {
    			Walk(v, n.Body)
    		}
    
    	// Files and packages
    	case *File:
    		if n.Doc != nil {
    			Walk(v, n.Doc)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:34:10 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  3. tensorflow/c/eager/c_api_test_util.cc

      TFE_OpSetAttrString(op, "recv_device", recv_device.c_str(),
                          recv_device.size());
      TFE_OpSetAttrInt(op, "send_device_incarnation", send_device_incarnation);
    
      return op;
    }
    
    TFE_Op* RecvOp(TFE_Context* ctx, const std::string& op_name,
                   const std::string& send_device, const std::string& recv_device,
                   tensorflow::uint64 send_device_incarnation) {
      TF_Status* status = TF_NewStatus();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 22:37:46 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  4. src/cmd/doc/pkg.go

    		}
    		return ""
    
    	case *ast.FuncDecl:
    		// Formats func declarations.
    		name := n.Name.Name
    		recv := pkg.oneLineNodeDepth(n.Recv, depth)
    		if len(recv) > 0 {
    			recv = "(" + recv + ") "
    		}
    		fnc := pkg.oneLineNodeDepth(n.Type, depth)
    		fnc = strings.TrimPrefix(fnc, "func")
    		return fmt.Sprintf("func %s%s%s", recv, name, fnc)
    
    	case *ast.TypeSpec:
    		sep := " "
    		if n.Assign.IsValid() {
    			sep = " = "
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 08 20:15:52 UTC 2024
    - 32K 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/syscall/ztypes_solaris_amd64.go

    	SizeofBpfStat    = 0x80
    	SizeofBpfProgram = 0x10
    	SizeofBpfInsn    = 0x8
    	SizeofBpfHdr     = 0x14
    )
    
    type BpfVersion struct {
    	Major uint16
    	Minor uint16
    }
    
    type BpfStat struct {
    	Recv    uint64
    	Drop    uint64
    	Capt    uint64
    	Padding [13]uint64
    }
    
    type BpfProgram struct {
    	Len       uint32
    	Pad_cgo_0 [4]byte
    	Insns     *BpfInsn
    }
    
    type BpfInsn struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 5.6K bytes
    - Viewed (0)
  7. 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 (3)
  8. src/syscall/syscall_windows.go

    //sys	GetAcceptExSockaddrs(buf *byte, rxdatalen uint32, laddrlen uint32, raddrlen uint32, lrsa **RawSockaddrAny, lrsalen *int32, rrsa **RawSockaddrAny, rrsalen *int32) = mswsock.GetAcceptExSockaddrs
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 11:49:46 UTC 2024
    - 52.7K bytes
    - Viewed (0)
  9. src/syscall/ztypes_netbsd_386.go

    	SizeofBpfStat    = 0x80
    	SizeofBpfProgram = 0x8
    	SizeofBpfInsn    = 0x8
    	SizeofBpfHdr     = 0x14
    )
    
    type BpfVersion struct {
    	Major uint16
    	Minor uint16
    }
    
    type BpfStat struct {
    	Recv    uint64
    	Drop    uint64
    	Capt    uint64
    	Padding [13]uint64
    }
    
    type BpfProgram struct {
    	Len   uint32
    	Insns *BpfInsn
    }
    
    type BpfInsn struct {
    	Code uint16
    	Jt   uint8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 6K bytes
    - Viewed (0)
  10. src/syscall/ztypes_netbsd_amd64.go

    	SizeofBpfStat    = 0x80
    	SizeofBpfProgram = 0x10
    	SizeofBpfInsn    = 0x8
    	SizeofBpfHdr     = 0x20
    )
    
    type BpfVersion struct {
    	Major uint16
    	Minor uint16
    }
    
    type BpfStat struct {
    	Recv    uint64
    	Drop    uint64
    	Capt    uint64
    	Padding [13]uint64
    }
    
    type BpfProgram struct {
    	Len       uint32
    	Pad_cgo_0 [4]byte
    	Insns     *BpfInsn
    }
    
    type BpfInsn struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 6.2K bytes
    - Viewed (0)
Back to top