Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 2,235 for IsSkip (0.22 sec)

  1. tests/test_tutorial/test_dependencies/test_tutorial001_an.py

        [
            ("/items", 200, {"q": None, "skip": 0, "limit": 100}),
            ("/items?q=foo", 200, {"q": "foo", "skip": 0, "limit": 100}),
            ("/items?q=foo&skip=5", 200, {"q": "foo", "skip": 5, "limit": 100}),
            ("/items?q=foo&skip=5&limit=30", 200, {"q": "foo", "skip": 5, "limit": 30}),
            ("/users", 200, {"q": None, "skip": 0, "limit": 100}),
        ],
    )
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_dependencies/test_tutorial001_an_py310.py

        [
            ("/items", 200, {"q": None, "skip": 0, "limit": 100}),
            ("/items?q=foo", 200, {"q": "foo", "skip": 0, "limit": 100}),
            ("/items?q=foo&skip=5", 200, {"q": "foo", "skip": 5, "limit": 100}),
            ("/items?q=foo&skip=5&limit=30", 200, {"q": "foo", "skip": 5, "limit": 30}),
            ("/users", 200, {"q": None, "skip": 0, "limit": 100}),
        ],
    )
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  3. docs_src/dependencies/tutorial003_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[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
    - 655 bytes
    - Viewed (0)
  4. src/cmd/go/internal/script/scripttest/scripttest.go

    	}()
    
    	if skip := (skipError{}); errors.As(err, &skip) {
    		if skip.msg == "" {
    			t.Skip("SKIP")
    		} else {
    			t.Skipf("SKIP: %v", skip.msg)
    		}
    	}
    	if err != nil {
    		t.Errorf("FAIL: %v", err)
    	}
    }
    
    // Skip returns a sentinel error that causes Run to mark the test as skipped.
    func Skip() script.Cmd {
    	return script.Command(
    		script.CmdUsage{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 11 20:12:18 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  5. guava/src/com/google/common/io/ByteArrayDataInput.java

      @CanIgnoreReturnValue // to skip some bytes
      @Override
      short readShort();
    
      @CanIgnoreReturnValue // to skip some bytes
      @Override
      int readUnsignedShort();
    
      @CanIgnoreReturnValue // to skip some bytes
      @Override
      char readChar();
    
      @CanIgnoreReturnValue // to skip some bytes
      @Override
      int readInt();
    
      @CanIgnoreReturnValue // to skip some bytes
      @Override
      long readLong();
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 28 20:13:02 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/test_skip.txt

    go test -v -run Test -skip T skip_test.go
    ! stdout RUN
    stdout '^ok.*\[no tests to run\]'
    
    go test -v -skip T skip_test.go
    ! stdout RUN
    
    go test -v -skip 1 skip_test.go
    ! stdout Test1
    stdout RUN.*Test2
    stdout RUN.*Test2/3
    
    go test -v -skip 2/3 skip_test.go
    stdout RUN.*Test1
    stdout RUN.*Test2
    stdout RUN.*ExampleTest1
    ! stdout Test2/3
    
    go test -v -skip 2/4 skip_test.go
    stdout RUN.*Test1
    stdout RUN.*Test2
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 15 17:40:22 UTC 2023
    - 755 bytes
    - Viewed (0)
  7. tests/test_tutorial/test_testing_dependencies/test_tutorial001_an_py310.py

        assert response.json() == {
            "message": "Hello Users!",
            "params": {"q": "foo", "skip": 5, "limit": 10},
        }
    
    
    @needs_py310
    def test_override_in_users_with_params():
        from docs_src.dependency_testing.tutorial001_an_py310 import client
    
        response = client.get("/users/?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
    - 2K bytes
    - Viewed (0)
  8. tests/test_tutorial/test_testing_dependencies/test_tutorial001_an_py39.py

        assert response.json() == {
            "message": "Hello Users!",
            "params": {"q": "foo", "skip": 5, "limit": 10},
        }
    
    
    @needs_py39
    def test_override_in_users_with_params():
        from docs_src.dependency_testing.tutorial001_an_py39 import client
    
        response = client.get("/users/?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
    - 2K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/build_cgo_consistent_results.txt

    [short] skip
    [!cgo] skip
    
    [GOOS:solaris] skip "skipping on Solaris; see golang.org/issue/13247"
    [GOOS:illumos] skip "skipping on Solaris; see golang.org/issue/13247"
    
    go build -o $WORK/exe1$GOEXE cgotest
    go build -x -o $WORK/exe2$GOEXE cgotest
    
    # TODO(matloob): skip if stderr does not contain '-fdebug-prefix-map=\$WORK'
    
    cmp $WORK/exe1$GOEXE $WORK/exe2$GOEXE
    
    -- go.mod --
    module cgotest
    
    go 1.16
    -- m.go --
    package cgotest
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 451 bytes
    - Viewed (0)
  10. docs_src/dependencies/tutorial004_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()]):
        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
    - 660 bytes
    - Viewed (0)
Back to top