Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 328 for race (0.05 sec)

  1. tensorflow/compiler/jit/xla_device.cc

      //
      // TODO(b/78232898): This isn't thread-safe; there is a race between the call
      // to set_tensorflow_accelerator_device_info() with ops that call the getter
      // tensorflow_accelerator_device_info(). This isn't trivially fixed by adding
      // locking to those methods; see the bug for details. Our only saving grace at
      // the moment is that this race doesn't seem to occur in practice.
      if (use_accelerator_device_info_) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 20 21:05:42 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/AggregateFutureState.java

        /*
         * The initialization of seenExceptions has to be more complicated than we'd like. The simple
         * approach would be for each caller CAS it from null to a Set populated with its exception. But
         * there's another race: If the first thread fails with an exception and a second thread
         * immediately fails with the same exception:
         *
         * Thread1: calls setException(), which returns true, context switch before it can CAS
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 28 20:40:51 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  3. src/cmd/link/internal/ld/main.go

    	flagInstallSuffix = flag.String("installsuffix", "", "set package directory `suffix`")
    	flagDumpDep       = flag.Bool("dumpdep", false, "dump symbol dependency graph")
    	flagRace          = flag.Bool("race", false, "enable race detector")
    	flagMsan          = flag.Bool("msan", false, "enable MSan interface")
    	flagAsan          = flag.Bool("asan", false, "enable ASan interface")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 16:59:50 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  4. pkg/controller/storageversionmigrator/resourceversion.go

    	}
    
    	svm, err := rv.svmListers.Get(name)
    	if apierrors.IsNotFound(err) {
    		// no work to do, don't fail and requeue
    		return nil
    	}
    	if err != nil {
    		return err
    	}
    	// working with copy to avoid race condition between this and migration controller
    	toBeProcessedSVM := svm.DeepCopy()
    	gvr := getGVRFromResource(toBeProcessedSVM)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  5. src/net/unixsock_posix.go

    	// we have to clean it up ourselves.
    	// There's a race here--we can't know for
    	// sure whether someone else has come along
    	// and replaced our socket name already--
    	// but this sequence (remove then close)
    	// is at least compatible with the auto-remove
    	// sequence in ListenUnix. It's only non-Go
    	// programs that can mess us up.
    	// Even if there are racy calls to Close, we want to unlink only for the first one.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:54:32 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  6. src/internal/poll/fd_wasip1.go

    		return nil
    	}
    
    	// We don't use ignoringEINTR here because POSIX does not define
    	// whether the descriptor is closed if close returns EINTR.
    	// If the descriptor is indeed closed, using a loop would race
    	// with some other goroutine opening a new descriptor.
    	// (The Linux kernel guarantees that it is closed on an EINTR error.)
    	return CloseFunc(fd)
    }
    
    // Copy creates a copy of the FD.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 20:14:02 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  7. pkg/istio-agent/xds_proxy.go

    	// Wasm cache and ecds channel are used to replace wasm remote load with local file.
    	wasmCache wasm.Cache
    
    	// ecds version and nonce uses atomic only to prevent race in testing.
    	// In reality there should not be race as istiod will only have one
    	// in flight update for each type of resource.
    	// TODO(bianpengyuan): this relies on the fact that istiod versions all ECDS resources
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 22:12:28 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  8. src/os/dir_windows.go

    	for {
    		d = file.dirinfo.Load()
    		if d != nil {
    			break
    		}
    		d = new(dirInfo)
    		d.init(file.pfd.Sysfd)
    		if file.dirinfo.CompareAndSwap(nil, d) {
    			break
    		}
    		// We lost the race: try again.
    		d.close()
    	}
    	d.mu.Lock()
    	defer d.mu.Unlock()
    	if d.buf == nil {
    		d.buf = dirBufPool.Get().(*[]byte)
    	}
    
    	wantAll := n <= 0
    	if wantAll {
    		n = -1
    	}
    	for n != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 20:52:06 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  9. src/testing/fstest/mapfs.go

    // so that the file system can be changed by editing the map as needed.
    // An implication is that file system operations must not run concurrently
    // with changes to the map, which would be a race.
    // Another implication is that opening or reading a directory requires
    // iterating over the entire map, so a MapFS should typically be used with not more
    // than a few hundred entries or directory reads.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  10. pkg/scheduler/util/assumecache/assume_cache_test.go

    func TestRestore(t *testing.T) {
    	tCtx, cache, informer := newTest(t)
    
    	// This test assumes an object with the same version as the API object.
    	// The assume cache supports that, but doing so in real code suffers from
    	// a race: if an unrelated update is received from the apiserver while
    	// such an object is assumed, the local modification gets dropped.
    	oldObj := makeObj("pvc1", "5", "")
    	newObj := makeObj("pvc1", "5", "")
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 09:46:58 UTC 2024
    - 9.5K bytes
    - Viewed (0)
Back to top