- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 186 for gomod (0.16 sec)
-
pkg/kube/version.go
// Apparently some clusters don't put proper numbers here. Try GitVersion vp, err := version.ParseGeneric(clusterVersion.GitVersion) if err != nil { // no good return -1 } np, err := strconv.Atoi(fmt.Sprintf("%d%d", vp.Major(), vp.Minor())) if err != nil { // no good... return -1 } return np } return v
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 17 23:16:29 UTC 2024 - 2.8K bytes - Viewed (0) -
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/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) -
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) -
testing/performance/docs/check-rev.sh
#!/bin/bash # script to be used for Gradle performance test bisecting # example usage: # git bisect start HEAD REL_2.14 -- # HEAD=bad REL_2.14=good # git bisect run check_rev.sh JavaConfigurationPerformanceTest lotDependencies TESTNAME=${1:-IdeIntegrationPerformanceTest} TESTPROJECT=${2:-multi} ./gradlew clean [ -d ~/.gradle-bisect-override ] && cp -Rdvp ~/.gradle-bisect-override/* .
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 1K bytes - Viewed (0) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.code-quality.gradle.kts
errorproneExtension.disabledChecks.addAll( // DISCUSS "EqualsGetClass", // Let's agree if we want to adopt Error Prone's idea of valid equals() "JdkObsolete", // Most of the checks are good, but we do not want to replace all LinkedLists without a good reason // NEVER "MissingSummary", // We have another mechanism to check Javadocs on public API "InjectOnConstructorOfAbstractClass", // We use abstract injection as a pattern
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 13:09:36 UTC 2024 - 6.1K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/typeparams/termlist.go
for _, x := range xl { if x != nil && x.typ == nil { return true } } return false } // norm returns the normal form of xl. func (xl termlist) norm() termlist { // Quadratic algorithm, but good enough for now. // TODO(gri) fix asymptotic performance used := make([]bool, len(xl)) var rl termlist for i, xi := range xl { if xi == nil || used[i] { continue } for j := i + 1; j < len(xl); j++ {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 21 21:08:44 UTC 2023 - 3.8K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/readdirent_getdirentries.go
// Final argument is (basep *uintptr) and the syscall doesn't take nil. // 64 bits should be enough. (32 bits isn't even on 386). Since the // actual system call is getdirentries64, 64 is a good guess. // TODO(rsc): Can we use a single global basep for all calls? var base = (*uintptr)(unsafe.Pointer(new(uint64))) return Getdirentries(fd, buf, base)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 16:12:58 UTC 2024 - 705 bytes - Viewed (0)