Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for nbrecv (0.11 sec)

  1. tensorflow/compiler/jit/deadness_analysis_test.cc

      Scope root = Scope::NewRootScope().ExitOnError();
    
      Output recv = ops::_Recv(root.WithOpName("recv"), DT_BOOL, "tensor", "sender",
                               0, "receiver");
      Output value = ops::Placeholder(root.WithOpName("value"), DT_BOOL);
      ops::Switch sw(root.WithOpName("switch"), value, recv);
      Output logical_and =
          ops::LogicalAnd(root.WithOpName("and"), recv, sw.output_true);
    
      std::unique_ptr<DeadnessAnalysis> result;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 06:59:07 UTC 2024
    - 51.6K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types/type.go

    // parameters, and results, any of which may be nil.
    func NewSignature(recv *Field, params, results []*Field) *Type {
    	startParams := 0
    	if recv != nil {
    		startParams = 1
    	}
    	startResults := startParams + len(params)
    
    	allParams := make([]*Field, startResults+len(results))
    	if recv != nil {
    		allParams[0] = recv
    	}
    	copy(allParams[startParams:], params)
    	copy(allParams[startResults:], results)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:29:45 UTC 2024
    - 49.5K bytes
    - Viewed (0)
  3. src/cmd/cgo/out.go

    			gccExport = "__declspec(dllexport) "
    		}
    		s := fmt.Sprintf("%s%s %s(", gccExport, gccResult, exp.ExpName)
    		if fn.Recv != nil {
    			s += p.cgoType(fn.Recv.List[0].Type).C.String()
    			s += " recv"
    		}
    		forFieldList(fntype.Params,
    			func(i int, aname string, atype ast.Expr) {
    				if i > 0 || fn.Recv != nil {
    					s += ", "
    				}
    				s += fmt.Sprintf("%s %s", p.cgoType(atype).C, exportParamName(aname, i))
    			})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 16:41:10 UTC 2024
    - 59.6K bytes
    - Viewed (0)
  4. src/go/printer/testdata/parser.go

    		par.List = []*ast.Field{{Type: &ast.BadExpr{pos, pos}}}
    		return par
    	}
    
    	// recv type must be of the form ["*"] identifier
    	recv := par.List[0]
    	base := deref(recv.Type)
    	if _, isIdent := base.(*ast.Ident); !isIdent {
    		p.errorExpected(base.Pos(), "(unqualified) identifier")
    		par.List = []*ast.Field{{Type: &ast.BadExpr{recv.Pos(), recv.End()}}}
    	}
    
    	return par
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 20 20:19:51 UTC 2023
    - 50.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbTransportImpl.java

            }
    
            /*
             * Unless key returned is null or invalid Transport.loop() always
             * calls doRecv() after and no one else but the transport thread
             * should call doRecv(). Therefore it is ok to expect that the data
             * in sbuf will be preserved for copying into BUF in doRecv().
             */
    
            return (long) Encdec.dec_uint16le(this.sbuf, 34) & 0xFFFF;
        }
    
    
        @Override
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Wed Jan 18 23:47:00 UTC 2023
    - 67K bytes
    - Viewed (0)
  6. src/go/parser/parser.go

    		defer un(trace(p, "FunctionDecl"))
    	}
    
    	doc := p.leadComment
    	pos := p.expect(token.FUNC)
    
    	var recv *ast.FieldList
    	if p.tok == token.LPAREN {
    		_, recv = p.parseParameters(false)
    	}
    
    	ident := p.parseIdent()
    
    	tparams, params := p.parseParameters(true)
    	if recv != nil && tparams != nil {
    		// Method declarations do not have type parameters. We parse them for a
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 08 20:07:50 UTC 2023
    - 72.2K 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/go/types/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", syntax, 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: Thu May 23 01:00:11 UTC 2024
    - 94.2K bytes
    - Viewed (0)
  9. src/go/printer/nodes.go

    	case *ast.MapType:
    		p.print(token.MAP, token.LBRACK)
    		p.expr(x.Key)
    		p.print(token.RBRACK)
    		p.expr(x.Value)
    
    	case *ast.ChanType:
    		switch x.Dir {
    		case ast.SEND | ast.RECV:
    			p.print(token.CHAN)
    		case ast.RECV:
    			p.print(token.ARROW, token.CHAN) // x.Arrow and x.Pos() are the same
    		case ast.SEND:
    			p.print(token.CHAN)
    			p.setPos(x.Arrow)
    			p.print(token.ARROW)
    		}
    		p.print(blank)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 17 18:53:17 UTC 2023
    - 52.6K bytes
    - Viewed (0)
  10. tensorflow/compiler/jit/deadness_analysis.cc

      } else if (n->IsControlTrigger()) {
        SetPredicate(n, Graph::kControlSlot, predicate_factory_.MakeTrue(),
                     nullptr);
      } else if (n->IsRecv() || n->IsHostRecv()) {
        TF_RETURN_IF_ERROR(HandleRecv(n, should_revisit));
      } else if (n->IsNextIteration()) {
        TF_RETURN_IF_ERROR(HandleGeneric(n, should_revisit));
      } else {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 60.4K bytes
    - Viewed (0)
Back to top