- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 785 for gomod (3.65 sec)
-
docs_src/query_params_str_validations/tutorial010_py310.py
@app.get("/items/") async def read_items( q: str | None = Query( default=None, alias="item-query", title="Query string", description="Query string for the items to search in the database that have a good match", min_length=3, max_length=50, pattern="^fixedquery$", deprecated=True, ), ): results = {"items": [{"item_id": "Foo"}, {"item_id": "Bar"}]} if q:
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Tue Oct 24 20:26:06 UTC 2023 - 542 bytes - Viewed (0) -
src/go/types/mono_test.go
} typecheck(src, &conf, nil) if buf.Len() == 0 { return nil } return errors.New(strings.TrimRight(buf.String(), "\n")) } func TestMonoGood(t *testing.T) { for i, good := range goods { if err := checkMono(t, good); err != nil { t.Errorf("%d: unexpected failure: %v", i, err) } } } func TestMonoBad(t *testing.T) { for i, bad := range bads { if err := checkMono(t, bad); err == nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 28 17:58:07 UTC 2023 - 2.5K bytes - Viewed (0) -
src/cmd/go/testdata/script/test_fuzz_minimize_interesting.txt
} for _, ent := range ents { name := filepath.Join(dir, ent.Name()) if good, err := checkCacheFile(name); err != nil { fmt.Fprintln(os.Stderr, err) os.Exit(1) } else if good { os.Exit(0) } } fmt.Fprintln(os.Stderr, "no cached inputs were minimized") os.Exit(1) } func checkCacheFile(name string) (good bool, err error) { data, err := os.ReadFile(name) if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 05 23:35:32 UTC 2023 - 5.5K bytes - Viewed (0) -
test/fixedbugs/issue11656.go
// runindir // Copyright 2022 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. // Issue 11656: runtime: jump to bad PC missing good traceback // windows doesn't work, because Windows exception handling // delivers signals based on the current PC, and that current PC // doesn't go into the Go runtime.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:25 UTC 2023 - 700 bytes - Viewed (0) -
docs_src/query_params_str_validations/tutorial010.py
@app.get("/items/") async def read_items( q: Union[str, None] = Query( default=None, alias="item-query", title="Query string", description="Query string for the items to search in the database that have a good match", min_length=3, max_length=50, pattern="^fixedquery$", deprecated=True, ), ): results = {"items": [{"item_id": "Foo"}, {"item_id": "Bar"}]} if q:
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Tue Oct 24 20:26:06 UTC 2023 - 574 bytes - Viewed (0) -
test/fixedbugs/issue15895.go
// license that can be found in the LICENSE file. // func bad used to fail to compile. package p type A [1]int func bad(x A) { switch x { case A([1]int{1}): case A([1]int{1}): } } func good(x A) { y := A([1]int{1}) z := A([1]int{1}) switch x { case y: case z: }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Sep 04 00:15:41 UTC 2016 - 400 bytes - Viewed (0) -
src/cmd/go/testdata/script/mod_list_retract.txt
# 'go list -m -versions' hides retracted versions. go list -m -versions example.com/retract stdout '^example.com/retract v1.0.0-good v1.1.0$' # 'go list -m -retracted -versions' shows retracted versions. go list -m -retracted -versions example.com/retract stdout '^example.com/retract v1.0.0-bad v1.0.0-good v1.0.0-unused v1.1.0$' # 'go list -m -u -versions' loads retractions and does not show retracted versions.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Aug 13 00:19:50 UTC 2021 - 4.8K bytes - Viewed (0) -
pkg/apis/resource/validation/validation_resourceslice_test.go
driverName := "test.example.com" now := metav1.Now() badValue := "spaces not allowed" scenarios := map[string]struct { slice *resource.ResourceSlice wantFailures field.ErrorList }{ "good": { slice: testResourceSlice(goodName, goodName, driverName), }, "missing-name": { wantFailures: field.ErrorList{field.Required(field.NewPath("metadata", "name"), "name or generateName is required")},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 14 17:07:36 UTC 2024 - 8.9K bytes - Viewed (0) -
src/internal/coverage/calloc/batchcounteralloc.go
// coverage counters (slices of uint32 basically), for working with // coverage data files. Collections of counter arrays tend to all be // live/dead over the same time period, so a good fit for batch // allocation. type BatchCounterAlloc struct { pool []uint32 } func (ca *BatchCounterAlloc) AllocateCounters(n int) []uint32 { const chunk = 8192 if n > cap(ca.pool) { siz := chunk
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 28 11:47:16 UTC 2022 - 754 bytes - Viewed (0) -
platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/classloader/FilteringClassLoaderTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 9.9K bytes - Viewed (0)