Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 231 for ROUND (0.91 sec)

  1. android/guava/src/com/google/common/io/CharStreams.java

       * close or flush the reader.
       *
       * <p>This is identical to {@link #copy(Readable, Appendable)} but optimized for these specific
       * types. CharBuffer has poor performance when being written into or read out of so round tripping
       * all the bytes through the buffer takes a long time. With these specialized types we can just
       * use a char array.
       *
       * @param from the object to read from
       * @param to the object to write to
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  2. pkg/api/testing/serialization_test.go

    					t.Errorf("expected %v: %v\n%s", gvk, err, string(data))
    					continue
    				}
    			}
    		}
    	}
    }
    
    // TestRoundTripTypes applies the round-trip test to all round-trippable Kinds
    // in all of the API groups registered for test in the legacyscheme package.
    func TestRoundTripTypes(t *testing.T) {
    	seed := rand.Int63()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 25 11:04:08 UTC 2023
    - 19.3K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/endpoints/request/webhook_duration.go

    	// it accounts for the time it takes to send data to the underlying
    	// storage layer (etcd) and get the complete response back.
    	// If a request involves N (N>=1) round trips to the underlying
    	// stogare layer, the latency will account for the total duration
    	// from these N round trips.
    	// It does not include the time incurred in admission, or validation.
    	StorageTracker DurationTracker
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 13 22:15:37 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/io/CharStreams.java

       * close or flush the reader.
       *
       * <p>This is identical to {@link #copy(Readable, Appendable)} but optimized for these specific
       * types. CharBuffer has poor performance when being written into or read out of so round tripping
       * all the bytes through the buffer takes a long time. With these specialized types we can just
       * use a char array.
       *
       * @param from the object to read from
       * @param to the object to write to
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  5. src/vendor/golang.org/x/crypto/sha3/keccakf_amd64.s

    #define _mi (17*8)
    #define _mo (18*8)
    #define _mu (19*8)
    #define _sa (20*8)
    #define _se (21*8)
    #define _si (22*8)
    #define _so (23*8)
    #define _su (24*8)
    
    // Temporary registers
    #define rT1  AX
    
    // Round vars
    #define rpState DI
    #define rpStack SP
    
    #define rDa BX
    #define rDe CX
    #define rDi DX
    #define rDo R8
    #define rDu R9
    
    #define rBa R10
    #define rBe R11
    #define rBi R12
    #define rBo R13
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 10 16:37:53 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  6. src/crypto/internal/mlkem768/mlkem768_test.go

    	precise := big.NewRat((1<<d)*int64(x), q) // (2ᵈ / q) * x == (2ᵈ * x) / q
    
    	// FloatString rounds halves away from 0, and our result should always be positive,
    	// so it should work as we expect. (There's no direct way to round a Rat.)
    	rounded, err := strconv.ParseInt(precise.FloatString(0), 10, 64)
    	if err != nil {
    		panic(err)
    	}
    
    	// If we rounded up, `rounded` may be equal to 2ᵈ, so we perform a final reduction.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 06 15:27:18 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/tensorflow/calibrator/calibration_algorithm.py

        # is unusually small.
        if abs(zero_point) > 9e9:
          zero_point = 9e9
        if abs(scale) < 1e-9:
          scale = 1e-9
    
        zero_point = round(zero_point)
        quantized_hist_mids = np.clip(
            np.round(self._hist_mids / scale) + zero_point, minbound, maxbound
        )
        dequantized_hist_mids = scale * (quantized_hist_mids - zero_point)
        return dequantized_hist_mids
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 11 19:29:56 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  8. src/encoding/gob/encoder_test.go

    	}
    
    	enc.Encode(et1)
    	newEt1 = new(ET1)
    	err = dec.Decode(newEt1)
    	if err != nil {
    		t.Fatal("round 2: error decoding ET1:", err)
    	}
    	if !reflect.DeepEqual(et1, newEt1) {
    		t.Fatalf("round 2: invalid data for et1: expected %+v; got %+v", *et1, *newEt1)
    	}
    	if b.Len() != 0 {
    		t.Error("round 2: not at eof;", b.Len(), "bytes left")
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 29.7K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/_gen/genericOps.go

    	// Round to integer, float64 only.
    	// Special cases:
    	//   ±∞  → ±∞ (sign preserved)
    	//   ±0  → ±0 (sign preserved)
    	//   NaN → NaN
    	{name: "Floor", argLength: 1},       // round arg0 toward -∞
    	{name: "Ceil", argLength: 1},        // round arg0 toward +∞
    	{name: "Trunc", argLength: 1},       // round arg0 toward 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  10. cmd/prepare-storage.go

    	// All times are rounded to avoid showing milli, micro and nano seconds
    	formatStartTime := time.Now().Round(time.Second)
    	getElapsedTime := func() string {
    		return time.Now().Round(time.Second).Sub(formatStartTime).String()
    	}
    
    	var (
    		tries   int
    		verbose bool
    	)
    
    	// Initialize all storage disks
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun May 19 08:06:49 UTC 2024
    - 11.1K bytes
    - Viewed (0)
Back to top