Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 259 for recv3 (0.06 sec)

  1. src/cmd/compile/internal/syntax/operator_string.go

    func _() {
    	// An "invalid array index" compiler error signifies that the constant values have changed.
    	// Re-run the stringer command to generate them again.
    	var x [1]struct{}
    	_ = x[Def-1]
    	_ = x[Not-2]
    	_ = x[Recv-3]
    	_ = x[Tilde-4]
    	_ = x[OrOr-5]
    	_ = x[AndAnd-6]
    	_ = x[Eql-7]
    	_ = x[Neq-8]
    	_ = x[Lss-9]
    	_ = x[Leq-10]
    	_ = x[Gtr-11]
    	_ = x[Geq-12]
    	_ = x[Add-13]
    	_ = x[Sub-14]
    	_ = x[Or-15]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 07 05:19:41 UTC 2021
    - 1K bytes
    - Viewed (0)
  2. src/go/types/interface.go

    		return &emptyInterface
    	}
    
    	// set method receivers if necessary
    	typ := (*Checker)(nil).newInterface()
    	for _, m := range methods {
    		if sig := m.typ.(*Signature); sig.recv == nil {
    			sig.recv = NewVar(m.pos, m.pkg, "", typ)
    		}
    	}
    
    	// sort for API stability
    	sortMethods(methods)
    
    	typ.methods = methods
    	typ.embeddeds = embeddeds
    	typ.complete = true
    
    	return typ
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 17:24:42 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  3. src/go/types/resolver.go

    				hasTParamError := false                           // avoid duplicate type parameter errors
    				if d.decl.Recv.NumFields() == 0 {
    					// regular function
    					if d.decl.Recv != nil {
    						check.error(d.decl.Recv, BadRecv, "method has no receiver")
    						// treat as function
    					}
    					if name == "init" || (name == "main" && check.pkg.name == "main") {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 16:22:59 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/tools/go/ast/astutil/enclosing.go

    		// in fact, FuncDecl.Recv precedes FuncDecl.Type.Func.
    		//
    		// As a workaround, we inline the case for FuncType
    		// here and order things correctly.
    		//
    		children = nil // discard ast.Walk(FuncDecl) info subtrees
    		children = append(children, tok(n.Type.Func, len("func")))
    		if n.Recv != nil {
    			children = append(children, n.Recv)
    		}
    		children = append(children, n.Name)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 18 21:28:13 UTC 2023
    - 15.9K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/loopclosure/loopclosure.go

    	f := typeutil.StaticCallee(info, call)
    	if f == nil || f.Name() != method {
    		return false
    	}
    	recv := f.Type().(*types.Signature).Recv()
    	if recv == nil {
    		return false
    	}
    
    	// Check that the receiver is a <pkgPath>.<typeName> or
    	// *<pkgPath>.<typeName>.
    	_, named := typesinternal.ReceiverNamed(recv)
    	return analysisutil.IsNamedType(named, pkgPath, typeName)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/object.go

    		sig := f.typ.(*Signature)
    		if recv := sig.Recv(); recv != nil {
    			buf.WriteByte('(')
    			if _, ok := recv.Type().(*Interface); ok {
    				// gcimporter creates abstract methods of
    				// named interfaces using the interface type
    				// (not the named type) as the receiver.
    				// Don't print it in full.
    				buf.WriteString("interface")
    			} else {
    				WriteType(buf, recv.Type(), qf)
    			}
    			buf.WriteByte(')')
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tfrt/tests/mlrt/tpu_conversions.mlir

      // CHECK: [[recv_future:%.*]] = tf_mlrt.async_executeop.device([[device]]){{.*}}op: \22Recv\22
      // CHECK: [[recv:%.*]] = tf_mlrt.await [[recv_future]]
      // CHECK: [[rendezvous_key_base:%.*]], [[result_future:%.*]] = tf_mlrt_tpu.compile_and_execute([[recv]])
      // CHECK: tf_mlrt.await [[result_future]]
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 04 21:25:31 UTC 2023
    - 11K bytes
    - Viewed (0)
  8. src/cmd/cgo/ast.go

    		case *ast.FuncDecl:
    			// Also, reject attempts to declare methods on C.T or *C.T.
    			// (The generated code would otherwise accept this
    			// invalid input; see issue #57926.)
    			if decl.Recv != nil && len(decl.Recv.List) > 0 {
    				recvType := decl.Recv.List[0].Type
    				if recvType != nil {
    					t := recvType
    					if star, ok := unparen(t).(*ast.StarExpr); ok {
    						t = star.X
    					}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 07 16:54:27 UTC 2023
    - 14.3K bytes
    - Viewed (0)
  9. src/go/types/object.go

    		sig := f.typ.(*Signature)
    		if recv := sig.Recv(); recv != nil {
    			buf.WriteByte('(')
    			if _, ok := recv.Type().(*Interface); ok {
    				// gcimporter creates abstract methods of
    				// named interfaces using the interface type
    				// (not the named type) as the receiver.
    				// Don't print it in full.
    				buf.WriteString("interface")
    			} else {
    				WriteType(buf, recv.Type(), qf)
    			}
    			buf.WriteByte(')')
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/ir/tf_remaining_ops.cc

      return (*mlir_module)->lookupSymbol<func::FuncOp>("host_func");
    }
    
    //===----------------------------------------------------------------------===//
    // XLA Send/Recv ops
    //===----------------------------------------------------------------------===//
    
    // For XLA Send/Recv ops the key corresponds to the resource instance.
    
    std::optional<std::string> _XlaRecvAtHostOp::GetResourceInstanceStr() {
      return getKey().str();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 14 20:05:58 UTC 2023
    - 7.6K bytes
    - Viewed (0)
Back to top