Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 244 for ROUND (0.07 sec)

  1. src/image/color/ycbcr.go

    	//	B = (65536*Y' + 116130 *(Cb-128)                  + adjustment) >> 16
    	// A constant rounding adjustment of 1<<15, one half of 1<<16, would mean
    	// round-to-nearest when dividing by 65536 (shifting right by 16).
    	// Similarly, a constant rounding adjustment of 0 would mean round-down.
    	//
    	// Defining YY1 = 65536*Y' + adjustment simplifies the formulae and
    	// requires fewer CPU operations:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:45 UTC 2023
    - 10.8K bytes
    - Viewed (0)
  2. src/crypto/internal/mlkem768/mlkem768.go

    	// Since the remainder is in the range [0, 2q), not [0, q), we need to
    	// portion it into three spans for rounding.
    	//
    	//     [ 0,       q/2     ) -> round to 0
    	//     [ q/2,     q + q/2 ) -> round to 1
    	//     [ q + q/2, 2q      ) -> round to 2
    	//
    	// We can convert that to the following logic: add 1 if remainder > q/2,
    	// then add 1 again if remainder > q + q/2.
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 28.4K bytes
    - Viewed (0)
  3. pkg/apis/autoscaling/v2beta1/conversion.go

    	if err := autoConvert_autoscaling_HorizontalPodAutoscaler_To_v2beta1_HorizontalPodAutoscaler(in, out, s); err != nil {
    		return err
    	}
    
    	// clear any pre-existing round-trip annotations to make sure the only ones set are ones we produced during conversion
    	annotations, copiedAnnotations := autoscaling.DropRoundTripHorizontalPodAutoscalerAnnotations(out.Annotations)
    	out.Annotations = annotations
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 03 16:28:10 UTC 2021
    - 13.4K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top