Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,027 for IsSkip (0.36 sec)

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

    [short] skip 'links and runs binaries'
    
    # This test requires external linking. Assume that if cgo is supported
    # then external linking works.
    [!cgo] skip 'requires a C linker'
    
    # Only run on Unix systems.
    [GOOS:windows] skip
    [GOOS:plan9] skip
    
    # Ordinary build should work.
    go build
    exec ./hello
    stdout Hello
    
    # Building with -linkmode=external should not say anything about
    # runtime/cgo (issue #31544).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 20 22:03:35 UTC 2023
    - 926 bytes
    - Viewed (0)
  2. tests/test_tutorial/test_testing_dependencies/test_tutorial001_an.py

        assert response.status_code == 200, response.text
        assert response.json() == {
            "message": "Hello Users!",
            "params": {"q": "foo", "skip": 5, "limit": 10},
        }
    
    
    def test_normal_app():
        app.dependency_overrides = None
        response = client.get("/items/?q=foo&skip=100&limit=200")
        assert response.status_code == 200, response.text
        assert response.json() == {
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/version_gc_sections.txt

    # This test checks that external linking with --gc-sections does not strip version information.
    
    [short] skip
    [!cgo] skip
    [GOOS:aix] skip  # no --gc-sections
    [GOOS:darwin] skip  # no --gc-sections
    
    go build -ldflags='-linkmode=external -extldflags=-Wl,--gc-sections'
    go version hello$GOEXE
    ! stdout 'not a Go executable'
    ! stderr 'not a Go executable'
    
    -- go.mod --
    module hello
    -- hello.go --
    package main
    
    /*
    */
    import "C"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 02 15:17:57 UTC 2023
    - 460 bytes
    - Viewed (0)
  4. docs_src/dependencies/tutorial004_an_py310.py

        def __init__(self, q: str | None = None, skip: int = 0, limit: int = 100):
            self.q = q
            self.skip = skip
            self.limit = limit
    
    
    @app.get("/items/")
    async def read_items(commons: Annotated[CommonQueryParams, Depends()]):
        response = {}
        if commons.q:
            response.update({"q": commons.q})
        items = fake_items_db[commons.skip : commons.skip + commons.limit]
        response.update({"items": items})
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 647 bytes
    - Viewed (0)
  5. docs_src/dependencies/tutorial002_an_py39.py

        def __init__(self, q: Union[str, None] = None, skip: int = 0, limit: int = 100):
            self.q = q
            self.skip = skip
            self.limit = limit
    
    
    @app.get("/items/")
    async def read_items(commons: Annotated[CommonQueryParams, Depends(CommonQueryParams)]):
        response = {}
        if commons.q:
            response.update({"q": commons.q})
        items = fake_items_db[commons.skip : commons.skip + commons.limit]
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 677 bytes
    - Viewed (0)
  6. docs_src/dependencies/tutorial003_an_py39.py

        def __init__(self, q: Union[str, None] = None, skip: int = 0, limit: int = 100):
            self.q = q
            self.skip = skip
            self.limit = limit
    
    
    @app.get("/items/")
    async def read_items(commons: Annotated[Any, Depends(CommonQueryParams)]):
        response = {}
        if commons.q:
            response.update({"q": commons.q})
        items = fake_items_db[commons.skip : commons.skip + commons.limit]
        response.update({"items": items})
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 668 bytes
    - Viewed (0)
  7. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/ToBeFixedForConfigurationCache.java

    @Target(ElementType.METHOD)
    @ExtensionAnnotation(ToBeFixedForConfigurationCacheExtension.class)
    public @interface ToBeFixedForConfigurationCache {
    
        /**
         * Set to some {@link Skip} to skip the annotated test.
         */
        Skip skip() default Skip.DO_NOT_SKIP;
    
        /**
         * Declare to which bottom spec this annotation should be applied.
         * Defaults to an empty array, meaning this annotation applies to all bottom specs.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/test_json.txt

    # Check m/empty/pkg for output and skip actions
    stdout '"Action":"start","Package":"m/empty/pkg"'
    stdout '"Action":"output","Package":"m/empty/pkg","Output":".*no test files'
    stdout '"Action":"skip","Package":"m/empty/pkg"'
    
    # Check skipper for output and skip actions
    stdout '"Action":"start","Package":"m/skipper"'
    stdout '"Action":"output","Package":"m/skipper","Test":"Test","Output":"--- SKIP:'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 09 17:33:07 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_testing_dependencies/test_tutorial001_py310.py

            "params": {"q": None, "skip": 5, "limit": 10},
        }
    
    
    @needs_py310
    def test_override_in_users_with_q():
        from docs_src.dependency_testing.tutorial001_py310 import client
    
        response = client.get("/users/?q=foo")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "message": "Hello Users!",
            "params": {"q": "foo", "skip": 5, "limit": 10},
        }
    
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/io/LittleEndianDataInputStream.java

       */
      @CanIgnoreReturnValue // to skip some bytes
      @Override
      public char readChar() throws IOException {
        return (char) readUnsignedShort();
      }
    
      @CanIgnoreReturnValue // to skip a byte
      @Override
      public byte readByte() throws IOException {
        return (byte) readUnsignedByte();
      }
    
      @CanIgnoreReturnValue // to skip a byte
      @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 7.3K bytes
    - Viewed (0)
Back to top