Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 114 for isFinite (0.36 seconds)

  1. tests/test_stream_cancellation.py

        cancelled = await _run_asgi_and_cancel(app, "/stream-raw", timeout=3.0)
        # The key assertion: we reached this line at all (didn't hang).
        # cancelled will be True because the infinite generator was interrupted.
        assert cancelled
    
    
    async def test_jsonl_stream_cancellation() -> None:
        """JSONL streaming endpoint should be cancellable within a reasonable time."""
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 27 18:56:47 GMT 2026
    - 2.7K bytes
    - Click Count (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/fs/FileSystemClient.java

        /** Helper for managing content length limits */
        @Resource
        protected ContentLengthHelper contentLengthHelper;
    
        /** Flag to track initialization status */
        protected AtomicBoolean isInit = new AtomicBoolean(false);
    
        /**
         * Constructs a new FileSystemClient.
         */
        public FileSystemClient() {
            // Default constructor
        }
    
        /*
         * (non-Javadoc)
         *
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Sun Nov 23 12:19:14 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/io/ByteSource.java

        }
    
        @Override
        public Optional<Long> sizeIfKnown() {
          if (!(sources instanceof Collection)) {
            // Infinite Iterables can cause problems here. Of course, it's true that most of the other
            // methods on this class also have potential problems with infinite  Iterables. But unlike
            // those, this method can cause issues even if the user is dealing with a (finite) slice()
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 08 18:35:13 GMT 2025
    - 25.7K bytes
    - Click Count (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/gcs/GcsClient.java

         */
        @Resource
        protected ContentLengthHelper contentLengthHelper;
    
        /**
         * Flag indicating whether the client has been initialized.
         */
        protected volatile boolean isInit = false;
    
        /**
         * The GCS Storage client instance for interacting with Google Cloud Storage.
         */
        protected Storage storage;
    
        /**
         * Creates a new GcsClient instance.
         */
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Thu Dec 11 08:38:29 GMT 2025
    - 17.5K bytes
    - Click Count (0)
  5. src/main/webapp/css/chat.css

    .status-lozenge.status-ready {
        background-color: #dfe1e6;
        color: #42526e;
    }
    
    .status-lozenge.status-thinking {
        background-color: #deebff;
        color: #0052cc;
        animation: lozenge-pulse 2s ease-in-out infinite;
    }
    
    .status-lozenge.status-error {
        background-color: #ffebe6;
        color: #de350b;
    }
    
    .status-lozenge.status-success {
        background-color: #e3fcef;
        color: #00875a;
    }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 06:21:57 GMT 2026
    - 19.4K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/reflect/TypeVisitor.java

     *   }
     * }.visit(type);
     * }
     *
     * <p>One {@code Type} is visited at most once. The second time the same type is visited, it's
     * ignored by {@link #visit}. This avoids infinite recursion caused by recursive type bounds.
     *
     * <p>This class is not thread safe.
     *
     * @author Ben Yu
     */
    abstract class TypeVisitor {
    
      private final Set<Type> visited = new HashSet<>();
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/SortedMapTestSuiteBuilder.java

            ? SortedSetTestSuiteBuilder.using((TestSortedSetGenerator<K>) keySetGenerator)
            : SetTestSuiteBuilder.using(keySetGenerator);
      }
    
      /**
       * To avoid infinite recursion, test suites with these marker features won't have derived suites
       * created for them.
       */
      enum NoRecurse implements Feature<@Nullable Void> {
        SUBMAP,
        DESCENDING;
    
        @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 5K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/AbstractIterator.java

      private @Nullable T next;
    
      /**
       * Returns the next element. <b>Note:</b> the implementation must call {@link #endOfData()} when
       * there are no elements left in the iteration. Failure to do so could result in an infinite loop.
       *
       * <p>The initial invocation of {@link #hasNext()} or {@link #next()} calls this method, as does
       * the first invocation of {@code hasNext} or {@code next} following each successful call to
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/MessageDeflaterInflaterTest.kt

        assertThat(inflater.inflate(message)).isEqualTo("Hello inflation!".encodeUtf8())
      }
    
      /**
       * We had a bug where self-finishing inflater streams would infinite loop!
       * https://github.com/square/okhttp/issues/8078
       */
      @Test fun `inflate returns finished before bytesRead reaches input length`() {
        val inflater = MessageInflater(false)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Sep 21 06:26:07 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  10. docs/en/docs/tutorial/stream-json-lines.md

        Client->>Client: Process Item 2
        App->>Client: Send Item 3
        Client->>Client: Process Item 3
        Note over App: Keeps producing...
        Note over Client: Keeps consuming...
    ```
    
    It could even be an infinite stream, where you keep sending data.
    
    ## JSON Lines { #json-lines }
    
    In these cases, it's common to send "**JSON Lines**", which is a format where you send one JSON object per line.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 4.3K bytes
    - Click Count (0)
Back to Top