Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 487 for race (0.06 sec)

  1. pkg/kube/kclient/client_test.go

    		})
    		assert.EventuallyEqual(t, func() int {
    			return len(wasm.List("", klabels.Everything()))
    		}, 1)
    		tracker.WaitOrdered("add/name")
    	})
    }
    
    // setup some calls to ensure we trigger the race detector, if there was a race.
    func constantlyAccessForRaceDetection(stop chan struct{}, wt kclient.Untyped) {
    	for {
    		select {
    		case <-time.After(time.Millisecond):
    		case <-stop:
    			return
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 11 15:12:54 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  2. src/internal/trace/trace_test.go

    			{trace.EventTaskBegin, trace.TaskID(1), []string{"task0"}},
    			{trace.EventRegionBegin, trace.TaskID(1), []string{"region0"}},
    			{trace.EventRegionBegin, trace.TaskID(1), []string{"region1"}},
    			{trace.EventLog, trace.TaskID(1), []string{"key0", "0123456789abcdef"}},
    			{trace.EventRegionEnd, trace.TaskID(1), []string{"region1"}},
    			{trace.EventRegionEnd, trace.TaskID(1), []string{"region0"}},
    			{trace.EventTaskEnd, trace.TaskID(1), []string{"task0"}},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  3. src/internal/poll/fd_windows.go

    			n = 0
    		}
    	} else {
    		o := &fd.rop
    		o.InitBuf(buf)
    		n, err = execIO(o, func(o *operation) error {
    			return syscall.WSARecv(o.fd.Sysfd, &o.buf, 1, &o.qty, &o.flags, &o.o, nil)
    		})
    		if race.Enabled {
    			race.Acquire(unsafe.Pointer(&ioSync))
    		}
    	}
    	if len(buf) != 0 {
    		err = fd.eofError(n, err)
    	}
    	return n, err
    }
    
    var ReadConsole = syscall.ReadConsole // changed for testing
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 31 16:50:42 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/connection/FastFallbackExchangeFinder.kt

              }
            }
    
            val nextPlan = connectResult.nextPlan
            if (nextPlan != null) {
              // Try this plan's successor before deferred plans because it won the race!
              routePlanner.deferredPlans.addFirst(nextPlan)
            }
          }
        } finally {
          cancelInFlightConnects()
        }
    
        throw firstException!!
      }
    
      /**
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/telemetry/internal/upload/reports.go

    				if cfg.HasCounter(p.Program, k) && report.X <= cfg.Rate(p.Program, k) {
    					x.Counters[k] = v
    				}
    			}
    			// and the same for Stacks
    			// this can be made more efficient, when it matters
    			for k, v := range p.Stacks {
    				before, _, _ := strings.Cut(k, "\n")
    				if cfg.HasStack(p.Program, before) && report.X <= cfg.Rate(p.Program, before) {
    					x.Stacks[k] = v
    				}
    			}
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 14:52:56 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  6. src/runtime/extern.go

    the limit.
    
    The GORACE variable configures the race detector, for programs built using -race.
    See the [Race Detector article] for details.
    
    The GOTRACEBACK variable controls the amount of output generated when a Go
    program fails due to an unrecovered panic or an unexpected runtime condition.
    By default, a failure prints a stack trace for the current goroutine,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  7. src/runtime/string.go

    	} else {
    		b = rawbyteslice(len(s))
    	}
    	copy(b, s)
    	return b
    }
    
    func stringtoslicerune(buf *[tmpStringBufSize]rune, s string) []rune {
    	// two passes.
    	// unlike slicerunetostring, no race because strings are immutable.
    	n := 0
    	for range s {
    		n++
    	}
    
    	var a []rune
    	if buf != nil && n <= len(buf) {
    		*buf = [tmpStringBufSize]rune{}
    		a = buf[:n]
    	} else {
    		a = rawruneslice(n)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  8. src/os/exec/exec_test.go

    // This test is run by cmd/dist under the race detector to verify that
    // the race detector no longer reports any problems.
    func TestStdinCloseRace(t *testing.T) {
    	t.Parallel()
    
    	cmd := helperCommand(t, "stdinClose")
    	stdin, err := cmd.StdinPipe()
    	if err != nil {
    		t.Fatalf("StdinPipe: %v", err)
    	}
    	if err := cmd.Start(); err != nil {
    		t.Fatalf("Start: %v", err)
    
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 20:13:53 UTC 2024
    - 48.4K bytes
    - Viewed (0)
  9. src/cmd/go/internal/work/build.go

    	-installsuffix suffix
    		a suffix to use in the name of the package installation directory,
    		in order to keep output separate from default builds.
    		If using the -race flag, the install suffix is automatically set to race
    		or, if set explicitly, has _race appended to it. Likewise for the -msan
    		and -asan flags. Using a -buildmode option that requires non-default compile
    		flags has a similar effect.
    	-ldflags '[pattern=]arg list'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 17:22:59 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  10. src/os/pidfd_linux.go

    	}
    	return h, nil
    }
    
    // _P_PIDFD is used as idtype argument to waitid syscall.
    const _P_PIDFD = 3
    
    func (p *Process) pidfdWait() (*ProcessState, error) {
    	// When pidfd is used, there is no wait/kill race (described in CL 23967)
    	// because the PID recycle issue doesn't exist (IOW, pidfd, unlike PID,
    	// is guaranteed to refer to one particular process). Thus, there is no
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 18:08:44 UTC 2024
    - 4.2K bytes
    - Viewed (0)
Back to top