Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 56 for multiplication (0.2 sec)

  1. android/guava/src/com/google/common/math/BigIntegerMath.java

        // Strip off 2s from this value.
        int shift = Long.numberOfTrailingZeros(product);
        product >>= shift;
    
        // Use floor(log2(num)) + 1 to prevent overflow of multiplication.
        int productBits = LongMath.log2(product, FLOOR) + 1;
        int bits = LongMath.log2(startingNumber, FLOOR) + 1;
        // Check for the next power of two boundary, to save us a CLZ operation.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  2. src/crypto/cipher/gcm.go

    func (g *gcm) mul(y *gcmFieldElement) {
    	var z gcmFieldElement
    
    	for i := 0; i < 2; i++ {
    		word := y.high
    		if i == 1 {
    			word = y.low
    		}
    
    		// Multiplication works by multiplying z by 16 and adding in
    		// one of the precomputed multiples of H.
    		for j := 0; j < 64; j += 4 {
    			msw := z.high & 0xf
    			z.high >>= 4
    			z.high |= z.low << 60
    			z.low >>= 4
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  3. src/crypto/internal/nistec/p256.go

    	if len(scalar) != p256ElementLength {
    		return nil, errors.New("invalid scalar length")
    	}
    	tables := p.generatorTable()
    
    	// This is also a scalar multiplication with a four-bit window like in
    	// ScalarMult, but in this case the doublings are precomputed. The value
    	// [windowValue]G added at iteration k would normally get doubled
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  4. guava/src/com/google/common/math/BigIntegerMath.java

        // Strip off 2s from this value.
        int shift = Long.numberOfTrailingZeros(product);
        product >>= shift;
    
        // Use floor(log2(num)) + 1 to prevent overflow of multiplication.
        int productBits = LongMath.log2(product, FLOOR) + 1;
        int bits = LongMath.log2(startingNumber, FLOOR) + 1;
        // Check for the next power of two boundary, to save us a CLZ operation.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  5. src/crypto/internal/nistec/p384.go

    	if len(scalar) != p384ElementLength {
    		return nil, errors.New("invalid scalar length")
    	}
    	tables := p.generatorTable()
    
    	// This is also a scalar multiplication with a four-bit window like in
    	// ScalarMult, but in this case the doublings are precomputed. The value
    	// [windowValue]G added at iteration k would normally get doubled
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 12 00:04:29 UTC 2022
    - 18K bytes
    - Viewed (0)
  6. src/crypto/internal/nistec/p521.go

    	if len(scalar) != p521ElementLength {
    		return nil, errors.New("invalid scalar length")
    	}
    	tables := p.generatorTable()
    
    	// This is also a scalar multiplication with a four-bit window like in
    	// ScalarMult, but in this case the doublings are precomputed. The value
    	// [windowValue]G added at iteration k would normally get doubled
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 12 00:04:29 UTC 2022
    - 17K bytes
    - Viewed (0)
  7. src/math/big/nat_test.go

    	x := rndNat(50000)
    	y := rndNat(40)
    	allocSize := allocBytes(func() {
    		nat(nil).mul(x, y)
    	})
    	inputSize := uint64(len(x)+len(y)) * _S
    	if ratio := allocSize / uint64(inputSize); ratio > 10 {
    		t.Errorf("multiplication uses too much memory (%d > %d times the size of inputs)", allocSize, ratio)
    	}
    }
    
    // rndNat returns a random nat value >= 0 of (usually) n words in length.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 09 15:29:36 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_patterns.td

    // Converts a dag of HLOs representing floor_div with a splat constant to
    // tf.FloorDiv. The pattern matched executes the following computation:
    // This particular pattern matches multiplication with the reciprocal of the
    // constant instead of dividing by the constant.
    // rem = remainder(arg0, cst)
    // for i in 0 to len(arg0):
    //    rem[i] = (arg0[i] - rem[i]) * 1 / cst
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Feb 03 08:58:22 UTC 2024
    - 34K bytes
    - Viewed (0)
  9. src/crypto/internal/nistec/p224.go

    	if len(scalar) != p224ElementLength {
    		return nil, errors.New("invalid scalar length")
    	}
    	tables := p.generatorTable()
    
    	// This is also a scalar multiplication with a four-bit window like in
    	// ScalarMult, but in this case the doublings are precomputed. The value
    	// [windowValue]G added at iteration k would normally get doubled
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 12 00:04:29 UTC 2022
    - 15.9K bytes
    - Viewed (0)
  10. src/crypto/internal/nistec/generate.go

    	if len(scalar) != {{.p}}ElementLength {
    		return nil, errors.New("invalid scalar length")
    	}
    	tables := p.generatorTable()
    
    	// This is also a scalar multiplication with a four-bit window like in
    	// ScalarMult, but in this case the doublings are precomputed. The value
    	// [windowValue]G added at iteration k would normally get doubled
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 19.7K bytes
    - Viewed (0)
Back to top