Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for CachedEnvironmentState (1.66 sec)

  1. platforms/core-configuration/configuration-cache-base/src/main/kotlin/org/gradle/internal/cc/base/services/ConfigurationCacheEnvironmentChangeTracker.kt

            fun getLoadedPropertyOldValue(key: String): Any? {
                return (mutatedSystemProperties[key] as? SystemPropertyLoad)?.oldValue
            }
    
            fun getCachedState(): CachedEnvironmentState {
                return CachedEnvironmentState(
                    cleared = systemPropertiesCleared,
                    updates = mutatedSystemProperties.values.filterIsInstance<SystemPropertySet>(),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  2. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/CachedEnvironmentStateCodec.kt

    
    object CachedEnvironmentStateCodec : Codec<ConfigurationCacheEnvironmentChangeTracker.CachedEnvironmentState> {
    
        override suspend fun WriteContext.encode(value: ConfigurationCacheEnvironmentChangeTracker.CachedEnvironmentState) {
            writeBoolean(value.cleared)
    
            writeCollection(value.updates) { update ->
                val keyString = update.key.toString()
    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/configuration-cache-base/src/test/kotlin/org/gradle/internal/cc/base/services/ConfigurationCacheEnvironmentChangeTrackerTest.kt

            tracker.loadFrom(emptyEnvironmentState())
            tracker.loadFrom(emptyEnvironmentState())
        }
    
        private
        fun emptyEnvironmentState() = ConfigurationCacheEnvironmentChangeTracker.CachedEnvironmentState(cleared = false, updates = listOf(), removals = listOf())
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/ConfigurationCacheState.kt

            val environmentChangeTracker = gradle.serviceOf<ConfigurationCacheEnvironmentChangeTracker>()
            val storedState = read() as ConfigurationCacheEnvironmentChangeTracker.CachedEnvironmentState
            environmentChangeTracker.loadFrom(storedState)
        }
    
        private
        suspend fun DefaultWriteContext.writePreviewFlags(gradle: GradleInternal) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 34.8K bytes
    - Viewed (0)
Back to top