Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 2,219 for IsSkip (0.17 sec)

  1. src/cmd/go/testdata/script/list_cgo_compiled_importmap.txt

    # ImportMap field when a runtime/cgo variant (such as a test variant)
    # will be used.
    
    [short] skip  # -compiled can be slow (because it compiles things)
    [!cgo] skip
    [GOOS:darwin] skip # net package does not import "C" on Darwin
    [GOOS:windows] skip # net package does not import "C" on Windows
    [GOOS:plan9] skip # net package does not import "C" on Plan 9
    
    env CGO_ENABLED=1
    env GOFLAGS=-tags=netcgo  # Force net to use cgo
    
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 27 22:26:09 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/mod_permissions.txt

    # Regression test for golang.org/issue/34634: permissions for the go.sum and
    # go.mod files should be preserved when overwriting them.
    
    env GO111MODULE=on
    [short] skip
    
    # Skip platforms that do not have Unix-style file permissions.
    [GOOS:windows] skip
    [GOOS:plan9] skip
    
    chmod 0640 go.mod
    chmod 0604 go.sum
    go mod edit -module=golang.org/issue/34634
    
    go get
    cmp go.mod go.mod.want
    cmp go.sum go.sum.want
    
    go run .
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 1.2K bytes
    - Viewed (0)
  3. docs_src/dependencies/tutorial001_an_py310.py

    from typing import Annotated
    
    from fastapi import Depends, FastAPI
    
    app = FastAPI()
    
    
    async def common_parameters(q: str | None = None, skip: int = 0, limit: int = 100):
        return {"q": q, "skip": skip, "limit": limit}
    
    
    @app.get("/items/")
    async def read_items(commons: Annotated[dict, Depends(common_parameters)]):
        return commons
    
    
    @app.get("/users/")
    async def read_users(commons: Annotated[dict, Depends(common_parameters)]):
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 454 bytes
    - Viewed (0)
  4. cmd/data-usage-cache_gen_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    	if len(left) > 0 {
    		t.Errorf("%d bytes left over after UnmarshalMsg(): %q", len(left), left)
    	}
    
    	left, err = msgp.Skip(bts)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if len(left) > 0 {
    		t.Errorf("%d bytes left over after Skip(): %q", len(left), left)
    	}
    }
    
    func BenchmarkMarshalMsgallTierStats(b *testing.B) {
    	v := allTierStats{}
    	b.ReportAllocs()
    	b.ResetTimer()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Jan 13 07:51:08 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  5. docs_src/dependencies/tutorial001_an.py

    from typing import Union
    
    from fastapi import Depends, FastAPI
    from typing_extensions import Annotated
    
    app = FastAPI()
    
    
    async def common_parameters(
        q: Union[str, None] = None, skip: int = 0, limit: int = 100
    ):
        return {"q": q, "skip": skip, "limit": limit}
    
    
    @app.get("/items/")
    async def read_items(commons: Annotated[dict, Depends(common_parameters)]):
        return commons
    
    
    @app.get("/users/")
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 502 bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/gotoolchain_net.txt

    ! stderr downloading
    stderr 'panic: use of network' # test catches network access
    env GOSUMDB=$oldsumdb
    
    # Test a real GOTOOLCHAIN
    [short] skip
    [!net:golang.org] skip
    [!net:sum.golang.org] skip
    [!GOOS:darwin] [!GOOS:windows] [!GOOS:linux] skip
    [!GOARCH:amd64] [!GOARCH:arm64] skip
    
    env GOPROXY=
    [go-builder] env GOSUMDB=
    [!go-builder] env GOSUMDB=sum.golang.org  # Set explicitly in case GOROOT/go.env is modified.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 14 17:16:47 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/link_syso_issue33139.txt

    # embedded in a package, that is referenced by a Go assembly function.
    # See issue 33139.
    
    [!compiler:gc] skip
    [!cgo] skip
    [short] skip 'invokes system C compiler'
    
    # External linking is not supported on linux/ppc64.
    # See: https://github.com/golang/go/issues/8912
    [GOOS:linux] [GOARCH:ppc64] skip
    
    cc -c -o syso/objTestImpl.syso syso/src/objTestImpl.c
    go build -ldflags='-linkmode=external' ./cmd/main.go
    
    -- go.mod --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 1K bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/cover_cgo_xtest.txt

    [short] skip
    [!cgo] skip
    [compiler:gccgo] skip # gccgo has no cover tool
    
    # Test cgo coverage with an external test.
    
    go test -short -cover cgocover2
    stdout  'coverage:.*[1-9][0-9.]+%'
    ! stderr '[^0-9]0\.0%'
    
    -- go.mod --
    module cgocover2
    
    go 1.16
    -- p.go --
    package p
    
    /*
    void
    f(void)
    {
    }
    */
    import "C"
    
    var b bool
    
    func F() {
    	if b {
    		for {
    		}
    	}
    	C.f()
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 464 bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/test_fuzz_cleanup.txt

    [!fuzz] skip
    [short] skip
    env GOCACHE=$WORK/cache
    
    # Cleanup should run after F.Skip.
    go test -run=FuzzTargetSkip
    stdout cleanup
    
    # Cleanup should run after F.Fatal.
    ! go test -run=FuzzTargetFatal
    stdout cleanup
    
    # Cleanup should run after an unexpected runtime.Goexit.
    ! go test -run=FuzzTargetGoexit
    stdout cleanup
    
    # Cleanup should run after panic.
    ! go test -run=FuzzTargetPanic
    stdout cleanup
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 16 16:53:11 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  10. docs_src/dependencies/tutorial001_an_py39.py

    from typing import Annotated, Union
    
    from fastapi import Depends, FastAPI
    
    app = FastAPI()
    
    
    async def common_parameters(
        q: Union[str, None] = None, skip: int = 0, limit: int = 100
    ):
        return {"q": q, "skip": skip, "limit": limit}
    
    
    @app.get("/items/")
    async def read_items(commons: Annotated[dict, Depends(common_parameters)]):
        return commons
    
    
    @app.get("/users/")
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 473 bytes
    - Viewed (0)
Back to top