Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 105 for recvs (0.07 sec)

  1. cmd/object-handlers_test.go

    		// Call the ServeHTTP to execute the handler.
    		apiRouter.ServeHTTP(recV2, reqV2)
    		if recV2.Code != testCase.expectedRespStatus {
    			t.Errorf("Test %d: %s: Expected the response status to be `%d`, but instead found `%d`", i+1, instanceType, testCase.expectedRespStatus, recV2.Code)
    		}
    
    		// read the response body.
    		actualContent, err = io.ReadAll(recV2.Body)
    		if err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 161.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/tests/legalize-tf-communication.mlir

      // CHECK:      [[RECV0_RETVAL0_TUPLE:%.*]]:2 = "mhlo.recv"([[SEND0_ARG0_TOKEN]])
      // CHECK-SAME: channel_handle = #mhlo.channel_handle
      // CHECK-SAME: handle =
      // CHECK-SAME: type = 3
      // CHECK-SAME: mhlo.frontend_attributes = {_xla_host_transfer_handler_name = "tf_rendezvous", _xla_host_transfer_rendezvous = "recv0_htod_0"}
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 08 18:24:20 UTC 2024
    - 38.3K bytes
    - Viewed (0)
  3. src/go/types/signature.go

    				}
    				if cause != "" {
    					check.errorf(recv, InvalidRecv, "invalid receiver type %s (%s)", rtyp, cause)
    				}
    			case *Basic:
    				check.errorf(recv, InvalidRecv, "cannot define new methods on non-local type %s", rtyp)
    			default:
    				check.errorf(recv, InvalidRecv, "invalid receiver type %s", recv.typ)
    			}
    		}).describef(recv, "validate receiver %s", recv)
    	}
    
    	sig.params = NewTuple(params...)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 22:06:18 UTC 2024
    - 13K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/tools/internal/stdlib/stdlib.go

    //
    // Example: "(*Buffer).Grow" -> (true, "Buffer", "Grow")
    func (sym *Symbol) SplitMethod() (ptr bool, recv, name string) {
    	if sym.Kind != Method {
    		panic("not a method")
    	}
    	recv, name, _ = strings.Cut(sym.Name, ".")
    	recv = recv[len("(") : len(recv)-len(")")]
    	ptr = recv[0] == '*'
    	if ptr {
    		recv = recv[len("*"):]
    	}
    	return
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/signature.go

    				}
    				if cause != "" {
    					check.errorf(recv, InvalidRecv, "invalid receiver type %s (%s)", rtyp, cause)
    				}
    			case *Basic:
    				check.errorf(recv, InvalidRecv, "cannot define new methods on non-local type %s", rtyp)
    			default:
    				check.errorf(recv, InvalidRecv, "invalid receiver type %s", recv.typ)
    			}
    		}).describef(recv, "validate receiver %s", recv)
    	}
    
    	sig.params = NewTuple(params...)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 21:33:05 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/selection.go

    func (s *Selection) Type() Type {
    	switch s.kind {
    	case MethodVal:
    		// The type of x.f is a method with its receiver type set
    		// to the type of x.
    		sig := *s.obj.(*Func).typ.(*Signature)
    		recv := *sig.recv
    		recv.typ = s.recv
    		sig.recv = &recv
    		return &sig
    
    	case MethodExpr:
    		// The type of x.f is a function (without receiver)
    		// and an additional first argument with the same type as x.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 22 19:32:17 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  7. src/go/types/selection.go

    func (s *Selection) Type() Type {
    	switch s.kind {
    	case MethodVal:
    		// The type of x.f is a method with its receiver type set
    		// to the type of x.
    		sig := *s.obj.(*Func).typ.(*Signature)
    		recv := *sig.recv
    		recv.typ = s.recv
    		sig.recv = &recv
    		return &sig
    
    	case MethodExpr:
    		// The type of x.f is a function (without receiver)
    		// and an additional first argument with the same type as x.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  8. pkg/config/analysis/analyzers/webhook/webhook.go

    					revs.InsertAll(ls.Values...)
    				}
    			}
    		}
    		if webhook.ObjectSelector != nil {
    			if r, f := webhook.ObjectSelector.MatchLabels[label.IoIstioRev.Name]; f {
    				revs.Insert(r)
    			}
    
    			for _, ls := range webhook.ObjectSelector.MatchExpressions {
    				if ls.Key == label.IoIstioRev.Name {
    					revs.InsertAll(ls.Values...)
    				}
    			}
    		}
    	}
    	return revs.UnsortedList()
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun May 05 03:44:57 UTC 2024
    - 6K bytes
    - Viewed (0)
  9. cmd/bucket-handlers_test.go

    		// Call the ServeHTTP to execute the handler.
    		apiRouter.ServeHTTP(recV2, reqV2)
    		if recV2.Code != testCase.expectedRespStatus {
    			t.Errorf("Test %d: %s: Expected the response status to be `%d`, but instead found `%d`", i+1, instanceType, testCase.expectedRespStatus, recV2.Code)
    		}
    
    		errorResponse = APIErrorResponse{}
    		err = xml.Unmarshal(recV2.Body.Bytes(), &errorResponse)
    		if err != nil && !testCase.shouldPass {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 39.8K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/unmarshal/unmarshal.go

    		argidx := -1
    
    		recv := fn.Type().(*types.Signature).Recv()
    		if fn.Name() == "Unmarshal" && recv == nil {
    			// "encoding/json".Unmarshal
    			// "encoding/xml".Unmarshal
    			// "encoding/asn1".Unmarshal
    			switch fn.Pkg().Path() {
    			case "encoding/json", "encoding/xml", "encoding/asn1":
    				argidx = 1 // func([]byte, interface{})
    			}
    		} else if fn.Name() == "Decode" && recv != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 3.1K bytes
    - Viewed (0)
Back to top