Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for finalizar (0.04 sec)

  1. docs/pt/docs/async.md

    Então você vai ao balcão 🔀, para a tarefa inicial que agora está finalizada⏯, pega os hambúrgueres, agradece, e leva-os para a mesa. Isso finaliza esse passo / tarefa da interação com o balcão ⏹. Isso, por sua vez, cria uma nova tarefa, a de "comer hambúrgueres" 🔀 ⏯, mas a tarefa anterior de "pegar os hambúrgueres" já está finalizada ⏹.
    
    ### Hambúrgueres paralelos
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:56:21 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  2. docs/es/docs/tutorial/dependencies/dependencies-with-yield.md

    # Dependencias con yield
    
    FastAPI admite dependencias que realizan algunos <abbr title='sometimes also called "exit code", "cleanup code", "teardown code", "closing code", "context manager exit code", etc.'>pasos adicionales después de finalizar</abbr>.
    
    Para hacer esto, usa `yield` en lugar de `return` y escribe los pasos adicionales (código) después.
    
    /// tip | Consejo
    
    Asegúrate de usar `yield` una sola vez por dependencia.
    
    ///
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 13K bytes
    - Viewed (0)
  3. docs/pt/docs/tutorial/handling-errors.md

    O benefício de lançar uma exceção em vez de retornar um valor ficará mais evidente na seção sobre Dependências e Segurança.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  4. docs/es/docs/advanced/custom-response.md

        Al hacerlo de esta manera, podemos ponerlo en un bloque `with`, y de esa manera, asegurarnos de que el objeto similar a un archivo se cierre después de finalizar.
    
    /// tip | Consejo
    
    Nota que aquí como estamos usando `open()` estándar que no admite `async` y `await`, declaramos el path operation con `def` normal.
    
    ///
    
    ### `FileResponse`
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  5. docs/pt/docs/tutorial/dependencies/dependencies-with-yield.md

    Para fazer isso, utilize `yield` em vez de `return`, e escreva os passos extras (código) depois.
    
    /// tip | Dica
    
    Garanta que `yield` é utilizado apenas uma vez.
    
    ///
    
    /// note | Detalhes Técnicos
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/testing/GcFinalization.java

       * separate method to make it somewhat more likely to be unreachable.
       */
      private static void createUnreachableLatchFinalizer(CountDownLatch latch) {
        Object unused =
            new Object() {
              @SuppressWarnings({"removal", "Finalize"}) // b/260137033
              @Override
              protected void finalize() {
                latch.countDown();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/testing/GcFinalization.java

       * separate method to make it somewhat more likely to be unreachable.
       */
      private static void createUnreachableLatchFinalizer(CountDownLatch latch) {
        Object unused =
            new Object() {
              @SuppressWarnings({"removal", "Finalize"}) // b/260137033
              @Override
              protected void finalize() {
                latch.countDown();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/PreauthIntegrityService.java

        }
    
        /**
         * Finalizes and removes the preauth integrity context for a session.
         *
         * @param sessionId the session identifier
         */
        public void finalizeSession(String sessionId) {
            PreauthIntegrityContext context = sessionContexts.remove(sessionId);
            if (context != null) {
                context.invalidate();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbFileHandleImplTest.java

        }
    
        @Test
        @DisplayName("finalize() logs a warning when not closed (no exception)")
        void finalize_logsWhenNotClosed() throws Throwable {
            when(cfg.isTraceResourceUsage()).thenReturn(true); // exercise backtrace branch
            stubValidTree(2L, true, true);
            SmbFileHandleImpl h = new SmbFileHandleImpl(cfg, 1, tree, "//host/share", 0, 0, 0, 0, 0L);
            // Calling finalize directly to execute the logic; should not throw
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbTreeImpl.java

            System.arraycopy(stackTrace, s, res, 0, e - s);
            return res;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see java.lang.Object#finalize()
         */
        @Override
        protected void finalize() throws Throwable {
            try {
                if (isConnected() && this.usageCount.get() != 0) {
                    log.warn("Tree was not properly released, performing emergency cleanup: " + this);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30K bytes
    - Viewed (0)
Back to top