Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for removeStream (0.08 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt

       */
      fun openStreamCount(): Int = withLock { streams.size }
    
      fun getStream(id: Int): Http2Stream? = withLock { streams[id] }
    
      internal fun removeStream(streamId: Int): Http2Stream? {
        withLock {
          val stream = streams.remove(streamId)
    
          // The removed stream may be blocked on a connection-wide window update.
          notifyAll()
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 31.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/NotifyResponseTest.java

            when(addedStream.getFileName()).thenReturn("file.txt:stream");
    
            FileNotifyInformation removedStream = mock(FileNotifyInformation.class);
            when(removedStream.getAction()).thenReturn(FileNotifyInformation.FILE_ACTION_REMOVED_STREAM);
            when(removedStream.getFileName()).thenReturn("file.txt:removedstream");
    
            FileNotifyInformation modifiedStream = mock(FileNotifyInformation.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21.2K bytes
    - Viewed (0)
Back to top