Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 732 for MARK (0.04 sec)

  1. tests/test_tutorial/test_dependencies/test_tutorial004_an_py39.py

    
    @pytest.fixture(name="client")
    def get_client():
        from docs_src.dependencies.tutorial004_an_py39 import app
    
        client = TestClient(app)
        return client
    
    
    @needs_py39
    @pytest.mark.parametrize(
        "path,expected_status,expected_response",
        [
            (
                "/items",
                200,
                {
                    "items": [
                        {"item_name": "Foo"},
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  2. pilot/pkg/serviceregistry/kube/controller/ambient/services.go

    		}
    		waypointKey := ""
    		waypoint := fetchWaypointForService(ctx, Waypoints, Namespaces, s.ObjectMeta)
    		if waypoint != nil {
    			waypointKey = waypoint.ResourceName()
    		}
    		a.networkUpdateTrigger.MarkDependant(ctx) // Mark we depend on out of band a.Network
    		return &model.ServiceInfo{
    			Service:       a.constructService(s, waypoint),
    			PortNames:     portNames,
    			LabelSelector: model.NewSelector(s.Spec.Selector),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 05 12:29:55 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  3. tests/test_custom_route_class.py

    
    router_b.include_router(router=router_c, prefix="/c")
    router_a.include_router(router=router_b, prefix="/b")
    app.include_router(router=router_a, prefix="/a")
    
    
    client = TestClient(app)
    
    
    @pytest.mark.parametrize(
        "path,expected_status,expected_response",
        [
            ("/a", 200, {"msg": "A"}),
            ("/a/b", 200, {"msg": "B"}),
            ("/a/b/c", 200, {"msg": "C"}),
        ],
    )
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_response_model/test_tutorial004.py

    import pytest
    from dirty_equals import IsDict, IsOneOf
    from fastapi.testclient import TestClient
    
    from docs_src.response_model.tutorial004 import app
    
    client = TestClient(app)
    
    
    @pytest.mark.parametrize(
        "url,data",
        [
            ("/items/foo", {"name": "Foo", "price": 50.2}),
            (
                "/items/bar",
                {"name": "Bar", "description": "The bartenders", "price": 62, "tax": 20.2},
            ),
            (
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Aug 04 20:47:07 UTC 2023
    - 5K bytes
    - Viewed (0)
  5. src/cmd/cgo/internal/test/issue9400_linux.go

    	}
    
    	// Disable GC for the duration of the test.
    	// This avoids a potential GC deadlock when spinning in uninterruptible ASM below #49695.
    	defer debug.SetGCPercent(debug.SetGCPercent(-1))
    	// SetGCPercent waits until the mark phase is over, but the runtime
    	// also preempts at the start of the sweep phase, so make sure that's
    	// done too. See #49695.
    	runtime.GC()
    
    	// Temporarily rewind the stack and trigger SIGSETXID
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jul 18 19:55:29 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_dependencies/test_tutorial004_py310.py

    
    @pytest.fixture(name="client")
    def get_client():
        from docs_src.dependencies.tutorial004_py310 import app
    
        client = TestClient(app)
        return client
    
    
    @needs_py310
    @pytest.mark.parametrize(
        "path,expected_status,expected_response",
        [
            (
                "/items",
                200,
                {
                    "items": [
                        {"item_name": "Foo"},
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  7. src/runtime/extern.go

    	never recycled.
    
    	gccheckmark: setting gccheckmark=1 enables verification of the
    	garbage collector's concurrent mark phase by performing a
    	second mark pass while the world is stopped.  If the second
    	pass finds a reachable object that was not found by concurrent
    	mark, the garbage collector will panic.
    
    	gcpacertrace: setting gcpacertrace=1 causes the garbage collector to
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  8. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r67/ToolingApiEclipseModelUnresolvedDependenciesCrossVersionSpec.groovy

                    implementation 'org.example:lib:1.0'
                    implementation 'org.example:does not exist:1.0'
                }
            """
        }
    
        @TargetGradleVersion("=6.6")
        def "Older Gradle versions mark all dependencies as resolved"() {
            when:
            def project = loadToolingModel(EclipseProject)
            def allDependencies = project.classpath
    
            then:
            allDependencies.size() == 2
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_response_model/test_tutorial004_py310.py

    
    @pytest.fixture(name="client")
    def get_client():
        from docs_src.response_model.tutorial004_py310 import app
    
        client = TestClient(app)
        return client
    
    
    @needs_py310
    @pytest.mark.parametrize(
        "url,data",
        [
            ("/items/foo", {"name": "Foo", "price": 50.2}),
            (
                "/items/bar",
                {"name": "Bar", "description": "The bartenders", "price": 62, "tax": 20.2},
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Aug 04 20:47:07 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  10. src/runtime/mbarrier.go

    // the slot doesn't concurrently change color without the mutator
    // noticing seems prohibitive.
    //
    // Consider the following example where the mutator writes into
    // a slot and then loads the slot's mark bit while the GC thread
    // writes to the slot's mark bit and then as part of scanning reads
    // the slot.
    //
    // Initially both [slot] and [slotmark] are 0 (nil)
    // Mutator thread          GC thread
    // st [slot], ptr          st [slotmark], 1
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 15.7K bytes
    - Viewed (0)
Back to top