Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 216 for reading5 (0.05 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HpackTest.kt

          ),
        )
      }
    
      @Test
      fun readSingleByteInt() {
        assertThat(newReader(byteStream()).readInt(10, 31)).isEqualTo(10)
        assertThat(newReader(byteStream()).readInt(0xe0 or 10, 31)).isEqualTo(10)
      }
    
      @Test
      fun readMultibyteInt() {
        assertThat(newReader(byteStream(154, 10)).readInt(31, 31)).isEqualTo(1337)
      }
    
      @Test
      fun writeSingleByteInt() {
        hpackWriter!!.writeInt(10, 31, 0)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 38.6K bytes
    - Viewed (0)
  2. mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt

        public fun onRequestStart(socketEffect: SocketEffect?): Builder =
          apply {
            this.onRequestStart = socketEffect
          }
    
        /**
         * Process the response without even attempting to reading the request body. For HTTP/2 this
         * will close the response stream after the response body or trailers. For HTTP/1 this will
         * close the socket after the response body or trailers.
         */
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/service/FessAppService.java

         * to support prefix and suffix matching in search operations.
         *
         * @param query the query string to wrap with wildcards
         * @return the wrapped query string with leading and trailing asterisks
         */
        protected static String wrapQuery(final String query) {
            final StringBuilder sb = new StringBuilder();
            if (!query.startsWith("*")) {
                sb.append("*");
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  4. docs/features/calls.md

    Calls can be canceled from any thread. This will fail the call if it hasn’t yet completed! Code that is writing the request body or reading the response body will suffer an `IOException` when its call is canceled.
    
    ## Dispatch
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  5. android/guava-tests/benchmark/com/google/common/io/ByteSourceAsCharSourceReadBenchmark.java

                  return new String(buffer, 0, bufIndex);
                }
                // otherwise we got the size wrong.  This can happen if the size changes between when
                // we called sizeIfKnown and when we started reading the file (or I guess if
                // maxCharsPerByte is wrong)
                // Fallback to an incremental approach
                StringBuilder builder = new StringBuilder(bufIndex + 32);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  6. src/main/webapp/WEB-INF/view/admin/dict/kuromoji/admin_dict_kuromoji.jsp

                                                        <td>${f:h(data.token)}</td>
                                                        <td>${f:h(data.reading)}</td>
                                                    </tr>
                                                </c:forEach>
                                                </tbody>
                                            </table>
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Fri Mar 27 06:24:23 UTC 2020
    - 10.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/nio/ChannelUtil.java

         *            The file channel. Must not be {@literal null}.
         * @param buffer
         *            The byte buffer. Must not be {@literal null}.
         * @param position
         *            The position to start reading from.
         * @return The number of bytes read.
         */
        public static int read(final FileChannel channel, final ByteBuffer buffer, final long position) {
            assertArgumentNotNull("channel", channel);
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  8. okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsRecordCodec.kt

        for (i in 0 until answerCount) {
          skipName(buf) // name
    
          val type = buf.readShort().toInt() and 0xffff
          buf.readShort() // class
          @Suppress("UNUSED_VARIABLE")
          val ttl = buf.readInt().toLong() and 0xffffffffL // ttl
          val length = buf.readShort().toInt() and 0xffff
    
          if (type == TYPE_A || type == TYPE_AAAA) {
            val bytes = ByteArray(length)
            buf.read(bytes)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/hash/Hasher.java

    import java.nio.ByteBuffer;
    import java.nio.charset.Charset;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A {@link PrimitiveSink} that can compute a hash code after reading the input. Each hasher should
     * translate all multibyte values ({@link #putInt(int)}, {@link #putLong(long)}, etc) to bytes in
     * little-endian order.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  10. okcurl/src/main/kotlin/okhttp3/curl/Main.kt

        "--connect-timeout",
      ).help(
        "Maximum time allowed for connection (seconds)",
      ).int()
        .default(DEFAULT_TIMEOUT)
    
      val readTimeout: Int by option("--read-timeout")
        .help("Maximum time allowed for reading data (seconds)")
        .int()
        .default(DEFAULT_TIMEOUT)
    
      val callTimeout: Int by option(
        "--call-timeout",
      ).help(
        "Maximum time allowed for the entire call (seconds)",
      ).int()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 6K bytes
    - Viewed (0)
Back to top