Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 234 for race (0.09 sec)

  1. pilot/pkg/xds/ads.go

    		peerAddr = peerInfo.Addr.String()
    	}
    
    	if err := s.WaitForRequestLimit(stream.Context()); err != nil {
    		log.Warnf("ADS: %q exceeded rate limit: %v", peerAddr, err)
    		return status.Errorf(codes.ResourceExhausted, "request rate limit exceeded: %v", err)
    	}
    
    	ids, err := s.authenticate(ctx)
    	if err != nil {
    		return status.Error(codes.Unauthenticated, err.Error())
    	}
    	if ids != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 08:29:05 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  2. pkg/kubelet/kubelet_pods.go

    	// Knowing this, it is reasonable to wait until the service lister has synchronized at least once before attempting to build
    	// a service env var map.  This doesn't present the race below from happening entirely, but it does prevent the "obvious"
    	// failure case of services simply not having completed a list operation that can reasonably be expected to succeed.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 101.2K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssagen/ssa.go

    	types.NewPtrCacheEnabled = false
    	ssaConfig = ssa.NewConfig(base.Ctxt.Arch.Name, *types_, base.Ctxt, base.Flag.N == 0, Arch.SoftFloat)
    	ssaConfig.Race = base.Flag.Race
    	ssaCaches = make([]ssa.Cache, base.Flag.LowerC)
    
    	// Set up some runtime functions we'll need to call.
    	ir.Syms.AssertE2I = typecheck.LookupRuntimeFunc("assertE2I")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
  4. src/go/token/position.go

    	if i := searchFiles(s.files, int(p)); i >= 0 {
    		f := s.files[i]
    		// f.base <= int(p) by definition of searchFiles
    		if int(p) <= f.base+f.size {
    			// Update cache of last file. A race is ok,
    			// but an exclusive lock causes heavy contention.
    			s.last.Store(f)
    			return f
    		}
    	}
    	return nil
    }
    
    // File returns the file that contains the position p.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  5. src/net/http/transport_test.go

    		},
    	}
    	if mode == http2Mode {
    		trace.TLSHandshakeStart = func() { logf("tls handshake start") }
    		trace.TLSHandshakeDone = func(s tls.ConnectionState, err error) {
    			logf("tls handshake done. ConnectionState = %v \n err = %v", s, err)
    		}
    	}
    	if noHooks {
    		// zero out all func pointers, trying to get some path to crash
    		*trace = httptrace.ClientTrace{}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 192.6K bytes
    - Viewed (0)
  6. src/cmd/link/link_test.go

    }
    
    func main() {
    	callee(9)
    }
    `
    
    func TestIssue42396(t *testing.T) {
    	testenv.MustHaveGoBuild(t)
    
    	if !platform.RaceDetectorSupported(runtime.GOOS, runtime.GOARCH) {
    		t.Skip("no race detector support")
    	}
    
    	t.Parallel()
    
    	tmpdir := t.TempDir()
    
    	src := filepath.Join(tmpdir, "main.go")
    	err := os.WriteFile(src, []byte(testIssue42396src), 0666)
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 20:26:02 UTC 2024
    - 43.5K bytes
    - Viewed (0)
  7. Makefile.core.mk

    # For now, keep a minimal subset. This can be expanded in the future.
    BENCH_TARGETS ?= ./pilot/...
    
    PKG ?= ./...
    .PHONY: racetest
    racetest: $(JUNIT_REPORT)
    	go test ${GOBUILDFLAGS} ${T} -race $(PKG) 2>&1 | tee >($(JUNIT_REPORT) > $(JUNIT_OUT))
    
    .PHONY: benchtest
    benchtest: $(JUNIT_REPORT) ## Runs all benchmarks
    	prow/benchtest.sh run $(BENCH_TARGETS)
    	prow/benchtest.sh compare
    
    report-benchtest:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Jun 02 19:53:04 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  8. src/syscall/fs_wasip1.go

    		// determine ahead of time if the path we are about to open is a
    		// directory, so instead we fallback to a second call to path_open with
    		// a more limited set of rights.
    		//
    		// This approach is subject to a race if the file system is modified
    		// concurrently, so we also inject OFLAG_DIRECTORY to ensure that we do
    		// not accidentally open a file which is not a directory.
    		errno = path_open(
    			dirFd,
    			LOOKUP_SYMLINK_FOLLOW,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  9. pilot/pkg/xds/delta.go

    		peerAddr = peerInfo.Addr.String()
    	}
    
    	if err := s.WaitForRequestLimit(stream.Context()); err != nil {
    		deltaLog.Warnf("ADS: %q exceeded rate limit: %v", peerAddr, err)
    		return status.Errorf(codes.ResourceExhausted, "request rate limit exceeded: %v", err)
    	}
    
    	ids, err := s.authenticate(ctx)
    	if err != nil {
    		return status.Error(codes.Unauthenticated, err.Error())
    	}
    	if ids != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

          ATOMIC_HELPER.putNext(this, next);
        }
    
        void unpark() {
          // This is racy with removeWaiter. The consequence of the race is that we may spuriously call
          // unpark even though the thread has already removed itself from the list. But even if we did
          // use a CAS, that race would still exist (it would just be ever so slightly smaller).
          Thread w = thread;
          if (w != null) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 63.1K bytes
    - Viewed (1)
Back to top