Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 206 for isopen (0.21 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Stream.kt

      /**
       * Returns true if this stream is open. A stream is open until either:
       *
       *  * A `SYN_RESET` frame abnormally terminates the stream.
       *  * Both input and output streams have transmitted all data and headers.
       *
       * Note that the input stream may continue to yield data even after a stream reports itself as
       * not open. This is because input data is buffered.
       */
      val isOpen: Boolean
        get() {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 23.2K bytes
    - Viewed (1)
  2. okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt

        }
        sink1.writeUtf8("def")
        sink1.close()
        assertFailsWith<ConnectionShutdownException> {
          connection.newStream(headerEntries("c", "cola"), true)
        }
        assertThat(stream1.isOpen).isTrue()
        assertThat(stream2.isOpen).isFalse()
        assertThat(connection.openStreamCount()).isEqualTo(1)
    
        // Verify the peer received what was expected.
        val synStream1 = peer.takeFrame()
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 75.4K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Connection.kt

            } else {
              writePing(false, INTERVAL_PING, 0)
              return@schedule pingIntervalNanos
            }
          }
        }
      }
    
      /**
       * Returns the number of [open streams][Http2Stream.isOpen] on this connection.
       */
      fun openStreamCount(): Int = this.withLock { streams.size }
    
      fun getStream(id: Int): Http2Stream? = this.withLock { streams[id] }
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 32.6K bytes
    - Viewed (0)
  4. src/main/webapp/js/admin/bootstrap.min.js.map

    Collapse._getTargetFromElement(element),\n        [element]\n      )\n    })\n\n    return parent\n  }\n\n  _addAriaAndCollapsedClass(element, triggerArray) {\n    const isOpen = $(element).hasClass(ClassName.SHOW)\n\n    if (triggerArray.length) {\n      $(triggerArray)\n        .toggleClass(ClassName.COLLAPSED, !isOpen)\n        .attr('aria-expanded', isOpen)\n    }\n  }\n\n  // Static\n\n  static _getTargetFromElement(element) {\n    const selector = Util.getSelectorFromElement(element)\n    return selector ?...
    Plain Text
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Fri Feb 07 10:28:50 GMT 2020
    - 185.8K bytes
    - Viewed (0)
  5. src/main/webapp/js/admin/adminlte.min.js.map

    }\n\n        if (!treeviewMenu.is(Selector.TREEVIEW_MENU)) {\n          return\n        }\n      }\n      \n      event.preventDefault()\n\n      const parentLi = $relativeTarget.parents(Selector.LI).first()\n      const isOpen   = parentLi.hasClass(ClassName.OPEN)\n\n      if (isOpen) {\n        this.collapse($(treeviewMenu), parentLi)\n      } else {\n        this.expand($(treeviewMenu), parentLi)\n      }\n    }\n\n    // Private\n\n    _setupListeners() {\n      $(document).on('click', this._config.trigger,...
    Plain Text
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Wed Feb 12 07:55:41 GMT 2020
    - 77K bytes
    - Viewed (1)
  6. src/main/webapp/js/bootstrap.min.js.map

    Collapse._getTargetFromElement(element),\n        [element]\n      )\n    })\n\n    return parent\n  }\n\n  _addAriaAndCollapsedClass(element, triggerArray) {\n    const isOpen = $(element).hasClass(ClassName.SHOW)\n\n    if (triggerArray.length) {\n      $(triggerArray)\n        .toggleClass(ClassName.COLLAPSED, !isOpen)\n        .attr('aria-expanded', isOpen)\n    }\n  }\n\n  // Static\n\n  static _getTargetFromElement(element) {\n    const selector = Util.getSelectorFromElement(element)\n    return selector ?...
    Plain Text
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Sat Jan 11 06:54:28 GMT 2020
    - 189.9K bytes
    - Viewed (0)
  7. okhttp-sse/api/okhttp-sse.api

    	public fun onEvent (Lokhttp3/sse/EventSource;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
    	public fun onFailure (Lokhttp3/sse/EventSource;Ljava/lang/Throwable;Lokhttp3/Response;)V
    	public fun onOpen (Lokhttp3/sse/EventSource;Lokhttp3/Response;)V
    }
    
    public final class okhttp3/sse/EventSources {
    	public static final field INSTANCE Lokhttp3/sse/EventSources;
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sun Dec 17 14:39:59 GMT 2023
    - 1.1K bytes
    - Viewed (0)
  8. okhttp-sse/src/main/kotlin/okhttp3/sse/EventSourceListener.kt

      /**
       * Invoked when an event source has been accepted by the remote peer and may begin transmitting
       * events.
       */
      open fun onOpen(
        eventSource: EventSource,
        response: Response,
      ) {
      }
    
      /**
       * TODO description.
       */
      open fun onEvent(
        eventSource: EventSource,
        id: String?,
        type: String?,
        data: String,
      ) {
      }
    
      /**
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.5K bytes
    - Viewed (1)
  9. okhttp-sse/src/main/kotlin/okhttp3/sse/internal/RealEventSource.kt

          val response = response.stripBody()
    
          val reader = ServerSentEventReader(body.source(), this)
          try {
            if (!canceled) {
              listener.onOpen(this, response)
              while (!canceled && reader.processNextEvent()) {
              }
            }
          } catch (e: Exception) {
            val exception =
              when {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  10. src/cmd/cgo/internal/swig/testdata/stdio/main.swig

    %typemap(gotype) const char * "string"
    %typemap(in) const char * %{
    	$1 = malloc($input.n + 1);
    	memcpy($1, $input.p, $input.n);
    	$1[$input.n] = '\0';
    %}
    %typemap(freearg) const char * %{
    	free($1);
    %}
    
    FILE *fopen(const char *name, const char *mode);
    int fclose(FILE *);
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:07 GMT 2023
    - 563 bytes
    - Viewed (0)
Back to top