Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 97 for MULTIPLY (0.17 sec)

  1. src/crypto/internal/edwards25519/field/fe_alias_test.go

    		{name: "Pow22523", oneArgF: (*Element).Pow22523},
    		{
    			name: "Mult32",
    			oneArgF: func(v, x *Element) *Element {
    				return v.Mult32(x, 0xffffffff)
    			},
    		},
    		{name: "Multiply", twoArgsF: (*Element).Multiply},
    		{name: "Add", twoArgsF: (*Element).Add},
    		{name: "Subtract", twoArgsF: (*Element).Subtract},
    		{
    			name: "SqrtRatio",
    			twoArgsF: func(v, x, y *Element) *Element {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 28 17:26:17 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/test/pgo_devirtualize_test.go

    			t.Fatalf("error copying %s: %v", file, err)
    		}
    	}
    
    	want := []devirtualization{
    		// ExerciseIface
    		{
    			pos:    "./devirt.go:101:20",
    			callee: "mult.Mult.Multiply",
    		},
    		{
    			pos:    "./devirt.go:101:39",
    			callee: "Add.Add",
    		},
    		// ExerciseFuncConcrete
    		{
    			pos:    "./devirt.go:173:36",
    			callee: "AddFn",
    		},
    		{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 15 21:30:35 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  3. src/crypto/internal/edwards25519/field/fe_bench_test.go

    	for i := 0; i < b.N; i++ {
    		x.Add(x, y)
    	}
    }
    
    func BenchmarkMultiply(b *testing.B) {
    	x := new(Element).One()
    	y := new(Element).Add(x, x)
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		x.Multiply(x, y)
    	}
    }
    
    func BenchmarkSquare(b *testing.B) {
    	x := new(Element).Add(feOne, feOne)
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		x.Square(x)
    	}
    }
    
    func BenchmarkInvert(b *testing.B) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 10 18:45:00 UTC 2022
    - 924 bytes
    - Viewed (0)
  4. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/SwiftLibWithXCTest.groovy

            this("greeter")
        }
    
        SwiftLibWithXCTest(String projectName) {
            super(projectName)
            main = new SwiftLib(projectName)
            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
    - 1K bytes
    - Viewed (0)
  5. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/SwiftSingleFileLibWithSingleXCTestSuite.groovy

            List<XCTestSourceFileElement> getTestSuites() {
                return [
                    new XCTestSourceFileElement("CombinedTests") {
                        final delegate = new SwiftLibTest(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)
  6. tensorflow/compiler/mlir/quantization/stablehlo/tests/passes/unfuse_mhlo_batch_norm.mlir

      // CHECK: %[[X_CENTER:.+]] = mhlo.subtract %[[X]], %[[MEAN_BCAST]] : tensor<4x256xf32>
      // CHECK: %[[X_SCALED:.+]] = mhlo.multiply %[[X_CENTER]], %[[SCALE_BCAST]] : tensor<4x256xf32>
      // CHECK: %[[X_NORMED:.+]] = mhlo.divide %[[X_SCALED]], %[[STDDEV_BCAST]] : tensor<4x256xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 06 15:32:52 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  7. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/measure/Amount.java

            }
            return new Amount<>(units.scaleTo(value, other.units).subtract(other.value), other.units);
        }
    
        public Amount<Q> multiply(BigDecimal other) {
            return new Amount<>(value.multiply(other), units);
        }
    
        public Amount<Q> div(long other) {
            return div(BigDecimal.valueOf(other));
        }
        public Amount<Q> div(BigDecimal other) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/fmahash_test.go

    // It also runs ssa/check and gccheck to be sure that those are checked at least a
    // little in each run.bash.  It does not check or run the generated code.
    // The test file is however a useful example of fused-vs-cascaded multiply-add.
    func TestFmaHash(t *testing.T) {
    	switch runtime.GOOS {
    	case "linux", "darwin":
    	default:
    		t.Skipf("Slow test, usually avoid it, os=%s not linux or darwin", runtime.GOOS)
    	}
    	switch runtime.GOARCH {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 21:57:53 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/tests/group_by_dialect.mlir

      %one = "glue.constant"() { value = 1: i32 } : () -> i32
      %done = "glue.compare" (%one, %one) { predicate = #glue<"compare LTE"> } : (i32, i32) -> i1
      %2 = mhlo.constant dense<[[1.1]]> : tensor<1x1xf32>
      %3 = mhlo.multiply %2, %2 : tensor<1x1xf32>
      %cst = "tf.Const"() {value = dense<0.0> : tensor<f32>} : () -> tensor<f32>
      %0 = "tf.AddV2"(%arg0, %cst) {device = "/device:CPU:0"} : (tensor<f32>, tensor<f32>) -> tensor<f32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 28 23:43:21 UTC 2022
    - 5.7K bytes
    - Viewed (0)
  10. security/pkg/util/certutil.go

    	}
    	timeToExpire := cert.NotAfter.Sub(now)
    	if timeToExpire < 0 {
    		return time.Duration(0), fmt.Errorf("certificate already expired at %s, but now is %s",
    			cert.NotAfter, now)
    	}
    	// Note: multiply time.Duration(int64) by an int (gracePeriodPercentage) will cause overflow (e.g.,
    	// when duration is time.Hour * 90000). So float64 is used instead.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Nov 30 19:33:26 UTC 2023
    - 2.3K bytes
    - Viewed (0)
Back to top