Ejemplo n.º 1
0
    def test_function(self):
        got = itanium_mangler.mangle("what", [int32, float32])
        expect = "_Z4whatif"
        self.assertEqual(expect, got)

        got = itanium_mangler.mangle("a_little_brown_fox",
                                     [uint64, uint32, float64])
        expect = "_Z18a_little_brown_foxyjd"
        self.assertEqual(expect, got)
Ejemplo n.º 2
0
    def test_function(self):
        got = itanium_mangler.mangle("what", [int32, float32])
        expect = "_Z4whatif"
        self.assertEqual(expect, got)

        got = itanium_mangler.mangle("a_little_brown_fox", [uint64,
                                                            uint32,
                                                            float64])
        expect = "_Z18a_little_brown_foxyjd"
        self.assertEqual(expect, got)
Ejemplo n.º 3
0
 def mangler(self, name, argtypes):
     return itanium_mangler.mangle(name, argtypes)
Ejemplo n.º 4
0
Archivo: target.py Proyecto: esc/numba
 def mangler(self, name, argtypes):
     return itanium_mangler.mangle(name, argtypes)