Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for boundary$ (0.03 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/MultipartReader.kt

          source = response.source(),
          boundary =
            response.contentType()?.parameter("boundary")
              ?: throw ProtocolException("expected the Content-Type to have a boundary parameter"),
        )
    
        @Throws(IOException::class)
        fun nextPart(): Part? {
          check(!closed) { "closed" }
    
          if (noMoreParts) return null
    
          // Read a boundary, skipping the remainder of the preceding part as necessary.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 02:11:14 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/MediaTypeTest.kt

      }
    
      @Test fun testParse() {
        val mediaType = parse("text/plain;boundary=foo;charset=utf-8")
        assertEquals("text", mediaType.type)
        assertEquals("plain", mediaType.subtype)
        assertEquals("UTF-8", mediaType.charsetName())
        assertEquals("text/plain;boundary=foo;charset=utf-8", mediaType.toString())
        assertEquals(mediaType, parse("text/plain;boundary=foo;charset=utf-8"))
        assertEquals(
          mediaType.hashCode(),
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/RangeMap.java

       *
       * <p>Any parts of the range not already present in this map are mapped to the specified value,
       * unless the value is {@code null}.
       *
       * <p>Any existing entry spanning either range boundary may be split at the boundary, even if the
       * merge does not affect its value. For example, if {@code rangeMap} had one entry {@code [1, 5]
       * => 3} then {@code rangeMap.merge(Range.closed(0,2), 3, Math::max)} could yield a map with the
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 7.6K bytes
    - Viewed (0)
Back to top