Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 179 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/vendor/golang.org/x/crypto/internal/poly1305/sum_s390x.s

    	// add 2¹²⁸ to each message block value
    	VLEIB $4, $1, M_4
    	VLEIB $12, $1, M_4
    
    multiply:
    	// accumulate the incoming message
    	VAG H_0, M_0, M_0
    	VAG H_3, M_3, M_3
    	VAG H_1, M_1, M_1
    	VAG H_4, M_4, M_4
    	VAG H_2, M_2, M_2
    
    	// multiply the accumulator by the key coefficient
    	MULTIPLY(M_0, M_1, M_2, M_3, M_4, R_0, R_1, R_2, R_3, R_4, R5_1, R5_2, R5_3, R5_4, H_0, H_1, H_2, H_3, H_4)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 17.5K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. internal/grid/benchmark_test.go

    					}
    					atomic.AddInt64(&ops, int64(n))
    					atomic.AddInt64(&lat, latency)
    				})
    				spent := time.Since(t)
    				if spent > 0 && n > 0 {
    					// Since we are benchmarking n parallel servers we need to multiply by n.
    					// This will give an estimate of the total ops/s.
    					latency := float64(atomic.LoadInt64(&lat)) / float64(time.Millisecond)
    					b.ReportMetric(float64(n)*float64(ops)/spent.Seconds(), "vops/s")
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  10. 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)
Back to top