Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 19 of 19 for setxattr (0.34 sec)

  1. fastapi/exception_handlers.py

    from starlette.responses import JSONResponse, Response
    from starlette.status import WS_1008_POLICY_VIOLATION
    
    
    async def http_exception_handler(request: Request, exc: HTTPException) -> Response:
        headers = getattr(exc, "headers", None)
        if not is_body_allowed_for_status_code(exc.status_code):
            return Response(status_code=exc.status_code, headers=headers)
        return JSONResponse(
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Sep 16 17:21:48 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  2. fastapi/types.py

    import types
    from enum import Enum
    from typing import Any, Callable, Optional, TypeVar, Union
    
    from pydantic import BaseModel
    
    DecoratedCallable = TypeVar("DecoratedCallable", bound=Callable[..., Any])
    UnionType = getattr(types, "UnionType", Union)
    ModelNameMap = dict[Union[type[BaseModel], type[Enum]], str]
    IncEx = Union[set[int], set[str], dict[int, Any], dict[str, Any]]
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 455 bytes
    - Viewed (0)
  3. tests/test_dependency_wrapped.py

                return await func(*args, **kwargs)
            if inspect.isclass(func):
                return await run_in_threadpool(func, *args, **kwargs)
            dunder_call = getattr(func, "__call__", None)  # noqa: B004
            if iscoroutinefunction(dunder_call):
                return await dunder_call(*args, **kwargs)
            return await run_in_threadpool(func, *args, **kwargs)
    
        return wrapper
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  4. tensorflow/c/c_api_function_test.cc

      ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
    
      // Get attr
      AttrValue read_attr;
      GetAttr("test_attr_name", &read_attr);
      ASSERT_EQ(attr.DebugString(), read_attr.DebugString());
    
      // Retrieve the same attr after save/restore
      Reincarnate();
      AttrValue read_attr2;
      GetAttr("test_attr_name", &read_attr2);
      ASSERT_EQ(attr.DebugString(), read_attr2.DebugString());
    }
    
    Registered: Tue Dec 30 12:39:10 UTC 2025
    - Last Modified: Mon Nov 17 00:00:38 UTC 2025
    - 63.6K bytes
    - Viewed (1)
  5. fastapi/_compat/v2.py

        "kw_only": None,
    }
    
    
    # TODO: remove when dropping support for Pydantic < v2.12.3
    def asdict(field_info: FieldInfo) -> dict[str, Any]:
        attributes = {}
        for attr in _Attrs:
            value = getattr(field_info, attr, Undefined)
            if value is not Undefined:
                attributes[attr] = value
        return {
            "annotation": field_info.annotation,
            "metadata": field_info.metadata,
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 19.1K bytes
    - Viewed (0)
  6. api/go1.1.txt

    pkg syscall (linux-386), func Getxattr(string, string, []uint8) (int, error)
    pkg syscall (linux-386), func Listxattr(string, []uint8) (int, error)
    pkg syscall (linux-386), func Pipe2([]int, int) error
    pkg syscall (linux-386), func PtraceSyscall(int, int) error
    pkg syscall (linux-386), func Removexattr(string, string) error
    pkg syscall (linux-386), func Setxattr(string, string, []uint8, int) error
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Thu Mar 31 20:37:15 UTC 2022
    - 2.6M bytes
    - Viewed (0)
  7. fastapi/routing.py

                    "A path prefix must not end with '/', as the routes will start with '/'"
                )
            else:
                for r in router.routes:
                    path = getattr(r, "path")  # noqa: B009
                    name = getattr(r, "name", "unknown")
                    if path is not None and not path:
                        raise FastAPIError(
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 174.6K bytes
    - Viewed (0)
  8. api/go1.2.txt

    pkg syscall (linux-arm-cgo), func Settimeofday(*Timeval) error
    pkg syscall (linux-arm-cgo), func Setuid(int) error
    pkg syscall (linux-arm-cgo), func Setxattr(string, string, []uint8, int) error
    pkg syscall (linux-arm-cgo), func Shutdown(int, int) error
    pkg syscall (linux-arm-cgo), func SlicePtrFromStrings([]string) ([]*uint8, error)
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Fri Oct 18 04:36:59 UTC 2013
    - 1.9M bytes
    - Viewed (1)
  9. RELEASE.md

            which would previously raise an error. This will correspond to an
            attribute name with an embedded '.' symbol (e.g. 'a.b'), which can only
            be accessed indirectly (e.g. through getattr and setattr). To set this
            up the user will first need to explicitly add the variable to the hparam
            object (e.g. "hparams.add_hparam(name='a.b', value=0.0)").
        *   Benchmark for tf.scan in graph and eager modes.
    Registered: Tue Dec 30 12:39:10 UTC 2025
    - Last Modified: Tue Oct 28 22:27:41 UTC 2025
    - 740.4K bytes
    - Viewed (3)
Back to top