Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,161 for text (0.13 sec)

  1. api/go1.18.txt

    pkg testing, type InternalFuzzTarget struct, Name string
    pkg text/template/parse, const NodeBreak = 21
    pkg text/template/parse, const NodeBreak NodeType
    pkg text/template/parse, const NodeContinue = 22
    pkg text/template/parse, const NodeContinue NodeType
    pkg text/template/parse, method (*BreakNode) Copy() Node
    pkg text/template/parse, method (*BreakNode) String() string
    pkg text/template/parse, method (*ContinueNode) Copy() Node
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Feb 17 20:31:46 GMT 2023
    - 13K bytes
    - Viewed (0)
  2. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractBinaryCompatibilityTest.kt

        }
    
        fun BuildResult.assertOutputContains(text: String) =
            assertTrue("Output should contain text:\n'$text',\nbut given text was not matched.\n", output.contains(text))
    
        protected
        fun File.withFile(path: String, text: String = ""): File =
            resolve(path).apply {
                parentFile.mkdirs()
                writeText(text.trimIndent())
            }
    
        private
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Mon Sep 25 13:49:37 GMT 2023
    - 16.4K bytes
    - Viewed (0)
  3. .teamcity/src/main/kotlin/util/RerunFlakyTest.kt

        steps {
            checkCleanM2AndAndroidUserHome(os)
        }
    
        params {
            text(
                testTaskParameterName,
                ":core:embeddedIntegTest",
                display = ParameterDisplay.PROMPT,
                allowEmpty = false,
                description = "The test task you want to run"
            )
            text(
                testNameParameterName,
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Wed Apr 24 08:17:56 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  4. okhttp-android/src/main/baseline-prof.txt

    Lkotlin/sequences/TransformingSequence;
    Lkotlin/text/CharsKt__CharKt;
    Lkotlin/text/Charsets;
    Lkotlin/text/DelimitedRangesSequence;
    Lkotlin/text/MatchGroup;
    Lkotlin/text/MatchGroupCollection;
    Lkotlin/text/MatchResult;
    Lkotlin/text/MatcherMatchResult$groupValues$1;
    Lkotlin/text/MatcherMatchResult$groups$1$iterator$1;
    Lkotlin/text/MatcherMatchResult$groups$1;
    Lkotlin/text/MatcherMatchResult;
    Lkotlin/text/Regex;
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Mar 21 11:22:00 GMT 2022
    - 127.9K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/RequestTest.kt

      }
    
      @Test
      fun stringWithDefaultCharsetAdded() {
        val contentType = "text/plain".toMediaType()
        val body = "\u0800".toRequestBody(contentType)
        assertThat(body.contentType()).isEqualTo("text/plain; charset=utf-8".toMediaType())
        assertThat(body.contentLength()).isEqualTo(3)
        assertThat(bodyToHex(body)).isEqualTo("e0a080")
      }
    
      @Test
      fun stringWithNonDefaultCharsetSpecified() {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 16.4K bytes
    - Viewed (0)
  6. docs/de/docs/reference/websockets.md

                - application_state
                - receive
                - send
                - accept
                - receive_text
                - receive_bytes
                - receive_json
                - iter_text
                - iter_bytes
                - iter_json
                - send_text
                - send_bytes
                - send_json
                - close
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 18:16:27 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/MultipartBodyTest.kt

        assertThat(buffer.readUtf8()).isEqualTo(expected)
      }
    
      @Test
      fun contentTypeHeaderIsForbidden() {
        val multipart = MultipartBody.Builder()
        assertFailsWith<IllegalArgumentException> {
          multipart.addPart(
            headersOf("Content-Type", "text/plain"),
            "Hello, World!".toRequestBody(null),
          )
        }
      }
    
      @Test
      fun contentLengthHeaderIsForbidden() {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/-UtilJvm.kt

    import java.util.concurrent.ThreadFactory
    import java.util.concurrent.TimeUnit
    import java.util.concurrent.locks.ReentrantLock
    import kotlin.text.Charsets.UTF_16BE
    import kotlin.text.Charsets.UTF_16LE
    import kotlin.text.Charsets.UTF_32BE
    import kotlin.text.Charsets.UTF_32LE
    import kotlin.text.Charsets.UTF_8
    import kotlin.time.Duration
    import okhttp3.EventListener
    import okhttp3.Headers
    import okhttp3.HttpUrl
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 09 12:33:05 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/CommonRequestBodyTest.kt

    import assertk.assertions.isEqualTo
    import kotlin.test.Test
    import okhttp3.RequestBody.Companion.toRequestBody
    
    class CommonRequestBodyTest {
      @Test
      fun correctContentType() {
        val body = "Body"
        val requestBody = body.toRequestBody(MediaType("text/plain", "text", "plain", arrayOf()))
    
        val contentType = requestBody.contentType()!!
    
        assertThat(contentType.mediaType).isEqualTo("text/plain; charset=utf-8")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 1.1K bytes
    - Viewed (0)
  10. docs/en/docs/advanced/custom-response.md

    * `media_type` - A `str` giving the media type. E.g. `"text/html"`.
    
    FastAPI (actually Starlette) will automatically include a Content-Length header. It will also include a Content-Type header, based on the media_type and appending a charset for text types.
    
    ```Python hl_lines="1  18"
    {!../../../docs_src/response_directly/tutorial002.py!}
    ```
    
    ### `HTMLResponse`
    
    Takes some text or bytes and returns an HTML response, as you read above.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.7K bytes
    - Viewed (0)
Back to top