Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 4 of 4 for finishLine (0.14 seconds)

  1. android/guava/src/com/google/common/io/LineBuffer.java

          if (finishLine(cbuf[pos] == '\n')) {
            pos++;
          }
        }
    
        int start = pos;
        for (int end = off + len; pos < end; pos++) {
          switch (cbuf[pos]) {
            case '\r':
              line.append(cbuf, start, pos - start);
              sawReturn = true;
              if (pos + 1 < end) {
                if (finishLine(cbuf[pos + 1] == '\n')) {
                  pos++;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Jan 18 02:54:30 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  2. android/guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java

        exec.awaitTermination(100, MILLISECONDS);
      }
    
      /**
       * Tests that all listeners complete, even if they were added before or after the future was
       * finishing. Also acts as a concurrency test to make sure the locking is done correctly when a
       * future is finishing so that no listeners can be lost.
       */
      public void testAllListenersCompleteSuccessfully()
          throws InterruptedException, ExecutionException {
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Jul 11 18:52:30 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  3. guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java

        exec.awaitTermination(100, MILLISECONDS);
      }
    
      /**
       * Tests that all listeners complete, even if they were added before or after the future was
       * finishing. Also acts as a concurrency test to make sure the locking is done correctly when a
       * future is finishing so that no listeners can be lost.
       */
      public void testAllListenersCompleteSuccessfully()
          throws InterruptedException, ExecutionException {
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Jul 11 18:52:30 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/MessageDeflaterInflaterTest.kt

        val message = "f248cdc9c957c8cc4bcb492cc9cccf530400".decodeHex()
        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)
Back to Top