Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 340 for sure (0.02 sec)

  1. android/guava-tests/test/com/google/common/io/CloseablesTest.java

        // make sure that no exception is thrown regardless of value of
        // 'swallowException' when the mock does not throw an exception.
        setupCloseable(false);
        doClose(mockCloseable, false, false);
    
        setupCloseable(false);
        doClose(mockCloseable, true, false);
      }
    
      public void testClose_closeableWithEatenException() throws IOException {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/dependencies/dependencies-with-yield.md

    In the same way, you can use `finally` to make sure the exit steps are executed, no matter if there was an exception or not.
    
    {* ../../docs_src/dependencies/tutorial007_py39.py hl[3,5] *}
    
    ## Sub-dependencies with `yield` { #sub-dependencies-with-yield }
    
    You can have sub-dependencies and "trees" of sub-dependencies of any size and shape, and any or all of them can use `yield`.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/request-forms.md

    When you need to receive form fields instead of JSON, you can use `Form`.
    
    /// info
    
    To use forms, first install <a href="https://github.com/Kludex/python-multipart" class="external-link" target="_blank">`python-multipart`</a>.
    
    Make sure you create a [virtual environment](../virtual-environments.md){.internal-link target=_blank}, activate it, and then install it, for example:
    
    ```console
    $ pip install python-multipart
    ```
    
    ///
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  4. docs/en/docs/help-fastapi.md

        * Make sure you add your link to the start of the corresponding section.
    * To help [translate the documentation](contributing.md#translations){.internal-link target=_blank} to your language.
        * You can also help to review the translations created by others.
    * To propose new documentation sections.
    * To fix an existing issue/bug.
        * Make sure to add tests.
    * To add a new feature.
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 14K bytes
    - Viewed (0)
  5. docs/en/docs/how-to/migrate-from-pydantic-v1-to-pydantic-v2.md

    You can read it to understand better what has changed.
    
    ## Tests { #tests }
    
    Make sure you have [tests](../tutorial/testing.md){.internal-link target=_blank} for your app and you run them on continuous integration (CI).
    
    This way, you can do the upgrade and make sure everything is still working as expected.
    
    ## `bump-pydantic` { #bump-pydantic }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  6. okhttp/src/androidMain/kotlin/okhttp3/OkHttp.android.kt

       * may expand in the future.
       */
      fun initialize(applicationContext: Context) {
        if (PlatformRegistry.applicationContext == null) {
          // Make sure we aren't using an Activity or Service Context
          PlatformRegistry.applicationContext = applicationContext.applicationContext
        }
      }
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon Jul 28 07:33:49 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/AbstractRepositoryMetadata.java

            // TODO not sure that it should assume this, maybe the calls to addMetadata should pre-merge, then artifact
            // replaces?
            AbstractRepositoryMetadata repoMetadata = (AbstractRepositoryMetadata) metadata;
            this.metadata.merge(repoMetadata.getMetadata());
        }
    
        @Override
        public void merge(ArtifactMetadata metadata) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java

        latch = new CountDownLatch(1);
        future = createListenableFuture(Boolean.TRUE, null, latch);
      }
    
      @Override
      protected void tearDown() throws Exception {
    
        // Make sure we have no waiting threads.
        latch.countDown();
      }
    
      /** Constructs a listenable future with a value available after the latch has counted down. */
      protected abstract <V> ListenableFuture<V> createListenableFuture(
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  9. compat/maven-embedder/src/test/java/org/apache/maven/cli/transfer/SimplexTransferListenerTest.java

            // for technical reasons we cannot throw here, even if delegate does cancel transfer
            listener.transferInitiated(event(session, resource, TransferEvent.EventType.INITIATED));
    
            Thread.sleep(500); // to make sure queue is processed, cancellation applied
    
            // subsequent call will cancel
            assertThrows(
                    TransferCancelledException.class,
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sun Dec 01 19:41:22 UTC 2024
    - 5K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/io/FileBackedOutputStreamAndroidIncompatibleTest.java

        write(out, data, 0, 100, true);
        File file = out.getFile();
        assertEquals(100, file.length());
        assertTrue(file.exists());
        out.close();
    
        // Make sure that finalize deletes the file
        out = null;
    
        // times out and throws RuntimeException on failure
        GcFinalization.awaitDone(
            new GcFinalization.FinalizationPredicate() {
              @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 1.7K bytes
    - Viewed (0)
Back to top