Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 226 for nbrecv (0.16 sec)

  1. src/go/internal/gcimporter/support.go

    	}
    }
    
    var (
    	fakeLines     []int
    	fakeLinesOnce sync.Once
    )
    
    func chanDir(d int) types.ChanDir {
    	// tag values must match the constants in cmd/compile/internal/gc/go.go
    	switch d {
    	case 1 /* Crecv */ :
    		return types.RecvOnly
    	case 2 /* Csend */ :
    		return types.SendOnly
    	case 3 /* Cboth */ :
    		return types.SendRecv
    	default:
    		errorf("unexpected channel dir %d", d)
    		return 0
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. 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)
  3. src/cmd/compile/internal/syntax/walk.go

    		w.node(n.Type)
    
    	case *VarDecl:
    		w.nameList(n.NameList)
    		if n.Type != nil {
    			w.node(n.Type)
    		}
    		if n.Values != nil {
    			w.node(n.Values)
    		}
    
    	case *FuncDecl:
    		if n.Recv != nil {
    			w.node(n.Recv)
    		}
    		w.node(n.Name)
    		w.fieldList(n.TParamList)
    		w.node(n.Type)
    		if n.Body != nil {
    			w.node(n.Body)
    		}
    
    	// expressions
    	case *BadExpr: // nothing to do
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:55:04 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  4. src/reflect/all_test.go

    			}
    			if !cas.recv.IsValid() {
    				t.Fatalf("%s\nselected #%d but internal error: missing recv value", fmtSelect(info), i)
    			}
    			if recv.Interface() != cas.recv.Interface() || recvOK != !cas.closed {
    				if recv.Interface() == cas.recv.Interface() && recvOK == !cas.closed {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/cgocall/cgocall.go

    				// Turn a method receiver:  func (T) f(P) R {...}
    				// into regular parameter:  func _(T, P) R {...}
    				if decl.Recv != nil {
    					var params []*ast.Field
    					params = append(params, decl.Recv.List...)
    					params = append(params, decl.Type.Params.List...)
    					decl.Type.Params.List = params
    					decl.Recv = nil
    				}
    			}
    			decls = append(decls, decl)
    		}
    		f.Decls = decls
    		if debug {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  6. src/cmd/fix/typecheck.go

    			continue
    		}
    		typecheck1(cfg, fn.Type, typeof, assign)
    		t := typeof[fn.Type]
    		if fn.Recv != nil {
    			// The receiver must be a type.
    			rcvr := typeof[fn.Recv]
    			if !isType(rcvr) {
    				if len(fn.Recv.List) != 1 {
    					continue
    				}
    				rcvr = mkType(gofmt(fn.Recv.List[0].Type))
    				typeof[fn.Recv.List[0].Type] = rcvr
    			}
    			rcvr = getType(rcvr)
    			if rcvr != "" && rcvr[0] == '*' {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 16 22:02:42 UTC 2022
    - 20.1K bytes
    - Viewed (0)
  7. src/go/doc/example.go

    	typMethods := make(map[string][]ast.Decl)
    
    	for _, decl := range file.Decls {
    		switch d := decl.(type) {
    		case *ast.FuncDecl:
    			if d.Recv == nil {
    				topDecls[d.Name.Obj] = d
    			} else {
    				if len(d.Recv.List) == 1 {
    					t := d.Recv.List[0].Type
    					tname, _ := baseTypeName(t)
    					typMethods[tname] = append(typMethods[tname], d)
    				}
    			}
    		case *ast.GenDecl:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  8. src/go/internal/gcimporter/ureader.go

    	r.p.ifaces = append(r.p.ifaces, iface)
    
    	return iface
    }
    
    func (r *reader) signature(recv *types.Var, rtparams, tparams []*types.TypeParam) *types.Signature {
    	r.Sync(pkgbits.SyncSignature)
    
    	params := r.params()
    	results := r.params()
    	variadic := r.Bool()
    
    	return types.NewSignatureType(recv, rtparams, tparams, params, results, variadic)
    }
    
    func (r *reader) params() *types.Tuple {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  9. src/runtime/chan.go

    // the channel buffer and the sender's data is put in the
    // channel buffer.
    // Channel c must be full and locked. recv unlocks c with unlockf.
    // sg must already be dequeued from c.
    // A non-nil ep must point to the heap or the caller's stack.
    func recv(c *hchan, sg *sudog, ep unsafe.Pointer, unlockf func(), skip int) {
    	if c.dataqsiz == 0 {
    		if raceenabled {
    			racesync(c, sg)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:50 UTC 2024
    - 25.9K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/types2/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.1K bytes
    - Viewed (0)
Back to top