Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 2,219 for IsSkip (0.2 sec)

  1. docs_src/dependencies/tutorial001_02_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}
    
    
    CommonsDep = Annotated[dict, Depends(common_parameters)]
    
    
    @app.get("/items/")
    async def read_items(commons: CommonsDep):
        return commons
    
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 495 bytes
    - Viewed (0)
  2. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/ToBeFixedForConfigurationCacheRule.groovy

            if (enabledBottomSpec && enabledIteration) {
                ToBeFixedForConfigurationCache.Skip skip = annotation.skip()
                if (skip == ToBeFixedForConfigurationCache.Skip.DO_NOT_SKIP) {
                    return new ExpectingFailureRuleStatement(base, "Configuration Cache")
                } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 09:04:13 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/swig/swig_test.go

    	}
    	if len(args) == 0 {
    		t.Skip("no C++ compiler")
    	}
    	testenv.MustHaveExecPath(t, string(args[0]))
    }
    
    var (
    	swigOnce sync.Once
    	haveSwig bool
    )
    
    func mustHaveSwig(t *testing.T) {
    	swigOnce.Do(func() {
    		mustHaveSwigOnce(t)
    		haveSwig = true
    	})
    	// The first call will skip t with a nice message. On later calls, we just skip.
    	if !haveSwig {
    		t.Skip("swig not found")
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 12:38:14 UTC 2024
    - 4K bytes
    - Viewed (0)
  4. cmd/batch-job-common-types_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 BenchmarkMarshalMsgBatchJobKV(b *testing.B) {
    	v := BatchJobKV{}
    	b.ReportAllocs()
    	b.ResetTimer()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Dec 02 10:51:33 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  5. cmd/batch-rotate_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 BenchmarkMarshalMsgBatchJobKeyRotateEncryption(b *testing.B) {
    	v := BatchJobKeyRotateEncryption{}
    	b.ReportAllocs()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Aug 29 18:27:23 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  6. cmd/batch-replicate_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 BenchmarkMarshalMsgBatchJobReplicateCredentials(b *testing.B) {
    	v := BatchJobReplicateCredentials{}
    	b.ReportAllocs()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Aug 29 18:27:23 UTC 2023
    - 14.2K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_dependencies/test_tutorial004_an_py310.py

            ),
            (
                "/items?q=foo&skip=1",
                200,
                {"items": [{"item_name": "Bar"}, {"item_name": "Baz"}], "q": "foo"},
            ),
            (
                "/items?q=bar&limit=2",
                200,
                {"items": [{"item_name": "Foo"}, {"item_name": "Bar"}], "q": "bar"},
            ),
            (
                "/items?q=bar&skip=1&limit=1",
                200,
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/io/CharSequenceReaderTest.java

        assertFullyRead(reader);
    
        // skip fully
        reader = new CharSequenceReader(charSequence);
        assertEquals(expected.length(), reader.skip(Long.MAX_VALUE));
        assertFullyRead(reader);
    
        // skip 5 and read the rest
        if (expected.length() > 5) {
          reader = new CharSequenceReader(charSequence);
          assertEquals(5, reader.skip(5));
    
          buf = new char[expected.length() - 5];
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/list_swigcxx.txt

    # go list should not report SWIG-generated C++ files in CompiledGoFiles.
    
    [!exec:swig] skip
    [!exec:g++] skip
    [!cgo] skip
    
    # CompiledGoFiles should contain 4 files:
    #  a.go
    #  _cgo_import.go [gc only]
    #  _cgo_gotypes.go
    #  a.cgo1.go
    #
    # These names we see here, other than a.go, will be from the build cache,
    # so we just count them.
    
    go list -f '{{.CompiledGoFiles}}' -compiled=true example/swig
    
    stdout a\.go
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 04:04:13 UTC 2024
    - 581 bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/cache_unix.txt

    env GO111MODULE=off
    
    # Integration test for cache directory calculation (cmd/go/internal/cache).
    
    [GOOS:windows] skip 'windows does not use XDG_CACHE_HOME'
    [GOOS:darwin]  skip 'darwin does not use XDG_CACHE_HOME'
    [GOOS:ios]     skip 'ios does not use XDG_CACHE_HOME'
    [GOOS:plan9]   skip 'plan9 does not use XDG_CACHE_HOME'
    
    mkdir $WORK/gocache
    mkdir $WORK/xdg
    mkdir $WORK/home
    
    # Set GOCACHE, XDG_CACHE_HOME, and HOME.
    env GOCACHE=$WORK/gocache
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 04 17:09:07 UTC 2023
    - 1010 bytes
    - Viewed (0)
Back to top