Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 99 for Rr (0.07 sec)

  1. staging/src/k8s.io/apiserver/pkg/server/healthz/healthz_test.go

    	if err != nil {
    		t.Errorf("%v", err)
    	}
    	rr := httptest.NewRecorder()
    	mux.ServeHTTP(rr, req)
    	if rr.Code != http.StatusInternalServerError {
    		t.Errorf("scenario 1: unexpected status code returned, expected %d, got %d", http.StatusInternalServerError, rr.Code)
    	}
    
    	// scenario 2: close the channel that will cause the readyz checker to report success,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 15 20:43:16 UTC 2023
    - 11.4K bytes
    - Viewed (0)
  2. pkg/proxy/ipvs/util/ipvs_test.go

    				Address:   netutils.ParseIPSloppy("1.2.3.4"),
    				Protocol:  "TCP",
    				Port:      80,
    				Scheduler: "rr",
    				Flags:     2,
    				Timeout:   0,
    			},
    			svcB: &VirtualServer{
    				Address:   netutils.ParseIPSloppy("1.2.3.4"),
    				Protocol:  "TCP",
    				Port:      80,
    				Scheduler: "rr",
    				Flags:     3,
    				Timeout:   0,
    			},
    			equal:  false,
    			reason: "Flags not equal",
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 19 01:20:51 UTC 2023
    - 8K bytes
    - Viewed (0)
  3. test/fixedbugs/issue15585.go

    			} else {
    				rc++
    				goto R
    			}
    		L:
    			if p != 0 {
    				lsb := p & -p
    				p &^= lsb
    				ll[d], cc[d], rr[d], pp[d] = l, c, r, p
    				l, c, r = (l|lsb)<<1, c|lsb, (r|lsb)>>1
    				d++
    				goto E
    			}
    		R:
    			d--
    			if d >= 0 {
    				l, c, r, p = ll[d], cc[d], rr[d], pp[d]
    				goto L
    			}
    		}
    	}
    	rc <<= 1
    	return
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 09 18:35:44 UTC 2016
    - 829 bytes
    - Viewed (0)
  4. pkg/test/echo/responses.go

    	}
    	return count
    }
    
    // Match returns a subset of Responses that match the given predicate.
    func (r Responses) Match(f func(r Response) bool) Responses {
    	var matched []Response
    	for _, rr := range r {
    		if f(rr) {
    			matched = append(matched, rr)
    		}
    	}
    	return matched
    }
    
    func (r Responses) String() string {
    	out := ""
    	for i, resp := range r {
    		out += fmt.Sprintf("Response[%d]:\n%s", i, resp.String())
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 23 22:25:46 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  5. src/crypto/internal/nistec/p256_ordinv.go

    	// form a×R and p256OrdMul calculates (a × b × R⁻¹) mod n. RR is R in the
    	// domain, or R×R mod n, thus p256OrdMul(x, RR) gives x×R, i.e. converts x
    	// into the Montgomery domain.
    	RR := &p256OrdElement{0x83244c95be79eea2, 0x4699799c49bd6fa6,
    		0x2845b2392b6bec59, 0x66e12d94f3d95620}
    
    	p256OrdMul(_1, x, RR)      // _1
    	p256OrdSqr(x, _1, 1)       // _10
    	p256OrdMul(_11, x, _1)     // _11
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 3K bytes
    - Viewed (0)
  6. src/vendor/golang.org/x/text/unicode/norm/readwriter.go

    // by reading data from r and returning f(data).
    func (f Form) Reader(r io.Reader) io.Reader {
    	const chunk = 4000
    	buf := make([]byte, chunk)
    	rr := &normReader{rb: reorderBuffer{}, r: r, inbuf: buf}
    	rr.rb.init(f, buf)
    	return rr
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 19:27:51 UTC 2019
    - 2.9K bytes
    - Viewed (0)
  7. src/crypto/internal/bigmod/nat.go

    	for logR>>i <= threshold {
    		i--
    	}
    	for k := uint(0); k < logR>>i; k++ {
    		rr.Add(rr, m)
    	}
    
    	// Then we process the remaining bits of the exponent with a
    	// square-and-double chain.
    	for i > 0 {
    		rr.montgomeryMul(rr, rr, m)
    		i--
    		if logR>>i&1 != 0 {
    			rr.Add(rr, m)
    		}
    	}
    
    	return rr
    }
    
    // minusInverseModW computes -x⁻¹ mod _W with x odd.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 24K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/rule.go

    	return strings.HasPrefix(username, ServiceAccountUsernameSeparator)
    }
    
    func matchesAResourceRule(ri *request.RequestInfo, rules []flowcontrol.ResourcePolicyRule) bool {
    	for _, rr := range rules {
    		if matchesResourcePolicyRule(ri, rr) {
    			return true
    		}
    	}
    	return false
    }
    
    func matchesResourcePolicyRule(ri *request.RequestInfo, policyRule flowcontrol.ResourcePolicyRule) bool {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:35 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/text/unicode/norm/readwriter.go

    // by reading data from r and returning f(data).
    func (f Form) Reader(r io.Reader) io.Reader {
    	const chunk = 4000
    	buf := make([]byte, chunk)
    	rr := &normReader{rb: reorderBuffer{}, r: r, inbuf: buf}
    	rr.rb.init(f, buf)
    	return rr
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/gen_test.go

    		rnamespaces = namespaces[1:]
    	}
    	rr := flowcontrol.ResourcePolicyRule{
    		Verbs:        []string{pfx + "-v1", pfx + "-v2", pfx + "-v3"},
    		APIGroups:    []string{pfx + ".g1", pfx + ".g2", pfx + ".g3"},
    		Resources:    []string{pfx + "-r1s", pfx + "-r2s", pfx + "-r3s"},
    		ClusterScope: namespaces[0] == "",
    		Namespaces:   rnamespaces}
    	matchingRIs := genRRIs(rng, 3, rr.Verbs, rr.APIGroups, rr.Resources, namespaces)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:40 UTC 2023
    - 24.8K bytes
    - Viewed (0)
Back to top