- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 1,261 for checkDir (0.1 sec)
-
src/cmd/compile/internal/types2/check.go
// For debugging only. type actionDesc struct { pos poser format string args []interface{} } // A Checker maintains the state of the type checker. // It must be created with NewChecker. type Checker struct { // package information // (initialized by NewChecker, valid for the life-time of checker) conf *Config ctxt *Context // context for de-duplicating instances pkg *Package *Info
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 23.3K bytes - Viewed (0) -
docs_src/dependencies/tutorial011.py
def __call__(self, q: str = ""): if q: return self.fixed_content in q return False checker = FixedContentQueryChecker("bar") @app.get("/query-checker/") async def read_query_check(fixed_content_included: bool = Depends(checker)):
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Mar 26 19:09:53 UTC 2020 - 504 bytes - Viewed (0) -
src/cmd/go/internal/base/limit.go
} netLimitSem <- struct{}{} hasToken = true } checker := new(netTokenChecker) runtime.SetFinalizer(checker, (*netTokenChecker).panicUnreleased) return func() { if checker.released { panic("internal error: net token released twice") } checker.released = true if hasToken { <-netLimitSem } runtime.SetFinalizer(checker, nil) }, nil } var ( netLimitOnce sync.Once
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 19 02:47:12 UTC 2023 - 1.9K bytes - Viewed (0) -
docs/zh/docs/advanced/advanced-dependencies.md
```Python hl_lines="16" {!../../../docs_src/dependencies/tutorial011.py!} ``` 这样就可以**参数化**依赖项,它包含 `checker.fixed_content` 的属性 - `"bar"`。 ## 把实例作为依赖项 然后,不要再在 `Depends(checker)` 中使用 `Depends(FixedContentQueryChecker)`, 而是要使用 `checker`,因为依赖项是类实例 - `checker`,不是类。 处理依赖项时,**FastAPI** 以如下方式调用 `checker`: ```Python checker(q="somequery") ``` ……并用*路径操作函数*的参数 `fixed_content_included` 返回依赖项的值: ```Python hl_lines="20"
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Sun Jan 28 18:26:57 UTC 2024 - 2K bytes - Viewed (0) -
docs/en/docs/advanced/advanced-dependencies.md
## Use the instance as a dependency Then, we could use this `checker` in a `Depends(checker)`, instead of `Depends(FixedContentQueryChecker)`, because the dependency is the instance, `checker`, not the class itself. And when solving the dependency, **FastAPI** will call this `checker` like: ```Python checker(q="somequery") ```
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Tue Oct 17 05:59:11 UTC 2023 - 3.9K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/registry/generic/rest/response_checker.go
return errors.NewBadRequest(bodyText) case resp.StatusCode == http.StatusNotFound: return errors.NewGenericServerResponse(resp.StatusCode, "", checker.QualifiedResource, checker.Name, bodyText, 0, false) } return errors.NewGenericServerResponse(resp.StatusCode, "", checker.QualifiedResource, checker.Name, bodyText, 0, false) } return nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Feb 03 06:33:43 UTC 2017 - 2.3K bytes - Viewed (0) -
guava/module.json
"version": { "requires": "${jsr305.version}" } }, { "group": "org.checkerframework", "module": "checker-qual", "version": { "requires": "${checker.version}" } }, { "group": "com.google.errorprone", "module": "error_prone_annotations", "version": {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Oct 17 18:11:49 UTC 2023 - 7.9K bytes - Viewed (0) -
.idea/misc.xml
<item index="10" class="java.lang.String" itemvalue="org.checkerframework.checker.nullness.compatqual.NullableDecl" /> <item index="11" class="java.lang.String" itemvalue="org.checkerframework.checker.nullness.compatqual.NullableType" /> <item index="12" class="java.lang.String" itemvalue="org.checkerframework.checker.nullness.qual.Nullable" />
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 27 19:23:39 UTC 2024 - 4.3K bytes - Viewed (0) -
docs_src/dependencies/tutorial011_an_py39.py
def __call__(self, q: str = ""): if q: return self.fixed_content in q return False checker = FixedContentQueryChecker("bar") @app.get("/query-checker/") async def read_query_check(fixed_content_included: Annotated[bool, Depends(checker)]):
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 544 bytes - Viewed (0) -
test/fixedbugs/issue35073b.go
// errorcheck -0 -d=checkptr -m // Copyright 2020 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Test that we can inline the receiver arguments for // reflect.Value.UnsafeAddr/Pointer, even in checkptr mode. package main import ( "reflect" "unsafe" ) func main() { n := 10 // ERROR "moved to heap: n"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 20 15:12:49 UTC 2023 - 706 bytes - Viewed (0)