Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 225 for MULTIPLY (0.16 sec)

  1. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/SwiftLib.groovy

        }
    
        @Override
        int sum(int a, int b) {
            return sum.sum(a, b)
        }
    
        @Override
        int multiply(int a, int b) {
            return multiply.multiply(a, b)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  2. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/SwiftAppWithLibrariesAndXCTest.groovy

        final SwiftSourceElement main = app.application
        final SwiftSum sum = new SwiftSum()
        final SwiftMultiply multiply = new SwiftMultiply()
        final XCTestSourceElement test = new SwiftAppTest(main, app.greeter, sum, multiply)
    
        String expectedOutput = main.expectedOutput
    
        SwiftAppWithLibrariesAndXCTest() {
            super('app')
        }
    
        SourceElement getGreeter() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  3. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/SwiftMultiply.groovy

        @Override
        SourceFile getSourceFile() {
            sourceFile("swift", "multiply.swift", """
                 internal func multiply(a: Int, b: Int) -> Int {
                    return a * b
                 }
             """)
        }
    
        @Override
        int multiply(int a, int b) {
            return a * b
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/stablehlo/tests/fold_broadcast.mlir

      %0 = "mhlo.broadcast_in_dim"(%cst0) <{broadcast_dimensions = dense<3> : tensor<1xi64>}> : (tensor<4xi32>) -> tensor<1x1x2x4xi32>
      // CHECK: %[[MUL:.*]] = mhlo.multiply %[[BROADCAST]], %[[ARG]] : tensor<1x1x2x4xi32>
      %1 = mhlo.multiply %0, %arg0 : tensor<1x1x2x4xi32>
      // CHECK:      return %[[MUL]] : tensor<1x1x2x4xi32>
      func.return %1 : tensor<1x1x2x4xi32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 06 15:32:52 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/test/testdata/pgo/devirtualize/mult.pkg/mult.go

    package mult
    
    var sink int
    
    type Multiplier interface {
    	Multiply(a, b int) int
    }
    
    type Mult struct{}
    
    func (Mult) Multiply(a, b int) int {
    	for i := 0; i < 1000; i++ {
    		sink++
    	}
    	return a * b
    }
    
    type NegMult struct{}
    
    func (NegMult) Multiply(a, b int) int {
    	for i := 0; i < 1000; i++ {
    		sink++
    	}
    	return -1 * a * b
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 13 18:17:57 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  6. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/IncrementalCppStaleCompileOutputLib.groovy

        final greeter = new CppGreeter()
        final sum = new CppSum()
        final multiply = new CppMultiply()
    
        final List<IncrementalElement.Transform> incrementalChanges = [
            preserve(greeter),
            rename(sum),
            delete(multiply)
        ]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 994 bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/stablehlo/tests/legalize-tfl-stablehlo-mul.mlir

      func.return %0 : tensor<2xi32>
    }
    }
    
    // CHECK:       module {
    // CHECK-NEXT:  func @main(%arg0: tensor<2xi32>) -> tensor<2xi32> attributes {tf.entry_function = {inputs = "arg0", outputs = "tfl.custom1"}} {
    // CHECK-NEXT:    %0 = stablehlo.multiply %arg0, %arg0 : tensor<2xi32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Dec 16 05:09:09 UTC 2022
    - 751 bytes
    - Viewed (0)
  8. guava/src/com/google/common/math/BigIntegerMath.java

          case 2:
            return nums.get(start).multiply(nums.get(start + 1));
          case 3:
            return nums.get(start).multiply(nums.get(start + 1)).multiply(nums.get(start + 2));
          default:
            // Otherwise, split the list in half and recursively do this.
            int m = (end + start) >>> 1;
            return listProduct(nums, start, m).multiply(listProduct(nums, m, end));
        }
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/math/BigIntegerMath.java

          case 2:
            return nums.get(start).multiply(nums.get(start + 1));
          case 3:
            return nums.get(start).multiply(nums.get(start + 1)).multiply(nums.get(start + 2));
          default:
            // Otherwise, split the list in half and recursively do this.
            int m = (end + start) >>> 1;
            return listProduct(nums, start, m).multiply(listProduct(nums, m, end));
        }
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  10. platforms/jvm/jacoco/src/integTest/groovy/org/gradle/testing/jacoco/plugins/JacocoKotlinJvmPluginAggregationTest.groovy

                            Multiplier multiplier = new Multiplier();
                            Assert.assertEquals(1, multiplier.multiply(1, 1));
                            Assert.assertEquals(4, multiplier.multiply(2, 2));
                            Assert.assertEquals(2, multiplier.multiply(1, 2));
                        }
    
                        @Test
                        public void testPowerize() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 14 16:03:36 UTC 2023
    - 5.4K bytes
    - Viewed (0)
Back to top