Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 226 for nbrecv (0.13 sec)

  1. src/go/doc/doc_test.go

    			Methods: []*Func{
    				{Name: "M1", Recv: "S1", Orig: "S1", Level: 0},
    				{Name: "M2", Recv: "S1", Orig: "S1", Level: 0},
    				{Name: "M4", Recv: "S1", Orig: "s3", Level: 1},
    				{Name: "P1", Recv: "*S1", Orig: "*S1", Level: 0},
    			},
    		},
    		{
    			Name: "S2",
    			Methods: []*Func{
    				{Name: "M3", Recv: "S2", Orig: "S2", Level: 0},
    			},
    		},
    	},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:31:52 UTC 2022
    - 6.7K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/tools/go/types/typeutil/callee.go

    	if f, ok := Callee(info, call).(*types.Func); ok && !interfaceMethod(f) {
    		return f
    	}
    	return nil
    }
    
    func interfaceMethod(f *types.Func) bool {
    	recv := f.Type().(*types.Signature).Recv()
    	return recv != nil && types.IsInterface(recv.Type())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 18 21:28:13 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/slog/slog.go

    //	"slog.Logger.With" (instead of "(*log/slog.Logger).With")
    func shortName(fn *types.Func) string {
    	var r string
    	if recv := fn.Type().(*types.Signature).Recv(); recv != nil {
    		if _, named := typesinternal.ReceiverNamed(recv); named != nil {
    			r = named.Obj().Name()
    		} else {
    			r = recv.Type().String() // anon struct/interface
    		}
    		r += "."
    	}
    	return fmt.Sprintf("%s.%s%s", fn.Pkg().Name(), r, fn.Name())
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tf2xla/tests/legalize-tf-communication.mlir

    // token to its generated `mhlo.recv`.
    
    // CHECK-LABEL: func @host_compute_no_operands_one_result
    func.func @host_compute_no_operands_one_result() {
      // CHECK:      [[INIT_TOKEN:%.*]] = mhlo.create_token
    
      // CHECK-NOT:  "mhlo.send"
      // CHECK-NOT:  "mhlo.after_all"
      // CHECK:      "mhlo.recv"([[INIT_TOKEN]])
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 08 18:24:20 UTC 2024
    - 38.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbComReadAndXResponse.java

            bufferIndex += 12; // 10 reserved
    
            return bufferIndex - start;
        }
        int readBytesWireFormat( byte[] buffer, int bufferIndex ) {
            // handled special in SmbTransport.doRecv()
            return 0;
        }
        public String toString() {
            return new String( "SmbComReadAndXResponse[" +
                super.toString() +
                ",dataCompactionMode=" + dataCompactionMode +
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 2.2K bytes
    - Viewed (0)
  6. test/typeparam/issue47901.go

    // license that can be found in the LICENSE file.
    
    package main
    
    type Chan[T any] chan Chan[T]
    
    func (ch Chan[T]) recv() Chan[T] {
    	return <-ch
    }
    
    func main() {
    	ch := Chan[int](make(chan Chan[int]))
    	go func() {
    		ch <- make(Chan[int])
    	}()
    	ch.recv()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 19:45:34 UTC 2022
    - 372 bytes
    - Viewed (0)
  7. src/go/types/subst.go

    		// In this case, the type of f is an interface that is itself the receiver
    		// type of all of its methods. Because we have no type name to break
    		// cycles, substituting in the recv results in an infinite loop of
    		// recv->interface->recv->interface->...
    		recv := t.recv
    
    		params := subst.tuple(t.params)
    		results := subst.tuple(t.results)
    		if params != t.params || results != t.results {
    			return &Signature{
    				rparams: t.rparams,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:04:07 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  8. src/go/doc/comment/testdata_test.go

    		if name == "comment" {
    			return "go/doc/comment", true
    		}
    		return DefaultLookupPackage(name)
    	}
    	p.LookupSym = func(recv, name string) (ok bool) {
    		if recv == "Parser" && name == "Parse" ||
    			recv == "" && name == "Doc" ||
    			recv == "" && name == "NoURL" {
    			return true
    		}
    		return false
    	}
    
    	stripDollars := func(b []byte) []byte {
    		// Remove trailing $ on lines.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/util/transport/Transport.java

        protected abstract Request peekKey() throws IOException;
        protected abstract void doSend( Request request ) throws IOException;
        protected abstract void doRecv( Response response ) throws IOException;
        protected abstract void doSkip() throws IOException;
    
        public synchronized void sendrecv( Request request,
                        Response response,
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 9K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/walk/assign.go

    		return as
    	}
    
    	switch as.Y.Op() {
    	default:
    		as.Y = walkExpr(as.Y, init)
    
    	case ir.ORECV:
    		// x = <-c; as.Left is x, as.Right.Left is c.
    		// order.stmt made sure x is addressable.
    		recv := as.Y.(*ir.UnaryExpr)
    		recv.X = walkExpr(recv.X, init)
    
    		n1 := typecheck.NodAddr(as.X)
    		r := recv.X // the channel
    		return mkcall1(chanfn("chanrecv1", 2, r.Type()), nil, init, r, n1)
    
    	case ir.OAPPEND:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:09:06 UTC 2024
    - 20.3K bytes
    - Viewed (0)
Back to top