- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 2,554 for pats (0.05 sec)
-
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/framepointer/framepointer.go
asmControlFlow = re(`^(J|RET)`) ) func run(pass *analysis.Pass) (interface{}, error) { if build.Default.GOARCH != "amd64" { // TODO: arm64 also? return nil, nil } if build.Default.GOOS != "linux" && build.Default.GOOS != "darwin" { return nil, nil } // Find assembly files to work on. var sfiles []string for _, fname := range pass.OtherFiles {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 02:38:00 UTC 2024 - 2.4K bytes - Viewed (0) -
docs/en/docs/tutorial/dependencies/index.md
{!> ../../../docs_src/dependencies/tutorial001.py!} ``` That's it. **2 lines**. And it has the same shape and structure that all your *path operation functions* have. You can think of it as a *path operation function* without the "decorator" (without the `@app.get("/some-path")`). And it can return anything you want. In this case, this dependency expects: * An optional query parameter `q` that is a `str`.
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Apr 18 19:53:19 UTC 2024 - 11.6K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/errorsas/errorsas.go
Requires: []*analysis.Analyzer{inspect.Analyzer}, Run: run, } func run(pass *analysis.Pass) (interface{}, error) { switch pass.Pkg.Path() { case "errors", "errors_test": // These packages know how to use their own APIs. // Sometimes they are testing what happens to incorrect programs. return nil, nil } if !analysisutil.Imports(pass.Pkg, "errors") { return nil, nil // doesn't directly import errors }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 20 21:52:54 UTC 2023 - 2.9K bytes - Viewed (0) -
pkg/serviceaccount/jwt.go
func (j *jwtTokenAuthenticator) hasCorrectIssuer(tokenData string) bool { if strings.HasPrefix(strings.TrimSpace(tokenData), "{") { return false } parts := strings.Split(tokenData, ".") if len(parts) != 3 { return false } payload, err := base64.RawURLEncoding.DecodeString(parts[1]) if err != nil { return false } claims := struct { // WARNING: this JWT is not verified. Do not trust these claims.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Feb 27 22:16:08 UTC 2024 - 10.7K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/MultipartReaderTest.kt
) assertThat(parts.nextPart()).isNotNull() assertThat(parts.nextPart()).isNull() assertThat(parts.nextPart()).isNull() } @Test fun `empty source`() { val parts = MultipartReader( boundary = "simple boundary", source = Buffer(), ) assertFailsWith<EOFException> { parts.nextPart() } }
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 13.8K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Joiner.java
checkNotNull(appendable, "appendable"); checkNotNull(parts, "parts"); while (parts.hasNext()) { Object part = parts.next(); if (part != null) { appendable.append(Joiner.this.toString(part)); break; } } while (parts.hasNext()) { Object part = parts.next();
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Dec 15 19:31:54 UTC 2023 - 18.6K bytes - Viewed (0) -
tensorflow/compiler/aot/codegen.cc
} std::vector<string> parts = absl::StrSplit(cpp_class, "::"); if (parts.front().empty()) { // Allow a fully qualified name that starts with "::". parts.erase(parts.begin()); } for (int i = 0, end = parts.size(); i < end; ++i) { if (i < end - 1) { TF_RETURN_IF_ERROR(ValidateCppIdent( parts[i], "in namespace component of cpp_class: " + cpp_class));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 01:20:01 UTC 2024 - 36.8K bytes - Viewed (0) -
pkg/kubelet/kubelet_pods_linux_test.go
}{ "valid mounts in unprivileged container": { podVolumes: kubecontainer.VolumeMap{ "disk": kubecontainer.VolumeInfo{Mounter: &stubVolume{path: "/mnt/disk"}}, "disk4": kubecontainer.VolumeInfo{Mounter: &stubVolume{path: "/mnt/host"}}, "disk5": kubecontainer.VolumeInfo{Mounter: &stubVolume{path: "/var/lib/kubelet/podID/volumes/empty/disk5"}}, }, container: v1.Container{ Name: "container1", VolumeMounts: []v1.VolumeMount{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Mar 09 18:00:59 UTC 2024 - 11.3K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/copylock/copylock.go
case *ast.ReturnStmt: checkCopyLocksReturnStmt(pass, node) } }) return nil, nil } // checkCopyLocksAssign checks whether an assignment // copies a lock. func checkCopyLocksAssign(pass *analysis.Pass, as *ast.AssignStmt) { for i, x := range as.Rhs { if path := lockPathRhs(pass, x); path != nil { pass.ReportRangef(x, "assignment copies lock value to %v: %v", analysisutil.Format(pass.Fset, as.Lhs[i]), path)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 9.9K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/directive/directive.go
Run: runDirective, } func runDirective(pass *analysis.Pass) (interface{}, error) { for _, f := range pass.Files { checkGoFile(pass, f) } for _, name := range pass.OtherFiles { if err := checkOtherFile(pass, name); err != nil { return nil, err } } for _, name := range pass.IgnoredFiles { if strings.HasSuffix(name, ".go") { f, err := parser.ParseFile(pass.Fset, name, nil, parser.ParseComments)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 5.4K bytes - Viewed (0)