- Sort Score
- Result 10 results
- Languages All
Results 181 - 190 of 3,660 for pats (0.06 sec)
-
docs/en/docs/how-to/nosql-databases-couchbase.md
By creating a function that is only dedicated to getting your user from a `username` (or any other parameter) independent of your *path operation function*, you can more easily reuse it in multiple parts and also add <abbr title="Automated test, written in code, that checks if another piece of code is working correctly.">unit tests</abbr> for it: ```Python hl_lines="36-42" {!../../../docs_src/nosql_databases/tutorial001.py!} ``` ### f-strings
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Sat May 18 23:43:13 UTC 2024 - 6K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/composite/composite.go
// unkeyed fields. func run(pass *analysis.Pass) (interface{}, error) { inspect := pass.ResultOf[inspect.Analyzer].(*inspector.Inspector) nodeFilter := []ast.Node{ (*ast.CompositeLit)(nil), } inspect.Preorder(nodeFilter, func(n ast.Node) { cl := n.(*ast.CompositeLit) typ := pass.TypesInfo.Types[cl].Type if typ == nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 4.4K bytes - Viewed (0) -
plugin/pkg/admission/certificates/util.go
APIVersion: "*", Resource: "signers", ResourceRequest: true, } } func buildWildcardAttributes(info user.Info, verb, signerName string) authorizer.Attributes { parts := strings.Split(signerName, "/") domain := parts[0] return buildAttributes(info, verb, domain+"/*")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 16 11:54:27 UTC 2020 - 2.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/IteratorsTest.java
Iterable<String> list = Lists.newArrayList("cool", "pants"); Iterator<String> iterator = list.iterator(); assertEquals("pants", Iterators.find(iterator, Predicates.equalTo("pants"))); assertFalse(iterator.hasNext()); } public void testFind_notPresent() { Iterable<String> list = Lists.newArrayList("cool", "pants"); Iterator<String> iterator = list.iterator(); try {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri May 03 13:01:51 UTC 2024 - 55.7K bytes - Viewed (0) -
pilot/cmd/pilot-agent/status/util/stats.go
func (s *stat) processLine(line string) error { if !s.found && strings.HasPrefix(line, s.name) { s.found = true parts := strings.Split(line, ":") if len(parts) != 2 { return fmt.Errorf("envoy stat %s missing separator. line:%s", s.name, line) } val, err := strconv.ParseUint(strings.TrimSpace(parts[1]), 10, 64) if err != nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Jun 21 15:50:49 UTC 2022 - 4.8K bytes - Viewed (0) -
pkg/test/util/structpath/instance.go
return fmt.Errorf("no entry exists at path: %v", path) } return nil }) } func (i *Instance) NotExists(path string, args ...any) *Instance { path = fmt.Sprintf(path, args...) return i.appendConstraint(func() error { parser := jsonpath.New("path") err := parser.Parse(i.fixPath(path)) if err != nil { return fmt.Errorf("invalid path: %v - %v", path, err) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jul 25 19:30:47 UTC 2022 - 9.4K bytes - Viewed (0) -
guava/src/com/google/common/net/InternetDomainName.java
*/ private InternetDomainName(String name, ImmutableList<String> parts) { checkArgument(!parts.isEmpty(), "Cannot create an InternetDomainName with zero parts."); this.name = name; this.parts = parts; } /** * The index in the {@link #parts()} list at which the public suffix begins. For example, for the * domain name {@code myblog.blogspot.co.uk}, the value would be 1 (the index of the {@code
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Feb 05 20:47:23 UTC 2024 - 28K bytes - Viewed (0) -
src/image/gif/writer_test.go
Image: []*image.Paletted{ image.NewPaletted(image.Rect(0, 0, w, h), pals[0]), image.NewPaletted(image.Rect(0, 0, w, h), pals[1]), image.NewPaletted(image.Rect(0, 0, w, h), pals[2]), image.NewPaletted(image.Rect(0, 0, w, h), pals[3]), }, Delay: make([]int, len(pals)), Disposal: make([]byte, len(pals)), Config: image.Config{ ColorModel: pals[2], Width: w, Height: h, }, }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 03 14:56:25 UTC 2024 - 19K bytes - Viewed (0) -
src/runtime/syscall_windows.go
srcStackOffset: p.srcStackSize, dstStackOffset: p.dstStackSize, len: t.Size_, } // Add this step to the adapter. if len(p.parts) == 0 || !p.parts[len(p.parts)-1].tryMerge(part) { p.parts = append(p.parts, part) } // The Go ABI packs arguments. p.dstStackSize += t.Size_ } // cdecl, stdcall, fastcall, and arm pad arguments to word size.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 20:12:46 UTC 2024 - 16.6K bytes - Viewed (0) -
cmd/xl-storage_windows_test.go
import ( "bytes" "context" "fmt" "testing" ) // Test if various paths work as expected when converted to UNC form func TestUNCPaths(t *testing.T) { testCases := []struct { objName string pass bool }{ {"/abcdef", true}, {"/a/b/c/d/e/f/g", true}, {string(bytes.Repeat([]byte("界"), 85)), true}, // Each path component must be <= 255 bytes long. {string(bytes.Repeat([]byte("界"), 280)), false},
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed Nov 29 06:35:16 UTC 2023 - 2.8K bytes - Viewed (0)