Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 183 for gomod (0.08 sec)

  1. src/runtime/testdata/testexithooks/testexithooks.go

    	f2 := func() { panic("BADBADBAD") }
    	f3 := func() { println("good") }
    	exithook.Add(exithook.Hook{F: f1, RunOnFailure: true})
    	exithook.Add(exithook.Hook{F: f2, RunOnFailure: true})
    	exithook.Add(exithook.Hook{F: f3, RunOnFailure: true})
    	os.Exit(0)
    }
    
    func testHookCallsExit() {
    	f1 := func() { println("ok") }
    	f2 := func() { os.Exit(1) }
    	f3 := func() { println("good") }
    	exithook.Add(exithook.Hook{F: f1, RunOnFailure: true})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 16:41:13 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  2. testing/integ-test/src/integTest/groovy/org/gradle/integtests/DependencyResolutionFromTaskContextIntegrationTest.groovy

                        outputFile.text = "good"
                    }
                }
    
                subprojects {
                    apply plugin: 'base'
                    configurations {
                        myconf
                    }
                    tasks.withType(GoodTask).configureEach {
                        outputFile = layout.buildDirectory.file("good.txt")
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. docs_src/query_params_str_validations/tutorial008.py

    
    @app.get("/items/")
    async def read_items(
        q: Union[str, None] = Query(
            default=None,
            title="Query string",
            description="Query string for the items to search in the database that have a good match",
            min_length=3,
        ),
    ):
        results = {"items": [{"item_id": "Foo"}, {"item_id": "Bar"}]}
        if q:
            results.update({"q": q})
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Oct 24 20:26:06 UTC 2023
    - 466 bytes
    - Viewed (0)
  4. docs_src/query_params_str_validations/tutorial008_an_py310.py

    @app.get("/items/")
    async def read_items(
        q: Annotated[
            str | None,
            Query(
                title="Query string",
                description="Query string for the items to search in the database that have a good match",
                min_length=3,
            ),
        ] = None,
    ):
        results = {"items": [{"item_id": "Foo"}, {"item_id": "Bar"}]}
        if q:
            results.update({"q": q})
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Oct 24 20:26:06 UTC 2023
    - 498 bytes
    - Viewed (0)
  5. src/vendor/golang.org/x/sys/cpu/cpu_wasm.go

    //go:build wasm
    
    package cpu
    
    // We're compiling the cpu package for an unknown (software-abstracted) CPU.
    // Make CacheLinePad an empty struct and hope that the usual struct alignment
    // rules are good enough.
    
    const cacheLineSize = 0
    
    func initOptions() {}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 439 bytes
    - Viewed (0)
  6. docs_src/query_params_str_validations/tutorial008_an_py39.py

    @app.get("/items/")
    async def read_items(
        q: Annotated[
            Union[str, None],
            Query(
                title="Query string",
                description="Query string for the items to search in the database that have a good match",
                min_length=3,
            ),
        ] = None,
    ):
        results = {"items": [{"item_id": "Foo"}, {"item_id": "Bar"}]}
        if q:
            results.update({"q": q})
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Oct 24 20:26:06 UTC 2023
    - 511 bytes
    - Viewed (0)
  7. docs_src/query_params_str_validations/tutorial010_an_py310.py

        q: Annotated[
            str | None,
            Query(
                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,
            ),
        ] = None,
    ):
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Oct 24 20:26:06 UTC 2023
    - 622 bytes
    - Viewed (0)
  8. docs_src/query_params_str_validations/tutorial010_an_py39.py

        q: Annotated[
            Union[str, None],
            Query(
                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,
            ),
        ] = None,
    ):
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Oct 24 20:26:06 UTC 2023
    - 635 bytes
    - Viewed (0)
  9. docs_src/query_params_str_validations/tutorial010_an.py

        q: Annotated[
            Union[str, None],
            Query(
                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,
            ),
        ] = None,
    ):
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Oct 24 20:26:06 UTC 2023
    - 664 bytes
    - Viewed (0)
  10. 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)
Back to top