Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 296 for Fun (0.06 sec)

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

        )
    
        private
        fun isBuildSrcBuild(invocationSource: Any): Boolean =
            (invocationSource as? GradleInternal)?.run {
                !isRootBuild && identityPath.name == BUILD_SRC
            } ?: false
    
        private
        fun atConfigurationTime() = configurationTimeBarrier.isAtConfigurationTime
    
        private
        fun isInputTrackingDisabled() = !inputTrackingState.isEnabledForCurrentThread()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache-base/src/main/kotlin/org/gradle/internal/cc/base/serialize/IsolateOwners.kt

            override fun <T> service(type: Class<T>): T = delegate.service(type)
        }
    
        class OwnerFlowScope(override val delegate: Gradle) : IsolateOwners() {
            override fun <T> service(type: Class<T>): T = (delegate as GradleInternal).services.get(type)
        }
    
        class OwnerFlowAction(override val delegate: OwnerFlowScope) : IsolateOwners() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/UndeclaredBuildInputListener.kt

         */
        fun systemPropertyRead(key: String, value: Any?, consumer: String?)
    
        fun envVariableRead(key: String, value: String?, consumer: String?)
    
        fun fileOpened(file: File, consumer: String?)
    
        fun fileObserved(file: File, consumer: String?)
    
        fun fileSystemEntryObserved(file: File, consumer: String?)
    
        fun directoryChildrenObserved(directory: File, consumer: String?)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  4. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/jos/MethodCache.kt

    ) {
        private
        val methodCache = hashMapOf<Class<*>, Method?>()
    
        fun forObject(value: Any) =
            forClass(value.javaClass)
    
        fun forClass(type: Class<*>) = methodCache.computeIfAbsent(type) {
            it.firstAccessibleMatchingMethodOrNull(predicate)
        }
    }
    
    
    internal
    fun Class<*>.firstAccessibleMatchingMethodOrNull(predicate: Method.() -> Boolean): Method? =
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/BuildTreeConfigurationCache.kt

        /**
         * Determines whether the cache entry can be loaded or needs to be stored or updated.
         */
        fun initializeCacheEntry()
    
        /**
         * Loads the scheduled tasks from cache, if available, or else runs the given function to schedule the tasks and then
         * writes the result to the cache.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  6. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/services/DefaultIsolatedProjectEvaluationListenerProvider.kt

        private
        val afterProject = mutableListOf<IsolatedProjectAction>()
    
        override fun beforeProject(action: IsolatedProjectAction) {
            // TODO:isolated encode Application instances as part of the Environment to avoid waste
            beforeProject.add(withUserCodeApplicationContext(action))
        }
    
        override fun afterProject(action: IsolatedProjectAction) {
            afterProject.add(withUserCodeApplicationContext(action))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/DefaultIgnoredConfigurationInputsTest.kt

        private
        fun createFromPaths(paths: List<String>, isCaseSensitive: Boolean = true): DefaultIgnoredConfigurationInputs {
            return DefaultIgnoredConfigurationInputs(paths.joinToString(";"), isCaseSensitive, rootDir)
        }
    
        @Test
        fun `if created with an empty or null paths list, does not recognize an empty string`() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  8. platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/InputTrackingStateTest.kt

    import java.lang.IllegalStateException
    import java.util.concurrent.Executors
    
    
    class InputTrackingStateTest {
    
        @Test
        fun `input tracking is enabled by default`() {
            val state = InputTrackingState()
    
            assertTrue(state.isEnabledForCurrentThread())
        }
    
        @Test
        fun `input tracking can be disabled`() {
            val state = InputTrackingState()
            state.disableForCurrentThread()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/serialization/codecs/AbstractUserTypeCodecTest.kt

        protected
        fun serializationProblemsOf(bean: Any, codec: Codec<Any?> = userTypesCodec()): List<PropertyProblem> =
            mutableListOf<PropertyProblem>().also { problems ->
                writeTo(
                    NullOutputStream.INSTANCE,
                    bean,
                    codec,
                    object : AbstractProblemsListener() {
                        override fun onProblem(problem: PropertyProblem) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/InstrumentedInputAccessListener.kt

        }
    
        override fun systemPropertyRemoved(key: Any, consumer: String) {
            environmentChangeTracker.systemPropertyRemoved(key)
        }
    
        override fun systemPropertiesCleared(consumer: String) {
            environmentChangeTracker.systemPropertiesCleared()
        }
    
        override fun envVariableQueried(key: String, value: String?, consumer: String) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 4.7K bytes
    - Viewed (0)
Back to top