Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for isFinished (0.1 sec)

  1. src/main/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReader.java

        }
    
        @Override
        public synchronized Map<String, Object> read() {
            while (!isFinished.get() && queue.isEmpty()) {
                addDocumentToQueue();
            }
    
            return queue.poll();
        }
    
        @Override
        public void close() {
            isFinished.set(true);
            queue.clear();
        }
    
        public void setScrollSize(final int scrollSize) {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/DataIndexHelper.java

                } catch (final Exception e) {
                    logger.error("Could not delete old docs at {}", dataConfig, e);
                }
            }
    
            public boolean isFinished() {
                return finished;
            }
    
            public void stopCrawling() {
                if (dataStore != null) {
                    dataStore.stop();
                }
            }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 12K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/internal/http2/MockHttp2Peer.kt

          this.type = Http2.TYPE_SETTINGS
          this.ack = true
        }
    
        override fun headers(
          inFinished: Boolean,
          streamId: Int,
          associatedStreamId: Int,
          headerBlock: List<Header>,
        ) {
          check(type == -1)
          this.type = Http2.TYPE_HEADERS
          this.inFinished = inFinished
          this.streamId = streamId
          this.associatedStreamId = associatedStreamId
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Connection.kt

          if (inFinished) {
            dataStream.receiveHeaders(EMPTY_HEADERS, true)
          }
        }
    
        override fun headers(
          inFinished: Boolean,
          streamId: Int,
          associatedStreamId: Int,
          headerBlock: List<Header>,
        ) {
          if (pushedStream(streamId)) {
            pushHeadersLater(streamId, headerBlock, inFinished)
            return
          }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/internal/http2/Http2Test.kt

        reader.nextFrame(
          requireSettings = false,
          object : BaseTestHandler() {
            override fun headers(
              inFinished: Boolean,
              streamId: Int,
              associatedStreamId: Int,
              headerBlock: List<Header>,
            ) {
              assertThat(inFinished).isTrue()
              assertThat(streamId).isEqualTo(expectedStreamId)
              assertThat(associatedStreamId).isEqualTo(-1)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/internal/http2/BaseTestHandler.kt

    import okio.BufferedSource
    import okio.ByteString
    
    internal open class BaseTestHandler : Http2Reader.Handler {
      override fun data(
        inFinished: Boolean,
        streamId: Int,
        source: BufferedSource,
        length: Int,
      ) {
        fail("")
      }
    
      override fun headers(
        inFinished: Boolean,
        streamId: Int,
        associatedStreamId: Int,
        headerBlock: List<Header>,
      ) {
        fail("")
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Reader.kt

        @Throws(IOException::class)
        fun data(
          inFinished: Boolean,
          streamId: Int,
          source: BufferedSource,
          length: Int,
        )
    
        /**
         * Create or update incoming headers, creating the corresponding streams if necessary. Frames
         * that trigger this are HEADERS and PUSH_PROMISE.
         *
         * @param inFinished true if the sender will not send further frames.
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Stream.kt

    import okio.Timeout
    
    /** A logical bidirectional stream. */
    @Suppress("NAME_SHADOWING")
    class Http2Stream internal constructor(
      val id: Int,
      val connection: Http2Connection,
      outFinished: Boolean,
      inFinished: Boolean,
      headers: Headers?,
    ) {
      internal val lock: ReentrantLock = ReentrantLock()
      val condition: Condition = lock.newCondition()
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt

        assertThat(data1.streamId).isEqualTo(3)
        assertArrayEquals("abcdefghi".toByteArray(), data1.data)
        assertThat(data1.inFinished).isFalse()
        val headers2 = peer.takeFrame()
        assertThat(headers2.type).isEqualTo(Http2.TYPE_HEADERS)
        assertThat(headers2.inFinished).isTrue()
      }
    
      @Test fun clientCannotReadTrailersWithoutExhaustingStream() {
        // Write the mocking script.
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 75.4K bytes
    - Viewed (0)
Back to top