Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 2,403 for repeats (0.11 sec)

  1. pkg/apis/autoscaling/v2beta2/defaults.go

    	autoscalingv2beta2 "k8s.io/api/autoscaling/v2beta2"
    	v1 "k8s.io/api/core/v1"
    	"k8s.io/apimachinery/pkg/runtime"
    	"k8s.io/kubernetes/pkg/apis/autoscaling"
    	"k8s.io/utils/pointer"
    )
    
    var (
    	// These constants repeats previous HPA behavior
    	scaleUpLimitPercent         int32 = 100
    	scaleUpLimitMinimumPods     int32 = 4
    	scaleUpPeriod               int32 = 15
    	scaleUpStabilizationSeconds int32
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 15 06:03:59 UTC 2022
    - 4.8K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/hash/BloomFilterTest.java

            assertTrue(BloomFilter.optimalNumOfBits(n, fpp) >= 0);
          }
        }
    
        // some random values
        Random random = new Random(0);
        for (int repeats = 0; repeats < 10000; repeats++) {
          assertTrue(BloomFilter.optimalNumOfBits(random.nextInt(1 << 16), random.nextDouble()) >= 0);
        }
    
        // and some crazy values (this used to be capped to Integer.MAX_VALUE, now it can go bigger
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 15:27:58 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  3. src/regexp/syntax/parse.go

    		// Maintain the product of all the repeats we've seen
    		// and don't track if the total number of regexp nodes
    		// we've seen times the repeat product is in budget.
    		if p.repeats == 0 {
    			p.repeats = 1
    		}
    		if re.Op == OpRepeat {
    			n := re.Max
    			if n == -1 {
    				n = re.Min
    			}
    			if n <= 0 {
    				n = 1
    			}
    			if int64(n) > maxSize/p.repeats {
    				p.repeats = maxSize
    			} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 13:59:01 UTC 2024
    - 52.1K bytes
    - Viewed (0)
  4. src/strings/search.go

    		if HasPrefix(pattern, pattern[i+1:]) {
    			lastPrefix = i + 1
    		}
    		// lastPrefix is the shift, and (last-i) is len(suffix).
    		f.goodSuffixSkip[i] = lastPrefix + last - i
    	}
    	// Second pass: find repeats of pattern's suffix starting from the front.
    	for i := 0; i < last; i++ {
    		lenSuffix := longestCommonSuffix(pattern, pattern[1:i+1])
    		if pattern[i-lenSuffix] != pattern[last-lenSuffix] {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 07 18:49:51 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  5. cmd/dummy-data-generator_test.go

    // DummyDataGen returns a reader that repeats the bytes in `alphabets`
    // upto the desired length.
    type DummyDataGen struct {
    	b           []byte
    	idx, length int64
    }
    
    // NewDummyDataGen returns a ReadSeeker over the first `totalLength`
    // bytes from the infinite stream consisting of repeated
    // concatenations of `alphabets`.
    //
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 4.8K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/debug_test.go

    	useGdb  = flag.Bool("g", false, "use Gdb instead of Delve (dlv), use gdb reference files")
    	force   = flag.Bool("f", false, "force run under not linux-amd64; also do not use tempdir")
    	repeats = flag.Bool("r", false, "detect repeats in debug steps and don't ignore them")
    	inlines = flag.Bool("i", false, "do inlining for gdb (makes testing flaky till inlining info is correct)")
    )
    
    var (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 16:11:47 UTC 2024
    - 28.6K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apimachinery/pkg/util/wait/backoff.go

    	backoff := j.getNextBackoff()
    	if j.backoffTimer == nil {
    		j.backoffTimer = j.clock.NewTimer(backoff)
    	} else {
    		j.backoffTimer.Reset(backoff)
    	}
    	return j.backoffTimer
    }
    
    // ExponentialBackoff repeats a condition check with exponential backoff.
    //
    // It repeatedly checks the condition and then sleeps, using `backoff.Step()`
    // to determine the length of the sleep and adjust Duration and Steps.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 19:14:11 UTC 2023
    - 16.5K bytes
    - Viewed (0)
  8. cmd/benchmark-utils_test.go

    	rand.Seed(UTCNow().UnixNano())
    	// pick a character randomly.
    	return []byte{letterBytes[rand.Intn(len(letterBytes))]}
    }
    
    // picks a random byte and repeats it to size bytes.
    func generateBytesData(size int) []byte {
    	// repeat the random character chosen size
    	return bytes.Repeat(getRandomByte(), size)
    }
    
    // Parallel benchmark utility functions for ObjectLayer.PutObject().
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Dec 23 15:46:00 UTC 2022
    - 8.2K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/structtag/structtag.go

    		if err != nil {
    			// Possibly because the paths are relative; leave the
    			// filename alone.
    		} else {
    			alsoPos.Filename = rel
    		}
    
    		pass.Reportf(nearest.Pos(), "struct field %s repeats %s tag %q also at %s", field.Name(), key, val, alsoPos)
    	} else {
    		seen.Set(key, val, level, field.Pos())
    	}
    }
    
    var (
    	errTagSyntax      = errors.New("bad syntax for struct tag pair")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 09 01:28:01 UTC 2023
    - 8.8K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/docs/userguide/releases/feature_lifecycle.adoc

    If a regression is found in the release candidate, a new RC distribution is created, and the process repeats.
    Release candidates are supported for as long as the release window is open, but they are not intended to be used for production.
    Bug reports are greatly appreciated during the RC phase.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 7.6K bytes
    - Viewed (0)
Back to top