Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 4,605 for statx (0.09 sec)

  1. tests/test_dependency_contextmanager.py

        finally:
            state["context_a"] = "finished a"
    
    
    async def context_b(state: dict = Depends(context_a)):
        state["context_b"] = "started b"
        try:
            yield state
        finally:
            state["context_b"] = f"finished b with a: {state['context_a']}"
    
    
    @app.get("/async")
    async def get_async(state: str = Depends(asyncgen_state)):
        return state
    
    
    @app.get("/sync")
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Feb 24 23:06:37 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/main/java/org/gradle/internal/resolve/result/DefaultBuildableModuleComponentMetaDataResolveResult.java

        private State state = State.Unknown;
        private ModuleVersionResolveException failure;
        private T metaData;
        private boolean authoritative;
    
        private void reset(State state) {
            this.state = state;
            metaData = null;
            failure = null;
            authoritative = false;
        }
    
        public void reset() {
            reset(State.Unknown);
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  3. src/encoding/gob/decgen.go

    	{
    		"bool",
    		"Bool",
    		`slice[i] = state.decodeUint() != 0`,
    	},
    	{
    		"complex64",
    		"Complex64",
    		`real := float32FromBits(state.decodeUint(), ovfl)
    		imag := float32FromBits(state.decodeUint(), ovfl)
    		slice[i] = complex(float32(real), float32(imag))`,
    	},
    	{
    		"complex128",
    		"Complex128",
    		`real := float64FromBits(state.decodeUint())
    		imag := float64FromBits(state.decodeUint())
    		slice[i] = complex(real, imag)`,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 20 14:15:38 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  4. pkg/volume/secret/secret_test.go

    	if err == nil {
    		t.Errorf("Expected error while setting up secret")
    	}
    
    	_, err = os.Stat(volumePath)
    	if err == nil {
    		t.Errorf("Expected path %s to not exist", volumePath)
    	}
    }
    
    // Test the case where the plugin's ready file exists, but the volume dir is not a
    // mountpoint, which is the state the system will be in after reboot.  The dir
    // should be mounter and the secret data written to it.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 01 15:56:32 UTC 2022
    - 19.5K bytes
    - Viewed (0)
  5. tests/test_router_events.py

        app.include_router(router)
    
        assert state.app_startup is False
        assert state.router_startup is False
        assert state.sub_router_startup is False
        assert state.app_shutdown is False
        assert state.router_shutdown is False
        assert state.sub_router_shutdown is False
        with TestClient(app) as client:
            assert state.app_startup is True
            assert state.router_startup is True
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Wed Oct 18 12:36:40 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  6. pkg/kubelet/stats/cri_stats_provider_windows.go

    	}
    	if stats.Memory != nil {
    		result.Memory.Time = metav1.NewTime(time.Unix(0, stats.Memory.Timestamp))
    		if stats.Memory.WorkingSetBytes != nil {
    			result.Memory.WorkingSetBytes = &stats.Memory.WorkingSetBytes.Value
    		}
    		if stats.Memory.AvailableBytes != nil {
    			result.Memory.AvailableBytes = &stats.Memory.AvailableBytes.Value
    		}
    		if stats.Memory.PageFaults != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Feb 18 07:03:11 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  7. subprojects/core/src/main/java/org/gradle/internal/model/StateTransitionController.java

         */
        public void assertNotInState(T forbidden) {
            if (state.state == forbidden) {
                throw new IllegalStateException(displayName.getCapitalizedDisplayName() + " should not be in state " + forbidden + ".");
            }
        }
    
        /**
         * Verifies that the current state is the given state or some later state. Ignores any transition in progress and failures of previous operations.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 03 03:31:44 UTC 2023
    - 20.9K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/core/ModelReferenceTest.groovy

            reference.untyped
            reference.state == ModelNode.State.GraphClosed
        }
    
        def "path only"() {
            expect:
            def reference = ModelReference.of("some.path")
            reference.scope == null
            reference.path == ModelPath.path("some.path")
            reference.type == ModelType.of(Object)
            reference.untyped
            reference.state == ModelNode.State.GraphClosed
        }
    
        def "type only"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  9. src/html/template/escape_test.go

    			context{state: stateHTMLCmt},
    		},
    		{
    			`<!--->`,
    			context{state: stateHTMLCmt},
    		},
    		{
    			`<!-- foo -->`,
    			context{state: stateText},
    		},
    		{
    			`<script`,
    			context{state: stateTag, element: elementScript},
    		},
    		{
    			`<script `,
    			context{state: stateTag, element: elementScript},
    		},
    		{
    			`<script src="foo.js" `,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 16 03:29:27 UTC 2023
    - 56.2K bytes
    - Viewed (0)
  10. .teamcity/pluginData/Check/plugin-settings.xml

          <states>
            <state type="buildAddedToQueue" enabled="false" />
            <state type="buildRemovedFromQueue" enabled="true" />
            <state type="buildStarted" enabled="true" />
            <state type="changesLoaded" enabled="true" />
            <state type="buildInterrupted" enabled="true" />
            <state type="beforeBuildFinish" enabled="false" />
            <state type="buildFinished" enabled="true" />
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 18 02:15:16 UTC 2021
    - 2.2K bytes
    - Viewed (0)
Back to top