Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 42 for Rd (0.02 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. tensorflow/compiler/mlir/quantization/tensorflow/python/pywrap_quantize_model.pyi

    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(quantize_qat_model)
    def quantize_qat_model(
        src_saved_model_path: str,
        dst_saved_model_path: str,
        quantization_options_serialized: bytes,
        *,
        signature_keys: list[str],
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 07 03:47:17 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  6. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/util/NumberUtil.java

        private static final List<String> UNITS = unmodifiableList(asList(" B", " KiB", " MiB", " GiB", " TiB", " PiB", " EiB"));
        private static final List<String> ORDINAL_SUFFIXES = unmodifiableList(asList("th", "st", "nd", "rd", "th", "th", "th", "th", "th", "th"));
    
    
        /**
         * Percentage (0-...) of given input.
         *
         * @param fraction the fraction of total, must be &gt;= 0. if 0, the result will be 100.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/borrowing_test.go

    			startWG.Add(clientsPerFlow[0] + clientsPerFlow[1])
    			// Launch 20 client threads for each flow
    			for flow := 0; flow < 2; flow++ {
    				username := usernames[flow]
    				flowUser := testUser{name: username}
    				rd := RequestDigest{
    					RequestInfo: reqInfo,
    					User:        flowUser,
    				}
    				concIntegrator := fq.NewNamedIntegrator(clk, username)
    				concIntegrators[flow] = concIntegrator
    				exec := func() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:40 UTC 2023
    - 9K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/tools/cover/profile.go

    func ParseProfilesFromReader(rd io.Reader) ([]*Profile, error) {
    	// First line is "mode: foo", where foo is "set", "count", or "atomic".
    	// Rest of file is in the format
    	//	encoding/base64/base64.go:34.44,37.40 3 1
    	// where the fields are: name.go:line.column,line.column numberOfStatements count
    	files := make(map[string]*Profile)
    	s := bufio.NewScanner(rd)
    	mode := ""
    	for s.Scan() {
    		line := s.Text()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 11 17:02:03 UTC 2021
    - 7.5K bytes
    - Viewed (0)
  9. src/cmd/asm/internal/asm/testdata/riscv64error.s

    	SRAIW	$-1, X5, X6			// ERROR "immediate out of range 0 to 31"
    	SD	X5, 4294967296(X6)		// ERROR "constant 4294967296 too large"
    	SRLI	$1, X5, F1			// ERROR "expected integer register in rd position but got non-integer register F1"
    	SRLI	$1, F1, X5			// ERROR "expected integer register in rs1 position but got non-integer register F1"
    	FNES	F1, (X5)			// ERROR "needs an integer register output"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 07 03:32:27 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/xml/XmlEscapersTest.java

        assertEquals(
            "a&quot;b&lt;c&gt;d&amp;e&quot;f&apos;", xmlAttributeEscaper.escape("a\"b<c>d&e\"f'"));
        // Test '\t', '\n' and '\r' are escaped.
        assertEquals("a&#x9;b&#xA;c&#xD;d", xmlAttributeEscaper.escape("a\tb\nc\rd"));
      }
    
      // Helper to assert common properties of xml escapers.
      static void assertBasicXmlEscaper(
          CharEscaper xmlEscaper, boolean shouldEscapeQuotes, boolean shouldEscapeWhitespaceChars) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Dec 16 19:54:45 UTC 2020
    - 4.7K bytes
    - Viewed (0)
Back to top