Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 1,343 for detects (0.13 sec)

  1. platforms/jvm/scala/src/integTest/groovy/org/gradle/scala/compile/IncrementalScalaCompileIntegrationTest.groovy

            runAndFail("classes").assertHasDescription("Execution failed for task ':compileScala'.")
        }
    
        @Issue("gradle/gradle#8421")
        def "incremental compiler detects change in package"() {
            settingsFile << """
                include 'lib'
            """
            [buildFile, file('lib/build.gradle')].each {
                it << """
                    plugins {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 15:43:33 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  2. pkg/kubelet/util/swap/swap_util.go

    	// If there is more than one line (table headers) in /proc/swaps then swap is enabled
    	klog.InfoS("Swap is on", "/proc/swaps contents", procSwapsStr)
    	return len(procSwapsLines) > 1
    }
    
    // IsSwapOn detects whether swap in enabled on the system by inspecting
    // /proc/swaps. If the file does not exist, an os.NotFound error will be returned.
    // If running on windows, swap is assumed to always be false.
    func IsSwapOn() (bool, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 10:07:06 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  3. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AlphabeticalAcceptedApiChangesTaskIntegrationTest.kt

    import org.junit.jupiter.api.Test
    
    
    class AlphabeticalAcceptedApiChangesTaskIntegrationTest : AbstractAcceptedApiChangesMaintenanceTaskIntegrationTest() {
        @Test
        fun `verify AlphabeticalAcceptedApiChangesTask detects misordered changes`() {
            //language=JSON
            firstAcceptedApiChangesFile.writeText(
                """
                    {
                        "acceptedApiChanges": [
                            {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 14:00:46 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  4. platforms/enterprise/enterprise/src/integTest/groovy/org/gradle/internal/enterprise/legacy/BuildScanConfigIntegrationTest.groovy

                task t
            """
    
            when:
            succeeds "t", "--scan"
    
            then:
            scanPlugin.issuedNoPluginWarningCount(output, 1)
        }
    
        def "detects that the build scan plugin has been #description"() {
            given:
            scanPlugin.collectConfig = applied
    
            when:
            succeeds "t"
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jul 17 10:17:11 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  5. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/continuous/SmokeContinuousIntegrationTest.groovy

        }
    
        private void exitsContinuousBuildSinceNotWatchingAnyLocationsExceptForConfigCache() {
            if (GradleContextualExecuter.configCache) {
                // When using the configuration cache, the build files are stored in the VFS, so we start watching.
                // That means for hierarchical watchers, we'll also detect the change above.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 18.5K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/consistency/ProjectLocalDependencyResolutionConsistencyIntegrationTest.groovy

                    constraint("org:fooA:{strictly 1.0}", "org:fooA:1.0")
                    constraint("org:transitive:{strictly 1.0}", "org:transitive:1.0")
                }
            }
        }
    
        def "detects cycles in consistency"() {
            repository {
                'org:foo:1.0'()
                'org:foo:1.1'()
            }
            buildFile << """
                configurations {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 10.7K bytes
    - Viewed (0)
  7. platforms/enterprise/enterprise/src/integTest/groovy/org/gradle/internal/enterprise/DevelocityPluginCheckInIntegrationTest.groovy

                task t
                task f { doLast { throw new RuntimeException("failed") } }
            """
        }
    
        void applyPlugin() {
            settingsFile << plugin.plugins()
        }
    
        def "detects that the build scan plugin has been [applied=#applied]"() {
            given:
            if (applied) {
                applyPlugin()
            }
    
            settingsFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 25 08:50:27 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  8. subprojects/core/src/test/groovy/org/gradle/process/internal/JavaExecHandleBuilderTest.groovy

            then:
            builder.getAllArguments().findAll { !it.startsWith('-Duser.') } == ['-Dfile.encoding=UTF-8', '-cp', libJar.name, '--module-path', moduleJar.name, '--module', 'mainModule/mainClass']
        }
    
        def "detects null entries early"() {
            when:
            builder.args(1, null)
            then:
            thrown(IllegalArgumentException)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 15 17:11:21 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/docs/userguide/native/cpp_testing.adoc

    Note that, by default, link:{groovyDslPath}/org.gradle.nativeplatform.test.tasks.RunTestExecutable.html[RunTestExecutable] task type always executes every test that it detects, irrespective of this setting.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  10. tensorflow/cc/training/queue_runner.h

      static Status New(const QueueRunnerDef& queue_runner_def, Coordinator* coord,
                        std::unique_ptr<QueueRunner>* result);
    
      /// Adds a callback that the queue runner will call when it detects an error.
      void AddErrorCallback(const std::function<void(Status)>& cb);
    
      /// Delete the previously registered callbacks.
      void ClearErrorCallbacks();
    
      /// The destructor would join all the threads.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 31 18:27:00 UTC 2022
    - 5K bytes
    - Viewed (0)
Back to top