Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 232 for defBlock (0.15 sec)

  1. tensorflow/compiler/jit/variable_info_util.h

                                     absl::Span<VariableInfo const> variable_infos,
                                     ResourceVarsSnapshot* result);
    
    // Acquires the mutexes for all the variables in `variables` using a
    // deadlock-safe protocol (acquire the mutexes in increasing-address order).
    //
    // `variables` is allowed to contain instances that don't track a resource
    // variable (i.e. variables[i].var() can be null for some i).
    //
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 14 21:57:02 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  2. src/cmd/go/go_unix_test.go

    }
    
    // TestTestInterrupt verifies the fix for issue #60203.
    //
    // If the whole process group for a 'go test' invocation receives
    // SIGINT (as would be sent by pressing ^C on a console),
    // it should return quickly, not deadlock.
    func TestTestInterrupt(t *testing.T) {
    	if testing.Short() {
    		t.Skipf("skipping in short mode: test executes many subprocesses")
    	}
    	// Don't run this test in parallel, for the same reason.
    
    	tg := testgo(t)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 19 16:17:55 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  3. src/runtime/rwmutex_test.go

    }
    
    func TestParallelRWMutexReaders(t *testing.T) {
    	if GOARCH == "wasm" {
    		t.Skip("wasm has no threads yet")
    	}
    	defer GOMAXPROCS(GOMAXPROCS(-1))
    	// If runtime triggers a forced GC during this test then it will deadlock,
    	// since the goroutines can't be stopped/preempted.
    	// Disable GC for this test (see issue #10958).
    	defer debug.SetGCPercent(debug.SetGCPercent(-1))
    	// SetGCPercent waits until the mark phase is over, but the runtime
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 15 22:00:45 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/projectmodule/ProjectArtifactResolver.java

            // This is not thread-safe because of lock juggling that happens for project state. When calculating the dependencies for an IDEA model, we can easily
            // deadlock when there are multiple projects that need to be locked at the same time.
            ResolvableArtifact resolvableArtifact = allResolvedArtifacts.get(artifact.getId());
            if (resolvableArtifact == null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  5. test/typeparam/typelist.go

    func _[T interface{ ~*int }](p T) int {
    	return *p
    }
    
    // Channel send and receive on a generic type which has a channel as core type.
    func _[T interface{ ~chan int }](ch T) int {
    	// This would deadlock if executed (but ok for a compile test)
    	ch <- 0
    	return <-ch
    }
    
    // Calling of a generic type which has a function as core type.
    func _[T interface{ ~func() }](f T) {
    	f()
    	go f()
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 09:04:48 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/InterruptibleTaskTest.java

    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    public final class InterruptibleTaskTest extends TestCase {
    
      // Regression test for a deadlock where a task could be stuck busy waiting for the task to
      // transition to DONE
      public void testInterruptThrows() throws Exception {
        final CountDownLatch isInterruptibleRegistered = new CountDownLatch(1);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/InterruptibleTaskTest.java

    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    public final class InterruptibleTaskTest extends TestCase {
    
      // Regression test for a deadlock where a task could be stuck busy waiting for the task to
      // transition to DONE
      public void testInterruptThrows() throws Exception {
        final CountDownLatch isInterruptibleRegistered = new CountDownLatch(1);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  8. src/syscall/tables_wasip1.go

    	ECHILD:          "No child processes",
    	ECONNABORTED:    "Connection aborted",
    	ECONNREFUSED:    "Connection refused",
    	ECONNRESET:      "Connection reset by peer",
    	EDEADLK:         "Deadlock condition",
    	EDESTADDRREQ:    "Destination address required",
    	EDOM:            "Math arg out of domain of func",
    	EDQUOT:          "Quota exceeded",
    	EEXIST:          "File exists",
    	EFAULT:          "Bad address",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 06 20:58:35 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top