Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/timeout/IntegrationTestTimeout.java

     * {@link org.gradle.integtests.fixtures.AbstractIntegrationSpec}. Upon timeout,
     * all threads' stack traces of current JVM (embedded executer) or forked JVM (forking executer)
     * are printed to help us debug deadlock issues.
     */
    
    @Retention(RetentionPolicy.RUNTIME)
    @Target({ElementType.TYPE, ElementType.METHOD})
    @ExtensionAnnotation(IntegrationTestTimeoutExtension.class)
    public @interface IntegrationTestTimeout {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/scaninfo/DefaultDaemonScanInfo.java

                            // the build finished listener. If the message happens to be a graceful expire
                            // one, then there's a large risk that we create a deadlock, because we're trying to
                            // remove the same listener from 2 different notifications. To avoid this, we just
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  3. pkg/kube/krt/fetch.go

    		ff := func(o []Event[T], initialSync bool) {
    			f(slices.Map(o, castEvent[T, any]), initialSync)
    		}
    		// Skip calling all the existing state for secondary dependencies, otherwise we end up with a deadlock due to
    		// rerunning the same collection's recomputation at the same time (once for the initial event, then for the initial registration).
    		c.RegisterBatch(ff, false)
    	})
    
    	// Now we can do the real fetching
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 10 23:33:56 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  4. src/runtime/time_fake.go

    func time_now() (sec int64, nsec int32, mono int64) {
    	return faketime / 1e9, int32(faketime % 1e9), faketime
    }
    
    // write is like the Unix write system call.
    // We have to avoid write barriers to avoid potential deadlock
    // on write calls.
    //
    //go:nowritebarrierrec
    func write(fd uintptr, p unsafe.Pointer, n int32) int32 {
    	if !(fd == 1 || fd == 2) {
    		// Do an ordinary write.
    		return write1(fd, p, n)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:15:13 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  5. 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)
  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/syscall/tables_js.go

    	EDQUOT          Errno = 122     /* Quota exceeded */
    	EDOM            Errno = 33      /* Math arg out of domain of func */
    	ERANGE          Errno = 34      /* Math result not representable */
    	EDEADLK         Errno = 35      /* Deadlock condition */
    	ENOLCK          Errno = 37      /* No record locks available */
    	ENOTEMPTY       Errno = 39      /* Directory not empty */
    	ELOOP           Errno = 40      /* Too many symbolic links */
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 19.2K bytes
    - Viewed (0)
  8. src/go/token/serialize_test.go

    	"fmt"
    	"testing"
    )
    
    // equal returns nil if p and q describe the same file set;
    // otherwise it returns an error describing the discrepancy.
    func equal(p, q *FileSet) error {
    	if p == q {
    		// avoid deadlock if p == q
    		return nil
    	}
    
    	// not strictly needed for the test
    	p.mutex.Lock()
    	q.mutex.Lock()
    	defer q.mutex.Unlock()
    	defer p.mutex.Unlock()
    
    	if p.base != q.base {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 17 15:02:55 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  9. 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)
  10. test/chan/sieve2.go

    		// primes ≤ sqrt(nth prime).  Thus, the merging goroutine will
    		// receive from 'primes' much slower than this goroutine
    		// will send to it, making the buffer accumulate and block this
    		// goroutine from sending, causing a deadlock.  The solution is to
    		// use a proxy goroutine to do automatic buffering.
    		primes := sendproxy(primes)
    
    		candidates := odds()
    		p := <-candidates
    
    		for {
    			c := <-composites
    			for p < c {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Feb 19 06:44:02 UTC 2012
    - 3.9K bytes
    - Viewed (0)
Back to top