Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for getxattr (0.28 sec)

  1. docs/debugging/xattr/main.go

    var (
    	path, name string
    	value      uint64
    	set, list  bool
    )
    
    func getxattr(path, name string) (uint64, error) {
    	buf, err := xattr.LGet(path, name)
    	if err != nil {
    		return 0, err
    	}
    
    	return binary.LittleEndian.Uint64(buf[:8]), nil
    }
    
    func listxattr(path string) ([]string, error) {
    	return xattr.LList(path)
    }
    
    func setxattr(path, name string, value uint64) error {
    	data := make([]byte, 8)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Dec 29 23:52:41 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  2. api/go1.13.txt

    pkg syscall (netbsd-arm64-cgo), const SYS_EXTATTR_GET_FD ideal-int
    pkg syscall (netbsd-arm64-cgo), const SYS_EXTATTR_GET_FILE = 362
    pkg syscall (netbsd-arm64-cgo), const SYS_EXTATTR_GET_FILE ideal-int
    pkg syscall (netbsd-arm64-cgo), const SYS_EXTATTR_GET_LINK = 368
    pkg syscall (netbsd-arm64-cgo), const SYS_EXTATTR_GET_LINK ideal-int
    pkg syscall (netbsd-arm64-cgo), const SYS_EXTATTR_LIST_FD = 370
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Aug 08 18:44:16 GMT 2019
    - 452.6K bytes
    - Viewed (0)
  3. docs_src/sql_databases_peewee/sql_app/database.py

    
    class PeeweeConnectionState(peewee._ConnectionState):
        def __init__(self, **kwargs):
            super().__setattr__("_state", db_state)
            super().__init__(**kwargs)
    
        def __setattr__(self, name, value):
            self._state.get()[name] = value
    
        def __getattr__(self, name):
            return self._state.get()[name]
    
    
    db = peewee.SqliteDatabase(DATABASE_NAME, check_same_thread=False)
    
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Mar 26 19:09:53 GMT 2020
    - 662 bytes
    - Viewed (0)
  4. api/go1.1.txt

    pkg syscall (freebsd-386), const SYS_EXTATTR_DELETE_FD = 373
    pkg syscall (freebsd-386), const SYS_EXTATTR_DELETE_FILE = 358
    pkg syscall (freebsd-386), const SYS_EXTATTR_DELETE_LINK = 414
    pkg syscall (freebsd-386), const SYS_EXTATTR_GET_FD = 372
    pkg syscall (freebsd-386), const SYS_EXTATTR_GET_FILE = 357
    pkg syscall (freebsd-386), const SYS_EXTATTR_GET_LINK = 413
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Mar 31 20:37:15 GMT 2022
    - 2.6M bytes
    - Viewed (0)
  5. api/go1.16.txt

    pkg syscall (darwin-arm64), const SYS_GETWGROUPS = 290
    pkg syscall (darwin-arm64), const SYS_GETWGROUPS ideal-int
    pkg syscall (darwin-arm64), const SYS_GETXATTR = 234
    pkg syscall (darwin-arm64), const SYS_GETXATTR ideal-int
    pkg syscall (darwin-arm64), const SYS_IDENTITYSVC = 293
    pkg syscall (darwin-arm64), const SYS_IDENTITYSVC ideal-int
    pkg syscall (darwin-arm64), const SYS_INITGROUPS = 243
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Dec 02 16:30:41 GMT 2022
    - 479.2K bytes
    - Viewed (0)
  6. api/go1.2.txt

    pkg syscall (freebsd-386-cgo), const SYS_EXTATTR_DELETE_FD ideal-int
    pkg syscall (freebsd-386-cgo), const SYS_EXTATTR_DELETE_FILE ideal-int
    pkg syscall (freebsd-386-cgo), const SYS_EXTATTR_DELETE_LINK ideal-int
    pkg syscall (freebsd-386-cgo), const SYS_EXTATTR_GET_FD ideal-int
    pkg syscall (freebsd-386-cgo), const SYS_EXTATTR_GET_FILE ideal-int
    pkg syscall (freebsd-386-cgo), const SYS_EXTATTR_GET_LINK ideal-int
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 18 04:36:59 GMT 2013
    - 1.9M bytes
    - Viewed (2)
  7. api/go1.txt

    pkg syscall (freebsd-386), const SYS_EXTATTR_DELETE_FD ideal-int
    pkg syscall (freebsd-386), const SYS_EXTATTR_DELETE_FILE ideal-int
    pkg syscall (freebsd-386), const SYS_EXTATTR_DELETE_LINK ideal-int
    pkg syscall (freebsd-386), const SYS_EXTATTR_GET_FD ideal-int
    pkg syscall (freebsd-386), const SYS_EXTATTR_GET_FILE ideal-int
    pkg syscall (freebsd-386), const SYS_EXTATTR_GET_LINK ideal-int
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Aug 14 18:58:28 GMT 2013
    - 1.7M bytes
    - Viewed (1)
  8. fastapi/dependencies/utils.py

                isinstance(field_info, params.Param)
                and getattr(field_info, "in_", None) is None
            ):
                field_info.in_ = params.ParamTypes.query
            use_annotation_from_field_info = get_annotation_from_field_info(
                use_annotation,
                field_info,
                param_name,
            )
            if not field_info.alias and getattr(field_info, "convert_underscores", None):
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:52:56 GMT 2024
    - 29.5K bytes
    - Viewed (0)
  9. tests/test_custom_route_class.py

    def test_route_classes():
        routes = {}
        for r in app.router.routes:
            assert isinstance(r, Route)
            routes[r.path] = r
        assert getattr(routes["/a/"], "x_type") == "A"  # noqa: B009
        assert getattr(routes["/a/b/"], "x_type") == "B"  # noqa: B009
        assert getattr(routes["/a/b/c/"], "x_type") == "C"  # noqa: B009
    
    
    def test_openapi_schema():
        response = client.get("/openapi.json")
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  10. tests/test_operations_signatures.py

    
    def test_signatures_consistency():
        base_sig = inspect.signature(APIRouter.get)
        for method_name in method_names:
            router_method = getattr(APIRouter, method_name)
            app_method = getattr(FastAPI, method_name)
            router_sig = inspect.signature(router_method)
            app_sig = inspect.signature(app_method)
            param: inspect.Parameter
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon May 27 12:08:13 GMT 2019
    - 934 bytes
    - Viewed (0)
Back to top