Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 120 for Rd (0.02 sec)

  1. cmd/bootstrap-peer-server_gen_test.go

    	en.Flush()
    }
    
    func BenchmarkDecodeServerSystemConfig(b *testing.B) {
    	v := ServerSystemConfig{}
    	var buf bytes.Buffer
    	msgp.Encode(&buf, &v)
    	b.SetBytes(int64(buf.Len()))
    	rd := msgp.NewEndlessReader(buf.Bytes(), b)
    	dc := msgp.NewReader(rd)
    	b.ReportAllocs()
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		err := v.DecodeMsg(dc)
    		if err != nil {
    			b.Fatal(err)
    		}
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Jan 24 21:36:44 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. cmd/bucket-metadata_gen_test.go

    	}
    	en.Flush()
    }
    
    func BenchmarkDecodeBucketMetadata(b *testing.B) {
    	v := BucketMetadata{}
    	var buf bytes.Buffer
    	msgp.Encode(&buf, &v)
    	b.SetBytes(int64(buf.Len()))
    	rd := msgp.NewEndlessReader(buf.Bytes(), b)
    	dc := msgp.NewReader(rd)
    	b.ReportAllocs()
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		err := v.DecodeMsg(dc)
    		if err != nil {
    			b.Fatal(err)
    		}
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Apr 23 18:58:53 UTC 2021
    - 2.3K bytes
    - Viewed (0)
  3. src/os/user/listgroups_unix.go

    	userLast := userCommas[:len(userCommas)-1]    // ,john
    	userOnly := userCommas[1 : len(userCommas)-1] // john
    
    	// Add primary Gid first.
    	groups := []string{u.Gid}
    
    	rd := bufio.NewReader(r)
    	done := false
    	for !done {
    		line, err := rd.ReadBytes('\n')
    		if err != nil {
    			if err == io.EOF {
    				done = true
    			} else {
    				return groups, err
    			}
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 07 23:34:21 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  4. pkg/log/config_test.go

    	defer ticker.Stop()
    
    	var rd []os.DirEntry
    
    	for {
    		select {
    		case <-ticker.C:
    			rd, err := os.ReadDir(dir)
    			if err != nil {
    				t.Fatalf("Unable to read dir: %v", err)
    			}
    			if len(rd) == o.RotationMaxBackups+1 {
    				// perfect, we're done
    				return
    			}
    		case <-time.After(5 * time.Second):
    			for _, f := range rd {
    				t.Log(f.Name())
    			}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Mar 26 20:38:10 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/arch/arm64/arm64asm/arg.go

    package arm64asm
    
    // Naming for Go decoder arguments:
    //
    // - arg_Wd: a W register encoded in the Rd[4:0] field (31 is wzr)
    //
    // - arg_Xd: a X register encoded in the Rd[4:0] field (31 is xzr)
    //
    // - arg_Wds: a W register encoded in the Rd[4:0] field (31 is wsp)
    //
    // - arg_Xds: a X register encoded in the Rd[4:0] field (31 is sp)
    //
    // - arg_Wn: encoded in Rn[9:5]
    //
    // - arg_Wm: encoded in Rm[20:16]
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 16 17:57:48 UTC 2017
    - 20K bytes
    - Viewed (0)
  6. src/os/user/lookup_unix.go

    //
    // readCols is the minimum number of colon-separated fields that will be passed
    // to fn; in a long line additional fields may be silently discarded.
    func readColonFile(r io.Reader, fn lineFunc, readCols int) (v any, err error) {
    	rd := bufio.NewReader(r)
    
    	// Read the file line-by-line.
    	for {
    		var isPrefix bool
    		var wholeLine []byte
    
    		// Read the next line. We do so in chunks (as much as reader's
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 07 23:34:21 UTC 2023
    - 6K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/apf_filter_test.go

    	flowUser := testUser{name: "test-user"}
    	rd := RequestDigest{
    		RequestInfo: reqInfo,
    		User:        flowUser,
    	}
    
    	// Add 1 second to the fake clock during QueueNoteFn
    	newTime := startTime.Add(time.Second)
    	qnf := fq.QueueNoteFn(func(bool) { clk.FakePassiveClock.SetTime(newTime) })
    	ctx := request.WithLatencyTrackers(context.Background())
    	controller.Handle(ctx, rd, noteFn, workEstr, qnf, func() {})
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:40 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/apf_controller.go

    			// catch-all flow schema.
    			panic(fmt.Sprintf("no fallback catch-all flow schema found for request %#+v and user %#+v", rd.RequestInfo, rd.User))
    		}
    		selectedFlowSchema = catchAllFlowSchema
    		klog.Warningf("no match found for request %#+v and user %#+v; selecting catchAll=%s as fallback flow schema", rd.RequestInfo, rd.User, fcfmt.Fmt(selectedFlowSchema))
    	}
    	plName := selectedFlowSchema.Spec.PriorityLevelConfiguration.Name
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 48.8K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/conc_alloc_test.go

    	}
    	if expectErr {
    		t.Fatalf("Expected error from requiredSum=%v, %s classes=%#+v but got solution %v, %v instead", requiredSum, style, classes, allocs, fairProp)
    	}
    	rd := f64RelDiff(requiredSumF, actualSumF)
    	if rd > fpSlack {
    		t.Fatalf("For requiredSum=%v, %s classes=%#+v got solution %v, %v which has sum %v", requiredSum, style, classes, allocs, fairProp, actualSumF)
    	}
    	for idx, item := range classes {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 07 18:17:27 UTC 2022
    - 5.3K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/stablehlo/python/pywrap_quantization.pyi

    from typing import Any
    
    from tensorflow.compiler.mlir.quantization.tensorflow.python import py_function_lib
    from tensorflow.compiler.mlir.quantization.tensorflow.python import representative_dataset as rd
    
    # LINT.IfChange(static_range_ptq)
    def static_range_ptq(
        src_saved_model_path: str,
        dst_saved_model_path: str,
        quantization_config_serialized: bytes,
        *,
        signature_keys: list[str],
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 20 13:51:40 UTC 2024
    - 1.9K bytes
    - Viewed (0)
Back to top