Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 858 for errores (0.11 sec)

  1. cmd/lock-rest-server-common.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"errors"
    )
    
    var (
    	errLockConflict       = errors.New("lock conflict")
    	errLockNotInitialized = errors.New("lock not initialized")
    	errLockNotFound       = errors.New("lock not found")
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Nov 21 01:09:35 UTC 2023
    - 973 bytes
    - Viewed (0)
  2. tensorflow/c/eager/c_api_unified_experimental_graph.cc

        if (op_) {
          return errors::FailedPrecondition("Reset called on already built op.");
        }
        if (raw_device_name) {
          device_name_ = raw_device_name;
        }
        op_type_ = op;
        return absl::OkStatus();
      }
      absl::Status SetOpName(const char* const op_name) override {
        if (op_) {
          return errors::FailedPrecondition(
              "SetOpName called on already built op.");
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  3. tensorflow/c/eager/c_api_experimental.cc

        if (TF_GetCode(&s) != TF_Code::TF_OK) {
          tensorflow::CoordinationServiceError error;
          *error.mutable_source_task() = result.error_payload().source_task();
          TF_SetPayload(&s, tensorflow::CoordinationErrorPayloadKey().data(),
                        error.SerializeAsString().c_str());
        }
        *state_iter = std::move(s);
        ++state_iter;
      }
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 35.9K bytes
    - Viewed (0)
  4. cmd/warm-backend-minio.go

    	return m.PutWithMeta(ctx, object, r, length, map[string]string{})
    }
    
    func newWarmBackendMinIO(conf madmin.TierMinIO, tier string) (*warmBackendMinIO, error) {
    	// Validation of credentials
    	if conf.AccessKey == "" || conf.SecretKey == "" {
    		return nil, errors.New("both access and secret keys are required")
    	}
    
    	if conf.Bucket == "" {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 4K bytes
    - Viewed (0)
  5. docs_src/custom_request_and_route/tutorial002.py

                try:
                    return await original_route_handler(request)
                except RequestValidationError as exc:
                    body = await request.body()
                    detail = {"errors": exc.errors(), "body": body.decode()}
                    raise HTTPException(status_code=422, detail=detail)
    
            return custom_route_handler
    
    
    app = FastAPI()
    app.router.route_class = ValidationErrorLoggingRoute
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri May 13 23:38:22 UTC 2022
    - 932 bytes
    - Viewed (0)
  6. tests/test_tutorial/test_custom_request_and_route/test_tutorial002.py

    
    def test_exception_handler_body_access():
        response = client.post("/", json={"numbers": [1, 2, 3]})
        assert response.json() == IsDict(
            {
                "detail": {
                    "errors": [
                        {
                            "type": "list_type",
                            "loc": ["body"],
                            "msg": "Input should be a valid list",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  7. common/config/license-lint.yml

    #   sigs.k8s.io/yaml: MIT / BSD-3
    - github.com/tektoncd/pipeline
    
    # MIT: https://github.com/kubernetes-sigs/yaml/blob/master/LICENSE
    - sigs.k8s.io/yaml
    
    # https://github.com/go-errors/errors/blob/master/LICENSE.MIT
    - github.com/go-errors/errors
    
    # runc is Apache 2.0: https://github.com/opencontainers/runc/blob/master/LICENSE
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Jan 25 19:26:20 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  8. cni/pkg/plugin/sidecar_iptables_unspecified.go

    package plugin
    
    import "errors"
    
    // ErrNotImplemented is returned when a requested feature is not implemented.
    var ErrNotImplemented = errors.New("not implemented")
    
    // Program defines a method which programs iptables based on the parameters
    // provided in Redirect.
    func (ipt *iptables) Program(podName, netns string, rdrct *Redirect) error {
    	return ErrNotImplemented
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Jan 26 20:34:28 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  9. tests/delete_test.go

    		t.Errorf("errors happened when delete: %v", err)
    	}
    
    	if err := DB.Delete(&User{}).Error; err != gorm.ErrMissingWhereClause {
    		t.Errorf("errors happened when delete: %v", err)
    	}
    
    	if err := DB.Where("id = ?", users[0].ID).First(&result).Error; err == nil || !errors.Is(err, gorm.ErrRecordNotFound) {
    		t.Errorf("should returns record not found error, but got %v", err)
    	}
    }
    
    func TestDeleteWithTable(t *testing.T) {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Tue Oct 10 07:03:34 UTC 2023
    - 9.4K bytes
    - Viewed (0)
  10. internal/kms/kms.go

    }
    
    func (c *kmsConn) CreateKey(ctx context.Context, req *CreateKeyRequest) error {
    	if err := c.client.CreateKey(ctx, &kms.CreateKeyRequest{
    		Enclave: c.enclave,
    		Name:    req.Name,
    	}); err != nil {
    		if errors.Is(err, kms.ErrKeyExists) {
    			return ErrKeyExists
    		}
    		if errors.Is(err, kms.ErrPermission) {
    			return ErrPermission
    		}
    		return errKeyCreationFailed(err)
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Aug 18 06:43:03 UTC 2024
    - 11.5K bytes
    - Viewed (0)
Back to top