content
stringlengths
7
1.05M
fixed_cases
stringlengths
1
1.28M
#This program finds the favtorial of the specified numbers def factorial(number): '''This function finds the factorial of the number passed as argument''' if number < 0: print('Invalid entry! Cannot find factorial of a negative number') if number == 0 or number == 1: return 1 else: return number * factorial(number - 1) if __name__ == '__main__': userInput = int(input('Enter the Number to find the factorial of: ')) print(factorial(userInput))
def factorial(number): """This function finds the factorial of the number passed as argument""" if number < 0: print('Invalid entry! Cannot find factorial of a negative number') if number == 0 or number == 1: return 1 else: return number * factorial(number - 1) if __name__ == '__main__': user_input = int(input('Enter the Number to find the factorial of: ')) print(factorial(userInput))
#encoding:utf-8 subreddit = 'cursedimages+cursedcomments+cursedmemes+cursed_images+cursedguns+hmmm+cursedamongus' t_channel = '@r_cursed' def send_post(submission, r2t): return r2t.send_simple(submission)
subreddit = 'cursedimages+cursedcomments+cursedmemes+cursed_images+cursedguns+hmmm+cursedamongus' t_channel = '@r_cursed' def send_post(submission, r2t): return r2t.send_simple(submission)
#!/usr/bin/env python3 #-*- coding: utf8 -*- i = 0 while True: print("i = %d" % i) i += 1
i = 0 while True: print('i = %d' % i) i += 1
bit_pattern_31 = \ [ 8,-3, 9,5, #/*mean (0), correlation (0)*/, 4,2, 7,-12, #/*mean (1.12461e-05), correlation (0.0437584)*/, -11,9, -8,2, #/*mean (3.37382e-05), correlation (0.0617409)*/, 7,-12, 12,-13, #/*mean (5.62303e-05), correlation (0.0636977)*/, 2,-13, 2,12, #/*mean (0.000134953), correlation (0.085099)*/, 1,-7, 1,6, #/*mean (0.000528565), correlation (0.0857175)*/, -2,-10, -2,-4, #/*mean (0.0188821), correlation (0.0985774)*/, -13,-13, -11,-8, #/*mean (0.0363135), correlation (0.0899616)*/, -13,-3, -12,-9, #/*mean (0.121806), correlation (0.099849)*/, 10,4, 11,9, #/*mean (0.122065), correlation (0.093285)*/, -13,-8, -8,-9, #/*mean (0.162787), correlation (0.0942748)*/, -11,7, -9,12, #/*mean (0.21561), correlation (0.0974438)*/, 7,7, 12,6, #/*mean (0.160583), correlation (0.130064)*/, -4,-5, -3,0, #/*mean (0.228171), correlation (0.132998)*/, -13,2, -12,-3, #/*mean (0.00997526), correlation (0.145926)*/, -9,0, -7,5, #/*mean (0.198234), correlation (0.143636)*/, 12,-6, 12,-1, #/*mean (0.0676226), correlation (0.16689)*/, -3,6, -2,12, #/*mean (0.166847), correlation (0.171682)*/, -6,-13, -4,-8, #/*mean (0.101215), correlation (0.179716)*/, 11,-13, 12,-8, #/*mean (0.200641), correlation (0.192279)*/, 4,7, 5,1, #/*mean (0.205106), correlation (0.186848)*/, 5,-3, 10,-3, #/*mean (0.234908), correlation (0.192319)*/, 3,-7, 6,12, #/*mean (0.0709964), correlation (0.210872)*/, -8,-7, -6,-2, #/*mean (0.0939834), correlation (0.212589)*/, -2,11, -1,-10, #/*mean (0.127778), correlation (0.20866)*/, -13,12, -8,10, #/*mean (0.14783), correlation (0.206356)*/, -7,3, -5,-3, #/*mean (0.182141), correlation (0.198942)*/, -4,2, -3,7, #/*mean (0.188237), correlation (0.21384)*/, -10,-12, -6,11, #/*mean (0.14865), correlation (0.23571)*/, 5,-12, 6,-7, #/*mean (0.222312), correlation (0.23324)*/, 5,-6, 7,-1, #/*mean (0.229082), correlation (0.23389)*/, 1,0, 4,-5, #/*mean (0.241577), correlation (0.215286)*/, 9,11, 11,-13, #/*mean (0.00338507), correlation (0.251373)*/, 4,7, 4,12, #/*mean (0.131005), correlation (0.257622)*/, 2,-1, 4,4, #/*mean (0.152755), correlation (0.255205)*/, -4,-12, -2,7, #/*mean (0.182771), correlation (0.244867)*/, -8,-5, -7,-10, #/*mean (0.186898), correlation (0.23901)*/, 4,11, 9,12, #/*mean (0.226226), correlation (0.258255)*/, 0,-8, 1,-13, #/*mean (0.0897886), correlation (0.274827)*/, -13,-2, -8,2, #/*mean (0.148774), correlation (0.28065)*/, -3,-2, -2,3, #/*mean (0.153048), correlation (0.283063)*/, -6,9, -4,-9, #/*mean (0.169523), correlation (0.278248)*/, 8,12, 10,7, #/*mean (0.225337), correlation (0.282851)*/, 0,9, 1,3, #/*mean (0.226687), correlation (0.278734)*/, 7,-5, 11,-10, #/*mean (0.00693882), correlation (0.305161)*/, -13,-6, -11,0, #/*mean (0.0227283), correlation (0.300181)*/, 10,7, 12,1, #/*mean (0.125517), correlation (0.31089)*/, -6,-3, -6,12, #/*mean (0.131748), correlation (0.312779)*/, 10,-9, 12,-4, #/*mean (0.144827), correlation (0.292797)*/, -13,8, -8,-12, #/*mean (0.149202), correlation (0.308918)*/, -13,0, -8,-4, #/*mean (0.160909), correlation (0.310013)*/, 3,3, 7,8, #/*mean (0.177755), correlation (0.309394)*/, 5,7, 10,-7, #/*mean (0.212337), correlation (0.310315)*/, -1,7, 1,-12, #/*mean (0.214429), correlation (0.311933)*/, 3,-10, 5,6, #/*mean (0.235807), correlation (0.313104)*/, 2,-4, 3,-10, #/*mean (0.00494827), correlation (0.344948)*/, -13,0, -13,5, #/*mean (0.0549145), correlation (0.344675)*/, -13,-7, -12,12, #/*mean (0.103385), correlation (0.342715)*/, -13,3, -11,8, #/*mean (0.134222), correlation (0.322922)*/, -7,12, -4,7, #/*mean (0.153284), correlation (0.337061)*/, 6,-10, 12,8, #/*mean (0.154881), correlation (0.329257)*/, -9,-1, -7,-6, #/*mean (0.200967), correlation (0.33312)*/, -2,-5, 0,12, #/*mean (0.201518), correlation (0.340635)*/, -12,5, -7,5, #/*mean (0.207805), correlation (0.335631)*/, 3,-10, 8,-13, #/*mean (0.224438), correlation (0.34504)*/, -7,-7, -4,5, #/*mean (0.239361), correlation (0.338053)*/, -3,-2, -1,-7, #/*mean (0.240744), correlation (0.344322)*/, 2,9, 5,-11, #/*mean (0.242949), correlation (0.34145)*/, -11,-13, -5,-13, #/*mean (0.244028), correlation (0.336861)*/, -1,6, 0,-1, #/*mean (0.247571), correlation (0.343684)*/, 5,-3, 5,2, #/*mean (0.000697256), correlation (0.357265)*/, -4,-13, -4,12, #/*mean (0.00213675), correlation (0.373827)*/, -9,-6, -9,6, #/*mean (0.0126856), correlation (0.373938)*/, -12,-10, -8,-4, #/*mean (0.0152497), correlation (0.364237)*/, 10,2, 12,-3, #/*mean (0.0299933), correlation (0.345292)*/, 7,12, 12,12, #/*mean (0.0307242), correlation (0.366299)*/, -7,-13, -6,5, #/*mean (0.0534975), correlation (0.368357)*/, -4,9, -3,4, #/*mean (0.099865), correlation (0.372276)*/, 7,-1, 12,2, #/*mean (0.117083), correlation (0.364529)*/, -7,6, -5,1, #/*mean (0.126125), correlation (0.369606)*/, -13,11, -12,5, #/*mean (0.130364), correlation (0.358502)*/, -3,7, -2,-6, #/*mean (0.131691), correlation (0.375531)*/, 7,-8, 12,-7, #/*mean (0.160166), correlation (0.379508)*/, -13,-7, -11,-12, #/*mean (0.167848), correlation (0.353343)*/, 1,-3, 12,12, #/*mean (0.183378), correlation (0.371916)*/, 2,-6, 3,0, #/*mean (0.228711), correlation (0.371761)*/, -4,3, -2,-13, #/*mean (0.247211), correlation (0.364063)*/, -1,-13, 1,9, #/*mean (0.249325), correlation (0.378139)*/, 7,1, 8,-6, #/*mean (0.000652272), correlation (0.411682)*/, 1,-1, 3,12, #/*mean (0.00248538), correlation (0.392988)*/, 9,1, 12,6, #/*mean (0.0206815), correlation (0.386106)*/, -1,-9, -1,3, #/*mean (0.0364485), correlation (0.410752)*/, -13,-13, -10,5, #/*mean (0.0376068), correlation (0.398374)*/, 7,7, 10,12, #/*mean (0.0424202), correlation (0.405663)*/, 12,-5, 12,9, #/*mean (0.0942645), correlation (0.410422)*/, 6,3, 7,11, #/*mean (0.1074), correlation (0.413224)*/, 5,-13, 6,10, #/*mean (0.109256), correlation (0.408646)*/, 2,-12, 2,3, #/*mean (0.131691), correlation (0.416076)*/, 3,8, 4,-6, #/*mean (0.165081), correlation (0.417569)*/, 2,6, 12,-13, #/*mean (0.171874), correlation (0.408471)*/, 9,-12, 10,3, #/*mean (0.175146), correlation (0.41296)*/, -8,4, -7,9, #/*mean (0.183682), correlation (0.402956)*/, -11,12, -4,-6, #/*mean (0.184672), correlation (0.416125)*/, 1,12, 2,-8, #/*mean (0.191487), correlation (0.386696)*/, 6,-9, 7,-4, #/*mean (0.192668), correlation (0.394771)*/, 2,3, 3,-2, #/*mean (0.200157), correlation (0.408303)*/, 6,3, 11,0, #/*mean (0.204588), correlation (0.411762)*/, 3,-3, 8,-8, #/*mean (0.205904), correlation (0.416294)*/, 7,8, 9,3, #/*mean (0.213237), correlation (0.409306)*/, -11,-5, -6,-4, #/*mean (0.243444), correlation (0.395069)*/, -10,11, -5,10, #/*mean (0.247672), correlation (0.413392)*/, -5,-8, -3,12, #/*mean (0.24774), correlation (0.411416)*/, -10,5, -9,0, #/*mean (0.00213675), correlation (0.454003)*/, 8,-1, 12,-6, #/*mean (0.0293635), correlation (0.455368)*/, 4,-6, 6,-11, #/*mean (0.0404971), correlation (0.457393)*/, -10,12, -8,7, #/*mean (0.0481107), correlation (0.448364)*/, 4,-2, 6,7, #/*mean (0.050641), correlation (0.455019)*/, -2,0, -2,12, #/*mean (0.0525978), correlation (0.44338)*/, -5,-8, -5,2, #/*mean (0.0629667), correlation (0.457096)*/, 7,-6, 10,12, #/*mean (0.0653846), correlation (0.445623)*/, -9,-13, -8,-8, #/*mean (0.0858749), correlation (0.449789)*/, -5,-13, -5,-2, #/*mean (0.122402), correlation (0.450201)*/, 8,-8, 9,-13, #/*mean (0.125416), correlation (0.453224)*/, -9,-11, -9,0, #/*mean (0.130128), correlation (0.458724)*/, 1,-8, 1,-2, #/*mean (0.132467), correlation (0.440133)*/, 7,-4, 9,1, #/*mean (0.132692), correlation (0.454)*/, -2,1, -1,-4, #/*mean (0.135695), correlation (0.455739)*/, 11,-6, 12,-11, #/*mean (0.142904), correlation (0.446114)*/, -12,-9, -6,4, #/*mean (0.146165), correlation (0.451473)*/, 3,7, 7,12, #/*mean (0.147627), correlation (0.456643)*/, 5,5, 10,8, #/*mean (0.152901), correlation (0.455036)*/, 0,-4, 2,8, #/*mean (0.167083), correlation (0.459315)*/, -9,12, -5,-13, #/*mean (0.173234), correlation (0.454706)*/, 0,7, 2,12, #/*mean (0.18312), correlation (0.433855)*/, -1,2, 1,7, #/*mean (0.185504), correlation (0.443838)*/, 5,11, 7,-9, #/*mean (0.185706), correlation (0.451123)*/, 3,5, 6,-8, #/*mean (0.188968), correlation (0.455808)*/, -13,-4, -8,9, #/*mean (0.191667), correlation (0.459128)*/, -5,9, -3,-3, #/*mean (0.193196), correlation (0.458364)*/, -4,-7, -3,-12, #/*mean (0.196536), correlation (0.455782)*/, 6,5, 8,0, #/*mean (0.1972), correlation (0.450481)*/, -7,6, -6,12, #/*mean (0.199438), correlation (0.458156)*/, -13,6, -5,-2, #/*mean (0.211224), correlation (0.449548)*/, 1,-10, 3,10, #/*mean (0.211718), correlation (0.440606)*/, 4,1, 8,-4, #/*mean (0.213034), correlation (0.443177)*/, -2,-2, 2,-13, #/*mean (0.234334), correlation (0.455304)*/, 2,-12, 12,12, #/*mean (0.235684), correlation (0.443436)*/, -2,-13, 0,-6, #/*mean (0.237674), correlation (0.452525)*/, 4,1, 9,3, #/*mean (0.23962), correlation (0.444824)*/, -6,-10, -3,-5, #/*mean (0.248459), correlation (0.439621)*/, -3,-13, -1,1, #/*mean (0.249505), correlation (0.456666)*/, 7,5, 12,-11, #/*mean (0.00119208), correlation (0.495466)*/, 4,-2, 5,-7, #/*mean (0.00372245), correlation (0.484214)*/, -13,9, -9,-5, #/*mean (0.00741116), correlation (0.499854)*/, 7,1, 8,6, #/*mean (0.0208952), correlation (0.499773)*/, 7,-8, 7,6, #/*mean (0.0220085), correlation (0.501609)*/, -7,-4, -7,1, #/*mean (0.0233806), correlation (0.496568)*/, -8,11, -7,-8, #/*mean (0.0236505), correlation (0.489719)*/, -13,6, -12,-8, #/*mean (0.0268781), correlation (0.503487)*/, 2,4, 3,9, #/*mean (0.0323324), correlation (0.501938)*/, 10,-5, 12,3, #/*mean (0.0399235), correlation (0.494029)*/, -6,-5, -6,7, #/*mean (0.0420153), correlation (0.486579)*/, 8,-3, 9,-8, #/*mean (0.0548021), correlation (0.484237)*/, 2,-12, 2,8, #/*mean (0.0616622), correlation (0.496642)*/, -11,-2, -10,3, #/*mean (0.0627755), correlation (0.498563)*/, -12,-13, -7,-9, #/*mean (0.0829622), correlation (0.495491)*/, -11,0, -10,-5, #/*mean (0.0843342), correlation (0.487146)*/, 5,-3, 11,8, #/*mean (0.0929937), correlation (0.502315)*/, -2,-13, -1,12, #/*mean (0.113327), correlation (0.48941)*/, -1,-8, 0,9, #/*mean (0.132119), correlation (0.467268)*/, -13,-11, -12,-5, #/*mean (0.136269), correlation (0.498771)*/, -10,-2, -10,11, #/*mean (0.142173), correlation (0.498714)*/, -3,9, -2,-13, #/*mean (0.144141), correlation (0.491973)*/, 2,-3, 3,2, #/*mean (0.14892), correlation (0.500782)*/, -9,-13, -4,0, #/*mean (0.150371), correlation (0.498211)*/, -4,6, -3,-10, #/*mean (0.152159), correlation (0.495547)*/, -4,12, -2,-7, #/*mean (0.156152), correlation (0.496925)*/, -6,-11, -4,9, #/*mean (0.15749), correlation (0.499222)*/, 6,-3, 6,11, #/*mean (0.159211), correlation (0.503821)*/, -13,11, -5,5, #/*mean (0.162427), correlation (0.501907)*/, 11,11, 12,6, #/*mean (0.16652), correlation (0.497632)*/, 7,-5, 12,-2, #/*mean (0.169141), correlation (0.484474)*/, -1,12, 0,7, #/*mean (0.169456), correlation (0.495339)*/, -4,-8, -3,-2, #/*mean (0.171457), correlation (0.487251)*/, -7,1, -6,7, #/*mean (0.175), correlation (0.500024)*/, -13,-12, -8,-13, #/*mean (0.175866), correlation (0.497523)*/, -7,-2, -6,-8, #/*mean (0.178273), correlation (0.501854)*/, -8,5, -6,-9, #/*mean (0.181107), correlation (0.494888)*/, -5,-1, -4,5, #/*mean (0.190227), correlation (0.482557)*/, -13,7, -8,10, #/*mean (0.196739), correlation (0.496503)*/, 1,5, 5,-13, #/*mean (0.19973), correlation (0.499759)*/, 1,0, 10,-13, #/*mean (0.204465), correlation (0.49873)*/, 9,12, 10,-1, #/*mean (0.209334), correlation (0.49063)*/, 5,-8, 10,-9, #/*mean (0.211134), correlation (0.503011)*/, -1,11, 1,-13, #/*mean (0.212), correlation (0.499414)*/, -9,-3, -6,2, #/*mean (0.212168), correlation (0.480739)*/, -1,-10, 1,12, #/*mean (0.212731), correlation (0.502523)*/, -13,1, -8,-10, #/*mean (0.21327), correlation (0.489786)*/, 8,-11, 10,-6, #/*mean (0.214159), correlation (0.488246)*/, 2,-13, 3,-6, #/*mean (0.216993), correlation (0.50287)*/, 7,-13, 12,-9, #/*mean (0.223639), correlation (0.470502)*/, -10,-10, -5,-7, #/*mean (0.224089), correlation (0.500852)*/, -10,-8, -8,-13, #/*mean (0.228666), correlation (0.502629)*/, 4,-6, 8,5, #/*mean (0.22906), correlation (0.498305)*/, 3,12, 8,-13, #/*mean (0.233378), correlation (0.503825)*/, -4,2, -3,-3, #/*mean (0.234323), correlation (0.476692)*/, 5,-13, 10,-12, #/*mean (0.236392), correlation (0.475462)*/, 4,-13, 5,-1, #/*mean (0.236842), correlation (0.504132)*/, -9,9, -4,3, #/*mean (0.236977), correlation (0.497739)*/, 0,3, 3,-9, #/*mean (0.24314), correlation (0.499398)*/, -12,1, -6,1, #/*mean (0.243297), correlation (0.489447)*/, 3,2, 4,-8, #/*mean (0.00155196), correlation (0.553496)*/, -10,-10, -10,9, #/*mean (0.00239541), correlation (0.54297)*/, 8,-13, 12,12, #/*mean (0.0034413), correlation (0.544361)*/, -8,-12, -6,-5, #/*mean (0.003565), correlation (0.551225)*/, 2,2, 3,7, #/*mean (0.00835583), correlation (0.55285)*/, 10,6, 11,-8, #/*mean (0.00885065), correlation (0.540913)*/, 6,8, 8,-12, #/*mean (0.0101552), correlation (0.551085)*/, -7,10, -6,5, #/*mean (0.0102227), correlation (0.533635)*/, -3,-9, -3,9, #/*mean (0.0110211), correlation (0.543121)*/, -1,-13, -1,5, #/*mean (0.0113473), correlation (0.550173)*/, -3,-7, -3,4, #/*mean (0.0140913), correlation (0.554774)*/, -8,-2, -8,3, #/*mean (0.017049), correlation (0.55461)*/, 4,2, 12,12, #/*mean (0.01778), correlation (0.546921)*/, 2,-5, 3,11, #/*mean (0.0224022), correlation (0.549667)*/, 6,-9, 11,-13, #/*mean (0.029161), correlation (0.546295)*/, 3,-1, 7,12, #/*mean (0.0303081), correlation (0.548599)*/, 11,-1, 12,4, #/*mean (0.0355151), correlation (0.523943)*/, -3,0, -3,6, #/*mean (0.0417904), correlation (0.543395)*/, 4,-11, 4,12, #/*mean (0.0487292), correlation (0.542818)*/, 2,-4, 2,1, #/*mean (0.0575124), correlation (0.554888)*/, -10,-6, -8,1, #/*mean (0.0594242), correlation (0.544026)*/, -13,7, -11,1, #/*mean (0.0597391), correlation (0.550524)*/, -13,12, -11,-13, #/*mean (0.0608974), correlation (0.55383)*/, 6,0, 11,-13, #/*mean (0.065126), correlation (0.552006)*/, 0,-1, 1,4, #/*mean (0.074224), correlation (0.546372)*/, -13,3, -9,-2, #/*mean (0.0808592), correlation (0.554875)*/, -9,8, -6,-3, #/*mean (0.0883378), correlation (0.551178)*/, -13,-6, -8,-2, #/*mean (0.0901035), correlation (0.548446)*/, 5,-9, 8,10, #/*mean (0.0949843), correlation (0.554694)*/, 2,7, 3,-9, #/*mean (0.0994152), correlation (0.550979)*/, -1,-6, -1,-1, #/*mean (0.10045), correlation (0.552714)*/, 9,5, 11,-2, #/*mean (0.100686), correlation (0.552594)*/, 11,-3, 12,-8, #/*mean (0.101091), correlation (0.532394)*/, 3,0, 3,5, #/*mean (0.101147), correlation (0.525576)*/, -1,4, 0,10, #/*mean (0.105263), correlation (0.531498)*/, 3,-6, 4,5, #/*mean (0.110785), correlation (0.540491)*/, -13,0, -10,5, #/*mean (0.112798), correlation (0.536582)*/, 5,8, 12,11, #/*mean (0.114181), correlation (0.555793)*/, 8,9, 9,-6, #/*mean (0.117431), correlation (0.553763)*/, 7,-4, 8,-12, #/*mean (0.118522), correlation (0.553452)*/, -10,4, -10,9, #/*mean (0.12094), correlation (0.554785)*/, 7,3, 12,4, #/*mean (0.122582), correlation (0.555825)*/, 9,-7, 10,-2, #/*mean (0.124978), correlation (0.549846)*/, 7,0, 12,-2, #/*mean (0.127002), correlation (0.537452)*/, -1,-6, 0,-11, #/*mean (0.127148), correlation (0.547401)*/ ]
bit_pattern_31 = [8, -3, 9, 5, 4, 2, 7, -12, -11, 9, -8, 2, 7, -12, 12, -13, 2, -13, 2, 12, 1, -7, 1, 6, -2, -10, -2, -4, -13, -13, -11, -8, -13, -3, -12, -9, 10, 4, 11, 9, -13, -8, -8, -9, -11, 7, -9, 12, 7, 7, 12, 6, -4, -5, -3, 0, -13, 2, -12, -3, -9, 0, -7, 5, 12, -6, 12, -1, -3, 6, -2, 12, -6, -13, -4, -8, 11, -13, 12, -8, 4, 7, 5, 1, 5, -3, 10, -3, 3, -7, 6, 12, -8, -7, -6, -2, -2, 11, -1, -10, -13, 12, -8, 10, -7, 3, -5, -3, -4, 2, -3, 7, -10, -12, -6, 11, 5, -12, 6, -7, 5, -6, 7, -1, 1, 0, 4, -5, 9, 11, 11, -13, 4, 7, 4, 12, 2, -1, 4, 4, -4, -12, -2, 7, -8, -5, -7, -10, 4, 11, 9, 12, 0, -8, 1, -13, -13, -2, -8, 2, -3, -2, -2, 3, -6, 9, -4, -9, 8, 12, 10, 7, 0, 9, 1, 3, 7, -5, 11, -10, -13, -6, -11, 0, 10, 7, 12, 1, -6, -3, -6, 12, 10, -9, 12, -4, -13, 8, -8, -12, -13, 0, -8, -4, 3, 3, 7, 8, 5, 7, 10, -7, -1, 7, 1, -12, 3, -10, 5, 6, 2, -4, 3, -10, -13, 0, -13, 5, -13, -7, -12, 12, -13, 3, -11, 8, -7, 12, -4, 7, 6, -10, 12, 8, -9, -1, -7, -6, -2, -5, 0, 12, -12, 5, -7, 5, 3, -10, 8, -13, -7, -7, -4, 5, -3, -2, -1, -7, 2, 9, 5, -11, -11, -13, -5, -13, -1, 6, 0, -1, 5, -3, 5, 2, -4, -13, -4, 12, -9, -6, -9, 6, -12, -10, -8, -4, 10, 2, 12, -3, 7, 12, 12, 12, -7, -13, -6, 5, -4, 9, -3, 4, 7, -1, 12, 2, -7, 6, -5, 1, -13, 11, -12, 5, -3, 7, -2, -6, 7, -8, 12, -7, -13, -7, -11, -12, 1, -3, 12, 12, 2, -6, 3, 0, -4, 3, -2, -13, -1, -13, 1, 9, 7, 1, 8, -6, 1, -1, 3, 12, 9, 1, 12, 6, -1, -9, -1, 3, -13, -13, -10, 5, 7, 7, 10, 12, 12, -5, 12, 9, 6, 3, 7, 11, 5, -13, 6, 10, 2, -12, 2, 3, 3, 8, 4, -6, 2, 6, 12, -13, 9, -12, 10, 3, -8, 4, -7, 9, -11, 12, -4, -6, 1, 12, 2, -8, 6, -9, 7, -4, 2, 3, 3, -2, 6, 3, 11, 0, 3, -3, 8, -8, 7, 8, 9, 3, -11, -5, -6, -4, -10, 11, -5, 10, -5, -8, -3, 12, -10, 5, -9, 0, 8, -1, 12, -6, 4, -6, 6, -11, -10, 12, -8, 7, 4, -2, 6, 7, -2, 0, -2, 12, -5, -8, -5, 2, 7, -6, 10, 12, -9, -13, -8, -8, -5, -13, -5, -2, 8, -8, 9, -13, -9, -11, -9, 0, 1, -8, 1, -2, 7, -4, 9, 1, -2, 1, -1, -4, 11, -6, 12, -11, -12, -9, -6, 4, 3, 7, 7, 12, 5, 5, 10, 8, 0, -4, 2, 8, -9, 12, -5, -13, 0, 7, 2, 12, -1, 2, 1, 7, 5, 11, 7, -9, 3, 5, 6, -8, -13, -4, -8, 9, -5, 9, -3, -3, -4, -7, -3, -12, 6, 5, 8, 0, -7, 6, -6, 12, -13, 6, -5, -2, 1, -10, 3, 10, 4, 1, 8, -4, -2, -2, 2, -13, 2, -12, 12, 12, -2, -13, 0, -6, 4, 1, 9, 3, -6, -10, -3, -5, -3, -13, -1, 1, 7, 5, 12, -11, 4, -2, 5, -7, -13, 9, -9, -5, 7, 1, 8, 6, 7, -8, 7, 6, -7, -4, -7, 1, -8, 11, -7, -8, -13, 6, -12, -8, 2, 4, 3, 9, 10, -5, 12, 3, -6, -5, -6, 7, 8, -3, 9, -8, 2, -12, 2, 8, -11, -2, -10, 3, -12, -13, -7, -9, -11, 0, -10, -5, 5, -3, 11, 8, -2, -13, -1, 12, -1, -8, 0, 9, -13, -11, -12, -5, -10, -2, -10, 11, -3, 9, -2, -13, 2, -3, 3, 2, -9, -13, -4, 0, -4, 6, -3, -10, -4, 12, -2, -7, -6, -11, -4, 9, 6, -3, 6, 11, -13, 11, -5, 5, 11, 11, 12, 6, 7, -5, 12, -2, -1, 12, 0, 7, -4, -8, -3, -2, -7, 1, -6, 7, -13, -12, -8, -13, -7, -2, -6, -8, -8, 5, -6, -9, -5, -1, -4, 5, -13, 7, -8, 10, 1, 5, 5, -13, 1, 0, 10, -13, 9, 12, 10, -1, 5, -8, 10, -9, -1, 11, 1, -13, -9, -3, -6, 2, -1, -10, 1, 12, -13, 1, -8, -10, 8, -11, 10, -6, 2, -13, 3, -6, 7, -13, 12, -9, -10, -10, -5, -7, -10, -8, -8, -13, 4, -6, 8, 5, 3, 12, 8, -13, -4, 2, -3, -3, 5, -13, 10, -12, 4, -13, 5, -1, -9, 9, -4, 3, 0, 3, 3, -9, -12, 1, -6, 1, 3, 2, 4, -8, -10, -10, -10, 9, 8, -13, 12, 12, -8, -12, -6, -5, 2, 2, 3, 7, 10, 6, 11, -8, 6, 8, 8, -12, -7, 10, -6, 5, -3, -9, -3, 9, -1, -13, -1, 5, -3, -7, -3, 4, -8, -2, -8, 3, 4, 2, 12, 12, 2, -5, 3, 11, 6, -9, 11, -13, 3, -1, 7, 12, 11, -1, 12, 4, -3, 0, -3, 6, 4, -11, 4, 12, 2, -4, 2, 1, -10, -6, -8, 1, -13, 7, -11, 1, -13, 12, -11, -13, 6, 0, 11, -13, 0, -1, 1, 4, -13, 3, -9, -2, -9, 8, -6, -3, -13, -6, -8, -2, 5, -9, 8, 10, 2, 7, 3, -9, -1, -6, -1, -1, 9, 5, 11, -2, 11, -3, 12, -8, 3, 0, 3, 5, -1, 4, 0, 10, 3, -6, 4, 5, -13, 0, -10, 5, 5, 8, 12, 11, 8, 9, 9, -6, 7, -4, 8, -12, -10, 4, -10, 9, 7, 3, 12, 4, 9, -7, 10, -2, 7, 0, 12, -2, -1, -6, 0, -11]
LOGIN_URL = 'https://pocketapi.48.cn/user/api/v1/login/app/mobile' IM_ROOM_MESSAGE_URL = 'https://pocketapi.48.cn/im/api/v1/chatroom/msg/list/homeowner' IM_ROOM_MESSAGE_ALL_URL = 'https://pocketapi.48.cn/im/api/v1/chatroom/msg/list/all' IM_ROOM_INFO_URL = 'https://pocketapi.48.cn/im/api/v1/im/room/info/type/source' IM_ROOM_SEARCH_URL = 'https://pocketapi.48.cn/im/api/v1/im/search' USER_INFO_URL = 'https://pocketapi.48.cn/user/api/v1/user/info/home' USER_ARCHIVES_URL = 'https://pocketapi.48.cn/user/api/v1/user/star/archives' # TEAM_STAR_URL = 'https://pocketapi.48.cn/user/api/v1/client/update/group_team_star' USER_TIMELINE_URL = 'https://pocketapi.48.cn/posts/api/v1/posts/timeline/home' FRIENDS_TIMELINE_URL = 'https://pocketapi.48.cn/posts/api/v1/posts/timeline/friends' USER_POST_DETAILS_URL = 'https://pocketapi.48.cn/posts/api/v1/posts/details' IMAGE_LIST_URL = 'https://pocketapi.48.cn/posts/api/v1/posts/img/list' VIDEO_LIST_URL = 'https://pocketapi.48.cn/posts/api/v2/posts/video/list' # IM_USER_INFO_URL = 'https://pocketapi.48.cn/im/api/v1/im/userinfo' # CONVERSATION_URL = 'https://pocketapi.48.cn/im/api/v1/conversation/page' # CONVERSATION_FANDOM_URL = 'https://pocketapi.48.cn/im/api/v1/conversation/fandom' # empty? LIVE_LIST_URL = 'https://pocketapi.48.cn/live/api/v1/live/getLiveList' LIVE_URL = 'https://pocketapi.48.cn/live/api/v1/live/getLiveOne' OPEN_LIVE_LIST_URL = 'https://pocketapi.48.cn/live/api/v1/live/getOpenLiveList' OPEN_LIVE_URL = 'https://pocketapi.48.cn/live/api/v1/live/getOpenLiveOne' # GENERAL_ALBUM_LIST_URL = 'https://pocketapi.48.cn/media/api/media/v1/album/list' # GENERAL_VIDEO_LIST_URL = 'https://pocketapi.48.cn/media/api/media/v1/video/list' # GENERAL_RADIO_LIST_URL = 'https://pocketapi.48.cn/media/api/media/v1/talk/list' # GENERAL_RADIO_URL = 'https://pocketapi.48.cn/media/api/media/v1/talk' # /home/api/home/user/tools/config what is this? # api/v1/im/room/info ?
login_url = 'https://pocketapi.48.cn/user/api/v1/login/app/mobile' im_room_message_url = 'https://pocketapi.48.cn/im/api/v1/chatroom/msg/list/homeowner' im_room_message_all_url = 'https://pocketapi.48.cn/im/api/v1/chatroom/msg/list/all' im_room_info_url = 'https://pocketapi.48.cn/im/api/v1/im/room/info/type/source' im_room_search_url = 'https://pocketapi.48.cn/im/api/v1/im/search' user_info_url = 'https://pocketapi.48.cn/user/api/v1/user/info/home' user_archives_url = 'https://pocketapi.48.cn/user/api/v1/user/star/archives' user_timeline_url = 'https://pocketapi.48.cn/posts/api/v1/posts/timeline/home' friends_timeline_url = 'https://pocketapi.48.cn/posts/api/v1/posts/timeline/friends' user_post_details_url = 'https://pocketapi.48.cn/posts/api/v1/posts/details' image_list_url = 'https://pocketapi.48.cn/posts/api/v1/posts/img/list' video_list_url = 'https://pocketapi.48.cn/posts/api/v2/posts/video/list' live_list_url = 'https://pocketapi.48.cn/live/api/v1/live/getLiveList' live_url = 'https://pocketapi.48.cn/live/api/v1/live/getLiveOne' open_live_list_url = 'https://pocketapi.48.cn/live/api/v1/live/getOpenLiveList' open_live_url = 'https://pocketapi.48.cn/live/api/v1/live/getOpenLiveOne'
def sortedSquaredArray(array): return sorted(map(lambda x: x * x, array)) def test_sample(): assert sortedSquaredArray([1, 2, 3, 5, 6, 8, 9]) == [ 1, 4, 9, 25, 36, 64, 81]
def sorted_squared_array(array): return sorted(map(lambda x: x * x, array)) def test_sample(): assert sorted_squared_array([1, 2, 3, 5, 6, 8, 9]) == [1, 4, 9, 25, 36, 64, 81]
# target wechat user to response wechat_user = 'target user to respond' # chrome driver path driver_path = './chromedriver' # API Keys weather_api = "open weather api" lta_api = "lta datamall api" news_api = "news api" url_api = 'url shorten api' url_workspace = 'url shorten workspace id' # news news_latest = 7 news_sources = ['bbc-news', 'cnn'] news_article_cnt = 10 # jobstreet js_username = 'jobstreet username' js_password = 'jobstreet password' js_url = 'https://myjobstreet.jobstreet.com.sg/home/login.php' js_pages = 1 js_email = 'email sender' js_email_password = 'email sender password' # platts platts_url = "https://www.spglobal.com/platts/en/market-insights/latest-news#" platts_pages = 1
wechat_user = 'target user to respond' driver_path = './chromedriver' weather_api = 'open weather api' lta_api = 'lta datamall api' news_api = 'news api' url_api = 'url shorten api' url_workspace = 'url shorten workspace id' news_latest = 7 news_sources = ['bbc-news', 'cnn'] news_article_cnt = 10 js_username = 'jobstreet username' js_password = 'jobstreet password' js_url = 'https://myjobstreet.jobstreet.com.sg/home/login.php' js_pages = 1 js_email = 'email sender' js_email_password = 'email sender password' platts_url = 'https://www.spglobal.com/platts/en/market-insights/latest-news#' platts_pages = 1
def insertionSort(arr): for i in range(1, len(arr)): # iterate from 1..n element = arr[i] # current element j = i # current index while j > 0 and arr[j - 1] > element: ''' compare with the sorted list on the right and shift those elements one place right until the current element is smaller than it's left side element ''' arr[j] = arr[j - 1] j -= 1 arr[j] = element # place the element return arr def insertionSort2(arr): for i, element in enumerate(arr): while i > 0 and arr[i - 1] > element: arr[i], i = arr[i - 1], i - 1 arr[i] = element return arr if __name__ == '__main__': arr = list(map(int, input('Enter the numbers:').split(' '))) print(*insertionSort(arr)) print(*insertionSort2(arr))
def insertion_sort(arr): for i in range(1, len(arr)): element = arr[i] j = i while j > 0 and arr[j - 1] > element: "\n compare with the sorted list on the right and shift those elements\n one place right until the current element is smaller than it's\n left side element\n " arr[j] = arr[j - 1] j -= 1 arr[j] = element return arr def insertion_sort2(arr): for (i, element) in enumerate(arr): while i > 0 and arr[i - 1] > element: (arr[i], i) = (arr[i - 1], i - 1) arr[i] = element return arr if __name__ == '__main__': arr = list(map(int, input('Enter the numbers:').split(' '))) print(*insertion_sort(arr)) print(*insertion_sort2(arr))
# -*- coding: utf-8 -*- __all__ = ['test_order_book'] def test_order_book(exchange, orderbook, method, symbol): # todo add real order book tests here print( exchange.id, symbol, method, orderbook['nonce'] if orderbook['nonce'] else orderbook['datetime'], len(orderbook['bids']), 'bids', str(orderbook['bids'][0] if len(orderbook['bids']) else 'N/A'), len(orderbook['asks']), 'asks', str(orderbook['asks'][0] if len(orderbook['asks']) else 'N/A')) keys = [ 'bids', 'asks', 'timestamp', 'datetime', 'nonce', ] for key in keys: assert key in orderbook if orderbook['timestamp'] is not None: assert orderbook['timestamp'] > 1230940800000 # 03 Jan 2009 - first block assert orderbook['timestamp'] < 2147483648000 # 19 Jan 2038 - int32 overflows asks = orderbook['asks'] bids = orderbook['bids'] for i in range(0, len(asks)): ask = asks[i] assert isinstance(ask[0], (int, float)), 'ask[0] is expected to be a float or int, ' + type(ask[0]) + ' given' assert isinstance(ask[1], (int, float)), 'ask[1] is expected to be a float or int, ' + type(ask[1]) + ' given' if len(asks) > (i + 1): assert asks[i][0] <= asks[i + 1][0] for i in range(0, len(bids)): bid = bids[i] assert isinstance(bid[0], (int, float)), 'bid[0] is expected to be a float or int, ' + type(bid[0]) + ' given' assert isinstance(bid[1], (int, float)), 'bid[0] is expected to be a float or int, ' + type(bid[1]) + ' given' if len(bids) > (i + 1): assert bids[i][0] >= bids[i + 1][0] if len(bids) and len(asks): assert bids[0][0] < asks[0][0], 'bids[0] {} >= asks[0] {}'.format(bids[0], asks[0])
__all__ = ['test_order_book'] def test_order_book(exchange, orderbook, method, symbol): print(exchange.id, symbol, method, orderbook['nonce'] if orderbook['nonce'] else orderbook['datetime'], len(orderbook['bids']), 'bids', str(orderbook['bids'][0] if len(orderbook['bids']) else 'N/A'), len(orderbook['asks']), 'asks', str(orderbook['asks'][0] if len(orderbook['asks']) else 'N/A')) keys = ['bids', 'asks', 'timestamp', 'datetime', 'nonce'] for key in keys: assert key in orderbook if orderbook['timestamp'] is not None: assert orderbook['timestamp'] > 1230940800000 assert orderbook['timestamp'] < 2147483648000 asks = orderbook['asks'] bids = orderbook['bids'] for i in range(0, len(asks)): ask = asks[i] assert isinstance(ask[0], (int, float)), 'ask[0] is expected to be a float or int, ' + type(ask[0]) + ' given' assert isinstance(ask[1], (int, float)), 'ask[1] is expected to be a float or int, ' + type(ask[1]) + ' given' if len(asks) > i + 1: assert asks[i][0] <= asks[i + 1][0] for i in range(0, len(bids)): bid = bids[i] assert isinstance(bid[0], (int, float)), 'bid[0] is expected to be a float or int, ' + type(bid[0]) + ' given' assert isinstance(bid[1], (int, float)), 'bid[0] is expected to be a float or int, ' + type(bid[1]) + ' given' if len(bids) > i + 1: assert bids[i][0] >= bids[i + 1][0] if len(bids) and len(asks): assert bids[0][0] < asks[0][0], 'bids[0] {} >= asks[0] {}'.format(bids[0], asks[0])
def getSeqTerm(n): if n % 3 == 0: return n // 3 * 2 elif n == 1: return 2 else: return 1 def sumDigits(n): sum = 0 while n > 0: sum += n % 10 n //= 10 return sum def euler65(lastN): num, den = getSeqTerm(lastN), 1 for x in range(lastN - 1, 0, -1): num, den = den + getSeqTerm(x) * num, num return sumDigits(num) if __name__ == "__main__": print(euler65(100))
def get_seq_term(n): if n % 3 == 0: return n // 3 * 2 elif n == 1: return 2 else: return 1 def sum_digits(n): sum = 0 while n > 0: sum += n % 10 n //= 10 return sum def euler65(lastN): (num, den) = (get_seq_term(lastN), 1) for x in range(lastN - 1, 0, -1): (num, den) = (den + get_seq_term(x) * num, num) return sum_digits(num) if __name__ == '__main__': print(euler65(100))
class Note: def __init__(self, **kwargs): self.id = kwargs.get("id") self.title = kwargs.get("title") self.content = kwargs.get("content") def __str__(self): return self.title def __repr__(self): return f"<Note id={self.id} title={self.title}>"
class Note: def __init__(self, **kwargs): self.id = kwargs.get('id') self.title = kwargs.get('title') self.content = kwargs.get('content') def __str__(self): return self.title def __repr__(self): return f'<Note id={self.id} title={self.title}>'
def is_increasing_sequence(sequence): for i in range(len(sequence) - 1): if sequence[i] >= sequence[i + 1]: return i return -1 def almostIncreasingSequence(sequence): j = is_increasing_sequence(sequence) if j == -1: return True if is_increasing_sequence(sequence[j - 1 : j] + sequence[j + 1 :]) == -1: return True # Deleting earlier element makes it increasing if is_increasing_sequence(sequence[j : j + 1] + sequence[j + 2 :]) == -1: return True # Deleting later element makes it increasing return False
def is_increasing_sequence(sequence): for i in range(len(sequence) - 1): if sequence[i] >= sequence[i + 1]: return i return -1 def almost_increasing_sequence(sequence): j = is_increasing_sequence(sequence) if j == -1: return True if is_increasing_sequence(sequence[j - 1:j] + sequence[j + 1:]) == -1: return True if is_increasing_sequence(sequence[j:j + 1] + sequence[j + 2:]) == -1: return True return False
# For manual installation, fill in the fields below. If you are using # install.sh, the config.py should have been generated for you. APPLICATION_ROOT = None CSRF_ENABLED = True DATABASE_URI = 'mysql+pymysql://root:@localhost:3306/test?charset=utf8' GITHUB_BOT = '' GITHUB_TOKEN = '' GITHUB_OWNER = 'CCExtractor' GITHUB_REPOSITORY = 'ccextractor' SERVER_NAME = 'localhost' EMAIL_DOMAIN = '' EMAIL_API_KEY = '' HMAC_KEY = '' GITHUB_DEPLOY_KEY = '' GITHUB_CI_KEY = '' GITHUB_CLIENT_ID = '' GITHUB_CLIENT_SECRET = '' INSTALL_FOLDER = '/path/to/installation' KVM_LINUX_NAME = '' KVM_WINDOWS_NAME = '' KVM_MAX_RUNTIME = 120 # In minutes SAMPLE_REPOSITORY = '/path/to/samples' SESSION_COOKIE_PATH = '/' FTP_PORT = 21 MAX_CONTENT_LENGTH = 512 * 1024 * 1024 MIN_PWD_LEN = 10 MAX_PWD_LEN = 500
application_root = None csrf_enabled = True database_uri = 'mysql+pymysql://root:@localhost:3306/test?charset=utf8' github_bot = '' github_token = '' github_owner = 'CCExtractor' github_repository = 'ccextractor' server_name = 'localhost' email_domain = '' email_api_key = '' hmac_key = '' github_deploy_key = '' github_ci_key = '' github_client_id = '' github_client_secret = '' install_folder = '/path/to/installation' kvm_linux_name = '' kvm_windows_name = '' kvm_max_runtime = 120 sample_repository = '/path/to/samples' session_cookie_path = '/' ftp_port = 21 max_content_length = 512 * 1024 * 1024 min_pwd_len = 10 max_pwd_len = 500
def gcd(a, b): if b == 0: return a else: return gcd(b, a%b) def main(): n = int(input()) a = list(map(int,input().split())) L = [a[0] for _ in range(n)] R = [a[n-1] for _ in range(n)] for i in range(1,n): L[i] = gcd(L[i-1], a[i]) for i in range(1,n): R[i] = gcd(R[i-1], a[n-1-i]) R.reverse() LR = [] for i in range(1,n-1): LR.append( gcd(L[i-1], R[i+1]) ) if LR == []: print( max(L[n-2], R[1]) ) else: print( max(max(LR), L[n-2], R[1]) ) if __name__ == "__main__": main()
def gcd(a, b): if b == 0: return a else: return gcd(b, a % b) def main(): n = int(input()) a = list(map(int, input().split())) l = [a[0] for _ in range(n)] r = [a[n - 1] for _ in range(n)] for i in range(1, n): L[i] = gcd(L[i - 1], a[i]) for i in range(1, n): R[i] = gcd(R[i - 1], a[n - 1 - i]) R.reverse() lr = [] for i in range(1, n - 1): LR.append(gcd(L[i - 1], R[i + 1])) if LR == []: print(max(L[n - 2], R[1])) else: print(max(max(LR), L[n - 2], R[1])) if __name__ == '__main__': main()
with open("dane.txt", "r") as f: liczby = [int(line) for line in f.readlines()] def remove(remove_every_num: int, nums_list: list[int]): i = remove_every_num - 1 # Indeksacja od 0. while i < len(nums_list): del nums_list[i] i = i + (remove_every_num - 1) def gen_lucky_numbers(high: int) -> list[int]: lucky_nums = list(range(1, high + 1, 2)) i = 1 while True: if i < len(lucky_nums): remove_every_num = lucky_nums[i] if remove_every_num > len(lucky_nums): return lucky_nums else: return lucky_nums remove(remove_every_num, lucky_nums) i += 1 lucky_numbers = set(gen_lucky_numbers(10_000)) lucky_count = 0 for liczba in liczby: if liczba in lucky_numbers: lucky_count += 1 print(f"{lucky_count=}")
with open('dane.txt', 'r') as f: liczby = [int(line) for line in f.readlines()] def remove(remove_every_num: int, nums_list: list[int]): i = remove_every_num - 1 while i < len(nums_list): del nums_list[i] i = i + (remove_every_num - 1) def gen_lucky_numbers(high: int) -> list[int]: lucky_nums = list(range(1, high + 1, 2)) i = 1 while True: if i < len(lucky_nums): remove_every_num = lucky_nums[i] if remove_every_num > len(lucky_nums): return lucky_nums else: return lucky_nums remove(remove_every_num, lucky_nums) i += 1 lucky_numbers = set(gen_lucky_numbers(10000)) lucky_count = 0 for liczba in liczby: if liczba in lucky_numbers: lucky_count += 1 print(f'lucky_count={lucky_count!r}')
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright (c) 2012-2019 Snowflake Computing Inc. All right reserved. # class FileCompressionType(): def __init__(self): pass Types = { 'GZIP': { 'name': 'GZIP', 'file_extension': '.gz', 'mime_type': 'application', 'mime_subtypes': ['gzip', 'x-gzip'], 'is_supported': True, }, 'DEFLATE': { 'name': 'DEFLATE', 'file_extention': '.deflate', 'mime_type': 'application', 'mime_subtypes': ['zlib', 'deflate'], 'is_supported': True, }, 'RAW_DEFLATE': { 'name': 'RAW_DEFLATE', 'file_extention': '.raw_deflate', 'mime_type': 'application', 'mime_subtypes': ['raw_deflate'], 'is_supported': True, }, 'BZIP2': { 'name': 'BZIP2', 'file_extention': '.bz2', 'mime_type': 'application', 'mime_subtypes': ['bzip2', 'x-bzip2', 'x-bz2', 'x-bzip', 'bz2'], 'is_supported': True, }, 'LZIP': { 'name': 'LZIP', 'file_extention': '.lz', 'mime_type': 'application', 'mime_subtypes': ['lzip', 'x-lzip'], 'is_supported': False, }, 'LZMA': { 'name': 'LZMA', 'file_extention': '.lzma', 'mime_type': 'application', 'mime_subtypes': ['lzma', 'x-lzma'], 'is_supported': False, }, 'LZO': { 'name': 'LZO', 'file_extention': '.lzo', 'mime_type': 'application', 'mime_subtypes': ['lzo', 'x-lzo'], 'is_supported': False, }, 'XZ': { 'name': 'XZ', 'file_extention': '.xz', 'mime_type': 'application', 'mime_subtypes': ['xz', 'x-xz'], 'is_supported': False, }, 'COMPRESS': { 'name': 'COMPRESS', 'file_extention': '.Z', 'mime_type': 'application', 'mime_subtypes': ['compress', 'x-compress'], 'is_supported': False, }, 'PARQUET': { 'name': 'PARQUET', 'file_extention': '.parquet', 'mime_type': 'snowflake', 'mime_subtypes': ['parquet'], 'is_supported': True, }, 'ZSTD': { 'name': 'ZSTD', 'file_extention': '.zst', 'mime_type': 'application', 'mime_subtypes': ['zstd', 'x-zstd'], 'is_supported': True, }, 'BROTLI': { 'name': 'BROTLI', 'file_extention': '.br', 'mime_type': 'application', 'mime_subtypes': ['br', 'x-br'], 'is_supported': True, }, 'ORC': { 'name': 'ORC', 'file_extention': '.orc', 'mime_type': 'snowflake', 'mime_subtypes': ['orc'], 'is_supported': True, }, } subtype_to_meta = {} # TODO: Snappy avro doen't need to be compressed again @classmethod def init(cls): for meta in cls.Types.values(): for ms in meta['mime_subtypes']: cls.subtype_to_meta[ms] = meta @classmethod def lookupByMimeSubType(cls, mime_subtype): if mime_subtype.lower() in cls.subtype_to_meta: return cls.subtype_to_meta[mime_subtype] else: return None # do init once FileCompressionType.init()
class Filecompressiontype: def __init__(self): pass types = {'GZIP': {'name': 'GZIP', 'file_extension': '.gz', 'mime_type': 'application', 'mime_subtypes': ['gzip', 'x-gzip'], 'is_supported': True}, 'DEFLATE': {'name': 'DEFLATE', 'file_extention': '.deflate', 'mime_type': 'application', 'mime_subtypes': ['zlib', 'deflate'], 'is_supported': True}, 'RAW_DEFLATE': {'name': 'RAW_DEFLATE', 'file_extention': '.raw_deflate', 'mime_type': 'application', 'mime_subtypes': ['raw_deflate'], 'is_supported': True}, 'BZIP2': {'name': 'BZIP2', 'file_extention': '.bz2', 'mime_type': 'application', 'mime_subtypes': ['bzip2', 'x-bzip2', 'x-bz2', 'x-bzip', 'bz2'], 'is_supported': True}, 'LZIP': {'name': 'LZIP', 'file_extention': '.lz', 'mime_type': 'application', 'mime_subtypes': ['lzip', 'x-lzip'], 'is_supported': False}, 'LZMA': {'name': 'LZMA', 'file_extention': '.lzma', 'mime_type': 'application', 'mime_subtypes': ['lzma', 'x-lzma'], 'is_supported': False}, 'LZO': {'name': 'LZO', 'file_extention': '.lzo', 'mime_type': 'application', 'mime_subtypes': ['lzo', 'x-lzo'], 'is_supported': False}, 'XZ': {'name': 'XZ', 'file_extention': '.xz', 'mime_type': 'application', 'mime_subtypes': ['xz', 'x-xz'], 'is_supported': False}, 'COMPRESS': {'name': 'COMPRESS', 'file_extention': '.Z', 'mime_type': 'application', 'mime_subtypes': ['compress', 'x-compress'], 'is_supported': False}, 'PARQUET': {'name': 'PARQUET', 'file_extention': '.parquet', 'mime_type': 'snowflake', 'mime_subtypes': ['parquet'], 'is_supported': True}, 'ZSTD': {'name': 'ZSTD', 'file_extention': '.zst', 'mime_type': 'application', 'mime_subtypes': ['zstd', 'x-zstd'], 'is_supported': True}, 'BROTLI': {'name': 'BROTLI', 'file_extention': '.br', 'mime_type': 'application', 'mime_subtypes': ['br', 'x-br'], 'is_supported': True}, 'ORC': {'name': 'ORC', 'file_extention': '.orc', 'mime_type': 'snowflake', 'mime_subtypes': ['orc'], 'is_supported': True}} subtype_to_meta = {} @classmethod def init(cls): for meta in cls.Types.values(): for ms in meta['mime_subtypes']: cls.subtype_to_meta[ms] = meta @classmethod def lookup_by_mime_sub_type(cls, mime_subtype): if mime_subtype.lower() in cls.subtype_to_meta: return cls.subtype_to_meta[mime_subtype] else: return None FileCompressionType.init()
''' This is not meant to be edited by the user ''' rest_test_url = "https://tudata-test.ulb.tu-darmstadt.de/rest" rest_url = "https://tudatalib.ulb.tu-darmstadt.de/rest"
""" This is not meant to be edited by the user """ rest_test_url = 'https://tudata-test.ulb.tu-darmstadt.de/rest' rest_url = 'https://tudatalib.ulb.tu-darmstadt.de/rest'
# Python program to demonstrate # logical or operator a = 10 b = 10 c = -10 if any([a == b , 4 > 5]): # (a==b or 4 > 5) print("True") else: print("False")
a = 10 b = 10 c = -10 if any([a == b, 4 > 5]): print('True') else: print('False')
def f(x, y): '''Returns the first argument. :type x: (int, :py:class:`b.C`, b.C) :param b.C y: ignored :rtype: :class:`b.C` ''' _, c = x return c
def f(x, y): """Returns the first argument. :type x: (int, :py:class:`b.C`, b.C) :param b.C y: ignored :rtype: :class:`b.C` """ (_, c) = x return c
# # @lc app=leetcode id=58 lang=python3 # # [58] Length of Last Word # class Solution: def lengthOfLastWord(self, s: str) -> int: ls = len(s) # slow and fast pointers slow = -1 # iterate over trailing spaces while slow >= -ls and s[slow] == ' ': slow -= 1 fast = slow # iterate over last word while fast >= -ls and s[fast] != ' ': fast -= 1 return slow - fast
class Solution: def length_of_last_word(self, s: str) -> int: ls = len(s) slow = -1 while slow >= -ls and s[slow] == ' ': slow -= 1 fast = slow while fast >= -ls and s[fast] != ' ': fast -= 1 return slow - fast
''' 2. Write a program to search for the "saddle points" in a 5 by 5 array of integers. A saddle point is a cell whose value is greater than or equal to in its row, and less than or equal to any in its column. There may be more than one saddle point in the array. Print out the coordinates of any saddle points your program finds. Print out "No saddle points" if there are none. ''' array = [[0, 1, 4, 4, 4], [2, 2, 3, 4, 3], [5, 4, 2, 4, 3], [3, 1, 5, 3, 5], [2, 2, 3, 1, 4]] for i in range(5): for j in range(5): ''' checking for saddle point if data is greater than or equal to its row(with first row as 1) and less than equal to its column''' if array[i][j] >= (i+1) and array[i][j] <= (j+1): print(f"value at {i+1},{j+1} is saddle point->{array[i][j]}")
""" 2. Write a program to search for the "saddle points" in a 5 by 5 array of integers. A saddle point is a cell whose value is greater than or equal to in its row, and less than or equal to any in its column. There may be more than one saddle point in the array. Print out the coordinates of any saddle points your program finds. Print out "No saddle points" if there are none. """ array = [[0, 1, 4, 4, 4], [2, 2, 3, 4, 3], [5, 4, 2, 4, 3], [3, 1, 5, 3, 5], [2, 2, 3, 1, 4]] for i in range(5): for j in range(5): ' checking for saddle point if data is greater than or equal to \n its row(with first row as 1) and less than equal to its column' if array[i][j] >= i + 1 and array[i][j] <= j + 1: print(f'value at {i + 1},{j + 1} is saddle point->{array[i][j]}')
# begin the table print("<table>") infile = open("test 3 column.csv","r") for line in infile: row = line.split(",") print("<tr>") for i in row.count: print("<td>%s</td>" % row[i]) print("</tr>") # end the table print("</table>")
print('<table>') infile = open('test 3 column.csv', 'r') for line in infile: row = line.split(',') print('<tr>') for i in row.count: print('<td>%s</td>' % row[i]) print('</tr>') print('</table>')
SCREEN_WIDTH = 650 SCREEN_HEIGHT = 650 SCALE = 20 CURR_DIRECTION = "right" HIGHSCORE_FILE_PATH = "highscore.txt" DIRECTIONS = { "up": (0, -SCALE), "down": (0, SCALE), "right": (SCALE, 0), "left": (-SCALE, 0), }
screen_width = 650 screen_height = 650 scale = 20 curr_direction = 'right' highscore_file_path = 'highscore.txt' directions = {'up': (0, -SCALE), 'down': (0, SCALE), 'right': (SCALE, 0), 'left': (-SCALE, 0)}
mobile = "https://mobile.twitter.com" base = "https://twitter.com/i" async def Favorites(username, init): url = "{}/{}/favorites?lang=en".format(mobile, username) if init != -1: url += "&max_id={}".format(init) return url async def Followers(username, init): url = "{}/{}/followers?lang=en".format(mobile, username) if init != -1: url += "&cursor={}".format(init) return url async def Following(username, init): url = "{}/{}/following?lang=en".format(mobile, username) if init != -1: url += "&cursor={}".format(init) return url async def MobileProfile(username, init): url = "{}/{}?lang=en".format(mobile, username) if init != -1: url += "&max_id={}".format(init) return url async def Profile(username, init): url = "{}/profiles/show/{}/timeline/tweets?include_".format(base, username) url += "available_features=1&lang=en&include_entities=1" url += "&include_new_items_bar=true" if init != -1: url += "&max_position={}".format(init) return url async def Search(config, init): url = "{}/search/timeline?f=tweets&vertical=default&lang=en".format(base) url += "&include_available_features=1&include_entities=1&" url += "reset_error_state=false&src=typd&max_position={}&q=".format(init) if config.Lang: url = url.replace("lang=en", "l={0.Lang}&lang=en".format(config)) if config.Username: url += "from%3A{0.Username}".format(config) if config.Geo: config.Geo = config.Geo.replace(" ", "") url += "geocode%3A{0.Geo}".format(config) if config.Search: config.Search = config.Search.replace(" ", "%20") config.Search = config.Search.replace("#", "%23") url += "%20{0.Search}".format(config) if config.Year: url += "%20until%3A{0.Year}-1-1".format(config) if config.Since: url += "%20since%3A{0.Since}".format(config) if config.Until: url += "%20until%3A{0.Until}".format(config) if config.Fruit: url += "%20myspace.com%20OR%20last.fm%20OR" url += "%20mail%20OR%20email%20OR%20gmail%20OR%20e-mail" url += "%20OR%20phone%20OR%20call%20me%20OR%20text%20me" url += "%20OR%20keybase" if config.Verified: url += "%20filter%3Averified" if config.To: url += "%20to%3A{0.To}".format(config) if config.All: url += "%20to%3A{0.All}%20OR%20from%3A{0.All}%20OR%20@{0.All}".format(config) if config.Near: config.Near = config.Near.replace(" ", "%20") config.Near = config.Near.replace(",", "%2C") url += "%20near%3A{0.Near}".format(config) return url
mobile = 'https://mobile.twitter.com' base = 'https://twitter.com/i' async def Favorites(username, init): url = '{}/{}/favorites?lang=en'.format(mobile, username) if init != -1: url += '&max_id={}'.format(init) return url async def Followers(username, init): url = '{}/{}/followers?lang=en'.format(mobile, username) if init != -1: url += '&cursor={}'.format(init) return url async def Following(username, init): url = '{}/{}/following?lang=en'.format(mobile, username) if init != -1: url += '&cursor={}'.format(init) return url async def MobileProfile(username, init): url = '{}/{}?lang=en'.format(mobile, username) if init != -1: url += '&max_id={}'.format(init) return url async def Profile(username, init): url = '{}/profiles/show/{}/timeline/tweets?include_'.format(base, username) url += 'available_features=1&lang=en&include_entities=1' url += '&include_new_items_bar=true' if init != -1: url += '&max_position={}'.format(init) return url async def Search(config, init): url = '{}/search/timeline?f=tweets&vertical=default&lang=en'.format(base) url += '&include_available_features=1&include_entities=1&' url += 'reset_error_state=false&src=typd&max_position={}&q='.format(init) if config.Lang: url = url.replace('lang=en', 'l={0.Lang}&lang=en'.format(config)) if config.Username: url += 'from%3A{0.Username}'.format(config) if config.Geo: config.Geo = config.Geo.replace(' ', '') url += 'geocode%3A{0.Geo}'.format(config) if config.Search: config.Search = config.Search.replace(' ', '%20') config.Search = config.Search.replace('#', '%23') url += '%20{0.Search}'.format(config) if config.Year: url += '%20until%3A{0.Year}-1-1'.format(config) if config.Since: url += '%20since%3A{0.Since}'.format(config) if config.Until: url += '%20until%3A{0.Until}'.format(config) if config.Fruit: url += '%20myspace.com%20OR%20last.fm%20OR' url += '%20mail%20OR%20email%20OR%20gmail%20OR%20e-mail' url += '%20OR%20phone%20OR%20call%20me%20OR%20text%20me' url += '%20OR%20keybase' if config.Verified: url += '%20filter%3Averified' if config.To: url += '%20to%3A{0.To}'.format(config) if config.All: url += '%20to%3A{0.All}%20OR%20from%3A{0.All}%20OR%20@{0.All}'.format(config) if config.Near: config.Near = config.Near.replace(' ', '%20') config.Near = config.Near.replace(',', '%2C') url += '%20near%3A{0.Near}'.format(config) return url
# coding: utf-8 classificacao = raw_input() tipo = raw_input() especie = raw_input() if (classificacao == "vertebrado"): if(tipo == "ave"): if (especie == "carnivoro"): print("aguia") elif(especie == "onivoro"): print("pomba") elif (tipo == "mamifero"): if (especie == "onivoro"): print("homem") elif(especie == "herbivoro"): print("vaca") elif(classificacao == "invertebrado"): if(tipo == "inseto"): if (especie == "hematofago"): print ("pulga") elif(especie == "herbivoro"): print ("lagarta") elif(tipo == "anelideo"): if (especie == "hematofago"): print("sanguessuga") elif(especie == "onivoro"): print("minhoca")
classificacao = raw_input() tipo = raw_input() especie = raw_input() if classificacao == 'vertebrado': if tipo == 'ave': if especie == 'carnivoro': print('aguia') elif especie == 'onivoro': print('pomba') elif tipo == 'mamifero': if especie == 'onivoro': print('homem') elif especie == 'herbivoro': print('vaca') elif classificacao == 'invertebrado': if tipo == 'inseto': if especie == 'hematofago': print('pulga') elif especie == 'herbivoro': print('lagarta') elif tipo == 'anelideo': if especie == 'hematofago': print('sanguessuga') elif especie == 'onivoro': print('minhoca')
class Matrix: def __init__(self, matrix_string: str): # another solution (functional) # [list(map(int, elements.split())) for elements in matrix_string.splitlines()] self.matrix = [ [int(element) for element in elements.split()] for elements in matrix_string.splitlines() ] def row(self, index): return self.matrix[index - 1].copy() def column(self, index): return [row[index - 1] for row in self.matrix]
class Matrix: def __init__(self, matrix_string: str): self.matrix = [[int(element) for element in elements.split()] for elements in matrix_string.splitlines()] def row(self, index): return self.matrix[index - 1].copy() def column(self, index): return [row[index - 1] for row in self.matrix]
_base_ = "./wheat_detection_mstrain.py" data_root = "/data/" data = dict( samples_per_gpu=1, train=dict( ann_file=[ data_root + "coco_train.json", data_root + "coco_pseudo_test.json", data_root + "coco_pseudo_test.json", data_root + "coco_pseudo_test.json", ], img_prefix=[data_root + "train/", data_root + "test/", data_root + "test/", data_root + "test/"], ), )
_base_ = './wheat_detection_mstrain.py' data_root = '/data/' data = dict(samples_per_gpu=1, train=dict(ann_file=[data_root + 'coco_train.json', data_root + 'coco_pseudo_test.json', data_root + 'coco_pseudo_test.json', data_root + 'coco_pseudo_test.json'], img_prefix=[data_root + 'train/', data_root + 'test/', data_root + 'test/', data_root + 'test/']))
# string = [char for char in input() if char not in ['a', 'o', 'u', 'e', 'i', 'A', 'O', 'U', 'E', 'I']] # print(''.join(string)) print(''.join([char for char in input() if char not in ['a', 'o', 'u', 'e', 'i', 'A', 'O', 'U', 'E', 'I']]))
print(''.join([char for char in input() if char not in ['a', 'o', 'u', 'e', 'i', 'A', 'O', 'U', 'E', 'I']]))
_NOVAL = object() class Peekable(object): def __init__(self, iterator): self.iterator = iter(iterator) self._cached = None def has_next(self): try: self.peek() return True except StopIteration: return False def peek(self, default=_NOVAL): if not self._cached: try: self._cached = (next(self.iterator),) except StopIteration: if default is _NOVAL: raise else: return default return self._cached[0] def next(self, default=_NOVAL): if self._cached: o = self._cached[0] self._cached = None return o if default is _NOVAL: return next(self.iterator) else: return next(self.iterator, default) def __iter__(self): return self
_noval = object() class Peekable(object): def __init__(self, iterator): self.iterator = iter(iterator) self._cached = None def has_next(self): try: self.peek() return True except StopIteration: return False def peek(self, default=_NOVAL): if not self._cached: try: self._cached = (next(self.iterator),) except StopIteration: if default is _NOVAL: raise else: return default return self._cached[0] def next(self, default=_NOVAL): if self._cached: o = self._cached[0] self._cached = None return o if default is _NOVAL: return next(self.iterator) else: return next(self.iterator, default) def __iter__(self): return self
# var inteiro a = 2 # var real b = 1.2 # var logico c = True # var caractere d = 'caractere' print('var a =>', type(a)) print('var b =>', type(b)) print('var c =>', type(c)) print('var d =>', type(d))
a = 2 b = 1.2 c = True d = 'caractere' print('var a =>', type(a)) print('var b =>', type(b)) print('var c =>', type(c)) print('var d =>', type(d))
programmer_num = int(input("Enter a number for the user to guess: ")) num = int(input("Enter a number: ")) while num != programmer_num: if num > programmer_num: num = int(input("Incorrect please try again (hint: your number was too high): ")) elif num < programmer_num: num = int(input("Incorrect please try again (hint: your number was too low): ")) print("You got the right number")
programmer_num = int(input('Enter a number for the user to guess: ')) num = int(input('Enter a number: ')) while num != programmer_num: if num > programmer_num: num = int(input('Incorrect please try again (hint: your number was too high): ')) elif num < programmer_num: num = int(input('Incorrect please try again (hint: your number was too low): ')) print('You got the right number')
load("@bazel_bootlin//toolchains:toolchain_info.bzl", "AVAILABLE_TOOLCHAINS") def all_platforms(): for architecture in AVAILABLE_TOOLCHAINS: for buildroot_version in AVAILABLE_TOOLCHAINS[architecture]: if buildroot_version not in native.existing_rules(): native.constraint_value( name = buildroot_version, constraint_setting = "@bazel_bootlin//platforms:buildroot_version", visibility = ["//visibility:public"], ) native.platform( name = "{0}-linux-gnu-{1}".format(architecture, buildroot_version), constraint_values = [ "@platforms//cpu:{0}".format( AVAILABLE_TOOLCHAINS[architecture][buildroot_version]["platform_arch"], ), "@platforms//os:linux", "@bazel_bootlin//platforms:{0}".format(buildroot_version), ], visibility = ["//visibility:public"], )
load('@bazel_bootlin//toolchains:toolchain_info.bzl', 'AVAILABLE_TOOLCHAINS') def all_platforms(): for architecture in AVAILABLE_TOOLCHAINS: for buildroot_version in AVAILABLE_TOOLCHAINS[architecture]: if buildroot_version not in native.existing_rules(): native.constraint_value(name=buildroot_version, constraint_setting='@bazel_bootlin//platforms:buildroot_version', visibility=['//visibility:public']) native.platform(name='{0}-linux-gnu-{1}'.format(architecture, buildroot_version), constraint_values=['@platforms//cpu:{0}'.format(AVAILABLE_TOOLCHAINS[architecture][buildroot_version]['platform_arch']), '@platforms//os:linux', '@bazel_bootlin//platforms:{0}'.format(buildroot_version)], visibility=['//visibility:public'])
# # @lc app=leetcode.cn id=1627 lang=python3 # # [1627] last-moment-before-all-ants-fall-out-of-a-plank # None # @lc code=end
None
while True: try: n = int(input()) if((n >= 1) and (n <= 1000)): for item in range(n): num = int(input ()) if((num >= 1) and (num <= 10**100)): led = 0 num = str(num) for y in num: if((y == '6') or (y == '9') or (y == '0')): led = led + 6 if((y == '2') or (y == '3') or (y == '5')): led = led + 5 if(y == '1'): led = led + 2 if(y == '7'): led = led + 3 if(y == '4'): led = led + 4 if(y == '8'): led = led + 7 print('{:d} leds'.format(led)) except EOFError: break
while True: try: n = int(input()) if n >= 1 and n <= 1000: for item in range(n): num = int(input()) if num >= 1 and num <= 10 ** 100: led = 0 num = str(num) for y in num: if y == '6' or y == '9' or y == '0': led = led + 6 if y == '2' or y == '3' or y == '5': led = led + 5 if y == '1': led = led + 2 if y == '7': led = led + 3 if y == '4': led = led + 4 if y == '8': led = led + 7 print('{:d} leds'.format(led)) except EOFError: break
with open('./21/input_a.txt') as f: p1 = int(f.readline().strip()[-1:]) p2 = int(f.readline().strip()[-1:]) ddice = 1 def rollddice(num): global ddice ddice += num return (ddice-1) * num - num p1score, p1loc, p2score, p2loc = 0, p1, 0, p2 while max(p1score, p2score) < 1000: p1loc = (((p1loc + rollddice(3))-1) %10) +1 p1score += p1loc if p1score >= 1000: break p2loc = (((p2loc + rollddice(3))-1) %10) +1 p2score += p2loc if p2score >= 1000: break print(f'Part A: score after first player reaches 1000 - {min(p1score, p2score)} x {ddice-1} = {min(p1score, p2score) * (ddice-1)}')
with open('./21/input_a.txt') as f: p1 = int(f.readline().strip()[-1:]) p2 = int(f.readline().strip()[-1:]) ddice = 1 def rollddice(num): global ddice ddice += num return (ddice - 1) * num - num (p1score, p1loc, p2score, p2loc) = (0, p1, 0, p2) while max(p1score, p2score) < 1000: p1loc = (p1loc + rollddice(3) - 1) % 10 + 1 p1score += p1loc if p1score >= 1000: break p2loc = (p2loc + rollddice(3) - 1) % 10 + 1 p2score += p2loc if p2score >= 1000: break print(f'Part A: score after first player reaches 1000 - {min(p1score, p2score)} x {ddice - 1} = {min(p1score, p2score) * (ddice - 1)}')
''' The web is built with HTML strings like "<i>Yay</i>" which draws Yay as italic text. In this example, the "i" tag makes <i> and </i> which surround the word "Yay". Given tag and word strings, create the HTML string with tags around the word, e.g. "<i>Yay</i>". ''' def make_tags(tag, word): return "<%s>%s</%s>" % (tag, word, tag)
""" The web is built with HTML strings like "<i>Yay</i>" which draws Yay as italic text. In this example, the "i" tag makes <i> and </i> which surround the word "Yay". Given tag and word strings, create the HTML string with tags around the word, e.g. "<i>Yay</i>". """ def make_tags(tag, word): return '<%s>%s</%s>' % (tag, word, tag)
set_name(0x8014B0D8, "EA_cd_seek", SN_NOWARN) set_name(0x8014B0E0, "MY_CdGetSector", SN_NOWARN) set_name(0x8014B114, "init_cdstream", SN_NOWARN) set_name(0x8014B124, "flush_cdstream", SN_NOWARN) set_name(0x8014B148, "check_complete_frame", SN_NOWARN) set_name(0x8014B1C8, "reset_cdstream", SN_NOWARN) set_name(0x8014B1F0, "kill_stream_handlers", SN_NOWARN) set_name(0x8014B250, "stream_cdready_handler", SN_NOWARN) set_name(0x8014B444, "CD_stream_handler", SN_NOWARN) set_name(0x8014B524, "install_stream_handlers", SN_NOWARN) set_name(0x8014B594, "cdstream_service", SN_NOWARN) set_name(0x8014B62C, "cdstream_get_chunk", SN_NOWARN) set_name(0x8014B750, "cdstream_is_last_chunk", SN_NOWARN) set_name(0x8014B768, "cdstream_discard_chunk", SN_NOWARN) set_name(0x8014B868, "close_cdstream", SN_NOWARN) set_name(0x8014B8E0, "open_cdstream", SN_NOWARN) set_name(0x8014BA78, "set_mdec_img_buffer", SN_NOWARN) set_name(0x8014BAAC, "start_mdec_decode", SN_NOWARN) set_name(0x8014BC30, "DCT_out_handler", SN_NOWARN) set_name(0x8014BCCC, "init_mdec", SN_NOWARN) set_name(0x8014BD3C, "init_mdec_buffer", SN_NOWARN) set_name(0x8014BD58, "split_poly_area", SN_NOWARN) set_name(0x8014C148, "rebuild_mdec_polys", SN_NOWARN) set_name(0x8014C31C, "clear_mdec_frame", SN_NOWARN) set_name(0x8014C328, "draw_mdec_polys", SN_NOWARN) set_name(0x8014C674, "invalidate_mdec_frame", SN_NOWARN) set_name(0x8014C688, "is_frame_decoded", SN_NOWARN) set_name(0x8014C694, "init_mdec_polys", SN_NOWARN) set_name(0x8014CA24, "set_mdec_poly_bright", SN_NOWARN) set_name(0x8014CA8C, "init_mdec_stream", SN_NOWARN) set_name(0x8014CADC, "init_mdec_audio", SN_NOWARN) set_name(0x8014CB94, "kill_mdec_audio", SN_NOWARN) set_name(0x8014CBC4, "stop_mdec_audio", SN_NOWARN) set_name(0x8014CBE8, "play_mdec_audio", SN_NOWARN) set_name(0x8014CE84, "set_mdec_audio_volume", SN_NOWARN) set_name(0x8014CF50, "resync_audio", SN_NOWARN) set_name(0x8014CF80, "stop_mdec_stream", SN_NOWARN) set_name(0x8014CFCC, "dequeue_stream", SN_NOWARN) set_name(0x8014D0B8, "dequeue_animation", SN_NOWARN) set_name(0x8014D268, "decode_mdec_stream", SN_NOWARN) set_name(0x8014D454, "play_mdec_stream", SN_NOWARN) set_name(0x8014D508, "clear_mdec_queue", SN_NOWARN) set_name(0x8014D534, "StrClearVRAM", SN_NOWARN) set_name(0x8014D5F4, "PlayFMVOverLay", SN_NOWARN) set_name(0x8014D9FC, "GetDown__C4CPad", SN_NOWARN) set_name(0x8013AAC4, "map_buf", SN_NOWARN) set_name(0x80149AC4, "imgbuf", SN_NOWARN) set_name(0x80149B18, "br", SN_NOWARN) set_name(0x8014A158, "tmdc_pol", SN_NOWARN) set_name(0x8014A798, "mdc_buf", SN_NOWARN) set_name(0x8014A7A8, "tmdc_pol_offs", SN_NOWARN) set_name(0x8014ADE8, "mdc_idx", SN_NOWARN) set_name(0x8014AE10, "mdec_queue", SN_NOWARN) set_name(0x8014AF50, "mdec_drenv", SN_NOWARN) set_name(0x8014AFD0, "stream_buf", SN_NOWARN) set_name(0x8014B054, "stream_bufh", SN_NOWARN)
set_name(2148839640, 'EA_cd_seek', SN_NOWARN) set_name(2148839648, 'MY_CdGetSector', SN_NOWARN) set_name(2148839700, 'init_cdstream', SN_NOWARN) set_name(2148839716, 'flush_cdstream', SN_NOWARN) set_name(2148839752, 'check_complete_frame', SN_NOWARN) set_name(2148839880, 'reset_cdstream', SN_NOWARN) set_name(2148839920, 'kill_stream_handlers', SN_NOWARN) set_name(2148840016, 'stream_cdready_handler', SN_NOWARN) set_name(2148840516, 'CD_stream_handler', SN_NOWARN) set_name(2148840740, 'install_stream_handlers', SN_NOWARN) set_name(2148840852, 'cdstream_service', SN_NOWARN) set_name(2148841004, 'cdstream_get_chunk', SN_NOWARN) set_name(2148841296, 'cdstream_is_last_chunk', SN_NOWARN) set_name(2148841320, 'cdstream_discard_chunk', SN_NOWARN) set_name(2148841576, 'close_cdstream', SN_NOWARN) set_name(2148841696, 'open_cdstream', SN_NOWARN) set_name(2148842104, 'set_mdec_img_buffer', SN_NOWARN) set_name(2148842156, 'start_mdec_decode', SN_NOWARN) set_name(2148842544, 'DCT_out_handler', SN_NOWARN) set_name(2148842700, 'init_mdec', SN_NOWARN) set_name(2148842812, 'init_mdec_buffer', SN_NOWARN) set_name(2148842840, 'split_poly_area', SN_NOWARN) set_name(2148843848, 'rebuild_mdec_polys', SN_NOWARN) set_name(2148844316, 'clear_mdec_frame', SN_NOWARN) set_name(2148844328, 'draw_mdec_polys', SN_NOWARN) set_name(2148845172, 'invalidate_mdec_frame', SN_NOWARN) set_name(2148845192, 'is_frame_decoded', SN_NOWARN) set_name(2148845204, 'init_mdec_polys', SN_NOWARN) set_name(2148846116, 'set_mdec_poly_bright', SN_NOWARN) set_name(2148846220, 'init_mdec_stream', SN_NOWARN) set_name(2148846300, 'init_mdec_audio', SN_NOWARN) set_name(2148846484, 'kill_mdec_audio', SN_NOWARN) set_name(2148846532, 'stop_mdec_audio', SN_NOWARN) set_name(2148846568, 'play_mdec_audio', SN_NOWARN) set_name(2148847236, 'set_mdec_audio_volume', SN_NOWARN) set_name(2148847440, 'resync_audio', SN_NOWARN) set_name(2148847488, 'stop_mdec_stream', SN_NOWARN) set_name(2148847564, 'dequeue_stream', SN_NOWARN) set_name(2148847800, 'dequeue_animation', SN_NOWARN) set_name(2148848232, 'decode_mdec_stream', SN_NOWARN) set_name(2148848724, 'play_mdec_stream', SN_NOWARN) set_name(2148848904, 'clear_mdec_queue', SN_NOWARN) set_name(2148848948, 'StrClearVRAM', SN_NOWARN) set_name(2148849140, 'PlayFMVOverLay', SN_NOWARN) set_name(2148850172, 'GetDown__C4CPad', SN_NOWARN) set_name(2148772548, 'map_buf', SN_NOWARN) set_name(2148833988, 'imgbuf', SN_NOWARN) set_name(2148834072, 'br', SN_NOWARN) set_name(2148835672, 'tmdc_pol', SN_NOWARN) set_name(2148837272, 'mdc_buf', SN_NOWARN) set_name(2148837288, 'tmdc_pol_offs', SN_NOWARN) set_name(2148838888, 'mdc_idx', SN_NOWARN) set_name(2148838928, 'mdec_queue', SN_NOWARN) set_name(2148839248, 'mdec_drenv', SN_NOWARN) set_name(2148839376, 'stream_buf', SN_NOWARN) set_name(2148839508, 'stream_bufh', SN_NOWARN)
def max(data): maxVal = 0 for i in data: if maxVal < i: maxVal = i return maxVal def min(data): minVal = -1 for i in data: if minVal == -1 or minVal > i: minVal = i return minVal def mean(data): sum = 0 for i in data: sum += i return sum / len(data) def variance(data): avg = mean(data) sum = 0 for i in data: sum += (i - avg) ** 2 return sum / len(data); def std_deviation(data): return variance(data) ** 0.5 data = [1,2,3,4,5,6,7,8,9] print(mean(data)) print(range(min(data), max(data) + 1)) print(max(data)) print(min(data)) print(variance(data)) print(std_deviation(data))
def max(data): max_val = 0 for i in data: if maxVal < i: max_val = i return maxVal def min(data): min_val = -1 for i in data: if minVal == -1 or minVal > i: min_val = i return minVal def mean(data): sum = 0 for i in data: sum += i return sum / len(data) def variance(data): avg = mean(data) sum = 0 for i in data: sum += (i - avg) ** 2 return sum / len(data) def std_deviation(data): return variance(data) ** 0.5 data = [1, 2, 3, 4, 5, 6, 7, 8, 9] print(mean(data)) print(range(min(data), max(data) + 1)) print(max(data)) print(min(data)) print(variance(data)) print(std_deviation(data))
VERSION_MAJOR = 0 VERSION_MINOR = 1 VERSION_BUILD = 0 VERSION_INFO = (VERSION_MAJOR, VERSION_MINOR, VERSION_BUILD) VERSION_STRING = "%d.%d.%d" % VERSION_INFO AUTHOR_NAME = "Eric Plaster" DESCRIPTION = "Adds Flywheel support to Flask-AppBuilder" AUTHOR_EMAIL = "plaster@gmail.com" __version__ = VERSION_INFO
version_major = 0 version_minor = 1 version_build = 0 version_info = (VERSION_MAJOR, VERSION_MINOR, VERSION_BUILD) version_string = '%d.%d.%d' % VERSION_INFO author_name = 'Eric Plaster' description = 'Adds Flywheel support to Flask-AppBuilder' author_email = 'plaster@gmail.com' __version__ = VERSION_INFO
ASIO_BASE = 'http://purl.org/hercules/asio/core#' RDFS_BASE = 'http://www.w3.org/2000/01/rdf-schema#' RDFS_LABEL = f'{RDFS_BASE}label' RDFS_COMMENT = f'{RDFS_BASE}comment' RDFS_SUBCLASSOF = f'{RDFS_BASE}subClassOf' RDF_BASE = 'http://www.w3.org/1999/02/22-rdf-syntax-ns#' RDF_TYPE = f'{RDF_BASE}type' OWL_BASE = 'http://www.w3.org/2002/07/owl#' OWL_CLASS = f'{OWL_BASE}Class' OWL_DISJOINT_WITH = f'{OWL_BASE}disjointWith' SCHEMA_BASE = 'https://schema.org/' SCHEMA_DESCRIPTION = f'{SCHEMA_BASE}description' SCHEMA_NAME = f'{SCHEMA_BASE}name' SKOS_BASE = 'http://www.w3.org/2004/02/skos/core#' SKOS_ALTLABEL = f'{SKOS_BASE}altLabel' SKOS_PREFLABEL = f'{SKOS_BASE}prefLabel' GEO_BASE = 'http://www.opengis.net/ont/geosparql#' XSD_BASE = 'http://www.w3.org/2001/XMLSchema#'
asio_base = 'http://purl.org/hercules/asio/core#' rdfs_base = 'http://www.w3.org/2000/01/rdf-schema#' rdfs_label = f'{RDFS_BASE}label' rdfs_comment = f'{RDFS_BASE}comment' rdfs_subclassof = f'{RDFS_BASE}subClassOf' rdf_base = 'http://www.w3.org/1999/02/22-rdf-syntax-ns#' rdf_type = f'{RDF_BASE}type' owl_base = 'http://www.w3.org/2002/07/owl#' owl_class = f'{OWL_BASE}Class' owl_disjoint_with = f'{OWL_BASE}disjointWith' schema_base = 'https://schema.org/' schema_description = f'{SCHEMA_BASE}description' schema_name = f'{SCHEMA_BASE}name' skos_base = 'http://www.w3.org/2004/02/skos/core#' skos_altlabel = f'{SKOS_BASE}altLabel' skos_preflabel = f'{SKOS_BASE}prefLabel' geo_base = 'http://www.opengis.net/ont/geosparql#' xsd_base = 'http://www.w3.org/2001/XMLSchema#'
a = 200 b = 33 if a > b: print("a is greater than b")
a = 200 b = 33 if a > b: print('a is greater than b')
class Solution: def fizzBuzz(self, n: int) -> 'List[str]': result = [] for i in range(1, n + 1): if i % 15 == 0: ele = "FizzBuzz" elif i % 3 == 0: ele = "Fizz" elif i % 5 == 0: ele = "Buzz" else: ele = str(i) result.append(ele) return result if __name__ == "__main__": print(Solution().fizzBuzz(15))
class Solution: def fizz_buzz(self, n: int) -> 'List[str]': result = [] for i in range(1, n + 1): if i % 15 == 0: ele = 'FizzBuzz' elif i % 3 == 0: ele = 'Fizz' elif i % 5 == 0: ele = 'Buzz' else: ele = str(i) result.append(ele) return result if __name__ == '__main__': print(solution().fizzBuzz(15))
# DAY 5 - ACTIVITY 1 # Program Description: This is a program that uses a function ( studentAverage ) to process the student's grade. # This is the function that will take in the user's inputted information. # Then it will calculate the student's average. # lastly, it will add the information into the studentGrades dictionary. def studentAverage ( name, mathGrade, englishGrade, scienceGrade ): averageGrade = ( mathGrade + englishGrade + scienceGrade ) / 3 studentGrades[ name ] = [ averageGrade, mathGrade, englishGrade, scienceGrade ] return continueRunning = True while continueRunning: studentGrades = {} # will use try-except method just in case something is wrong with the inputs that the user had entered. try: # For taking in the user's input as well as referencing the function. # The program will ask the user for the grades of 3 students. print ( "\n-------------------- ENTER DETAILS --------------------" ) for i in range ( 3 ): name = str ( input ( " Enter student name: " ) ) mathGrade = float ( input ( " Enter math grade: " ) ) englishGrade = float ( input ( " Enter english grade: " ) ) scienceGrade = float ( input ( " Enter science grade: " ) ) studentAverage ( name, mathGrade, englishGrade, scienceGrade ) print ( "-------------------------------------------------------\n" ) print ( " Student number {}'s ( {} ) grade has been added. \n".format ( i + 1, name.capitalize() ) ) print ( "-------------------------------------------------------\n" ) # for printing out the result. print ( " Output: \n" ) for x in ( list( studentGrades ) ): print ( " {}'s grade ( Math = {}, Science = {}, Engllish = {} ) and the average is {}. ".format ( x.capitalize(), studentGrades[x][1], studentGrades[x][3], studentGrades[x][2], studentGrades[x][0])) print ( "\n-------------------------------------------------------\n" ) except: print ( " Invalid input. " )
def student_average(name, mathGrade, englishGrade, scienceGrade): average_grade = (mathGrade + englishGrade + scienceGrade) / 3 studentGrades[name] = [averageGrade, mathGrade, englishGrade, scienceGrade] return continue_running = True while continueRunning: student_grades = {} try: print('\n-------------------- ENTER DETAILS --------------------') for i in range(3): name = str(input(' Enter student name: ')) math_grade = float(input(' Enter math grade: ')) english_grade = float(input(' Enter english grade: ')) science_grade = float(input(' Enter science grade: ')) student_average(name, mathGrade, englishGrade, scienceGrade) print('-------------------------------------------------------\n') print(" Student number {}'s ( {} ) grade has been added. \n".format(i + 1, name.capitalize())) print('-------------------------------------------------------\n') print(' Output: \n') for x in list(studentGrades): print(" {}'s grade ( Math = {}, Science = {}, Engllish = {} ) and the average is {}. ".format(x.capitalize(), studentGrades[x][1], studentGrades[x][3], studentGrades[x][2], studentGrades[x][0])) print('\n-------------------------------------------------------\n') except: print(' Invalid input. ')
# Copyright (c) 2013-2017 CodeReclaimers, LLC class TraderBase(object): def __init__(self, pairs): self.pairs = pairs def onNewDepth(self, t, pair, asks, bids): pass def onNewTradeHistory(self, t, pair, trades): pass def onLoopEnd(self, t): pass def onExit(self): pass
class Traderbase(object): def __init__(self, pairs): self.pairs = pairs def on_new_depth(self, t, pair, asks, bids): pass def on_new_trade_history(self, t, pair, trades): pass def on_loop_end(self, t): pass def on_exit(self): pass
class Solution: def containsNearbyDuplicate(self, nums: List[int], k: int) -> bool: dictionary = {} for num_index in range(len(nums)): num = nums[num_index] if num in dictionary and num_index - dictionary[num] <= k: return True # else: dictionary[num] = num_index # print (dictionary) return False
class Solution: def contains_nearby_duplicate(self, nums: List[int], k: int) -> bool: dictionary = {} for num_index in range(len(nums)): num = nums[num_index] if num in dictionary and num_index - dictionary[num] <= k: return True dictionary[num] = num_index return False
#!/usr/bin/env python with open("Register.cmp") as fh: for num, l in enumerate(fh.readlines()): if num == 0: continue parts = [p.strip() for p in l.split('|')][2:] parts = [p for p in parts if len(p)] outparts = [] # last element is always empty cols = ['in', 'load', 'out'] for idx, p in enumerate(parts): c = cols[idx] v = int(p)&0xFFFF if c in ['in', 'out']: outparts.append(format(v, '016b')) else: outparts.append(format(v, 'b')) outstr = '_'.join(outparts) print(outstr) # duplicate the first so every time step has a t and t+ if num == 1: print(outstr) # print the last line again b/c it is missing its t+ line print(outstr)
with open('Register.cmp') as fh: for (num, l) in enumerate(fh.readlines()): if num == 0: continue parts = [p.strip() for p in l.split('|')][2:] parts = [p for p in parts if len(p)] outparts = [] cols = ['in', 'load', 'out'] for (idx, p) in enumerate(parts): c = cols[idx] v = int(p) & 65535 if c in ['in', 'out']: outparts.append(format(v, '016b')) else: outparts.append(format(v, 'b')) outstr = '_'.join(outparts) print(outstr) if num == 1: print(outstr) print(outstr)
class Rectangle: def __init__(self, width, height): print("I'm initializing a new Rectangle instance.") self.width = width self.height = height def __del__(self): print('A Rectangle instance is being destroyed.') def calculate_area(self): return self.width * self.height rectangle4 = Rectangle(143, 187) print(rectangle4.calculate_area()) def calculateArea(width, height): return Rectangle(width, height).calculate_area() rectangle = Rectangle(293, 117) print(calculateArea(143, 187))
class Rectangle: def __init__(self, width, height): print("I'm initializing a new Rectangle instance.") self.width = width self.height = height def __del__(self): print('A Rectangle instance is being destroyed.') def calculate_area(self): return self.width * self.height rectangle4 = rectangle(143, 187) print(rectangle4.calculate_area()) def calculate_area(width, height): return rectangle(width, height).calculate_area() rectangle = rectangle(293, 117) print(calculate_area(143, 187))
class GeoWeatherServiceFailedToLocateException(Exception): pass class GeoWeatherServiceFailedToRetrieveException(Exception): pass
class Geoweatherservicefailedtolocateexception(Exception): pass class Geoweatherservicefailedtoretrieveexception(Exception): pass
class FilesDontMatchException(Exception): def __init__(self): pass def __str__(self): print ("The program has stopped because the files do not match the requirements.") return "The files do not match the requirements" class FastaRaroException(Exception): def __init__(self): pass def __str__(self): print ("The program stopped because the fasta file does not match with the files in the provided PDB folder") return "The fasta file does not match with the pdb directory provided" class BadFastaException(Exception): def __init__(self): pass def __str__(self): print ("The program stopped because your Fasta file is either bad configured or have loosen information.") return "Your fasta file is either bad configured or it's likely to have loosen information"
class Filesdontmatchexception(Exception): def __init__(self): pass def __str__(self): print('The program has stopped because the files do not match the requirements.') return 'The files do not match the requirements' class Fastararoexception(Exception): def __init__(self): pass def __str__(self): print('The program stopped because the fasta file does not match with the files in the provided PDB folder') return 'The fasta file does not match with the pdb directory provided' class Badfastaexception(Exception): def __init__(self): pass def __str__(self): print('The program stopped because your Fasta file is either bad configured or have loosen information.') return "Your fasta file is either bad configured or it's likely to have loosen information"
qLst=[] def isEmpty(qLst): if len(qLst) == 0: return 1 else: return 0 # Function to add elements in Queue def Enqueue(qLst, val): qLst.append(val) if len(qLst) == 1: front = rear = 0 else: rear = len(qLst) - 1 # Function to Delete elements in Queue def Dqueue(qLst): if isEmpty(qLst): return "UnderFlow" else: val = qLst.pop(0) if len(qLst) == 0: front = rear = None return val # Function to Display top element of Queue def Peek(qLst): if isEmpty(qLst): return "UnderFlow" else: front = 0 return qLst[front] # Function to Display elements of Queue def Display(qLst): if isEmpty(qLst): print("No Item to Dispay in Queue....") else: tp = len(qLst) - 1 print("[FRONT]", end=' ') front = 0 i = front rear = len(qLst) - 1 while (i <= rear): print(qLst[i], '<-', end=' ') i += 1 print() # Driver function def main(): qList = [] front = rear = 0 while True: print() print("##### QUEUE OPERATION #####") print("1. ENQUEUE ") print("2. DEQUEUE ") print("3. PEEK ") print("4. DISPLAY ") print("0. EXIT ") choice = int(input("Enter Your Choice: ")) if choice == 1: ele = int(input("Enter element to insert")) Enqueue(qList, ele) elif choice == 2: val = Dqueue(qList) if val == "UnderFlow": print("Queue is Empty") else: print("\n Deleted Element was : ", val) elif choice == 3: val = Peek(qList) if val == "UnderFlow": print("Queue is Empty") else: print("Item at Front: ", val) elif choice == 4: Display(qList) elif choice == 0: print("Good Luck......") break main()
q_lst = [] def is_empty(qLst): if len(qLst) == 0: return 1 else: return 0 def enqueue(qLst, val): qLst.append(val) if len(qLst) == 1: front = rear = 0 else: rear = len(qLst) - 1 def dqueue(qLst): if is_empty(qLst): return 'UnderFlow' else: val = qLst.pop(0) if len(qLst) == 0: front = rear = None return val def peek(qLst): if is_empty(qLst): return 'UnderFlow' else: front = 0 return qLst[front] def display(qLst): if is_empty(qLst): print('No Item to Dispay in Queue....') else: tp = len(qLst) - 1 print('[FRONT]', end=' ') front = 0 i = front rear = len(qLst) - 1 while i <= rear: print(qLst[i], '<-', end=' ') i += 1 print() def main(): q_list = [] front = rear = 0 while True: print() print('##### QUEUE OPERATION #####') print('1. ENQUEUE ') print('2. DEQUEUE ') print('3. PEEK ') print('4. DISPLAY ') print('0. EXIT ') choice = int(input('Enter Your Choice: ')) if choice == 1: ele = int(input('Enter element to insert')) enqueue(qList, ele) elif choice == 2: val = dqueue(qList) if val == 'UnderFlow': print('Queue is Empty') else: print('\n Deleted Element was : ', val) elif choice == 3: val = peek(qList) if val == 'UnderFlow': print('Queue is Empty') else: print('Item at Front: ', val) elif choice == 4: display(qList) elif choice == 0: print('Good Luck......') break main()
N = int(input()) N2 = input() answer = 0 for i in N2: answer += int(i) print(answer)
n = int(input()) n2 = input() answer = 0 for i in N2: answer += int(i) print(answer)
def intervalIntersection(self, firstList: List[List[int]], secondList: List[List[int]]) -> List[List[int]]: ''' basically change the min of the right hand side of the intervals ''' # edge case if firstList == [] or secondList == []: return [] matching = [] # initialize length and pointers l1 = len(firstList) l2 = len(secondList) i = 0 j = 0 while i < l1 and j < l2: fir = firstList[i] sec = secondList[j] # first two cases are in case there is no overlapping if fir[1] < sec[0]: i += 1 elif sec[1] < fir[0]: j += 1 # third case handels overlapping else: if sec[1] > fir[1]: matching.append([max(sec[0], fir[0]), fir[1]]) i += 1 elif fir[1] > sec[1]: matching.append([max(fir[0], sec[0]), sec[1]]) j += 1 else: matching.append([max(fir[0], sec[0]), max(fir[1], sec[1])]) i += 1 j += 1 return matching
def interval_intersection(self, firstList: List[List[int]], secondList: List[List[int]]) -> List[List[int]]: """ basically change the min of the right hand side of the intervals """ if firstList == [] or secondList == []: return [] matching = [] l1 = len(firstList) l2 = len(secondList) i = 0 j = 0 while i < l1 and j < l2: fir = firstList[i] sec = secondList[j] if fir[1] < sec[0]: i += 1 elif sec[1] < fir[0]: j += 1 elif sec[1] > fir[1]: matching.append([max(sec[0], fir[0]), fir[1]]) i += 1 elif fir[1] > sec[1]: matching.append([max(fir[0], sec[0]), sec[1]]) j += 1 else: matching.append([max(fir[0], sec[0]), max(fir[1], sec[1])]) i += 1 j += 1 return matching
power = {'BUSES': {'Area': 1.33155, 'Bus/Area': 1.33155, 'Bus/Gate Leakage': 0.00662954, 'Bus/Peak Dynamic': 0.0, 'Bus/Runtime Dynamic': 0.0, 'Bus/Subthreshold Leakage': 0.0691322, 'Bus/Subthreshold Leakage with power gating': 0.0259246, 'Gate Leakage': 0.00662954, 'Peak Dynamic': 0.0, 'Runtime Dynamic': 0.0, 'Subthreshold Leakage': 0.0691322, 'Subthreshold Leakage with power gating': 0.0259246}, 'Core': [{'Area': 32.6082, 'Execution Unit/Area': 8.2042, 'Execution Unit/Complex ALUs/Area': 0.235435, 'Execution Unit/Complex ALUs/Gate Leakage': 0.0132646, 'Execution Unit/Complex ALUs/Peak Dynamic': 0.14084, 'Execution Unit/Complex ALUs/Runtime Dynamic': 0.31331, 'Execution Unit/Complex ALUs/Subthreshold Leakage': 0.20111, 'Execution Unit/Complex ALUs/Subthreshold Leakage with power gating': 0.0754163, 'Execution Unit/Floating Point Units/Area': 4.6585, 'Execution Unit/Floating Point Units/Gate Leakage': 0.0656156, 'Execution Unit/Floating Point Units/Peak Dynamic': 0.695547, 'Execution Unit/Floating Point Units/Runtime Dynamic': 0.304033, 'Execution Unit/Floating Point Units/Subthreshold Leakage': 0.994829, 'Execution Unit/Floating Point Units/Subthreshold Leakage with power gating': 0.373061, 'Execution Unit/Gate Leakage': 0.122718, 'Execution Unit/Instruction Scheduler/Area': 2.17927, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Area': 0.328073, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Gate Leakage': 0.00115349, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Peak Dynamic': 1.20978, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Runtime Dynamic': 0.226367, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage': 0.017004, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage with power gating': 0.00962066, 'Execution Unit/Instruction Scheduler/Gate Leakage': 0.00730101, 'Execution Unit/Instruction Scheduler/Instruction Window/Area': 1.00996, 'Execution Unit/Instruction Scheduler/Instruction Window/Gate Leakage': 0.00529112, 'Execution Unit/Instruction Scheduler/Instruction Window/Peak Dynamic': 2.07911, 'Execution Unit/Instruction Scheduler/Instruction Window/Runtime Dynamic': 0.391986, 'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage': 0.0800117, 'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage with power gating': 0.0455351, 'Execution Unit/Instruction Scheduler/Peak Dynamic': 4.84781, 'Execution Unit/Instruction Scheduler/ROB/Area': 0.841232, 'Execution Unit/Instruction Scheduler/ROB/Gate Leakage': 0.000856399, 'Execution Unit/Instruction Scheduler/ROB/Peak Dynamic': 1.55892, 'Execution Unit/Instruction Scheduler/ROB/Runtime Dynamic': 0.224815, 'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage': 0.0178624, 'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage with power gating': 0.00897339, 'Execution Unit/Instruction Scheduler/Runtime Dynamic': 0.843169, 'Execution Unit/Instruction Scheduler/Subthreshold Leakage': 0.114878, 'Execution Unit/Instruction Scheduler/Subthreshold Leakage with power gating': 0.0641291, 'Execution Unit/Integer ALUs/Area': 0.47087, 'Execution Unit/Integer ALUs/Gate Leakage': 0.0265291, 'Execution Unit/Integer ALUs/Peak Dynamic': 0.117117, 'Execution Unit/Integer ALUs/Runtime Dynamic': 0.101344, 'Execution Unit/Integer ALUs/Subthreshold Leakage': 0.40222, 'Execution Unit/Integer ALUs/Subthreshold Leakage with power gating': 0.150833, 'Execution Unit/Peak Dynamic': 6.37916, 'Execution Unit/Register Files/Area': 0.570804, 'Execution Unit/Register Files/Floating Point RF/Area': 0.208131, 'Execution Unit/Register Files/Floating Point RF/Gate Leakage': 0.000232788, 'Execution Unit/Register Files/Floating Point RF/Peak Dynamic': 0.131404, 'Execution Unit/Register Files/Floating Point RF/Runtime Dynamic': 0.008206, 'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage': 0.00399698, 'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage with power gating': 0.00176968, 'Execution Unit/Register Files/Gate Leakage': 0.000622708, 'Execution Unit/Register Files/Integer RF/Area': 0.362673, 'Execution Unit/Register Files/Integer RF/Gate Leakage': 0.00038992, 'Execution Unit/Register Files/Integer RF/Peak Dynamic': 0.114712, 'Execution Unit/Register Files/Integer RF/Runtime Dynamic': 0.0606884, 'Execution Unit/Register Files/Integer RF/Subthreshold Leakage': 0.00614175, 'Execution Unit/Register Files/Integer RF/Subthreshold Leakage with power gating': 0.00246675, 'Execution Unit/Register Files/Peak Dynamic': 0.246116, 'Execution Unit/Register Files/Runtime Dynamic': 0.0688944, 'Execution Unit/Register Files/Subthreshold Leakage': 0.0101387, 'Execution Unit/Register Files/Subthreshold Leakage with power gating': 0.00423643, 'Execution Unit/Results Broadcast Bus/Area Overhead': 0.0442632, 'Execution Unit/Results Broadcast Bus/Gate Leakage': 0.00607074, 'Execution Unit/Results Broadcast Bus/Peak Dynamic': 0.315775, 'Execution Unit/Results Broadcast Bus/Runtime Dynamic': 0.605311, 'Execution Unit/Results Broadcast Bus/Subthreshold Leakage': 0.0920413, 'Execution Unit/Results Broadcast Bus/Subthreshold Leakage with power gating': 0.0345155, 'Execution Unit/Runtime Dynamic': 2.23606, 'Execution Unit/Subthreshold Leakage': 1.83518, 'Execution Unit/Subthreshold Leakage with power gating': 0.709678, 'Gate Leakage': 0.372997, 'Instruction Fetch Unit/Area': 5.86007, 'Instruction Fetch Unit/Branch Predictor/Area': 0.138516, 'Instruction Fetch Unit/Branch Predictor/Chooser/Area': 0.0435221, 'Instruction Fetch Unit/Branch Predictor/Chooser/Gate Leakage': 0.000278362, 'Instruction Fetch Unit/Branch Predictor/Chooser/Peak Dynamic': 0.0168831, 'Instruction Fetch Unit/Branch Predictor/Chooser/Runtime Dynamic': 0.000195614, 'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage': 0.00759719, 'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage with power gating': 0.0039236, 'Instruction Fetch Unit/Branch Predictor/Gate Leakage': 0.000757657, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Area': 0.0435221, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Gate Leakage': 0.000278362, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Peak Dynamic': 0.0168831, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Runtime Dynamic': 0.000195614, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage': 0.00759719, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage with power gating': 0.0039236, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Area': 0.0257064, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Gate Leakage': 0.000154548, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Peak Dynamic': 0.0142575, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Runtime Dynamic': 0.000169046, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage': 0.00384344, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage with power gating': 0.00198631, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Area': 0.0151917, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Gate Leakage': 8.00196e-05, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Peak Dynamic': 0.00527447, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Runtime Dynamic': 6.47116e-05, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage': 0.00181347, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage with power gating': 0.000957045, 'Instruction Fetch Unit/Branch Predictor/Peak Dynamic': 0.0597838, 'Instruction Fetch Unit/Branch Predictor/RAS/Area': 0.0105732, 'Instruction Fetch Unit/Branch Predictor/RAS/Gate Leakage': 4.63858e-05, 'Instruction Fetch Unit/Branch Predictor/RAS/Peak Dynamic': 0.0117602, 'Instruction Fetch Unit/Branch Predictor/RAS/Runtime Dynamic': 0.000871793, 'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage': 0.000932505, 'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage with power gating': 0.000494733, 'Instruction Fetch Unit/Branch Predictor/Runtime Dynamic': 0.00143207, 'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage': 0.0199703, 'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage with power gating': 0.0103282, 'Instruction Fetch Unit/Branch Target Buffer/Area': 0.64954, 'Instruction Fetch Unit/Branch Target Buffer/Gate Leakage': 0.00272758, 'Instruction Fetch Unit/Branch Target Buffer/Peak Dynamic': 0.177867, 'Instruction Fetch Unit/Branch Target Buffer/Runtime Dynamic': 0.00192316, 'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage': 0.0811682, 'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage with power gating': 0.0435357, 'Instruction Fetch Unit/Gate Leakage': 0.0590479, 'Instruction Fetch Unit/Instruction Buffer/Area': 0.0226323, 'Instruction Fetch Unit/Instruction Buffer/Gate Leakage': 6.83558e-05, 'Instruction Fetch Unit/Instruction Buffer/Peak Dynamic': 0.606827, 'Instruction Fetch Unit/Instruction Buffer/Runtime Dynamic': 0.0583413, 'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage': 0.00151885, 'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage with power gating': 0.000701682, 'Instruction Fetch Unit/Instruction Cache/Area': 3.14635, 'Instruction Fetch Unit/Instruction Cache/Gate Leakage': 0.029931, 'Instruction Fetch Unit/Instruction Cache/Peak Dynamic': 3.71101, 'Instruction Fetch Unit/Instruction Cache/Runtime Dynamic': 0.11977, 'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage': 0.367022, 'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage with power gating': 0.180386, 'Instruction Fetch Unit/Instruction Decoder/Area': 1.85799, 'Instruction Fetch Unit/Instruction Decoder/Gate Leakage': 0.0222493, 'Instruction Fetch Unit/Instruction Decoder/Peak Dynamic': 1.37404, 'Instruction Fetch Unit/Instruction Decoder/Runtime Dynamic': 0.198153, 'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage': 0.442943, 'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage with power gating': 0.166104, 'Instruction Fetch Unit/Peak Dynamic': 6.11238, 'Instruction Fetch Unit/Runtime Dynamic': 0.37962, 'Instruction Fetch Unit/Subthreshold Leakage': 0.932587, 'Instruction Fetch Unit/Subthreshold Leakage with power gating': 0.408542, 'L2/Area': 4.53318, 'L2/Gate Leakage': 0.015464, 'L2/Peak Dynamic': 0.057901, 'L2/Runtime Dynamic': 0.0194135, 'L2/Subthreshold Leakage': 0.834142, 'L2/Subthreshold Leakage with power gating': 0.401066, 'Load Store Unit/Area': 8.80969, 'Load Store Unit/Data Cache/Area': 6.84535, 'Load Store Unit/Data Cache/Gate Leakage': 0.0279261, 'Load Store Unit/Data Cache/Peak Dynamic': 2.82417, 'Load Store Unit/Data Cache/Runtime Dynamic': 0.793134, 'Load Store Unit/Data Cache/Subthreshold Leakage': 0.527675, 'Load Store Unit/Data Cache/Subthreshold Leakage with power gating': 0.25085, 'Load Store Unit/Gate Leakage': 0.0351387, 'Load Store Unit/LoadQ/Area': 0.0836782, 'Load Store Unit/LoadQ/Gate Leakage': 0.00059896, 'Load Store Unit/LoadQ/Peak Dynamic': 0.0513449, 'Load Store Unit/LoadQ/Runtime Dynamic': 0.0513449, 'Load Store Unit/LoadQ/Subthreshold Leakage': 0.00941961, 'Load Store Unit/LoadQ/Subthreshold Leakage with power gating': 0.00536918, 'Load Store Unit/Peak Dynamic': 3.06762, 'Load Store Unit/Runtime Dynamic': 1.09769, 'Load Store Unit/StoreQ/Area': 0.322079, 'Load Store Unit/StoreQ/Gate Leakage': 0.00329971, 'Load Store Unit/StoreQ/Peak Dynamic': 0.126608, 'Load Store Unit/StoreQ/Runtime Dynamic': 0.253216, 'Load Store Unit/StoreQ/Subthreshold Leakage': 0.0345621, 'Load Store Unit/StoreQ/Subthreshold Leakage with power gating': 0.0197004, 'Load Store Unit/Subthreshold Leakage': 0.591622, 'Load Store Unit/Subthreshold Leakage with power gating': 0.283406, 'Memory Management Unit/Area': 0.434579, 'Memory Management Unit/Dtlb/Area': 0.0879726, 'Memory Management Unit/Dtlb/Gate Leakage': 0.00088729, 'Memory Management Unit/Dtlb/Peak Dynamic': 0.0449335, 'Memory Management Unit/Dtlb/Runtime Dynamic': 0.0458001, 'Memory Management Unit/Dtlb/Subthreshold Leakage': 0.0155699, 'Memory Management Unit/Dtlb/Subthreshold Leakage with power gating': 0.00887485, 'Memory Management Unit/Gate Leakage': 0.00813591, 'Memory Management Unit/Itlb/Area': 0.301552, 'Memory Management Unit/Itlb/Gate Leakage': 0.00393464, 'Memory Management Unit/Itlb/Peak Dynamic': 0.230737, 'Memory Management Unit/Itlb/Runtime Dynamic': 0.0196433, 'Memory Management Unit/Itlb/Subthreshold Leakage': 0.0413758, 'Memory Management Unit/Itlb/Subthreshold Leakage with power gating': 0.0235842, 'Memory Management Unit/Peak Dynamic': 0.466917, 'Memory Management Unit/Runtime Dynamic': 0.0654435, 'Memory Management Unit/Subthreshold Leakage': 0.0769113, 'Memory Management Unit/Subthreshold Leakage with power gating': 0.0399462, 'Peak Dynamic': 20.6457, 'Renaming Unit/Area': 0.369768, 'Renaming Unit/FP Front End RAT/Area': 0.168486, 'Renaming Unit/FP Front End RAT/Gate Leakage': 0.00489731, 'Renaming Unit/FP Front End RAT/Peak Dynamic': 3.33511, 'Renaming Unit/FP Front End RAT/Runtime Dynamic': 0.458438, 'Renaming Unit/FP Front End RAT/Subthreshold Leakage': 0.0437281, 'Renaming Unit/FP Front End RAT/Subthreshold Leakage with power gating': 0.024925, 'Renaming Unit/Free List/Area': 0.0414755, 'Renaming Unit/Free List/Gate Leakage': 4.15911e-05, 'Renaming Unit/Free List/Peak Dynamic': 0.0401324, 'Renaming Unit/Free List/Runtime Dynamic': 0.0170917, 'Renaming Unit/Free List/Subthreshold Leakage': 0.000670426, 'Renaming Unit/Free List/Subthreshold Leakage with power gating': 0.000377987, 'Renaming Unit/Gate Leakage': 0.00863632, 'Renaming Unit/Int Front End RAT/Area': 0.114751, 'Renaming Unit/Int Front End RAT/Gate Leakage': 0.00038343, 'Renaming Unit/Int Front End RAT/Peak Dynamic': 0.86945, 'Renaming Unit/Int Front End RAT/Runtime Dynamic': 0.108124, 'Renaming Unit/Int Front End RAT/Subthreshold Leakage': 0.00611897, 'Renaming Unit/Int Front End RAT/Subthreshold Leakage with power gating': 0.00348781, 'Renaming Unit/Peak Dynamic': 4.56169, 'Renaming Unit/Runtime Dynamic': 0.583654, 'Renaming Unit/Subthreshold Leakage': 0.070483, 'Renaming Unit/Subthreshold Leakage with power gating': 0.0362779, 'Runtime Dynamic': 4.38189, 'Subthreshold Leakage': 6.21877, 'Subthreshold Leakage with power gating': 2.58311}, {'Area': 32.0201, 'Execution Unit/Area': 7.68434, 'Execution Unit/Complex ALUs/Area': 0.235435, 'Execution Unit/Complex ALUs/Gate Leakage': 0.0132646, 'Execution Unit/Complex ALUs/Peak Dynamic': 1.88938e-06, 'Execution Unit/Complex ALUs/Runtime Dynamic': 0.20269, 'Execution Unit/Complex ALUs/Subthreshold Leakage': 0.20111, 'Execution Unit/Complex ALUs/Subthreshold Leakage with power gating': 0.0754163, 'Execution Unit/Floating Point Units/Area': 4.6585, 'Execution Unit/Floating Point Units/Gate Leakage': 0.0656156, 'Execution Unit/Floating Point Units/Peak Dynamic': 1.01201e-05, 'Execution Unit/Floating Point Units/Runtime Dynamic': 0.304033, 'Execution Unit/Floating Point Units/Subthreshold Leakage': 0.994829, 'Execution Unit/Floating Point Units/Subthreshold Leakage with power gating': 0.373061, 'Execution Unit/Gate Leakage': 0.120359, 'Execution Unit/Instruction Scheduler/Area': 1.66526, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Area': 0.275653, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Gate Leakage': 0.000977433, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Peak Dynamic': 1.04181, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Runtime Dynamic': 0.13022, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage': 0.0143453, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage with power gating': 0.00810519, 'Execution Unit/Instruction Scheduler/Gate Leakage': 0.00568913, 'Execution Unit/Instruction Scheduler/Instruction Window/Area': 0.805223, 'Execution Unit/Instruction Scheduler/Instruction Window/Gate Leakage': 0.00414562, 'Execution Unit/Instruction Scheduler/Instruction Window/Peak Dynamic': 1.6763, 'Execution Unit/Instruction Scheduler/Instruction Window/Runtime Dynamic': 0.21004, 'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage': 0.0625755, 'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage with power gating': 0.0355964, 'Execution Unit/Instruction Scheduler/Peak Dynamic': 3.82262, 'Execution Unit/Instruction Scheduler/ROB/Area': 0.584388, 'Execution Unit/Instruction Scheduler/ROB/Gate Leakage': 0.00056608, 'Execution Unit/Instruction Scheduler/ROB/Peak Dynamic': 1.10451, 'Execution Unit/Instruction Scheduler/ROB/Runtime Dynamic': 0.106021, 'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage': 0.00906853, 'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage with power gating': 0.00364446, 'Execution Unit/Instruction Scheduler/Runtime Dynamic': 0.446281, 'Execution Unit/Instruction Scheduler/Subthreshold Leakage': 0.0859892, 'Execution Unit/Instruction Scheduler/Subthreshold Leakage with power gating': 0.047346, 'Execution Unit/Integer ALUs/Area': 0.47087, 'Execution Unit/Integer ALUs/Gate Leakage': 0.0265291, 'Execution Unit/Integer ALUs/Peak Dynamic': 0.148932, 'Execution Unit/Integer ALUs/Runtime Dynamic': 0.101344, 'Execution Unit/Integer ALUs/Subthreshold Leakage': 0.40222, 'Execution Unit/Integer ALUs/Subthreshold Leakage with power gating': 0.150833, 'Execution Unit/Peak Dynamic': 4.11426, 'Execution Unit/Register Files/Area': 0.570804, 'Execution Unit/Register Files/Floating Point RF/Area': 0.208131, 'Execution Unit/Register Files/Floating Point RF/Gate Leakage': 0.000232788, 'Execution Unit/Register Files/Floating Point RF/Peak Dynamic': 1.91191e-06, 'Execution Unit/Register Files/Floating Point RF/Runtime Dynamic': 0.00546201, 'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage': 0.00399698, 'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage with power gating': 0.00176968, 'Execution Unit/Register Files/Gate Leakage': 0.000622708, 'Execution Unit/Register Files/Integer RF/Area': 0.362673, 'Execution Unit/Register Files/Integer RF/Gate Leakage': 0.00038992, 'Execution Unit/Register Files/Integer RF/Peak Dynamic': 0.0394978, 'Execution Unit/Register Files/Integer RF/Runtime Dynamic': 0.0403949, 'Execution Unit/Register Files/Integer RF/Subthreshold Leakage': 0.00614175, 'Execution Unit/Register Files/Integer RF/Subthreshold Leakage with power gating': 0.00246675, 'Execution Unit/Register Files/Peak Dynamic': 0.0394997, 'Execution Unit/Register Files/Runtime Dynamic': 0.0458569, 'Execution Unit/Register Files/Subthreshold Leakage': 0.0101387, 'Execution Unit/Register Files/Subthreshold Leakage with power gating': 0.00423643, 'Execution Unit/Results Broadcast Bus/Area Overhead': 0.0390912, 'Execution Unit/Results Broadcast Bus/Gate Leakage': 0.00537402, 'Execution Unit/Results Broadcast Bus/Peak Dynamic': 0.0832112, 'Execution Unit/Results Broadcast Bus/Runtime Dynamic': 0.21385, 'Execution Unit/Results Broadcast Bus/Subthreshold Leakage': 0.081478, 'Execution Unit/Results Broadcast Bus/Subthreshold Leakage with power gating': 0.0305543, 'Execution Unit/Runtime Dynamic': 1.31406, 'Execution Unit/Subthreshold Leakage': 1.79543, 'Execution Unit/Subthreshold Leakage with power gating': 0.688821, 'Gate Leakage': 0.368936, 'Instruction Fetch Unit/Area': 5.85939, 'Instruction Fetch Unit/Branch Predictor/Area': 0.138516, 'Instruction Fetch Unit/Branch Predictor/Chooser/Area': 0.0435221, 'Instruction Fetch Unit/Branch Predictor/Chooser/Gate Leakage': 0.000278362, 'Instruction Fetch Unit/Branch Predictor/Chooser/Peak Dynamic': 0.0168831, 'Instruction Fetch Unit/Branch Predictor/Chooser/Runtime Dynamic': 0.00187773, 'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage': 0.00759719, 'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage with power gating': 0.0039236, 'Instruction Fetch Unit/Branch Predictor/Gate Leakage': 0.000757657, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Area': 0.0435221, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Gate Leakage': 0.000278362, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Peak Dynamic': 0.0168831, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Runtime Dynamic': 0.00187773, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage': 0.00759719, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage with power gating': 0.0039236, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Area': 0.0257064, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Gate Leakage': 0.000154548, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Peak Dynamic': 0.0142575, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Runtime Dynamic': 0.00168987, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage': 0.00384344, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage with power gating': 0.00198631, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Area': 0.0151917, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Gate Leakage': 8.00196e-05, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Peak Dynamic': 0.00527447, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Runtime Dynamic': 0.000683916, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage': 0.00181347, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage with power gating': 0.000957045, 'Instruction Fetch Unit/Branch Predictor/Peak Dynamic': 0.0597838, 'Instruction Fetch Unit/Branch Predictor/RAS/Area': 0.0105732, 'Instruction Fetch Unit/Branch Predictor/RAS/Gate Leakage': 4.63858e-05, 'Instruction Fetch Unit/Branch Predictor/RAS/Peak Dynamic': 0.0117602, 'Instruction Fetch Unit/Branch Predictor/RAS/Runtime Dynamic': 0.000580276, 'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage': 0.000932505, 'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage with power gating': 0.000494733, 'Instruction Fetch Unit/Branch Predictor/Runtime Dynamic': 0.0060256, 'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage': 0.0199703, 'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage with power gating': 0.0103282, 'Instruction Fetch Unit/Branch Target Buffer/Area': 0.64954, 'Instruction Fetch Unit/Branch Target Buffer/Gate Leakage': 0.00272758, 'Instruction Fetch Unit/Branch Target Buffer/Peak Dynamic': 0.177867, 'Instruction Fetch Unit/Branch Target Buffer/Runtime Dynamic': 0.0160608, 'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage': 0.0811682, 'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage with power gating': 0.0435357, 'Instruction Fetch Unit/Gate Leakage': 0.0589979, 'Instruction Fetch Unit/Instruction Buffer/Area': 0.0226323, 'Instruction Fetch Unit/Instruction Buffer/Gate Leakage': 6.83558e-05, 'Instruction Fetch Unit/Instruction Buffer/Peak Dynamic': 0.606827, 'Instruction Fetch Unit/Instruction Buffer/Runtime Dynamic': 0.0388326, 'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage': 0.00151885, 'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage with power gating': 0.000701682, 'Instruction Fetch Unit/Instruction Cache/Area': 3.14635, 'Instruction Fetch Unit/Instruction Cache/Gate Leakage': 0.029931, 'Instruction Fetch Unit/Instruction Cache/Peak Dynamic': 2.47009, 'Instruction Fetch Unit/Instruction Cache/Runtime Dynamic': 0.146359, 'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage': 0.367022, 'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage with power gating': 0.180386, 'Instruction Fetch Unit/Instruction Decoder/Area': 1.85799, 'Instruction Fetch Unit/Instruction Decoder/Gate Leakage': 0.0222493, 'Instruction Fetch Unit/Instruction Decoder/Peak Dynamic': 1.37404, 'Instruction Fetch Unit/Instruction Decoder/Runtime Dynamic': 0.131893, 'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage': 0.442943, 'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage with power gating': 0.166104, 'Instruction Fetch Unit/Peak Dynamic': 4.80848, 'Instruction Fetch Unit/Runtime Dynamic': 0.339172, 'Instruction Fetch Unit/Subthreshold Leakage': 0.932286, 'Instruction Fetch Unit/Subthreshold Leakage with power gating': 0.40843, 'L2/Area': 4.53318, 'L2/Gate Leakage': 0.015464, 'L2/Peak Dynamic': 0.0303831, 'L2/Runtime Dynamic': 0.00687843, 'L2/Subthreshold Leakage': 0.834142, 'L2/Subthreshold Leakage with power gating': 0.401066, 'Load Store Unit/Area': 8.80901, 'Load Store Unit/Data Cache/Area': 6.84535, 'Load Store Unit/Data Cache/Gate Leakage': 0.0279261, 'Load Store Unit/Data Cache/Peak Dynamic': 2.41739, 'Load Store Unit/Data Cache/Runtime Dynamic': 0.576575, 'Load Store Unit/Data Cache/Subthreshold Leakage': 0.527675, 'Load Store Unit/Data Cache/Subthreshold Leakage with power gating': 0.25085, 'Load Store Unit/Gate Leakage': 0.0350888, 'Load Store Unit/LoadQ/Area': 0.0836782, 'Load Store Unit/LoadQ/Gate Leakage': 0.00059896, 'Load Store Unit/LoadQ/Peak Dynamic': 0.0381846, 'Load Store Unit/LoadQ/Runtime Dynamic': 0.0381845, 'Load Store Unit/LoadQ/Subthreshold Leakage': 0.00941961, 'Load Store Unit/LoadQ/Subthreshold Leakage with power gating': 0.00536918, 'Load Store Unit/Peak Dynamic': 2.59771, 'Load Store Unit/Runtime Dynamic': 0.803073, 'Load Store Unit/StoreQ/Area': 0.322079, 'Load Store Unit/StoreQ/Gate Leakage': 0.00329971, 'Load Store Unit/StoreQ/Peak Dynamic': 0.0941567, 'Load Store Unit/StoreQ/Runtime Dynamic': 0.188313, 'Load Store Unit/StoreQ/Subthreshold Leakage': 0.0345621, 'Load Store Unit/StoreQ/Subthreshold Leakage with power gating': 0.0197004, 'Load Store Unit/Subthreshold Leakage': 0.591321, 'Load Store Unit/Subthreshold Leakage with power gating': 0.283293, 'Memory Management Unit/Area': 0.4339, 'Memory Management Unit/Dtlb/Area': 0.0879726, 'Memory Management Unit/Dtlb/Gate Leakage': 0.00088729, 'Memory Management Unit/Dtlb/Peak Dynamic': 0.0334165, 'Memory Management Unit/Dtlb/Runtime Dynamic': 0.0337481, 'Memory Management Unit/Dtlb/Subthreshold Leakage': 0.0155699, 'Memory Management Unit/Dtlb/Subthreshold Leakage with power gating': 0.00887485, 'Memory Management Unit/Gate Leakage': 0.00808595, 'Memory Management Unit/Itlb/Area': 0.301552, 'Memory Management Unit/Itlb/Gate Leakage': 0.00393464, 'Memory Management Unit/Itlb/Peak Dynamic': 0.153581, 'Memory Management Unit/Itlb/Runtime Dynamic': 0.0243628, 'Memory Management Unit/Itlb/Subthreshold Leakage': 0.0413758, 'Memory Management Unit/Itlb/Subthreshold Leakage with power gating': 0.0235842, 'Memory Management Unit/Peak Dynamic': 0.367094, 'Memory Management Unit/Runtime Dynamic': 0.0581109, 'Memory Management Unit/Subthreshold Leakage': 0.0766103, 'Memory Management Unit/Subthreshold Leakage with power gating': 0.0398333, 'Peak Dynamic': 15.5074, 'Renaming Unit/Area': 0.303608, 'Renaming Unit/FP Front End RAT/Area': 0.131045, 'Renaming Unit/FP Front End RAT/Gate Leakage': 0.00351123, 'Renaming Unit/FP Front End RAT/Peak Dynamic': 2.51468, 'Renaming Unit/FP Front End RAT/Runtime Dynamic': 4.44203e-06, 'Renaming Unit/FP Front End RAT/Subthreshold Leakage': 0.0308571, 'Renaming Unit/FP Front End RAT/Subthreshold Leakage with power gating': 0.0175885, 'Renaming Unit/Free List/Area': 0.0340654, 'Renaming Unit/Free List/Gate Leakage': 2.5481e-05, 'Renaming Unit/Free List/Peak Dynamic': 0.0306032, 'Renaming Unit/Free List/Runtime Dynamic': 0.00587522, 'Renaming Unit/Free List/Subthreshold Leakage': 0.000370144, 'Renaming Unit/Free List/Subthreshold Leakage with power gating': 0.000201064, 'Renaming Unit/Gate Leakage': 0.00708398, 'Renaming Unit/Int Front End RAT/Area': 0.0941223, 'Renaming Unit/Int Front End RAT/Gate Leakage': 0.000283242, 'Renaming Unit/Int Front End RAT/Peak Dynamic': 0.731965, 'Renaming Unit/Int Front End RAT/Runtime Dynamic': 0.0660609, 'Renaming Unit/Int Front End RAT/Subthreshold Leakage': 0.00435488, 'Renaming Unit/Int Front End RAT/Subthreshold Leakage with power gating': 0.00248228, 'Renaming Unit/Peak Dynamic': 3.58947, 'Renaming Unit/Runtime Dynamic': 0.0719406, 'Renaming Unit/Subthreshold Leakage': 0.0552466, 'Renaming Unit/Subthreshold Leakage with power gating': 0.0276461, 'Runtime Dynamic': 2.59323, 'Subthreshold Leakage': 6.16288, 'Subthreshold Leakage with power gating': 2.55328}, {'Area': 32.0201, 'Execution Unit/Area': 7.68434, 'Execution Unit/Complex ALUs/Area': 0.235435, 'Execution Unit/Complex ALUs/Gate Leakage': 0.0132646, 'Execution Unit/Complex ALUs/Peak Dynamic': 0.0447235, 'Execution Unit/Complex ALUs/Runtime Dynamic': 0.237817, 'Execution Unit/Complex ALUs/Subthreshold Leakage': 0.20111, 'Execution Unit/Complex ALUs/Subthreshold Leakage with power gating': 0.0754163, 'Execution Unit/Floating Point Units/Area': 4.6585, 'Execution Unit/Floating Point Units/Gate Leakage': 0.0656156, 'Execution Unit/Floating Point Units/Peak Dynamic': 0.239554, 'Execution Unit/Floating Point Units/Runtime Dynamic': 0.304033, 'Execution Unit/Floating Point Units/Subthreshold Leakage': 0.994829, 'Execution Unit/Floating Point Units/Subthreshold Leakage with power gating': 0.373061, 'Execution Unit/Gate Leakage': 0.120359, 'Execution Unit/Instruction Scheduler/Area': 1.66526, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Area': 0.275653, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Gate Leakage': 0.000977433, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Peak Dynamic': 1.04181, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Runtime Dynamic': 0.10419, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage': 0.0143453, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage with power gating': 0.00810519, 'Execution Unit/Instruction Scheduler/Gate Leakage': 0.00568913, 'Execution Unit/Instruction Scheduler/Instruction Window/Area': 0.805223, 'Execution Unit/Instruction Scheduler/Instruction Window/Gate Leakage': 0.00414562, 'Execution Unit/Instruction Scheduler/Instruction Window/Peak Dynamic': 1.6763, 'Execution Unit/Instruction Scheduler/Instruction Window/Runtime Dynamic': 0.168054, 'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage': 0.0625755, 'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage with power gating': 0.0355964, 'Execution Unit/Instruction Scheduler/Peak Dynamic': 3.82262, 'Execution Unit/Instruction Scheduler/ROB/Area': 0.584388, 'Execution Unit/Instruction Scheduler/ROB/Gate Leakage': 0.00056608, 'Execution Unit/Instruction Scheduler/ROB/Peak Dynamic': 1.10451, 'Execution Unit/Instruction Scheduler/ROB/Runtime Dynamic': 0.0848279, 'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage': 0.00906853, 'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage with power gating': 0.00364446, 'Execution Unit/Instruction Scheduler/Runtime Dynamic': 0.357071, 'Execution Unit/Instruction Scheduler/Subthreshold Leakage': 0.0859892, 'Execution Unit/Instruction Scheduler/Subthreshold Leakage with power gating': 0.047346, 'Execution Unit/Integer ALUs/Area': 0.47087, 'Execution Unit/Integer ALUs/Gate Leakage': 0.0265291, 'Execution Unit/Integer ALUs/Peak Dynamic': 0.0824347, 'Execution Unit/Integer ALUs/Runtime Dynamic': 0.101344, 'Execution Unit/Integer ALUs/Subthreshold Leakage': 0.40222, 'Execution Unit/Integer ALUs/Subthreshold Leakage with power gating': 0.150833, 'Execution Unit/Peak Dynamic': 4.40728, 'Execution Unit/Register Files/Area': 0.570804, 'Execution Unit/Register Files/Floating Point RF/Area': 0.208131, 'Execution Unit/Register Files/Floating Point RF/Gate Leakage': 0.000232788, 'Execution Unit/Register Files/Floating Point RF/Peak Dynamic': 0.0452569, 'Execution Unit/Register Files/Floating Point RF/Runtime Dynamic': 0.00437018, 'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage': 0.00399698, 'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage with power gating': 0.00176968, 'Execution Unit/Register Files/Gate Leakage': 0.000622708, 'Execution Unit/Register Files/Integer RF/Area': 0.362673, 'Execution Unit/Register Files/Integer RF/Gate Leakage': 0.00038992, 'Execution Unit/Register Files/Integer RF/Peak Dynamic': 0.0484253, 'Execution Unit/Register Files/Integer RF/Runtime Dynamic': 0.0323201, 'Execution Unit/Register Files/Integer RF/Subthreshold Leakage': 0.00614175, 'Execution Unit/Register Files/Integer RF/Subthreshold Leakage with power gating': 0.00246675, 'Execution Unit/Register Files/Peak Dynamic': 0.0936822, 'Execution Unit/Register Files/Runtime Dynamic': 0.0366903, 'Execution Unit/Register Files/Subthreshold Leakage': 0.0101387, 'Execution Unit/Register Files/Subthreshold Leakage with power gating': 0.00423643, 'Execution Unit/Results Broadcast Bus/Area Overhead': 0.0390912, 'Execution Unit/Results Broadcast Bus/Gate Leakage': 0.00537402, 'Execution Unit/Results Broadcast Bus/Peak Dynamic': 0.113202, 'Execution Unit/Results Broadcast Bus/Runtime Dynamic': 0.281312, 'Execution Unit/Results Broadcast Bus/Subthreshold Leakage': 0.081478, 'Execution Unit/Results Broadcast Bus/Subthreshold Leakage with power gating': 0.0305543, 'Execution Unit/Runtime Dynamic': 1.31827, 'Execution Unit/Subthreshold Leakage': 1.79543, 'Execution Unit/Subthreshold Leakage with power gating': 0.688821, 'Gate Leakage': 0.368936, 'Instruction Fetch Unit/Area': 5.85939, 'Instruction Fetch Unit/Branch Predictor/Area': 0.138516, 'Instruction Fetch Unit/Branch Predictor/Chooser/Area': 0.0435221, 'Instruction Fetch Unit/Branch Predictor/Chooser/Gate Leakage': 0.000278362, 'Instruction Fetch Unit/Branch Predictor/Chooser/Peak Dynamic': 0.0168831, 'Instruction Fetch Unit/Branch Predictor/Chooser/Runtime Dynamic': 0.000316505, 'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage': 0.00759719, 'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage with power gating': 0.0039236, 'Instruction Fetch Unit/Branch Predictor/Gate Leakage': 0.000757657, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Area': 0.0435221, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Gate Leakage': 0.000278362, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Peak Dynamic': 0.0168831, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Runtime Dynamic': 0.000316505, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage': 0.00759719, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage with power gating': 0.0039236, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Area': 0.0257064, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Gate Leakage': 0.000154548, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Peak Dynamic': 0.0142575, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Runtime Dynamic': 0.00029046, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage': 0.00384344, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage with power gating': 0.00198631, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Area': 0.0151917, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Gate Leakage': 8.00196e-05, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Peak Dynamic': 0.00527447, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Runtime Dynamic': 0.000120528, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage': 0.00181347, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage with power gating': 0.000957045, 'Instruction Fetch Unit/Branch Predictor/Peak Dynamic': 0.0597838, 'Instruction Fetch Unit/Branch Predictor/RAS/Area': 0.0105732, 'Instruction Fetch Unit/Branch Predictor/RAS/Gate Leakage': 4.63858e-05, 'Instruction Fetch Unit/Branch Predictor/RAS/Peak Dynamic': 0.0117602, 'Instruction Fetch Unit/Branch Predictor/RAS/Runtime Dynamic': 0.000464281, 'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage': 0.000932505, 'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage with power gating': 0.000494733, 'Instruction Fetch Unit/Branch Predictor/Runtime Dynamic': 0.00138775, 'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage': 0.0199703, 'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage with power gating': 0.0103282, 'Instruction Fetch Unit/Branch Target Buffer/Area': 0.64954, 'Instruction Fetch Unit/Branch Target Buffer/Gate Leakage': 0.00272758, 'Instruction Fetch Unit/Branch Target Buffer/Peak Dynamic': 0.177867, 'Instruction Fetch Unit/Branch Target Buffer/Runtime Dynamic': 0.00250638, 'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage': 0.0811682, 'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage with power gating': 0.0435357, 'Instruction Fetch Unit/Gate Leakage': 0.0589979, 'Instruction Fetch Unit/Instruction Buffer/Area': 0.0226323, 'Instruction Fetch Unit/Instruction Buffer/Gate Leakage': 6.83558e-05, 'Instruction Fetch Unit/Instruction Buffer/Peak Dynamic': 0.606827, 'Instruction Fetch Unit/Instruction Buffer/Runtime Dynamic': 0.0310702, 'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage': 0.00151885, 'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage with power gating': 0.000701682, 'Instruction Fetch Unit/Instruction Cache/Area': 3.14635, 'Instruction Fetch Unit/Instruction Cache/Gate Leakage': 0.029931, 'Instruction Fetch Unit/Instruction Cache/Peak Dynamic': 1.97633, 'Instruction Fetch Unit/Instruction Cache/Runtime Dynamic': 0.071936, 'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage': 0.367022, 'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage with power gating': 0.180386, 'Instruction Fetch Unit/Instruction Decoder/Area': 1.85799, 'Instruction Fetch Unit/Instruction Decoder/Gate Leakage': 0.0222493, 'Instruction Fetch Unit/Instruction Decoder/Peak Dynamic': 1.37404, 'Instruction Fetch Unit/Instruction Decoder/Runtime Dynamic': 0.105528, 'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage': 0.442943, 'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage with power gating': 0.166104, 'Instruction Fetch Unit/Peak Dynamic': 4.29076, 'Instruction Fetch Unit/Runtime Dynamic': 0.212429, 'Instruction Fetch Unit/Subthreshold Leakage': 0.932286, 'Instruction Fetch Unit/Subthreshold Leakage with power gating': 0.40843, 'L2/Area': 4.53318, 'L2/Gate Leakage': 0.015464, 'L2/Peak Dynamic': 0.0416814, 'L2/Runtime Dynamic': 0.00360731, 'L2/Subthreshold Leakage': 0.834142, 'L2/Subthreshold Leakage with power gating': 0.401066, 'Load Store Unit/Area': 8.80901, 'Load Store Unit/Data Cache/Area': 6.84535, 'Load Store Unit/Data Cache/Gate Leakage': 0.0279261, 'Load Store Unit/Data Cache/Peak Dynamic': 2.4574, 'Load Store Unit/Data Cache/Runtime Dynamic': 0.590503, 'Load Store Unit/Data Cache/Subthreshold Leakage': 0.527675, 'Load Store Unit/Data Cache/Subthreshold Leakage with power gating': 0.25085, 'Load Store Unit/Gate Leakage': 0.0350888, 'Load Store Unit/LoadQ/Area': 0.0836782, 'Load Store Unit/LoadQ/Gate Leakage': 0.00059896, 'Load Store Unit/LoadQ/Peak Dynamic': 0.039479, 'Load Store Unit/LoadQ/Runtime Dynamic': 0.0394791, 'Load Store Unit/LoadQ/Subthreshold Leakage': 0.00941961, 'Load Store Unit/LoadQ/Subthreshold Leakage with power gating': 0.00536918, 'Load Store Unit/Peak Dynamic': 2.64383, 'Load Store Unit/Runtime Dynamic': 0.82468, 'Load Store Unit/StoreQ/Area': 0.322079, 'Load Store Unit/StoreQ/Gate Leakage': 0.00329971, 'Load Store Unit/StoreQ/Peak Dynamic': 0.0973486, 'Load Store Unit/StoreQ/Runtime Dynamic': 0.194698, 'Load Store Unit/StoreQ/Subthreshold Leakage': 0.0345621, 'Load Store Unit/StoreQ/Subthreshold Leakage with power gating': 0.0197004, 'Load Store Unit/Subthreshold Leakage': 0.591321, 'Load Store Unit/Subthreshold Leakage with power gating': 0.283293, 'Memory Management Unit/Area': 0.4339, 'Memory Management Unit/Dtlb/Area': 0.0879726, 'Memory Management Unit/Dtlb/Gate Leakage': 0.00088729, 'Memory Management Unit/Dtlb/Peak Dynamic': 0.0345493, 'Memory Management Unit/Dtlb/Runtime Dynamic': 0.0351737, 'Memory Management Unit/Dtlb/Subthreshold Leakage': 0.0155699, 'Memory Management Unit/Dtlb/Subthreshold Leakage with power gating': 0.00887485, 'Memory Management Unit/Gate Leakage': 0.00808595, 'Memory Management Unit/Itlb/Area': 0.301552, 'Memory Management Unit/Itlb/Gate Leakage': 0.00393464, 'Memory Management Unit/Itlb/Peak Dynamic': 0.122881, 'Memory Management Unit/Itlb/Runtime Dynamic': 0.011798, 'Memory Management Unit/Itlb/Subthreshold Leakage': 0.0413758, 'Memory Management Unit/Itlb/Subthreshold Leakage with power gating': 0.0235842, 'Memory Management Unit/Peak Dynamic': 0.338339, 'Memory Management Unit/Runtime Dynamic': 0.0469717, 'Memory Management Unit/Subthreshold Leakage': 0.0766103, 'Memory Management Unit/Subthreshold Leakage with power gating': 0.0398333, 'Peak Dynamic': 15.3114, 'Renaming Unit/Area': 0.303608, 'Renaming Unit/FP Front End RAT/Area': 0.131045, 'Renaming Unit/FP Front End RAT/Gate Leakage': 0.00351123, 'Renaming Unit/FP Front End RAT/Peak Dynamic': 2.51468, 'Renaming Unit/FP Front End RAT/Runtime Dynamic': 0.119051, 'Renaming Unit/FP Front End RAT/Subthreshold Leakage': 0.0308571, 'Renaming Unit/FP Front End RAT/Subthreshold Leakage with power gating': 0.0175885, 'Renaming Unit/Free List/Area': 0.0340654, 'Renaming Unit/Free List/Gate Leakage': 2.5481e-05, 'Renaming Unit/Free List/Peak Dynamic': 0.0306032, 'Renaming Unit/Free List/Runtime Dynamic': 0.00614957, 'Renaming Unit/Free List/Subthreshold Leakage': 0.000370144, 'Renaming Unit/Free List/Subthreshold Leakage with power gating': 0.000201064, 'Renaming Unit/Gate Leakage': 0.00708398, 'Renaming Unit/Int Front End RAT/Area': 0.0941223, 'Renaming Unit/Int Front End RAT/Gate Leakage': 0.000283242, 'Renaming Unit/Int Front End RAT/Peak Dynamic': 0.731965, 'Renaming Unit/Int Front End RAT/Runtime Dynamic': 0.0511568, 'Renaming Unit/Int Front End RAT/Subthreshold Leakage': 0.00435488, 'Renaming Unit/Int Front End RAT/Subthreshold Leakage with power gating': 0.00248228, 'Renaming Unit/Peak Dynamic': 3.58947, 'Renaming Unit/Runtime Dynamic': 0.176357, 'Renaming Unit/Subthreshold Leakage': 0.0552466, 'Renaming Unit/Subthreshold Leakage with power gating': 0.0276461, 'Runtime Dynamic': 2.58231, 'Subthreshold Leakage': 6.16288, 'Subthreshold Leakage with power gating': 2.55328}, {'Area': 32.0201, 'Execution Unit/Area': 7.68434, 'Execution Unit/Complex ALUs/Area': 0.235435, 'Execution Unit/Complex ALUs/Gate Leakage': 0.0132646, 'Execution Unit/Complex ALUs/Peak Dynamic': 0.0888717, 'Execution Unit/Complex ALUs/Runtime Dynamic': 0.272492, 'Execution Unit/Complex ALUs/Subthreshold Leakage': 0.20111, 'Execution Unit/Complex ALUs/Subthreshold Leakage with power gating': 0.0754163, 'Execution Unit/Floating Point Units/Area': 4.6585, 'Execution Unit/Floating Point Units/Gate Leakage': 0.0656156, 'Execution Unit/Floating Point Units/Peak Dynamic': 0.562956, 'Execution Unit/Floating Point Units/Runtime Dynamic': 0.304033, 'Execution Unit/Floating Point Units/Subthreshold Leakage': 0.994829, 'Execution Unit/Floating Point Units/Subthreshold Leakage with power gating': 0.373061, 'Execution Unit/Gate Leakage': 0.120359, 'Execution Unit/Instruction Scheduler/Area': 1.66526, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Area': 0.275653, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Gate Leakage': 0.000977433, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Peak Dynamic': 1.04181, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Runtime Dynamic': 0.171594, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage': 0.0143453, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage with power gating': 0.00810519, 'Execution Unit/Instruction Scheduler/Gate Leakage': 0.00568913, 'Execution Unit/Instruction Scheduler/Instruction Window/Area': 0.805223, 'Execution Unit/Instruction Scheduler/Instruction Window/Gate Leakage': 0.00414562, 'Execution Unit/Instruction Scheduler/Instruction Window/Peak Dynamic': 1.6763, 'Execution Unit/Instruction Scheduler/Instruction Window/Runtime Dynamic': 0.276775, 'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage': 0.0625755, 'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage with power gating': 0.0355964, 'Execution Unit/Instruction Scheduler/Peak Dynamic': 3.82262, 'Execution Unit/Instruction Scheduler/ROB/Area': 0.584388, 'Execution Unit/Instruction Scheduler/ROB/Gate Leakage': 0.00056608, 'Execution Unit/Instruction Scheduler/ROB/Peak Dynamic': 1.10451, 'Execution Unit/Instruction Scheduler/ROB/Runtime Dynamic': 0.139706, 'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage': 0.00906853, 'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage with power gating': 0.00364446, 'Execution Unit/Instruction Scheduler/Runtime Dynamic': 0.588075, 'Execution Unit/Instruction Scheduler/Subthreshold Leakage': 0.0859892, 'Execution Unit/Instruction Scheduler/Subthreshold Leakage with power gating': 0.047346, 'Execution Unit/Integer ALUs/Area': 0.47087, 'Execution Unit/Integer ALUs/Gate Leakage': 0.0265291, 'Execution Unit/Integer ALUs/Peak Dynamic': 0.109944, 'Execution Unit/Integer ALUs/Runtime Dynamic': 0.101344, 'Execution Unit/Integer ALUs/Subthreshold Leakage': 0.40222, 'Execution Unit/Integer ALUs/Subthreshold Leakage with power gating': 0.150833, 'Execution Unit/Peak Dynamic': 4.98229, 'Execution Unit/Register Files/Area': 0.570804, 'Execution Unit/Register Files/Floating Point RF/Area': 0.208131, 'Execution Unit/Register Files/Floating Point RF/Gate Leakage': 0.000232788, 'Execution Unit/Register Files/Floating Point RF/Peak Dynamic': 0.106354, 'Execution Unit/Register Files/Floating Point RF/Runtime Dynamic': 0.00719742, 'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage': 0.00399698, 'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage with power gating': 0.00176968, 'Execution Unit/Register Files/Gate Leakage': 0.000622708, 'Execution Unit/Register Files/Integer RF/Area': 0.362673, 'Execution Unit/Register Files/Integer RF/Gate Leakage': 0.00038992, 'Execution Unit/Register Files/Integer RF/Peak Dynamic': 0.0819427, 'Execution Unit/Register Files/Integer RF/Runtime Dynamic': 0.0532293, 'Execution Unit/Register Files/Integer RF/Subthreshold Leakage': 0.00614175, 'Execution Unit/Register Files/Integer RF/Subthreshold Leakage with power gating': 0.00246675, 'Execution Unit/Register Files/Peak Dynamic': 0.188297, 'Execution Unit/Register Files/Runtime Dynamic': 0.0604267, 'Execution Unit/Register Files/Subthreshold Leakage': 0.0101387, 'Execution Unit/Register Files/Subthreshold Leakage with power gating': 0.00423643, 'Execution Unit/Results Broadcast Bus/Area Overhead': 0.0390912, 'Execution Unit/Results Broadcast Bus/Gate Leakage': 0.00537402, 'Execution Unit/Results Broadcast Bus/Peak Dynamic': 0.194853, 'Execution Unit/Results Broadcast Bus/Runtime Dynamic': 0.509333, 'Execution Unit/Results Broadcast Bus/Subthreshold Leakage': 0.081478, 'Execution Unit/Results Broadcast Bus/Subthreshold Leakage with power gating': 0.0305543, 'Execution Unit/Runtime Dynamic': 1.8357, 'Execution Unit/Subthreshold Leakage': 1.79543, 'Execution Unit/Subthreshold Leakage with power gating': 0.688821, 'Gate Leakage': 0.368936, 'Instruction Fetch Unit/Area': 5.85939, 'Instruction Fetch Unit/Branch Predictor/Area': 0.138516, 'Instruction Fetch Unit/Branch Predictor/Chooser/Area': 0.0435221, 'Instruction Fetch Unit/Branch Predictor/Chooser/Gate Leakage': 0.000278362, 'Instruction Fetch Unit/Branch Predictor/Chooser/Peak Dynamic': 0.0168831, 'Instruction Fetch Unit/Branch Predictor/Chooser/Runtime Dynamic': 1.93227e-05, 'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage': 0.00759719, 'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage with power gating': 0.0039236, 'Instruction Fetch Unit/Branch Predictor/Gate Leakage': 0.000757657, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Area': 0.0435221, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Gate Leakage': 0.000278362, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Peak Dynamic': 0.0168831, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Runtime Dynamic': 1.93227e-05, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage': 0.00759719, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage with power gating': 0.0039236, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Area': 0.0257064, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Gate Leakage': 0.000154548, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Peak Dynamic': 0.0142575, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Runtime Dynamic': 1.68515e-05, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage': 0.00384344, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage with power gating': 0.00198631, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Area': 0.0151917, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Gate Leakage': 8.00196e-05, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Peak Dynamic': 0.00527447, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Runtime Dynamic': 6.53527e-06, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage': 0.00181347, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage with power gating': 0.000957045, 'Instruction Fetch Unit/Branch Predictor/Peak Dynamic': 0.0597838, 'Instruction Fetch Unit/Branch Predictor/RAS/Area': 0.0105732, 'Instruction Fetch Unit/Branch Predictor/RAS/Gate Leakage': 4.63858e-05, 'Instruction Fetch Unit/Branch Predictor/RAS/Peak Dynamic': 0.0117602, 'Instruction Fetch Unit/Branch Predictor/RAS/Runtime Dynamic': 0.000764643, 'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage': 0.000932505, 'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage with power gating': 0.000494733, 'Instruction Fetch Unit/Branch Predictor/Runtime Dynamic': 0.00082014, 'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage': 0.0199703, 'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage with power gating': 0.0103282, 'Instruction Fetch Unit/Branch Target Buffer/Area': 0.64954, 'Instruction Fetch Unit/Branch Target Buffer/Gate Leakage': 0.00272758, 'Instruction Fetch Unit/Branch Target Buffer/Peak Dynamic': 0.177867, 'Instruction Fetch Unit/Branch Target Buffer/Runtime Dynamic': 0.000184496, 'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage': 0.0811682, 'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage with power gating': 0.0435357, 'Instruction Fetch Unit/Gate Leakage': 0.0589979, 'Instruction Fetch Unit/Instruction Buffer/Area': 0.0226323, 'Instruction Fetch Unit/Instruction Buffer/Gate Leakage': 6.83558e-05, 'Instruction Fetch Unit/Instruction Buffer/Peak Dynamic': 0.606827, 'Instruction Fetch Unit/Instruction Buffer/Runtime Dynamic': 0.0511707, 'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage': 0.00151885, 'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage with power gating': 0.000701682, 'Instruction Fetch Unit/Instruction Cache/Area': 3.14635, 'Instruction Fetch Unit/Instruction Cache/Gate Leakage': 0.029931, 'Instruction Fetch Unit/Instruction Cache/Peak Dynamic': 3.25489, 'Instruction Fetch Unit/Instruction Cache/Runtime Dynamic': 0.125925, 'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage': 0.367022, 'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage with power gating': 0.180386, 'Instruction Fetch Unit/Instruction Decoder/Area': 1.85799, 'Instruction Fetch Unit/Instruction Decoder/Gate Leakage': 0.0222493, 'Instruction Fetch Unit/Instruction Decoder/Peak Dynamic': 1.37404, 'Instruction Fetch Unit/Instruction Decoder/Runtime Dynamic': 0.173799, 'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage': 0.442943, 'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage with power gating': 0.166104, 'Instruction Fetch Unit/Peak Dynamic': 5.63137, 'Instruction Fetch Unit/Runtime Dynamic': 0.3519, 'Instruction Fetch Unit/Subthreshold Leakage': 0.932286, 'Instruction Fetch Unit/Subthreshold Leakage with power gating': 0.40843, 'L2/Area': 4.53318, 'L2/Gate Leakage': 0.015464, 'L2/Peak Dynamic': 0.036246, 'L2/Runtime Dynamic': 0.0100269, 'L2/Subthreshold Leakage': 0.834142, 'L2/Subthreshold Leakage with power gating': 0.401066, 'Load Store Unit/Area': 8.80901, 'Load Store Unit/Data Cache/Area': 6.84535, 'Load Store Unit/Data Cache/Gate Leakage': 0.0279261, 'Load Store Unit/Data Cache/Peak Dynamic': 3.39647, 'Load Store Unit/Data Cache/Runtime Dynamic': 1.04918, 'Load Store Unit/Data Cache/Subthreshold Leakage': 0.527675, 'Load Store Unit/Data Cache/Subthreshold Leakage with power gating': 0.25085, 'Load Store Unit/Gate Leakage': 0.0350888, 'Load Store Unit/LoadQ/Area': 0.0836782, 'Load Store Unit/LoadQ/Gate Leakage': 0.00059896, 'Load Store Unit/LoadQ/Peak Dynamic': 0.06986, 'Load Store Unit/LoadQ/Runtime Dynamic': 0.0698601, 'Load Store Unit/LoadQ/Subthreshold Leakage': 0.00941961, 'Load Store Unit/LoadQ/Subthreshold Leakage with power gating': 0.00536918, 'Load Store Unit/Peak Dynamic': 3.72636, 'Load Store Unit/Runtime Dynamic': 1.46356, 'Load Store Unit/StoreQ/Area': 0.322079, 'Load Store Unit/StoreQ/Gate Leakage': 0.00329971, 'Load Store Unit/StoreQ/Peak Dynamic': 0.172263, 'Load Store Unit/StoreQ/Runtime Dynamic': 0.344526, 'Load Store Unit/StoreQ/Subthreshold Leakage': 0.0345621, 'Load Store Unit/StoreQ/Subthreshold Leakage with power gating': 0.0197004, 'Load Store Unit/Subthreshold Leakage': 0.591321, 'Load Store Unit/Subthreshold Leakage with power gating': 0.283293, 'Memory Management Unit/Area': 0.4339, 'Memory Management Unit/Dtlb/Area': 0.0879726, 'Memory Management Unit/Dtlb/Gate Leakage': 0.00088729, 'Memory Management Unit/Dtlb/Peak Dynamic': 0.0611367, 'Memory Management Unit/Dtlb/Runtime Dynamic': 0.0616664, 'Memory Management Unit/Dtlb/Subthreshold Leakage': 0.0155699, 'Memory Management Unit/Dtlb/Subthreshold Leakage with power gating': 0.00887485, 'Memory Management Unit/Gate Leakage': 0.00808595, 'Memory Management Unit/Itlb/Area': 0.301552, 'Memory Management Unit/Itlb/Gate Leakage': 0.00393464, 'Memory Management Unit/Itlb/Peak Dynamic': 0.202377, 'Memory Management Unit/Itlb/Runtime Dynamic': 0.0206872, 'Memory Management Unit/Itlb/Subthreshold Leakage': 0.0413758, 'Memory Management Unit/Itlb/Subthreshold Leakage with power gating': 0.0235842, 'Memory Management Unit/Peak Dynamic': 0.463508, 'Memory Management Unit/Runtime Dynamic': 0.0823535, 'Memory Management Unit/Subthreshold Leakage': 0.0766103, 'Memory Management Unit/Subthreshold Leakage with power gating': 0.0398333, 'Peak Dynamic': 18.4293, 'Renaming Unit/Area': 0.303608, 'Renaming Unit/FP Front End RAT/Area': 0.131045, 'Renaming Unit/FP Front End RAT/Gate Leakage': 0.00351123, 'Renaming Unit/FP Front End RAT/Peak Dynamic': 2.51468, 'Renaming Unit/FP Front End RAT/Runtime Dynamic': 0.27977, 'Renaming Unit/FP Front End RAT/Subthreshold Leakage': 0.0308571, 'Renaming Unit/FP Front End RAT/Subthreshold Leakage with power gating': 0.0175885, 'Renaming Unit/Free List/Area': 0.0340654, 'Renaming Unit/Free List/Gate Leakage': 2.5481e-05, 'Renaming Unit/Free List/Peak Dynamic': 0.0306032, 'Renaming Unit/Free List/Runtime Dynamic': 0.0111466, 'Renaming Unit/Free List/Subthreshold Leakage': 0.000370144, 'Renaming Unit/Free List/Subthreshold Leakage with power gating': 0.000201064, 'Renaming Unit/Gate Leakage': 0.00708398, 'Renaming Unit/Int Front End RAT/Area': 0.0941223, 'Renaming Unit/Int Front End RAT/Gate Leakage': 0.000283242, 'Renaming Unit/Int Front End RAT/Peak Dynamic': 0.731965, 'Renaming Unit/Int Front End RAT/Runtime Dynamic': 0.082187, 'Renaming Unit/Int Front End RAT/Subthreshold Leakage': 0.00435488, 'Renaming Unit/Int Front End RAT/Subthreshold Leakage with power gating': 0.00248228, 'Renaming Unit/Peak Dynamic': 3.58947, 'Renaming Unit/Runtime Dynamic': 0.373103, 'Renaming Unit/Subthreshold Leakage': 0.0552466, 'Renaming Unit/Subthreshold Leakage with power gating': 0.0276461, 'Runtime Dynamic': 4.11665, 'Subthreshold Leakage': 6.16288, 'Subthreshold Leakage with power gating': 2.55328}], 'DRAM': {'Area': 0, 'Gate Leakage': 0, 'Peak Dynamic': 6.331041068697784, 'Runtime Dynamic': 6.331041068697784, 'Subthreshold Leakage': 4.252, 'Subthreshold Leakage with power gating': 4.252}, 'L3': [{'Area': 61.9075, 'Gate Leakage': 0.0484137, 'Peak Dynamic': 0.27929, 'Runtime Dynamic': 0.0828464, 'Subthreshold Leakage': 6.80085, 'Subthreshold Leakage with power gating': 3.32364}], 'Processor': {'Area': 191.908, 'Gate Leakage': 1.53485, 'Peak Dynamic': 70.173, 'Peak Power': 103.285, 'Runtime Dynamic': 13.7569, 'Subthreshold Leakage': 31.5774, 'Subthreshold Leakage with power gating': 13.9484, 'Total Cores/Area': 128.669, 'Total Cores/Gate Leakage': 1.4798, 'Total Cores/Peak Dynamic': 69.8937, 'Total Cores/Runtime Dynamic': 13.6741, 'Total Cores/Subthreshold Leakage': 24.7074, 'Total Cores/Subthreshold Leakage with power gating': 10.2429, 'Total L3s/Area': 61.9075, 'Total L3s/Gate Leakage': 0.0484137, 'Total L3s/Peak Dynamic': 0.27929, 'Total L3s/Runtime Dynamic': 0.0828464, 'Total L3s/Subthreshold Leakage': 6.80085, 'Total L3s/Subthreshold Leakage with power gating': 3.32364, 'Total Leakage': 33.1122, 'Total NoCs/Area': 1.33155, 'Total NoCs/Gate Leakage': 0.00662954, 'Total NoCs/Peak Dynamic': 0.0, 'Total NoCs/Runtime Dynamic': 0.0, 'Total NoCs/Subthreshold Leakage': 0.0691322, 'Total NoCs/Subthreshold Leakage with power gating': 0.0259246}}
power = {'BUSES': {'Area': 1.33155, 'Bus/Area': 1.33155, 'Bus/Gate Leakage': 0.00662954, 'Bus/Peak Dynamic': 0.0, 'Bus/Runtime Dynamic': 0.0, 'Bus/Subthreshold Leakage': 0.0691322, 'Bus/Subthreshold Leakage with power gating': 0.0259246, 'Gate Leakage': 0.00662954, 'Peak Dynamic': 0.0, 'Runtime Dynamic': 0.0, 'Subthreshold Leakage': 0.0691322, 'Subthreshold Leakage with power gating': 0.0259246}, 'Core': [{'Area': 32.6082, 'Execution Unit/Area': 8.2042, 'Execution Unit/Complex ALUs/Area': 0.235435, 'Execution Unit/Complex ALUs/Gate Leakage': 0.0132646, 'Execution Unit/Complex ALUs/Peak Dynamic': 0.14084, 'Execution Unit/Complex ALUs/Runtime Dynamic': 0.31331, 'Execution Unit/Complex ALUs/Subthreshold Leakage': 0.20111, 'Execution Unit/Complex ALUs/Subthreshold Leakage with power gating': 0.0754163, 'Execution Unit/Floating Point Units/Area': 4.6585, 'Execution Unit/Floating Point Units/Gate Leakage': 0.0656156, 'Execution Unit/Floating Point Units/Peak Dynamic': 0.695547, 'Execution Unit/Floating Point Units/Runtime Dynamic': 0.304033, 'Execution Unit/Floating Point Units/Subthreshold Leakage': 0.994829, 'Execution Unit/Floating Point Units/Subthreshold Leakage with power gating': 0.373061, 'Execution Unit/Gate Leakage': 0.122718, 'Execution Unit/Instruction Scheduler/Area': 2.17927, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Area': 0.328073, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Gate Leakage': 0.00115349, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Peak Dynamic': 1.20978, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Runtime Dynamic': 0.226367, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage': 0.017004, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage with power gating': 0.00962066, 'Execution Unit/Instruction Scheduler/Gate Leakage': 0.00730101, 'Execution Unit/Instruction Scheduler/Instruction Window/Area': 1.00996, 'Execution Unit/Instruction Scheduler/Instruction Window/Gate Leakage': 0.00529112, 'Execution Unit/Instruction Scheduler/Instruction Window/Peak Dynamic': 2.07911, 'Execution Unit/Instruction Scheduler/Instruction Window/Runtime Dynamic': 0.391986, 'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage': 0.0800117, 'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage with power gating': 0.0455351, 'Execution Unit/Instruction Scheduler/Peak Dynamic': 4.84781, 'Execution Unit/Instruction Scheduler/ROB/Area': 0.841232, 'Execution Unit/Instruction Scheduler/ROB/Gate Leakage': 0.000856399, 'Execution Unit/Instruction Scheduler/ROB/Peak Dynamic': 1.55892, 'Execution Unit/Instruction Scheduler/ROB/Runtime Dynamic': 0.224815, 'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage': 0.0178624, 'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage with power gating': 0.00897339, 'Execution Unit/Instruction Scheduler/Runtime Dynamic': 0.843169, 'Execution Unit/Instruction Scheduler/Subthreshold Leakage': 0.114878, 'Execution Unit/Instruction Scheduler/Subthreshold Leakage with power gating': 0.0641291, 'Execution Unit/Integer ALUs/Area': 0.47087, 'Execution Unit/Integer ALUs/Gate Leakage': 0.0265291, 'Execution Unit/Integer ALUs/Peak Dynamic': 0.117117, 'Execution Unit/Integer ALUs/Runtime Dynamic': 0.101344, 'Execution Unit/Integer ALUs/Subthreshold Leakage': 0.40222, 'Execution Unit/Integer ALUs/Subthreshold Leakage with power gating': 0.150833, 'Execution Unit/Peak Dynamic': 6.37916, 'Execution Unit/Register Files/Area': 0.570804, 'Execution Unit/Register Files/Floating Point RF/Area': 0.208131, 'Execution Unit/Register Files/Floating Point RF/Gate Leakage': 0.000232788, 'Execution Unit/Register Files/Floating Point RF/Peak Dynamic': 0.131404, 'Execution Unit/Register Files/Floating Point RF/Runtime Dynamic': 0.008206, 'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage': 0.00399698, 'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage with power gating': 0.00176968, 'Execution Unit/Register Files/Gate Leakage': 0.000622708, 'Execution Unit/Register Files/Integer RF/Area': 0.362673, 'Execution Unit/Register Files/Integer RF/Gate Leakage': 0.00038992, 'Execution Unit/Register Files/Integer RF/Peak Dynamic': 0.114712, 'Execution Unit/Register Files/Integer RF/Runtime Dynamic': 0.0606884, 'Execution Unit/Register Files/Integer RF/Subthreshold Leakage': 0.00614175, 'Execution Unit/Register Files/Integer RF/Subthreshold Leakage with power gating': 0.00246675, 'Execution Unit/Register Files/Peak Dynamic': 0.246116, 'Execution Unit/Register Files/Runtime Dynamic': 0.0688944, 'Execution Unit/Register Files/Subthreshold Leakage': 0.0101387, 'Execution Unit/Register Files/Subthreshold Leakage with power gating': 0.00423643, 'Execution Unit/Results Broadcast Bus/Area Overhead': 0.0442632, 'Execution Unit/Results Broadcast Bus/Gate Leakage': 0.00607074, 'Execution Unit/Results Broadcast Bus/Peak Dynamic': 0.315775, 'Execution Unit/Results Broadcast Bus/Runtime Dynamic': 0.605311, 'Execution Unit/Results Broadcast Bus/Subthreshold Leakage': 0.0920413, 'Execution Unit/Results Broadcast Bus/Subthreshold Leakage with power gating': 0.0345155, 'Execution Unit/Runtime Dynamic': 2.23606, 'Execution Unit/Subthreshold Leakage': 1.83518, 'Execution Unit/Subthreshold Leakage with power gating': 0.709678, 'Gate Leakage': 0.372997, 'Instruction Fetch Unit/Area': 5.86007, 'Instruction Fetch Unit/Branch Predictor/Area': 0.138516, 'Instruction Fetch Unit/Branch Predictor/Chooser/Area': 0.0435221, 'Instruction Fetch Unit/Branch Predictor/Chooser/Gate Leakage': 0.000278362, 'Instruction Fetch Unit/Branch Predictor/Chooser/Peak Dynamic': 0.0168831, 'Instruction Fetch Unit/Branch Predictor/Chooser/Runtime Dynamic': 0.000195614, 'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage': 0.00759719, 'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage with power gating': 0.0039236, 'Instruction Fetch Unit/Branch Predictor/Gate Leakage': 0.000757657, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Area': 0.0435221, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Gate Leakage': 0.000278362, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Peak Dynamic': 0.0168831, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Runtime Dynamic': 0.000195614, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage': 0.00759719, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage with power gating': 0.0039236, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Area': 0.0257064, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Gate Leakage': 0.000154548, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Peak Dynamic': 0.0142575, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Runtime Dynamic': 0.000169046, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage': 0.00384344, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage with power gating': 0.00198631, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Area': 0.0151917, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Gate Leakage': 8.00196e-05, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Peak Dynamic': 0.00527447, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Runtime Dynamic': 6.47116e-05, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage': 0.00181347, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage with power gating': 0.000957045, 'Instruction Fetch Unit/Branch Predictor/Peak Dynamic': 0.0597838, 'Instruction Fetch Unit/Branch Predictor/RAS/Area': 0.0105732, 'Instruction Fetch Unit/Branch Predictor/RAS/Gate Leakage': 4.63858e-05, 'Instruction Fetch Unit/Branch Predictor/RAS/Peak Dynamic': 0.0117602, 'Instruction Fetch Unit/Branch Predictor/RAS/Runtime Dynamic': 0.000871793, 'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage': 0.000932505, 'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage with power gating': 0.000494733, 'Instruction Fetch Unit/Branch Predictor/Runtime Dynamic': 0.00143207, 'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage': 0.0199703, 'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage with power gating': 0.0103282, 'Instruction Fetch Unit/Branch Target Buffer/Area': 0.64954, 'Instruction Fetch Unit/Branch Target Buffer/Gate Leakage': 0.00272758, 'Instruction Fetch Unit/Branch Target Buffer/Peak Dynamic': 0.177867, 'Instruction Fetch Unit/Branch Target Buffer/Runtime Dynamic': 0.00192316, 'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage': 0.0811682, 'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage with power gating': 0.0435357, 'Instruction Fetch Unit/Gate Leakage': 0.0590479, 'Instruction Fetch Unit/Instruction Buffer/Area': 0.0226323, 'Instruction Fetch Unit/Instruction Buffer/Gate Leakage': 6.83558e-05, 'Instruction Fetch Unit/Instruction Buffer/Peak Dynamic': 0.606827, 'Instruction Fetch Unit/Instruction Buffer/Runtime Dynamic': 0.0583413, 'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage': 0.00151885, 'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage with power gating': 0.000701682, 'Instruction Fetch Unit/Instruction Cache/Area': 3.14635, 'Instruction Fetch Unit/Instruction Cache/Gate Leakage': 0.029931, 'Instruction Fetch Unit/Instruction Cache/Peak Dynamic': 3.71101, 'Instruction Fetch Unit/Instruction Cache/Runtime Dynamic': 0.11977, 'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage': 0.367022, 'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage with power gating': 0.180386, 'Instruction Fetch Unit/Instruction Decoder/Area': 1.85799, 'Instruction Fetch Unit/Instruction Decoder/Gate Leakage': 0.0222493, 'Instruction Fetch Unit/Instruction Decoder/Peak Dynamic': 1.37404, 'Instruction Fetch Unit/Instruction Decoder/Runtime Dynamic': 0.198153, 'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage': 0.442943, 'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage with power gating': 0.166104, 'Instruction Fetch Unit/Peak Dynamic': 6.11238, 'Instruction Fetch Unit/Runtime Dynamic': 0.37962, 'Instruction Fetch Unit/Subthreshold Leakage': 0.932587, 'Instruction Fetch Unit/Subthreshold Leakage with power gating': 0.408542, 'L2/Area': 4.53318, 'L2/Gate Leakage': 0.015464, 'L2/Peak Dynamic': 0.057901, 'L2/Runtime Dynamic': 0.0194135, 'L2/Subthreshold Leakage': 0.834142, 'L2/Subthreshold Leakage with power gating': 0.401066, 'Load Store Unit/Area': 8.80969, 'Load Store Unit/Data Cache/Area': 6.84535, 'Load Store Unit/Data Cache/Gate Leakage': 0.0279261, 'Load Store Unit/Data Cache/Peak Dynamic': 2.82417, 'Load Store Unit/Data Cache/Runtime Dynamic': 0.793134, 'Load Store Unit/Data Cache/Subthreshold Leakage': 0.527675, 'Load Store Unit/Data Cache/Subthreshold Leakage with power gating': 0.25085, 'Load Store Unit/Gate Leakage': 0.0351387, 'Load Store Unit/LoadQ/Area': 0.0836782, 'Load Store Unit/LoadQ/Gate Leakage': 0.00059896, 'Load Store Unit/LoadQ/Peak Dynamic': 0.0513449, 'Load Store Unit/LoadQ/Runtime Dynamic': 0.0513449, 'Load Store Unit/LoadQ/Subthreshold Leakage': 0.00941961, 'Load Store Unit/LoadQ/Subthreshold Leakage with power gating': 0.00536918, 'Load Store Unit/Peak Dynamic': 3.06762, 'Load Store Unit/Runtime Dynamic': 1.09769, 'Load Store Unit/StoreQ/Area': 0.322079, 'Load Store Unit/StoreQ/Gate Leakage': 0.00329971, 'Load Store Unit/StoreQ/Peak Dynamic': 0.126608, 'Load Store Unit/StoreQ/Runtime Dynamic': 0.253216, 'Load Store Unit/StoreQ/Subthreshold Leakage': 0.0345621, 'Load Store Unit/StoreQ/Subthreshold Leakage with power gating': 0.0197004, 'Load Store Unit/Subthreshold Leakage': 0.591622, 'Load Store Unit/Subthreshold Leakage with power gating': 0.283406, 'Memory Management Unit/Area': 0.434579, 'Memory Management Unit/Dtlb/Area': 0.0879726, 'Memory Management Unit/Dtlb/Gate Leakage': 0.00088729, 'Memory Management Unit/Dtlb/Peak Dynamic': 0.0449335, 'Memory Management Unit/Dtlb/Runtime Dynamic': 0.0458001, 'Memory Management Unit/Dtlb/Subthreshold Leakage': 0.0155699, 'Memory Management Unit/Dtlb/Subthreshold Leakage with power gating': 0.00887485, 'Memory Management Unit/Gate Leakage': 0.00813591, 'Memory Management Unit/Itlb/Area': 0.301552, 'Memory Management Unit/Itlb/Gate Leakage': 0.00393464, 'Memory Management Unit/Itlb/Peak Dynamic': 0.230737, 'Memory Management Unit/Itlb/Runtime Dynamic': 0.0196433, 'Memory Management Unit/Itlb/Subthreshold Leakage': 0.0413758, 'Memory Management Unit/Itlb/Subthreshold Leakage with power gating': 0.0235842, 'Memory Management Unit/Peak Dynamic': 0.466917, 'Memory Management Unit/Runtime Dynamic': 0.0654435, 'Memory Management Unit/Subthreshold Leakage': 0.0769113, 'Memory Management Unit/Subthreshold Leakage with power gating': 0.0399462, 'Peak Dynamic': 20.6457, 'Renaming Unit/Area': 0.369768, 'Renaming Unit/FP Front End RAT/Area': 0.168486, 'Renaming Unit/FP Front End RAT/Gate Leakage': 0.00489731, 'Renaming Unit/FP Front End RAT/Peak Dynamic': 3.33511, 'Renaming Unit/FP Front End RAT/Runtime Dynamic': 0.458438, 'Renaming Unit/FP Front End RAT/Subthreshold Leakage': 0.0437281, 'Renaming Unit/FP Front End RAT/Subthreshold Leakage with power gating': 0.024925, 'Renaming Unit/Free List/Area': 0.0414755, 'Renaming Unit/Free List/Gate Leakage': 4.15911e-05, 'Renaming Unit/Free List/Peak Dynamic': 0.0401324, 'Renaming Unit/Free List/Runtime Dynamic': 0.0170917, 'Renaming Unit/Free List/Subthreshold Leakage': 0.000670426, 'Renaming Unit/Free List/Subthreshold Leakage with power gating': 0.000377987, 'Renaming Unit/Gate Leakage': 0.00863632, 'Renaming Unit/Int Front End RAT/Area': 0.114751, 'Renaming Unit/Int Front End RAT/Gate Leakage': 0.00038343, 'Renaming Unit/Int Front End RAT/Peak Dynamic': 0.86945, 'Renaming Unit/Int Front End RAT/Runtime Dynamic': 0.108124, 'Renaming Unit/Int Front End RAT/Subthreshold Leakage': 0.00611897, 'Renaming Unit/Int Front End RAT/Subthreshold Leakage with power gating': 0.00348781, 'Renaming Unit/Peak Dynamic': 4.56169, 'Renaming Unit/Runtime Dynamic': 0.583654, 'Renaming Unit/Subthreshold Leakage': 0.070483, 'Renaming Unit/Subthreshold Leakage with power gating': 0.0362779, 'Runtime Dynamic': 4.38189, 'Subthreshold Leakage': 6.21877, 'Subthreshold Leakage with power gating': 2.58311}, {'Area': 32.0201, 'Execution Unit/Area': 7.68434, 'Execution Unit/Complex ALUs/Area': 0.235435, 'Execution Unit/Complex ALUs/Gate Leakage': 0.0132646, 'Execution Unit/Complex ALUs/Peak Dynamic': 1.88938e-06, 'Execution Unit/Complex ALUs/Runtime Dynamic': 0.20269, 'Execution Unit/Complex ALUs/Subthreshold Leakage': 0.20111, 'Execution Unit/Complex ALUs/Subthreshold Leakage with power gating': 0.0754163, 'Execution Unit/Floating Point Units/Area': 4.6585, 'Execution Unit/Floating Point Units/Gate Leakage': 0.0656156, 'Execution Unit/Floating Point Units/Peak Dynamic': 1.01201e-05, 'Execution Unit/Floating Point Units/Runtime Dynamic': 0.304033, 'Execution Unit/Floating Point Units/Subthreshold Leakage': 0.994829, 'Execution Unit/Floating Point Units/Subthreshold Leakage with power gating': 0.373061, 'Execution Unit/Gate Leakage': 0.120359, 'Execution Unit/Instruction Scheduler/Area': 1.66526, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Area': 0.275653, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Gate Leakage': 0.000977433, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Peak Dynamic': 1.04181, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Runtime Dynamic': 0.13022, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage': 0.0143453, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage with power gating': 0.00810519, 'Execution Unit/Instruction Scheduler/Gate Leakage': 0.00568913, 'Execution Unit/Instruction Scheduler/Instruction Window/Area': 0.805223, 'Execution Unit/Instruction Scheduler/Instruction Window/Gate Leakage': 0.00414562, 'Execution Unit/Instruction Scheduler/Instruction Window/Peak Dynamic': 1.6763, 'Execution Unit/Instruction Scheduler/Instruction Window/Runtime Dynamic': 0.21004, 'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage': 0.0625755, 'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage with power gating': 0.0355964, 'Execution Unit/Instruction Scheduler/Peak Dynamic': 3.82262, 'Execution Unit/Instruction Scheduler/ROB/Area': 0.584388, 'Execution Unit/Instruction Scheduler/ROB/Gate Leakage': 0.00056608, 'Execution Unit/Instruction Scheduler/ROB/Peak Dynamic': 1.10451, 'Execution Unit/Instruction Scheduler/ROB/Runtime Dynamic': 0.106021, 'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage': 0.00906853, 'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage with power gating': 0.00364446, 'Execution Unit/Instruction Scheduler/Runtime Dynamic': 0.446281, 'Execution Unit/Instruction Scheduler/Subthreshold Leakage': 0.0859892, 'Execution Unit/Instruction Scheduler/Subthreshold Leakage with power gating': 0.047346, 'Execution Unit/Integer ALUs/Area': 0.47087, 'Execution Unit/Integer ALUs/Gate Leakage': 0.0265291, 'Execution Unit/Integer ALUs/Peak Dynamic': 0.148932, 'Execution Unit/Integer ALUs/Runtime Dynamic': 0.101344, 'Execution Unit/Integer ALUs/Subthreshold Leakage': 0.40222, 'Execution Unit/Integer ALUs/Subthreshold Leakage with power gating': 0.150833, 'Execution Unit/Peak Dynamic': 4.11426, 'Execution Unit/Register Files/Area': 0.570804, 'Execution Unit/Register Files/Floating Point RF/Area': 0.208131, 'Execution Unit/Register Files/Floating Point RF/Gate Leakage': 0.000232788, 'Execution Unit/Register Files/Floating Point RF/Peak Dynamic': 1.91191e-06, 'Execution Unit/Register Files/Floating Point RF/Runtime Dynamic': 0.00546201, 'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage': 0.00399698, 'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage with power gating': 0.00176968, 'Execution Unit/Register Files/Gate Leakage': 0.000622708, 'Execution Unit/Register Files/Integer RF/Area': 0.362673, 'Execution Unit/Register Files/Integer RF/Gate Leakage': 0.00038992, 'Execution Unit/Register Files/Integer RF/Peak Dynamic': 0.0394978, 'Execution Unit/Register Files/Integer RF/Runtime Dynamic': 0.0403949, 'Execution Unit/Register Files/Integer RF/Subthreshold Leakage': 0.00614175, 'Execution Unit/Register Files/Integer RF/Subthreshold Leakage with power gating': 0.00246675, 'Execution Unit/Register Files/Peak Dynamic': 0.0394997, 'Execution Unit/Register Files/Runtime Dynamic': 0.0458569, 'Execution Unit/Register Files/Subthreshold Leakage': 0.0101387, 'Execution Unit/Register Files/Subthreshold Leakage with power gating': 0.00423643, 'Execution Unit/Results Broadcast Bus/Area Overhead': 0.0390912, 'Execution Unit/Results Broadcast Bus/Gate Leakage': 0.00537402, 'Execution Unit/Results Broadcast Bus/Peak Dynamic': 0.0832112, 'Execution Unit/Results Broadcast Bus/Runtime Dynamic': 0.21385, 'Execution Unit/Results Broadcast Bus/Subthreshold Leakage': 0.081478, 'Execution Unit/Results Broadcast Bus/Subthreshold Leakage with power gating': 0.0305543, 'Execution Unit/Runtime Dynamic': 1.31406, 'Execution Unit/Subthreshold Leakage': 1.79543, 'Execution Unit/Subthreshold Leakage with power gating': 0.688821, 'Gate Leakage': 0.368936, 'Instruction Fetch Unit/Area': 5.85939, 'Instruction Fetch Unit/Branch Predictor/Area': 0.138516, 'Instruction Fetch Unit/Branch Predictor/Chooser/Area': 0.0435221, 'Instruction Fetch Unit/Branch Predictor/Chooser/Gate Leakage': 0.000278362, 'Instruction Fetch Unit/Branch Predictor/Chooser/Peak Dynamic': 0.0168831, 'Instruction Fetch Unit/Branch Predictor/Chooser/Runtime Dynamic': 0.00187773, 'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage': 0.00759719, 'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage with power gating': 0.0039236, 'Instruction Fetch Unit/Branch Predictor/Gate Leakage': 0.000757657, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Area': 0.0435221, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Gate Leakage': 0.000278362, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Peak Dynamic': 0.0168831, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Runtime Dynamic': 0.00187773, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage': 0.00759719, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage with power gating': 0.0039236, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Area': 0.0257064, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Gate Leakage': 0.000154548, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Peak Dynamic': 0.0142575, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Runtime Dynamic': 0.00168987, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage': 0.00384344, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage with power gating': 0.00198631, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Area': 0.0151917, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Gate Leakage': 8.00196e-05, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Peak Dynamic': 0.00527447, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Runtime Dynamic': 0.000683916, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage': 0.00181347, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage with power gating': 0.000957045, 'Instruction Fetch Unit/Branch Predictor/Peak Dynamic': 0.0597838, 'Instruction Fetch Unit/Branch Predictor/RAS/Area': 0.0105732, 'Instruction Fetch Unit/Branch Predictor/RAS/Gate Leakage': 4.63858e-05, 'Instruction Fetch Unit/Branch Predictor/RAS/Peak Dynamic': 0.0117602, 'Instruction Fetch Unit/Branch Predictor/RAS/Runtime Dynamic': 0.000580276, 'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage': 0.000932505, 'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage with power gating': 0.000494733, 'Instruction Fetch Unit/Branch Predictor/Runtime Dynamic': 0.0060256, 'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage': 0.0199703, 'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage with power gating': 0.0103282, 'Instruction Fetch Unit/Branch Target Buffer/Area': 0.64954, 'Instruction Fetch Unit/Branch Target Buffer/Gate Leakage': 0.00272758, 'Instruction Fetch Unit/Branch Target Buffer/Peak Dynamic': 0.177867, 'Instruction Fetch Unit/Branch Target Buffer/Runtime Dynamic': 0.0160608, 'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage': 0.0811682, 'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage with power gating': 0.0435357, 'Instruction Fetch Unit/Gate Leakage': 0.0589979, 'Instruction Fetch Unit/Instruction Buffer/Area': 0.0226323, 'Instruction Fetch Unit/Instruction Buffer/Gate Leakage': 6.83558e-05, 'Instruction Fetch Unit/Instruction Buffer/Peak Dynamic': 0.606827, 'Instruction Fetch Unit/Instruction Buffer/Runtime Dynamic': 0.0388326, 'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage': 0.00151885, 'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage with power gating': 0.000701682, 'Instruction Fetch Unit/Instruction Cache/Area': 3.14635, 'Instruction Fetch Unit/Instruction Cache/Gate Leakage': 0.029931, 'Instruction Fetch Unit/Instruction Cache/Peak Dynamic': 2.47009, 'Instruction Fetch Unit/Instruction Cache/Runtime Dynamic': 0.146359, 'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage': 0.367022, 'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage with power gating': 0.180386, 'Instruction Fetch Unit/Instruction Decoder/Area': 1.85799, 'Instruction Fetch Unit/Instruction Decoder/Gate Leakage': 0.0222493, 'Instruction Fetch Unit/Instruction Decoder/Peak Dynamic': 1.37404, 'Instruction Fetch Unit/Instruction Decoder/Runtime Dynamic': 0.131893, 'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage': 0.442943, 'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage with power gating': 0.166104, 'Instruction Fetch Unit/Peak Dynamic': 4.80848, 'Instruction Fetch Unit/Runtime Dynamic': 0.339172, 'Instruction Fetch Unit/Subthreshold Leakage': 0.932286, 'Instruction Fetch Unit/Subthreshold Leakage with power gating': 0.40843, 'L2/Area': 4.53318, 'L2/Gate Leakage': 0.015464, 'L2/Peak Dynamic': 0.0303831, 'L2/Runtime Dynamic': 0.00687843, 'L2/Subthreshold Leakage': 0.834142, 'L2/Subthreshold Leakage with power gating': 0.401066, 'Load Store Unit/Area': 8.80901, 'Load Store Unit/Data Cache/Area': 6.84535, 'Load Store Unit/Data Cache/Gate Leakage': 0.0279261, 'Load Store Unit/Data Cache/Peak Dynamic': 2.41739, 'Load Store Unit/Data Cache/Runtime Dynamic': 0.576575, 'Load Store Unit/Data Cache/Subthreshold Leakage': 0.527675, 'Load Store Unit/Data Cache/Subthreshold Leakage with power gating': 0.25085, 'Load Store Unit/Gate Leakage': 0.0350888, 'Load Store Unit/LoadQ/Area': 0.0836782, 'Load Store Unit/LoadQ/Gate Leakage': 0.00059896, 'Load Store Unit/LoadQ/Peak Dynamic': 0.0381846, 'Load Store Unit/LoadQ/Runtime Dynamic': 0.0381845, 'Load Store Unit/LoadQ/Subthreshold Leakage': 0.00941961, 'Load Store Unit/LoadQ/Subthreshold Leakage with power gating': 0.00536918, 'Load Store Unit/Peak Dynamic': 2.59771, 'Load Store Unit/Runtime Dynamic': 0.803073, 'Load Store Unit/StoreQ/Area': 0.322079, 'Load Store Unit/StoreQ/Gate Leakage': 0.00329971, 'Load Store Unit/StoreQ/Peak Dynamic': 0.0941567, 'Load Store Unit/StoreQ/Runtime Dynamic': 0.188313, 'Load Store Unit/StoreQ/Subthreshold Leakage': 0.0345621, 'Load Store Unit/StoreQ/Subthreshold Leakage with power gating': 0.0197004, 'Load Store Unit/Subthreshold Leakage': 0.591321, 'Load Store Unit/Subthreshold Leakage with power gating': 0.283293, 'Memory Management Unit/Area': 0.4339, 'Memory Management Unit/Dtlb/Area': 0.0879726, 'Memory Management Unit/Dtlb/Gate Leakage': 0.00088729, 'Memory Management Unit/Dtlb/Peak Dynamic': 0.0334165, 'Memory Management Unit/Dtlb/Runtime Dynamic': 0.0337481, 'Memory Management Unit/Dtlb/Subthreshold Leakage': 0.0155699, 'Memory Management Unit/Dtlb/Subthreshold Leakage with power gating': 0.00887485, 'Memory Management Unit/Gate Leakage': 0.00808595, 'Memory Management Unit/Itlb/Area': 0.301552, 'Memory Management Unit/Itlb/Gate Leakage': 0.00393464, 'Memory Management Unit/Itlb/Peak Dynamic': 0.153581, 'Memory Management Unit/Itlb/Runtime Dynamic': 0.0243628, 'Memory Management Unit/Itlb/Subthreshold Leakage': 0.0413758, 'Memory Management Unit/Itlb/Subthreshold Leakage with power gating': 0.0235842, 'Memory Management Unit/Peak Dynamic': 0.367094, 'Memory Management Unit/Runtime Dynamic': 0.0581109, 'Memory Management Unit/Subthreshold Leakage': 0.0766103, 'Memory Management Unit/Subthreshold Leakage with power gating': 0.0398333, 'Peak Dynamic': 15.5074, 'Renaming Unit/Area': 0.303608, 'Renaming Unit/FP Front End RAT/Area': 0.131045, 'Renaming Unit/FP Front End RAT/Gate Leakage': 0.00351123, 'Renaming Unit/FP Front End RAT/Peak Dynamic': 2.51468, 'Renaming Unit/FP Front End RAT/Runtime Dynamic': 4.44203e-06, 'Renaming Unit/FP Front End RAT/Subthreshold Leakage': 0.0308571, 'Renaming Unit/FP Front End RAT/Subthreshold Leakage with power gating': 0.0175885, 'Renaming Unit/Free List/Area': 0.0340654, 'Renaming Unit/Free List/Gate Leakage': 2.5481e-05, 'Renaming Unit/Free List/Peak Dynamic': 0.0306032, 'Renaming Unit/Free List/Runtime Dynamic': 0.00587522, 'Renaming Unit/Free List/Subthreshold Leakage': 0.000370144, 'Renaming Unit/Free List/Subthreshold Leakage with power gating': 0.000201064, 'Renaming Unit/Gate Leakage': 0.00708398, 'Renaming Unit/Int Front End RAT/Area': 0.0941223, 'Renaming Unit/Int Front End RAT/Gate Leakage': 0.000283242, 'Renaming Unit/Int Front End RAT/Peak Dynamic': 0.731965, 'Renaming Unit/Int Front End RAT/Runtime Dynamic': 0.0660609, 'Renaming Unit/Int Front End RAT/Subthreshold Leakage': 0.00435488, 'Renaming Unit/Int Front End RAT/Subthreshold Leakage with power gating': 0.00248228, 'Renaming Unit/Peak Dynamic': 3.58947, 'Renaming Unit/Runtime Dynamic': 0.0719406, 'Renaming Unit/Subthreshold Leakage': 0.0552466, 'Renaming Unit/Subthreshold Leakage with power gating': 0.0276461, 'Runtime Dynamic': 2.59323, 'Subthreshold Leakage': 6.16288, 'Subthreshold Leakage with power gating': 2.55328}, {'Area': 32.0201, 'Execution Unit/Area': 7.68434, 'Execution Unit/Complex ALUs/Area': 0.235435, 'Execution Unit/Complex ALUs/Gate Leakage': 0.0132646, 'Execution Unit/Complex ALUs/Peak Dynamic': 0.0447235, 'Execution Unit/Complex ALUs/Runtime Dynamic': 0.237817, 'Execution Unit/Complex ALUs/Subthreshold Leakage': 0.20111, 'Execution Unit/Complex ALUs/Subthreshold Leakage with power gating': 0.0754163, 'Execution Unit/Floating Point Units/Area': 4.6585, 'Execution Unit/Floating Point Units/Gate Leakage': 0.0656156, 'Execution Unit/Floating Point Units/Peak Dynamic': 0.239554, 'Execution Unit/Floating Point Units/Runtime Dynamic': 0.304033, 'Execution Unit/Floating Point Units/Subthreshold Leakage': 0.994829, 'Execution Unit/Floating Point Units/Subthreshold Leakage with power gating': 0.373061, 'Execution Unit/Gate Leakage': 0.120359, 'Execution Unit/Instruction Scheduler/Area': 1.66526, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Area': 0.275653, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Gate Leakage': 0.000977433, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Peak Dynamic': 1.04181, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Runtime Dynamic': 0.10419, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage': 0.0143453, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage with power gating': 0.00810519, 'Execution Unit/Instruction Scheduler/Gate Leakage': 0.00568913, 'Execution Unit/Instruction Scheduler/Instruction Window/Area': 0.805223, 'Execution Unit/Instruction Scheduler/Instruction Window/Gate Leakage': 0.00414562, 'Execution Unit/Instruction Scheduler/Instruction Window/Peak Dynamic': 1.6763, 'Execution Unit/Instruction Scheduler/Instruction Window/Runtime Dynamic': 0.168054, 'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage': 0.0625755, 'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage with power gating': 0.0355964, 'Execution Unit/Instruction Scheduler/Peak Dynamic': 3.82262, 'Execution Unit/Instruction Scheduler/ROB/Area': 0.584388, 'Execution Unit/Instruction Scheduler/ROB/Gate Leakage': 0.00056608, 'Execution Unit/Instruction Scheduler/ROB/Peak Dynamic': 1.10451, 'Execution Unit/Instruction Scheduler/ROB/Runtime Dynamic': 0.0848279, 'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage': 0.00906853, 'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage with power gating': 0.00364446, 'Execution Unit/Instruction Scheduler/Runtime Dynamic': 0.357071, 'Execution Unit/Instruction Scheduler/Subthreshold Leakage': 0.0859892, 'Execution Unit/Instruction Scheduler/Subthreshold Leakage with power gating': 0.047346, 'Execution Unit/Integer ALUs/Area': 0.47087, 'Execution Unit/Integer ALUs/Gate Leakage': 0.0265291, 'Execution Unit/Integer ALUs/Peak Dynamic': 0.0824347, 'Execution Unit/Integer ALUs/Runtime Dynamic': 0.101344, 'Execution Unit/Integer ALUs/Subthreshold Leakage': 0.40222, 'Execution Unit/Integer ALUs/Subthreshold Leakage with power gating': 0.150833, 'Execution Unit/Peak Dynamic': 4.40728, 'Execution Unit/Register Files/Area': 0.570804, 'Execution Unit/Register Files/Floating Point RF/Area': 0.208131, 'Execution Unit/Register Files/Floating Point RF/Gate Leakage': 0.000232788, 'Execution Unit/Register Files/Floating Point RF/Peak Dynamic': 0.0452569, 'Execution Unit/Register Files/Floating Point RF/Runtime Dynamic': 0.00437018, 'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage': 0.00399698, 'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage with power gating': 0.00176968, 'Execution Unit/Register Files/Gate Leakage': 0.000622708, 'Execution Unit/Register Files/Integer RF/Area': 0.362673, 'Execution Unit/Register Files/Integer RF/Gate Leakage': 0.00038992, 'Execution Unit/Register Files/Integer RF/Peak Dynamic': 0.0484253, 'Execution Unit/Register Files/Integer RF/Runtime Dynamic': 0.0323201, 'Execution Unit/Register Files/Integer RF/Subthreshold Leakage': 0.00614175, 'Execution Unit/Register Files/Integer RF/Subthreshold Leakage with power gating': 0.00246675, 'Execution Unit/Register Files/Peak Dynamic': 0.0936822, 'Execution Unit/Register Files/Runtime Dynamic': 0.0366903, 'Execution Unit/Register Files/Subthreshold Leakage': 0.0101387, 'Execution Unit/Register Files/Subthreshold Leakage with power gating': 0.00423643, 'Execution Unit/Results Broadcast Bus/Area Overhead': 0.0390912, 'Execution Unit/Results Broadcast Bus/Gate Leakage': 0.00537402, 'Execution Unit/Results Broadcast Bus/Peak Dynamic': 0.113202, 'Execution Unit/Results Broadcast Bus/Runtime Dynamic': 0.281312, 'Execution Unit/Results Broadcast Bus/Subthreshold Leakage': 0.081478, 'Execution Unit/Results Broadcast Bus/Subthreshold Leakage with power gating': 0.0305543, 'Execution Unit/Runtime Dynamic': 1.31827, 'Execution Unit/Subthreshold Leakage': 1.79543, 'Execution Unit/Subthreshold Leakage with power gating': 0.688821, 'Gate Leakage': 0.368936, 'Instruction Fetch Unit/Area': 5.85939, 'Instruction Fetch Unit/Branch Predictor/Area': 0.138516, 'Instruction Fetch Unit/Branch Predictor/Chooser/Area': 0.0435221, 'Instruction Fetch Unit/Branch Predictor/Chooser/Gate Leakage': 0.000278362, 'Instruction Fetch Unit/Branch Predictor/Chooser/Peak Dynamic': 0.0168831, 'Instruction Fetch Unit/Branch Predictor/Chooser/Runtime Dynamic': 0.000316505, 'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage': 0.00759719, 'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage with power gating': 0.0039236, 'Instruction Fetch Unit/Branch Predictor/Gate Leakage': 0.000757657, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Area': 0.0435221, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Gate Leakage': 0.000278362, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Peak Dynamic': 0.0168831, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Runtime Dynamic': 0.000316505, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage': 0.00759719, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage with power gating': 0.0039236, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Area': 0.0257064, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Gate Leakage': 0.000154548, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Peak Dynamic': 0.0142575, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Runtime Dynamic': 0.00029046, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage': 0.00384344, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage with power gating': 0.00198631, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Area': 0.0151917, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Gate Leakage': 8.00196e-05, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Peak Dynamic': 0.00527447, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Runtime Dynamic': 0.000120528, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage': 0.00181347, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage with power gating': 0.000957045, 'Instruction Fetch Unit/Branch Predictor/Peak Dynamic': 0.0597838, 'Instruction Fetch Unit/Branch Predictor/RAS/Area': 0.0105732, 'Instruction Fetch Unit/Branch Predictor/RAS/Gate Leakage': 4.63858e-05, 'Instruction Fetch Unit/Branch Predictor/RAS/Peak Dynamic': 0.0117602, 'Instruction Fetch Unit/Branch Predictor/RAS/Runtime Dynamic': 0.000464281, 'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage': 0.000932505, 'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage with power gating': 0.000494733, 'Instruction Fetch Unit/Branch Predictor/Runtime Dynamic': 0.00138775, 'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage': 0.0199703, 'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage with power gating': 0.0103282, 'Instruction Fetch Unit/Branch Target Buffer/Area': 0.64954, 'Instruction Fetch Unit/Branch Target Buffer/Gate Leakage': 0.00272758, 'Instruction Fetch Unit/Branch Target Buffer/Peak Dynamic': 0.177867, 'Instruction Fetch Unit/Branch Target Buffer/Runtime Dynamic': 0.00250638, 'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage': 0.0811682, 'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage with power gating': 0.0435357, 'Instruction Fetch Unit/Gate Leakage': 0.0589979, 'Instruction Fetch Unit/Instruction Buffer/Area': 0.0226323, 'Instruction Fetch Unit/Instruction Buffer/Gate Leakage': 6.83558e-05, 'Instruction Fetch Unit/Instruction Buffer/Peak Dynamic': 0.606827, 'Instruction Fetch Unit/Instruction Buffer/Runtime Dynamic': 0.0310702, 'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage': 0.00151885, 'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage with power gating': 0.000701682, 'Instruction Fetch Unit/Instruction Cache/Area': 3.14635, 'Instruction Fetch Unit/Instruction Cache/Gate Leakage': 0.029931, 'Instruction Fetch Unit/Instruction Cache/Peak Dynamic': 1.97633, 'Instruction Fetch Unit/Instruction Cache/Runtime Dynamic': 0.071936, 'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage': 0.367022, 'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage with power gating': 0.180386, 'Instruction Fetch Unit/Instruction Decoder/Area': 1.85799, 'Instruction Fetch Unit/Instruction Decoder/Gate Leakage': 0.0222493, 'Instruction Fetch Unit/Instruction Decoder/Peak Dynamic': 1.37404, 'Instruction Fetch Unit/Instruction Decoder/Runtime Dynamic': 0.105528, 'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage': 0.442943, 'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage with power gating': 0.166104, 'Instruction Fetch Unit/Peak Dynamic': 4.29076, 'Instruction Fetch Unit/Runtime Dynamic': 0.212429, 'Instruction Fetch Unit/Subthreshold Leakage': 0.932286, 'Instruction Fetch Unit/Subthreshold Leakage with power gating': 0.40843, 'L2/Area': 4.53318, 'L2/Gate Leakage': 0.015464, 'L2/Peak Dynamic': 0.0416814, 'L2/Runtime Dynamic': 0.00360731, 'L2/Subthreshold Leakage': 0.834142, 'L2/Subthreshold Leakage with power gating': 0.401066, 'Load Store Unit/Area': 8.80901, 'Load Store Unit/Data Cache/Area': 6.84535, 'Load Store Unit/Data Cache/Gate Leakage': 0.0279261, 'Load Store Unit/Data Cache/Peak Dynamic': 2.4574, 'Load Store Unit/Data Cache/Runtime Dynamic': 0.590503, 'Load Store Unit/Data Cache/Subthreshold Leakage': 0.527675, 'Load Store Unit/Data Cache/Subthreshold Leakage with power gating': 0.25085, 'Load Store Unit/Gate Leakage': 0.0350888, 'Load Store Unit/LoadQ/Area': 0.0836782, 'Load Store Unit/LoadQ/Gate Leakage': 0.00059896, 'Load Store Unit/LoadQ/Peak Dynamic': 0.039479, 'Load Store Unit/LoadQ/Runtime Dynamic': 0.0394791, 'Load Store Unit/LoadQ/Subthreshold Leakage': 0.00941961, 'Load Store Unit/LoadQ/Subthreshold Leakage with power gating': 0.00536918, 'Load Store Unit/Peak Dynamic': 2.64383, 'Load Store Unit/Runtime Dynamic': 0.82468, 'Load Store Unit/StoreQ/Area': 0.322079, 'Load Store Unit/StoreQ/Gate Leakage': 0.00329971, 'Load Store Unit/StoreQ/Peak Dynamic': 0.0973486, 'Load Store Unit/StoreQ/Runtime Dynamic': 0.194698, 'Load Store Unit/StoreQ/Subthreshold Leakage': 0.0345621, 'Load Store Unit/StoreQ/Subthreshold Leakage with power gating': 0.0197004, 'Load Store Unit/Subthreshold Leakage': 0.591321, 'Load Store Unit/Subthreshold Leakage with power gating': 0.283293, 'Memory Management Unit/Area': 0.4339, 'Memory Management Unit/Dtlb/Area': 0.0879726, 'Memory Management Unit/Dtlb/Gate Leakage': 0.00088729, 'Memory Management Unit/Dtlb/Peak Dynamic': 0.0345493, 'Memory Management Unit/Dtlb/Runtime Dynamic': 0.0351737, 'Memory Management Unit/Dtlb/Subthreshold Leakage': 0.0155699, 'Memory Management Unit/Dtlb/Subthreshold Leakage with power gating': 0.00887485, 'Memory Management Unit/Gate Leakage': 0.00808595, 'Memory Management Unit/Itlb/Area': 0.301552, 'Memory Management Unit/Itlb/Gate Leakage': 0.00393464, 'Memory Management Unit/Itlb/Peak Dynamic': 0.122881, 'Memory Management Unit/Itlb/Runtime Dynamic': 0.011798, 'Memory Management Unit/Itlb/Subthreshold Leakage': 0.0413758, 'Memory Management Unit/Itlb/Subthreshold Leakage with power gating': 0.0235842, 'Memory Management Unit/Peak Dynamic': 0.338339, 'Memory Management Unit/Runtime Dynamic': 0.0469717, 'Memory Management Unit/Subthreshold Leakage': 0.0766103, 'Memory Management Unit/Subthreshold Leakage with power gating': 0.0398333, 'Peak Dynamic': 15.3114, 'Renaming Unit/Area': 0.303608, 'Renaming Unit/FP Front End RAT/Area': 0.131045, 'Renaming Unit/FP Front End RAT/Gate Leakage': 0.00351123, 'Renaming Unit/FP Front End RAT/Peak Dynamic': 2.51468, 'Renaming Unit/FP Front End RAT/Runtime Dynamic': 0.119051, 'Renaming Unit/FP Front End RAT/Subthreshold Leakage': 0.0308571, 'Renaming Unit/FP Front End RAT/Subthreshold Leakage with power gating': 0.0175885, 'Renaming Unit/Free List/Area': 0.0340654, 'Renaming Unit/Free List/Gate Leakage': 2.5481e-05, 'Renaming Unit/Free List/Peak Dynamic': 0.0306032, 'Renaming Unit/Free List/Runtime Dynamic': 0.00614957, 'Renaming Unit/Free List/Subthreshold Leakage': 0.000370144, 'Renaming Unit/Free List/Subthreshold Leakage with power gating': 0.000201064, 'Renaming Unit/Gate Leakage': 0.00708398, 'Renaming Unit/Int Front End RAT/Area': 0.0941223, 'Renaming Unit/Int Front End RAT/Gate Leakage': 0.000283242, 'Renaming Unit/Int Front End RAT/Peak Dynamic': 0.731965, 'Renaming Unit/Int Front End RAT/Runtime Dynamic': 0.0511568, 'Renaming Unit/Int Front End RAT/Subthreshold Leakage': 0.00435488, 'Renaming Unit/Int Front End RAT/Subthreshold Leakage with power gating': 0.00248228, 'Renaming Unit/Peak Dynamic': 3.58947, 'Renaming Unit/Runtime Dynamic': 0.176357, 'Renaming Unit/Subthreshold Leakage': 0.0552466, 'Renaming Unit/Subthreshold Leakage with power gating': 0.0276461, 'Runtime Dynamic': 2.58231, 'Subthreshold Leakage': 6.16288, 'Subthreshold Leakage with power gating': 2.55328}, {'Area': 32.0201, 'Execution Unit/Area': 7.68434, 'Execution Unit/Complex ALUs/Area': 0.235435, 'Execution Unit/Complex ALUs/Gate Leakage': 0.0132646, 'Execution Unit/Complex ALUs/Peak Dynamic': 0.0888717, 'Execution Unit/Complex ALUs/Runtime Dynamic': 0.272492, 'Execution Unit/Complex ALUs/Subthreshold Leakage': 0.20111, 'Execution Unit/Complex ALUs/Subthreshold Leakage with power gating': 0.0754163, 'Execution Unit/Floating Point Units/Area': 4.6585, 'Execution Unit/Floating Point Units/Gate Leakage': 0.0656156, 'Execution Unit/Floating Point Units/Peak Dynamic': 0.562956, 'Execution Unit/Floating Point Units/Runtime Dynamic': 0.304033, 'Execution Unit/Floating Point Units/Subthreshold Leakage': 0.994829, 'Execution Unit/Floating Point Units/Subthreshold Leakage with power gating': 0.373061, 'Execution Unit/Gate Leakage': 0.120359, 'Execution Unit/Instruction Scheduler/Area': 1.66526, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Area': 0.275653, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Gate Leakage': 0.000977433, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Peak Dynamic': 1.04181, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Runtime Dynamic': 0.171594, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage': 0.0143453, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage with power gating': 0.00810519, 'Execution Unit/Instruction Scheduler/Gate Leakage': 0.00568913, 'Execution Unit/Instruction Scheduler/Instruction Window/Area': 0.805223, 'Execution Unit/Instruction Scheduler/Instruction Window/Gate Leakage': 0.00414562, 'Execution Unit/Instruction Scheduler/Instruction Window/Peak Dynamic': 1.6763, 'Execution Unit/Instruction Scheduler/Instruction Window/Runtime Dynamic': 0.276775, 'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage': 0.0625755, 'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage with power gating': 0.0355964, 'Execution Unit/Instruction Scheduler/Peak Dynamic': 3.82262, 'Execution Unit/Instruction Scheduler/ROB/Area': 0.584388, 'Execution Unit/Instruction Scheduler/ROB/Gate Leakage': 0.00056608, 'Execution Unit/Instruction Scheduler/ROB/Peak Dynamic': 1.10451, 'Execution Unit/Instruction Scheduler/ROB/Runtime Dynamic': 0.139706, 'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage': 0.00906853, 'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage with power gating': 0.00364446, 'Execution Unit/Instruction Scheduler/Runtime Dynamic': 0.588075, 'Execution Unit/Instruction Scheduler/Subthreshold Leakage': 0.0859892, 'Execution Unit/Instruction Scheduler/Subthreshold Leakage with power gating': 0.047346, 'Execution Unit/Integer ALUs/Area': 0.47087, 'Execution Unit/Integer ALUs/Gate Leakage': 0.0265291, 'Execution Unit/Integer ALUs/Peak Dynamic': 0.109944, 'Execution Unit/Integer ALUs/Runtime Dynamic': 0.101344, 'Execution Unit/Integer ALUs/Subthreshold Leakage': 0.40222, 'Execution Unit/Integer ALUs/Subthreshold Leakage with power gating': 0.150833, 'Execution Unit/Peak Dynamic': 4.98229, 'Execution Unit/Register Files/Area': 0.570804, 'Execution Unit/Register Files/Floating Point RF/Area': 0.208131, 'Execution Unit/Register Files/Floating Point RF/Gate Leakage': 0.000232788, 'Execution Unit/Register Files/Floating Point RF/Peak Dynamic': 0.106354, 'Execution Unit/Register Files/Floating Point RF/Runtime Dynamic': 0.00719742, 'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage': 0.00399698, 'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage with power gating': 0.00176968, 'Execution Unit/Register Files/Gate Leakage': 0.000622708, 'Execution Unit/Register Files/Integer RF/Area': 0.362673, 'Execution Unit/Register Files/Integer RF/Gate Leakage': 0.00038992, 'Execution Unit/Register Files/Integer RF/Peak Dynamic': 0.0819427, 'Execution Unit/Register Files/Integer RF/Runtime Dynamic': 0.0532293, 'Execution Unit/Register Files/Integer RF/Subthreshold Leakage': 0.00614175, 'Execution Unit/Register Files/Integer RF/Subthreshold Leakage with power gating': 0.00246675, 'Execution Unit/Register Files/Peak Dynamic': 0.188297, 'Execution Unit/Register Files/Runtime Dynamic': 0.0604267, 'Execution Unit/Register Files/Subthreshold Leakage': 0.0101387, 'Execution Unit/Register Files/Subthreshold Leakage with power gating': 0.00423643, 'Execution Unit/Results Broadcast Bus/Area Overhead': 0.0390912, 'Execution Unit/Results Broadcast Bus/Gate Leakage': 0.00537402, 'Execution Unit/Results Broadcast Bus/Peak Dynamic': 0.194853, 'Execution Unit/Results Broadcast Bus/Runtime Dynamic': 0.509333, 'Execution Unit/Results Broadcast Bus/Subthreshold Leakage': 0.081478, 'Execution Unit/Results Broadcast Bus/Subthreshold Leakage with power gating': 0.0305543, 'Execution Unit/Runtime Dynamic': 1.8357, 'Execution Unit/Subthreshold Leakage': 1.79543, 'Execution Unit/Subthreshold Leakage with power gating': 0.688821, 'Gate Leakage': 0.368936, 'Instruction Fetch Unit/Area': 5.85939, 'Instruction Fetch Unit/Branch Predictor/Area': 0.138516, 'Instruction Fetch Unit/Branch Predictor/Chooser/Area': 0.0435221, 'Instruction Fetch Unit/Branch Predictor/Chooser/Gate Leakage': 0.000278362, 'Instruction Fetch Unit/Branch Predictor/Chooser/Peak Dynamic': 0.0168831, 'Instruction Fetch Unit/Branch Predictor/Chooser/Runtime Dynamic': 1.93227e-05, 'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage': 0.00759719, 'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage with power gating': 0.0039236, 'Instruction Fetch Unit/Branch Predictor/Gate Leakage': 0.000757657, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Area': 0.0435221, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Gate Leakage': 0.000278362, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Peak Dynamic': 0.0168831, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Runtime Dynamic': 1.93227e-05, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage': 0.00759719, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage with power gating': 0.0039236, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Area': 0.0257064, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Gate Leakage': 0.000154548, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Peak Dynamic': 0.0142575, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Runtime Dynamic': 1.68515e-05, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage': 0.00384344, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage with power gating': 0.00198631, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Area': 0.0151917, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Gate Leakage': 8.00196e-05, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Peak Dynamic': 0.00527447, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Runtime Dynamic': 6.53527e-06, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage': 0.00181347, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage with power gating': 0.000957045, 'Instruction Fetch Unit/Branch Predictor/Peak Dynamic': 0.0597838, 'Instruction Fetch Unit/Branch Predictor/RAS/Area': 0.0105732, 'Instruction Fetch Unit/Branch Predictor/RAS/Gate Leakage': 4.63858e-05, 'Instruction Fetch Unit/Branch Predictor/RAS/Peak Dynamic': 0.0117602, 'Instruction Fetch Unit/Branch Predictor/RAS/Runtime Dynamic': 0.000764643, 'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage': 0.000932505, 'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage with power gating': 0.000494733, 'Instruction Fetch Unit/Branch Predictor/Runtime Dynamic': 0.00082014, 'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage': 0.0199703, 'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage with power gating': 0.0103282, 'Instruction Fetch Unit/Branch Target Buffer/Area': 0.64954, 'Instruction Fetch Unit/Branch Target Buffer/Gate Leakage': 0.00272758, 'Instruction Fetch Unit/Branch Target Buffer/Peak Dynamic': 0.177867, 'Instruction Fetch Unit/Branch Target Buffer/Runtime Dynamic': 0.000184496, 'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage': 0.0811682, 'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage with power gating': 0.0435357, 'Instruction Fetch Unit/Gate Leakage': 0.0589979, 'Instruction Fetch Unit/Instruction Buffer/Area': 0.0226323, 'Instruction Fetch Unit/Instruction Buffer/Gate Leakage': 6.83558e-05, 'Instruction Fetch Unit/Instruction Buffer/Peak Dynamic': 0.606827, 'Instruction Fetch Unit/Instruction Buffer/Runtime Dynamic': 0.0511707, 'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage': 0.00151885, 'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage with power gating': 0.000701682, 'Instruction Fetch Unit/Instruction Cache/Area': 3.14635, 'Instruction Fetch Unit/Instruction Cache/Gate Leakage': 0.029931, 'Instruction Fetch Unit/Instruction Cache/Peak Dynamic': 3.25489, 'Instruction Fetch Unit/Instruction Cache/Runtime Dynamic': 0.125925, 'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage': 0.367022, 'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage with power gating': 0.180386, 'Instruction Fetch Unit/Instruction Decoder/Area': 1.85799, 'Instruction Fetch Unit/Instruction Decoder/Gate Leakage': 0.0222493, 'Instruction Fetch Unit/Instruction Decoder/Peak Dynamic': 1.37404, 'Instruction Fetch Unit/Instruction Decoder/Runtime Dynamic': 0.173799, 'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage': 0.442943, 'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage with power gating': 0.166104, 'Instruction Fetch Unit/Peak Dynamic': 5.63137, 'Instruction Fetch Unit/Runtime Dynamic': 0.3519, 'Instruction Fetch Unit/Subthreshold Leakage': 0.932286, 'Instruction Fetch Unit/Subthreshold Leakage with power gating': 0.40843, 'L2/Area': 4.53318, 'L2/Gate Leakage': 0.015464, 'L2/Peak Dynamic': 0.036246, 'L2/Runtime Dynamic': 0.0100269, 'L2/Subthreshold Leakage': 0.834142, 'L2/Subthreshold Leakage with power gating': 0.401066, 'Load Store Unit/Area': 8.80901, 'Load Store Unit/Data Cache/Area': 6.84535, 'Load Store Unit/Data Cache/Gate Leakage': 0.0279261, 'Load Store Unit/Data Cache/Peak Dynamic': 3.39647, 'Load Store Unit/Data Cache/Runtime Dynamic': 1.04918, 'Load Store Unit/Data Cache/Subthreshold Leakage': 0.527675, 'Load Store Unit/Data Cache/Subthreshold Leakage with power gating': 0.25085, 'Load Store Unit/Gate Leakage': 0.0350888, 'Load Store Unit/LoadQ/Area': 0.0836782, 'Load Store Unit/LoadQ/Gate Leakage': 0.00059896, 'Load Store Unit/LoadQ/Peak Dynamic': 0.06986, 'Load Store Unit/LoadQ/Runtime Dynamic': 0.0698601, 'Load Store Unit/LoadQ/Subthreshold Leakage': 0.00941961, 'Load Store Unit/LoadQ/Subthreshold Leakage with power gating': 0.00536918, 'Load Store Unit/Peak Dynamic': 3.72636, 'Load Store Unit/Runtime Dynamic': 1.46356, 'Load Store Unit/StoreQ/Area': 0.322079, 'Load Store Unit/StoreQ/Gate Leakage': 0.00329971, 'Load Store Unit/StoreQ/Peak Dynamic': 0.172263, 'Load Store Unit/StoreQ/Runtime Dynamic': 0.344526, 'Load Store Unit/StoreQ/Subthreshold Leakage': 0.0345621, 'Load Store Unit/StoreQ/Subthreshold Leakage with power gating': 0.0197004, 'Load Store Unit/Subthreshold Leakage': 0.591321, 'Load Store Unit/Subthreshold Leakage with power gating': 0.283293, 'Memory Management Unit/Area': 0.4339, 'Memory Management Unit/Dtlb/Area': 0.0879726, 'Memory Management Unit/Dtlb/Gate Leakage': 0.00088729, 'Memory Management Unit/Dtlb/Peak Dynamic': 0.0611367, 'Memory Management Unit/Dtlb/Runtime Dynamic': 0.0616664, 'Memory Management Unit/Dtlb/Subthreshold Leakage': 0.0155699, 'Memory Management Unit/Dtlb/Subthreshold Leakage with power gating': 0.00887485, 'Memory Management Unit/Gate Leakage': 0.00808595, 'Memory Management Unit/Itlb/Area': 0.301552, 'Memory Management Unit/Itlb/Gate Leakage': 0.00393464, 'Memory Management Unit/Itlb/Peak Dynamic': 0.202377, 'Memory Management Unit/Itlb/Runtime Dynamic': 0.0206872, 'Memory Management Unit/Itlb/Subthreshold Leakage': 0.0413758, 'Memory Management Unit/Itlb/Subthreshold Leakage with power gating': 0.0235842, 'Memory Management Unit/Peak Dynamic': 0.463508, 'Memory Management Unit/Runtime Dynamic': 0.0823535, 'Memory Management Unit/Subthreshold Leakage': 0.0766103, 'Memory Management Unit/Subthreshold Leakage with power gating': 0.0398333, 'Peak Dynamic': 18.4293, 'Renaming Unit/Area': 0.303608, 'Renaming Unit/FP Front End RAT/Area': 0.131045, 'Renaming Unit/FP Front End RAT/Gate Leakage': 0.00351123, 'Renaming Unit/FP Front End RAT/Peak Dynamic': 2.51468, 'Renaming Unit/FP Front End RAT/Runtime Dynamic': 0.27977, 'Renaming Unit/FP Front End RAT/Subthreshold Leakage': 0.0308571, 'Renaming Unit/FP Front End RAT/Subthreshold Leakage with power gating': 0.0175885, 'Renaming Unit/Free List/Area': 0.0340654, 'Renaming Unit/Free List/Gate Leakage': 2.5481e-05, 'Renaming Unit/Free List/Peak Dynamic': 0.0306032, 'Renaming Unit/Free List/Runtime Dynamic': 0.0111466, 'Renaming Unit/Free List/Subthreshold Leakage': 0.000370144, 'Renaming Unit/Free List/Subthreshold Leakage with power gating': 0.000201064, 'Renaming Unit/Gate Leakage': 0.00708398, 'Renaming Unit/Int Front End RAT/Area': 0.0941223, 'Renaming Unit/Int Front End RAT/Gate Leakage': 0.000283242, 'Renaming Unit/Int Front End RAT/Peak Dynamic': 0.731965, 'Renaming Unit/Int Front End RAT/Runtime Dynamic': 0.082187, 'Renaming Unit/Int Front End RAT/Subthreshold Leakage': 0.00435488, 'Renaming Unit/Int Front End RAT/Subthreshold Leakage with power gating': 0.00248228, 'Renaming Unit/Peak Dynamic': 3.58947, 'Renaming Unit/Runtime Dynamic': 0.373103, 'Renaming Unit/Subthreshold Leakage': 0.0552466, 'Renaming Unit/Subthreshold Leakage with power gating': 0.0276461, 'Runtime Dynamic': 4.11665, 'Subthreshold Leakage': 6.16288, 'Subthreshold Leakage with power gating': 2.55328}], 'DRAM': {'Area': 0, 'Gate Leakage': 0, 'Peak Dynamic': 6.331041068697784, 'Runtime Dynamic': 6.331041068697784, 'Subthreshold Leakage': 4.252, 'Subthreshold Leakage with power gating': 4.252}, 'L3': [{'Area': 61.9075, 'Gate Leakage': 0.0484137, 'Peak Dynamic': 0.27929, 'Runtime Dynamic': 0.0828464, 'Subthreshold Leakage': 6.80085, 'Subthreshold Leakage with power gating': 3.32364}], 'Processor': {'Area': 191.908, 'Gate Leakage': 1.53485, 'Peak Dynamic': 70.173, 'Peak Power': 103.285, 'Runtime Dynamic': 13.7569, 'Subthreshold Leakage': 31.5774, 'Subthreshold Leakage with power gating': 13.9484, 'Total Cores/Area': 128.669, 'Total Cores/Gate Leakage': 1.4798, 'Total Cores/Peak Dynamic': 69.8937, 'Total Cores/Runtime Dynamic': 13.6741, 'Total Cores/Subthreshold Leakage': 24.7074, 'Total Cores/Subthreshold Leakage with power gating': 10.2429, 'Total L3s/Area': 61.9075, 'Total L3s/Gate Leakage': 0.0484137, 'Total L3s/Peak Dynamic': 0.27929, 'Total L3s/Runtime Dynamic': 0.0828464, 'Total L3s/Subthreshold Leakage': 6.80085, 'Total L3s/Subthreshold Leakage with power gating': 3.32364, 'Total Leakage': 33.1122, 'Total NoCs/Area': 1.33155, 'Total NoCs/Gate Leakage': 0.00662954, 'Total NoCs/Peak Dynamic': 0.0, 'Total NoCs/Runtime Dynamic': 0.0, 'Total NoCs/Subthreshold Leakage': 0.0691322, 'Total NoCs/Subthreshold Leakage with power gating': 0.0259246}}
# coding: utf-8 class ContextManager(object): def __init__(self, statement, task, **kwargs): self.statement = statement self.task = task def process_task(self): raise NotImplementedError()
class Contextmanager(object): def __init__(self, statement, task, **kwargs): self.statement = statement self.task = task def process_task(self): raise not_implemented_error()
def quick_sort(arr, left, right): if left < right: # Partition the array by setting the position of the pivot value position = Partition(arr, left, right) # Sort the left quick_sort(arr, left, position - 1) # Sort the right quick_sort(arr, position + 1, right) return arr def Partition(arr, left, right): pivot = arr[right] low = left - 1 for i in range(left,right): if arr[i] <= pivot : low += 1 Swap(arr, i, low) Swap(arr, right, low + 1) return low + 1 def Swap(arr, i, low): temp = arr[i] arr[i] = arr[low] arr[low] = temp if __name__ == '__main__': listt = [8, 4, 23, 42, 16, 15] print(quick_sort(listt, 0, 5))
def quick_sort(arr, left, right): if left < right: position = partition(arr, left, right) quick_sort(arr, left, position - 1) quick_sort(arr, position + 1, right) return arr def partition(arr, left, right): pivot = arr[right] low = left - 1 for i in range(left, right): if arr[i] <= pivot: low += 1 swap(arr, i, low) swap(arr, right, low + 1) return low + 1 def swap(arr, i, low): temp = arr[i] arr[i] = arr[low] arr[low] = temp if __name__ == '__main__': listt = [8, 4, 23, 42, 16, 15] print(quick_sort(listt, 0, 5))
def verify_response(expected_response, response): if isinstance(expected_response, dict): assert isinstance(response, dict) iterator = expected_response.items() elif isinstance(expected_response, list): assert isinstance(response, list) assert len(expected_response) == len(response), ( "len(list) didn't match :" + str(expected_response) + " == " + str(response) ) iterator = enumerate(expected_response) else: assert expected_response == response, ( "values didn't match :" + str(expected_response) + " == " + str(response) ) return for key, value in iterator: if isinstance(value, (dict, list)): verify_response(value, response[key]) else: assert value == response[key], ( "values didn't match :" + str(value) + " == " + str(response[key]) )
def verify_response(expected_response, response): if isinstance(expected_response, dict): assert isinstance(response, dict) iterator = expected_response.items() elif isinstance(expected_response, list): assert isinstance(response, list) assert len(expected_response) == len(response), "len(list) didn't match :" + str(expected_response) + ' == ' + str(response) iterator = enumerate(expected_response) else: assert expected_response == response, "values didn't match :" + str(expected_response) + ' == ' + str(response) return for (key, value) in iterator: if isinstance(value, (dict, list)): verify_response(value, response[key]) else: assert value == response[key], "values didn't match :" + str(value) + ' == ' + str(response[key])
#HUGHXIE #factorial.py cache = dict() def factorial(x): if x < 2: return x else: x *= factorial(x-1) return x def cachedfactorial(x): global cache if x < 2: cache[x] = 1 if x > len(cache): cache[x] = x*cachedfactorial(x-1) return(cache.get(x))
cache = dict() def factorial(x): if x < 2: return x else: x *= factorial(x - 1) return x def cachedfactorial(x): global cache if x < 2: cache[x] = 1 if x > len(cache): cache[x] = x * cachedfactorial(x - 1) return cache.get(x)
x_coord = [23, 53, 2, -12, 95, 103, 14, -5] y_coord = [677, 233, 405, 433, 905, 376, 432, 445] z_coord = [4, 16, -6, -42, 3, -6, 23, -1] labels = ["F", "J", "A", "Q", "Y", "B", "W", "X"] points = [] # write your for loop here for l, x, y, z in zip(labels,x_coord,y_coord,z_coord): point = l + ': ' + ', '.join([str(n) for n in [x,y,z]]) points.append(point) for point in points: print(point) cast_names = ["Barney", "Robin", "Ted", "Lily", "Marshall"] cast_heights = [72, 68, 72, 66, 76] cast = dict(zip(cast_names,cast_heights)) print(cast) cast = (("Barney", 72), ("Robin", 68), ("Ted", 72), ("Lily", 66), ("Marshall", 76)) # define names and heights here names, heights = zip(*cast) print(names) print(heights) data = ((0, 1, 2), (3, 4, 5), (6, 7, 8), (9, 10, 11)) data_transpose = tuple(zip(*data)) print(data_transpose) # Not quite! The transpose should be a tuple that contains 3 tuples of length 4 each. cast = ["Barney Stinson", "Robin Scherbatsky", "Ted Mosby", "Lily Aldrin", "Marshall Eriksen"] heights = [72, 68, 72, 66, 76] # write your for loop here new_cast = [] for n,x in enumerate(cast): new_cast.append(x + " " + str(heights[n])) cast = new_cast print(cast)
x_coord = [23, 53, 2, -12, 95, 103, 14, -5] y_coord = [677, 233, 405, 433, 905, 376, 432, 445] z_coord = [4, 16, -6, -42, 3, -6, 23, -1] labels = ['F', 'J', 'A', 'Q', 'Y', 'B', 'W', 'X'] points = [] for (l, x, y, z) in zip(labels, x_coord, y_coord, z_coord): point = l + ': ' + ', '.join([str(n) for n in [x, y, z]]) points.append(point) for point in points: print(point) cast_names = ['Barney', 'Robin', 'Ted', 'Lily', 'Marshall'] cast_heights = [72, 68, 72, 66, 76] cast = dict(zip(cast_names, cast_heights)) print(cast) cast = (('Barney', 72), ('Robin', 68), ('Ted', 72), ('Lily', 66), ('Marshall', 76)) (names, heights) = zip(*cast) print(names) print(heights) data = ((0, 1, 2), (3, 4, 5), (6, 7, 8), (9, 10, 11)) data_transpose = tuple(zip(*data)) print(data_transpose) cast = ['Barney Stinson', 'Robin Scherbatsky', 'Ted Mosby', 'Lily Aldrin', 'Marshall Eriksen'] heights = [72, 68, 72, 66, 76] new_cast = [] for (n, x) in enumerate(cast): new_cast.append(x + ' ' + str(heights[n])) cast = new_cast print(cast)
ABORTED = 'Aborted' FAILED = 'Failed' NOT_PROCESSED = 'Not Processed' COMPLETED = 'Completed' ERROR_STATES = ( ABORTED, FAILED, NOT_PROCESSED, )
aborted = 'Aborted' failed = 'Failed' not_processed = 'Not Processed' completed = 'Completed' error_states = (ABORTED, FAILED, NOT_PROCESSED)
# Definition for singly-linked list. # class ListNode: # def __init__(self, x): # self.val = x # self.next = None class Solution: def removeNthFromEnd(self, head: ListNode, n: int) -> ListNode: tail = head length = 1 while tail.next: length += 1 tail = tail.next if length == 1: return None if length == n: return head.next tempnode = head for _ in range(0, length - n - 1): tempnode = tempnode.next tempnode.next = tempnode.next.next return head # One Pass # Definition for singly-linked list. # class ListNode: # def __init__(self, val=0, next=None): # self.val = val # self.next = next class Solution: def removeNthFromEnd(self, head: ListNode, n: int) -> ListNode: dummy = fast = slow = ListNode() dummy.next = head if not head.next: return None for _ in range(n + 1): fast = fast.next while fast: fast = fast.next slow = slow.next slow.next = slow.next.next return dummy.next
class Solution: def remove_nth_from_end(self, head: ListNode, n: int) -> ListNode: tail = head length = 1 while tail.next: length += 1 tail = tail.next if length == 1: return None if length == n: return head.next tempnode = head for _ in range(0, length - n - 1): tempnode = tempnode.next tempnode.next = tempnode.next.next return head class Solution: def remove_nth_from_end(self, head: ListNode, n: int) -> ListNode: dummy = fast = slow = list_node() dummy.next = head if not head.next: return None for _ in range(n + 1): fast = fast.next while fast: fast = fast.next slow = slow.next slow.next = slow.next.next return dummy.next
''' # Sample code to perform I/O: name = input() # Reading input from STDIN print('Hi, %s.' % name) # Writing output to STDOUT # Warning: Printing unwanted or ill-formatted data to output will cause the test cases to fail ''' # Write your code here t = int(input()) g = {} m = {} for i in range(1,t+1): n = input() if n[0] == 'G': for s in n.split(' '): if s.isdigit(): if s in g: g[s]+=2 else: g[s]=2 elif n[0] == 'M': for s in n.split(' '): if s.isdigit(): if s in m: m[s]+=1 else: m[s]=1 if g['19']>m['19'] or g['20'] >m['20']: print('Date') else: print('No Date')
""" # Sample code to perform I/O: name = input() # Reading input from STDIN print('Hi, %s.' % name) # Writing output to STDOUT # Warning: Printing unwanted or ill-formatted data to output will cause the test cases to fail """ t = int(input()) g = {} m = {} for i in range(1, t + 1): n = input() if n[0] == 'G': for s in n.split(' '): if s.isdigit(): if s in g: g[s] += 2 else: g[s] = 2 elif n[0] == 'M': for s in n.split(' '): if s.isdigit(): if s in m: m[s] += 1 else: m[s] = 1 if g['19'] > m['19'] or g['20'] > m['20']: print('Date') else: print('No Date')
class ShaderNodeOutput: is_active_output = None
class Shadernodeoutput: is_active_output = None
class ComplexNumber: def __init__(self, real, imaginary): pass def __eq__(self, other): pass def __add__(self, other): pass def __mul__(self, other): pass def __sub__(self, other): pass def __truediv__(self, other): pass def __abs__(self): pass def conjugate(self): pass def exp(self): pass
class Complexnumber: def __init__(self, real, imaginary): pass def __eq__(self, other): pass def __add__(self, other): pass def __mul__(self, other): pass def __sub__(self, other): pass def __truediv__(self, other): pass def __abs__(self): pass def conjugate(self): pass def exp(self): pass
a = int(input("")) b = int(input("")) x = (a*b) print("PROD = " + str(x))
a = int(input('')) b = int(input('')) x = a * b print('PROD = ' + str(x))
def even_and_odd_sum(num): even = 0 odd = 0 for element in range(0, len(num)): if int(num[element]) % 2 == 0: even += int(num[element]) else: odd += int(num[element]) return f"Odd sum = {odd}, Even sum = {even}" print(even_and_odd_sum(input()))
def even_and_odd_sum(num): even = 0 odd = 0 for element in range(0, len(num)): if int(num[element]) % 2 == 0: even += int(num[element]) else: odd += int(num[element]) return f'Odd sum = {odd}, Even sum = {even}' print(even_and_odd_sum(input()))
def _simple_callback_arg_unpack(network, arg, request_id): network._call(request_id, *arg) def _simple_callback_arg(network, arg, request_id): network._call(request_id, arg) def _simple_callback_no_arg(network, arg, request_id): network._call(request_id)
def _simple_callback_arg_unpack(network, arg, request_id): network._call(request_id, *arg) def _simple_callback_arg(network, arg, request_id): network._call(request_id, arg) def _simple_callback_no_arg(network, arg, request_id): network._call(request_id)
def find_sra_col(metadata, col=None, PREFIX='SRR'): def column_iter(md, col): column = md.get_column(col) if metadata.columns[col].type != "categorical": raise ValueError("`col` is not a categorical column.") yield column.drop_missing_values().to_series() def metadata_iter(md): md = md.filter_columns(column_type='categorical') for col in md.columns: yield from column_iter(md, col) if col is None: prelude = "No columns found with" series_iter = (s for s in metadata_iter(metadata)) else: prelude = "Column %r does not have" % col series_iter = (s for s in column_iter(metadata, col)) candidates = [] leftover = [] for series in series_iter: test = series.str.startswith(PREFIX) if not test.empty and test.all(): candidates.append(series.name) elif test.any(): leftover.append(series.name) if len(candidates) == 1: return candidates[0] elif not candidates: extra = "" if leftover: extra = (" These columns had some SRA-run styled accessions" ", but contained unknown values as well: %r" % (leftover,)) raise ValueError( ("%s only SRA-run accessions (%s prefix)." % (prelude, PREFIX)) + extra) else: raise ValueError("More than one column with SRA-run accessions" " (%s prefix), use `col` to select one of them: %r" % (PREFIX, candidates))
def find_sra_col(metadata, col=None, PREFIX='SRR'): def column_iter(md, col): column = md.get_column(col) if metadata.columns[col].type != 'categorical': raise value_error('`col` is not a categorical column.') yield column.drop_missing_values().to_series() def metadata_iter(md): md = md.filter_columns(column_type='categorical') for col in md.columns: yield from column_iter(md, col) if col is None: prelude = 'No columns found with' series_iter = (s for s in metadata_iter(metadata)) else: prelude = 'Column %r does not have' % col series_iter = (s for s in column_iter(metadata, col)) candidates = [] leftover = [] for series in series_iter: test = series.str.startswith(PREFIX) if not test.empty and test.all(): candidates.append(series.name) elif test.any(): leftover.append(series.name) if len(candidates) == 1: return candidates[0] elif not candidates: extra = '' if leftover: extra = ' These columns had some SRA-run styled accessions, but contained unknown values as well: %r' % (leftover,) raise value_error('%s only SRA-run accessions (%s prefix).' % (prelude, PREFIX) + extra) else: raise value_error('More than one column with SRA-run accessions (%s prefix), use `col` to select one of them: %r' % (PREFIX, candidates))
# Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file # for details. All rights reserved. Use of this source code is governed by a # BSD-style license that can be found in the LICENSE file. { 'includes': [ '../sdk/runtime/tools/gyp/runtime-configurations.gypi', ], 'targets': [ { 'target_name': 'oracledart_native_extension', 'type': 'shared_library', 'include_dirs': [ '$(ORACLE_OCI_HOME)/include', '../sdk/runtime' ], 'sources': [ 'lib/src/oracledart_native_extension.cc', 'lib/src/oracledart_native_extension_dllmain_win.cc', ], 'defines': [ 'DART_SHARED_LIB', ], 'conditions': [ ['OS=="win"', { 'dependencies': [ '../sdk/runtime/dart-runtime.gyp:dart', # Windows build process needs dart.lib '../sdk/dart.gyp:create_sdk', ], 'msvs_settings': { 'VCLinkerTool': { 'AdditionalDependencies': [ 'dart.lib', 'oci.lib', 'oraocci12.lib' ], 'AdditionalLibraryDirectories': [ '<(PRODUCT_DIR)', '$(ORACLE_OCI_HOME)/lib/msvc/vc11', '$(ORACLE_OCI_HOME)/lib/msvc' ], }, }, }], ['OS=="mac"', { 'xcode_settings': { 'OTHER_LDFLAGS': [ '-undefined', 'dynamic_lookup', '-locci', '-lclntsh', '-L$(ORACLE_OCCI_LIB_HOME)' ], }, }], ['OS=="linux"', { 'cflags': [ '-fPIC', ], 'link_settings': { 'libraries': [ '-locci', '-lclntsh', '-L$(ORACLE_OCCI_LIB_HOME)' ] } }], ], }, ], }
{'includes': ['../sdk/runtime/tools/gyp/runtime-configurations.gypi'], 'targets': [{'target_name': 'oracledart_native_extension', 'type': 'shared_library', 'include_dirs': ['$(ORACLE_OCI_HOME)/include', '../sdk/runtime'], 'sources': ['lib/src/oracledart_native_extension.cc', 'lib/src/oracledart_native_extension_dllmain_win.cc'], 'defines': ['DART_SHARED_LIB'], 'conditions': [['OS=="win"', {'dependencies': ['../sdk/runtime/dart-runtime.gyp:dart', '../sdk/dart.gyp:create_sdk'], 'msvs_settings': {'VCLinkerTool': {'AdditionalDependencies': ['dart.lib', 'oci.lib', 'oraocci12.lib'], 'AdditionalLibraryDirectories': ['<(PRODUCT_DIR)', '$(ORACLE_OCI_HOME)/lib/msvc/vc11', '$(ORACLE_OCI_HOME)/lib/msvc']}}}], ['OS=="mac"', {'xcode_settings': {'OTHER_LDFLAGS': ['-undefined', 'dynamic_lookup', '-locci', '-lclntsh', '-L$(ORACLE_OCCI_LIB_HOME)']}}], ['OS=="linux"', {'cflags': ['-fPIC'], 'link_settings': {'libraries': ['-locci', '-lclntsh', '-L$(ORACLE_OCCI_LIB_HOME)']}}]]}]}
class Config(object): DEBUG = False TESTING = False APP_NAME = "I choose you" SLASH_COMMAND = "/ichu" DATABASE_URI = "mongodb://localhost:27017/ichooseyoudb" API_URL = "https://ichooseyou.etienne-t.fr" WAIT_FOR_THREAD_BEFORE_RETURN = False class ProductionConfig(Config): DEBUG = False TESTING = False class DevelopmentConfig(Config): DEBUG = True TESTING = False APP_NAME = "I choose you dev" SLASH_COMMAND = "/ichu_dev" API_URL = "https://7852-62-23-96-26.ngrok.io" class TestingConfig(Config): DEBUG = False TESTING = True APP_NAME = "I choose you test" SLASH_COMMAND = "/slash_command" DATABASE_URI = "mongodb://localhost:27017/ichooseyoudb_test" WAIT_FOR_THREAD_BEFORE_RETURN = True CONFIG = {"prod": ProductionConfig, "dev": DevelopmentConfig, "test": TestingConfig}
class Config(object): debug = False testing = False app_name = 'I choose you' slash_command = '/ichu' database_uri = 'mongodb://localhost:27017/ichooseyoudb' api_url = 'https://ichooseyou.etienne-t.fr' wait_for_thread_before_return = False class Productionconfig(Config): debug = False testing = False class Developmentconfig(Config): debug = True testing = False app_name = 'I choose you dev' slash_command = '/ichu_dev' api_url = 'https://7852-62-23-96-26.ngrok.io' class Testingconfig(Config): debug = False testing = True app_name = 'I choose you test' slash_command = '/slash_command' database_uri = 'mongodb://localhost:27017/ichooseyoudb_test' wait_for_thread_before_return = True config = {'prod': ProductionConfig, 'dev': DevelopmentConfig, 'test': TestingConfig}
name = input("Put your name : ").capitalize() lastName = input("Put your last name : ").capitalize() print("Hello !! %s %s !" % (name,lastName)) text = "Zeno" textFormatted = "Welcome %s"%(name) print(textFormatted.center(21,"-")) print(len(name))
name = input('Put your name : ').capitalize() last_name = input('Put your last name : ').capitalize() print('Hello !! %s %s !' % (name, lastName)) text = 'Zeno' text_formatted = 'Welcome %s' % name print(textFormatted.center(21, '-')) print(len(name))
# -*- coding: utf-8 -*- # the version of software # this is used by the setup.py script __version__ = '0.0.1.dev1'
__version__ = '0.0.1.dev1'
#Buatlah sebuah fungsi yang memiliki sebuah parameter yang bertipe list dan berisi #daftar nama orang (hanya terdiri dari satu kata). Lalu kembalikan sebuah string yang #merupakan nama terpanjang. def mulai(): nama1 = str(input()) nama2 = str(input()) nama3 = str(input()) if len(nama1) >= len(nama2) and len(nama1) >= len(nama3): return nama1 if len(nama2) >= len(nama1) and len(nama2) >= len(nama3): return nama2 if len(nama3) >= len(nama2) and len(nama3) >= len(nama1): return nama3 print(mulai())
def mulai(): nama1 = str(input()) nama2 = str(input()) nama3 = str(input()) if len(nama1) >= len(nama2) and len(nama1) >= len(nama3): return nama1 if len(nama2) >= len(nama1) and len(nama2) >= len(nama3): return nama2 if len(nama3) >= len(nama2) and len(nama3) >= len(nama1): return nama3 print(mulai())
## TheJollyDuck ## FizzBuzz ## This program prints out numbers but for ## a specifc multiple of a number with a word numList = [3,5,10,13] wordlist = ["fizz","buzz","fizzle","kaboom"] print("FizzBuzz is starting....") # TO DO : Implement input safety so that it only accepts ints numberLimit = int(input("Up to what number do you want to print out? [int]: ")) for i in range(0, numberLimit): # This for loop iterates until the user-defined limit is reached output = "" # contains the final string for output for j in range(0,len(numList)): # iterates all those through a list if i%numList[j] == 0: # Checks if number is a multiple of defined number output += wordlist[j] # If passes, concatenates the string if output == "": # Checks if output is empty print(i) # If passes, prints out number else: print(output) # Otherwise, print out string End = input("Press [Enter] to quit application....")
num_list = [3, 5, 10, 13] wordlist = ['fizz', 'buzz', 'fizzle', 'kaboom'] print('FizzBuzz is starting....') number_limit = int(input('Up to what number do you want to print out? [int]: ')) for i in range(0, numberLimit): output = '' for j in range(0, len(numList)): if i % numList[j] == 0: output += wordlist[j] if output == '': print(i) else: print(output) end = input('Press [Enter] to quit application....')
# fibonnaci function def fib(n): ''' prints out a list of n fibonnaci numbers Args: parm1: n is the number of fibonnaci numbers to print Returns: nothing ''' print("Called from ",__name__) a, b = 0, 1 #Note multiple assignment! counter = 1 while counter < n: print (a, end=' ') a, b = b, a+b print() counter += 1 return(0) ################################################# ################################################# # main # every python program has special variable that look like # __xyz__. __name__ is one of them and has the name of the module or __main__ if it is run as a program if __name__ == "__main__": n = int(input("Please enter a positive number: ")) if n >= 0: fib(n) else: print("Something went wrong")
def fib(n): """ prints out a list of n fibonnaci numbers Args: parm1: n is the number of fibonnaci numbers to print Returns: nothing """ print('Called from ', __name__) (a, b) = (0, 1) counter = 1 while counter < n: print(a, end=' ') (a, b) = (b, a + b) print() counter += 1 return 0 if __name__ == '__main__': n = int(input('Please enter a positive number: ')) if n >= 0: fib(n) else: print('Something went wrong')
def test_spamd_service(Service): assert Service('spamd').is_running def test_spamd_config(File): assert File('/etc/rc.conf.local').contains('spamd_flags=') def test_bgpd_config(File, Sudo): with Sudo(): assert File('/etc/bgpd.conf').contains('spamdAS') def test_pf_anchor(File, Command, Sudo): assert File('/etc/pf.conf.bgp-spamd').exists with Sudo(): assert Command('/sbin/pfctl -f /etc/pf.conf').rc == 0 def test_spamd_socket(Socket): assert Socket('tcp://127.0.0.1:8025').is_listening def test_bgpd_user(User, File): assert User('_bgpd').exists assert File('/etc/mail/aliases').contains('_bgpd: root') def test_spamd_user(User, File): assert User('_spamd').exists assert File('/etc/mail/aliases').contains('_spamd: root') def test_allowed_domains(File): assert File('/etc/mail/spamd.alloweddomains').exists
def test_spamd_service(Service): assert service('spamd').is_running def test_spamd_config(File): assert file('/etc/rc.conf.local').contains('spamd_flags=') def test_bgpd_config(File, Sudo): with sudo(): assert file('/etc/bgpd.conf').contains('spamdAS') def test_pf_anchor(File, Command, Sudo): assert file('/etc/pf.conf.bgp-spamd').exists with sudo(): assert command('/sbin/pfctl -f /etc/pf.conf').rc == 0 def test_spamd_socket(Socket): assert socket('tcp://127.0.0.1:8025').is_listening def test_bgpd_user(User, File): assert user('_bgpd').exists assert file('/etc/mail/aliases').contains('_bgpd: root') def test_spamd_user(User, File): assert user('_spamd').exists assert file('/etc/mail/aliases').contains('_spamd: root') def test_allowed_domains(File): assert file('/etc/mail/spamd.alloweddomains').exists
class Solution: def containsDuplicate(self, nums: List[int]) -> bool: s = set() for num in nums: if num in s: return True else: s.add(num) return False
class Solution: def contains_duplicate(self, nums: List[int]) -> bool: s = set() for num in nums: if num in s: return True else: s.add(num) return False
def main(j, args, params, tags, tasklet): params.merge(args) params.result = "" tags = params["tags"] id = tags.tagGet("id") model = tags.tagGet("model") actor = tags.tagGet("actor") application = tags.tagGet("application") if application == "": application = "system" # if application=="": # result="application is not specified in macro" # params.result=(result,params.doc) # return params if model == "": result = "model is not specified in macro" params.result = (result, params.doc) return params if actor == "": result = "actor is not specified in macro" params.result = (result, params.doc) return params if id.find("$$") != -1: result = "please call this page with some id e.g. otherwise the model %s from actor %s cannot be found, example: ?id=121 " % ( model, actor) params.result = (result, params.doc) return params actor2 = j.portal.server.active.actorsloader.getActor(application, actor) try: model = actor2.models.__dict__[model].get(id=id) except: result = "could not find model %s from actor %s with id %s." % (model, actor, id) params.result = (result, params.doc) return params hrd = j.data.hrd.getFromOsisObject(model, True) content = j.data.hrd.replaceVarsInText(params.content, hrd) # if return not doc but also content then the system knows that doc.content has been manipulated params.result = (content, content) return params def match(j, args, params, tags, tasklet): return True
def main(j, args, params, tags, tasklet): params.merge(args) params.result = '' tags = params['tags'] id = tags.tagGet('id') model = tags.tagGet('model') actor = tags.tagGet('actor') application = tags.tagGet('application') if application == '': application = 'system' if model == '': result = 'model is not specified in macro' params.result = (result, params.doc) return params if actor == '': result = 'actor is not specified in macro' params.result = (result, params.doc) return params if id.find('$$') != -1: result = 'please call this page with some id e.g. otherwise the model %s from actor %s cannot be found, example: ?id=121 ' % (model, actor) params.result = (result, params.doc) return params actor2 = j.portal.server.active.actorsloader.getActor(application, actor) try: model = actor2.models.__dict__[model].get(id=id) except: result = 'could not find model %s from actor %s with id %s.' % (model, actor, id) params.result = (result, params.doc) return params hrd = j.data.hrd.getFromOsisObject(model, True) content = j.data.hrd.replaceVarsInText(params.content, hrd) params.result = (content, content) return params def match(j, args, params, tags, tasklet): return True
# # PySNMP MIB module ALVARION-CONNECTION-LIMITING-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/ALVARION-CONNECTION-LIMITING-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 17:06:13 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15) # alvarionMgmtV2, = mibBuilder.importSymbols("ALVARION-SMI", "alvarionMgmtV2") OctetString, Integer, ObjectIdentifier = mibBuilder.importSymbols("ASN1", "OctetString", "Integer", "ObjectIdentifier") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ConstraintsIntersection, ValueSizeConstraint, ValueRangeConstraint, ConstraintsUnion, SingleValueConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ValueSizeConstraint", "ValueRangeConstraint", "ConstraintsUnion", "SingleValueConstraint") ModuleCompliance, NotificationGroup, ObjectGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup", "ObjectGroup") MibScalar, MibTable, MibTableRow, MibTableColumn, Gauge32, ModuleIdentity, NotificationType, iso, TimeTicks, IpAddress, MibIdentifier, Bits, Counter64, Integer32, Unsigned32, ObjectIdentity, Counter32 = mibBuilder.importSymbols("SNMPv2-SMI", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "Gauge32", "ModuleIdentity", "NotificationType", "iso", "TimeTicks", "IpAddress", "MibIdentifier", "Bits", "Counter64", "Integer32", "Unsigned32", "ObjectIdentity", "Counter32") DisplayString, TextualConvention = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString", "TextualConvention") alvarionConnectionLimitingMIB = ModuleIdentity((1, 3, 6, 1, 4, 1, 12394, 1, 10, 5, 18)) if mibBuilder.loadTexts: alvarionConnectionLimitingMIB.setLastUpdated('200710310000Z') if mibBuilder.loadTexts: alvarionConnectionLimitingMIB.setOrganization('Alvarion Ltd.') alvarionConnectionLimitingMIBObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 12394, 1, 10, 5, 18, 1)) connectionLimitingConfig = MibIdentifier((1, 3, 6, 1, 4, 1, 12394, 1, 10, 5, 18, 1, 1)) connectionLimitingInfo = MibIdentifier((1, 3, 6, 1, 4, 1, 12394, 1, 10, 5, 18, 1, 2)) connectionLimitingMaximumUserConnections = MibScalar((1, 3, 6, 1, 4, 1, 12394, 1, 10, 5, 18, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(20, 2000))).setMaxAccess("readwrite") if mibBuilder.loadTexts: connectionLimitingMaximumUserConnections.setStatus('current') connectionLimitingMaximumSystemConnections = MibScalar((1, 3, 6, 1, 4, 1, 12394, 1, 10, 5, 18, 1, 2, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: connectionLimitingMaximumSystemConnections.setStatus('current') alvarionConnectionLimitingMIBNotificationPrefix = MibIdentifier((1, 3, 6, 1, 4, 1, 12394, 1, 10, 5, 18, 2)) alvarionConnectionLimitingMIBNotifications = MibIdentifier((1, 3, 6, 1, 4, 1, 12394, 1, 10, 5, 18, 2, 0)) alvarionConnectionLimitingMIBConformance = MibIdentifier((1, 3, 6, 1, 4, 1, 12394, 1, 10, 5, 18, 3)) alvarionConnectionLimitingMIBCompliances = MibIdentifier((1, 3, 6, 1, 4, 1, 12394, 1, 10, 5, 18, 3, 1)) alvarionConnectionLimitingMIBGroups = MibIdentifier((1, 3, 6, 1, 4, 1, 12394, 1, 10, 5, 18, 3, 2)) alvarionConnectionLimitingMIBCompliance = ModuleCompliance((1, 3, 6, 1, 4, 1, 12394, 1, 10, 5, 18, 3, 1, 1)).setObjects(("ALVARION-CONNECTION-LIMITING-MIB", "alvarionConnectionLimitingConfigMIBGroup"), ("ALVARION-CONNECTION-LIMITING-MIB", "alvarionConnectionLimitingInfoMIBGroup")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): alvarionConnectionLimitingMIBCompliance = alvarionConnectionLimitingMIBCompliance.setStatus('current') alvarionConnectionLimitingConfigMIBGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 12394, 1, 10, 5, 18, 3, 2, 1)).setObjects(("ALVARION-CONNECTION-LIMITING-MIB", "connectionLimitingMaximumUserConnections")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): alvarionConnectionLimitingConfigMIBGroup = alvarionConnectionLimitingConfigMIBGroup.setStatus('current') alvarionConnectionLimitingInfoMIBGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 12394, 1, 10, 5, 18, 3, 2, 2)).setObjects(("ALVARION-CONNECTION-LIMITING-MIB", "connectionLimitingMaximumSystemConnections")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): alvarionConnectionLimitingInfoMIBGroup = alvarionConnectionLimitingInfoMIBGroup.setStatus('current') mibBuilder.exportSymbols("ALVARION-CONNECTION-LIMITING-MIB", connectionLimitingConfig=connectionLimitingConfig, alvarionConnectionLimitingMIBNotificationPrefix=alvarionConnectionLimitingMIBNotificationPrefix, alvarionConnectionLimitingMIB=alvarionConnectionLimitingMIB, PYSNMP_MODULE_ID=alvarionConnectionLimitingMIB, alvarionConnectionLimitingMIBConformance=alvarionConnectionLimitingMIBConformance, alvarionConnectionLimitingMIBCompliances=alvarionConnectionLimitingMIBCompliances, connectionLimitingMaximumUserConnections=connectionLimitingMaximumUserConnections, alvarionConnectionLimitingMIBGroups=alvarionConnectionLimitingMIBGroups, alvarionConnectionLimitingMIBNotifications=alvarionConnectionLimitingMIBNotifications, alvarionConnectionLimitingConfigMIBGroup=alvarionConnectionLimitingConfigMIBGroup, connectionLimitingMaximumSystemConnections=connectionLimitingMaximumSystemConnections, alvarionConnectionLimitingInfoMIBGroup=alvarionConnectionLimitingInfoMIBGroup, alvarionConnectionLimitingMIBObjects=alvarionConnectionLimitingMIBObjects, alvarionConnectionLimitingMIBCompliance=alvarionConnectionLimitingMIBCompliance, connectionLimitingInfo=connectionLimitingInfo)
(alvarion_mgmt_v2,) = mibBuilder.importSymbols('ALVARION-SMI', 'alvarionMgmtV2') (octet_string, integer, object_identifier) = mibBuilder.importSymbols('ASN1', 'OctetString', 'Integer', 'ObjectIdentifier') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (constraints_intersection, value_size_constraint, value_range_constraint, constraints_union, single_value_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ConstraintsIntersection', 'ValueSizeConstraint', 'ValueRangeConstraint', 'ConstraintsUnion', 'SingleValueConstraint') (module_compliance, notification_group, object_group) = mibBuilder.importSymbols('SNMPv2-CONF', 'ModuleCompliance', 'NotificationGroup', 'ObjectGroup') (mib_scalar, mib_table, mib_table_row, mib_table_column, gauge32, module_identity, notification_type, iso, time_ticks, ip_address, mib_identifier, bits, counter64, integer32, unsigned32, object_identity, counter32) = mibBuilder.importSymbols('SNMPv2-SMI', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'Gauge32', 'ModuleIdentity', 'NotificationType', 'iso', 'TimeTicks', 'IpAddress', 'MibIdentifier', 'Bits', 'Counter64', 'Integer32', 'Unsigned32', 'ObjectIdentity', 'Counter32') (display_string, textual_convention) = mibBuilder.importSymbols('SNMPv2-TC', 'DisplayString', 'TextualConvention') alvarion_connection_limiting_mib = module_identity((1, 3, 6, 1, 4, 1, 12394, 1, 10, 5, 18)) if mibBuilder.loadTexts: alvarionConnectionLimitingMIB.setLastUpdated('200710310000Z') if mibBuilder.loadTexts: alvarionConnectionLimitingMIB.setOrganization('Alvarion Ltd.') alvarion_connection_limiting_mib_objects = mib_identifier((1, 3, 6, 1, 4, 1, 12394, 1, 10, 5, 18, 1)) connection_limiting_config = mib_identifier((1, 3, 6, 1, 4, 1, 12394, 1, 10, 5, 18, 1, 1)) connection_limiting_info = mib_identifier((1, 3, 6, 1, 4, 1, 12394, 1, 10, 5, 18, 1, 2)) connection_limiting_maximum_user_connections = mib_scalar((1, 3, 6, 1, 4, 1, 12394, 1, 10, 5, 18, 1, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(20, 2000))).setMaxAccess('readwrite') if mibBuilder.loadTexts: connectionLimitingMaximumUserConnections.setStatus('current') connection_limiting_maximum_system_connections = mib_scalar((1, 3, 6, 1, 4, 1, 12394, 1, 10, 5, 18, 1, 2, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: connectionLimitingMaximumSystemConnections.setStatus('current') alvarion_connection_limiting_mib_notification_prefix = mib_identifier((1, 3, 6, 1, 4, 1, 12394, 1, 10, 5, 18, 2)) alvarion_connection_limiting_mib_notifications = mib_identifier((1, 3, 6, 1, 4, 1, 12394, 1, 10, 5, 18, 2, 0)) alvarion_connection_limiting_mib_conformance = mib_identifier((1, 3, 6, 1, 4, 1, 12394, 1, 10, 5, 18, 3)) alvarion_connection_limiting_mib_compliances = mib_identifier((1, 3, 6, 1, 4, 1, 12394, 1, 10, 5, 18, 3, 1)) alvarion_connection_limiting_mib_groups = mib_identifier((1, 3, 6, 1, 4, 1, 12394, 1, 10, 5, 18, 3, 2)) alvarion_connection_limiting_mib_compliance = module_compliance((1, 3, 6, 1, 4, 1, 12394, 1, 10, 5, 18, 3, 1, 1)).setObjects(('ALVARION-CONNECTION-LIMITING-MIB', 'alvarionConnectionLimitingConfigMIBGroup'), ('ALVARION-CONNECTION-LIMITING-MIB', 'alvarionConnectionLimitingInfoMIBGroup')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): alvarion_connection_limiting_mib_compliance = alvarionConnectionLimitingMIBCompliance.setStatus('current') alvarion_connection_limiting_config_mib_group = object_group((1, 3, 6, 1, 4, 1, 12394, 1, 10, 5, 18, 3, 2, 1)).setObjects(('ALVARION-CONNECTION-LIMITING-MIB', 'connectionLimitingMaximumUserConnections')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): alvarion_connection_limiting_config_mib_group = alvarionConnectionLimitingConfigMIBGroup.setStatus('current') alvarion_connection_limiting_info_mib_group = object_group((1, 3, 6, 1, 4, 1, 12394, 1, 10, 5, 18, 3, 2, 2)).setObjects(('ALVARION-CONNECTION-LIMITING-MIB', 'connectionLimitingMaximumSystemConnections')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): alvarion_connection_limiting_info_mib_group = alvarionConnectionLimitingInfoMIBGroup.setStatus('current') mibBuilder.exportSymbols('ALVARION-CONNECTION-LIMITING-MIB', connectionLimitingConfig=connectionLimitingConfig, alvarionConnectionLimitingMIBNotificationPrefix=alvarionConnectionLimitingMIBNotificationPrefix, alvarionConnectionLimitingMIB=alvarionConnectionLimitingMIB, PYSNMP_MODULE_ID=alvarionConnectionLimitingMIB, alvarionConnectionLimitingMIBConformance=alvarionConnectionLimitingMIBConformance, alvarionConnectionLimitingMIBCompliances=alvarionConnectionLimitingMIBCompliances, connectionLimitingMaximumUserConnections=connectionLimitingMaximumUserConnections, alvarionConnectionLimitingMIBGroups=alvarionConnectionLimitingMIBGroups, alvarionConnectionLimitingMIBNotifications=alvarionConnectionLimitingMIBNotifications, alvarionConnectionLimitingConfigMIBGroup=alvarionConnectionLimitingConfigMIBGroup, connectionLimitingMaximumSystemConnections=connectionLimitingMaximumSystemConnections, alvarionConnectionLimitingInfoMIBGroup=alvarionConnectionLimitingInfoMIBGroup, alvarionConnectionLimitingMIBObjects=alvarionConnectionLimitingMIBObjects, alvarionConnectionLimitingMIBCompliance=alvarionConnectionLimitingMIBCompliance, connectionLimitingInfo=connectionLimitingInfo)
class TokenizerNER(object): r''' Args: hf_tokenizer Must be able to return token offsets max_len: Max sequence length, if longer it will be split into multiple examples ''' def __init__(self, hf_tokenizer, max_len=512, id2type=None): self.hf_tokenizer = hf_tokenizer self.max_len = max_len self.label_map = {'O': 0, 'X': 1} self.id2type = id2type def encode(self, examples, ignore_subwords=False): r''' Used with huggingface datasets map function to convert medcat_ner dataset into the appropriate form for NER with BERT. It will split long text segments into max_len sequences. Args: examples: Stream of examples ignore_subwords: If set to `True` subwords of any token will get the special label `X` ''' old_ids = examples['id'] examples['input_ids'] = [] examples['labels'] = [] examples['id'] = [] for _ind, example in enumerate(zip(examples['text'], examples['ent_starts'], examples['ent_ends'], examples['ent_cuis'])): tokens = self.hf_tokenizer(example[0], return_offsets_mapping=True, add_special_tokens=False) entities = [(start, end, cui) for start, end, cui in zip(example[1], example[2], example[3])] entities.sort(key=lambda x: x[0]) input_ids = [] labels = [] tkn_part_of_entity = False for ind in range(len(tokens['offset_mapping'])): offset = tokens['offset_mapping'][ind] input_ids.append(tokens['input_ids'][ind]) if entities and (offset[0] >= entities[0][0] and offset[1] <= entities[0][1]): if entities[0][2] not in self.label_map: self.label_map[entities[0][2]] = len(self.label_map) # Means this token is part of entity at position 0 tkn_part_of_entity = True if not ignore_subwords or self.id2type[tokens['input_ids'][ind]] == 'start': labels.append(self.label_map[entities[0][2]]) else: labels.append(self.label_map['X']) if entities[0][1] <= offset[1]: # If it is the last token of the entity, remove the entity as it is done del entities[0] tkn_part_of_entity = False # Set this so the next token is not removed else: if tkn_part_of_entity: del entities[0] tkn_part_of_entity = False if not ignore_subwords or self.id2type[tokens['input_ids'][ind]] == 'start': labels.append(self.label_map["O"]) else: labels.append(self.label_map['X']) if len(input_ids) >= self.max_len: # Split into multiple examples if too long examples['input_ids'].append(input_ids) examples['labels'].append(labels) examples['id'].append(old_ids[_ind]) input_ids = [] labels = [] if input_ids: examples['input_ids'].append(input_ids) examples['labels'].append(labels) examples['id'].append(old_ids[_ind]) return examples
class Tokenizerner(object): """ Args: hf_tokenizer Must be able to return token offsets max_len: Max sequence length, if longer it will be split into multiple examples """ def __init__(self, hf_tokenizer, max_len=512, id2type=None): self.hf_tokenizer = hf_tokenizer self.max_len = max_len self.label_map = {'O': 0, 'X': 1} self.id2type = id2type def encode(self, examples, ignore_subwords=False): """ Used with huggingface datasets map function to convert medcat_ner dataset into the appropriate form for NER with BERT. It will split long text segments into max_len sequences. Args: examples: Stream of examples ignore_subwords: If set to `True` subwords of any token will get the special label `X` """ old_ids = examples['id'] examples['input_ids'] = [] examples['labels'] = [] examples['id'] = [] for (_ind, example) in enumerate(zip(examples['text'], examples['ent_starts'], examples['ent_ends'], examples['ent_cuis'])): tokens = self.hf_tokenizer(example[0], return_offsets_mapping=True, add_special_tokens=False) entities = [(start, end, cui) for (start, end, cui) in zip(example[1], example[2], example[3])] entities.sort(key=lambda x: x[0]) input_ids = [] labels = [] tkn_part_of_entity = False for ind in range(len(tokens['offset_mapping'])): offset = tokens['offset_mapping'][ind] input_ids.append(tokens['input_ids'][ind]) if entities and (offset[0] >= entities[0][0] and offset[1] <= entities[0][1]): if entities[0][2] not in self.label_map: self.label_map[entities[0][2]] = len(self.label_map) tkn_part_of_entity = True if not ignore_subwords or self.id2type[tokens['input_ids'][ind]] == 'start': labels.append(self.label_map[entities[0][2]]) else: labels.append(self.label_map['X']) if entities[0][1] <= offset[1]: del entities[0] tkn_part_of_entity = False else: if tkn_part_of_entity: del entities[0] tkn_part_of_entity = False if not ignore_subwords or self.id2type[tokens['input_ids'][ind]] == 'start': labels.append(self.label_map['O']) else: labels.append(self.label_map['X']) if len(input_ids) >= self.max_len: examples['input_ids'].append(input_ids) examples['labels'].append(labels) examples['id'].append(old_ids[_ind]) input_ids = [] labels = [] if input_ids: examples['input_ids'].append(input_ids) examples['labels'].append(labels) examples['id'].append(old_ids[_ind]) return examples
# # @lc app=leetcode.cn id=1586 lang=python3 # # [1586] longest-subarray-of-1s-after-deleting-one-element # None # @lc code=end
None
# Source : https://leetcode.com/problems/maximum-product-difference-between-two-pairs/ # Author : foxfromworld # Date : 16/12/2021 # First attempt class Solution: def maxProductDifference(self, nums: List[int]) -> int: nums.sort() return nums[-1] * nums[-2] - nums[0] * nums[1]
class Solution: def max_product_difference(self, nums: List[int]) -> int: nums.sort() return nums[-1] * nums[-2] - nums[0] * nums[1]
listOfGroups = [] with open("C:\\Privat\\advent_of_code20\\puzzle6\\input1.txt") as f: group = [] for line in f: line = line.strip() if line == '': listOfGroups.append(group) group = [] continue for char in line: if not char in group: group.append(char) listOfGroups.append(group) print(listOfGroups) sum = 0 i = 0 while i < len(listOfGroups): sum += len(listOfGroups[i]) i += 1 print("Total sum of yes answers: " + str(sum))
list_of_groups = [] with open('C:\\Privat\\advent_of_code20\\puzzle6\\input1.txt') as f: group = [] for line in f: line = line.strip() if line == '': listOfGroups.append(group) group = [] continue for char in line: if not char in group: group.append(char) listOfGroups.append(group) print(listOfGroups) sum = 0 i = 0 while i < len(listOfGroups): sum += len(listOfGroups[i]) i += 1 print('Total sum of yes answers: ' + str(sum))
class SpeciesError(Exception): def __init__(self, msg=None): self.msg = msg def __str__(self): return str(self.msg) class KineticsError(Exception): def __init__(self, msg=None): self.msg = msg class ConcentrationError(Exception): def __init__(self, msg=None): self.msg = msg
class Specieserror(Exception): def __init__(self, msg=None): self.msg = msg def __str__(self): return str(self.msg) class Kineticserror(Exception): def __init__(self, msg=None): self.msg = msg class Concentrationerror(Exception): def __init__(self, msg=None): self.msg = msg
years = range(1988, 2000) vars = ['ta_2m', 'pr', 'psl', 'rss', 'rls', 'wss_10m', 'hur_2m', 'albedo', 'ps', 'ts_0m'] hourres = ['1H', '1H', '1H', '3H', '3H', '1H', '1H', '1H', '3H', '1H'] b11b = 'NORA10' b11c = '11km' paths = ['%s_%s_%s_%s_%s.nc' % (b11b, hourres[vi], b11c, vars[vi], y) for vi in range(len(vars)) for y in years] commands1 = ['Rscript spatial_interpolation_part_1.R --args %s' % p for p in paths] commands2 = ['Rscript spatial_interpolation_part_2.R --args %s' % p for p in paths] commands = ['%s ; %s' % (commands1[i], commands2[i]) for i in range(len(commands1))] ncpu = 33 neach = len(commands) / ncpu + 1 added = 0 finishflag = False batchfiles = [] bi = 0 while True: bfn = 'batch%02i.sh' % bi batchfiles = batchfiles + [bfn] if (added + neach) < len(commands): out = ' ; '.join(commands[added:(added + neach)]) added = added + neach else: out = ' ; '.join(commands[added:len(commands)]) finishflag = True f = open(bfn, 'w') f.write(out) f.close() bi = bi + 1 if finishflag: break f = open('batchbatch.sh', 'w') out = ' & '.join(['bash %s' % b for b in batchfiles]) + ' &\n' f.write(out) f.close()
years = range(1988, 2000) vars = ['ta_2m', 'pr', 'psl', 'rss', 'rls', 'wss_10m', 'hur_2m', 'albedo', 'ps', 'ts_0m'] hourres = ['1H', '1H', '1H', '3H', '3H', '1H', '1H', '1H', '3H', '1H'] b11b = 'NORA10' b11c = '11km' paths = ['%s_%s_%s_%s_%s.nc' % (b11b, hourres[vi], b11c, vars[vi], y) for vi in range(len(vars)) for y in years] commands1 = ['Rscript spatial_interpolation_part_1.R --args %s' % p for p in paths] commands2 = ['Rscript spatial_interpolation_part_2.R --args %s' % p for p in paths] commands = ['%s ; %s' % (commands1[i], commands2[i]) for i in range(len(commands1))] ncpu = 33 neach = len(commands) / ncpu + 1 added = 0 finishflag = False batchfiles = [] bi = 0 while True: bfn = 'batch%02i.sh' % bi batchfiles = batchfiles + [bfn] if added + neach < len(commands): out = ' ; '.join(commands[added:added + neach]) added = added + neach else: out = ' ; '.join(commands[added:len(commands)]) finishflag = True f = open(bfn, 'w') f.write(out) f.close() bi = bi + 1 if finishflag: break f = open('batchbatch.sh', 'w') out = ' & '.join(['bash %s' % b for b in batchfiles]) + ' &\n' f.write(out) f.close()
#https://www.acmicpc.net/problem/2798 n, m = map(int, input().split()) a = list(map(int, input().split())) min_result = m answer = 0 for i in range(n): for j in range(i+1, n): for k in range(j+1, n): sum_a = a[i]+a[j]+a[k] if sum_a <= m and m-sum_a < min_result: min_result = m - (a[i] + a[j] + a[k]) answer = a[i]+a[j]+a[k] print(answer)
(n, m) = map(int, input().split()) a = list(map(int, input().split())) min_result = m answer = 0 for i in range(n): for j in range(i + 1, n): for k in range(j + 1, n): sum_a = a[i] + a[j] + a[k] if sum_a <= m and m - sum_a < min_result: min_result = m - (a[i] + a[j] + a[k]) answer = a[i] + a[j] + a[k] print(answer)
# # voice-skill-sdk # # (C) 2020, Deutsche Telekom AG # # Deutsche Telekom AG and all other contributors / # copyright owners license this file to you under the MIT # License (the "License"); you may not use this file # except in compliance with the License. # You may obtain a copy of the License at # # https://opensource.org/licenses/MIT # # Unless required by applicable law or agreed to in writing, # software distributed under the License is distributed on an # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. # __name__ = 'skill-sdk' __description__ = 'Magenta Voice Skill SDK for Python' __url__ = 'https://github.com/telekom/voice-skill-sdk/' __version__ = '0.10.4' __author__ = 'Deutsche Telekom Voicification Suite' __author_email__ = 'vineet.hingorani@telekom.de' __license__ = 'MIT' __copyright__ = 'Copyright 2020, Deutsche Telekom AG' __spi_version__ = '1.2'
__name__ = 'skill-sdk' __description__ = 'Magenta Voice Skill SDK for Python' __url__ = 'https://github.com/telekom/voice-skill-sdk/' __version__ = '0.10.4' __author__ = 'Deutsche Telekom Voicification Suite' __author_email__ = 'vineet.hingorani@telekom.de' __license__ = 'MIT' __copyright__ = 'Copyright 2020, Deutsche Telekom AG' __spi_version__ = '1.2'
class DataStream: def __init__(self, *args): self._processObjects = args; self._ports = [] self.finished = False self._executeToken = 0 for po in self._processObjects: for i in range(po.getNrOfOutputPorts()): self._ports.append(po.getOutputPort(i)) if len(self._ports) == 0: raise Exception('Can\'t create data stream (getDataStream) on a process object with 0 output ports') def __iter__(self): return self def __next__(self): if self.finished: raise StopIteration for po in self._processObjects: po.run(self._executeToken) self._executeToken += 1 result = [] for port in self._ports: data = port.getNextFrame() if data.isLastFrame(): self.finished = True result.append(data) if len(result) == 1: return result[0] else: return result
class Datastream: def __init__(self, *args): self._processObjects = args self._ports = [] self.finished = False self._executeToken = 0 for po in self._processObjects: for i in range(po.getNrOfOutputPorts()): self._ports.append(po.getOutputPort(i)) if len(self._ports) == 0: raise exception("Can't create data stream (getDataStream) on a process object with 0 output ports") def __iter__(self): return self def __next__(self): if self.finished: raise StopIteration for po in self._processObjects: po.run(self._executeToken) self._executeToken += 1 result = [] for port in self._ports: data = port.getNextFrame() if data.isLastFrame(): self.finished = True result.append(data) if len(result) == 1: return result[0] else: return result
# Day 2 - part 1 def run_intcode_computer(program): return run_program(program, 0) # Day 2 - part 2 def find_input_brute_force(program, output): for noun in range(0, 99): for verb in range(0, 99): memory = program.copy() memory[1] = noun memory[2] = verb memory = run_program(memory, 0) if memory[0] == output: return memory return "No solution found" def run_program(program, pointer): action = program[pointer] if action == 1: program[get_value(program, pointer+3)] = get_value_of_pointer(program, pointer+1) + get_value_of_pointer(program, pointer+2) return run_program(program, pointer+4) elif action == 2: program[get_value(program, pointer+3)] = get_value_of_pointer(program, pointer+1) * get_value_of_pointer(program, pointer+2) return run_program(program, pointer+4) elif action == 99: return program else: raise RuntimeError('Unknown action code', action) def get_value_of_pointer(program, address): return program[program[address]] def get_value(program, address): return program[address] def read_input_file(file_path): with open(file_path) as file: file_contents = file.read() split_contents = file_contents.split(',') content_as_int = list(map(int, split_contents)) return content_as_int def main(): program = read_input_file('day2/input.txt') computer = find_input_brute_force(program, 19690720) print(computer) main()
def run_intcode_computer(program): return run_program(program, 0) def find_input_brute_force(program, output): for noun in range(0, 99): for verb in range(0, 99): memory = program.copy() memory[1] = noun memory[2] = verb memory = run_program(memory, 0) if memory[0] == output: return memory return 'No solution found' def run_program(program, pointer): action = program[pointer] if action == 1: program[get_value(program, pointer + 3)] = get_value_of_pointer(program, pointer + 1) + get_value_of_pointer(program, pointer + 2) return run_program(program, pointer + 4) elif action == 2: program[get_value(program, pointer + 3)] = get_value_of_pointer(program, pointer + 1) * get_value_of_pointer(program, pointer + 2) return run_program(program, pointer + 4) elif action == 99: return program else: raise runtime_error('Unknown action code', action) def get_value_of_pointer(program, address): return program[program[address]] def get_value(program, address): return program[address] def read_input_file(file_path): with open(file_path) as file: file_contents = file.read() split_contents = file_contents.split(',') content_as_int = list(map(int, split_contents)) return content_as_int def main(): program = read_input_file('day2/input.txt') computer = find_input_brute_force(program, 19690720) print(computer) main()
for _ in range(int(input())): M, x, y = map(int, input().split()) cops = [int(x)-1 for x in input().split()] can_hide = [True] * 100 for c in cops: can_hide[c] = False i = 1 while i <= x * y: if c-i >= 0: can_hide[c-i] = False if c+i < 100: can_hide[c+i] = False i += 1 print(sum(can_hide))
for _ in range(int(input())): (m, x, y) = map(int, input().split()) cops = [int(x) - 1 for x in input().split()] can_hide = [True] * 100 for c in cops: can_hide[c] = False i = 1 while i <= x * y: if c - i >= 0: can_hide[c - i] = False if c + i < 100: can_hide[c + i] = False i += 1 print(sum(can_hide))
# Definition for singly-linked list. class ListNode: def __init__(self, x): self.val = x self.next = None # class Solution: # # def mergeTwoLists(self, l1: ListNode, l2: ListNode) -> ListNode: # if not l1 and not l2: # return None # if not l1 and l2: # return l2 # elif not l2 and l1: # return l1 # result = None # if l1.val > l2.val: # result = ListNode(l2.val) # l2 = l2.next # else: # result = ListNode(l1.val) # l1 = l1.next # current = result # while True: # if not l1: # current.next = l2 # return result # elif not l2: # current.next = l1 # return result # elif l1.val < l2.val: # tmp = ListNode(l1.val) # current.next = tmp # current = current.next # l1 = l1.next # else: # tmp = ListNode(l2.val) # current.next = tmp # current = current.next # l2 = l2.next # if not l1 and not l2: # return result class Solution: def mergeTwoLists(self, l1: ListNode, l2: ListNode) -> ListNode: if not l1: return l2 if not l2: return l1 if l1.val < l2.val: l1.next = self.mergeTwoLists(l1.next, l2) return l1 else: l2.next = self.mergeTwoLists(l1, l2.next) return l2 l11 = ListNode(1) l12 = ListNode(2) l11.next = l12 l3 = ListNode(4) l12.next = l3 l6 = ListNode(1) l4 = ListNode(3) l6.next = l4 l5 = ListNode(4) l4.next = l5 s = Solution() res = s.mergeTwoLists(l11, l6) while res: print(res.val, end='-') res = res.next
class Listnode: def __init__(self, x): self.val = x self.next = None class Solution: def merge_two_lists(self, l1: ListNode, l2: ListNode) -> ListNode: if not l1: return l2 if not l2: return l1 if l1.val < l2.val: l1.next = self.mergeTwoLists(l1.next, l2) return l1 else: l2.next = self.mergeTwoLists(l1, l2.next) return l2 l11 = list_node(1) l12 = list_node(2) l11.next = l12 l3 = list_node(4) l12.next = l3 l6 = list_node(1) l4 = list_node(3) l6.next = l4 l5 = list_node(4) l4.next = l5 s = solution() res = s.mergeTwoLists(l11, l6) while res: print(res.val, end='-') res = res.next
class Foo: x y = 123 def bar(self): self.z self.baz = 456
class Foo: x y = 123 def bar(self): self.z self.baz = 456
def fakulteta(n): zmnozek = 1 for x in range(1,n+1): zmnozek *= x return zmnozek def vsota_stevk_fakultete(n): fakul = fakulteta(n) vsota = 0 while fakul > 0: vsota += fakul % 10 fakul //= 10 return vsota vsota_stevk_fakultete(100)
def fakulteta(n): zmnozek = 1 for x in range(1, n + 1): zmnozek *= x return zmnozek def vsota_stevk_fakultete(n): fakul = fakulteta(n) vsota = 0 while fakul > 0: vsota += fakul % 10 fakul //= 10 return vsota vsota_stevk_fakultete(100)
# number calculation x=3+6 print(x) # x=x+1 # update the variable by +1 x+=1 # x=x+1 print(x) print ("////////////////////////////////////////////////////") # String calculation str1="Hello" *3 str2="Hell\"o" str3="Hello"+"World" str4="Hello\nWorld" print(str1) print(str2) print(str3) print(str4) print ("////////////////////////////////////////////////////") # String will numbered by 0,1,2,3.... print(str1[0]) print(str1[1:4]) print(str1[1:]) print(str1[:4])
x = 3 + 6 print(x) x += 1 print(x) print('////////////////////////////////////////////////////') str1 = 'Hello' * 3 str2 = 'Hell"o' str3 = 'Hello' + 'World' str4 = 'Hello\nWorld' print(str1) print(str2) print(str3) print(str4) print('////////////////////////////////////////////////////') print(str1[0]) print(str1[1:4]) print(str1[1:]) print(str1[:4])
#!/usr/bin/env python # coding: utf-8 # * Validate hexadecimal in range (0, 2**16):<br> # * 1. at least one and not more than 4 hexdigits in one chunk # * 2. only hexdigits are allowed: 0-9, a-f, A-F # # valid ipv6 ="18:36:F3:98:4F:9A" # In[1]: # Validate hexadecimal in range (0, 2**16): # 1. at least one and not more than 4 hexdigits in one chunk # 2. only hexdigits are allowed: 0-9, a-f, A-F def valid_ipv4(ls): items=ls.split(":") if len(items) == 0 or len(items) >6: return False valid="0123456789abcdefABCDEF" for item in items: if len(item) == 0 or len(item) > 4 or not all(ch in valid for ch in item): return False return True print(valid_ipv4("18:36:F3:98:4F:9A"))
def valid_ipv4(ls): items = ls.split(':') if len(items) == 0 or len(items) > 6: return False valid = '0123456789abcdefABCDEF' for item in items: if len(item) == 0 or len(item) > 4 or (not all((ch in valid for ch in item))): return False return True print(valid_ipv4('18:36:F3:98:4F:9A'))
print ("Both parties agree to a single prime") prime=int(input("Enter the prime number to be considered: ")) # Primitive root to be used use print ("Both must agree with single primitive root to use") root=int(input("Enter the primitive root: ")) # Party1 chooses a secret number alicesecret=int(input("Enter a secret number for Party1: ")) # Party2 chooses a secret number (bs) bobsecret=int(input("Enter a secret number for Party2: ")) print("\n") # Party1 public key A=(root^alicesecret)*mod(prime) print ("Party1's public key -> A = root^alicesecre*mod(prime))") alicepublic=(root**alicesecret)%prime print ("Party1 public key is: ",alicepublic, "\n") # Party2 public key B=(root^bobsecret)*mod(prime) print ("Party2's public key -> B = root^bobsecret*)mod(prime))") bobpublic=(root**bobsecret)%prime print ("Party2 public key is", bobpublic, "\n") # Party1 and Party2 exchange their public keys # Eve(attacker) nows both parties public keys # Party1 now calculates the shared key K: # K = B^(alicesecret)*mod(prime) print ("Party1 calculates the shared key as K=B^alicesecret*(mod(prime))") alicekey=(bobpublic**alicesecret)%prime print ("Party1 calculates the shared key and results: ",alicekey, "\n") # Party2 calculates the shared key K: # K = A^(bobsecret)*mod(prime) print ("Party2 calculates the shared key as K = A^bobsecret*(mod(prime))") bobkey =(alicepublic**bobsecret)%prime print ("Party2 calculates the shared key and gets", bobkey, "\n") #Both Alice and Bob now share a key which Eve cannot calculate print ("Attacker does not know the shared private key that Party1 & Party2 can now use") ''' ----------OUTPUT---------- Both parties agree to a single prime Enter the prime number to be considered: 31 Both must agree with single primitive root to use Enter the primitive root: 11 Enter a secret number for Party1: 98 Enter a secret number for Party2: 60 Party1's public key -> A = root^alicesecre*mod(prime)) Party1 public key is: 19 Party2's public key -> B = root^bobsecret*)mod(prime)) Party2 public key is 1 Party1 calculates the shared key as K=B^alicesecret*(mod(prime)) Party1 calculates the shared key and results: 1 Party2 calculates the shared key as K = A^bobsecret*(mod(prime)) Party2 calculates the shared key and gets 1 Attacker does not know the shared private key that Party1 & Party2 can now use >>> ''' ''' Took help from: 1. https://sublimerobots.com/2015/01/simple-diffie-hellman-example-python/ 2. https://trinket.io/python/d574095364 3. https://www.wolframalpha.com/widgets/view.jsp?id=ef51422db7db201ebc03c8800f41ba99 Thanks for the help ! '''
print('Both parties agree to a single prime') prime = int(input('Enter the prime number to be considered: ')) print('Both must agree with single primitive root to use') root = int(input('Enter the primitive root: ')) alicesecret = int(input('Enter a secret number for Party1: ')) bobsecret = int(input('Enter a secret number for Party2: ')) print('\n') print("Party1's public key -> A = root^alicesecre*mod(prime))") alicepublic = root ** alicesecret % prime print('Party1 public key is: ', alicepublic, '\n') print("Party2's public key -> B = root^bobsecret*)mod(prime))") bobpublic = root ** bobsecret % prime print('Party2 public key is', bobpublic, '\n') print('Party1 calculates the shared key as K=B^alicesecret*(mod(prime))') alicekey = bobpublic ** alicesecret % prime print('Party1 calculates the shared key and results: ', alicekey, '\n') print('Party2 calculates the shared key as K = A^bobsecret*(mod(prime))') bobkey = alicepublic ** bobsecret % prime print('Party2 calculates the shared key and gets', bobkey, '\n') print('Attacker does not know the shared private key that Party1 & Party2 can now use') "\n----------OUTPUT----------\nBoth parties agree to a single prime\nEnter the prime number to be considered: 31\nBoth must agree with single primitive root to use\nEnter the primitive root: 11\nEnter a secret number for Party1: 98\nEnter a secret number for Party2: 60\n\n\nParty1's public key -> A = root^alicesecre*mod(prime))\nParty1 public key is: 19 \n\nParty2's public key -> B = root^bobsecret*)mod(prime))\nParty2 public key is 1 \n\nParty1 calculates the shared key as K=B^alicesecret*(mod(prime))\nParty1 calculates the shared key and results: 1 \n\nParty2 calculates the shared key as K = A^bobsecret*(mod(prime))\nParty2 calculates the shared key and gets 1 \n\nAttacker does not know the shared private key that Party1 & Party2 can now use\n>>> \n" '\nTook help from:\n1. https://sublimerobots.com/2015/01/simple-diffie-hellman-example-python/\n2. https://trinket.io/python/d574095364\n3. https://www.wolframalpha.com/widgets/view.jsp?id=ef51422db7db201ebc03c8800f41ba99\nThanks for the help !\n'
blueprint = [] h = 10 w = 8 ID = 1 roofSize = 3 for wi in range(w+1): blueprint.append((0,wi,5,6)) for hi in range(1,4): for wi in range(1,w): blueprint.append((hi,wi,16,8)) blueprint.append((hi,0,20,10)) blueprint.append((hi,w,20,10)) for hi in range(4,h-roofSize): blueprint.append((hi,0,5,6)) for wi in range(1,w): blueprint.append((hi,wi,16,8)) blueprint.append((hi,wi+1,5,6)) off = 2 for roof in range(hi+1,h): for wi in range(off//2,(w- (off//2)) + 1): blueprint.append((roof,wi,5,6)) off += 2
blueprint = [] h = 10 w = 8 id = 1 roof_size = 3 for wi in range(w + 1): blueprint.append((0, wi, 5, 6)) for hi in range(1, 4): for wi in range(1, w): blueprint.append((hi, wi, 16, 8)) blueprint.append((hi, 0, 20, 10)) blueprint.append((hi, w, 20, 10)) for hi in range(4, h - roofSize): blueprint.append((hi, 0, 5, 6)) for wi in range(1, w): blueprint.append((hi, wi, 16, 8)) blueprint.append((hi, wi + 1, 5, 6)) off = 2 for roof in range(hi + 1, h): for wi in range(off // 2, w - off // 2 + 1): blueprint.append((roof, wi, 5, 6)) off += 2
def divide(n1 , n2): try: return n1 / n2 except ZeroDivisionError as error: print('Log: ', error) raise try: print(divide(2,0)) except ZeroDivisionError as error: print(error)
def divide(n1, n2): try: return n1 / n2 except ZeroDivisionError as error: print('Log: ', error) raise try: print(divide(2, 0)) except ZeroDivisionError as error: print(error)
class Test: def __init__(self, *args, **kwargs) -> None: self.args = args self.kwargs = kwargs def test_func(self) -> None: self.args = 'Nothing' class Test2(Test): def __init__(self, *args, **kwargs) -> None: super().__init__(*args, **kwargs) obj0 = Test(0, test=1) obj1 = Test2(0, test=3) print(obj0.args, obj0.kwargs) print(obj1.args, obj1.kwargs) obj0.test_func() obj1.test_func() print(obj0.args, obj0.kwargs) print(obj1.args, obj1.kwargs)
class Test: def __init__(self, *args, **kwargs) -> None: self.args = args self.kwargs = kwargs def test_func(self) -> None: self.args = 'Nothing' class Test2(Test): def __init__(self, *args, **kwargs) -> None: super().__init__(*args, **kwargs) obj0 = test(0, test=1) obj1 = test2(0, test=3) print(obj0.args, obj0.kwargs) print(obj1.args, obj1.kwargs) obj0.test_func() obj1.test_func() print(obj0.args, obj0.kwargs) print(obj1.args, obj1.kwargs)
# Reads a list of integers num_iterations = int(input()) list_items = [] for element in range(num_iterations): list_items.append(int(input())) result = 0 for element in list_items: result += element print(result)
num_iterations = int(input()) list_items = [] for element in range(num_iterations): list_items.append(int(input())) result = 0 for element in list_items: result += element print(result)
class Animals: AnimalsType = "Mammal" class Pets(Animals): Color = "Multicolor" class Dogs(Pets): @staticmethod def barks(): print("Bow Bow!!") d = Dogs() d.barks() d.barks()
class Animals: animals_type = 'Mammal' class Pets(Animals): color = 'Multicolor' class Dogs(Pets): @staticmethod def barks(): print('Bow Bow!!') d = dogs() d.barks() d.barks()