- Sort Score
- Num 10 results
- Language All
Results 11 - 18 of 18 for setxattr (0.08 seconds)
-
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]]
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 455 bytes - Click Count (0) -
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
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 11.2K bytes - Click Count (0) -
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()); }
Created: Tue Dec 30 12:39:10 GMT 2025 - Last Modified: Mon Nov 17 00:00:38 GMT 2025 - 63.6K bytes - Click Count (1) -
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,
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 12:54:56 GMT 2025 - 19.1K bytes - Click Count (0) -
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
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Thu Mar 31 20:37:15 GMT 2022 - 2.6M bytes - Click Count (0) -
fastapi/routing.py
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 12:54:56 GMT 2025 - 174.6K bytes - Click Count (0) -
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)
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Fri Oct 18 04:36:59 GMT 2013 - 1.9M bytes - Click Count (1) -
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.Created: Tue Dec 30 12:39:10 GMT 2025 - Last Modified: Tue Oct 28 22:27:41 GMT 2025 - 740.4K bytes - Click Count (3)