Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 91 - 100 of 653 for 1020 (0.02 seconds)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/RealWebSocket.kt

              val extensions = WebSocketExtensions.parse(response.headers)
              ******@****.***ions = extensions
              if (!extensions.isValid()) {
                synchronized(this@RealWebSocket) {
                  messageAndCloseQueue.clear() // Don't transmit any messages.
                  close(1010, "unexpected Sec-WebSocket-Extensions in response header")
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Thu Jul 31 04:18:40 GMT 2025
    - 21.6K bytes
    - Click Count (0)
  2. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/util/ConsoleTransferListener.java

        }
    
        private String getStatus(long complete, long total) {
            if (total >= 1024) {
                return toKB(complete) + "/" + toKB(total) + " KB ";
            } else if (total >= 0) {
                return complete + "/" + total + " B ";
            } else if (complete >= 1024) {
                return toKB(complete) + " KB ";
            } else {
                return complete + " B ";
            }
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 5.5K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/core/convert/IntegerConversionUtilTest.java

        /**
         * @throws Exception
         */
        public void testToInteger() throws Exception {
            assertEquals(Integer.valueOf("1000"), IntegerConversionUtil.toInteger("1,000"));
        }
    
        /**
         * @throws Exception
         */
        public void testToPrimitiveInt() throws Exception {
            assertEquals(1000, IntegerConversionUtil.toPrimitiveInt("1,000"));
        }
    
        /**
         * @throws Exception
         */
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Fri Jun 20 13:40:57 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  4. samples/guide/src/main/java/okhttp3/recipes/WebSocketEcho.java

      }
    
      @Override public void onOpen(WebSocket webSocket, Response response) {
        webSocket.send("Hello...");
        webSocket.send("...World!");
        webSocket.send(ByteString.decodeHex("deadbeef"));
        webSocket.close(1000, "Goodbye, World!");
      }
    
      @Override public void onMessage(WebSocket webSocket, String text) {
        System.out.println("MESSAGE: " + text);
      }
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Thu Apr 04 11:40:21 GMT 2024
    - 1.6K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/reqheader/CreateForm.java

         */
        @Required
        @Size(max = 100)
        public String name;
    
        /**
         * The value of the request header.
         */
        @Required
        @Size(max = 1000)
        public String value;
    
        /**
         * The web configuration ID associated with this request header.
         */
        @Required
        @Size(max = 1000)
        public String webConfigId;
    
        /**
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/searchlist/DeleteForm.java

        public DeleteForm() {
            // Default constructor with explicit documentation
        }
    
        /**
         * The search query used to find the document.
         * Optional field with maximum length of 1000 characters.
         */
        @Size(max = 1000)
        public String q;
    
        /**
         * The document ID of the document to delete.
         * Required field for identifying the specific document.
         */
        @Required
        public String docId;
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  7. mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt

        val out = connection.outputStream
        val data = ByteArray(1024 * 1024)
        var i = 0
        while (i < 1024) {
          try {
            out!!.write(data)
            out.flush()
            if (i == 513) {
              // pause slightly after half way to make result more predictable
              Thread.sleep(100)
            }
          } catch (e: IOException) {
            break
          }
          i++
        }
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sun Aug 03 22:38:00 GMT 2025
    - 28K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/core/convert/LongConversionUtilTest.java

        /**
         * @throws Exception
         */
        public void testToLong() throws Exception {
            assertEquals(Long.valueOf("1000"), LongConversionUtil.toLong("1,000"));
        }
    
        /**
         * @throws Exception
         */
        public void testToPrimitiveLong() throws Exception {
            assertEquals(1000, LongConversionUtil.toPrimitiveLong("1,000"));
        }
    
        /**
         * @throws Exception
         */
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Fri Jun 20 13:40:57 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/AutobahnTester.kt

            ) {
              webSocket.send(text)
            }
    
            override fun onClosing(
              webSocket: WebSocket,
              code: Int,
              reason: String,
            ) {
              webSocket.close(1000, null)
              latch.countDown()
            }
    
            override fun onFailure(
              webSocket: WebSocket,
              t: Throwable,
              response: Response?,
            ) {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/webauth/CreateForm.java

        /**
         * The username for authentication.
         */
        @Required
        @Size(max = 100)
        public String username;
    
        /**
         * The password for authentication.
         */
        @Size(max = 100)
        public String password;
    
        /**
         * Additional parameters for the authentication.
         */
        @Size(max = 1000)
        public String parameters;
    
        /**
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 2.8K bytes
    - Click Count (0)
Back to Top