Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 6,824 for Result (0.09 sec)

  1. testing/performance/src/performanceTest/groovy/org/gradle/performance/experiment/declarativedsl/DeclarativeDslFirstUsePerformanceTest.groovy

    import static org.gradle.performance.annotations.ScenarioType.PER_DAY
    import static org.gradle.performance.results.OperatingSystem.LINUX
    import static org.gradle.performance.results.OperatingSystem.MAC_OS
    import static org.gradle.performance.results.OperatingSystem.WINDOWS
    
    @RunFor(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat May 11 07:05:12 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  2. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/FileBackedObjectHolder.java

                public void run() {
                    T oldValue = deserialize();
                    result = updateAction.update(oldValue);
                    if (!(oldValue == null && result == null) && (oldValue == null || result == null || !oldValue.equals(result))) {
                        serialize(result);
                    } else {
                        result = oldValue;
                    }
                }
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:50 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/main/java/org/gradle/internal/resolve/caching/CachingRuleExecutor.java

     * for example. This means that the result of executing the rule is not necessarily the same as the
     * details object. It must be possible for the consumer (the object which executes the rule) to reproduce
     * the result of executing the rule from the {@link RESULT} object.
     *
     * The cache key consists of the provided key and the rule. This means that if the implementation of the
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3K bytes
    - Viewed (0)
  4. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/server/health/LowMemoryDaemonExpirationStrategyTest.groovy

            expirationStrategy.onOsMemoryStatus(mockMemoryStatus)
    
            then:
            DaemonExpirationResult result = expirationStrategy.checkExpiration()
            result.status == GRACEFUL_EXPIRE
            result.reason == "to reclaim system physical memory"
        }
    
        def "daemon should expire when virtual memory falls below threshold"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  5. platforms/core-configuration/input-tracking/src/test/groovy/org/gradle/internal/configuration/inputs/AccessTrackingSetTest.groovy

        def "contains of existing element is tracked"() {
            when:
            def result = set.contains('existing')
    
            then:
            result
            1 * listener.onAccess('existing')
            0 * listener._
        }
    
        def "contains of null is tracked"() {
            when:
            def result = set.contains(null)
    
            then:
            !result
            1 * listener.onAccess(null)
            0 * listener._
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Nov 11 00:37:04 UTC 2023
    - 6K bytes
    - Viewed (0)
  6. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/events/IntQuestionPromptEventTest.groovy

            expect:
            def result = event.convert("")
            result.response == 4
            result.newPrompt == null
        }
    
        def "can have negative minimum value"() {
            def event = new IntQuestionPromptEvent(123, "question?", -5, -2)
    
            expect:
            def result = event.convert(input)
            result.response == expected
            result.newPrompt == null
    
            where:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 12:11:05 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  7. platforms/core-execution/file-watching/src/integTest/groovy/org/gradle/internal/watch/LoggingFileSystemWatchingIntegrationTest.groovy

            result.output =~ /VFS> Statistics during current build:/
            result.output =~ /Received \d+ file system events since last build while watching \d+ locations/
            result.output =~ /Virtual file system retained information about \d+ files, \d+ directories and \d+ missing files since last build/
            result.output =~ /Received \d+ file system events during the current build while watching \d+ locations/
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 13:50:33 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  8. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultUrlNormalizer.java

                        parent--;
                    }
                    parent = result.lastIndexOf('/', parent);
                    if (parent < 0) {
                        result = result.substring(idx + 4);
                    } else {
                        result = result.substring(0, parent) + result.substring(idx + 3);
                    }
                }
            }
    
            return result;
        }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  9. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/server/expiry/AllDaemonExpirationStrategyTest.groovy

            1 * c2.checkExpiration() >> { new DaemonExpirationResult(c2Status, "r2") }
    
            then:
            DaemonExpirationResult result = agg.checkExpiration()
            result.status == allStatus
            result.reason == "r1 and r2"
    
            where:
            c1Status         | c2Status         | allStatus
            QUIET_EXPIRE     | QUIET_EXPIRE     | QUIET_EXPIRE
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  10. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/XCTestSourceElement.java

        @Override
        public int getFailureCount() {
            int result = 0;
            for (XCTestElement element : getTestSuites()) {
                result += element.getFailureCount();
            }
            return result;
        }
    
        @Override
        public int getPassCount() {
            int result = 0;
            for (XCTestElement element : getTestSuites()) {
                result += element.getPassCount();
            }
            return result;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 3.6K bytes
    - Viewed (0)
Back to top