Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 141 for Consumer (0.34 sec)

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

        }
    
        override fun externalProcessStarted(command: String, consumer: String) {
            if (Workarounds.canStartExternalProcesses(consumer)) {
                return
            }
            externalProcessListener.onExternalProcessStarted(command, consumer)
        }
    
        override fun fileOpened(file: File, consumer: String) {
            if (Workarounds.canReadFiles(consumer)) {
                return
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  2. platforms/core-configuration/input-tracking/src/main/java/org/gradle/internal/configuration/inputs/InstrumentedInputsListener.java

        void fileObserved(File file, String consumer);
    
        void fileSystemEntryObserved(File file, String consumer);
    
        void directoryContentObserved(File file, String consumer);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Nov 11 00:37:04 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/MapCollectors.java

            @Override
            public boolean calculatePresence(ValueConsumer consumer) {
                return providerOfValue.calculatePresence(consumer);
            }
    
            @Override
            public Value<Void> collectEntries(ValueConsumer consumer, MapEntryCollector<K, V> collector, Map<K, V> dest) {
                Value<? extends V> value = providerOfValue.calculateValue(consumer);
                if (value.isMissing()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 21 12:22:39 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/api/internal/provider/CircularEvaluationSpec.groovy

                where:
                consumer << throwingConsumers()
            }
    
            def "calling #consumer is safe even if user code causes circular evaluation"(
                Consumer<ProviderInternal<?>> consumer
            ) {
                given:
                def provider = providerWithSelfReference()
    
                when:
                consumer.accept(provider)
    
                then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 15 20:21:32 UTC 2023
    - 8K bytes
    - Viewed (0)
  5. platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/KotlinDslJvmDefaultIntegrationTest.kt

                )
            }
        }
    
        @Test
        fun `kotlin-dsl java and groovy consumers can use kotlin interface default methods directly`() {
    
            file("settings.gradle.kts").appendText(
                """
                include("kotlin-dsl-producer")
                include("java-consumer")
                include("groovy-consumer")
                """
            )
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Sep 24 17:45:43 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  6. platforms/core-configuration/input-tracking/src/main/java/org/gradle/internal/configuration/inputs/NoOpInputsListener.java

        @Override
        public void externalProcessStarted(String command, String consumer) {}
    
        @Override
        public void fileOpened(File file, String consumer) {}
    
        @Override
        public void fileObserved(File file, String consumer) {}
    
        @Override
        public void fileSystemEntryObserved(File file, String consumer) {}
    
        @Override
        public void directoryContentObserved(File file, String consumer) {}
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Nov 11 00:37:04 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-problems-base/src/main/kotlin/org/gradle/internal/configuration/problems/DefaultProblemFactory.kt

            } else {
                locationForCaller(consumer, diagnostics.source)
            }
        }
    
        private
        fun locationForCaller(consumer: String?, source: UserCodeSource?): PropertyTrace {
            return if (source != null) {
                PropertyTrace.BuildLogic(source.displayName, null)
            } else if (consumer != null) {
                PropertyTrace.BuildLogicClass(consumer)
            } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:59:39 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  8. 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)
  9. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/FlatMapProvider.java

        }
    
        @Override
        public boolean calculatePresence(ValueConsumer consumer) {
            try (EvaluationContext.ScopeContext context = openScope()) {
                return backingProvider(context, consumer).calculatePresence(consumer);
            }
        }
    
        @Override
        protected Value<? extends S> calculateOwnValue(ValueConsumer consumer) {
            try (EvaluationContext.ScopeContext context = openScope()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 17 23:22:41 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/BiProvider.java

        public boolean calculatePresence(ValueConsumer consumer) {
            try (EvaluationContext.ScopeContext ignored = openScope()) {
                if (!left.calculatePresence(consumer) || !right.calculatePresence(consumer)) {
                    return false;
                }
            }
            // Purposefully only calculate full value if left & right are both present, to save time
            return super.calculatePresence(consumer);
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 17 23:22:41 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top