Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 108 for race (1.3 sec)

  1. src/os/file_unix.go

    	if e != nil {
    		return nil, &PathError{Op: "open", Path: name, Err: e}
    	}
    
    	// open(2) itself won't handle the sticky bit on *BSD and Solaris
    	if setSticky {
    		setStickyBit(name)
    	}
    
    	// There's a race here with fork/exec, which we are
    	// content to live with. See ../syscall/exec_unix.go.
    	if !supportsCloseOnExec {
    		syscall.CloseOnExec(r)
    	}
    
    	f := newFile(r, name, kindOpenFile, unix.HasNonblockFlag(flag))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:52:34 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  2. src/cmd/gofmt/gofmt.go

    	// (If that happens, we could, say, append to src to finish the read, or
    	// proceed with a truncated buffer — but the fact that it changed at all
    	// indicates a possible race with someone editing the file, so we prefer to
    	// stop to avoid corrupting it.)
    	src := make([]byte, size+1)
    	n, err := io.ReadFull(in, src)
    	switch err {
    	case nil, io.EOF, io.ErrUnexpectedEOF:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  3. src/time/tick_test.go

    			// the first drain1 has pulled the value out.
    			// This is rare, but it does happen on overloaded builder machines.
    			// It can also be reproduced on an M3 MacBook Pro using:
    			//
    			//	go test -c strings
    			//	stress ./strings.test &   # chew up CPU
    			//	go test -c -race time
    			//	stress -p 48 ./time.test -test.count=10 -test.run=TestChan/asynctimerchan=1/Ticker
    			drain1()
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:10:37 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  4. src/cmd/go/internal/cfg/cfg.go

    	CmdName string // "build", "install", "list", "mod tidy", etc.
    
    	DebugActiongraph  string // -debug-actiongraph flag (undocumented, unstable)
    	DebugTrace        string // -debug-trace flag
    	DebugRuntimeTrace string // -debug-runtime-trace flag (undocumented, unstable)
    
    	// GoPathError is set when GOPATH is not set. it contains an
    	// explanation why GOPATH is unset.
    	GoPathError   string
    	GOPATHChanged bool
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 17:13:51 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/fingerprint/ConfigurationCacheFingerprintWriter.kt

                    // Writing with explicit trace helps to avoid attributing these failures to "Gradle runtime".
                    // TODO(mlopatkin): can we do even better and pinpoint the exact stacktrace in case of failure?
                    val trace = locationFor(null)
                    sink().write(ValueSource(obtainedValue.uncheckedCast()), trace)
                    reportUniqueValueSourceInput(
                        trace,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 32.8K bytes
    - Viewed (0)
  6. src/runtime/syscall_windows.go

    package runtime
    
    import (
    	"internal/abi"
    	"internal/goarch"
    	"unsafe"
    )
    
    // cbs stores all registered Go callbacks.
    var cbs struct {
    	lock  mutex // use cbsLock / cbsUnlock for race instrumentation.
    	ctxt  [cb_max]winCallback
    	index map[winCallbackKey]int
    	n     int
    }
    
    func cbsLock() {
    	lock(&cbs.lock)
    	// compileCallback is used by goenvs prior to completion of schedinit.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:12:46 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  7. cmd/bucket-metadata-sys.go

    		globalBucketMonitor.DeleteBucket(bucket)
    	}
    }
    
    // Set - sets a new metadata in-memory.
    // Only a shallow copy is saved and fields with references
    // cannot be modified without causing a race condition,
    // so they should be replaced atomically and not appended to, etc.
    // Data is not persisted to disk.
    func (sys *BucketMetadataSys) Set(bucket string, meta BucketMetadata) {
    	if !isMinioMetaBucketName(bucket) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  8. src/go/types/typexpr.go

    	if check.conf._Trace {
    		check.trace(e0.Pos(), "-- type %s", e0)
    		check.indent++
    		defer func() {
    			check.indent--
    			var under Type
    			if T != nil {
    				// Calling under() here may lead to endless instantiations.
    				// Test case: type T[P any] *T[P]
    				under = safeUnderlying(T)
    			}
    			if T == under {
    				check.trace(e0.Pos(), "=> %s // %s", T, goTypeName(T))
    			} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  9. pkg/kubelet/pleg/generic.go

    		} else {
    			klog.V(4).InfoS("PLEG: Write status", "pod", klog.KRef(pod.Namespace, pod.Name))
    		}
    		// Preserve the pod IP across cache updates if the new IP is empty.
    		// When a pod is torn down, kubelet may race with PLEG and retrieve
    		// a pod status after network teardown, but the kubernetes API expects
    		// the completed pod's IP to be available after the pod is dead.
    		status.IPs = g.getPodIPs(pid, status)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  10. src/runtime/stack.go

    			}
    			osStackAlloc(s)
    			s.elemsize = uintptr(n)
    		}
    		v = unsafe.Pointer(s.base())
    	}
    
    	if traceAllocFreeEnabled() {
    		trace := traceTryAcquire()
    		if trace.ok() {
    			trace.GoroutineStackAlloc(uintptr(v), uintptr(n))
    			traceRelease(trace)
    		}
    	}
    	if raceenabled {
    		racemalloc(v, uintptr(n))
    	}
    	if msanenabled {
    		msanmalloc(v, uintptr(n))
    	}
    	if asanenabled {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 41.1K bytes
    - Viewed (0)
Back to top