Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 380 for Pearson (0.04 seconds)

  1. fastapi/exception_handlers.py

        )
    
    
    async def websocket_request_validation_exception_handler(
        websocket: WebSocket, exc: WebSocketRequestValidationError
    ) -> None:
        await websocket.close(
            code=WS_1008_POLICY_VIOLATION, reason=jsonable_encoder(exc.errors())
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Sep 16 17:21:48 GMT 2025
    - 1.2K bytes
    - Click Count (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/WebSocketListener.kt

        webSocket: WebSocket,
        code: Int,
        reason: String,
      ) {
      }
    
      /**
       * Invoked when both peers have indicated that no more messages will be transmitted and the
       * connection has been successfully released. No further calls to this listener will be made.
       */
      open fun onClosed(
        webSocket: WebSocket,
        code: Int,
        reason: String,
      ) {
      }
    
      /**
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 2K bytes
    - Click Count (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/WebSocket.kt

       *     [Section 7.4 of RFC 6455](http://tools.ietf.org/html/rfc6455#section-7.4).
       * @param reason Reason for shutting down, no longer than 123 bytes of UTF-8 encoded data (**not** characters) or null.
       * @throws IllegalArgumentException if [code] is invalid or [reason] is too long.
       */
      fun close(
        code: Int,
        reason: String?,
      ): Boolean
    
      /**
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 5.3K bytes
    - Click Count (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketReader.kt

          OPCODE_CONTROL_CLOSE -> {
            var code = CLOSE_NO_STATUS_CODE
            var reason = ""
            val bufferSize = controlFrameBuffer.size
            if (bufferSize == 1L) {
              throw ProtocolException("Malformed close payload length of 1.")
            } else if (bufferSize != 0L) {
              code = controlFrameBuffer.readShort().toInt()
              reason = controlFrameBuffer.readUtf8()
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Nov 04 16:11:23 GMT 2025
    - 10K bytes
    - Click Count (0)
  5. src/main/java/jcifs/internal/smb2/lock/Smb2LeaseBreakNotification.java

         * @return the new lease state
         */
        public int getNewLeaseState() {
            return newLeaseState;
        }
    
        /**
         * Gets the reason for the lease break
         * @return the break reason
         */
        public int getBreakReason() {
            return breakReason;
        }
    
        /**
         * Gets the lease flags from the notification
         * @return the lease flags
         */
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 23 02:21:31 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  6. samples/slack/src/main/java/okhttp3/slack/RtmSession.java

        System.out.println("onMessage: " + text);
      }
    
      @Override public void onClosing(WebSocket webSocket, int code, String reason) {
        webSocket.close(1000, null);
        System.out.println("onClose (" + code + "): " + reason);
      }
    
      @Override public void onFailure(WebSocket webSocket, Throwable t, Response response) {
        // TODO(jwilson): can I read the response body? Do I have to?
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Nov 19 20:16:58 GMT 2016
    - 2.4K bytes
    - Click Count (0)
  7. .github/ISSUE_TEMPLATE/02-pkgsite-removal.yml

            If the package path doesn't include your github username, please provide some other form of proof of ownership.
        validations:
          required: true
      - type: textarea
        id: retraction-reason
        attributes:
          label: "What is the reason that you could not retract this package instead?"
          description: |
            Requesting we remove a module here only hides the generated documentation on pkg.go.dev.
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Thu Jan 04 23:31:17 GMT 2024
    - 1.9K bytes
    - Click Count (0)
  8. tests/test_tutorial/test_query_params_str_validations/test_tutorial006c.py

        mod = importlib.import_module(
            f"docs_src.query_params_str_validations.{request.param}"
        )
        client = TestClient(mod.app)
        return client
    
    
    @pytest.mark.xfail(
        reason="Code example is not valid. See https://github.com/fastapi/fastapi/issues/12419"
    )
    def test_query_params_str_validations_no_query(client: TestClient):
        response = client.get("/items/")
        assert response.status_code == 200
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 5K bytes
    - Click Count (0)
  9. tests/test_ws_router.py

        myapp = make_app(middleware=[Middleware(errorhandler)])
        client = TestClient(myapp)
        with pytest.raises(WebSocketDisconnect) as e:
            with client.websocket_connect("/depends-err/"):
                pass  # pragma: no cover
        assert e.value.code == status.WS_1006_ABNORMAL_CLOSURE
        assert "NotImplementedError" in e.value.reason
    
    
    def test_depend_err_handler():
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Jun 11 19:08:14 GMT 2023
    - 7.5K bytes
    - Click Count (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/exception/MimeTypeException.java

         * @param cause the underlying cause of the exception
         */
        public MimeTypeException(final String message, final Throwable cause) {
            super(message, cause);
        }
    
        /**
         * Creates a new MimeTypeException with the specified detail message.
         *
         * @param message the detail message explaining the reason for the exception
         */
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Sun Jul 06 02:13:03 GMT 2025
    - 1.9K bytes
    - Click Count (0)
Back to Top