Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 588 for gomod (0.08 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/classloader/FilteringClassLoaderTest.groovy

            withSpec(parent) { FilteringClassLoader.Spec spec ->
                spec.allowPackage("good")
            }
    
            when:
            classLoader.loadClass("good.Clazz")
    
            //noinspection GroovyAccessibility
            then:
            1 * parent.loadClass("good.Clazz", false) >> String
            0 * parent._
    
            when:
            classLoader.loadClass("bad.Clazz")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/tasks/RuntimePluginValidationIntegrationTest.groovy

                            return "good";
                        }
    
                        public String getNotAnnotated() {
                            return null;
                        }
                    }
    
                    public static class NamedBean implements Named {
                        @Input
                        public String getGood() {
                            return "good";
                        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 14:30:05 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformIsolationIntegrationTest.groovy

            if (GradleContextualExecuter.configCache) {
                // Counter is serialized and isolated prior to execution, so transforms will not see the increment in each tasks' doLast { } (which is good)
                file("build/libs1/test-1.3.jar.txt").readLines() == ["1", "2", "3", "4", "5"]
                file("build/libs1/test2-2.3.jar.txt").readLines() == ["1", "2", "3", "4", "5"]
            } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 10.8K bytes
    - Viewed (0)
  10. 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)
Back to top