Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 90 for Rr (0.08 sec)

  1. src/syscall/netlink_linux.go

    	Header NlMsghdr
    	Data   RtGenmsg
    }
    
    func (rr *NetlinkRouteRequest) toWireFormat() []byte {
    	b := make([]byte, rr.Header.Len)
    	*(*uint32)(unsafe.Pointer(&b[0:4][0])) = rr.Header.Len
    	*(*uint16)(unsafe.Pointer(&b[4:6][0])) = rr.Header.Type
    	*(*uint16)(unsafe.Pointer(&b[6:8][0])) = rr.Header.Flags
    	*(*uint32)(unsafe.Pointer(&b[8:12][0])) = rr.Header.Seq
    	*(*uint32)(unsafe.Pointer(&b[12:16][0])) = rr.Header.Pid
    	b[16] = rr.Data.Family
    	return b
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 20:01:34 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/_gen/rulegen.go

    		for _, rule := range rules {
    			if rr != nil && !rr.CanFail {
    				log.Fatalf("unconditional rule %s is followed by other rules", rr.Match)
    			}
    			rr = &RuleRewrite{Loc: rule.Loc}
    			rr.Match, rr.Cond, rr.Result = rule.parse()
    			pos, _ := genMatch(rr, arch, rr.Match, fn.ArgLen >= 0)
    			if pos == "" {
    				pos = "v.Pos"
    			}
    			if rr.Cond != "" {
    				rr.add(breakf("!(%s)", rr.Cond))
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Sep 02 22:09:21 UTC 2023
    - 48.7K bytes
    - Viewed (0)
  3. src/image/format.go

    // Format registration is typically done by an init function in the codec-
    // specific package.
    func Decode(r io.Reader) (Image, string, error) {
    	rr := asReader(r)
    	f := sniff(rr)
    	if f.decode == nil {
    		return nil, "", ErrFormat
    	}
    	m, err := f.decode(rr)
    	return m, f.name, err
    }
    
    // DecodeConfig decodes the color model and dimensions of an image that has
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:45 UTC 2023
    - 3K bytes
    - Viewed (0)
  4. src/strconv/makeisprint.go

    	if 0 <= r && r < 1<<16 {
    		rr, rang, except := uint16(r), range16, except16
    		i, _ := slices.BinarySearch(rang, rr)
    		if i >= len(rang) || rr < rang[i&^1] || rang[i|1] < rr {
    			return false
    		}
    		_, found := slices.BinarySearch(except, rr)
    		return !found
    	}
    
    	rr, rang, except := uint32(r), range32, except32
    	i, _ := slices.BinarySearch(rang, rr)
    	if i >= len(rang) || rr < rang[i&^1] || rang[i|1] < rr {
    		return false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 11 18:56:17 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultSession.java

                org.eclipse.aether.repository.RemoteRepository rr = ((DefaultRemoteRepository) repository).getRepository();
    
                try {
                    return mavenRepositorySystem.createRepository(
                            rr.getUrl(),
                            rr.getId(),
                            rr.getPolicy(false).isEnabled(),
                            rr.getPolicy(false).getUpdatePolicy(),
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu May 16 08:45:24 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  6. src/net/http/transfer.go

    	atLeastHTTP11 := false
    	switch rr := r.(type) {
    	case *Request:
    		if rr.ContentLength != 0 && rr.Body == nil {
    			return nil, fmt.Errorf("http: Request.ContentLength=%d with nil Body", rr.ContentLength)
    		}
    		t.Method = valueOrDefault(rr.Method, "GET")
    		t.Close = rr.Close
    		t.TransferEncoding = rr.TransferEncoding
    		t.Header = rr.Header
    		t.Trailer = rr.Trailer
    		t.Body = rr.Body
    		t.BodyCloser = rr.Body
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 22:14:00 UTC 2024
    - 31.1K bytes
    - Viewed (0)
  7. pilot/pkg/xds/debug_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    	rr := httptest.NewRecorder()
    	syncz := http.HandlerFunc(s.ConfigDump)
    	syncz.ServeHTTP(rr, req)
    	if rr.Code != wantCode {
    		t.Errorf("wanted response code %v, got %v", wantCode, rr.Code)
    	}
    	if wantCode > 399 {
    		return nil
    	}
    	got := &configdump.Wrapper{}
    	if err := got.UnmarshalJSON(rr.Body.Bytes()); err != nil {
    		t.Fatalf(err.Error())
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 12 18:20:36 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  8. pkg/dns/client/dns.go

    	}
    
    	res.Answer = roundRobin(res.Answer)
    	res.Ns = roundRobin(res.Ns)
    	res.Extra = roundRobin(res.Extra)
    }
    
    func roundRobin(in []dns.RR) []dns.RR {
    	cname := make([]dns.RR, 0)
    	address := make([]dns.RR, 0)
    	mx := make([]dns.RR, 0)
    	rest := make([]dns.RR, 0)
    	for _, r := range in {
    		switch r.Header().Rrtype {
    		case dns.TypeCNAME:
    			cname = append(cname, r)
    		case dns.TypeA, dns.TypeAAAA:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 29 16:17:34 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top