Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for prematurely (0.14 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt

       *
       * If the response body was successfully read until the end, this is the headers that followed,
       * or empty headers if there were none that followed.
       *
       * If the response body was closed prematurely or failed with an error, this will be the sentinel
       * value [TRAILERS_RESPONSE_BODY_TRUNCATED]. In that case attempts to read the trailers should not
       * return the value but instead throw an exception.
       */
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

        MinMaxPriorityQueue<Integer> mmHeap = MinMaxPriorityQueue.create();
        mmHeap.addAll(Lists.newArrayList(1, 2));
        Iterator<Integer> it = mmHeap.iterator();
        assertTrue("Iterator has reached end prematurely", it.hasNext());
        it.next();
        it.next();
        assertThrows(NoSuchElementException.class, () -> it.next());
      }
    
      public void testIteratorConcurrentModification() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 36K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbRandomAccessFileTest.java

            doReturn(-1).when(raf).read(any(byte[].class), anyInt(), eq(1));
            assertEquals(-1, raf.read());
        }
    
        @Test
        @DisplayName("readFully(): throws SmbEndOfFileException on premature EOF")
        void readFully_throws_onEOF() throws Exception {
            SmbRandomAccessFile raf = spy(newInstance("r", false, false, false));
            doReturn(-1).when(raf).read(any(byte[].class), anyInt(), anyInt());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  4. mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt

          // treats an incomplete response body as a ProtocolException.
        } catch (ioe: IOException) {
          // Change in https://bugs.openjdk.org/browse/JDK-8335135
          assertThat(ioe.message).isEqualTo("Premature EOF")
        }
      }
    
      private fun headersToList(response: MockResponse): List<String> {
        val headers = response.headers
        val size = headers.size
        val headerList: MutableList<String> = ArrayList(size)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 03 13:16:34 UTC 2025
    - 22.3K bytes
    - Viewed (0)
  5. mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt

          // treats an incomplete response body as a ProtocolException.
        } catch (ioe: IOException) {
          // Change in https://bugs.openjdk.org/browse/JDK-8335135
          assertThat(ioe.message).isEqualTo("Premature EOF")
        }
      }
    
      private fun headersToList(response: MockResponse.Builder): List<String> {
        val headers = response.build().headers
        return headers.map { (key, value) -> "$key: $value" }.toList()
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Aug 03 22:38:00 UTC 2025
    - 28K bytes
    - Viewed (0)
Back to top