Module Import alias Import alias identifier Import alias Import alias FunctionDef arguments args NameParam defaults body While NameLoad body Assign NameStore Call AttributeLoad NameLoad attr If CompareEq NameLoad Str body Return Assign TupleStore NameStore NameStore NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword TupleLoad NameLoad Expr Call AttributeLoad NameLoad attr For NameStore Call NameLoad Num body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr BinOpMult BinOpMult Num Num Num Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Call AttributeLoad NameLoad attr For NameStore Call NameLoad Num body Assign NameStore Call AttributeLoad NameLoad attr BinOpMult BinOpMult Num Num Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad BinOpMult BinOpMult Num Num Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad BinOpMult BinOpMult Num Num Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad BinOpMult BinOpMult Num Num Num Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareLt SubscriptLoad NameLoad Index Num BinOpAdd SubscriptLoad NameLoad Index Num BinOpMult BinOpMult Num Num Num BinOpMod Str TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr For NameStore Call NameLoad Num body Assign NameStore BinOpMult Call NameLoad NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareLt NameLoad BinOpAdd NameLoad Num decorator_list decorator_list
N/A N/A unittest N/A ufora.native.TCMalloc TCMallocNative N/A threading N/A Queue memoryFreeingThreadLoop N/A N/A queue N/A N/A N/A True N/A N/A element N/A N/A queue get N/A N/A element exit N/A N/A N/A N/A address event element N/A N/A N/A TCMallocNative freeAtAddress address N/A N/A N/A event set N/A ComponentModelTest N/A N/A unittest TestCase N/A test_allocInOneThreadAndDeallocateInAnother N/A N/A self N/A N/A N/A queue N/A N/A Queue Queue N/A thread N/A N/A threading Thread target memoryFreeingThreadLoop args N/A queue N/A N/A N/A thread start N/A ix N/A range 1000 N/A N/A event N/A N/A threading Event N/A address N/A N/A TCMallocNative mallocAndReturnAddress N/A N/A 100 1024 1024 N/A N/A N/A queue put N/A address event N/A N/A N/A event wait N/A N/A N/A queue put exit N/A N/A N/A thread join N/A test_realloc N/A N/A self N/A N/A N/A measurements N/A N/A N/A TCMallocNative getBytesUsed N/A ix N/A range 10 N/A N/A addr N/A N/A TCMallocNative mallocAndReturnAddress N/A N/A 10 1024 1024 N/A addr N/A N/A TCMallocNative reallocAtAddress addr N/A N/A 20 1024 1024 N/A N/A N/A measurements append N/A N/A TCMallocNative getBytesUsed N/A addr N/A N/A TCMallocNative reallocAtAddress addr N/A N/A 10 1024 1024 N/A addr N/A N/A TCMallocNative reallocAtAddress addr N/A N/A 5 1024 1024 N/A N/A N/A TCMallocNative freeAtAddress addr N/A N/A N/A measurements append N/A N/A TCMallocNative getBytesUsed N/A N/A N/A self assertTrue N/A N/A measurements N/A -1 N/A N/A measurements N/A 0 N/A N/A 10 1024 1024 N/A Expected %s to be less than 10 MB larger than %s N/A N/A measurements N/A -1 N/A measurements N/A 0 N/A test_strings N/A N/A self N/A N/A N/A bytes N/A N/A TCMallocNative getBytesUsed N/A ix N/A range 100 N/A N/A s N/A N/A str ix 1000000 N/A s2 N/A N/A TCMallocNative returnStringArg s N/A N/A N/A self assertEqual s s2 N/A finalBytes N/A N/A TCMallocNative getBytesUsed N/A N/A N/A self assertTrue N/A finalBytes N/A bytes 10000000 N/A N/A