Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 48 for type$val (0.13 sec)

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

            return "$first to $second"
        }
    
        override fun convertType(type: KType): KType {
            val first = type.arguments.getOrNull(0)?.type ?: return type
            val second = type.arguments.getOrNull(1)?.type ?: return type
            return Pair::class.createType(
                arguments = listOf(
                    KTypeProjection(
                        variance = KVariance.INVARIANT,
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Sep 15 09:32:47 UTC 2021
    - 5.7K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/MediaType.kt

     */
    class MediaType internal constructor(
      internal val mediaType: String,
      /**
       * Returns the high-level media type, such as "text", "image", "audio", "video", or "application".
       */
      @get:JvmName("type") val type: String,
      /**
       * Returns a specific media subtype, such as "plain" or "png", "mpeg", "mp4" or "xml".
       */
      @get:JvmName("subtype") val subtype: String,
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  3. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/schemaBuilder/DataSchemaBuilder.kt

                    }
                }
                types.forEach(::visit)
            }
    
            return PreIndex().apply {
                allTypesToVisit.forEach { type ->
                    addType(type)
                    val properties = propertyExtractor.extractProperties(type)
                    properties.forEach {
                        it.claimedFunctions.forEach { claimFunction(type, it) }
                        addProperty(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 10:08:02 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2.kt

       * ```
       */
      fun frameLog(
        inbound: Boolean,
        streamId: Int,
        length: Int,
        type: Int,
        flags: Int,
      ): String {
        val formattedType = formattedType(type)
        val formattedFlags = formatFlags(type, flags)
        val direction = if (inbound) "<<" else ">>"
        return format(
          "%s 0x%08x %5d %-13s %s",
          direction,
          streamId,
          length,
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tf2xla/transforms/verify_tfxla_legalization.cc

      auto encoding = mlir::dyn_cast_or_null<mlir::mhlo::TypeExtensionsAttr>(
          type.getEncoding());
      return (encoding && !encoding.getBounds().empty());
    }
    
    bool HasStaticShapeOrBounded(Value val) {
      auto type = val.getType();
      if (mlir::isa<UnrankedTensorType>(type)) {
        return false;
      }
      if (mlir::isa<RankedTensorType>(type)) {
        auto ranked_tensor = mlir::dyn_cast<RankedTensorType>(type);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  6. platforms/core-configuration/graph-serialization/src/main/kotlin/org/gradle/internal/serialize/graph/codecs/BindingsBackedCodec.kt

        fun bind(type: Class<*>, codec: Codec<*>) {
            require(bindings.all { it.encodingForType(type) == null }) {
                "There's already an encoding for type '$type'"
            }
            val codecForAny = codec.uncheckedCast<Codec<Any>>()
            val encodingProducer = producerForSubtypesOf(type, codecForAny)
            bind(encodingProducer, codecForAny)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 18:56:44 UTC 2024
    - 6K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tfrt/runtime_fallback/runtime_fallback_ops.td

               the TF attribute, and the other for the type and value of the
               attribute value. Attribute value is a string with the format of
               "type$val", where type can be "bool", "string", "tfdtype", "tfshape",
               "tftensor".
               The value serialization format can be found in attr_util.h.
    
          %out_c, %out_tensor = "tfd.delegate_kernel"(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 23 19:35:12 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  8. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/MappingTables.kt

      var index = 0
      val result = mutableListOf<Mapping>()
    
      while (index < mappings.size) {
        val mapping = mappings[index]
        val type = canonicalizeType(mapping.type)
        val mappedTo = mapping.mappedTo
    
        var unionWith: Mapping = mapping
        index++
    
        while (index < mappings.size) {
          val next = mappings[index]
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  9. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/provider/ScriptApiTest.kt

        }
    
    
    private
    fun KType.hasCompatibleTypeArguments(api: KType) =
        arguments.size == api.arguments.size && arguments.indices.all { idx ->
            val expectedType = arguments[idx].type
            val actualType = api.arguments[idx].type
            expectedType?.let { e ->
                actualType?.let { a -> e.isTypeArgumentCompatibleWith(a) }
            } ?: false
        }
    
    
    private
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 9K bytes
    - Viewed (0)
  10. test/method.go

    func (s S) val() int   { return 1 }
    func (s *S1) val() int { return 2 }
    func (i I) val() int   { return 3 }
    func (i *I1) val() int { return 4 }
    func (t T) val() int   { return 7 }
    func (t *T1) val() int { return 8 }
    
    type Val interface {
    	val() int
    }
    
    func val(v Val) int { return v.val() }
    
    func main() {
    	var s S
    	var ps *S1
    	var i I
    	var pi *I1
    	var pt *T1
    	var t T
    	var v Val
    
    	if s.val() != 1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 11 23:20:52 UTC 2013
    - 5.2K bytes
    - Viewed (0)
Back to top