Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for Rx (0.06 sec)

  1. cmd/bucket-replication-metrics.go

    		rx.measure = newRateMeasurement(time.Now())
    	}
    	rx.measure.incrementBytes(uint64(sz))
    	rx.Curr = rx.measure.getExpMovingAvgBytesPerSecond()
    	rx.sma.addSample(rx.Curr)
    	rx.Avg = rx.sma.simpleMovingAvg()
    	if rx.Curr > rx.Peak {
    		rx.Peak = rx.Curr
    	}
    	rx.N++
    }
    
    // ReplicationMRFStats holds stats of MRF backlog saved to disk in the last 5 minutes
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Feb 06 06:00:45 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  2. cmd/perf-tests.go

    		Error:         retError,
    	}, nil
    }
    
    // To collect RX stats during "mc support perf net"
    // RXSample holds the RX bytes for the duration between
    // the last peer to connect and the first peer to disconnect.
    // This is to improve the RX throughput accuracy.
    type netPerfRX struct {
    	RX                uint64    // RX bytes
    	lastToConnect     time.Time // time at which last peer to connect to us
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  3. src/index/suffixarray/suffixarray_test.go

    			}
    		}
    	}
    }
    
    func testFindAllIndex(t *testing.T, tc *testCase, x *Index, rx *regexp.Regexp, n int) {
    	res := x.FindAllIndex(rx, n)
    	exp := rx.FindAllStringIndex(tc.source, n)
    
    	// check that the lengths match
    	if len(res) != len(exp) {
    		t.Errorf("test %q, FindAllIndex %q (n = %d): expected %d results; got %d", tc.name, rx, n, len(exp), len(res))
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  4. src/regexp/onepass.go

    		*newLow += 2
    		ix += 2
    		next = append(next, pc)
    		return true
    	}
    
    	for lx < leftLen || rx < rightLen {
    		switch {
    		case rx >= rightLen:
    			ok = extend(&lx, leftRunes, leftPC)
    		case lx >= leftLen:
    			ok = extend(&rx, rightRunes, rightPC)
    		case (*rightRunes)[rx] < (*leftRunes)[lx]:
    			ok = extend(&rx, rightRunes, rightPC)
    		default:
    			ok = extend(&lx, leftRunes, leftPC)
    		}
    		if !ok {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:36:03 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  5. src/cmd/internal/obj/ppc64/obj9.go

    		s.Set(obj.AttrStatic, true)
    		c.ctxt.Data = append(c.ctxt.Data, s)
    		s.WriteAddr(c.ctxt, 0, 8, source.Sym, 0)
    	})
    
    	if source.Type == obj.TYPE_ADDR {
    		// MOVD $sym, Rx becomes MOVD symtoc, Rx
    		// MOVD $sym+<off>, Rx becomes MOVD symtoc, Rx; ADD <off>, Rx
    		p.From.Type = obj.TYPE_MEM
    		p.From.Sym = symtoc
    		p.From.Name = obj.NAME_TOCREF
    
    		if p.From.Offset != 0 {
    			q := obj.Appendp(p, c.newprog)
    			q.As = AADD
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:17:17 UTC 2024
    - 40.8K bytes
    - Viewed (0)
  6. src/cmd/vet/vet_test.go

    			})
    			re := cache[rx]
    			if re == nil {
    				var err error
    				re, err = regexp.Compile(rx)
    				if err != nil {
    					log.Fatalf("%s:%d: invalid regexp \"%#q\" in ERROR line: %v", file, lineNum, rx, err)
    				}
    				cache[rx] = re
    			}
    			prefix := fmt.Sprintf("%s:%d", short, lineNum)
    			errs = append(errs, wantedError{
    				reStr:   rx,
    				re:      re,
    				prefix:  prefix,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 01:02:40 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  7. src/cmd/vendor/github.com/google/pprof/internal/report/report.go

    	fmt.Fprintln(w, separator)
    	fmt.Fprintln(w, legend)
    	var flatSum int64
    
    	rx := rpt.options.Symbol
    	matched := 0
    	for _, n := range g.Nodes {
    		name, flat, cum := n.Info.PrintableName(), n.FlatValue(), n.CumValue()
    
    		// Skip any entries that do not match the regexp (for the "peek" command).
    		if rx != nil && !rx.MatchString(name) {
    			continue
    		}
    		matched++
    
    		fmt.Fprintln(w, separator)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 37.5K bytes
    - Viewed (0)
  8. src/cmd/internal/obj/s390x/objz.go

    	// ADD instruction.
    	if p.From.Type == obj.TYPE_ADDR && p.From.Name == obj.NAME_EXTERN && !p.From.Sym.Local() {
    		// MOVD $sym, Rx becomes MOVD sym@GOT, Rx
    		// MOVD $sym+<off>, Rx becomes MOVD sym@GOT, Rx or REGTMP2; MOVD $<off>(Rx or REGTMP2), Rx
    		if p.To.Type != obj.TYPE_REG || p.As != AMOVD {
    			c.ctxt.Diag("do not know how to handle LEA-type insn to non-register in %v with -dynlink", p)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 21 19:28:53 UTC 2023
    - 21K bytes
    - Viewed (0)
  9. src/cmd/internal/obj/loong64/obj.go

    	// internally defined symbols.
    	if p.From.Type == obj.TYPE_ADDR && p.From.Name == obj.NAME_EXTERN && !p.From.Sym.Local() {
    		// MOVV $sym, Rx becomes MOVV sym@GOT, Rx
    		// MOVV $sym+<off>, Rx becomes MOVV sym@GOT, Rx; ADD <off>, Rx
    		if p.As != AMOVV {
    			ctxt.Diag("do not know how to handle TYPE_ADDR in %v with -shared", p)
    		}
    		if p.To.Type != obj.TYPE_REG {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 19:22:18 UTC 2023
    - 19.7K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/conversion/webhook_converter.go

    		}
    	}
    	return nil, nil, fmt.Errorf("no supported conversion review versions")
    }
    
    func getRawExtensionObject(rx runtime.RawExtension) (runtime.Object, error) {
    	if rx.Object != nil {
    		return rx.Object, nil
    	}
    	u := unstructured.Unstructured{}
    	err := u.UnmarshalJSON(rx.Raw)
    	if err != nil {
    		return nil, err
    	}
    	return &u, nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 07 19:37:55 UTC 2023
    - 20.6K bytes
    - Viewed (0)
Back to top