Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 430 for Type (0.13 sec)

  1. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirTypeInfoProvider.kt

            ) == null
        }
    
        override fun isArrayOrPrimitiveArray(type: KtType): Boolean {
            require(type is KtFirType)
            return type.coneType.isArrayOrPrimitiveArray
        }
    
        override fun isNestedArray(type: KtType): Boolean {
            if (!isArrayOrPrimitiveArray(type)) return false
            require(type is KtFirType)
            return type.coneType.arrayElementType()?.isArrayOrPrimitiveArray == true
        }
    
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Wed Jan 03 17:15:50 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. docs/en/docs/reference/responses.md

                - status_code
                - media_type
                - body
                - background
                - raw_headers
                - render
                - init_headers
                - headers
                - set_cookie
                - delete_cookie
    
    ::: fastapi.responses.ORJSONResponse
        options:
            members:
                - charset
                - status_code
                - media_type
                - body
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  5. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/diagnostics/KtFirDataClassConverters.kt

                token,
            )
        }
        add(FirErrors.ACTUAL_TYPE_ALIAS_TO_NULLABLE_TYPE) { firDiagnostic ->
            ActualTypeAliasToNullableTypeImpl(
                firDiagnostic as KtPsiDiagnostic,
                token,
            )
        }
        add(FirErrors.ACTUAL_TYPE_ALIAS_TO_NOTHING) { firDiagnostic ->
            ActualTypeAliasToNothingImpl(
                firDiagnostic as KtPsiDiagnostic,
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Wed Apr 24 09:49:26 GMT 2024
    - 208.3K 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. common-protos/k8s.io/apimachinery/pkg/runtime/generated.proto

    //
    // To use this, make a field which has RawExtension as its type in your external, versioned
    // struct, and Object in your internal struct. You also need to register your
    // various plugin types.
    //
    // // Internal package:
    //
    // 	type MyAPIObject struct {
    // 		runtime.TypeMeta `json:",inline"`
    // 		MyPlugin runtime.Object `json:"myPlugin"`
    // 	}
    //
    // 	type PluginA struct {
    // 		AOption string `json:"aOption"`
    // 	}
    //
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  8. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/MappingTables.kt

            type = type,
            mappedTo = mappedTo,
          )
      }
    
      return result
    }
    
    internal fun canonicalizeType(type: Int): Int {
      return when (type) {
        TYPE_IGNORED -> TYPE_IGNORED
    
        TYPE_MAPPED,
        TYPE_DISALLOWED_STD3_MAPPED,
        -> TYPE_MAPPED
    
        TYPE_DEVIATION,
        TYPE_DISALLOWED_STD3_VALID,
        TYPE_VALID,
        -> TYPE_VALID
    
    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)
  9. 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)
  10. docs/en/docs/advanced/custom-response.md

    * `content` - A `str` or `bytes`.
    * `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)
Back to top