Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for recvq (0.06 sec)

  1. src/cmd/link/internal/ld/dwarf.go

    		})
    
    		// hchan<T>
    		dwhs := d.mkinternaltype(ctxt, dwarf.DW_ABRV_STRUCTTYPE, "hchan", elemname, "", func(dwh *dwarf.DWDie) {
    			d.copychildren(ctxt, dwh, hchan)
    			d.substitutetype(dwh, "recvq", dwws)
    			d.substitutetype(dwh, "sendq", dwws)
    			newattr(dwh, dwarf.DW_AT_byte_size, dwarf.DW_CLS_CONSTANT, getattr(hchan, dwarf.DW_AT_byte_size).Value, nil)
    		})
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 16:25:18 UTC 2024
    - 72.4K 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. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top