Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 267 for gomod (0.04 sec)

  1. 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)
  2. src/cmd/compile/internal/types2/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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. staging/src/k8s.io/apiserver/pkg/server/filters/waitgroup.go

    			if isRequestExemptFn(req) {
    				handler.ServeHTTP(w, req)
    				return
    			}
    
    			// When apiserver is shutting down, signal clients to retry
    			// There is a good chance the client hit a different server, so a tight retry is good for client responsiveness.
    			waitGroupWriteRetryAfterToResponse(w)
    			return
    		}
    
    		defer wg.Done()
    		handler.ServeHTTP(w, req)
    	})
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jan 10 21:18:55 UTC 2023
    - 3.7K 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