Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 91 for defBlock (0.13 sec)

  1. src/cmd/vendor/golang.org/x/sys/unix/zerrors_linux_ppc64.go

    	{31, "EMLINK", "too many links"},
    	{32, "EPIPE", "broken pipe"},
    	{33, "EDOM", "numerical argument out of domain"},
    	{34, "ERANGE", "numerical result out of range"},
    	{35, "EDEADLK", "resource deadlock avoided"},
    	{36, "ENAMETOOLONG", "file name too long"},
    	{37, "ENOLCK", "no locks available"},
    	{38, "ENOSYS", "function not implemented"},
    	{39, "ENOTEMPTY", "directory not empty"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 19:00:13 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  2. src/log/slog/logger.go

    // at a level controlled by [SetLogLoggerLevel].
    func SetDefault(l *Logger) {
    	defaultLogger.Store(l)
    	// If the default's handler is a defaultHandler, then don't use a handleWriter,
    	// or we'll deadlock as they both try to acquire the log default mutex.
    	// The defaultHandler will use whatever the log default writer is currently
    	// set to, which is correct.
    	// This can occur with SetDefault(Default()).
    	// See TestSetDefault.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 08 18:26:18 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_collective.cc

        // CrossReplicaAndPartition:
        // Even though TF2XLA will setup the device assignment to include
        // devices in this group as replicas before launching this module,
        // "CrossReplica" mode (no channel) produces a deadlock when
        // not using XLA SPMD expansion.
        int64_t channel_id = channel_id_++;
        return ConvertAllReduce(
            rewriter, channel_id, all_reduce.getType(), replica_groups,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 16K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java

        assertSame(firstException.getCause(), expected.getCause());
        // lockA should work after lockB is released.
        lockB.unlock();
        lockA.lock();
      }
    
      // Tests transitive deadlock detection.
      public void testDeadlock_threeLocks() {
        // Establish an ordering from lockA -> lockB.
        lockA.lock();
        lockB.lock();
        lockB.unlock();
        lockA.unlock();
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 16.1K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java

        assertSame(firstException.getCause(), expected.getCause());
        // lockA should work after lockB is released.
        lockB.unlock();
        lockA.lock();
      }
    
      // Tests transitive deadlock detection.
      public void testDeadlock_threeLocks() {
        // Establish an ordering from lockA -> lockB.
        lockA.lock();
        lockB.lock();
        lockB.unlock();
        lockA.unlock();
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 16.1K bytes
    - Viewed (0)
  6. tensorflow/c/eager/parallel_device/parallel_device_lib.h

      // parallel device, then call `Join` on each; even if some of the `Join`s
      // return a bad status the caller must run all of the `Join`s or any future
      // `StartExecute`s will deadlock).
      //
      // If `is_async=false` (constructor argument), `cancellation_manager` must
      // live until `Join` finishes. If `is_async=true` it must live until `Join` is
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 25 15:21:13 UTC 2023
    - 12.9K bytes
    - Viewed (0)
  7. src/runtime/trace.go

    	// also no stale generation values left. Therefore, it's safe to flush
    	// any buffers that remain in that generation's slot.
    	const debugDeadlock = false
    	systemstack(func() {
    		// Track iterations for some rudimentary deadlock detection.
    		i := 0
    		detectedDeadlock := false
    
    		for mToFlush != nil {
    			prev := &mToFlush
    			for mp := *prev; mp != nil; {
    				if mp.trace.seqlock.Load()%2 != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 37.1K bytes
    - Viewed (0)
  8. src/runtime/chan_test.go

    		default:
    		}
    		if !<-done {
    			t.Fatal("no chan is ready")
    		}
    	}
    }
    
    func TestSelfSelect(t *testing.T) {
    	// Ensure that send/recv on the same chan in select
    	// does not crash nor deadlock.
    	defer runtime.GOMAXPROCS(runtime.GOMAXPROCS(2))
    	for _, chanCap := range []int{0, 10} {
    		var wg sync.WaitGroup
    		wg.Add(2)
    		c := make(chan int, chanCap)
    		for p := 0; p < 2; p++ {
    			p := p
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 31 20:47:35 UTC 2023
    - 23.4K bytes
    - Viewed (0)
  9. pkg/kubelet/container/testing/fake_runtime.go

    		return image.Image, f.Err
    	}
    
    	retErr := f.Err
    	if f.imagePullTokenBucket == nil {
    		f.imagePullTokenBucket = make(chan bool, 1)
    	}
    	// Unlock before waiting for UnblockImagePulls calls, to avoid deadlock.
    	f.Unlock()
    	select {
    	case <-ctx.Done():
    	case <-f.imagePullTokenBucket:
    	}
    	return image.Image, retErr
    }
    
    // UnblockImagePulls unblocks a certain number of image pulls, if BlockImagePulls is true.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 14 00:23:50 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  10. src/go/types/subst.go

    		}
    
    	case *Named:
    		// subst is called during expansion, so in this function we need to be
    		// careful not to call any methods that would cause t to be expanded: doing
    		// so would result in deadlock.
    		//
    		// So we call t.Origin().TypeParams() rather than t.TypeParams().
    		orig := t.Origin()
    		n := orig.TypeParams().Len()
    		if n == 0 {
    			return t // type is not parameterized
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:04:07 UTC 2024
    - 11.1K bytes
    - Viewed (0)
Back to top