Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 149 for worst (0.04 sec)

  1. guava/src/com/google/common/collect/ImmutableSet.java

        // Raising this number slows the worst-case contains behavior, speeds up hashFloodingDetected,
        // and reduces the false-positive probability.
        static final int MAX_RUN_MULTIPLIER = 13;
    
        /**
         * Checks the whole hash table for poor hash distribution. Takes O(n) in the worst case, O(n /
         * log n) on average.
         *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 08 03:01:02 UTC 2024
    - 35.3K bytes
    - Viewed (0)
  2. src/vendor/golang.org/x/net/nettest/conntest.go

    			c1.SetWriteDeadline(aLongTimeAgo)
    		}()
    		go func() {
    			defer wg.Done()
    			c1.LocalAddr()
    		}()
    		go func() {
    			defer wg.Done()
    			c1.RemoteAddr()
    		}()
    	}
    	wg.Wait() // At worst, the deadline is set 10ms into the future
    
    	resyncConn(t, c1)
    	testRoundtrip(t, c1)
    }
    
    // checkForTimeoutError checks that the error satisfies the Error interface
    // and that Timeout returns true.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  3. pkg/kubelet/pleg/evented.go

    		// podSandbox for the container when generating the event.
    		// It is safe to ignore because
    		// a) a event would have been received for the sandbox deletion,
    		// b) in worst case, a relist will eventually sync the pod status.
    		// TODO(#114371): Figure out a way to handle this case instead of ignoring.
    		if event.PodSandboxStatus == nil || event.PodSandboxStatus.Metadata == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 10:46:06 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/nilcheck_test.go

    func BenchmarkNilCheckDeep10000(b *testing.B) { benchmarkNilCheckDeep(b, 10000) }
    
    // benchmarkNilCheckDeep is a stress test of nilcheckelim.
    // It uses the worst possible input: A linear string of
    // nil checks, none of which can be eliminated.
    // Run with multiple depths to observe big-O behavior.
    func benchmarkNilCheckDeep(b *testing.B, depth int) {
    	c := testConfig(b)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 17 23:34:11 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/util/staticpod/utils.go

    	if timeoutForControlPlane != nil {
    		timeoutForControlPlaneSeconds = timeoutForControlPlane.Seconds()
    	}
    	// sets failureThreshold big enough to guarantee the full timeout can cover the worst case scenario for the control-plane to come alive
    	// we ignore initialDelaySeconds in the calculation here for simplicity
    	failureThreshold := int32(math.Ceil(timeoutForControlPlaneSeconds / float64(periodSeconds)))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 14 13:07:56 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/storage/storagebackend/factory/etcd3.go

    		// Given that client is closed on shutdown we hold the lock for
    		// the entire period of healthcheck call to ensure that client will
    		// not be closed during healthcheck.
    		// Given that healthchecks has a 2s timeout, worst case of blocking
    		// shutdown for additional 2s seems acceptable.
    		lock.RLock()
    		defer lock.RUnlock()
    
    		if clientErr != nil {
    			return clientErr
    		}
    		if limiter.Allow() == false {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 07:56:39 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  7. src/runtime/mbarrier.go

    	// performed the write barrier but before we perform the
    	// memory copy. This safe because the write performed by that
    	// other goroutine must also be accompanied by a write
    	// barrier, so at worst we've unnecessarily greyed the old
    	// pointer that was in src.
    	memmove(dst, src, typ.Size_)
    	if goexperiment.CgoCheck2 {
    		cgoCheckMemmove2(typ, dst, src, 0, typ.Size_)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  8. pilot/pkg/autoregistration/controller_test.go

    		c1.OnDisconnect(p1conn1)
    		// stop processing the delayed close queue in c1, forces using periodic cleanup
    		close(stop1)
    		stopped1 = true
    		// unfortunately, this retry at worst could be twice as long as the sweep interval
    		retry.UntilSuccessOrFail(t, func() error {
    			return checkNoEntry(store, wgA, p)
    		}, retry.Timeout(time.Until(time.Now().Add(21*features.WorkloadEntryCleanupGracePeriod))))
    	})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 16 00:00:36 UTC 2024
    - 31.4K bytes
    - Viewed (0)
  9. src/internal/trace/traceviewer/http.go

      for which y is zero), and more generally, the fraction of time that
      the processors are available to application goroutines ("mutators"),
      for any time window of a specified size, in the worst case.
    </p>
    </body>
    </html>
    `))
    
    type View struct {
    	Type   ViewType
    	Ranges []Range
    }
    
    type ViewType string
    
    const (
    	ViewProc   ViewType = "proc"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 21:29:53 UTC 2023
    - 12.6K bytes
    - Viewed (0)
  10. src/internal/trace/oldtrace.go

    // license that can be found in the LICENSE file.
    
    // This file implements conversion from old (Go 1.11–Go 1.21) traces to the Go
    // 1.22 format.
    //
    // Most events have direct equivalents in 1.22, at worst requiring arguments to
    // be reordered. Some events, such as GoWaiting need to look ahead for follow-up
    // events to determine the correct translation. GoSyscall, which is an
    // instantaneous event, gets turned into a 1 ns long pair of
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 17.2K bytes
    - Viewed (0)
Back to top