Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 555 for sumx (0.15 sec)

  1. 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)
  2. test/ddd.go

    		println("sum 9", x)
    		panic("fail")
    	}
    	if x := sumC(4, 5, 6); x != 15 {
    		println("sumC 15", x)
    		panic("fail")
    	}
    	if x := sumD(4, 5, 7); x != 16 {
    		println("sumD 16", x)
    		panic("fail")
    	}
    	if x := sumE(4, 5, 8); x != 17 {
    		println("sumE 17", x)
    		panic("fail")
    	}
    	if x := sumF(4, 5, 9)(); x != 18 {
    		println("sumF 18", x)
    		panic("fail")
    	}
    	if x := sum2(1, 2, 3); x != 2*6 {
    		println("sum 6", x)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 4.2K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. src/hash/marshal_test.go

    				t.Fatalf("UnmarshalBinary: %v", err)
    			}
    			h2.Write(buf[split:])
    			h3.Write(buf[split:])
    			sum2 := h2.Sum(nil)
    			sum3 := h3.Sum(nil)
    			if !bytes.Equal(sum2, sum) {
    				t.Fatalf("Sum after MarshalBinary = %x, want %x", sum2, sum)
    			}
    			if !bytes.Equal(sum3, sum) {
    				t.Fatalf("Sum after UnmarshalBinary = %x, want %x", sum3, sum)
    			}
    		})
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 06 07:45:46 UTC 2017
    - 5.4K bytes
    - Viewed (0)
  6. 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)
  7. platforms/documentation/docs/src/snippets/native-binaries/assembler/groovy/src/main/headers/sum.h

    // Ensure that function name is consistently mapped to assembler
    #ifdef _MSC_VER
    int sum(int a, int b);
    #else
    extern int sum(int a, int b) asm("_sum");
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 159 bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. staging/src/k8s.io/apiextensions-apiserver/go.sum

    Kubernetes Prow Robot <******@****.***> 1718228831 -0700
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 21:47:11 UTC 2024
    - 49.3K bytes
    - Viewed (0)
Back to top