Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 1,182 for was (0.07 sec)

  1. guava-tests/test/com/google/common/util/concurrent/ClosingFutureFinishToValueAndCloserTest.java

      private volatile ValueAndCloser<?> valueAndCloser;
    
      @Override
      protected void tearDown() throws Exception {
        super.tearDown();
        assertWithMessage("finishToValueAndCloserExecutor was shut down")
            .that(shutdownAndAwaitTermination(finishToValueAndCloserExecutor, 10, SECONDS))
            .isTrue();
      }
    
      public void testFinishToValueAndCloser_throwsIfCalledTwice() throws Exception {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_dependencies/test_tutorial008c_an.py

        assert response.json() == "plumbus"
    
    
    def test_fastapi_error(client: TestClient):
        with pytest.raises(FastAPIError) as exc_info:
            client.get("/items/portal-gun")
        assert "No response object was returned" in exc_info.value.args[0]
    
    
    def test_internal_server_error():
        from docs_src.dependencies.tutorial008c_an import app
    
        client = TestClient(app, raise_server_exceptions=False)
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Feb 24 23:06:37 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  3. docs/de/docs/advanced/events.md

    ## Lifespan
    
    Sie können diese Logik beim *Hochfahren* und *Herunterfahren* mithilfe des `lifespan`-Parameters der `FastAPI`-App und eines „Kontextmanagers“ definieren (ich zeige Ihnen gleich, was das ist).
    
    Beginnen wir mit einem Beispiel und sehen es uns dann im Detail an.
    
    Wir erstellen eine asynchrone Funktion `lifespan()` mit `yield` wie folgt:
    
    ```Python hl_lines="16  19"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  4. cni/pkg/install/install_test.go

    			} else if file.Exists(cniConfigFilePath) {
    				t.Fatalf("file %s was not deleted", c.configFilename)
    			}
    
    			// check if kubeconfig is deleted
    			if file.Exists(kubeConfigFilePath) {
    				t.Fatal("kubeconfig was not deleted")
    			}
    
    			// check if binaries are deleted
    			if file.Exists(filepath.Join(cniBinDir, "istio-cni")) {
    				t.Fatalf("File %s was not deleted", "istio-cni")
    			}
    		})
    	}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Jan 26 20:34:28 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  5. common-protos/k8s.io/api/storage/v1alpha1/generated.proto

    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    
    // This file was autogenerated by go-to-protobuf. Do not edit it manually!
    
    syntax = "proto2";
    
    package k8s.io.api.storage.v1alpha1;
    
    import "k8s.io/api/core/v1/generated.proto";
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/Interpolator.java

         *
         * @param val The string to be interpolated.
         * @param callback The function to resolve variable values.
         * @return The interpolated string, or null if the input was null.
         */
        @Nullable
        default String interpolate(@Nullable String val, @Nullable Function<String, String> callback) {
            return interpolate(val, callback, false);
        }
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Oct 17 09:25:53 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/PathType.java

        /**
         * Returns the unique name of this path type, including the module to patch if any.
         * For example, if this type is {@link JavaPathType#MODULES}, then this method returns {@code "MODULES"}.
         * But if this type was created by {@code JavaPathType.patchModule("foo.bar")}, then this method returns
         * {@code "PATCH_MODULE:foo.bar"}.
         *
         * @return the programmatic name together with the module name on which it applies
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Sat Sep 28 09:03:24 UTC 2024
    - 5K bytes
    - Viewed (0)
  8. tests/test_tutorial/test_dependencies/test_tutorial008c_an_py39.py

        assert response.json() == "plumbus"
    
    
    @needs_py39
    def test_fastapi_error(client: TestClient):
        with pytest.raises(FastAPIError) as exc_info:
            client.get("/items/portal-gun")
        assert "No response object was returned" in exc_info.value.args[0]
    
    
    @needs_py39
    def test_internal_server_error():
        from docs_src.dependencies.tutorial008c_an_py39 import app
    
        client = TestClient(app, raise_server_exceptions=False)
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Feb 24 23:06:37 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/MinMaxPriorityQueue.java

       * list with one before {@code index}. Under these circumstances it returns a pair of elements as
       * a {@link MoveDesc}. The first one is the element that was previously at the end of the heap and
       * is now at some position before {@code index}. The second element is the one that was swapped
       * down to replace the element at {@code index}. This fact is used by iterator.remove so as to
       * visit elements during a traversal once and only once.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/hash/SipHashFunction.java

     * or implied. See the License for the specific language governing permissions and limitations under
     * the License.
     */
    
    /*
     * SipHash-c-d was designed by Jean-Philippe Aumasson and Daniel J. Bernstein and is described in
     * "SipHash: a fast short-input PRF" (available at https://131002.net/siphash/siphash.pdf).
     */
    
    package com.google.common.hash;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 20 18:43:59 UTC 2021
    - 5.3K bytes
    - Viewed (0)
Back to top