Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 1,343 for detects (0.27 sec)

  1. platforms/core-runtime/messaging/src/test/groovy/org/gradle/internal/remote/internal/inet/TcpConnectorTest.groovy

            connection?.stop()
            acceptor?.stop()
        }
    
        @Issue("GRADLE-2316")
        @Requires(UnitTestPreconditions.NotMacOs) // https://github.com/gradle/gradle-private/issues/2832
        def "detects self connect when outgoing connection binds to same port"() {
            given:
            def socketChannel = SocketChannel.open()
            def communicationAddress = addressFactory.getLocalBindingAddress()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:59:22 UTC 2023
    - 10.4K bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/testsanitizers/cc_test.go

    	return cmd, nil
    }
    
    type version struct {
    	name         string
    	major, minor int
    }
    
    var compiler struct {
    	sync.Once
    	version
    	err error
    }
    
    // compilerVersion detects the version of $(go env CC).
    //
    // It returns a non-nil error if the compiler matches a known version schema but
    // the version could not be parsed, or if $(go env CC) could not be determined.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 09 20:00:56 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  3. src/runtime/testdata/testprog/lockosthread.go

    	println("OK")
    }
    
    func LockOSThreadAvoidsStatePropagation() {
    	// This test is similar to LockOSThreadAlt in that it will detect if a thread
    	// which should have died is still running. However, rather than do this with
    	// thread IDs, it does this by unsharing state on that thread. This way, it
    	// also detects whether new threads were cloned from the dead thread, and not
    	// from a clean thread. Cloning from a locked thread is undesirable since
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 20:00:09 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  4. pkg/kubelet/nodeshutdown/systemd/inhibit_linux.go

    	call := obj.Call(systemdInterface+".KillUnit", 0, unit, who, signal)
    	if call.Err != nil {
    		return fmt.Errorf("unable to reload logind conf: %w", call.Err)
    	}
    
    	return nil
    }
    
    // MonitorShutdown detects the node shutdown by watching for "PrepareForShutdown" logind events.
    // see https://www.freedesktop.org/wiki/Software/systemd/inhibit/ for more details.
    func (bus *DBusCon) MonitorShutdown() (<-chan bool, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Aug 04 06:56:50 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  5. subprojects/core/src/test/groovy/org/gradle/internal/fingerprint/classpath/impl/DefaultClasspathFingerprinterTest.groovy

            def key = resourceHashesCache.keySet().iterator().next()
            resourceHashesCache.getIfPresent(key).toString() == 'e3f8c5a79d138a40570261fa7de40642'
        }
    
        def "detects moving of files in jars and directories"() {
            def zipFile = file('library.jar')
            file('zipContents').create {
                file('firstFile.txt').text = "Some text"
                subdir {}
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:33 UTC 2023
    - 9.7K bytes
    - Viewed (0)
  6. src/go/ast/print.go

    	}
    }
    
    // Implementation note: Print is written for AST nodes but could be
    // used to print arbitrary data structures; such a version should
    // probably be in a different package.
    //
    // Note: This code detects (some) cycles created via pointers but
    // not cycles that are created via slices or maps containing the
    // same slice or map. Code for general data structures probably
    // should catch those as well.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 28 21:32:41 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  7. testing/integ-test/src/integTest/groovy/org/gradle/integtests/TaskExecutionIntegrationTest.groovy

                }
            """
    
            expect:
            2.times {
                succeeds "custom", "--rerun-tasks"
            }
        }
    
        @Issue("https://github.com/gradle/gradle/issues/2293")
        def "detects a cycle with a task that mustRunAfter itself as finalizer of another task"() {
            buildFile << """
                def finalizer = tasks.register("finalizer")
                tasks.named("finalizer").configure {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  8. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/gcc/metadata/GccMetadataProviderTest.groovy

            clangOnLinux | clangOnLinuxVerboseOutput | '3.6.0' | 'Ubuntu clang version 3.6.0-2ubuntu1~trusty1 (tags/RELEASE_360/final) (based on LLVM 3.6.0)'
        }
    
        def "detects clang pretending to be gcc"() {
            def visitor = Mock(DiagnosticsVisitor)
    
            expect:
            def result = output clang
            !result.available
    
            when:
            result.explain(visitor)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 16 06:01:47 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  9. platforms/jvm/plugins-java-base/src/testFixtures/groovy/org/gradle/java/compile/AbstractJavaGroovyCompileAvoidanceIntegrationSpec.groovy

            executedAndNotSkipped ":c:${language.compileTaskName}"
            executedAndNotSkipped ":d:${language.compileTaskName}"
        }
    
        @Issue("gradle/gradle#1913")
        def "detects changes in compile classpath"() {
            given:
            buildFile << """
                ${mavenCentralRepository()}
    
                dependencies {
                   if (providers.gradleProperty('useCommons').present) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 30K bytes
    - Viewed (0)
  10. platforms/jvm/language-java/src/integTest/groovy/org/gradle/java/compile/incremental/CrossTaskIncrementalJavaCompilationIntegrationTest.groovy

        }
    
        @Requires(UnitTestPreconditions.Jdk9OrLater)
        def "incremental compilation detects if some exported package for compiled module was deleted #description"() {
            file("impl/build.gradle") << """
                def layout = project.layout
                tasks.compileJava {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 10.2K bytes
    - Viewed (0)
Back to top