- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 99 for rR (0.02 sec)
-
staging/src/k8s.io/apiserver/pkg/authentication/token/cache/cached_token_authenticator_test.go
auds := []string{} for i := 0; i < rr.Intn(4); i++ { auds = append(auds, string(uuid.NewUUID())) } choice := rr.Float64() switch { case choice < 0.9: r.ok = true r.err = nil // add some realistic annotations on ~20% of successful authentications if f := rr.Float64(); f < 0.2 { r.annotations = map[string]string{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jul 03 16:16:51 UTC 2023 - 20.3K bytes - Viewed (0) -
pkg/kubelet/token/token_manager_test.go
}, } if c.requestTweaks != nil { c.requestTweaks(tr) } mgr := NewManager(nil) mgr.clock = clock rr := mgr.requiresRefresh(tr) if rr != c.expectRefresh { t.Fatalf("unexpected requiresRefresh result, got: %v, want: %v", rr, c.expectRefresh) } }) } } func TestDeleteServiceAccountToken(t *testing.T) { type request struct { name, namespace string
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 04 00:16:47 UTC 2022 - 16.2K bytes - Viewed (0) -
src/image/color/ycbcr.go
// RGBToCMYK converts an RGB triple to a CMYK quadruple. func RGBToCMYK(r, g, b uint8) (uint8, uint8, uint8, uint8) { rr := uint32(r) gg := uint32(g) bb := uint32(b) w := rr if w < gg { w = gg } if w < bb { w = bb } if w == 0 { return 0, 0, 0, 0xff } c := (w - rr) * 0xff / w m := (w - gg) * 0xff / w y := (w - bb) * 0xff / w return uint8(c), uint8(m), uint8(y), uint8(0xff - w)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 12:02:45 UTC 2023 - 10.8K bytes - Viewed (0) -
pilot/pkg/serviceregistry/aggregate/controller_test.go
running: atomic.NewBool(false), } } type RunnableRegistry struct { serviceregistry.Instance running *atomic.Bool } func (rr *RunnableRegistry) Run(stop <-chan struct{}) { if rr.running.Load() { panic("--- registry has been run twice ---") } rr.running.Store(true) <-stop } func expectRunningOrFail(t *testing.T, ctrl *Controller, want bool) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 15 06:28:11 UTC 2024 - 14.5K bytes - Viewed (0) -
src/crypto/internal/nistec/p256_asm.go
// Otherwise, it returns p. func (p *P256Point) SetBytes(b []byte) (*P256Point, error) { // p256Mul operates in the Montgomery domain with R = 2²⁵⁶ mod p. Thus rr // here is R in the Montgomery domain, or R×R mod p. See comment in // P256OrdInverse about how this is used. rr := p256Element{0x0000000000000003, 0xfffffffbffffffff, 0xfffffffffffffffe, 0x00000004fffffffd} switch { // Point at infinity. case len(b) == 1 && b[0] == 0:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 18:57:38 UTC 2024 - 21.4K bytes - Viewed (0) -
src/cmd/go/internal/vcs/vcs.go
if err1 == nil { rr = rr1 err = nil } } // Should have been taken care of above, but make sure. if err == nil && strings.Contains(importPath, "...") && strings.Contains(rr.Root, "...") { // Do not allow wildcards in the repo root. rr = nil err = importErrorf(importPath, "cannot expand ... in %q", importPath) } return rr, err }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:30:18 UTC 2024 - 46.2K bytes - Viewed (0) -
src/math/rand/v2/pcg.go
hi, _ = bits.Add64(hi, incHi, c) p.lo = lo p.hi = hi return hi, lo } // Uint64 return a uniformly-distributed random uint64 value. func (p *PCG) Uint64() uint64 { hi, lo := p.next() // XSL-RR would be // hi, lo := p.next() // return bits.RotateLeft64(lo^hi, -int(hi>>58)) // but Numpy uses DXSM and O'Neill suggests doing the same. // See https://github.com/golang/go/issues/21835#issuecomment-739065688
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 21:31:58 UTC 2024 - 2.9K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/plugin/PluginManagerTest.java
// the plugin manager provides. @Test void testRemoteResourcesPlugin() throws Exception { // TODO turn an equivalent back on when the RR plugin is released. /* This will not work until the RR plugin is released to get rid of the binding to the reporting exception which is a mistake. This happens after removing the reporting API from the core:
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Sat Apr 15 17:24:20 UTC 2023 - 13.1K bytes - Viewed (0) -
src/internal/fuzz/pcg.go
uint32n(uint32) uint32 exp2() int bool() bool save(randState, randInc *uint64) restore(randState, randInc uint64) } // The functions in pcg implement a 32 bit PRNG with a 64 bit period: pcg xsh rr // 64 32. See https://www.pcg-random.org/ for more information. This // implementation is geared specifically towards the needs of fuzzing: Simple // creation and use, no reproducibility, no concurrency safety, just the
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 19:28:14 UTC 2024 - 3.3K bytes - Viewed (0) -
src/compress/gzip/gunzip.go
// This permits reusing a [Reader] rather than allocating a new one. func (z *Reader) Reset(r io.Reader) error { *z = Reader{ decompressor: z.decompressor, multistream: true, } if rr, ok := r.(flate.Reader); ok { z.r = rr } else { z.r = bufio.NewReader(r) } z.Header, z.err = z.readHeader() return z.err } // Multistream controls whether the reader supports multistream files. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 13 23:20:03 UTC 2023 - 8.5K bytes - Viewed (0)