Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 106 for terminator (0.22 seconds)

  1. fastapi/sse.py

                """
            ),
        ] = None,
    ) -> bytes:
        """Build SSE wire-format bytes from **pre-serialized** data.
    
        The result always ends with `\n\n` (the event terminator).
        """
        lines: list[str] = []
    
        if comment is not None:
            for line in comment.splitlines():
                lines.append(f": {line}")
    
        if event is not None:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 01 09:21:52 GMT 2026
    - 6.2K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/MapMakerInternalMap.java

        void readEntries(ObjectInputStream in) throws IOException, ClassNotFoundException {
          while (true) {
            K key = (K) in.readObject();
            if (key == null) {
              break; // terminator
            }
            V value = (V) in.readObject();
            delegate.put(key, value);
          }
        }
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 89.9K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

        void readEntries(ObjectInputStream in) throws IOException, ClassNotFoundException {
          while (true) {
            K key = (K) in.readObject();
            if (key == null) {
              break; // terminator
            }
            V value = (V) in.readObject();
            delegate.put(key, value);
          }
        }
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 89.9K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

        } finally {
          if (t.getState() != Thread.State.TERMINATED) {
            t.interrupt();
            fail("Test timed out");
          }
        }
      }
    
      /**
       * Waits for LONG_DELAY_MS milliseconds for the thread to terminate (using {@link
       * Thread#join(long)}), else interrupts the thread (in the hope that it may terminate later) and
       * fails.
       */
      final void awaitTermination(Thread t) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 02:20:33 GMT 2026
    - 8.8K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

        } finally {
          if (t.getState() != Thread.State.TERMINATED) {
            t.interrupt();
            fail("Test timed out");
          }
        }
      }
    
      /**
       * Waits for LONG_DELAY_MS milliseconds for the thread to terminate (using {@link
       * Thread#join(long)}), else interrupts the thread (in the hope that it may terminate later) and
       * fails.
       */
      final void awaitTermination(Thread t) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 02:20:33 GMT 2026
    - 8.8K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/util/concurrent/MoreExecutors.java

       *   <li>awaits executor service termination for half of the specified timeout.
       *   <li>if the timeout expires, it calls {@link ExecutorService#shutdownNow()}, cancelling
       *       pending tasks and interrupting running tasks.
       *   <li>awaits executor service termination for the other half of the specified timeout.
       * </ol>
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jan 28 22:39:02 GMT 2026
    - 45.6K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

         * State#FAILED fail}/{@linkplain State#TERMINATED terminate} before all other services have
         * started {@linkplain State#RUNNING running} then this method will not be called.
         */
        public void healthy() {}
    
        /**
         * Called when the all of the component services have reached a terminal state, either
         * {@linkplain State#TERMINATED terminated} or {@linkplain State#FAILED failed}.
         */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 33.2K bytes
    - Click Count (1)
  8. android/guava/src/com/google/common/io/CharSource.java

       *
       * <p>Like {@link BufferedReader#readLine()}, this method considers a line to be a sequence of
       * text that is terminated by (but does not include) one of {@code \r\n}, {@code \r} or {@code
       * \n}. If the source's content does not end in a line termination sequence, it is treated as if
       * it does.
       *
       * <p>The caller is responsible for ensuring that the returned stream is closed. For example:
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 25.7K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/it/CrawlTestBase.java

                fail(); // Time Out
            }
    
            logger.info("Crawler is running");
            count = 0;
            isRunning = true;
            sleepTime = 100; // Reset to 100ms for termination wait
    
            // Wait until the crawler terminates (with exponential backoff)
            while (count < 3000 && isRunning) {
                ThreadUtil.sleep(sleepTime);
                count++;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 10.6K bytes
    - Click Count (0)
  10. docs/pt/docs/advanced/events.md

    A primeira parte da função, antes do `yield`, será executada **antes** de a aplicação iniciar.
    
    E a parte posterior ao `yield` será executada **depois** de a aplicação ter terminado.
    
    ### Gerenciador de contexto assíncrono { #async-context-manager }
    
    Se você verificar, a função está decorada com um `@asynccontextmanager`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 8.7K bytes
    - Click Count (0)
Back to Top