Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 70 for MULTIPLY (0.15 sec)

  1. src/crypto/internal/edwards25519/scalar_test.go

    	multiplyDistributesOverAdd := func(x, y, z Scalar) bool {
    		// Compute t1 = (x+y)*z
    		var t1 Scalar
    		t1.Add(&x, &y)
    		t1.Multiply(&t1, &z)
    
    		// Compute t2 = x*z + y*z
    		var t2 Scalar
    		var t3 Scalar
    		t2.Multiply(&x, &z)
    		t3.Multiply(&y, &z)
    		t2.Add(&t2, &t3)
    
    		reprT1, reprT2 := t1.Bytes(), t2.Bytes()
    
    		return t1 == t2 && isReduced(reprT1) && isReduced(reprT2)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 28 17:26:17 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  2. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/MultiplyElement.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.nativeplatform.fixtures.app;
    
    public interface MultiplyElement {
        int multiply(int a, int b);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 735 bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/ir/tfl_op_interfaces.td

    def TFL_ArithmeticCount : OpInterface<"TflArithmeticCountOpInterface"> {
      let description = [{
        Interface for TFLite ops to calculate arithmetic count (Multiply-Add Count).
      }];
    
      let methods = [
        StaticInterfaceMethod<
          [{Returns an integer representing the op's arithmetic count (Multiply-Add
          Count), return -1 if the arithmetic count cannot be determined.}],
           "int64_t", "GetArithmeticCount", (ins "Operation*":$op)
        >,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  4. src/crypto/internal/edwards25519/scalar_alias_test.go

    	}
    
    	for name, f := range map[string]interface{}{
    		"Negate": func(v, x Scalar) bool {
    			return checkAliasingOneArg((*Scalar).Negate, v, x)
    		},
    		"Multiply": func(v, x, y Scalar) bool {
    			return checkAliasingTwoArgs((*Scalar).Multiply, v, x, y)
    		},
    		"Add": func(v, x, y Scalar) bool {
    			return checkAliasingTwoArgs((*Scalar).Add, v, x, y)
    		},
    		"Subtract": func(v, x, y Scalar) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 28 17:26:17 UTC 2023
    - 3K bytes
    - Viewed (0)
  5. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/SwiftAppWithXCTest.groovy

    class SwiftAppWithXCTest extends MainWithXCTestSourceElement implements AppElement {
        final SwiftApp main = new SwiftApp()
        final XCTestSourceElement test = new SwiftAppTest(main, main.greeter, main.sum, main.multiply)
    
        String expectedOutput = main.expectedOutput
    
        SwiftAppWithXCTest() {
            super('app')
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 996 bytes
    - Viewed (0)
  6. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/SwiftAppWithSingleXCTestSuite.groovy

            @Override
            List<XCTestSourceFileElement> getTestSuites() {
                return [new XCTestSourceFileElement("CombinedTests") {
                    final delegate = new SwiftAppTest(main, main.greeter, main.sum, main.multiply)
    
                    @Override
                    List<XCTestCaseElement> getTestCases() {
                        return delegate.sumTest.testCases + delegate.greeterTest.testCases + delegate.multiplyTest.testCases
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/tests/compile_mlir_util/convert_mhlo_quant_to_int.mlir

    // CHECK:         %[[SUB:.*]] = s32[] subtract(s32[] %[[CONVERT_1]],
    // CHECK:         %[[CONVERT_2:.*]] = f32[] convert(s32[] %[[SUB]])
    // CHECK:         %[[MUL:.*]] = f32[] multiply(f32[] %[[CONVERT_2]],
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Sep 07 16:28:50 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  8. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/SwiftLibWithCppDepXCTest.groovy

            super(projectName)
            main = new SwiftLibWithCppDep(projectName, cppGreeter)
            test = new SwiftLibTest(main, main.greeter, main.sum, main.multiply)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  9. src/math/rand/v2/pcg.go

    	// This does not seem worthwhile, at least for Go: not having any high
    	// bits in the multiplier reduces the effect of low bits on the highest bits,
    	// and it only saves 1 multiply out of 3.
    	// (On 32-bit systems, it saves 1 out of 6, since Mul64 is doing 4.)
    	const (
    		mulHi = 2549297995355413924
    		mulLo = 4865540595714422341
    		incHi = 6364136223846793005
    		incLo = 1442695040888963407
    	)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:31:58 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  10. src/vendor/golang.org/x/crypto/internal/poly1305/sum_ppc64le.s

    	MOVD 16(R3), R10 // h2
    	MOVD 24(R3), R11 // r0
    	MOVD 32(R3), R12 // r1
    
    	CMP R5, $16
    	BLT bytes_between_0_and_15
    
    loop:
    	POLY1305_ADD(R4, R8, R9, R10, R20, R21, R22)
    
    	PCALIGN $16
    multiply:
    	POLY1305_MUL(R8, R9, R10, R11, R12, R16, R17, R18, R14, R20, R21)
    	ADD $-16, R5
    	CMP R5, $16
    	BGE loop
    
    bytes_between_0_and_15:
    	CMP  R5, $0
    	BEQ  done
    	MOVD $0, R16 // h0
    	MOVD $0, R17 // h1
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Mar 09 00:09:40 UTC 2024
    - 3.2K bytes
    - Viewed (0)
Back to top