Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 234 for race (0.07 sec)

  1. pkg/kubelet/kubelet_test.go

    	"reflect"
    	goruntime "runtime"
    	"sort"
    	"strconv"
    	"strings"
    	"testing"
    	"time"
    
    	sdktrace "go.opentelemetry.io/otel/sdk/trace"
    	"go.opentelemetry.io/otel/sdk/trace/tracetest"
    	oteltrace "go.opentelemetry.io/otel/trace"
    	noopoteltrace "go.opentelemetry.io/otel/trace/noop"
    
    	cadvisorapi "github.com/google/cadvisor/info/v1"
    	cadvisorapiv2 "github.com/google/cadvisor/info/v2"
    	"github.com/stretchr/testify/assert"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 106.9K bytes
    - Viewed (0)
  2. src/net/http/transport.go

    	}()
    
    	tryPutIdleConn := func(treq *transportRequest) bool {
    		trace := treq.trace
    		if err := pc.t.tryPutIdleConn(pc); err != nil {
    			closeErr = err
    			if trace != nil && trace.PutIdleConn != nil && err != errKeepAlivesDisabled {
    				trace.PutIdleConn(err)
    			}
    			return false
    		}
    		if trace != nil && trace.PutIdleConn != nil {
    			trace.PutIdleConn(nil)
    		}
    		return true
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 91K bytes
    - Viewed (0)
  3. src/os/os_test.go

    		go func() {
    			defer wg.Done()
    			<-hold
    			err := RemoveAll(root)
    			if err != nil {
    				t.Errorf("unexpected error: %T, %q", err, err)
    			}
    		}()
    	}
    	close(hold) // let workers race to remove root
    	wg.Wait()
    }
    
    // Test that reading from a pipe doesn't use up a thread.
    func TestPipeThreads(t *testing.T) {
    	switch runtime.GOOS {
    	case "illumos", "solaris":
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 83.1K bytes
    - Viewed (0)
  4. src/cmd/link/internal/loader/loader.go

    // relocation against a runtime builtin whose definition is not found
    // when the runtime package is built. The canonical example is
    // "runtime.racefuncenter" -- currently if you do something like
    //
    //	go build -gcflags=-race myprogram.go
    //
    // the compiler will insert calls to the builtin runtime.racefuncenter,
    // but the version of the runtime used for linkage won't actually contain
    // definitions of that symbol. See issue #42396 for details.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 20:26:10 UTC 2024
    - 81.5K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/server/healthz.go

    // as well as livez and readyz. The livez grace period is defined by the value of the
    // command-line flag --livez-grace-period; before the grace period elapses, the livez health checks
    // will default to healthy. One may want to set a grace period in order to prevent the kubelet from restarting
    // the kube-apiserver due to long-ish boot sequences. Readyz health checks, on the other hand, have no grace period,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 19:11:24 UTC 2024
    - 6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/cache/LocalCache.java

       *
       * The Least Recently Used page replacement algorithm was chosen due to its simplicity, high hit
       * rate, and ability to be implemented with O(1) time complexity. The initial LRU implementation
       * operates per-segment rather than globally for increased implementation simplicity. We expect
       * the cache hit rate to be similar to that of a global LRU algorithm.
       */
    
      // Constants
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 18 03:24:34 UTC 2024
    - 143.6K bytes
    - Viewed (0)
  7. cmd/server_test.go

    	// generate a random bucket name.
    	bucketName := getRandomBucketName()
    	// Block 1: Testing for racy access
    	// The assertion is removed from this block since the purpose of this block is to find races
    	// The purpose this block is not to check for correctness of functionality
    	// Run the test with -race flag to utilize this
    	var wg sync.WaitGroup
    	for i := 0; i < testConcurrencyLevel; i++ {
    		wg.Add(1)
    		go func() {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 115.3K bytes
    - Viewed (0)
  8. guava/src/com/google/common/cache/LocalCache.java

       *
       * The Least Recently Used page replacement algorithm was chosen due to its simplicity, high hit
       * rate, and ability to be implemented with O(1) time complexity. The initial LRU implementation
       * operates per-segment rather than globally for increased implementation simplicity. We expect
       * the cache hit rate to be similar to that of a global LRU algorithm.
       */
    
      // Constants
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 18 03:24:34 UTC 2024
    - 149.2K bytes
    - Viewed (0)
  9. pkg/kubelet/kuberuntime/kuberuntime_container_test.go

    		expectedGracePeriod int64
    	}{
    		{
    			name: "default termination grace period",
    			pod: &v1.Pod{
    				Spec: v1.PodSpec{Containers: []v1.Container{{Name: "foo"}}},
    			},
    			reason:              reasonUnknown,
    			expectedGracePeriod: int64(2),
    		},
    		{
    			name: "use pod termination grace period",
    			pod: &v1.Pod{
    				Spec: v1.PodSpec{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 28K bytes
    - Viewed (0)
  10. src/cmd/go/internal/work/exec.go

    			desc := "Executing action (" + a.Mode
    			if a.Package != nil {
    				desc += " " + a.Package.Desc()
    			}
    			desc += ")"
    			ctx, span := trace.StartSpan(ctx, desc)
    			a.traceSpan = span
    			for _, d := range a.Deps {
    				trace.Flow(ctx, d.traceSpan, a.traceSpan)
    			}
    			err = a.Actor.Act(b, ctx, a)
    			span.Done()
    		}
    		if a.json != nil {
    			a.json.TimeDone = time.Now()
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 14:46:37 UTC 2024
    - 105.6K bytes
    - Viewed (0)
Back to top