Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for withPropertyTrace (0.43 sec)

  1. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/fingerprint/ScopedFingerprintWriter.kt

            synchronized(writeContext) {
                withPropertyTrace(trace) {
                    unsafeWrite(value)
                }
            }
        }
    
        private
        fun unsafeWrite(value: T?) {
            writeContext.runWriteOperation {
                write(value)
            }
        }
    
        private
        inline fun withPropertyTrace(trace: PropertyTrace?, block: ScopedFingerprintWriter<T>.() -> Unit) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  2. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/CachedEnvironmentStateCodec.kt

    import org.gradle.internal.serialize.graph.ReadContext
    import org.gradle.internal.serialize.graph.WriteContext
    import org.gradle.internal.serialize.graph.readList
    import org.gradle.internal.serialize.graph.withPropertyTrace
    import org.gradle.internal.serialize.graph.writeCollection
    import org.gradle.internal.cc.base.services.ConfigurationCacheEnvironmentChangeTracker
    
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  3. platforms/core-configuration/graph-serialization/src/main/kotlin/org/gradle/internal/serialize/graph/BeanPropertyExtensions.kt

    /**
     * Writes a bean property.
     *
     * A property can only be written when there's a suitable [Codec] for its [value].
     */
    suspend fun WriteContext.writeNextProperty(name: String, value: Any?, kind: PropertyKind) {
        withPropertyTrace(kind, name) {
            try {
                write(value)
            } catch (error: Exception) {
                onError(error) {
                    when {
                        value != null -> {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  4. platforms/core-configuration/graph-serialization/src/main/kotlin/org/gradle/internal/serialize/graph/Codec.kt

    
    inline fun <T : MutableIsolateContext, R> T.withBeanTrace(beanType: Class<*>, action: () -> R): R =
        withPropertyTrace(PropertyTrace.Bean(beanType, trace)) {
            action()
        }
    
    
    inline fun <T : MutableIsolateContext, R> T.withPropertyTrace(kind: PropertyKind, name: String, action: () -> R): R =
        withPropertyTrace(PropertyTrace.Property(kind, name, trace)) {
            action()
        }
    
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  5. platforms/core-configuration/graph-serialization/src/main/kotlin/org/gradle/internal/serialize/graph/Logging.kt

    import kotlin.reflect.KClass
    
    
    fun MutableIsolateContext.reportUnsupportedFieldType(
        unsupportedType: KClass<*>,
        action: String,
        fieldName: String,
        fieldValue: Any? = null
    ) {
        withPropertyTrace(PropertyKind.Field, fieldName) {
            if (fieldValue == null) logUnsupported(action, unsupportedType)
            else logUnsupportedBaseType(action, unsupportedType, unpackType(fieldValue))
        }
    }
    
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  6. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/ProviderCodecs.kt

    import org.gradle.internal.serialize.graph.readNonNull
    import org.gradle.internal.serialize.graph.withDebugFrame
    import org.gradle.internal.serialize.graph.withIsolate
    import org.gradle.internal.serialize.graph.withPropertyTrace
    
    
    fun defaultCodecForProviderWithChangingValue(
        valueSourceProviderCodec: Codec<ValueSourceProvider<*, *>>,
        buildServiceProviderCodec: Codec<BuildServiceProvider<*, *>>,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  7. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/TaskNodeCodec.kt

    import org.gradle.internal.serialize.graph.readPropertyValue
    import org.gradle.internal.serialize.graph.withDebugFrame
    import org.gradle.internal.serialize.graph.withIsolate
    import org.gradle.internal.serialize.graph.withPropertyTrace
    import org.gradle.internal.serialize.graph.writeCollection
    import org.gradle.internal.serialize.graph.writeEnum
    import org.gradle.internal.serialize.graph.writeNextProperty
    import org.gradle.util.internal.DeferredUtil
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 17.2K bytes
    - Viewed (0)
Back to top