Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 249 for sum2 (0.26 sec)

  1. platforms/native/language-native/src/integTest/groovy/org/gradle/language/fixtures/app/DuplicateAssemblerBaseNamesTestApp.groovy

                extern int sum1(int a, int b) asm("_sum1");
                extern int sum2(int a, int b) asm("_sum2");
                #endif
    
                int main () {
                    printf("foo%dfoo%d", sum1(1, 0), sum2(1, 1));
                    fflush(stdout);
                    return 0;
                }
    
                """),
                sourceFile("asm", "foo1/sum.s", getAsmSource("sum1")),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  2. src/hash/maphash/maphash_test.go

    	h1 := new(Hash)
    	h1.WriteString("testing")
    	sum1 := h1.Sum64()
    
    	h1.Reset()
    	h1.WriteString("testing")
    	sum2 := h1.Sum64()
    
    	if sum1 != sum2 {
    		t.Errorf("different sum after resetting: %#x != %#x", sum1, sum2)
    	}
    
    	h2 := new(Hash)
    	h2.SetSeed(h1.Seed())
    	h2.WriteString("testing")
    	sum3 := h2.Sum64()
    
    	if sum1 != sum3 {
    		t.Errorf("different sum on the same seed: %#x != %#x", sum1, sum3)
    	}
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 14 00:03:57 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  3. src/runtime/lfstack_test.go

    	sum2 := 0
    	cnt := 0
    	for i := 0; i < 2; i++ {
    		for {
    			node := toMyNode(LFStackPop(stacks[i]))
    			if node == nil {
    				break
    			}
    			cnt++
    			sum2 += node.data
    			node.Next = 0
    		}
    	}
    	if cnt != K {
    		t.Fatalf("Wrong number of nodes %d/%d", cnt, K)
    	}
    	if sum2 != sum {
    		t.Fatalf("Wrong sum %d/%d", sum2, sum)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 17 23:12:04 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  4. src/runtime/syscall_windows_test.go

    // calling convention by default, since this is redundant with the existing
    // tests.
    var cbFuncsRegABI = []cbFunc{
    	{sum2},
    	{sum3},
    	{sum4},
    	{sum5},
    	{sum6},
    	{sum7},
    	{sum8},
    	{sum9},
    	{sum10},
    	{sum9uint8},
    	{sum9uint16},
    	{sum9int8},
    	{sum5mix},
    	{sum5andPair},
    	{sum9andGC},
    }
    
    func getCallbackTestFuncs() []cbFunc {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 31 16:31:35 UTC 2023
    - 32.5K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/tests/lower_tf.mlir

      // CHECK: %[[SUM1:.*]] = "tf.AddV2"(%arg2, %arg3)
      // CHECK: %[[SUM2:.*]] = "tf.AddV2"(%[[SUM0]], %[[SUM1]])
      // CHECK: %[[SUM3:.*]] = "tf.AddV2"(%[[SUM2]], %arg4)
      // return %[[SUM3]]
      %0 = "tf.AddN"(%arg0, %arg1, %arg2, %arg3, %arg4) : (tensor<*xf32>, tensor<*xf32>, tensor<*xf32>, tensor<*xf32>, tensor<*xf32>) -> tensor<*xf32>
      func.return %0 : tensor<*xf32>
    }
    
    // CHECK-LABEL: func @addN_variant
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jan 05 18:35:42 UTC 2024
    - 92K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tf2xla/tests/legalize-tf.mlir

    // CHECK-SAME:        window_strides = dense<[1, 3, 4, 1]>
    // CHECK:           ^bb0(%[[ARG3:.*]]: tensor<f32>, %[[ARG4:.*]]: tensor<f32>):
    // CHECK:             %[[SUM2:.*]] = mhlo.add %[[ARG3]], %[[ARG4]] : tensor<f32>
    // CHECK:             mhlo.return %[[SUM2]] : tensor<f32>
    // CHECK:           })
    // CHECK-SAME:        -> tensor<2x4x6x7xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 06 18:46:23 UTC 2024
    - 335.5K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.cc

    //
    // is lowered to:
    //
    //   %sum0 = "tf.AddV2"(%0, %1)
    //   %result = "tf.AddV2"(%sum0, %2)
    //
    // While
    //
    //   %result = "tf.AddN"(%0, %1, %2, %3, %4)
    //
    // is lowered to:
    //
    //   %sum0 = "tf.AddV2"(%0, %1)
    //   %sum1 = "tf.AddV2"(%2, %3)
    //   %sum2 = "tf.AddV2"(%sum0, %sum1)
    //   %result = "tf.AddV2"(%sum2, %4)
    //
    class LowerAddNOp : public RewritePattern {
     public:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 74.9K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/tests/canonicalize.mlir

      %0 = "tf.XlaVariadicReduce"(%arg0, %arg1) {dimensions_to_reduce = [], reducer = @sum2, device = "/job:localhost/replica:0/task:0/device:GPU:0"} : (tensor<3x4xf32>, tensor<f32>) -> tensor<?x?xf32>
      func.return %0 : tensor<?x?xf32>
    }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 132.1K bytes
    - Viewed (0)
  9. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/MixedLanguageHelloWorldApp.groovy

                // Ensure consistent asm name mapping on all platforms
                #if !defined(_MSC_VER)
                extern int sumx(int a, int b) asm("_sumx");
                #endif
    
                int DLL_FUNC sum(int a, int b) {
                    return sumx(a, b);
                }
    """),
                new SourceFile("asm", "sum.s", getAsmSource())
            ]
        }
    
        protected def getAsmSource() {
            if (toolChain.isVisualCpp()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  10. hack/tools/go.sum

    Stephen Kitt <******@****.***> 1696262516 +0200
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 93.1K bytes
    - Viewed (0)
Back to top