Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 189 for type (0.12 sec)

  1. analysis/analysis-api-fir/analysis-api-fir-generator/src/org/jetbrains/kotlin/analysis/api/fir/generator/HLDiagnosticConverter.kt

        fun createConversion(type: KType): HLParameterConversion {
            val nullable = type.isMarkedNullable
            val kClass = type.classifier as KClass<*>
            return tryMapAllowedType(kClass)
                ?: tryMapPsiElementType(kClass)
                ?: tryMapFirTypeToKtType(kClass, nullable)
                ?: tryMapPlatformType(type, kClass)
                ?: error("Unsupported type $type, consider add corresponding mapping")
        }
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Mon Nov 06 14:41:18 GMT 2023
    - 16.6K bytes
    - Viewed (0)
  2. docs/en/docs/python-types.md

    # Python Types Intro
    
    Python has support for optional "type hints" (also called "type annotations").
    
    These **"type hints"** or annotations are a special syntax that allow declaring the <abbr title="for example: str, int, float, bool">type</abbr> of a variable.
    
    By declaring types for your variables, editors and tools can give you better support.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 17K bytes
    - Viewed (0)
  3. api/go1.18.txt

    pkg go/types, type ArgumentError struct
    pkg go/types, type ArgumentError struct, Err error
    pkg go/types, type ArgumentError struct, Index int
    pkg go/types, type Config struct, Context *Context
    pkg go/types, type Config struct, GoVersion string
    pkg go/types, type Context struct
    pkg go/types, type Info struct, Instances map[*ast.Ident]Instance
    pkg go/types, type Instance struct
    pkg go/types, type Instance struct, Type Type
    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)
  4. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Writer.kt

    import okhttp3.internal.http2.Http2.TYPE_CONTINUATION
    import okhttp3.internal.http2.Http2.TYPE_DATA
    import okhttp3.internal.http2.Http2.TYPE_GOAWAY
    import okhttp3.internal.http2.Http2.TYPE_HEADERS
    import okhttp3.internal.http2.Http2.TYPE_PING
    import okhttp3.internal.http2.Http2.TYPE_PUSH_PROMISE
    import okhttp3.internal.http2.Http2.TYPE_RST_STREAM
    import okhttp3.internal.http2.Http2.TYPE_SETTINGS
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Reader.kt

    import okhttp3.internal.http2.Http2.TYPE_CONTINUATION
    import okhttp3.internal.http2.Http2.TYPE_DATA
    import okhttp3.internal.http2.Http2.TYPE_GOAWAY
    import okhttp3.internal.http2.Http2.TYPE_HEADERS
    import okhttp3.internal.http2.Http2.TYPE_PING
    import okhttp3.internal.http2.Http2.TYPE_PRIORITY
    import okhttp3.internal.http2.Http2.TYPE_PUSH_PROMISE
    import okhttp3.internal.http2.Http2.TYPE_RST_STREAM
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 19.9K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/Request.kt

      @JvmName("reifiedTag")
      inline fun <reified T : Any> tag(): T? = tag(T::class)
    
      /** Returns the tag attached with [type] as a key, or null if no tag is attached with that key. */
      fun <T : Any> tag(type: KClass<T>): T? = type.java.cast(tags[type])
    
      /**
       * Returns the tag attached with `Object.class` as a key, or null if no tag is attached with
       * that key.
       *
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 04:17:44 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  7. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/ApiExtensionsGenerator.kt

        api.allTypes()
            .filter { type -> type.isPublic && apiSpec.isApi(type.sourceName) }
            .flatMap { type -> kotlinExtensionFunctionsFor(type, sinceSupplier) }
            .distinctBy(::signatureKey)
    
    
    private
    fun signatureKey(extension: KotlinExtensionFunction): List<Any> = extension.run {
        listOf(targetType.sourceName, name) +
            parameters.flatMap { apiTypeKey(it.type) }
    }
    
    
    private
    Plain Text
    - Registered: Wed Feb 28 11:36:09 GMT 2024
    - Last Modified: Wed Dec 20 21:41:53 GMT 2023
    - 18.1K bytes
    - Viewed (0)
  8. docs/en/docs/advanced/custom-response.md

    * `status_code` - An `int` HTTP status code.
    * `headers` - A `dict` of strings.
    * `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!}
    ```
    
    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)
  9. okhttp/src/main/kotlin/okhttp3/MultipartBody.kt

          private var type = MIXED
          private val parts = mutableListOf<Part>()
    
          /**
           * Set the MIME type. Expected values for `type` are [MIXED] (the default), [ALTERNATIVE],
           * [DIGEST], [PARALLEL] and [FORM].
           */
          fun setType(type: MediaType) =
            apply {
              require(type.type == "multipart") { "multipart != $type" }
              this.type = type
            }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 10.9K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/MultipartBodyTest.kt

          |Content-Type: multipart/mixed; boundary=BbC04y
          |
          |--BbC04y
          |Content-Disposition: file; filename="file1.txt"
          |Content-Type: text/plain; charset=utf-8
          |
          |... contents of file1.txt ...
          |--BbC04y
          |Content-Disposition: file; filename="file2.gif"
          |Content-Transfer-Encoding: binary
          |Content-Type: image/gif
          |
    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)
Back to top