Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 157 for StatusCode (0.14 sec)

  1. tensorflow/compiler/mlir/lite/flatbuffer_export.cc

          return tflite::TensorType_COMPLEX128;
        }
        return Status(absl::StatusCode::kInvalidArgument, "Unsupported type");
      } else if (auto itype = mlir::dyn_cast<mlir::IntegerType>(type)) {
        switch (itype.getWidth()) {
          case 1:
            return tflite::TensorType_BOOL;
          case 4:
            if (itype.isUnsigned()) {
              return Status(absl::StatusCode::kInvalidArgument,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:41:49 UTC 2024
    - 164.5K bytes
    - Viewed (0)
  2. cmd/api-errors.go

    				HTTPStatusCode: http.StatusBadRequest,
    			}
    		case minio.ErrorResponse:
    			apiErr = APIError{
    				Code:           e.Code,
    				Description:    e.Message,
    				HTTPStatusCode: e.StatusCode,
    			}
    			if strings.Contains(e.Message, "KMS is not configured") {
    				apiErr = APIError{
    					Code:           "NotImplemented",
    					Description:    e.Message,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 92.1K bytes
    - Viewed (1)
  3. pkg/controller/controller_utils_test.go

    			body := runtime.EncodeOrDie(clientscheme.Codecs.LegacyCodec(v1.SchemeGroupVersion), &v1.Pod{ObjectMeta: metav1.ObjectMeta{Name: "empty_pod"}})
    			fakeHandler := utiltesting.FakeHandler{
    				StatusCode:   200,
    				ResponseBody: string(body),
    			}
    			testServer := httptest.NewServer(&fakeHandler)
    			defer testServer.Close()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  4. src/net/http/h2_bundle.go

    	header := make(Header, len(regularFields))
    	res := &Response{
    		Proto:      "HTTP/2.0",
    		ProtoMajor: 2,
    		Header:     header,
    		StatusCode: statusCode,
    		Status:     status + " " + StatusText(statusCode),
    	}
    	for _, hf := range regularFields {
    		key := http2canonicalHeader(hf.Name)
    		if key == "Trailer" {
    			t := res.Trailer
    			if t == nil {
    				t = make(Header)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 364.1K bytes
    - Viewed (0)
  5. pkg/test/echo/proto/echo.pb.go

    	ServerName string `protobuf:"bytes,20,opt,name=serverName,proto3" json:"serverName,omitempty"`
    	// Expected response determines what string to look for in the response to validate TCP requests succeeded.
    	// If not set, defaults to "StatusCode=200"
    	ExpectedResponse *wrapperspb.StringValue `protobuf:"bytes,21,opt,name=expectedResponse,proto3" json:"expectedResponse,omitempty"`
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 02:27:10 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  6. pilot/pkg/config/kube/gateway/conversion.go

    	if filter == nil {
    		return nil
    	}
    	resp := &istio.HTTPRedirect{}
    	if filter.StatusCode != nil {
    		// Istio allows 301, 302, 303, 307, 308.
    		// Gateway allows only 301 and 302.
    		resp.RedirectCode = uint32(*filter.StatusCode)
    	}
    	if filter.Hostname != nil {
    		resp.Authority = string(*filter.Hostname)
    	}
    	if filter.Scheme != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 84.7K bytes
    - Viewed (0)
  7. src/net/http/client.go

    // client encounters a 3xx status code from the server.
    func redirectBehavior(reqMethod string, resp *Response, ireq *Request) (redirectMethod string, shouldRedirect, includeBody bool) {
    	switch resp.StatusCode {
    	case 301, 302, 303:
    		redirectMethod = reqMethod
    		shouldRedirect = true
    		includeBody = false
    
    		// RFC 2616 allowed automatic redirection only with GET and
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 06:06:11 UTC 2024
    - 33.7K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/server/config.go

    	// or some other part of the filter chain in delegation cases.
    	if delegationTarget.UnprotectedHandler() == nil && c.EnableIndex {
    		s.Handler.NonGoRestfulMux.NotFoundHandler(routes.IndexLister{
    			StatusCode:   http.StatusNotFound,
    			PathProvider: s.listedPathProvider,
    		})
    	}
    
    	return s, nil
    }
    
    func BuildHandlerChainWithStorageVersionPrecondition(apiHandler http.Handler, c *Config) http.Handler {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 47.7K bytes
    - Viewed (0)
  9. cmd/admin-handlers-users_test.go

    	req = signer.SignV4(*req, accessKey, secretKey, "", "")
    
    	// 3.1 Execute the request.
    	resp, err := s.TestSuiteCommon.client.Do(req)
    	if err != nil {
    		c.Fatalf("unexpected request err: %v", err)
    	}
    	if resp.StatusCode != 200 {
    		c.Fatalf("got unexpected response: %#v\n", resp)
    	}
    
    	// 3.2 check that user cannot delete the bucket
    	err = uClient.RemoveBucket(ctx, bucket)
    	if err == nil || err.Error() != "Access Denied." {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 45.7K bytes
    - Viewed (0)
  10. cmd/batch-handlers.go

    	clnt := http.Client{Transport: getRemoteInstanceTransport()}
    	resp, err := clnt.Do(req)
    	if err != nil {
    		return err
    	}
    
    	xhttp.DrainBody(resp.Body)
    	if resp.StatusCode != http.StatusOK {
    		return errors.New(resp.Status)
    	}
    
    	return nil
    }
    
    // Notify notifies notification endpoint if configured regarding job failure or success.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 56K bytes
    - Viewed (0)
Back to top