Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 91 for defBlock (0.12 sec)

  1. src/cmd/compile/internal/ssa/sccp.go

    				}
    			}
    		}
    		for _, ctl := range block.ControlValues() {
    			// for control values that can become constants, find their use blocks
    			if possibleConst(ctl) {
    				t.defBlock[ctl] = append(t.defBlock[ctl], block)
    			}
    		}
    	}
    }
    
    // addUses finds all uses of value and appends them into work list for further process
    func (t *worklist) addUses(val *Value) {
    	for _, use := range t.defUse[val] {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 16:54:50 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

     *       "safe" edge is created.
     *   <li>If a cycle is detected, an "unsafe" (cyclic) edge is created to represent a potential
     *       deadlock situation, and the appropriate Policy is executed.
     * </ul>
     *
     * <p>Note that detection of potential deadlock does not necessarily indicate that deadlock will
     * happen, as it is possible that higher level application logic prevents the cyclic lock
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Dec 15 19:31:54 UTC 2023
    - 35.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

     *       "safe" edge is created.
     *   <li>If a cycle is detected, an "unsafe" (cyclic) edge is created to represent a potential
     *       deadlock situation, and the appropriate Policy is executed.
     * </ul>
     *
     * <p>Note that detection of potential deadlock does not necessarily indicate that deadlock will
     * happen, as it is possible that higher level application logic prevents the cyclic lock
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Dec 15 19:31:54 UTC 2023
    - 35.9K bytes
    - Viewed (0)
  4. src/runtime/crash_test.go

    	testCrashHandler(t, false)
    }
    
    func testDeadlock(t *testing.T, name string) {
    	// External linking brings in cgo, causing deadlock detection not working.
    	testenv.MustInternalLink(t, false)
    
    	output := runTestProg(t, "testprog", name)
    	want := "fatal error: all goroutines are asleep - deadlock!\n"
    	if !strings.HasPrefix(output, want) {
    		t.Fatalf("output does not start with %q:\n%s", want, output)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 19:46:10 UTC 2024
    - 27K bytes
    - Viewed (0)
  5. src/runtime/panic.go

    	mp := acquirem()
    	pp := mp.p.ptr()
    	if len(pp.deferpool) == 0 && sched.deferpool != nil {
    		lock(&sched.deferlock)
    		for len(pp.deferpool) < cap(pp.deferpool)/2 && sched.deferpool != nil {
    			d := sched.deferpool
    			sched.deferpool = d.link
    			d.link = nil
    			pp.deferpool = append(pp.deferpool, d)
    		}
    		unlock(&sched.deferlock)
    	}
    	if n := len(pp.deferpool); n > 0 {
    		d = pp.deferpool[n-1]
    		pp.deferpool[n-1] = nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 43.8K bytes
    - Viewed (0)
  6. src/runtime/preempt.go

    // the current M (if any) must be in a preemptible state. This
    // prevents deadlocks where two goroutines attempt to suspend each
    // other and both are in non-preemptible states. There are other ways
    // to resolve this deadlock, but this seems simplest.
    //
    // TODO(austin): What if we instead required this to be called from a
    // user goroutine? Then we could deschedule the goroutine while
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  7. src/runtime/proc_test.go

    	if runtime.NumCPU() == 1 {
    		// Takes too long, too easy to deadlock, etc.
    		t.Skip("skipping on uniprocessor")
    	}
    	P := 4
    	N := 10
    	if testing.Short() {
    		P = 3
    		N = 3
    	}
    	defer runtime.GOMAXPROCS(runtime.GOMAXPROCS(P))
    	// If runtime triggers a forced GC during this test then it will deadlock,
    	// since the goroutines can't be stopped/preempted.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 14 00:03:57 UTC 2023
    - 25.8K bytes
    - Viewed (0)
  8. src/net/http/httputil/dump_test.go

    		got = strings.ReplaceAll(got, "\r", "")
    
    		if got != tt.want {
    			t.Errorf("%d.\nDumpResponse got:\n%s\n\nWant:\n%s\n", i, got, tt.want)
    		}
    	}
    }
    
    // Issue 38352: Check for deadlock on canceled requests.
    func TestDumpRequestOutIssue38352(t *testing.T) {
    	if testing.Short() {
    		return
    	}
    	t.Parallel()
    
    	timeout := 10 * time.Second
    	if deadline, ok := t.Deadline(); ok {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 06 17:34:07 UTC 2022
    - 12.5K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/locking/AbstractLockingIntegrationTest.groovy

        def lockfileFixture = new LockfileFixture(testDirectory: testDirectory)
        ResolveTestFixture resolve
    
        def setup() {
            settingsFile << "rootProject.name = 'depLock'"
            resolve = new ResolveTestFixture(buildFile, "lockedConf")
            resolve.prepare()
            resolve.addDefaultVariantDerivationStrategy()
        }
    
        abstract LockMode lockMode()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 02:50:41 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  10. src/runtime/os_windows.go

    			// CreateThread may fail if called
    			// concurrently with ExitProcess. If this
    			// happens, just freeze this thread and let
    			// the process exit. See issue #18253.
    			lock(&deadlock)
    			lock(&deadlock)
    		}
    		print("runtime: failed to create new OS thread (have ", mcount(), " already; errno=", getlasterror(), ")\n")
    		throw("runtime.newosproc")
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 22:55:25 UTC 2024
    - 41.5K bytes
    - Viewed (0)
Back to top