Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 886 for checkdead (0.17 sec)

  1. src/runtime/time_test.go

    	"testing"
    	"time"
    )
    
    func TestFakeTime(t *testing.T) {
    	if runtime.GOOS == "windows" {
    		t.Skip("faketime not supported on windows")
    	}
    
    	// Faketime is advanced in checkdead. External linking brings in cgo,
    	// causing checkdead not working.
    	testenv.MustInternalLink(t, false)
    
    	t.Parallel()
    
    	exe, err := buildTestProg(t, "testfaketime", "-tags=faketime")
    	if err != nil {
    		t.Fatal(err)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Mar 09 03:40:04 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  2. src/runtime/proc.go

    }
    
    func incidlelocked(v int32) {
    	lock(&sched.lock)
    	sched.nmidlelocked += v
    	if v > 0 {
    		checkdead()
    	}
    	unlock(&sched.lock)
    }
    
    // Check for deadlock situation.
    // The check is based on number of running M's, if 0 -> deadlock.
    // sched.lock must be held.
    func checkdead() {
    	assertLockHeld(&sched.lock)
    
    	// For -buildmode=c-shared or -buildmode=c-archive it's OK if
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
  3. src/runtime/runtime2.go

    	//
    	//   - Idle Ps with no timers when they go idle are never checked in findrunnable
    	//     (for work- or timer-stealing; this is the ideal case).
    	//   - Running Ps must always be checked.
    	//   - Idle Ps whose timers are stolen must continue to be checked until they run
    	//     again, even after timer expiration.
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 47.9K bytes
    - Viewed (0)
  4. src/runtime/time.go

    			return
    		}
    	}
    }
    
    // timeSleepUntil returns the time when the next timer should fire. Returns
    // maxWhen if there are no timers.
    // This is only called by sysmon and checkdead.
    func timeSleepUntil() int64 {
    	next := int64(maxWhen)
    
    	// Prevent allp slice changes. This is like retake.
    	lock(&allpLock)
    	for _, pp := range allp {
    		if pp == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 14:36:24 UTC 2024
    - 37.5K bytes
    - Viewed (0)
  5. buildscripts/checkdeps.sh

    Harshavardhana <******@****.***> 1718255291 -0700
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 05:08:11 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/maven/MavenDependencyResolveIntegrationTest.groovy

                        capabilities {
                            requireCapability("org:lib")
                        }
                    }
                }
            """
    
            when:
            fails ':checkDeps'
    
            then:
            failureHasCause('Cannot add attributes or capabilities on a dependency that specifies artifacts or configuration information')
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/platforms/PlatformResolveIntegrationTest.groovy

                    conf 'org.test:depC:1.0'
                }
    """
            checkConfiguration("conf")
            resolve.expectDefaultConfiguration("runtime")
    
            expect:
            succeeds 'checkDeps'
            //Shape of the graph is not checked as bug was failing resolution altogether
        }
    
        def 'platform upgrade does not leave orphaned edges'() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 13 19:52:38 UTC 2024
    - 25.9K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ModuleDependencyExcludeResolveIntegrationTest.groovy

                'a:a:1.0' { expectResolve() }
                'b:b:1.0' { expectResolve() }
            }
    
            and: // Initial request to cache metadata
            succeeds "checkDeps"
    
            when:
            server.resetExpectations()
            succeeds "checkDeps"
    
            then:
            resolve.expectGraph {
                root(":", ":test:") {
                    module("a:a:1.0") {
                        module("b:b:1.0")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 17.9K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/rules/VariantAttributesRulesIntegrationTest.groovy

            repositoryInteractions {
                id('org.test:module:1.0') {
                    expectGetMetadata()
                    expectGetArtifact()
                }
            }
    
            then:
            run ':checkDeps'
            resolve.expectGraph {
                root(":", ":test:") {
                    module('org.test:module:1.0:customVariant2')
                }
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 19.6K bytes
    - Viewed (0)
  10. platforms/software/version-control/src/integTest/groovy/org/gradle/vcs/internal/GitVersionSelectionIntegrationTest.groovy

            repo.expectCloneSomething()
            run('checkDeps')
    
            then:
            fixture.expectGraph {
                root(":", "test:consumer:1.2") {
                    edge("test:test:latest.integration", ":dep", "test:test:2.0") {
                    }
                }
            }
            result.assertTasksExecuted(":dep:jar_2.0", ":checkDeps")
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 20:50:18 UTC 2024
    - 14.3K bytes
    - Viewed (0)
Back to top