- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 634 for SELF (0.05 sec)
-
src/runtime/testdata/testprogcgo/lockosthread.go
os.Exit(1) } ready := make(chan bool, 1) go func() { // Because GOMAXPROCS=1, this *should* be on the main // thread. Stay there. runtime.LockOSThread() self := C.pthread_self() if C.pthread_equal(mainThread, self) == 0 { println("failed to start goroutine on main thread") os.Exit(1) } // Exit with the thread locked, which should exit the // main thread. ready <- true }()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 02 20:21:33 UTC 2023 - 2.5K bytes - Viewed (0) -
docs_src/dependencies/tutorial002_an_py39.py
app = FastAPI() fake_items_db = [{"item_name": "Foo"}, {"item_name": "Bar"}, {"item_name": "Baz"}] class CommonQueryParams: def __init__(self, q: Union[str, None] = None, skip: int = 0, limit: int = 100): self.q = q self.skip = skip self.limit = limit @app.get("/items/") async def read_items(commons: Annotated[CommonQueryParams, Depends(CommonQueryParams)]): response = {}
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 677 bytes - Viewed (0) -
docs_src/dependencies/tutorial003_an_py39.py
app = FastAPI() fake_items_db = [{"item_name": "Foo"}, {"item_name": "Bar"}, {"item_name": "Baz"}] class CommonQueryParams: def __init__(self, q: Union[str, None] = None, skip: int = 0, limit: int = 100): self.q = q self.skip = skip self.limit = limit @app.get("/items/") async def read_items(commons: Annotated[Any, Depends(CommonQueryParams)]): response = {} if commons.q:
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 668 bytes - Viewed (0) -
tensorflow/compiler/mlir/tfr/python/test_utils.py
class OpsDefsTest(test.TestCase): """Test utils.""" def _assertOpAndComposite(self, vars_, compute_op, compute_composite, kwargs, op_kwargs=None): if op_kwargs is None: op_kwargs = kwargs if test_util.IsMklEnabled(): self.skipTest("Not compatible with oneDNN custom ops.") # compute with op. with backprop.GradientTape() as gt:
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Jun 02 18:32:17 UTC 2023 - 1.8K bytes - Viewed (0) -
fastapi/datastructures.py
if the overridden default value was truthy. """ def __init__(self, value: Any): self.value = value def __bool__(self) -> bool: return bool(self.value) def __eq__(self, o: object) -> bool: return isinstance(o, DefaultPlaceholder) and o.value == self.value DefaultType = TypeVar("DefaultType")
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Tue Apr 02 02:48:51 UTC 2024 - 5.6K bytes - Viewed (1) -
docs/tls/README.md
1. [Install MinIO Server](#install-minio-server) 2. [Use an Existing Key and Certificate with MinIO](#use-an-existing-key-and-certificate-with-minio) 3. [Generate and use Self-signed Keys and Certificates with MinIO](#generate-use-self-signed-keys-certificates) 4. [Install Certificates from Third-party CAs](#install-certificates-from-third-party-cas) ## 1. Install MinIO Server
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Sep 29 04:28:45 UTC 2022 - 8.4K bytes - Viewed (0) -
analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/renderer/declarations/modifiers/renderers/KtKeywordsFilter.kt
val self = this return KaRendererKeywordFilter filter@{ modifier, kaAnnotated -> val analysisSession = this@filter self.filter(analysisSession, modifier, kaAnnotated) && other.filter(analysisSession, modifier, kaAnnotated) } } public infix fun or(other: KaRendererKeywordFilter): KaRendererKeywordFilter { val self = this
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 22 06:28:34 UTC 2024 - 2.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/python/representative_dataset.py
validate that the sample has same set of input keys before saving. Raises: KeyError: If path_map and expected_input_key_map have different keys. """ self.path_map: Mapping[str, os.PathLike[str]] = path_map self.expected_input_key_map: Mapping[str, Collection[str]] = {} if expected_input_key_map is not None: if set(path_map.keys()) != set(expected_input_key_map.keys()): raise KeyError(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Mar 22 22:55:22 UTC 2024 - 14.2K bytes - Viewed (0) -
pkg/apis/core/fuzzer/fuzzer.go
c.FuzzNoCustom(cm) // fuzz self without calling this function again if c.RandBool() { opt := c.RandBool() cm.Optional = &opt } }, func(s *core.SecretEnvSource, c fuzz.Continue) { c.FuzzNoCustom(s) // fuzz self without calling this function again }, func(sc *core.SecurityContext, c fuzz.Continue) { c.FuzzNoCustom(sc) // fuzz self without calling this function again
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 26 04:32:01 UTC 2024 - 18.5K bytes - Viewed (0) -
pkg/apis/admissionregistration/fuzzer/fuzzer.go
func(obj *admissionregistration.Rule, c fuzz.Continue) { c.FuzzNoCustom(obj) // fuzz self without calling this function again if obj.Scope == nil { s := admissionregistration.AllScopes obj.Scope = &s } }, func(obj *admissionregistration.ValidatingWebhook, c fuzz.Continue) { c.FuzzNoCustom(obj) // fuzz self without calling this function again if obj.FailurePolicy == nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jul 20 16:30:09 UTC 2023 - 3.6K bytes - Viewed (0)