Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 175 for lengthOf (0.28 sec)

  1. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/MappingTables.kt

              if (mappingIndex == -1) {
                mappingOffset = mappingsBuffer.length
                mappingsBuffer.append(mappedTo)
              } else {
                mappingOffset = mappingIndex
              }
    
              // Write the range bytes.
              val b1 = mappedTo.length
              val b2 = (mappingOffset and 0x3f80) shr 7
              val b3 = mappingOffset and 0x7f
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  2. ChangeLog.md

    - [`KT-59294`](https://youtrack.jetbrains.com/issue/KT-59294) WASM: localStorage Cannot read properties of undefined (reading 'length')
    - [`KT-60835`](https://youtrack.jetbrains.com/issue/KT-60835) K/Wasm: fix compatibility with Node.js 20.*
    - [`KT-60113`](https://youtrack.jetbrains.com/issue/KT-60113) K/Wasm: illegal cast when using 1.9.20-dev
    Plain Text
    - Registered: Fri May 03 08:18:13 GMT 2024
    - Last Modified: Thu Dec 21 17:48:12 GMT 2023
    - 268.7K bytes
    - Viewed (1)
  3. okhttp/src/main/kotlin/okhttp3/RequestBody.kt

        fun File.asRequestBody(contentType: MediaType? = null): RequestBody {
          return object : RequestBody() {
            override fun contentType() = contentType
    
            override fun contentLength() = length()
    
            override fun writeTo(sink: BufferedSink) {
              source().use { source -> sink.writeAll(source) }
            }
          }
        }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Jan 25 14:41:37 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Connection.kt

          streamId: Int,
          source: BufferedSource,
          length: Int,
        ) {
          if (pushedStream(streamId)) {
            pushDataLater(streamId, source, length, inFinished)
            return
          }
          val dataStream = getStream(streamId)
          if (dataStream == null) {
            writeSynResetLater(streamId, ErrorCode.PROTOCOL_ERROR)
            updateConnectionFlowControl(length.toLong())
            source.skip(length.toLong())
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 32.6K bytes
    - Viewed (0)
  5. CREDITS

    code under terms of your choice, provided that, if the incorporated
    material is not limited to numerical parameters, data structure
    layouts and accessors, or small macros, inline functions and templates
    (ten or fewer lines in length), you do both of the following:
    
       a) Give prominent notice with each copy of the object code that the
       Library is used in it and that the Library and its use are
       covered by this License.
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 06:31:35 GMT 2024
    - 1.6M bytes
    - Viewed (0)
  6. common/Makefile.common.mk

    	@${FINDFILES} -name '*.go' \( ! \( -name '*.gen.go' -o -name '*.pb.go' \) \) -print0 | ${XARGS} common/scripts/lint_go.sh
    
    lint-python:
    	@${FINDFILES} -name '*.py' \( ! \( -name '*_pb2.py' \) \) -print0 | ${XARGS} autopep8 --max-line-length 160 --exit-code -d
    
    lint-markdown:
    	@${FINDFILES} -name '*.md' -print0 | ${XARGS} mdl --ignore-front-matter --style common/config/mdl.rb
    
    lint-links:
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Mar 02 20:07:36 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/internal/HostnamesTest.kt

            byteArrayOf(255.toByte(), 255.toByte(), 255.toByte(), 255.toByte()),
          ),
        ).isEqualTo("255.255.255.255")
      }
    
      private fun decodeIpv6(input: String): ByteArray? = decodeIpv6(input, 0, input.length)
    
      @Test
      fun testToCanonicalHost() {
        // IPv4
        assertThat("127.0.0.1".toCanonicalHost()).isEqualTo("127.0.0.1")
        assertThat("1.2.3.4".toCanonicalHost()).isEqualTo("1.2.3.4")
    
        // IPv6
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 30 06:23:33 GMT 2024
    - 5.1K bytes
    - Viewed (0)
  8. docs/de/docs/advanced/custom-response.md

    * `status_code` – Ein `int`-HTTP-Statuscode.
    * `headers` – Ein `dict` von Strings.
    * `media_type` – Ein `str`, der den Medientyp angibt. Z. B. `"text/html"`.
    
    FastAPI (eigentlich Starlette) fügt automatisch einen Content-Length-Header ein. Außerdem wird es einen Content-Type-Header einfügen, der auf dem media_type basiert, und für Texttypen einen Zeichensatz (charset) anfügen.
    
    ```Python hl_lines="1  18"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Jan 23 13:05:12 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  9. .teamcity/src/main/kotlin/model/FunctionalTestBucketProvider.kt

        val name = truncateName(subprojects.joinToString(","))
    
        private fun truncateName(str: String) =
            // Can't exceed Linux file name limit 255 char on TeamCity
            if (str.length > 200) {
                str.substring(0, 200) + "..."
            } else {
                str
            }
    
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Thu Jan 18 05:14:09 GMT 2024
    - 9K bytes
    - Viewed (0)
  10. common-protos/k8s.io/api/events/v1/generated.proto

      // a creation or deletion of related object.
      // +optional
      optional k8s.io.api.core.v1.ObjectReference related = 9;
    
      // note is a human-readable description of the status of this operation.
      // Maximal length of the note is 1kB, but libraries should be prepared to
      // handle values up to 64kB.
      // +optional
      optional string note = 10;
    
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 5.5K bytes
    - Viewed (0)
Back to top