content
stringlengths
7
1.05M
fixed_cases
stringlengths
1
1.28M
class Subtraction: print('Test Subtraction class') def __init__(self, x, y): self.x = x self.y = y print('This is Subtraction function and result of your numbers is : ', x-y)
class Subtraction: print('Test Subtraction class') def __init__(self, x, y): self.x = x self.y = y print('This is Subtraction function and result of your numbers is : ', x - y)
# number = input('Enter a Number') # w, x, y, z = 5, 10, 10, 20 # if w > x: # print('x equals y') # elif w < y: # print('Second Condition') # elif x == y: # print('Third Condition') # else: # print('Everything is False') # username = 'qaidjohar' # password = 'qwerty' # if not 5 == 5: # if (username == 'qaidjohar' and password == 'qwerty'): # print('You are logged in') # print(f'Welcome {username}') # print('xxsdsds') # else: # print('Invalid Username/Passowrd') # else: # print('5 is not equal') # From 1 to 8: You have to Pay 500 # From 8 to 50: You have to Pay 800 # Above 50: You have to Pay 300 # Input: Enter Your Age print("****Welcome To QJ Amusement Park****") age = int(input("Enter You Age: ")) # if age <= 8: # print('Your ticket is Rs.500') # elif age > 8 and age <= 50: # print('Your ticket is Rs.800') # else: # print('Your ticket is Rs. 300') if age <= 8: print('Your ticket is Rs.500') elif age <= 50: print('Your ticket is Rs.800') else: print('Your ticket is Rs. 300')
print('****Welcome To QJ Amusement Park****') age = int(input('Enter You Age: ')) if age <= 8: print('Your ticket is Rs.500') elif age <= 50: print('Your ticket is Rs.800') else: print('Your ticket is Rs. 300')
paths = \ [dict(steering_angle = -20, target_angle = -20, coords = \ [[0, 53, 91, 97], [0, 64, 97, 107], [15, 76, 107, 119], [33, 86, 119, 132], [47, 95, 132, 146], [59, 102, 146, 160], [69, 108, 160, 175], [76, 112, 175, 190]]), dict(steering_angle = -15, target_angle = -15, coords = \ [[0, 52, 34, 54], [15, 67, 54, 73], [33, 79, 73, 93], [47, 89, 93, 112], [58, 97, 112, 132], [67, 104, 132, 151], [75, 109, 151, 171], [80, 112, 171, 190]]), dict(steering_angle = -7, target_angle = -5, coords = \ [[49, 83, 2, 26], [57, 90, 26, 49], [64, 95, 49, 73], [70, 100, 73, 96], [75, 105, 96, 120], [79, 108, 120, 143], [83, 111, 143, 167], [85, 112, 167, 190]]), dict(steering_angle = 0, target_angle = 0, coords = \ [[88, 112, 2, 26], [88, 112, 26, 49], [88, 112, 49, 73], [88, 112, 73, 96], [88, 112, 96, 120], [88, 112, 120, 143], [88, 112, 143, 167], [88, 112, 167, 190]]), dict(steering_angle = 7, target_angle = 5, coords = \ [[117, 151, 2, 26], [110, 143, 26, 49], [105, 136, 49, 73], [100, 130, 73, 96], [95, 125, 96, 120], [92, 121, 120, 143], [90, 117, 143, 167], [88, 115, 167, 190]]), dict(steering_angle = 15, target_angle = 15, coords = \ [[148, 200, 34, 54], [133, 185, 54, 73], [121, 168, 73, 93], [111, 153, 93, 112], [103, 142, 112, 132], [96, 133, 132, 151], [91, 125, 151, 171], [88, 120, 171, 190]]), dict(steering_angle = 20, target_angle = 20, coords = \ [[147, 200, 91, 97], [136, 200, 97, 107], [124, 186, 107, 119], [114, 167, 119, 132], [105, 153, 132, 146], [98, 141, 146, 160], [92, 131, 160, 175], [88, 124, 175, 190]])]
paths = [dict(steering_angle=-20, target_angle=-20, coords=[[0, 53, 91, 97], [0, 64, 97, 107], [15, 76, 107, 119], [33, 86, 119, 132], [47, 95, 132, 146], [59, 102, 146, 160], [69, 108, 160, 175], [76, 112, 175, 190]]), dict(steering_angle=-15, target_angle=-15, coords=[[0, 52, 34, 54], [15, 67, 54, 73], [33, 79, 73, 93], [47, 89, 93, 112], [58, 97, 112, 132], [67, 104, 132, 151], [75, 109, 151, 171], [80, 112, 171, 190]]), dict(steering_angle=-7, target_angle=-5, coords=[[49, 83, 2, 26], [57, 90, 26, 49], [64, 95, 49, 73], [70, 100, 73, 96], [75, 105, 96, 120], [79, 108, 120, 143], [83, 111, 143, 167], [85, 112, 167, 190]]), dict(steering_angle=0, target_angle=0, coords=[[88, 112, 2, 26], [88, 112, 26, 49], [88, 112, 49, 73], [88, 112, 73, 96], [88, 112, 96, 120], [88, 112, 120, 143], [88, 112, 143, 167], [88, 112, 167, 190]]), dict(steering_angle=7, target_angle=5, coords=[[117, 151, 2, 26], [110, 143, 26, 49], [105, 136, 49, 73], [100, 130, 73, 96], [95, 125, 96, 120], [92, 121, 120, 143], [90, 117, 143, 167], [88, 115, 167, 190]]), dict(steering_angle=15, target_angle=15, coords=[[148, 200, 34, 54], [133, 185, 54, 73], [121, 168, 73, 93], [111, 153, 93, 112], [103, 142, 112, 132], [96, 133, 132, 151], [91, 125, 151, 171], [88, 120, 171, 190]]), dict(steering_angle=20, target_angle=20, coords=[[147, 200, 91, 97], [136, 200, 97, 107], [124, 186, 107, 119], [114, 167, 119, 132], [105, 153, 132, 146], [98, 141, 146, 160], [92, 131, 160, 175], [88, 124, 175, 190]])]
tests = int(input()) for _ in range(tests): data = [float(num) for num in input().split()] sum = 2*data[0]+3*data[1]+5*data[2] print("%0.1f" % (sum/10))
tests = int(input()) for _ in range(tests): data = [float(num) for num in input().split()] sum = 2 * data[0] + 3 * data[1] + 5 * data[2] print('%0.1f' % (sum / 10))
# Append at the end of /etc/mailman/mm_cfg.py DEFAULT_ARCHIVE = Off DEFAULT_REPLY_GOES_TO_LIST = 1 DEFAULT_SUBSCRIBE_POLICY = 3 DEFAULT_MAX_NUM_RECIPIENTS = 30 DEFAULT_MAX_MESSAGE_SIZE = 10000 # KB
default_archive = Off default_reply_goes_to_list = 1 default_subscribe_policy = 3 default_max_num_recipients = 30 default_max_message_size = 10000
class Palindrome: def __init__(self, word, start, end): self.word = word self.start = int(start / 2) self.end = int(end / 2) def __str__(self): return self.word + " " + str(self.start) + " " + str(self.end) + "\n"
class Palindrome: def __init__(self, word, start, end): self.word = word self.start = int(start / 2) self.end = int(end / 2) def __str__(self): return self.word + ' ' + str(self.start) + ' ' + str(self.end) + '\n'
# -*- coding: utf-8 -*- dictTempoMusica = dict({"W":1,"H":1/2,"Q":1/4,"E":1/8,"S":1/16,"T":1/32,"X":1/64}) listSeqCompasso = list(map(str, input().split("/"))) while listSeqCompasso[0] != "*": listSeqCompasso.pop(0) listSeqCompasso.pop(-1) qntCompassoDuracaoCorreta = 0 for compasso in listSeqCompasso: duracaoCompasso = 0 for tempo in compasso: duracaoCompasso += dictTempoMusica[tempo] if duracaoCompasso == 1: qntCompassoDuracaoCorreta += 1 print(qntCompassoDuracaoCorreta) listSeqCompasso = list(map(str, input().split("/")))
dict_tempo_musica = dict({'W': 1, 'H': 1 / 2, 'Q': 1 / 4, 'E': 1 / 8, 'S': 1 / 16, 'T': 1 / 32, 'X': 1 / 64}) list_seq_compasso = list(map(str, input().split('/'))) while listSeqCompasso[0] != '*': listSeqCompasso.pop(0) listSeqCompasso.pop(-1) qnt_compasso_duracao_correta = 0 for compasso in listSeqCompasso: duracao_compasso = 0 for tempo in compasso: duracao_compasso += dictTempoMusica[tempo] if duracaoCompasso == 1: qnt_compasso_duracao_correta += 1 print(qntCompassoDuracaoCorreta) list_seq_compasso = list(map(str, input().split('/')))
def decode(message): first_4 = message[:4] first = add_ordinals(message[0], message[-1]) second = add_ordinals(message[1], message[0]) third = add_ordinals(message[2], message[1]) fourth = add_ordinals(message[3], message[2]) fifth = add_ordinals(message[-4], message[-5]) sixth = add_ordinals(message[-3], message[-4]) seventh = add_ordinals(message[-2], message[-3]) eight = add_ordinals(message[-1], message[-2]) new_message = "" new_message += convert_to_char(first) new_message += convert_to_char(second) new_message += convert_to_char(third) new_message += convert_to_char(fourth) new_message += convert_to_char(fifth) new_message += convert_to_char(sixth) new_message += convert_to_char(seventh) new_message += convert_to_char(eight) return new_message def add_ordinals(ord1, ord2): sum = ord(ord1) + ord(ord2) while sum < 97: sum += ord(ord2) return sum def convert_to_char(num): while num > 122: num -= 26 return chr(num) def main(): message = input() sig = input() decoded = decode(message) if decoded == sig: print(f"{sig} equals {sig}") print("Gru") else: print(f"{decoded} does not equal {sig}") print("Not Gru") if __name__ == "__main__": main()
def decode(message): first_4 = message[:4] first = add_ordinals(message[0], message[-1]) second = add_ordinals(message[1], message[0]) third = add_ordinals(message[2], message[1]) fourth = add_ordinals(message[3], message[2]) fifth = add_ordinals(message[-4], message[-5]) sixth = add_ordinals(message[-3], message[-4]) seventh = add_ordinals(message[-2], message[-3]) eight = add_ordinals(message[-1], message[-2]) new_message = '' new_message += convert_to_char(first) new_message += convert_to_char(second) new_message += convert_to_char(third) new_message += convert_to_char(fourth) new_message += convert_to_char(fifth) new_message += convert_to_char(sixth) new_message += convert_to_char(seventh) new_message += convert_to_char(eight) return new_message def add_ordinals(ord1, ord2): sum = ord(ord1) + ord(ord2) while sum < 97: sum += ord(ord2) return sum def convert_to_char(num): while num > 122: num -= 26 return chr(num) def main(): message = input() sig = input() decoded = decode(message) if decoded == sig: print(f'{sig} equals {sig}') print('Gru') else: print(f'{decoded} does not equal {sig}') print('Not Gru') if __name__ == '__main__': main()
_empty = [] _simple = [1, 2, 3] _complex = [{"value": 1}, {"value": 2}, {"value": 3}] _locations = [ ("Scotland", "Edinburgh", "Branch1", 20000), ("Scotland", "Glasgow", "Branch1", 12500), ("Scotland", "Glasgow", "Branch2", 12000), ("Wales", "Cardiff", "Branch1", 29700), ("Wales", "Cardiff", "Branch2", 30000), ("Wales", "Bangor", "Branch1", 12800), ("England", "London", "Branch1", 90000), ("England", "London", "Branch2", 80000), ("England", "London", "Branch3", 70000), ("England", "Manchester", "Branch1", 45600), ("England", "Manchester", "Branch2", 50000), ("England", "Liverpool", "Branch1", 29700), ("England", "Liverpool", "Branch2", 25000), ]
_empty = [] _simple = [1, 2, 3] _complex = [{'value': 1}, {'value': 2}, {'value': 3}] _locations = [('Scotland', 'Edinburgh', 'Branch1', 20000), ('Scotland', 'Glasgow', 'Branch1', 12500), ('Scotland', 'Glasgow', 'Branch2', 12000), ('Wales', 'Cardiff', 'Branch1', 29700), ('Wales', 'Cardiff', 'Branch2', 30000), ('Wales', 'Bangor', 'Branch1', 12800), ('England', 'London', 'Branch1', 90000), ('England', 'London', 'Branch2', 80000), ('England', 'London', 'Branch3', 70000), ('England', 'Manchester', 'Branch1', 45600), ('England', 'Manchester', 'Branch2', 50000), ('England', 'Liverpool', 'Branch1', 29700), ('England', 'Liverpool', 'Branch2', 25000)]
MYSQL_DB = 'edxapp' MYSQL_USER = 'root' MYSQL_PSWD = '' MONGO_DB = 'edxapp' MONGO_DISCUSSION_DB = 'cs_comments_service_development'
mysql_db = 'edxapp' mysql_user = 'root' mysql_pswd = '' mongo_db = 'edxapp' mongo_discussion_db = 'cs_comments_service_development'
# coding: utf-8 class DataBatch: def __init__(self, torch_module): self._data = [] self._label = [] self.torch_module = torch_module def append_data(self, new_data): self._data.append(self.__as_tensor(new_data)) def append_label(self, new_label): self._label.append(self.__as_tensor(new_label)) def __as_tensor(self, in_data): return self.torch_module.from_numpy(in_data) @property def data(self): return self._data @property def label(self): return self._label
class Databatch: def __init__(self, torch_module): self._data = [] self._label = [] self.torch_module = torch_module def append_data(self, new_data): self._data.append(self.__as_tensor(new_data)) def append_label(self, new_label): self._label.append(self.__as_tensor(new_label)) def __as_tensor(self, in_data): return self.torch_module.from_numpy(in_data) @property def data(self): return self._data @property def label(self): return self._label
def find(A): low = 0 high = len(A) - 1 while low < high: mid = (low + high) // 2 if A[mid] > A[high]: low = mid + 1 elif A[mid] <= A[high]: high = mid return low A = [4, 5, 6, 7, 1, 2, 3] idx = find(A) print(A[idx])
def find(A): low = 0 high = len(A) - 1 while low < high: mid = (low + high) // 2 if A[mid] > A[high]: low = mid + 1 elif A[mid] <= A[high]: high = mid return low a = [4, 5, 6, 7, 1, 2, 3] idx = find(A) print(A[idx])
class ladder: def __init__(self): self.start=0 self.end=0
class Ladder: def __init__(self): self.start = 0 self.end = 0
#$Id: embed_pythonLib.py,v 1.3 2010/10/05 19:24:18 jrb Exp $ def generate(env, **kw): if not kw.get('depsOnly',0): env.Tool('addLibrary', library = ['embed_python']) if env['PLATFORM'] == 'posix': env.AppendUnique(LINKFLAGS = ['-rdynamic']) if env['PLATFORM'] == "win32" and env.get('CONTAINERNAME','') == 'GlastRelease': env.Tool('findPkgPath', package = 'embed_python') env.Tool('addLibrary', library = env['pythonLibs']) # No need for incsOnly section def exists(env): return 1
def generate(env, **kw): if not kw.get('depsOnly', 0): env.Tool('addLibrary', library=['embed_python']) if env['PLATFORM'] == 'posix': env.AppendUnique(LINKFLAGS=['-rdynamic']) if env['PLATFORM'] == 'win32' and env.get('CONTAINERNAME', '') == 'GlastRelease': env.Tool('findPkgPath', package='embed_python') env.Tool('addLibrary', library=env['pythonLibs']) def exists(env): return 1
# -*- coding: utf-8 -*- # Copyright by BlueWhale. All Rights Reserved. class ValidateError(ValueError): def __init__(self, val, msg: str, *args): super().__init__(val, msg, *args) self.__val = val self.__msg = msg @property def val(self): return self.__val @property def msg(self): return self.__msg class FieldSetError(RuntimeError): def __init__(self, field_name: str, val, msg: str, *args): super().__init__(field_name, val, msg, *args) self.__field_name = field_name self.__val = val self.__msg = msg @property def field_name(self): return self.__field_name @property def val(self): return self.__val @property def msg(self): return self.__msg
class Validateerror(ValueError): def __init__(self, val, msg: str, *args): super().__init__(val, msg, *args) self.__val = val self.__msg = msg @property def val(self): return self.__val @property def msg(self): return self.__msg class Fieldseterror(RuntimeError): def __init__(self, field_name: str, val, msg: str, *args): super().__init__(field_name, val, msg, *args) self.__field_name = field_name self.__val = val self.__msg = msg @property def field_name(self): return self.__field_name @property def val(self): return self.__val @property def msg(self): return self.__msg
def setup(): #this is your canvas size size(1000,1000) #fill(34,45,56,23) #background(192, 64, 0) stroke(255) colorMode(RGB) strokeWeight(1) #rect(150,150,150,150) def draw(): x=mouseX y=mouseY ix=width-x iy=height-y px=pmouseX py=pmouseY background(0,0,0) #rect(150,150,150,150) strokeWeight(5) line(x,y,ix,iy) #line(x,y,px,py) strokeWeight(120) point(40,x) if (mousePressed == True): if (mouseButton == LEFT): fill(196,195,106,255) #box(200,500,500) strokeWeight(0) rectMode(CENTER) rect(height/2,width/2,ix,100) strokeWeight(0) fill(144,135,145) rectMode(CORNERS) rect(mouseX-10,iy-10,width/2,height/2) fill(155,211,211) rectMode(CORNER) rect(mouseX,mouseY,50,50) fill(205,126,145) ellipseMode(CORNER) ellipse(px,py,35,35) #colorMode(RGB,100,100,100,100) fill(80,98,173,188) ellipseMode(CORNERS) ellipse(x*.75,y*.75,35,35) frameRate(12) println(str(mouseX)+"."+str(mouseY)) println(pmouseX-mouseX) print("why is it there?") if (x>500): fill(255,160) rect(0,0,x,height) else: fill(255,160) rect(0,0,width-ix,height) if ((x>250) and (x<500) and (y>500) and (y<1000)): fill(255) rect(250,500,250,500) fill(245,147,188) rectMode(CORNER) rect(mouseX,mouseY,50,50) if ((x>0) and (x<250) and (y>500) and (y<1000)): fill(255) rect(0,500,250,500) fill(20,126,145) ellipseMode(CORNER) ellipse(px,py,35,35) if (mousePressed and (x>500)): background(255,255,255) fill(200) rectMode(CENTER) rect(width/2,height/2,500,500) #colorMode(RGB,100,100,100,100) ellipseMode(CORNERS) fill(170,170,170,255) strokeWeight(4) ellipse(width/2-125,height/2-125,width/2-75,height/2-75) ellipse(width/2+75,height/2-125,width/2+125,height/2-75) a = width/2 b = height/2 strokeWeight(7) noFill() curve(a-125,1.4*b-125,a-50,1.4*b-95,a+50,1.4*b-95,a+125,1.4*b-125)
def setup(): size(1000, 1000) stroke(255) color_mode(RGB) stroke_weight(1) def draw(): x = mouseX y = mouseY ix = width - x iy = height - y px = pmouseX py = pmouseY background(0, 0, 0) stroke_weight(5) line(x, y, ix, iy) stroke_weight(120) point(40, x) if mousePressed == True: if mouseButton == LEFT: fill(196, 195, 106, 255) stroke_weight(0) rect_mode(CENTER) rect(height / 2, width / 2, ix, 100) stroke_weight(0) fill(144, 135, 145) rect_mode(CORNERS) rect(mouseX - 10, iy - 10, width / 2, height / 2) fill(155, 211, 211) rect_mode(CORNER) rect(mouseX, mouseY, 50, 50) fill(205, 126, 145) ellipse_mode(CORNER) ellipse(px, py, 35, 35) fill(80, 98, 173, 188) ellipse_mode(CORNERS) ellipse(x * 0.75, y * 0.75, 35, 35) frame_rate(12) println(str(mouseX) + '.' + str(mouseY)) println(pmouseX - mouseX) print('why is it there?') if x > 500: fill(255, 160) rect(0, 0, x, height) else: fill(255, 160) rect(0, 0, width - ix, height) if x > 250 and x < 500 and (y > 500) and (y < 1000): fill(255) rect(250, 500, 250, 500) fill(245, 147, 188) rect_mode(CORNER) rect(mouseX, mouseY, 50, 50) if x > 0 and x < 250 and (y > 500) and (y < 1000): fill(255) rect(0, 500, 250, 500) fill(20, 126, 145) ellipse_mode(CORNER) ellipse(px, py, 35, 35) if mousePressed and x > 500: background(255, 255, 255) fill(200) rect_mode(CENTER) rect(width / 2, height / 2, 500, 500) ellipse_mode(CORNERS) fill(170, 170, 170, 255) stroke_weight(4) ellipse(width / 2 - 125, height / 2 - 125, width / 2 - 75, height / 2 - 75) ellipse(width / 2 + 75, height / 2 - 125, width / 2 + 125, height / 2 - 75) a = width / 2 b = height / 2 stroke_weight(7) no_fill() curve(a - 125, 1.4 * b - 125, a - 50, 1.4 * b - 95, a + 50, 1.4 * b - 95, a + 125, 1.4 * b - 125)
def binary_search(coll, elem): low = 0 high = len(coll) - 1 while low <= high: middle = (low + high) // 2 guess = coll[middle] if guess == elem: return middle if guess > elem: high = middle - 1 else: low = middle + 1 return None print(binary_search([1, 3, 5, 7, 9], 0)) print(binary_search([1, 3, 5, 7, 9], 7))
def binary_search(coll, elem): low = 0 high = len(coll) - 1 while low <= high: middle = (low + high) // 2 guess = coll[middle] if guess == elem: return middle if guess > elem: high = middle - 1 else: low = middle + 1 return None print(binary_search([1, 3, 5, 7, 9], 0)) print(binary_search([1, 3, 5, 7, 9], 7))
# Time Complexity => O(n^2 + log n) ; log n for sorting class Solution: def threeSum(self, nums: List[int]) -> List[List[int]]: output = [] nums.sort() for i in range(len(nums)-2): if i>0 and nums[i]==nums[i-1]: continue j = i+1 k = len(nums)-1 while j<k: temp = nums[i] + nums[j] + nums[k] if temp == 0: output.append([nums[i],nums[j],nums[k]]) while j<k and nums[j]==nums[j+1]: j+=1 while j<k and nums[k]==nums[k-1]: k-=1 j+=1 k-=1 elif temp>0: k-=1 else: j+=1 return output
class Solution: def three_sum(self, nums: List[int]) -> List[List[int]]: output = [] nums.sort() for i in range(len(nums) - 2): if i > 0 and nums[i] == nums[i - 1]: continue j = i + 1 k = len(nums) - 1 while j < k: temp = nums[i] + nums[j] + nums[k] if temp == 0: output.append([nums[i], nums[j], nums[k]]) while j < k and nums[j] == nums[j + 1]: j += 1 while j < k and nums[k] == nums[k - 1]: k -= 1 j += 1 k -= 1 elif temp > 0: k -= 1 else: j += 1 return output
# input 3 number and calculate middle number def Middle_3Num_Calc(a, b, c): if a >= b: if b >= c: return b elif a <= c: return a else: return c elif a > c: return a elif b > c: return c else: return b def Middle_3Num_Calc_ver2(a, b, c): if (b >= a and c <= a) or (b <= a and c >= a): return a elif (a > b and c < b) or (a < b and c > b): return b return c print('Calculate middle number') a = int(input('Num a: ')) b = int(input('Num b: ')) c = int(input('Num c: ')) print(f'Middle Num is {Middle_3Num_Calc(a, b, c)}.')
def middle_3_num__calc(a, b, c): if a >= b: if b >= c: return b elif a <= c: return a else: return c elif a > c: return a elif b > c: return c else: return b def middle_3_num__calc_ver2(a, b, c): if b >= a and c <= a or (b <= a and c >= a): return a elif a > b and c < b or (a < b and c > b): return b return c print('Calculate middle number') a = int(input('Num a: ')) b = int(input('Num b: ')) c = int(input('Num c: ')) print(f'Middle Num is {middle_3_num__calc(a, b, c)}.')
# -*- coding: utf-8 -*- class Null(object): def __init__(self, *args, **kwargs): return None def __call__(self, *args, **kwargs): return self def __getattr__(self, name): return self def __setattr__(self, name, value): return self def __delattr__(self, name): return self def __repr__(self): return "<Null>" def __str__(self): return "Null"
class Null(object): def __init__(self, *args, **kwargs): return None def __call__(self, *args, **kwargs): return self def __getattr__(self, name): return self def __setattr__(self, name, value): return self def __delattr__(self, name): return self def __repr__(self): return '<Null>' def __str__(self): return 'Null'
batch_size = 32 epochs = 200 lr = 0.01 momentum = 0.9 no_cuda =False cuda_id = '0' seed = 1 log_interval = 10 l2_decay = 5e-4 class_num = 31 param = 0.3 bottle_neck = True root_path = "/data/zhuyc/OFFICE31/" source_name = "dslr" target_name = "amazon"
batch_size = 32 epochs = 200 lr = 0.01 momentum = 0.9 no_cuda = False cuda_id = '0' seed = 1 log_interval = 10 l2_decay = 0.0005 class_num = 31 param = 0.3 bottle_neck = True root_path = '/data/zhuyc/OFFICE31/' source_name = 'dslr' target_name = 'amazon'
def solution(record): Change = "Change" entry = {"Enter": " entered .", "Leave": " left." } recs = [] for r in record: r = r.split(" ") recs.append(r) # Change user id for all record first. for r in recs: uid = "" nickname = "" if (Change in r): uid = r[1] nickname = r[2] for r in recs: if (uid in r): r[2] = nickname # Create user data db - {"uid": "nickname"} user_db = {} for r in recs: user_db[r[1]] = r[-1] answer = [] for r in recs: if (Change not in r): message = "" message = f"{user_db[r[1]]}{entry[r[0]]}" answer.append(message) print(message) return answer
def solution(record): change = 'Change' entry = {'Enter': ' entered .', 'Leave': ' left.'} recs = [] for r in record: r = r.split(' ') recs.append(r) for r in recs: uid = '' nickname = '' if Change in r: uid = r[1] nickname = r[2] for r in recs: if uid in r: r[2] = nickname user_db = {} for r in recs: user_db[r[1]] = r[-1] answer = [] for r in recs: if Change not in r: message = '' message = f'{user_db[r[1]]}{entry[r[0]]}' answer.append(message) print(message) return answer
with open("input4.txt") as f: raw = f.read() pp = raw.split("\n\n") ppd = list() for p in pp: p = p.replace("\n", " ") p = p.strip() if not p: continue pairs = p.split(" ") ppd.append({s.split(":")[0]: s.split(":")[1] for s in pairs}) def isvalid(p): if not {"byr", "iyr", "eyr", "hgt", "hcl", "ecl", "pid"}.issubset(ks): return False print(p) if not len(p["byr"]) == 4: return False if not (1920 <= int(p["byr"]) <= 2002): return False if not (2010 <= int(p["iyr"]) <= 2020): return False if not (2020 <= int(p["eyr"]) <= 2030): return False if p["hgt"].endswith("cm"): num = p["hgt"].split("cm")[0] if not 150 <= int(num) <= 193: return False elif p["hgt"].endswith("in"): num = p["hgt"].split("in")[0] if not (59 <= int(num) <= 76): return False else: return False if not p["hcl"].startswith("#"): return False if not len(p["hcl"]) == 7: return False for c in p["hcl"][1:]: if not c in "abcdef0123456789": return False if not p["ecl"] in ["amb", "blu", "brn", "gry", "grn", "hzl", "oth"]: return False if not len(p["pid"]) == 9: return False for c in p["pid"]: if not c in "0123456789": return False return True ok = 0 for p in ppd: ks = set(p.keys()) if isvalid(p): ok += 1 print(ok)
with open('input4.txt') as f: raw = f.read() pp = raw.split('\n\n') ppd = list() for p in pp: p = p.replace('\n', ' ') p = p.strip() if not p: continue pairs = p.split(' ') ppd.append({s.split(':')[0]: s.split(':')[1] for s in pairs}) def isvalid(p): if not {'byr', 'iyr', 'eyr', 'hgt', 'hcl', 'ecl', 'pid'}.issubset(ks): return False print(p) if not len(p['byr']) == 4: return False if not 1920 <= int(p['byr']) <= 2002: return False if not 2010 <= int(p['iyr']) <= 2020: return False if not 2020 <= int(p['eyr']) <= 2030: return False if p['hgt'].endswith('cm'): num = p['hgt'].split('cm')[0] if not 150 <= int(num) <= 193: return False elif p['hgt'].endswith('in'): num = p['hgt'].split('in')[0] if not 59 <= int(num) <= 76: return False else: return False if not p['hcl'].startswith('#'): return False if not len(p['hcl']) == 7: return False for c in p['hcl'][1:]: if not c in 'abcdef0123456789': return False if not p['ecl'] in ['amb', 'blu', 'brn', 'gry', 'grn', 'hzl', 'oth']: return False if not len(p['pid']) == 9: return False for c in p['pid']: if not c in '0123456789': return False return True ok = 0 for p in ppd: ks = set(p.keys()) if isvalid(p): ok += 1 print(ok)
class Block(object): def __init__(self, block): self.block = block def get_block(self): return self.block def set_block(self, new_block): self.block = new_block
class Block(object): def __init__(self, block): self.block = block def get_block(self): return self.block def set_block(self, new_block): self.block = new_block
# Author: Nic Wolfe <[email protected]> # URL: http://code.google.com/p/sickbeard/ # # This file is part of Sick Beard. # # Sick Beard is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # Sick Beard is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with Sick Beard. If not, see <http://www.gnu.org/licenses/>. # all regexes are case insensitive ep_regexes = [ ('standard_repeat', # Show.Name.S01E02.S01E03.Source.Quality.Etc-Group # Show Name - S01E02 - S01E03 - S01E04 - Ep Name ''' ^(?P<series_name>.+?)[. _-]+ # Show_Name and separator s(?P<season_num>\d+)[. _-]* # S01 and optional separator e(?P<ep_num>\d+) # E02 and separator ([. _-]+s(?P=season_num)[. _-]* # S01 and optional separator e(?P<extra_ep_num>\d+))+ # E03/etc and separator [. _-]*((?P<extra_info>.+?) # Source_Quality_Etc- ((?<![. _-])-(?P<release_group>[^-]+))?)?$ # Group '''), ('fov_repeat', # Show.Name.1x02.1x03.Source.Quality.Etc-Group # Show Name - 1x02 - 1x03 - 1x04 - Ep Name ''' ^(?P<series_name>.+?)[. _-]+ # Show_Name and separator (?P<season_num>\d+)x # 1x (?P<ep_num>\d+) # 02 and separator ([. _-]+(?P=season_num)x # 1x (?P<extra_ep_num>\d+))+ # 03/etc and separator [. _-]*((?P<extra_info>.+?) # Source_Quality_Etc- ((?<![. _-])-(?P<release_group>[^-]+))?)?$ # Group '''), ('standard', # Show.Name.S01E02.Source.Quality.Etc-Group # Show Name - S01E02 - My Ep Name # Show.Name.S01.E03.My.Ep.Name # Show.Name.S01E02E03.Source.Quality.Etc-Group # Show Name - S01E02-03 - My Ep Name # Show.Name.S01.E02.E03 ''' ^((?P<series_name>.+?)[. _-]+)? # Show_Name and separator s(?P<season_num>\d+)[. _-]* # S01 and optional separator e(?P<ep_num>\d+) # E02 and separator (([. _-]*e|-)(?P<extra_ep_num>\d+))* # additional E03/etc [. _-]*((?P<extra_info>.+?) # Source_Quality_Etc- ((?<![. _-])-(?P<release_group>[^-]+))?)?$ # Group '''), ('fov', # Show_Name.1x02.Source_Quality_Etc-Group # Show Name - 1x02 - My Ep Name # Show_Name.1x02x03x04.Source_Quality_Etc-Group # Show Name - 1x02-03-04 - My Ep Name ''' ^((?P<series_name>.+?)[. _-]+)? # Show_Name and separator (?P<season_num>\d+)x # 1x (?P<ep_num>\d+) # 02 and separator (([. _-]*x|-)(?P<extra_ep_num>\d+))* # additional x03/etc [. _-]*((?P<extra_info>.+?) # Source_Quality_Etc- ((?<![. _-])-(?P<release_group>[^-]+))?)?$ # Group '''), ('scene_date_format', # Show.Name.2010.11.23.Source.Quality.Etc-Group # Show Name - 2010-11-23 - Ep Name ''' ^((?P<series_name>.+?)[. _-]+)? # Show_Name and separator (?P<air_year>\d{4})[. _-]+ # 2010 and separator (?P<air_month>\d{2})[. _-]+ # 11 and separator (?P<air_day>\d{2}) # 23 and separator [. _-]*((?P<extra_info>.+?) # Source_Quality_Etc- ((?<![. _-])-(?P<release_group>[^-]+))?)?$ # Group '''), ('stupid', # tpz-abc102 ''' (?P<release_group>.+?)-\w+?[\. ]? # tpz-abc (?P<season_num>\d{1,2}) # 1 (?P<ep_num>\d{2})$ # 02 '''), ('bare', # Show.Name.102.Source.Quality.Etc-Group ''' ^(?P<series_name>.+?)[. _-]+ # Show_Name and separator (?P<season_num>\d{1,2}) # 1 (?P<ep_num>\d{2}) # 02 and separator ([. _-]+(?P<extra_info>(?!\d{3}[. _-]+)[^-]+) # Source_Quality_Etc- (-(?P<release_group>.+))?)?$ # Group '''), ('verbose', # Show Name Season 1 Episode 2 Ep Name ''' ^(?P<series_name>.+?)[. _-]+ # Show Name and separator season[. _-]+ # season and separator (?P<season_num>\d+)[. _-]+ # 1 episode[. _-]+ # episode and separator (?P<ep_num>\d+)[. _-]+ # 02 and separator (?P<extra_info>.+)$ # Source_Quality_Etc- '''), ('season_only', # Show.Name.S01.Source.Quality.Etc-Group ''' ^((?P<series_name>.+?)[. _-]+)? # Show_Name and separator s(eason[. _-])? # S01/Season 01 (?P<season_num>\d+)[. _-]* # S01 and optional separator [. _-]*((?P<extra_info>.+?) # Source_Quality_Etc- ((?<![. _-])-(?P<release_group>[^-]+))?)?$ # Group ''' ), ('no_season_general', # Show.Name.E23.Test # Show.Name.Part.3.Source.Quality.Etc-Group # Show.Name.Part.1.and.Part.2.Blah-Group # Show Name Episode 3 and 4 ''' ^((?P<series_name>.+?)[. _-]+)? # Show_Name and separator (e(p(isode)?)?|part|pt)[. _-]? # e, ep, episode, or part (?P<ep_num>(\d+|[ivx]+)) # first ep num ([. _-]+((and|&|to)[. _-]+)? # and/&/to joiner ((e(p(isode)?)?|part|pt)[. _-]?)? # e, ep, episode, or part (?P<extra_ep_num>(\d+|[ivx]+)))* # second ep num [. _-]*((?P<extra_info>.+?) # Source_Quality_Etc- ((?<![. _-])-(?P<release_group>[^-]+))?)?$ # Group ''' ), ('no_season', # Show Name - 01 - Ep Name # 01 - Ep Name ''' ^((?P<series_name>.+?)[. _-]+)? # Show_Name and separator (?P<ep_num>\d{2}) # 02 [. _-]*((?P<extra_info>.+?) # Source_Quality_Etc- ((?<![. _-])-(?P<release_group>[^-]+))?)?$ # Group ''' ), ]
ep_regexes = [('standard_repeat', '\n ^(?P<series_name>.+?)[. _-]+ # Show_Name and separator\n s(?P<season_num>\\d+)[. _-]* # S01 and optional separator\n e(?P<ep_num>\\d+) # E02 and separator\n ([. _-]+s(?P=season_num)[. _-]* # S01 and optional separator\n e(?P<extra_ep_num>\\d+))+ # E03/etc and separator\n [. _-]*((?P<extra_info>.+?) # Source_Quality_Etc-\n ((?<![. _-])-(?P<release_group>[^-]+))?)?$ # Group\n '), ('fov_repeat', '\n ^(?P<series_name>.+?)[. _-]+ # Show_Name and separator\n (?P<season_num>\\d+)x # 1x\n (?P<ep_num>\\d+) # 02 and separator\n ([. _-]+(?P=season_num)x # 1x\n (?P<extra_ep_num>\\d+))+ # 03/etc and separator\n [. _-]*((?P<extra_info>.+?) # Source_Quality_Etc-\n ((?<![. _-])-(?P<release_group>[^-]+))?)?$ # Group\n '), ('standard', '\n ^((?P<series_name>.+?)[. _-]+)? # Show_Name and separator\n s(?P<season_num>\\d+)[. _-]* # S01 and optional separator\n e(?P<ep_num>\\d+) # E02 and separator\n (([. _-]*e|-)(?P<extra_ep_num>\\d+))* # additional E03/etc\n [. _-]*((?P<extra_info>.+?) # Source_Quality_Etc-\n ((?<![. _-])-(?P<release_group>[^-]+))?)?$ # Group\n '), ('fov', '\n ^((?P<series_name>.+?)[. _-]+)? # Show_Name and separator\n (?P<season_num>\\d+)x # 1x\n (?P<ep_num>\\d+) # 02 and separator\n (([. _-]*x|-)(?P<extra_ep_num>\\d+))* # additional x03/etc\n [. _-]*((?P<extra_info>.+?) # Source_Quality_Etc-\n ((?<![. _-])-(?P<release_group>[^-]+))?)?$ # Group\n '), ('scene_date_format', '\n ^((?P<series_name>.+?)[. _-]+)? # Show_Name and separator\n (?P<air_year>\\d{4})[. _-]+ # 2010 and separator\n (?P<air_month>\\d{2})[. _-]+ # 11 and separator\n (?P<air_day>\\d{2}) # 23 and separator\n [. _-]*((?P<extra_info>.+?) # Source_Quality_Etc-\n ((?<![. _-])-(?P<release_group>[^-]+))?)?$ # Group\n '), ('stupid', '\n (?P<release_group>.+?)-\\w+?[\\. ]? # tpz-abc\n (?P<season_num>\\d{1,2}) # 1\n (?P<ep_num>\\d{2})$ # 02\n '), ('bare', '\n ^(?P<series_name>.+?)[. _-]+ # Show_Name and separator\n (?P<season_num>\\d{1,2}) # 1\n (?P<ep_num>\\d{2}) # 02 and separator\n ([. _-]+(?P<extra_info>(?!\\d{3}[. _-]+)[^-]+) # Source_Quality_Etc-\n (-(?P<release_group>.+))?)?$ # Group\n '), ('verbose', '\n ^(?P<series_name>.+?)[. _-]+ # Show Name and separator\n season[. _-]+ # season and separator\n (?P<season_num>\\d+)[. _-]+ # 1\n episode[. _-]+ # episode and separator\n (?P<ep_num>\\d+)[. _-]+ # 02 and separator\n (?P<extra_info>.+)$ # Source_Quality_Etc-\n '), ('season_only', '\n ^((?P<series_name>.+?)[. _-]+)? # Show_Name and separator\n s(eason[. _-])? # S01/Season 01\n (?P<season_num>\\d+)[. _-]* # S01 and optional separator\n [. _-]*((?P<extra_info>.+?) # Source_Quality_Etc-\n ((?<![. _-])-(?P<release_group>[^-]+))?)?$ # Group\n '), ('no_season_general', '\n ^((?P<series_name>.+?)[. _-]+)? # Show_Name and separator\n (e(p(isode)?)?|part|pt)[. _-]? # e, ep, episode, or part\n (?P<ep_num>(\\d+|[ivx]+)) # first ep num\n ([. _-]+((and|&|to)[. _-]+)? # and/&/to joiner\n ((e(p(isode)?)?|part|pt)[. _-]?)? # e, ep, episode, or part\n (?P<extra_ep_num>(\\d+|[ivx]+)))* # second ep num\n [. _-]*((?P<extra_info>.+?) # Source_Quality_Etc-\n ((?<![. _-])-(?P<release_group>[^-]+))?)?$ # Group\n '), ('no_season', '\n ^((?P<series_name>.+?)[. _-]+)? # Show_Name and separator\n (?P<ep_num>\\d{2}) # 02\n [. _-]*((?P<extra_info>.+?) # Source_Quality_Etc-\n ((?<![. _-])-(?P<release_group>[^-]+))?)?$ # Group\n ')]
''' Problem 48 @author: Kevin Ji ''' def self_power_with_mod(number, mod): product = 1 for _ in range(number): product *= number product %= mod return product MOD = 10000000000 number = 0 for power in range(1, 1000 + 1): number += self_power_with_mod(power, MOD) number %= MOD print(number)
""" Problem 48 @author: Kevin Ji """ def self_power_with_mod(number, mod): product = 1 for _ in range(number): product *= number product %= mod return product mod = 10000000000 number = 0 for power in range(1, 1000 + 1): number += self_power_with_mod(power, MOD) number %= MOD print(number)
# Code for demo_03 def captureInfoCam(): GPIO.setwarnings(False) # Ignore warning for now GPIO.setmode(GPIO.BOARD) # Use physical pin numbering subprocess.call(['fswebcam -r 640x480 --no-banner /home/pi/Desktop/image.jpg', '-1'], shell=True) #Azure face_uri = "https://raspberrycp.cognitiveservices.azure.com/vision/v1.0/analyze?visualFeatures=Faces&language=en" pathToFileInDisk = r'/home/pi/Desktop/image.jpg' with open( pathToFileInDisk, 'rb' ) as f: data = f.read() headers = { "Content-Type": "application/octet-stream" ,'Ocp-Apim-Subscription-Key': '7e9cfbb244204fb994babd6111235269'} try: response = requests.post(face_uri, headers=headers, data=data) faces = response.json() #pprint(faces) age = faces['faces'][0].get('age') gender = faces['faces'][0].get('gender') datosUsuario = [age, gender] except requests.exceptions.ConnectionError: return None except IndexError: return None else: return datosUsuario
def capture_info_cam(): GPIO.setwarnings(False) GPIO.setmode(GPIO.BOARD) subprocess.call(['fswebcam -r 640x480 --no-banner /home/pi/Desktop/image.jpg', '-1'], shell=True) face_uri = 'https://raspberrycp.cognitiveservices.azure.com/vision/v1.0/analyze?visualFeatures=Faces&language=en' path_to_file_in_disk = '/home/pi/Desktop/image.jpg' with open(pathToFileInDisk, 'rb') as f: data = f.read() headers = {'Content-Type': 'application/octet-stream', 'Ocp-Apim-Subscription-Key': '7e9cfbb244204fb994babd6111235269'} try: response = requests.post(face_uri, headers=headers, data=data) faces = response.json() age = faces['faces'][0].get('age') gender = faces['faces'][0].get('gender') datos_usuario = [age, gender] except requests.exceptions.ConnectionError: return None except IndexError: return None else: return datosUsuario
wagons = int(input()) wagons_list = [0 for _ in range(wagons)] command = input().split() while "End" not in command: if "add" in command: wagons_list[-1] += int(command[1]) elif "insert" in command: wagons_list[int(command[1])] += int(command[2]) elif "leave" in command: wagons_list[int(command[1])] -= int(command[2]) command = input().split() print(wagons_list)
wagons = int(input()) wagons_list = [0 for _ in range(wagons)] command = input().split() while 'End' not in command: if 'add' in command: wagons_list[-1] += int(command[1]) elif 'insert' in command: wagons_list[int(command[1])] += int(command[2]) elif 'leave' in command: wagons_list[int(command[1])] -= int(command[2]) command = input().split() print(wagons_list)
# -------------- ##File path for the file file_path def read_file(path): file = open(file_path, 'r') sentence = file.readline() file.close() return sentence sample_message = read_file(file_path) # -------------- #Code starts here #Function to fuse message def fuse_msg(message_a,message_b): #Integer division of two numbers quot=(int(message_b)//int(message_a)) #Returning the quotient in string format return str(quot) #Calling the function to read file message_1=read_file(file_path_1) print(message_1) #Calling the function to read file message_2=read_file(file_path_2) print(message_2) #Calling the function 'fuse_msg' secret_msg_1=fuse_msg(message_1,message_2) #Printing the secret message print(secret_msg_1) #Code ends here with open(file_path, "rb") as fp: print(fp.read()) with open(file_path_1, "rb") as fp: print(fp.read()) with open(file_path_2, "rb") as fp: print(fp.read()) # -------------- #Code starts here #Code starts here message_3 = read_file(file_path_3) print(message_3) def substitute_msg(message_c): if(message_c == 'Red'): sub = 'Army General' elif(message_c == 'Green'): sub = 'Data Scientist' elif(message_c == 'Blue'): sub = 'Marine Biologist' return sub secret_msg_2 = substitute_msg(message_3) print(secret_msg_2) # -------------- # File path for message 4 and message 5 file_path_4 file_path_5 message_4 = read_file(file_path_4) message_5 = read_file(file_path_5) def compare_msg(message_d, message_e): a_list = message_d.split() b_list = message_e.split() c_list = [i for i in a_list if i not in b_list] final_msg = " ".join(c_list) return(final_msg) secret_msg_3 = compare_msg(message_4, message_5) print(secret_msg_3) # -------------- #Code starts here file_path_6 message_6 = read_file(file_path_6) print(message_6) def extract_msg(message_f): a_list = message_f.split() even_word = lambda x: len(x)%2==0 b_list = filter(even_word, a_list) final_msg = " ".join(b_list) return final_msg secret_msg_4 = extract_msg(message_6) print(secret_msg_4) # -------------- message_parts=[secret_msg_3, secret_msg_1, secret_msg_4, secret_msg_2] final_path= user_data_dir + 'secret_msg.txt' secret_msg = " ".join(message_parts) print(user_data_dir) def write_file(secret_msg, path): f = open(path, 'a+') f.write(secret_msg) f.close() write_file(secret_msg, final_path) print(secret_msg)
file_path def read_file(path): file = open(file_path, 'r') sentence = file.readline() file.close() return sentence sample_message = read_file(file_path) def fuse_msg(message_a, message_b): quot = int(message_b) // int(message_a) return str(quot) message_1 = read_file(file_path_1) print(message_1) message_2 = read_file(file_path_2) print(message_2) secret_msg_1 = fuse_msg(message_1, message_2) print(secret_msg_1) with open(file_path, 'rb') as fp: print(fp.read()) with open(file_path_1, 'rb') as fp: print(fp.read()) with open(file_path_2, 'rb') as fp: print(fp.read()) message_3 = read_file(file_path_3) print(message_3) def substitute_msg(message_c): if message_c == 'Red': sub = 'Army General' elif message_c == 'Green': sub = 'Data Scientist' elif message_c == 'Blue': sub = 'Marine Biologist' return sub secret_msg_2 = substitute_msg(message_3) print(secret_msg_2) file_path_4 file_path_5 message_4 = read_file(file_path_4) message_5 = read_file(file_path_5) def compare_msg(message_d, message_e): a_list = message_d.split() b_list = message_e.split() c_list = [i for i in a_list if i not in b_list] final_msg = ' '.join(c_list) return final_msg secret_msg_3 = compare_msg(message_4, message_5) print(secret_msg_3) file_path_6 message_6 = read_file(file_path_6) print(message_6) def extract_msg(message_f): a_list = message_f.split() even_word = lambda x: len(x) % 2 == 0 b_list = filter(even_word, a_list) final_msg = ' '.join(b_list) return final_msg secret_msg_4 = extract_msg(message_6) print(secret_msg_4) message_parts = [secret_msg_3, secret_msg_1, secret_msg_4, secret_msg_2] final_path = user_data_dir + 'secret_msg.txt' secret_msg = ' '.join(message_parts) print(user_data_dir) def write_file(secret_msg, path): f = open(path, 'a+') f.write(secret_msg) f.close() write_file(secret_msg, final_path) print(secret_msg)
# 3.uzdevums my_name = str(input('Enter sentence ')) words = my_name.split() rev_list = [word[::-1] for word in words] rev_string=" ".join(rev_list) result=rev_string.capitalize() print(result) print(" ".join([w[::-1] for w in my_name.split()]).capitalize())
my_name = str(input('Enter sentence ')) words = my_name.split() rev_list = [word[::-1] for word in words] rev_string = ' '.join(rev_list) result = rev_string.capitalize() print(result) print(' '.join([w[::-1] for w in my_name.split()]).capitalize())
# def math(num1, num2, operation='add'): # if(operation == "mult"): # return num1 * num2 # if(operation == "div"): # return num1 / num2 # if(operation == "sub"): # return num1 - num2 # if(operation == "add"): # return num1 + num2 # else: # print("not a valid opreation") # num1 = int(input("input number1:")) # num2 = int(input("input number2:")) # operation = input("write the opreation :add,sub,mult,div:") # val = math(num1, num2, operation) # print(val) # num1 and num2 are parameters # def add(num1, num2): # return num1 + num2 # 100 and 20 are arguments # x = add(100, 20) # print(x) def multiply(num1, num2): return num1 * num2 y = multiply(10, 20) print(y)
def multiply(num1, num2): return num1 * num2 y = multiply(10, 20) print(y)
def binary_search(arr, target): low, high = 0, len(arr)-1 while low < high: mid = (low + high)/2 if arr[mid] == target: return mid elif arr[mid] > target: high = mid - 1 else: low = mid + 1 try: if arr[high] == target: return high else: return -1 except IndexError as e: return -1
def binary_search(arr, target): (low, high) = (0, len(arr) - 1) while low < high: mid = (low + high) / 2 if arr[mid] == target: return mid elif arr[mid] > target: high = mid - 1 else: low = mid + 1 try: if arr[high] == target: return high else: return -1 except IndexError as e: return -1
MOD_ID = 'id' MOD_RGB = 'rgb' MOD_SS_DENSE = 'semseg_dense' MOD_SS_CLICKS = 'semseg_clicks' MOD_SS_SCRIBBLES = 'semseg_scribbles' MOD_VALIDITY = 'validity_mask' SPLIT_TRAIN = 'train' SPLIT_VALID = 'val' MODE_INTERP = { MOD_ID: None, MOD_RGB: 'bilinear', MOD_SS_DENSE: 'nearest', MOD_SS_CLICKS: 'sparse', MOD_SS_SCRIBBLES: 'sparse', MOD_VALIDITY: 'nearest', }
mod_id = 'id' mod_rgb = 'rgb' mod_ss_dense = 'semseg_dense' mod_ss_clicks = 'semseg_clicks' mod_ss_scribbles = 'semseg_scribbles' mod_validity = 'validity_mask' split_train = 'train' split_valid = 'val' mode_interp = {MOD_ID: None, MOD_RGB: 'bilinear', MOD_SS_DENSE: 'nearest', MOD_SS_CLICKS: 'sparse', MOD_SS_SCRIBBLES: 'sparse', MOD_VALIDITY: 'nearest'}
nmbr = 3 if nmbr % 2 == 0: print("%d is even" % nmbr) elif nmbr == 0: print("%d is zero" % nmbr) else: print("%d is odd" % nmbr) free = "free"; print("I am free") if free == "free" else print("I am not free") # Nested Conditions nmbr = 4 if nmbr % 2 == 0: if nmbr % 4 == 0: print("I can pass all the condititions!") if nmbr > 0 and nmbr % 1 == 0: print("Vow I can pass here too!")
nmbr = 3 if nmbr % 2 == 0: print('%d is even' % nmbr) elif nmbr == 0: print('%d is zero' % nmbr) else: print('%d is odd' % nmbr) free = 'free' print('I am free') if free == 'free' else print('I am not free') nmbr = 4 if nmbr % 2 == 0: if nmbr % 4 == 0: print('I can pass all the condititions!') if nmbr > 0 and nmbr % 1 == 0: print('Vow I can pass here too!')
DEBUG = True SECRET_KEY = 'topsecret' #SQLALCHEMY_DATABASE_URI = 'postgresql://yazhu:root@localhost/matcha' # SQLALCHEMY_DATABASE_URI = 'postgresql://jchung:@localhost/matcha' SQLALCHEMY_DATABASE_URI = 'postgresql://root:1234@localhost/matcha' SQLALCHEMY_TRACK_MODIFICATIONS = False ACCOUNT_ACTIVATION = False ROOT_URL = 'localhost:5000' REDIRECT_HTTP = False
debug = True secret_key = 'topsecret' sqlalchemy_database_uri = 'postgresql://root:1234@localhost/matcha' sqlalchemy_track_modifications = False account_activation = False root_url = 'localhost:5000' redirect_http = False
PURCHASE_NO_CLIENT_STATE = 0 PURCHASE_WAITING_STATE = 1 PURCHASE_PLAYAGAIN_STATE = 2 PURCHASE_EXIT_STATE = 3 PURCHASE_DISCONNECTED_STATE = 4 PURCHASE_UNREPORTED_STATE = 10 PURCHASE_REPORTED_STATE = 11 PURCHASE_CANTREPORT_STATE = 12 PURCHASE_COUNTDOWN_TIME = 120
purchase_no_client_state = 0 purchase_waiting_state = 1 purchase_playagain_state = 2 purchase_exit_state = 3 purchase_disconnected_state = 4 purchase_unreported_state = 10 purchase_reported_state = 11 purchase_cantreport_state = 12 purchase_countdown_time = 120
# 14. Write a program in Python to calculate the volume of a sphere rad=int(input("Enter radius of the sphere: ")) vol=(4/3)*3.14*(rad**3) print("Volume of the sphere= ",vol)
rad = int(input('Enter radius of the sphere: ')) vol = 4 / 3 * 3.14 * rad ** 3 print('Volume of the sphere= ', vol)
''' Created on Aug 10, 2017 @author: Itai Agmon ''' class ReportElementType(): REGULAR = "regular" LINK = "lnk" IMAGE = "img" HTML = "html" STEP = "step" START_LEVEL = "startLevel" STOP_LEVEL = "stopLevel" class ReportElementStatus(): SUCCESS = "success" WARNING = "warning" FAILURE = "failure" ERROR = "error" class ReportElement(object): def __init__(self): self.parent = None self.title = "" self.message = "" self.status = ReportElementStatus.SUCCESS self.time = "" self.element_type = ReportElementType.REGULAR def set_status(self, status): if status != ReportElementStatus.ERROR and \ status != ReportElementStatus.FAILURE and \ status != ReportElementStatus.WARNING and \ status != ReportElementStatus.SUCCESS: raise ValueError("Illegal status %s" % status) if status == ReportElementStatus.ERROR: self.status = status elif status == ReportElementStatus.FAILURE: if self.status != ReportElementStatus.ERROR: self.status = status elif status == ReportElementStatus.WARNING: if self.status != ReportElementStatus.ERROR and self.status != ReportElementStatus.FAILURE: self.status = status def set_type(self, element_type): if element_type != ReportElementType.REGULAR and \ element_type != ReportElementType.LINK and \ element_type != ReportElementType.IMAGE and \ element_type != ReportElementType.HTML and \ element_type != ReportElementType.STEP and \ element_type != ReportElementType.START_LEVEL and \ element_type != ReportElementType.STOP_LEVEL: raise ValueError("Illegal element type %s" % element_type) self.element_type = element_type def dict(self): d = {} d["title"] = self.title d["message"] = self.message d["status"] = self.status d["time"] = self.time d["status"] = str(self.status) d["type"] = str(self.element_type) return d class TestDetails(object): def __init__(self, uid): self.uid = uid self.report_elements = [] self.level_elements_stack = [] self.execution_properties = {} def add_element(self, element): if type(element) is not ReportElement: raise TypeError("Can only add report elements") element.parent = self if element.element_type is None: element.element_type = ReportElementType.REGULAR self.report_elements.append(element) if element.element_type == ReportElementType.START_LEVEL: self.level_elements_stack.append(element) elif element.element_type == ReportElementType.STOP_LEVEL: self.level_elements_stack.pop() if element.status != ReportElementStatus.SUCCESS: for e in self.level_elements_stack: e.set_status(element.status) def dict(self): d = {} d["uid"] = self.uid d["reportElements"] = [] for element in self.report_elements: d["reportElements"].append(element.dict()) return d
""" Created on Aug 10, 2017 @author: Itai Agmon """ class Reportelementtype: regular = 'regular' link = 'lnk' image = 'img' html = 'html' step = 'step' start_level = 'startLevel' stop_level = 'stopLevel' class Reportelementstatus: success = 'success' warning = 'warning' failure = 'failure' error = 'error' class Reportelement(object): def __init__(self): self.parent = None self.title = '' self.message = '' self.status = ReportElementStatus.SUCCESS self.time = '' self.element_type = ReportElementType.REGULAR def set_status(self, status): if status != ReportElementStatus.ERROR and status != ReportElementStatus.FAILURE and (status != ReportElementStatus.WARNING) and (status != ReportElementStatus.SUCCESS): raise value_error('Illegal status %s' % status) if status == ReportElementStatus.ERROR: self.status = status elif status == ReportElementStatus.FAILURE: if self.status != ReportElementStatus.ERROR: self.status = status elif status == ReportElementStatus.WARNING: if self.status != ReportElementStatus.ERROR and self.status != ReportElementStatus.FAILURE: self.status = status def set_type(self, element_type): if element_type != ReportElementType.REGULAR and element_type != ReportElementType.LINK and (element_type != ReportElementType.IMAGE) and (element_type != ReportElementType.HTML) and (element_type != ReportElementType.STEP) and (element_type != ReportElementType.START_LEVEL) and (element_type != ReportElementType.STOP_LEVEL): raise value_error('Illegal element type %s' % element_type) self.element_type = element_type def dict(self): d = {} d['title'] = self.title d['message'] = self.message d['status'] = self.status d['time'] = self.time d['status'] = str(self.status) d['type'] = str(self.element_type) return d class Testdetails(object): def __init__(self, uid): self.uid = uid self.report_elements = [] self.level_elements_stack = [] self.execution_properties = {} def add_element(self, element): if type(element) is not ReportElement: raise type_error('Can only add report elements') element.parent = self if element.element_type is None: element.element_type = ReportElementType.REGULAR self.report_elements.append(element) if element.element_type == ReportElementType.START_LEVEL: self.level_elements_stack.append(element) elif element.element_type == ReportElementType.STOP_LEVEL: self.level_elements_stack.pop() if element.status != ReportElementStatus.SUCCESS: for e in self.level_elements_stack: e.set_status(element.status) def dict(self): d = {} d['uid'] = self.uid d['reportElements'] = [] for element in self.report_elements: d['reportElements'].append(element.dict()) return d
{ "targets": [ { "target_name": "strings", "sources": ["main.cpp"], "cflags": ["-Wall", "-Wextra", "-ansi", "-O3"], "include_dirs" : ["<!(node -e \"require('nan')\")"] } ] }
{'targets': [{'target_name': 'strings', 'sources': ['main.cpp'], 'cflags': ['-Wall', '-Wextra', '-ansi', '-O3'], 'include_dirs': ['<!(node -e "require(\'nan\')")']}]}
class Solution: def groupAnagrams(self, strs: List[str]) -> List[List[str]]: anagrams = {} for str in strs: key = ''.join(sorted(str)) if key not in anagrams: anagrams[key] = [] anagrams[key].append(str) return list(anagrams.values())
class Solution: def group_anagrams(self, strs: List[str]) -> List[List[str]]: anagrams = {} for str in strs: key = ''.join(sorted(str)) if key not in anagrams: anagrams[key] = [] anagrams[key].append(str) return list(anagrams.values())
class Car: # Class-level wheels = 4 def __init__(self, manufacturer: str, model: str, color: str, mileage: int): # Instance-level self.manufacturer = manufacturer self.model = model self.color = color self.mileage = mileage # Method def add_mileage(self, miles: int) -> str: self.mileage += miles print(f"The car has {miles} miles on it.") my_car = Car("Audi", "R8", "Blue", 1000) print(f"I just bought a {my_car.color} {my_car.manufacturer} {my_car.model}") print(f"My new car's mileage is {my_car.mileage}") print("Adding 500 miles to my car...") my_car.add_mileage(500) print(f"My new car's mileage is {my_car.mileage}")
class Car: wheels = 4 def __init__(self, manufacturer: str, model: str, color: str, mileage: int): self.manufacturer = manufacturer self.model = model self.color = color self.mileage = mileage def add_mileage(self, miles: int) -> str: self.mileage += miles print(f'The car has {miles} miles on it.') my_car = car('Audi', 'R8', 'Blue', 1000) print(f'I just bought a {my_car.color} {my_car.manufacturer} {my_car.model}') print(f"My new car's mileage is {my_car.mileage}") print('Adding 500 miles to my car...') my_car.add_mileage(500) print(f"My new car's mileage is {my_car.mileage}")
def gcd(a, b): while b != 0: a, b = b, a % b return a def lcm(a, b, g): return a * b // g A, B = (int(term) for term in input().split()) g = gcd(A, B) print(g) print(lcm(A, B, g))
def gcd(a, b): while b != 0: (a, b) = (b, a % b) return a def lcm(a, b, g): return a * b // g (a, b) = (int(term) for term in input().split()) g = gcd(A, B) print(g) print(lcm(A, B, g))
def solution(a, b): answer = 0 for x,y in zip(a,b): answer+=x*y return answer
def solution(a, b): answer = 0 for (x, y) in zip(a, b): answer += x * y return answer
AVAILABLE_OPTIONS = [('doc_m2m_prob_threshold', 'Probability threshold for showing document to mass2motif links'), ('doc_m2m_overlap_threshold', 'Threshold on overlap score for showing document to mass2motif links'), ('log_peakset_intensities', 'Whether or not to log the peakset intensities (true,false)'), # ('peakset_matching_tolerance', 'Tolerance to use when matching peaksets'), ('heatmap_minimum_display_count', 'Minimum number of instances in a peakset to display it in the heatmap'), # ('default_doc_m2m_score', # 'Default score to use when extracting document <-> mass2motif matches. Use either "probability" or "overlap_score", or "both"'), ('heatmap_normalisation','how to normalise the rows in the heatmap: none, standard, max')]
available_options = [('doc_m2m_prob_threshold', 'Probability threshold for showing document to mass2motif links'), ('doc_m2m_overlap_threshold', 'Threshold on overlap score for showing document to mass2motif links'), ('log_peakset_intensities', 'Whether or not to log the peakset intensities (true,false)'), ('heatmap_minimum_display_count', 'Minimum number of instances in a peakset to display it in the heatmap'), ('heatmap_normalisation', 'how to normalise the rows in the heatmap: none, standard, max')]
phi, d, t, coll = input().split() phi = float(phi) phi_1 = phi - 0.01 phi_2 = phi + 0.01 print(str(phi) + " " + "0.00001" + " " + "0.1 " + str(t) + " 10 20")
(phi, d, t, coll) = input().split() phi = float(phi) phi_1 = phi - 0.01 phi_2 = phi + 0.01 print(str(phi) + ' ' + '0.00001' + ' ' + '0.1 ' + str(t) + ' 10 20')
class usuario(object): def __init__(self, nombre, apellido, edad, genero): self.nombre = nombre self.apellido = apellido self.edad = edad self.genero = genero def descripcion_usuario(self): print("Nombre: " + self.nombre.title() + "\nApellido: " + self.apellido.title() + "\nEdad: " + str(self.edad) + "\nGenero: " + self.genero) def greet_usuario(self): print("Bienvenido: " + self.nombre.title() + " " + self.apellido.title()) class privilegios(object): def __init__(self): self.privilegios = [] def obtener_privilegios(self, *list_privilegios): self.privilegios = list_privilegios def imprime_privilegios(self): print("Los Privilegios del Admin son: ") for priv in self.privilegios: print("- " + priv) class admin(usuario): def __init__(self, nombre, apellido, edad, genero): super(admin, self).__init__(nombre, apellido, edad, genero) self.privilegios = privilegios() administrador_n = admin('Rosa', 'Sanchez', 18, 'F') print(administrador_n.descripcion_usuario()) administrador_n.privilegios.obtener_privilegios('Puede Agregar Publicaciones', 'Puede Eliminar Publicaciones') administrador_n.privilegios.imprime_privilegios()
class Usuario(object): def __init__(self, nombre, apellido, edad, genero): self.nombre = nombre self.apellido = apellido self.edad = edad self.genero = genero def descripcion_usuario(self): print('Nombre: ' + self.nombre.title() + '\nApellido: ' + self.apellido.title() + '\nEdad: ' + str(self.edad) + '\nGenero: ' + self.genero) def greet_usuario(self): print('Bienvenido: ' + self.nombre.title() + ' ' + self.apellido.title()) class Privilegios(object): def __init__(self): self.privilegios = [] def obtener_privilegios(self, *list_privilegios): self.privilegios = list_privilegios def imprime_privilegios(self): print('Los Privilegios del Admin son: ') for priv in self.privilegios: print('- ' + priv) class Admin(usuario): def __init__(self, nombre, apellido, edad, genero): super(admin, self).__init__(nombre, apellido, edad, genero) self.privilegios = privilegios() administrador_n = admin('Rosa', 'Sanchez', 18, 'F') print(administrador_n.descripcion_usuario()) administrador_n.privilegios.obtener_privilegios('Puede Agregar Publicaciones', 'Puede Eliminar Publicaciones') administrador_n.privilegios.imprime_privilegios()
class Class1(object): def __init__(self): pass def test1(self): return 5 class Class2(object): def test1(self): return 6 class Class3(object): def test1(self, x): return self.test2(x)-1 def test2(self, x): return 2*x a = Class1() print(a.test1()) a = Class2() print(a.test1()) a = Class3() print(a.test1(3)) print(a.test2(3))
class Class1(object): def __init__(self): pass def test1(self): return 5 class Class2(object): def test1(self): return 6 class Class3(object): def test1(self, x): return self.test2(x) - 1 def test2(self, x): return 2 * x a = class1() print(a.test1()) a = class2() print(a.test1()) a = class3() print(a.test1(3)) print(a.test2(3))
class Tee: def __init__(self, f, f_tee): self.f = f self.f_tee = f_tee def read(self, nbytes): buf = self.f.read(nbytes) self.f_tee.write(buf) return buf def write(self, buf): self.f_tee.write(buf) self.f.write(buf) def flush(self): self.f.flush()
class Tee: def __init__(self, f, f_tee): self.f = f self.f_tee = f_tee def read(self, nbytes): buf = self.f.read(nbytes) self.f_tee.write(buf) return buf def write(self, buf): self.f_tee.write(buf) self.f.write(buf) def flush(self): self.f.flush()
''' This is all the calculation for the main window '''
""" This is all the calculation for the main window """
__title__ = 'lottus' __description__ = 'An ussd library that will save you time' __version__ = '0.0.4' __author__ = 'Benjamim Chambule' __author_email__ = '[email protected]' __license__ = 'MIT' __copyright__ = 'Copyright 2021 Benjamim Chambule'
__title__ = 'lottus' __description__ = 'An ussd library that will save you time' __version__ = '0.0.4' __author__ = 'Benjamim Chambule' __author_email__ = '[email protected]' __license__ = 'MIT' __copyright__ = 'Copyright 2021 Benjamim Chambule'
extra_annotations = \ { 'ai': [ 'artificial intelligence', 'machine learning', 'statistical learning', 'statistical model', 'supervised model', 'unsupervised model', 'computer vision', 'image analysis', 'object recognistion', 'object detection', 'image segmentation', 'deep learning', 'cognitive computing', 'neural network', 'classification model', 'regression model', 'classifier', 'reinforcment learning' ], 'tech': [ 'digital health', 'ehealth', 'digital medicine', 'mhealth', 'digital healthcare', 'digital biomarker', 'telemedicine' ], 'medicine': [ 'health occupations', 'health occupation', 'health professions', 'health profession', 'profession, health', 'professions, health', 'health occup', 'medicine', 'medical specialities', 'medical speciality', 'speciality, medical', 'specialities, medical', 'specialties, medical', 'medical specialty', 'specialty, medical', 'medical specialties', 'med specialties', 'med specialty', 'specialty med', 'specialties med', 'med specialities', 'specialities med', 'addiction psychiatry', 'psychiatry, addiction', 'addiction medicine', 'medicine, addiction', 'adolescent medicine', 'medicine, adolescent', 'hebiatrics', 'ephebiatrics', 'med adolescent', 'adolescent med', 'aerospace medicine', 'medicine, aerospace', 'med aerospace', 'aerospace med', 'aviation medicine', 'medicine, aviation', 'med aviation', 'aviation med', 'medicine, space', 'space medicine', 'med space', 'space med', 'allergy specialty', 'specialty, allergy', 'allergy and immunology', 'allergy, immunology', 'immunology, allergy', 'allergy immunology', 'immunology allergy', 'immunology and allergy', 'allergy immunol', 'immunol allergy', 'immunology', 'immunol', 'immunochemistry', 'immunochem', 'anesthesiology', 'anesthesiol', 'bariatric medicine', 'medicine, bariatric', 'behavioral medicine', 'medicine, behavioral', 'med behavioral', 'behavioral med', 'health psychology', 'health psychologies', 'psychologies, health', 'psychology, health', 'health psychol', 'psychol health', 'clinical medicine', 'medicine, clinical', 'clin med', 'med clin', 'evidence-based medicine', 'evidence based medicine', 'medicine, evidence based', 'medicine, evidence-based', 'evidence based med', 'med evidence based', 'precision medicine', 'medicine, precision', 'p health', 'p-health', 'p-healths', 'personalized medicine', 'medicine, personalized', 'individualized medicine', 'medicine, individualized', 'community medicine', 'medicine, community', 'med community', 'community med', 'dermatology', 'dermatol', 'disaster medicine', 'medicine, disaster', 'emergency medicine', 'medicine, emergency', 'med emergency', 'emergency med', 'emergency medicine, pediatric', 'medicine, pediatric emergency', 'pediatric emergency medicine', 'forensic medicine', 'medicine, forensic', 'med forensic', 'forensic med', 'medicine, legal', 'legal medicine', 'legal med', 'med legal', 'forensic genetics', 'genetics, forensic', 'genetic, forensic', 'forensic genetic', 'forensic pathology', 'pathology, forensic', 'forensic pathol', 'pathol forensic', 'general practice', 'practice, general', 'family practice', 'family practices', 'practices, family', 'practice, family', 'genetics, medical', 'medical genetics', 'med genet', 'genet med', 'geography, medical', 'medical geography', 'geomedicine', 'nosogeography', 'geogr med', 'med geogr', 'topography, medical', 'medical topography', 'med topogr', 'topogr med', 'geriatrics', 'gerontology', 'gerontol', 'international health problems', 'health problem, international', 'international health problem', 'problem, international health', 'health problems, international', 'problems, international health', 'world health', 'health, world', 'worldwide health', 'health, worldwide', 'healths, international', 'international healths', 'international health', 'health, international', 'global health', 'health, global', 'hospital medicine', 'medicine, hospital', 'integrative medicine', 'medicine, integrative', 'internal medicine', 'medicine, internal', 'internal med', 'med internal', 'cardiology', 'cardiol', 'vascular medicine', 'medicine, vascular', 'angiology', 'cardiovascular disease specialty', 'disease specialty, cardiovascular', 'specialty, cardiovascular disease', 'endocrinology', 'endocrinol', 'endocrinology and metabolism specialty', 'metabolism and endocrinology specialty', 'gastroenterology', 'gastroenterol', 'hepatology', 'hepatol', 'hematology', 'hematol', 'infectious disease medicine', 'disease medicine, infectious', 'medicine, infectious disease', 'infectious diseases specialty', 'infectious disease specialties', 'infectious disease specialty', 'infectious diseases specialties', 'specialties, infectious diseases', 'specialties, infectious disease', 'specialty, infectious disease', 'diseases specialty, infectious', 'specialty, infectious diseases', 'medical oncology', 'oncology, medical', 'med oncol', 'oncol med', 'clinical oncology', 'oncology, clinical', 'nephrology', 'nephrol', 'pulmonary medicine', 'medicine, pulmonary', 'pneumology', 'pneumonology', 'pulmonology', 'med pulm', 'pulm med', 'pneumonol', 'pneumol', 'pulmonol', 'respiratory medicine', 'medicine, respiratory', 'rheumatology', 'rheumatol', 'sleep medicine specialty', 'medicine specialties, sleep', 'sleep medicine specialties', 'specialties, sleep medicine', 'medicine specialty, sleep', 'specialty, sleep medicine', 'military medicine', 'medicine, military', 'med military', 'military med', 'molecular medicine', 'medicines, molecular', 'molecular medicines', 'medicine, molecular', 'naval medicine', 'medicine, naval', 'nautical medicine', 'medicine, nautical', 'med nautical', 'nautical med', 'med naval', 'naval med', 'submarine medicine', 'medicine, submarine', 'med submarine', 'submarine med', 'neurology', 'neurol', 'neuropathologist', 'neuropathologists', 'neuropathology', 'neuropathologies', 'neurotology', 'neuro-otology', 'neuro otology', 'otoneurology', 'osteopathic medicine', 'medicine, osteopathic', 'med osteopathic', 'osteopathic med', 'osteopathic manipulative medicine', 'manipulative medicine, osteopathic', 'medicine, osteopathic manipulative', 'palliative medicine', 'medicine, palliative', 'palliative care medicine', 'medicine, palliative care', 'med palliative', 'palliative med', 'pathology', 'pathologies', 'pathol', 'forensic pathology', 'pathology, forensic', 'forensic pathol', 'pathol forensic', 'neuropathologist', 'neuropathologists', 'neuropathology', 'neuropathologies', 'pathology, clinical', 'clinical pathology', 'clin pathol', 'pathol clin', 'pathology, molecular', 'molecular pathologies', 'pathologies, molecular', 'molecular pathology', 'molecular diagnostics', 'diagnostic, molecular', 'molecular diagnostic', 'diagnostics, molecular', 'diagnostic molecular pathology', 'diagnostic molecular pathologies', 'molecular pathologies, diagnostic', 'pathologies, diagnostic molecular', 'molecular pathology, diagnostic', 'pathology, diagnostic molecular', 'pathology, surgical', 'surgical pathology', 'pathol surg', 'surg pathol', 'telepathology', 'telepathol', 'pediatrics', 'neonatology', 'neonatol', 'emergency medicine, pediatric', 'medicine, pediatric emergency', 'pediatric emergency medicine', 'perinatology', 'perinatol', 'perioperative medicine', 'medicine, perioperative', 'physical and rehabilitation medicine', 'physical medicine and rehabilitation', 'physical medicine', 'medicine, physical', 'physiatry', 'physiatrics', 'med physical', 'physical med', 'habilitation', 'rehabilitation', 'rehabil', 'psychiatrist', 'psychiatrists', 'psychiatry', 'adolescent psychiatry', 'psychiatry, adolescent', 'biological psychiatry', 'psychiatry, biological', 'biologic psychiatry', 'psychiatry, biologic', 'psychiatry biol', 'biol psychiatry', 'child psychiatry', 'psychiatry, child', 'community psychiatry', 'psychiatry, community', 'social psychiatry', 'psychiatry, social', 'forensic psychiatry', 'psychiatry, forensic', 'jurisprudence, psychiatric', 'psychiatric jurisprudence', 'geriatric psychiatry', 'psychiatry, geriatric', 'psychogeriatrics', 'military psychiatry', 'psychiatry, military', 'neuropsychiatry', 'environment, preventive medicine and public health', 'environment, preventive medicine & public health', 'envir prev med public health', 'public health', 'health, public', 'community health', 'health, community', 'epidemiology', 'epidemiol', 'preventive medicine', 'medicine, preventive', 'preventative medicine', 'medicine, preventative', 'med prev', 'prev med', 'preventive care', 'care, preventive', 'preventative care', 'care, preventative', 'radiology', 'radiol', 'atomic medicine', 'medicine, atomic', 'nuclear medicine', 'medicine, nuclear', 'med atomic', 'atomic med', 'med nuclear', 'nuclear med', 'radiology, nuclear', 'nuclear radiology', 'nuclear radiol', 'radiol nuclear', 'therapeutic radiology', 'radiology, therapeutic', 'radiol ther', 'ther radiol', 'radiation oncology', 'oncology, radiation', 'oncol rad', 'rad oncol', 'radiology, interventional', 'interventional radiology', 'interventional radiol', 'radiol interventional', 'regenerative medicine', 'regenerative medicines', 'medicines, regenerative', 'medicine, regenerative', 'regenerative med', 'reproductive medicine', 'medicine, reproductive', 'med reproductive', 'reproductive med', 'andrology', 'androl', 'gynecology', 'gynecol', 'social medicine', 'medicine, social', 'med social', 'social med', 'specialties, surgical', 'surgical specialties', 'specialties surg', 'surg specialties', 'colon and rectal surgery specialty', 'surgery specialty, colon and rectal', 'colorectal surgery', 'surgery, colorectal', 'surg specialty colon rectal', 'colon rectal surg specialty', 'colorectal surg', 'surg colorectal', 'colon surgery specialty', 'specialty, colon surgery', 'surgery specialty, colon', 'specialty colon surg', 'surg specialty colon', 'colon surg specialty', 'proctology', 'rectal surgery specialty', 'specialty, rectal surgery', 'surgery specialty, rectal', 'rectal surg specialty', 'specialty rectal surg', 'surg specialty rectal', 'proctol', 'surgery', 'general surgery', 'surgery, general', 'surg', 'gynecology', 'gynecol', 'neurosurgery', 'neurosurgeries', 'neurosurg', 'obstetrics', 'ophthalmology', 'ophthalmol', 'orthognathic surgery', 'orthognathic surgeries', 'surgeries, orthognathic', 'surgery, orthognathic', 'orthopedics', 'otolaryngology', 'otorhinolaryngology', 'otolaryngol', 'otorhinolaryngol', 'otology', 'otol', 'laryngology', 'surgery, plastic', 'plastic surgery', 'plastic surg', 'surg plastic', 'surgery, cosmetic', 'cosmetic surgery', 'surg cosmetic', 'cosmetic surg', 'esthetic surgery', 'esthetic surgeries', 'surgeries, esthetic', 'surgery, esthetic', 'esthetic surg', 'surg esthetic', 'surgical oncology', 'oncology, surgical', 'thoracic surgery', 'surgery, thoracic', 'surg thoracic', 'thoracic surg', 'surgery, cardiac', 'cardiac surgery', 'heart surgery', 'surgery, heart', 'surg cardiac', 'cardiac surg', 'surg heart', 'heart surg', 'traumatology', 'traumatol', 'surgical traumatology', 'traumatology, surgical', 'urology', 'urol', 'sports medicine', 'medicine, sport', 'sport medicine', 'medicine, sports', 'med sports', 'med sport', 'sport med', 'sports med', 'sports nutritional sciences', 'nutritional science, sports', 'science, sports nutritional', 'sports nutritional science', 'nutritional sciences, sports', 'sciences, sports nutritional', 'sports nutrition sciences', 'nutrition science, sports', 'science, sports nutrition', 'sports nutrition science', 'nutrition sciences, sports', 'sciences, sports nutrition', 'exercise nutritional sciences', 'exercise nutritional science', 'nutritional science, exercise', 'science, exercise nutritional', 'nutritional sciences, exercise', 'sciences, exercise nutritional', 'veterinary sports medicine', 'sports medicines, veterinary', 'medicine, sports veterinary', 'medicine, veterinary sports', 'sports medicine, veterinary', 'sports veterinary medicine', 'veterinary medicine, sports', 'telemedicine', 'telemed', 'telehealth', 'ehealth', 'mobile health', 'health, mobile', 'mhealth', 'telepathology', 'telepathol', 'teleradiology', 'teleradiol', 'telerehabilitation', 'remote rehabilitation', 'rehabilitations, remote', 'remote rehabilitations', 'rehabilitation, remote', 'telerehabilitations', 'virtual rehabilitation', 'rehabilitations, virtual', 'virtual rehabilitations', 'rehabilitation, virtual', 'tele-rehabilitation', 'tele rehabilitation', 'tele-rehabilitations', 'theranostic nanomedicine', 'nanomedicines, theranostic', 'theranostic nanomedicines', 'nanomedicine, theranostic', 'theranostics', 'theranostic', 'emporiatrics', 'travel medicine', 'medicine, travel', 'medicine, emporiatric', 'emporiatric medicine', 'tropical medicine', 'medicine, tropical', 'med tropical', 'tropical med', 'vaccinology', 'venereology', 'venereol', 'wilderness medicine', 'medicine, wilderness' ], }
extra_annotations = {'ai': ['artificial intelligence', 'machine learning', 'statistical learning', 'statistical model', 'supervised model', 'unsupervised model', 'computer vision', 'image analysis', 'object recognistion', 'object detection', 'image segmentation', 'deep learning', 'cognitive computing', 'neural network', 'classification model', 'regression model', 'classifier', 'reinforcment learning'], 'tech': ['digital health', 'ehealth', 'digital medicine', 'mhealth', 'digital healthcare', 'digital biomarker', 'telemedicine'], 'medicine': ['health occupations', 'health occupation', 'health professions', 'health profession', 'profession, health', 'professions, health', 'health occup', 'medicine', 'medical specialities', 'medical speciality', 'speciality, medical', 'specialities, medical', 'specialties, medical', 'medical specialty', 'specialty, medical', 'medical specialties', 'med specialties', 'med specialty', 'specialty med', 'specialties med', 'med specialities', 'specialities med', 'addiction psychiatry', 'psychiatry, addiction', 'addiction medicine', 'medicine, addiction', 'adolescent medicine', 'medicine, adolescent', 'hebiatrics', 'ephebiatrics', 'med adolescent', 'adolescent med', 'aerospace medicine', 'medicine, aerospace', 'med aerospace', 'aerospace med', 'aviation medicine', 'medicine, aviation', 'med aviation', 'aviation med', 'medicine, space', 'space medicine', 'med space', 'space med', 'allergy specialty', 'specialty, allergy', 'allergy and immunology', 'allergy, immunology', 'immunology, allergy', 'allergy immunology', 'immunology allergy', 'immunology and allergy', 'allergy immunol', 'immunol allergy', 'immunology', 'immunol', 'immunochemistry', 'immunochem', 'anesthesiology', 'anesthesiol', 'bariatric medicine', 'medicine, bariatric', 'behavioral medicine', 'medicine, behavioral', 'med behavioral', 'behavioral med', 'health psychology', 'health psychologies', 'psychologies, health', 'psychology, health', 'health psychol', 'psychol health', 'clinical medicine', 'medicine, clinical', 'clin med', 'med clin', 'evidence-based medicine', 'evidence based medicine', 'medicine, evidence based', 'medicine, evidence-based', 'evidence based med', 'med evidence based', 'precision medicine', 'medicine, precision', 'p health', 'p-health', 'p-healths', 'personalized medicine', 'medicine, personalized', 'individualized medicine', 'medicine, individualized', 'community medicine', 'medicine, community', 'med community', 'community med', 'dermatology', 'dermatol', 'disaster medicine', 'medicine, disaster', 'emergency medicine', 'medicine, emergency', 'med emergency', 'emergency med', 'emergency medicine, pediatric', 'medicine, pediatric emergency', 'pediatric emergency medicine', 'forensic medicine', 'medicine, forensic', 'med forensic', 'forensic med', 'medicine, legal', 'legal medicine', 'legal med', 'med legal', 'forensic genetics', 'genetics, forensic', 'genetic, forensic', 'forensic genetic', 'forensic pathology', 'pathology, forensic', 'forensic pathol', 'pathol forensic', 'general practice', 'practice, general', 'family practice', 'family practices', 'practices, family', 'practice, family', 'genetics, medical', 'medical genetics', 'med genet', 'genet med', 'geography, medical', 'medical geography', 'geomedicine', 'nosogeography', 'geogr med', 'med geogr', 'topography, medical', 'medical topography', 'med topogr', 'topogr med', 'geriatrics', 'gerontology', 'gerontol', 'international health problems', 'health problem, international', 'international health problem', 'problem, international health', 'health problems, international', 'problems, international health', 'world health', 'health, world', 'worldwide health', 'health, worldwide', 'healths, international', 'international healths', 'international health', 'health, international', 'global health', 'health, global', 'hospital medicine', 'medicine, hospital', 'integrative medicine', 'medicine, integrative', 'internal medicine', 'medicine, internal', 'internal med', 'med internal', 'cardiology', 'cardiol', 'vascular medicine', 'medicine, vascular', 'angiology', 'cardiovascular disease specialty', 'disease specialty, cardiovascular', 'specialty, cardiovascular disease', 'endocrinology', 'endocrinol', 'endocrinology and metabolism specialty', 'metabolism and endocrinology specialty', 'gastroenterology', 'gastroenterol', 'hepatology', 'hepatol', 'hematology', 'hematol', 'infectious disease medicine', 'disease medicine, infectious', 'medicine, infectious disease', 'infectious diseases specialty', 'infectious disease specialties', 'infectious disease specialty', 'infectious diseases specialties', 'specialties, infectious diseases', 'specialties, infectious disease', 'specialty, infectious disease', 'diseases specialty, infectious', 'specialty, infectious diseases', 'medical oncology', 'oncology, medical', 'med oncol', 'oncol med', 'clinical oncology', 'oncology, clinical', 'nephrology', 'nephrol', 'pulmonary medicine', 'medicine, pulmonary', 'pneumology', 'pneumonology', 'pulmonology', 'med pulm', 'pulm med', 'pneumonol', 'pneumol', 'pulmonol', 'respiratory medicine', 'medicine, respiratory', 'rheumatology', 'rheumatol', 'sleep medicine specialty', 'medicine specialties, sleep', 'sleep medicine specialties', 'specialties, sleep medicine', 'medicine specialty, sleep', 'specialty, sleep medicine', 'military medicine', 'medicine, military', 'med military', 'military med', 'molecular medicine', 'medicines, molecular', 'molecular medicines', 'medicine, molecular', 'naval medicine', 'medicine, naval', 'nautical medicine', 'medicine, nautical', 'med nautical', 'nautical med', 'med naval', 'naval med', 'submarine medicine', 'medicine, submarine', 'med submarine', 'submarine med', 'neurology', 'neurol', 'neuropathologist', 'neuropathologists', 'neuropathology', 'neuropathologies', 'neurotology', 'neuro-otology', 'neuro otology', 'otoneurology', 'osteopathic medicine', 'medicine, osteopathic', 'med osteopathic', 'osteopathic med', 'osteopathic manipulative medicine', 'manipulative medicine, osteopathic', 'medicine, osteopathic manipulative', 'palliative medicine', 'medicine, palliative', 'palliative care medicine', 'medicine, palliative care', 'med palliative', 'palliative med', 'pathology', 'pathologies', 'pathol', 'forensic pathology', 'pathology, forensic', 'forensic pathol', 'pathol forensic', 'neuropathologist', 'neuropathologists', 'neuropathology', 'neuropathologies', 'pathology, clinical', 'clinical pathology', 'clin pathol', 'pathol clin', 'pathology, molecular', 'molecular pathologies', 'pathologies, molecular', 'molecular pathology', 'molecular diagnostics', 'diagnostic, molecular', 'molecular diagnostic', 'diagnostics, molecular', 'diagnostic molecular pathology', 'diagnostic molecular pathologies', 'molecular pathologies, diagnostic', 'pathologies, diagnostic molecular', 'molecular pathology, diagnostic', 'pathology, diagnostic molecular', 'pathology, surgical', 'surgical pathology', 'pathol surg', 'surg pathol', 'telepathology', 'telepathol', 'pediatrics', 'neonatology', 'neonatol', 'emergency medicine, pediatric', 'medicine, pediatric emergency', 'pediatric emergency medicine', 'perinatology', 'perinatol', 'perioperative medicine', 'medicine, perioperative', 'physical and rehabilitation medicine', 'physical medicine and rehabilitation', 'physical medicine', 'medicine, physical', 'physiatry', 'physiatrics', 'med physical', 'physical med', 'habilitation', 'rehabilitation', 'rehabil', 'psychiatrist', 'psychiatrists', 'psychiatry', 'adolescent psychiatry', 'psychiatry, adolescent', 'biological psychiatry', 'psychiatry, biological', 'biologic psychiatry', 'psychiatry, biologic', 'psychiatry biol', 'biol psychiatry', 'child psychiatry', 'psychiatry, child', 'community psychiatry', 'psychiatry, community', 'social psychiatry', 'psychiatry, social', 'forensic psychiatry', 'psychiatry, forensic', 'jurisprudence, psychiatric', 'psychiatric jurisprudence', 'geriatric psychiatry', 'psychiatry, geriatric', 'psychogeriatrics', 'military psychiatry', 'psychiatry, military', 'neuropsychiatry', 'environment, preventive medicine and public health', 'environment, preventive medicine & public health', 'envir prev med public health', 'public health', 'health, public', 'community health', 'health, community', 'epidemiology', 'epidemiol', 'preventive medicine', 'medicine, preventive', 'preventative medicine', 'medicine, preventative', 'med prev', 'prev med', 'preventive care', 'care, preventive', 'preventative care', 'care, preventative', 'radiology', 'radiol', 'atomic medicine', 'medicine, atomic', 'nuclear medicine', 'medicine, nuclear', 'med atomic', 'atomic med', 'med nuclear', 'nuclear med', 'radiology, nuclear', 'nuclear radiology', 'nuclear radiol', 'radiol nuclear', 'therapeutic radiology', 'radiology, therapeutic', 'radiol ther', 'ther radiol', 'radiation oncology', 'oncology, radiation', 'oncol rad', 'rad oncol', 'radiology, interventional', 'interventional radiology', 'interventional radiol', 'radiol interventional', 'regenerative medicine', 'regenerative medicines', 'medicines, regenerative', 'medicine, regenerative', 'regenerative med', 'reproductive medicine', 'medicine, reproductive', 'med reproductive', 'reproductive med', 'andrology', 'androl', 'gynecology', 'gynecol', 'social medicine', 'medicine, social', 'med social', 'social med', 'specialties, surgical', 'surgical specialties', 'specialties surg', 'surg specialties', 'colon and rectal surgery specialty', 'surgery specialty, colon and rectal', 'colorectal surgery', 'surgery, colorectal', 'surg specialty colon rectal', 'colon rectal surg specialty', 'colorectal surg', 'surg colorectal', 'colon surgery specialty', 'specialty, colon surgery', 'surgery specialty, colon', 'specialty colon surg', 'surg specialty colon', 'colon surg specialty', 'proctology', 'rectal surgery specialty', 'specialty, rectal surgery', 'surgery specialty, rectal', 'rectal surg specialty', 'specialty rectal surg', 'surg specialty rectal', 'proctol', 'surgery', 'general surgery', 'surgery, general', 'surg', 'gynecology', 'gynecol', 'neurosurgery', 'neurosurgeries', 'neurosurg', 'obstetrics', 'ophthalmology', 'ophthalmol', 'orthognathic surgery', 'orthognathic surgeries', 'surgeries, orthognathic', 'surgery, orthognathic', 'orthopedics', 'otolaryngology', 'otorhinolaryngology', 'otolaryngol', 'otorhinolaryngol', 'otology', 'otol', 'laryngology', 'surgery, plastic', 'plastic surgery', 'plastic surg', 'surg plastic', 'surgery, cosmetic', 'cosmetic surgery', 'surg cosmetic', 'cosmetic surg', 'esthetic surgery', 'esthetic surgeries', 'surgeries, esthetic', 'surgery, esthetic', 'esthetic surg', 'surg esthetic', 'surgical oncology', 'oncology, surgical', 'thoracic surgery', 'surgery, thoracic', 'surg thoracic', 'thoracic surg', 'surgery, cardiac', 'cardiac surgery', 'heart surgery', 'surgery, heart', 'surg cardiac', 'cardiac surg', 'surg heart', 'heart surg', 'traumatology', 'traumatol', 'surgical traumatology', 'traumatology, surgical', 'urology', 'urol', 'sports medicine', 'medicine, sport', 'sport medicine', 'medicine, sports', 'med sports', 'med sport', 'sport med', 'sports med', 'sports nutritional sciences', 'nutritional science, sports', 'science, sports nutritional', 'sports nutritional science', 'nutritional sciences, sports', 'sciences, sports nutritional', 'sports nutrition sciences', 'nutrition science, sports', 'science, sports nutrition', 'sports nutrition science', 'nutrition sciences, sports', 'sciences, sports nutrition', 'exercise nutritional sciences', 'exercise nutritional science', 'nutritional science, exercise', 'science, exercise nutritional', 'nutritional sciences, exercise', 'sciences, exercise nutritional', 'veterinary sports medicine', 'sports medicines, veterinary', 'medicine, sports veterinary', 'medicine, veterinary sports', 'sports medicine, veterinary', 'sports veterinary medicine', 'veterinary medicine, sports', 'telemedicine', 'telemed', 'telehealth', 'ehealth', 'mobile health', 'health, mobile', 'mhealth', 'telepathology', 'telepathol', 'teleradiology', 'teleradiol', 'telerehabilitation', 'remote rehabilitation', 'rehabilitations, remote', 'remote rehabilitations', 'rehabilitation, remote', 'telerehabilitations', 'virtual rehabilitation', 'rehabilitations, virtual', 'virtual rehabilitations', 'rehabilitation, virtual', 'tele-rehabilitation', 'tele rehabilitation', 'tele-rehabilitations', 'theranostic nanomedicine', 'nanomedicines, theranostic', 'theranostic nanomedicines', 'nanomedicine, theranostic', 'theranostics', 'theranostic', 'emporiatrics', 'travel medicine', 'medicine, travel', 'medicine, emporiatric', 'emporiatric medicine', 'tropical medicine', 'medicine, tropical', 'med tropical', 'tropical med', 'vaccinology', 'venereology', 'venereol', 'wilderness medicine', 'medicine, wilderness']}
num = int(input()) numdict = { 1: 'one', 2: 'two', 3: 'three', 4: 'four', 5: 'five', 6: 'six', 7: 'seven', 8: 'eight', 9: 'nine' } print(numdict.get(num, 'number too big'))
num = int(input()) numdict = {1: 'one', 2: 'two', 3: 'three', 4: 'four', 5: 'five', 6: 'six', 7: 'seven', 8: 'eight', 9: 'nine'} print(numdict.get(num, 'number too big'))
class Rational: def __init__(self, p, q): self.numerator = p self.denominator = q def __mul__(self, other): return Rational( self.numerator * other.numerator, self.denominator * other.denominator ) def __str__(self): return f"{self.numerator}/{self.denominator}" r0 = Rational(1, 2) print(r0) r1 = Rational(1, 3) print(r1) r2 = r0 * r1 print(r2)
class Rational: def __init__(self, p, q): self.numerator = p self.denominator = q def __mul__(self, other): return rational(self.numerator * other.numerator, self.denominator * other.denominator) def __str__(self): return f'{self.numerator}/{self.denominator}' r0 = rational(1, 2) print(r0) r1 = rational(1, 3) print(r1) r2 = r0 * r1 print(r2)
# -*- coding: utf-8 -*- db.define_table('Device', Field('device_id', 'string'), Field('device_name', 'string'), Field('model', 'string'), Field('location', 'string') ) db.Device.device_id.requires = [IS_NOT_EMPTY(),IS_NOT_IN_DB(db, 'Device.device_id')] db.Device.device_name.requires = IS_NOT_EMPTY() db.define_table('User_Device', Field('user_ref_id', 'reference auth_user'), Field('device_ref_id', 'reference Device')) db.define_table('Direction', Field('direction_type', label='Direction'), format="%(direction_type)s") db.define_table('Control_Instruction', Field('device_ref_id', 'reference Device'), Field('onoff_flag', 'boolean', notnull=True, label='Motor ON/OFF', comment='* Check for ON & Uncheck for OFF'), Field('volt_flag', 'string', label='Voltage'), Field('curr_flag', 'string', label='Current'), Field('rot_flag', 'string', label='Rotation', comment='* Insert only integer value [revolution per minute]'), Field('dir_flag', 'reference Direction', label='Direction', requires = IS_IN_DB(db, db.Direction.id,'%(direction_type)s')), Field('freq_flag', 'string', label='Frequency'), Field('off_flag', 'boolean', notnull=True, label='Off') ) db.define_table('Changes', Field('device_ref_id', 'reference Device'), Field('change_flag', 'string') ) db.define_table('Status', Field('device_ref_id', 'reference Device'), Field('created', 'datetime'), Field('last_ping','datetime', requires=IS_NOT_EMPTY()), Field('server_time','datetime', requires=IS_NOT_EMPTY())) db.define_table('Device_States', Field('device_ref_id', 'reference Device'), Field('on_or_off', 'boolean', notnull=True, label='ON/OFF'), Field('voltage', 'string'), Field('current', 'string'), Field('rotation', 'string'), Field('direction', 'reference Direction', requires = IS_IN_DB(db, db.Direction.id,'%(direction_type)s')), Field('frequency', 'string'), Field('off', 'boolean', notnull=True, label='OFF'))
db.define_table('Device', field('device_id', 'string'), field('device_name', 'string'), field('model', 'string'), field('location', 'string')) db.Device.device_id.requires = [is_not_empty(), is_not_in_db(db, 'Device.device_id')] db.Device.device_name.requires = is_not_empty() db.define_table('User_Device', field('user_ref_id', 'reference auth_user'), field('device_ref_id', 'reference Device')) db.define_table('Direction', field('direction_type', label='Direction'), format='%(direction_type)s') db.define_table('Control_Instruction', field('device_ref_id', 'reference Device'), field('onoff_flag', 'boolean', notnull=True, label='Motor ON/OFF', comment='* Check for ON & Uncheck for OFF'), field('volt_flag', 'string', label='Voltage'), field('curr_flag', 'string', label='Current'), field('rot_flag', 'string', label='Rotation', comment='* Insert only integer value [revolution per minute]'), field('dir_flag', 'reference Direction', label='Direction', requires=is_in_db(db, db.Direction.id, '%(direction_type)s')), field('freq_flag', 'string', label='Frequency'), field('off_flag', 'boolean', notnull=True, label='Off')) db.define_table('Changes', field('device_ref_id', 'reference Device'), field('change_flag', 'string')) db.define_table('Status', field('device_ref_id', 'reference Device'), field('created', 'datetime'), field('last_ping', 'datetime', requires=is_not_empty()), field('server_time', 'datetime', requires=is_not_empty())) db.define_table('Device_States', field('device_ref_id', 'reference Device'), field('on_or_off', 'boolean', notnull=True, label='ON/OFF'), field('voltage', 'string'), field('current', 'string'), field('rotation', 'string'), field('direction', 'reference Direction', requires=is_in_db(db, db.Direction.id, '%(direction_type)s')), field('frequency', 'string'), field('off', 'boolean', notnull=True, label='OFF'))
lista = [1753, 1858, 1860, 1978, 1758, 1847, 2010, 1679, 1222, 1723, 1592, 1992, 1865, 1635, 1692, 1653, 1485, 848, 1301, 1818, 1872, 1883, 1464, 2002, 1736, 1821, 1851, 1299, 1627, 1698, 1713, 1676, 1673, 1448, 1939, 1506, 1896, 1710, 1677, 1894, 1645, 1454, 1972, 1687, 265, 1923, 1666, 1761, 1386, 2006, 1463, 1759, 1460, 1722, 1670, 1731, 1732, 1976, 1564, 1380, 1981, 1998, 1912, 1479, 1500, 167, 1904, 1689, 1810, 1675, 1811, 1671, 1535, 1624, 1638, 1848, 1646, 1795, 1717, 1803, 1867, 1794, 1774, 1245, 1915, 1601, 1656, 1472, 1700, 1887, 1869, 1876, 1561, 1743, 1900, 1574, 1400, 1950, 1893, 1576, 1903, 1747, 1560, 1445, 1652, 633, 1970, 1812, 1807, 1788, 1948, 1588, 1639, 1719, 1680, 1773, 1890, 1347, 1344, 1456, 1691, 1842, 1585, 1953, 410, 1791, 485, 1412, 1994, 1799, 1955, 1554, 1661, 1708, 1824, 1553, 1993, 1911, 1515, 1545, 856, 1685, 1982, 1954, 1480, 1709, 1428, 1829, 1606, 1613, 1941, 1483, 1513, 1664, 1801, 1720, 1984, 1575, 1805, 1833, 1418, 1882, 1746, 483, 1674, 1467, 1453, 523, 1414, 1800, 1403, 1946, 1868, 1520, 1861, 1580, 1995, 1960, 1625, 1411, 1558, 1817, 1854, 1617, 1478, 735, 1593, 1778, 1809, 1584, 1438, 1845, 1712, 1655, 1990, 1578, 1703, 1895, 1765, 1572] def find_two_2020(lista): result = None for i in lista: for j in lista: if i + j == 2020: result = i * j return result def find_three_2020(lista): result = None for i in lista: for j in lista: for k in lista: if j + i + k == 2020: result = j * i * k return result result = find_three_2020(lista) print(result) def find_sum(lista, num): for i in lista: need = abs(i-num) if need in lista: return [i, need] lista = [1, 2, 4, 9, 5, 4] print(find_sum(lista, 8))
lista = [1753, 1858, 1860, 1978, 1758, 1847, 2010, 1679, 1222, 1723, 1592, 1992, 1865, 1635, 1692, 1653, 1485, 848, 1301, 1818, 1872, 1883, 1464, 2002, 1736, 1821, 1851, 1299, 1627, 1698, 1713, 1676, 1673, 1448, 1939, 1506, 1896, 1710, 1677, 1894, 1645, 1454, 1972, 1687, 265, 1923, 1666, 1761, 1386, 2006, 1463, 1759, 1460, 1722, 1670, 1731, 1732, 1976, 1564, 1380, 1981, 1998, 1912, 1479, 1500, 167, 1904, 1689, 1810, 1675, 1811, 1671, 1535, 1624, 1638, 1848, 1646, 1795, 1717, 1803, 1867, 1794, 1774, 1245, 1915, 1601, 1656, 1472, 1700, 1887, 1869, 1876, 1561, 1743, 1900, 1574, 1400, 1950, 1893, 1576, 1903, 1747, 1560, 1445, 1652, 633, 1970, 1812, 1807, 1788, 1948, 1588, 1639, 1719, 1680, 1773, 1890, 1347, 1344, 1456, 1691, 1842, 1585, 1953, 410, 1791, 485, 1412, 1994, 1799, 1955, 1554, 1661, 1708, 1824, 1553, 1993, 1911, 1515, 1545, 856, 1685, 1982, 1954, 1480, 1709, 1428, 1829, 1606, 1613, 1941, 1483, 1513, 1664, 1801, 1720, 1984, 1575, 1805, 1833, 1418, 1882, 1746, 483, 1674, 1467, 1453, 523, 1414, 1800, 1403, 1946, 1868, 1520, 1861, 1580, 1995, 1960, 1625, 1411, 1558, 1817, 1854, 1617, 1478, 735, 1593, 1778, 1809, 1584, 1438, 1845, 1712, 1655, 1990, 1578, 1703, 1895, 1765, 1572] def find_two_2020(lista): result = None for i in lista: for j in lista: if i + j == 2020: result = i * j return result def find_three_2020(lista): result = None for i in lista: for j in lista: for k in lista: if j + i + k == 2020: result = j * i * k return result result = find_three_2020(lista) print(result) def find_sum(lista, num): for i in lista: need = abs(i - num) if need in lista: return [i, need] lista = [1, 2, 4, 9, 5, 4] print(find_sum(lista, 8))
class helloworld: def hello(self): print("This is my first task !") def run(): helloworld().hello()
class Helloworld: def hello(self): print('This is my first task !') def run(): helloworld().hello()
# dp class Solution: def lengthOfLIS(self, nums: 'List[int]') -> 'int': if len(nums) < 2: return len(nums) dp = [1] * (len(nums) + 1) for i in range(1, len(nums)): for j in range(0, i): if nums[i] > nums[j]: dp[i] = max(dp[i], dp[j] + 1) return max(dp)
class Solution: def length_of_lis(self, nums: 'List[int]') -> 'int': if len(nums) < 2: return len(nums) dp = [1] * (len(nums) + 1) for i in range(1, len(nums)): for j in range(0, i): if nums[i] > nums[j]: dp[i] = max(dp[i], dp[j] + 1) return max(dp)
''' Dict with attr access to keys. Usage: pip install adict from adict import adict d = adict(a=1) assert d.a == d['a'] == 1 See all features, including ajson() in adict.py:test(). adict version 0.1.7 Copyright (C) 2013-2015 by Denis Ryzhkov <[email protected]> MIT License, see http://opensource.org/licenses/MIT ''' #### adict class adict(dict): def __getattr__(self, name): try: return self[name] except KeyError: raise self.__attr_error(name) def __setattr__(self, name, value): self[name] = value def __delattr__(self, name): try: del self[name] except KeyError: raise self.__attr_error(name) def __attr_error(self, name): return AttributeError("type object '{subclass_name}' has no attribute '{attr_name}'".format(subclass_name=type(self).__name__, attr_name=name)) def copy(self): return adict(self) #### ajson def ajson(item): return ( adict((name, ajson(value)) for name, value in item.iteritems()) if isinstance(item, dict) else [ajson(value) for value in item] if isinstance(item, list) else item ) #### test def test(): d = adict(a=1) # Create from names and values. assert d == adict(dict(a=1)) # Create from dict. assert d.a == d['a'] == 1 # Get by attr and by key. d.b = 2 # Set by attr. assert d.b == d['b'] == 2 d['c'] = 3 # Set by key. assert d.c == d['c'] == 3 d.update(copy=3) # Set reserved name by update(). d['copy'] = 3 # Set reserved name by key. assert d['copy'] == 3 # Get reserved name by key. assert isinstance(d.copy(), adict) # copy() is adict too. assert d.copy().a == d.a == 1 # Really. assert d.copy() is not d # But not the same object. del d.a # Delete by attr. assert 'a' not in d # Check membership. try: d.a # Exception on get, has no attribute 'a'. raise Exception('AttributeError expected') except AttributeError as e: # Exception is of correct type. assert str(e) == "type object 'adict' has no attribute 'a'" # And correct message. try: del d.a # Exception on delele, has no attribute 'a'. raise Exception('AttributeError expected') except AttributeError as e: # Exception is of correct type. assert str(e) == "type object 'adict' has no attribute 'a'" # And correct message. class SubClass(adict): pass try: SubClass().a # Exception in SubClass. except AttributeError as e: # Exception is of correct type. assert str(e) == "type object 'SubClass' has no attribute 'a'" # And correct message. j = ajson({"e": ["f", {"g": "h"}]}) # JSON with all dicts converted to adicts. assert j.e[1].g == 'h' # Get by attr in JSON. print('OK') if __name__ == '__main__': test()
""" Dict with attr access to keys. Usage: pip install adict from adict import adict d = adict(a=1) assert d.a == d['a'] == 1 See all features, including ajson() in adict.py:test(). adict version 0.1.7 Copyright (C) 2013-2015 by Denis Ryzhkov <[email protected]> MIT License, see http://opensource.org/licenses/MIT """ class Adict(dict): def __getattr__(self, name): try: return self[name] except KeyError: raise self.__attr_error(name) def __setattr__(self, name, value): self[name] = value def __delattr__(self, name): try: del self[name] except KeyError: raise self.__attr_error(name) def __attr_error(self, name): return attribute_error("type object '{subclass_name}' has no attribute '{attr_name}'".format(subclass_name=type(self).__name__, attr_name=name)) def copy(self): return adict(self) def ajson(item): return adict(((name, ajson(value)) for (name, value) in item.iteritems())) if isinstance(item, dict) else [ajson(value) for value in item] if isinstance(item, list) else item def test(): d = adict(a=1) assert d == adict(dict(a=1)) assert d.a == d['a'] == 1 d.b = 2 assert d.b == d['b'] == 2 d['c'] = 3 assert d.c == d['c'] == 3 d.update(copy=3) d['copy'] = 3 assert d['copy'] == 3 assert isinstance(d.copy(), adict) assert d.copy().a == d.a == 1 assert d.copy() is not d del d.a assert 'a' not in d try: d.a raise exception('AttributeError expected') except AttributeError as e: assert str(e) == "type object 'adict' has no attribute 'a'" try: del d.a raise exception('AttributeError expected') except AttributeError as e: assert str(e) == "type object 'adict' has no attribute 'a'" class Subclass(adict): pass try: sub_class().a except AttributeError as e: assert str(e) == "type object 'SubClass' has no attribute 'a'" j = ajson({'e': ['f', {'g': 'h'}]}) assert j.e[1].g == 'h' print('OK') if __name__ == '__main__': test()
while True: n = int(input()) if n == 0: break x, y = [int(g) for g in str(input()).split()] for j in range(n): a, b = [int(g) for g in str(input()).split()] if a == x or b == y: print('divisa') else: if x < a: if y < b: print('NE') else: print('SE') else: if y < b: print('NO') else: print('SO')
while True: n = int(input()) if n == 0: break (x, y) = [int(g) for g in str(input()).split()] for j in range(n): (a, b) = [int(g) for g in str(input()).split()] if a == x or b == y: print('divisa') elif x < a: if y < b: print('NE') else: print('SE') elif y < b: print('NO') else: print('SO')
''' - Leetcode problem: 98 - Difficulty: Medium - Brief problem description: Given a binary tree, determine if it is a valid binary search tree (BST). Assume a BST is defined as follows: The left subtree of a node contains only nodes with keys less than the node's key. The right subtree of a node contains only nodes with keys greater than the node's key. Both the left and right subtrees must also be binary search trees. Example 1: 2 / \ 1 3 Input: [2,1,3] Output: true Example 2: 5 / \ 1 4 / \ 3 6 Input: [5,1,4,null,null,3,6] Output: false Explanation: The root node's value is 5 but its right child's value is 4. - Solution Summary: Have to keep the lower bound and higher bound - Used Resources: --- Bo Zhou ''' # Definition for a binary tree node. # class TreeNode: # def __init__(self, val=0, left=None, right=None): # self.val = val # self.left = left # self.right = right class Solution: def isValidBST(self, root: TreeNode) -> bool: return self.checkBST(root, None, None) def checkBST(self, root, low, high): if root is None: return True result = True if low and root.val <= low: return False if high and root.val >= high: return False if high: result = result and self.checkBST(root.left, low, min(high, root.val)) else: result = result and self.checkBST(root.left, low, root.val) if low: result = result and self.checkBST(root.right, max(low, root.val), high) else: result = result and self.checkBST(root.right, root.val, high) return result
""" - Leetcode problem: 98 - Difficulty: Medium - Brief problem description: Given a binary tree, determine if it is a valid binary search tree (BST). Assume a BST is defined as follows: The left subtree of a node contains only nodes with keys less than the node's key. The right subtree of a node contains only nodes with keys greater than the node's key. Both the left and right subtrees must also be binary search trees. Example 1: 2 / 1 3 Input: [2,1,3] Output: true Example 2: 5 / 1 4 / 3 6 Input: [5,1,4,null,null,3,6] Output: false Explanation: The root node's value is 5 but its right child's value is 4. - Solution Summary: Have to keep the lower bound and higher bound - Used Resources: --- Bo Zhou """ class Solution: def is_valid_bst(self, root: TreeNode) -> bool: return self.checkBST(root, None, None) def check_bst(self, root, low, high): if root is None: return True result = True if low and root.val <= low: return False if high and root.val >= high: return False if high: result = result and self.checkBST(root.left, low, min(high, root.val)) else: result = result and self.checkBST(root.left, low, root.val) if low: result = result and self.checkBST(root.right, max(low, root.val), high) else: result = result and self.checkBST(root.right, root.val, high) return result
class TapeEnvWrapper: def __init__(self, env): self.__env = env self.__factors = self.__get_factors() def reset(self): return self.__env.reset() def step(self, action): action = self.__undiscretise(action) next_state, reward, done, info = self.__env.step(action) return next_state, reward, done, info def render(self): self.__env.render() def close(self): self.__env.close() def get_random_action(self): action = self.__env.action_space.sample() total = 0 pointer = 0 for dim in action: total += dim * self.__factors[pointer] pointer += 1 return total def get_total_actions(self): total = 1 for dim in self.__env.action_space: total *= dim.n return total def get_total_states(self): return self.__env.observation_space.n def __undiscretise(self, action): act = [0, 0, 0] for i in range(2, -1, -1): act[i] = action // self.__factors[i] action = action % self.__factors[i] return tuple(act) def __get_factors(self): factors = [] for i in range(len(self.__env.action_space)): factors.append(self.__get_factor(i, self.__env.action_space)) return factors def __get_factor(self, pos, action_space): if pos == 0: return 1 if pos == 1: return action_space[0].n return action_space[pos-1].n * self.__get_factor(pos - 1, action_space) def seed(self, seed=None, set_action_seed=True): if set_action_seed: self.__env.action_space.seed(seed) return self.__env.seed(seed)
class Tapeenvwrapper: def __init__(self, env): self.__env = env self.__factors = self.__get_factors() def reset(self): return self.__env.reset() def step(self, action): action = self.__undiscretise(action) (next_state, reward, done, info) = self.__env.step(action) return (next_state, reward, done, info) def render(self): self.__env.render() def close(self): self.__env.close() def get_random_action(self): action = self.__env.action_space.sample() total = 0 pointer = 0 for dim in action: total += dim * self.__factors[pointer] pointer += 1 return total def get_total_actions(self): total = 1 for dim in self.__env.action_space: total *= dim.n return total def get_total_states(self): return self.__env.observation_space.n def __undiscretise(self, action): act = [0, 0, 0] for i in range(2, -1, -1): act[i] = action // self.__factors[i] action = action % self.__factors[i] return tuple(act) def __get_factors(self): factors = [] for i in range(len(self.__env.action_space)): factors.append(self.__get_factor(i, self.__env.action_space)) return factors def __get_factor(self, pos, action_space): if pos == 0: return 1 if pos == 1: return action_space[0].n return action_space[pos - 1].n * self.__get_factor(pos - 1, action_space) def seed(self, seed=None, set_action_seed=True): if set_action_seed: self.__env.action_space.seed(seed) return self.__env.seed(seed)
class Solution: def solve(self, n): if n == 0: return '0' remainders = [] while n: n, r = divmod(n, 3) remainders.append(str(r)) return ''.join(reversed(remainders))
class Solution: def solve(self, n): if n == 0: return '0' remainders = [] while n: (n, r) = divmod(n, 3) remainders.append(str(r)) return ''.join(reversed(remainders))
# # PySNMP MIB module CISCO-ITP-GSP2-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/CISCO-ITP-GSP2-MIB # Produced by pysmi-0.3.4 at Wed May 1 12:03:31 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) # ObjectIdentifier, OctetString, Integer = mibBuilder.importSymbols("ASN1", "ObjectIdentifier", "OctetString", "Integer") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ConstraintsIntersection, ValueRangeConstraint, ValueSizeConstraint, ConstraintsUnion, SingleValueConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ValueRangeConstraint", "ValueSizeConstraint", "ConstraintsUnion", "SingleValueConstraint") cgspInstNetwork, = mibBuilder.importSymbols("CISCO-ITP-GSP-MIB", "cgspInstNetwork") CItpTcPointCode, CItpTcLinkSLC, CItpTcLinksetId, CItpTcAclId, CItpTcNetworkName, CItpTcXuaName = mibBuilder.importSymbols("CISCO-ITP-TC-MIB", "CItpTcPointCode", "CItpTcLinkSLC", "CItpTcLinksetId", "CItpTcAclId", "CItpTcNetworkName", "CItpTcXuaName") ciscoMgmt, = mibBuilder.importSymbols("CISCO-SMI", "ciscoMgmt") InetAddressType, InetPortNumber, InetAddress = mibBuilder.importSymbols("INET-ADDRESS-MIB", "InetAddressType", "InetPortNumber", "InetAddress") SnmpAdminString, = mibBuilder.importSymbols("SNMP-FRAMEWORK-MIB", "SnmpAdminString") NotificationGroup, ModuleCompliance, ObjectGroup = mibBuilder.importSymbols("SNMPv2-CONF", "NotificationGroup", "ModuleCompliance", "ObjectGroup") Gauge32, Integer32, MibIdentifier, Bits, Counter32, Counter64, MibScalar, MibTable, MibTableRow, MibTableColumn, NotificationType, IpAddress, Unsigned32, ModuleIdentity, iso, ObjectIdentity, TimeTicks = mibBuilder.importSymbols("SNMPv2-SMI", "Gauge32", "Integer32", "MibIdentifier", "Bits", "Counter32", "Counter64", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "NotificationType", "IpAddress", "Unsigned32", "ModuleIdentity", "iso", "ObjectIdentity", "TimeTicks") TimeStamp, TextualConvention, DisplayString, RowStatus = mibBuilder.importSymbols("SNMPv2-TC", "TimeStamp", "TextualConvention", "DisplayString", "RowStatus") ciscoGsp2MIB = ModuleIdentity((1, 3, 6, 1, 4, 1, 9, 9, 332)) ciscoGsp2MIB.setRevisions(('2008-07-09 00:00', '2007-12-18 00:00', '2004-05-26 00:00', '2003-08-07 00:00', '2003-03-03 00:00',)) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): if mibBuilder.loadTexts: ciscoGsp2MIB.setRevisionsDescriptions(('Added Context Table for Probless Monitor feature.', 'Added Processor Number to cgsp2LocalPeerTable for SAMI interfaces.', 'Added following object to provide information related to Non-stop Operations function. cgsp2OperMtp3Offload, cgsp2OperRedundancy', 'Add new table to support MTP3 errors', 'Initial version of this MIB module.',)) if mibBuilder.loadTexts: ciscoGsp2MIB.setLastUpdated('200807090000Z') if mibBuilder.loadTexts: ciscoGsp2MIB.setOrganization('Cisco Systems, Inc.') if mibBuilder.loadTexts: ciscoGsp2MIB.setContactInfo('Cisco Systems, Inc Customer Service Postal: 170 W. Tasman Drive San Jose, CA 95134 USA Tel: +1 800 553-NETS E-mail: [email protected]') if mibBuilder.loadTexts: ciscoGsp2MIB.setDescription('The MIB for providing information specified in ITU Q752 Monitoring and Measurements for signalling System No. 7(SS7) Network. This information can be used to manage messages transported over SS7 Network via Cisco IP Transfer Point. The Cisco IP Transfer Point (ITP) is a hardware and software solution that transports SS7 traffic using IP. Each ITP node provides function similar to SS7 signalling point. The relevant ITU documents describing this technology is the ITU Q series, including ITU Q.700: Introduction to CCITT signalling System No. 7 and ITU Q.701 Functional description of the message transfer part (MTP) of signalling System No. 7. The ITP Quality of Service (QoS) model allows the definition of 8 QoS classes, 0 through 7. QoS classes can be assigned only SCTP links. Only one QoS class can be assigned to an SCTP link. Class 0 will be designated as the default class. Packets that are not classified to a designated QoS class will get assigned to the default class. Each provisioned QoS class can be assigned an IP precedence value or a Differential Services Code Point (DSCP). The default class is initialized to IP precedence zero (0). The default class initial TOS setting can be changed through the command line interface. The Type of Service (TOS) byte in the IP header will be set to the IP precedence or DSCP that is assigned to class. Every packet forwarded over an SCTP link that was provisioned for a given QoS class will have the TOS byte set.') ciscoGsp2MIBNotifs = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 332, 0)) ciscoGsp2MIBObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 332, 1)) ciscoGsp2MIBConform = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 332, 2)) cgsp2Events = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 1)) cgsp2Qos = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 2)) cgsp2LocalPeer = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 3)) cgsp2Mtp3Errors = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 4)) cgsp2Operation = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 5)) cgsp2Context = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 6)) class Cgsp2TcQosClass(TextualConvention, Unsigned32): description = 'The quality of service classification to be assigned to the IP packets used to transport the SS7 messages. Zero is a special value and is reserved to carry all traffic that does not specify a Qos or when exact match of the specified Qos is not available.' status = 'current' subtypeSpec = Unsigned32.subtypeSpec + ValueRangeConstraint(0, 7) class Cgsp2EventIndex(TextualConvention, Unsigned32): description = 'A monotonically increasing integer for the sole purpose of indexing events. When it reaches the maximum value the agent flushes the event table and wraps the value back to 1. Where lower values represent older entries and higher values represent newer entries.' status = 'current' subtypeSpec = Unsigned32.subtypeSpec + ValueRangeConstraint(1, 2147483647) class CItpTcContextId(TextualConvention, Unsigned32): description = 'Each context is assigned an unique identifier starting with one and are monotonically increased by one.' status = 'current' subtypeSpec = Unsigned32.subtypeSpec + ValueRangeConstraint(1, 4294967295) class CItpTcContextType(TextualConvention, Integer32): description = 'Indicate type or resources ....' status = 'current' subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(0, 1, 6)) namedValues = NamedValues(("unknown", 0), ("cs7link", 1), ("asp", 6)) cgsp2EventTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 1, 1), ) if mibBuilder.loadTexts: cgsp2EventTable.setStatus('current') if mibBuilder.loadTexts: cgsp2EventTable.setDescription('A table used to provide information about all types of events on a signalling point.') cgsp2EventTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 1, 1, 1), ).setIndexNames((0, "CISCO-ITP-GSP-MIB", "cgspInstNetwork"), (0, "CISCO-ITP-GSP2-MIB", "cgsp2EventType")) if mibBuilder.loadTexts: cgsp2EventTableEntry.setStatus('current') if mibBuilder.loadTexts: cgsp2EventTableEntry.setDescription('A table of SS7 events generated and received by a specific signalling point.') cgsp2EventType = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 1, 1, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("as", 1), ("asp", 2), ("mtp3", 3), ("pc", 4)))) if mibBuilder.loadTexts: cgsp2EventType.setStatus('current') if mibBuilder.loadTexts: cgsp2EventType.setDescription("The type of event history as follows. 'as' - Application Service 'asp' - Application Service Process 'mtp3' - Message Transport Protocol Level 3 'pc' - Point-code") cgsp2EventLoggedEvents = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 1, 1, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: cgsp2EventLoggedEvents.setStatus('current') if mibBuilder.loadTexts: cgsp2EventLoggedEvents.setDescription('The number of events that have been logged.') cgsp2EventDroppedEvents = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 1, 1, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: cgsp2EventDroppedEvents.setStatus('current') if mibBuilder.loadTexts: cgsp2EventDroppedEvents.setDescription('The number of events that could not be logged due to unavailable resources.') cgsp2EventMaxEntries = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 1, 1, 1, 4), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: cgsp2EventMaxEntries.setStatus('current') if mibBuilder.loadTexts: cgsp2EventMaxEntries.setDescription('The upper limit on the number of events that the event history can contain. A value of 0 will prevent any event history from being retained. When this table is full, the oldest entry will be deleted as a new entry is added.') cgsp2EventMaxEntriesAllowed = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 1, 1, 1, 5), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: cgsp2EventMaxEntriesAllowed.setStatus('current') if mibBuilder.loadTexts: cgsp2EventMaxEntriesAllowed.setDescription('This object specifies the maximum number of events that can be specified for cgsp2EventMaxEntries object.') cgsp2EventAsTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 1, 2), ) if mibBuilder.loadTexts: cgsp2EventAsTable.setStatus('current') if mibBuilder.loadTexts: cgsp2EventAsTable.setDescription('A table of Application Service events generated per signalling point.') cgsp2EventAsTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 1, 2, 1), ).setIndexNames((0, "CISCO-ITP-GSP-MIB", "cgspInstNetwork"), (0, "CISCO-ITP-GSP2-MIB", "cgsp2EventAsName"), (0, "CISCO-ITP-GSP2-MIB", "cgsp2EventAsIndex")) if mibBuilder.loadTexts: cgsp2EventAsTableEntry.setStatus('current') if mibBuilder.loadTexts: cgsp2EventAsTableEntry.setDescription('An entry is added to this table for each application service event associated with a particular application service. The table contains the latest number of events defined by the cgsp2EventMaxEntries object. Once the table is full, the oldest entry is removed and a new entry is created to accommodate the new event.') cgsp2EventAsName = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 1, 2, 1, 1), CItpTcXuaName()) if mibBuilder.loadTexts: cgsp2EventAsName.setStatus('current') if mibBuilder.loadTexts: cgsp2EventAsName.setDescription('The application server name. This name has only local significance.') cgsp2EventAsIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 1, 2, 1, 2), Cgsp2EventIndex()) if mibBuilder.loadTexts: cgsp2EventAsIndex.setStatus('current') if mibBuilder.loadTexts: cgsp2EventAsIndex.setDescription('Index into application service event history.') cgsp2EventAsText = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 1, 2, 1, 3), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(1, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: cgsp2EventAsText.setStatus('current') if mibBuilder.loadTexts: cgsp2EventAsText.setDescription('A brief description of the application service event in text format.') cgsp2EventAsTimestamp = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 1, 2, 1, 4), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: cgsp2EventAsTimestamp.setStatus('current') if mibBuilder.loadTexts: cgsp2EventAsTimestamp.setDescription('The value of sysUpTime at the time of the application service event was processed.') cgsp2EventAspTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 1, 3), ) if mibBuilder.loadTexts: cgsp2EventAspTable.setStatus('current') if mibBuilder.loadTexts: cgsp2EventAspTable.setDescription('A table of application service process events generated per signalling point.') cgsp2EventAspTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 1, 3, 1), ).setIndexNames((0, "CISCO-ITP-GSP-MIB", "cgspInstNetwork"), (0, "CISCO-ITP-GSP2-MIB", "cgsp2EventAspName"), (0, "CISCO-ITP-GSP2-MIB", "cgsp2EventAspIndex")) if mibBuilder.loadTexts: cgsp2EventAspTableEntry.setStatus('current') if mibBuilder.loadTexts: cgsp2EventAspTableEntry.setDescription('An entry is added to this table for each application service process event associated with a particular application service process. The table contains the latest number of events defined by the cgsp2EventMaxEntries object. Once the table is full, the oldest entry is removed and a new entry is created to accommodate the new event.') cgsp2EventAspName = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 1, 3, 1, 1), CItpTcXuaName()) if mibBuilder.loadTexts: cgsp2EventAspName.setStatus('current') if mibBuilder.loadTexts: cgsp2EventAspName.setDescription('The application server process name. This name has only local significance.') cgsp2EventAspIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 1, 3, 1, 2), Cgsp2EventIndex()) if mibBuilder.loadTexts: cgsp2EventAspIndex.setStatus('current') if mibBuilder.loadTexts: cgsp2EventAspIndex.setDescription('Index into application service process event history.') cgsp2EventAspText = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 1, 3, 1, 3), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(1, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: cgsp2EventAspText.setStatus('current') if mibBuilder.loadTexts: cgsp2EventAspText.setDescription('A brief description of the application service process event in text format.') cgsp2EventAspTimestamp = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 1, 3, 1, 4), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: cgsp2EventAspTimestamp.setStatus('current') if mibBuilder.loadTexts: cgsp2EventAspTimestamp.setDescription('The value of sysUpTime at the time of the application service process event was received.') cgsp2EventMtp3Table = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 1, 4), ) if mibBuilder.loadTexts: cgsp2EventMtp3Table.setStatus('current') if mibBuilder.loadTexts: cgsp2EventMtp3Table.setDescription('A table of MTP3 events generated per signalling point.') cgsp2EventMtp3TableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 1, 4, 1), ).setIndexNames((0, "CISCO-ITP-GSP-MIB", "cgspInstNetwork"), (0, "CISCO-ITP-GSP2-MIB", "cgsp2EventMtp3Index")) if mibBuilder.loadTexts: cgsp2EventMtp3TableEntry.setStatus('current') if mibBuilder.loadTexts: cgsp2EventMtp3TableEntry.setDescription('An MTP3 event that was previously generated by this signalling point. An entry is added to this table for each SS7 event generated on the managed system. The table contains the latest number of events defined by the cgsp2EventMaxEntries object. Once the table is full, the oldest entry is removed and a new entry is created to accommodate the new event.') cgsp2EventMtp3Index = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 1, 4, 1, 1), Cgsp2EventIndex()) if mibBuilder.loadTexts: cgsp2EventMtp3Index.setStatus('current') if mibBuilder.loadTexts: cgsp2EventMtp3Index.setDescription('Index into MTP3 event history.') cgsp2EventMtp3Text = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 1, 4, 1, 2), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(1, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: cgsp2EventMtp3Text.setStatus('current') if mibBuilder.loadTexts: cgsp2EventMtp3Text.setDescription('A brief description of the SS7 event in text format. Each event provides information of state transitions specific to the MTP3 protocol.') cgsp2EventMtp3Timestamp = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 1, 4, 1, 3), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: cgsp2EventMtp3Timestamp.setStatus('current') if mibBuilder.loadTexts: cgsp2EventMtp3Timestamp.setDescription('The value of sysUpTime at the time of the event was received by MTP3 layer.') cgsp2EventPcTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 1, 5), ) if mibBuilder.loadTexts: cgsp2EventPcTable.setStatus('current') if mibBuilder.loadTexts: cgsp2EventPcTable.setDescription('A table of point-code events generated per signalling point.') cgsp2EventPcTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 1, 5, 1), ).setIndexNames((0, "CISCO-ITP-GSP-MIB", "cgspInstNetwork"), (0, "CISCO-ITP-GSP2-MIB", "cgsp2EventPc"), (0, "CISCO-ITP-GSP2-MIB", "cgsp2EventPcIndex")) if mibBuilder.loadTexts: cgsp2EventPcTableEntry.setStatus('current') if mibBuilder.loadTexts: cgsp2EventPcTableEntry.setDescription('An entry is added to this table for each point-code event. The table contains the latest number of events defined by the cgsp2EventMaxEntries object. Once the table is full, the oldest entry is removed and a new entry is created to accommodate the new event.') cgsp2EventPc = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 1, 5, 1, 1), CItpTcPointCode()) if mibBuilder.loadTexts: cgsp2EventPc.setStatus('current') if mibBuilder.loadTexts: cgsp2EventPc.setDescription('The point code number.') cgsp2EventPcIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 1, 5, 1, 2), Cgsp2EventIndex()) if mibBuilder.loadTexts: cgsp2EventPcIndex.setStatus('current') if mibBuilder.loadTexts: cgsp2EventPcIndex.setDescription('Index into point-code event history.') cgsp2EventPcText = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 1, 5, 1, 3), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(1, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: cgsp2EventPcText.setStatus('current') if mibBuilder.loadTexts: cgsp2EventPcText.setDescription('A brief description of the point-code event in text format.') cgsp2EventPcTimestamp = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 1, 5, 1, 4), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: cgsp2EventPcTimestamp.setStatus('current') if mibBuilder.loadTexts: cgsp2EventPcTimestamp.setDescription('The value of sysUpTime at the time of the point-code event was received.') cgsp2QosTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 2, 1), ) if mibBuilder.loadTexts: cgsp2QosTable.setStatus('current') if mibBuilder.loadTexts: cgsp2QosTable.setDescription('A table of information related to the defining Quality of Service to transport SS7 packets using SCTP/IP. Entries are added to this table via cgsp2QosRowStatus in accordance with the RowStatusconvention.') cgsp2QosTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 2, 1, 1), ).setIndexNames((0, "CISCO-ITP-GSP-MIB", "cgspInstNetwork"), (0, "CISCO-ITP-GSP2-MIB", "cgsp2QosClass")) if mibBuilder.loadTexts: cgsp2QosTableEntry.setStatus('current') if mibBuilder.loadTexts: cgsp2QosTableEntry.setDescription('Each entry define information relate to a Quality of Service class as needed to transport SS7 packets using SCTP/IP.') cgsp2QosClass = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 2, 1, 1, 1), Cgsp2TcQosClass()) if mibBuilder.loadTexts: cgsp2QosClass.setStatus('current') if mibBuilder.loadTexts: cgsp2QosClass.setDescription('The quality of service class that can be defined to transport SS7 Packets using SCTP/IP.') cgsp2QosType = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 2, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("ipPrecedence", 1), ("ipDscp", 2)))).setMaxAccess("readcreate") if mibBuilder.loadTexts: cgsp2QosType.setStatus('current') if mibBuilder.loadTexts: cgsp2QosType.setDescription('Enumerated list of QoS type that can be defined. A value ipPrecedence suggests that IP Type of Service (TOS) is based on cgsp2QosPrecedenceValue. A value ipDscp suggests that IP Type of Service (TOS) is based on cgsp2QosIpDscp.') cgsp2QosPrecedenceValue = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 2, 1, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 7))).setMaxAccess("readcreate") if mibBuilder.loadTexts: cgsp2QosPrecedenceValue.setStatus('current') if mibBuilder.loadTexts: cgsp2QosPrecedenceValue.setDescription('A value to assign to the IP TOS bits in the IP datagram that carries one or more SS7 packets. The IP Precedence value is specified if cgsp2QosType is ipPrecedence, otherwise it is -1.') cgsp2QosIpDscp = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 2, 1, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 63))).setMaxAccess("readcreate") if mibBuilder.loadTexts: cgsp2QosIpDscp.setReference('Differentiated Services is described and defined in the RFCs: 2474, 2475, 2597, and 2598.') if mibBuilder.loadTexts: cgsp2QosIpDscp.setStatus('current') if mibBuilder.loadTexts: cgsp2QosIpDscp.setDescription('DiffServ CodePoint (DSCP) value to assign to the IP TOS bits in the IP datagram that carries one or more SS7 packets. DSCP provides scalable mechanisms to classify packets into groups or classes that have similar QoS requirements and then gives these groups the required treatment at every hop in the network. The DSCP value is specified if cgsp2QosType is ipDscp, otherwise it is -1.') cgsp2QosAclId = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 2, 1, 1, 5), CItpTcAclId()).setMaxAccess("readcreate") if mibBuilder.loadTexts: cgsp2QosAclId.setStatus('current') if mibBuilder.loadTexts: cgsp2QosAclId.setDescription('ITP Access lists can be used to use information specific to SS7 packets to assign an Qos class. A value of zero indicates that no access control list is present.') cgsp2QosRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 2, 1, 1, 6), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: cgsp2QosRowStatus.setStatus('current') if mibBuilder.loadTexts: cgsp2QosRowStatus.setDescription('The object is used by a management station to create or delete the row entry in cgsp2QosTable following the RowStatus textual convention.') cgsp2LocalPeerTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 3, 1), ) if mibBuilder.loadTexts: cgsp2LocalPeerTable.setStatus('current') if mibBuilder.loadTexts: cgsp2LocalPeerTable.setDescription('A local-peer table used establish SCTP associations. The port will be used to receive and sent requests to establish associations. Entries are added to this table via cgsp2LocalPeerRowStatus in accordance with the RowStatus convention.') cgsp2LocalPeerTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 3, 1, 1), ).setIndexNames((0, "CISCO-ITP-GSP2-MIB", "cgsp2LocalPeerPort")) if mibBuilder.loadTexts: cgsp2LocalPeerTableEntry.setStatus('current') if mibBuilder.loadTexts: cgsp2LocalPeerTableEntry.setDescription('A list of attributes of the local-peer.') cgsp2LocalPeerPort = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 3, 1, 1, 1), InetPortNumber()) if mibBuilder.loadTexts: cgsp2LocalPeerPort.setStatus('current') if mibBuilder.loadTexts: cgsp2LocalPeerPort.setDescription('The local SCTP port for this local-peer. The value zero is not allowed.') cgsp2LocalPeerSlotNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 3, 1, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 32767)).clone(-1)).setMaxAccess("readonly") if mibBuilder.loadTexts: cgsp2LocalPeerSlotNumber.setStatus('current') if mibBuilder.loadTexts: cgsp2LocalPeerSlotNumber.setDescription('This value is used to specify to which slot the local-peer will be offloaded. A value of negative one indicates the local-peer is not offloaded.') cgsp2LocalPeerRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 3, 1, 1, 3), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: cgsp2LocalPeerRowStatus.setStatus('current') if mibBuilder.loadTexts: cgsp2LocalPeerRowStatus.setDescription('The object is used by a management station to create or delete a row entry in cgsp2LocalPeerTable following the RowStatus textual convention.') cgsp2LocalPeerProcessorNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 3, 1, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: cgsp2LocalPeerProcessorNumber.setStatus('current') if mibBuilder.loadTexts: cgsp2LocalPeerProcessorNumber.setDescription('This value is used to specify to which processor the local-peer will be offloaded on the line card indicated by cgsp2LocalPeerSlotNumber. For certain line cards like Flexwan, this value corresponds to bay number instead of processor number.') cgsp2LpIpAddrTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 3, 2), ) if mibBuilder.loadTexts: cgsp2LpIpAddrTable.setStatus('current') if mibBuilder.loadTexts: cgsp2LpIpAddrTable.setDescription('A table of Local IP addresses group together to form the local-peer used to establish SCTP associations. For a given local-peer, there can be multiple local IP addresses which are used for the multi-homing feature of the SCTP associations. This table lists out the configured local IP addresses. Entries are added to this table via cgsp2LocalPeerRowStatus in accordance with the RowStatus convention.') cgsp2LpIpAddrTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 3, 2, 1), ).setIndexNames((0, "CISCO-ITP-GSP2-MIB", "cgsp2LocalPeerPort"), (0, "CISCO-ITP-GSP2-MIB", "cgsp2LpIpAddressNumber")) if mibBuilder.loadTexts: cgsp2LpIpAddrTableEntry.setStatus('current') if mibBuilder.loadTexts: cgsp2LpIpAddrTableEntry.setDescription('A list of attributes of the Local IP addresses for the local-peer.') cgsp2LpIpAddressNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 3, 2, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))) if mibBuilder.loadTexts: cgsp2LpIpAddressNumber.setStatus('current') if mibBuilder.loadTexts: cgsp2LpIpAddressNumber.setDescription("This object specifies the index for the instance's IP address.") cgsp2LpIpAddressType = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 3, 2, 1, 2), InetAddressType()).setMaxAccess("readcreate") if mibBuilder.loadTexts: cgsp2LpIpAddressType.setStatus('current') if mibBuilder.loadTexts: cgsp2LpIpAddressType.setDescription('This object contains the type of the local IP address used to create the association.') cgsp2LpIpAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 3, 2, 1, 3), InetAddress()).setMaxAccess("readcreate") if mibBuilder.loadTexts: cgsp2LpIpAddress.setStatus('current') if mibBuilder.loadTexts: cgsp2LpIpAddress.setDescription('This object contains the local IP address used to create association associations.') cgsp2LpIpAddressRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 3, 2, 1, 4), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: cgsp2LpIpAddressRowStatus.setStatus('current') if mibBuilder.loadTexts: cgsp2LpIpAddressRowStatus.setDescription('The object is used by a management station to create or delete the row entry in cgsp2LpIpAddrTable following the RowStatus textual convention.') cgsp2Mtp3ErrorsTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 4, 1), ) if mibBuilder.loadTexts: cgsp2Mtp3ErrorsTable.setStatus('current') if mibBuilder.loadTexts: cgsp2Mtp3ErrorsTable.setDescription('A table of MTP3 errors that have occurred on all Signalling Point supported by this device.') cgsp2Mtp3ErrorsTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 4, 1, 1), ).setIndexNames((0, "CISCO-ITP-GSP2-MIB", "cgsp2Mtp3ErrorsType")) if mibBuilder.loadTexts: cgsp2Mtp3ErrorsTableEntry.setStatus('current') if mibBuilder.loadTexts: cgsp2Mtp3ErrorsTableEntry.setDescription('A list of attributes used to provide a summary of the various MTP3 errors encountered by the device.') cgsp2Mtp3ErrorsType = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 4, 1, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))) if mibBuilder.loadTexts: cgsp2Mtp3ErrorsType.setStatus('current') if mibBuilder.loadTexts: cgsp2Mtp3ErrorsType.setDescription('This object specifies the index for the various error types.') cgsp2Mtp3ErrorsDescription = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 4, 1, 1, 2), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(1, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: cgsp2Mtp3ErrorsDescription.setStatus('current') if mibBuilder.loadTexts: cgsp2Mtp3ErrorsDescription.setDescription('A brief description of the MTP3 error in text format.') cgsp2Mtp3ErrorsCount = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 4, 1, 1, 3), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: cgsp2Mtp3ErrorsCount.setStatus('current') if mibBuilder.loadTexts: cgsp2Mtp3ErrorsCount.setDescription('Number of errors encountered for this type of MTP3 error as described in cgsp2Mtp3ErrorsDescription object.') cgsp2ContextTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 6, 1), ) if mibBuilder.loadTexts: cgsp2ContextTable.setStatus('current') if mibBuilder.loadTexts: cgsp2ContextTable.setDescription('DCS(Data Collector Server) use ContextId as index to get additional information about the resource being monitoring. This table provides informations used to identify the resource(link or ASP).') cgsp2ContextEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 6, 1, 1), ).setIndexNames((0, "CISCO-ITP-GSP2-MIB", "cgsp2ContextIdentifier")) if mibBuilder.loadTexts: cgsp2ContextEntry.setStatus('current') if mibBuilder.loadTexts: cgsp2ContextEntry.setDescription('Each entry (conceptual row) represents a resource(Link or ASP) that can be monitored by the the Probeless Monitor Feature. Each are added to deleted from this table as Link and ASP are configured.') cgsp2ContextIdentifier = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 6, 1, 1, 1), CItpTcContextId()) if mibBuilder.loadTexts: cgsp2ContextIdentifier.setStatus('current') if mibBuilder.loadTexts: cgsp2ContextIdentifier.setDescription('The unique Id for LINK or ASP to Application') cgsp2ContextType = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 6, 1, 1, 2), CItpTcContextType()).setMaxAccess("readonly") if mibBuilder.loadTexts: cgsp2ContextType.setStatus('current') if mibBuilder.loadTexts: cgsp2ContextType.setDescription('This object indicate the type of resource Link or ASP.') cgsp2ContextLinksetName = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 6, 1, 1, 3), CItpTcLinksetId()).setMaxAccess("readonly") if mibBuilder.loadTexts: cgsp2ContextLinksetName.setStatus('current') if mibBuilder.loadTexts: cgsp2ContextLinksetName.setDescription('The name of the Linkset in which the link is configured and this object only applies when the cgsp2ContextType indicates the resource is a Link.') cgsp2ContextSlc = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 6, 1, 1, 4), CItpTcLinkSLC()).setMaxAccess("readonly") if mibBuilder.loadTexts: cgsp2ContextSlc.setReference('ITU Q.704 Signalling network functions and messages. ANSI T1.111 Telecommunications - Signalling system No. 7 (SS7)-Message Transfer Part (MTP).') if mibBuilder.loadTexts: cgsp2ContextSlc.setStatus('current') if mibBuilder.loadTexts: cgsp2ContextSlc.setDescription('The Signalling Link Code for this link.This object only applies when the cgsp2ContextType indicates the resource is an Link.') cgsp2ContextAsName = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 6, 1, 1, 5), CItpTcXuaName()).setMaxAccess("readonly") if mibBuilder.loadTexts: cgsp2ContextAsName.setStatus('current') if mibBuilder.loadTexts: cgsp2ContextAsName.setDescription('The Aplication server name.This object only applies when the cgsp2ContextType indicates the resource is an ASP.') cgsp2ContextAspName = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 6, 1, 1, 6), CItpTcXuaName()).setMaxAccess("readonly") if mibBuilder.loadTexts: cgsp2ContextAspName.setStatus('current') if mibBuilder.loadTexts: cgsp2ContextAspName.setDescription('The Application Server Process Name.This object only applies when the cgsp2ContextType indicates the resource is an ASP.') cgsp2ContextNetworkName = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 6, 1, 1, 7), CItpTcNetworkName()).setMaxAccess("readonly") if mibBuilder.loadTexts: cgsp2ContextNetworkName.setStatus('current') if mibBuilder.loadTexts: cgsp2ContextNetworkName.setDescription('The Network name configure for the instance in ITP') cgsp2OperMtp3Offload = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 5, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("main", 1), ("offload", 2))).clone('main')).setMaxAccess("readonly") if mibBuilder.loadTexts: cgsp2OperMtp3Offload.setStatus('current') if mibBuilder.loadTexts: cgsp2OperMtp3Offload.setDescription("Indicates location of MTP3 management function as follows. 'main' - MTP3 Management function operates only on main processor. 'offload' - MTP3 Management function operates on main processor and other available processors.") cgsp2OperRedundancy = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 5, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("none", 1), ("local", 2), ("distributed", 3))).clone('none')).setMaxAccess("readonly") if mibBuilder.loadTexts: cgsp2OperRedundancy.setStatus('current') if mibBuilder.loadTexts: cgsp2OperRedundancy.setDescription("The redundancy capability of devices for signalling points defined on this device as follows. 'none' - Device is not configured to support redundancy features. 'local' - Device provides redundancy by using backup processor on same device. 'distributed' - Device provides redundancy by using processors on two or more different physical device.") ciscoGsp2MIBCompliances = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 332, 2, 1)) ciscoGsp2MIBGroups = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 332, 2, 2)) ciscoGsp2MIBCompliance = ModuleCompliance((1, 3, 6, 1, 4, 1, 9, 9, 332, 2, 1, 1)).setObjects(("CISCO-ITP-GSP2-MIB", "ciscoGsp2EventsGroup"), ("CISCO-ITP-GSP2-MIB", "ciscoGsp2QosGroup"), ("CISCO-ITP-GSP2-MIB", "ciscoGsp2LocalPeerGroup")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ciscoGsp2MIBCompliance = ciscoGsp2MIBCompliance.setStatus('deprecated') if mibBuilder.loadTexts: ciscoGsp2MIBCompliance.setDescription('The compliance statement for entities which implement the CISCO-ITP-GSP2-MIB.my MIB') ciscoGsp2MIBComplianceRev1 = ModuleCompliance((1, 3, 6, 1, 4, 1, 9, 9, 332, 2, 1, 2)).setObjects(("CISCO-ITP-GSP2-MIB", "ciscoGsp2EventsGroup"), ("CISCO-ITP-GSP2-MIB", "ciscoGsp2QosGroup"), ("CISCO-ITP-GSP2-MIB", "ciscoGsp2LocalPeerGroup"), ("CISCO-ITP-GSP2-MIB", "ciscoGsp2Mtp3ErrorsGroup")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ciscoGsp2MIBComplianceRev1 = ciscoGsp2MIBComplianceRev1.setStatus('deprecated') if mibBuilder.loadTexts: ciscoGsp2MIBComplianceRev1.setDescription('The compliance statement for entities which implement the CISCO-ITP-GSP2-MIB.my MIB') ciscoGsp2MIBComplianceRev2 = ModuleCompliance((1, 3, 6, 1, 4, 1, 9, 9, 332, 2, 1, 3)).setObjects(("CISCO-ITP-GSP2-MIB", "ciscoGsp2EventsGroup"), ("CISCO-ITP-GSP2-MIB", "ciscoGsp2QosGroup"), ("CISCO-ITP-GSP2-MIB", "ciscoGsp2LocalPeerGroup"), ("CISCO-ITP-GSP2-MIB", "ciscoGsp2Mtp3ErrorsGroup"), ("CISCO-ITP-GSP2-MIB", "ciscoGsp2OperationGroup")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ciscoGsp2MIBComplianceRev2 = ciscoGsp2MIBComplianceRev2.setStatus('deprecated') if mibBuilder.loadTexts: ciscoGsp2MIBComplianceRev2.setDescription('The compliance statement for entities which implement the CISCO-ITP-GSP2-MIB.my MIB') ciscoGsp2MIBComplianceRev3 = ModuleCompliance((1, 3, 6, 1, 4, 1, 9, 9, 332, 2, 1, 4)).setObjects(("CISCO-ITP-GSP2-MIB", "ciscoGsp2EventsGroup"), ("CISCO-ITP-GSP2-MIB", "ciscoGsp2QosGroup"), ("CISCO-ITP-GSP2-MIB", "ciscoGsp2Mtp3ErrorsGroup"), ("CISCO-ITP-GSP2-MIB", "ciscoGsp2OperationGroup"), ("CISCO-ITP-GSP2-MIB", "ciscoGsp2LocalPeerGroupSup1")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ciscoGsp2MIBComplianceRev3 = ciscoGsp2MIBComplianceRev3.setStatus('deprecated') if mibBuilder.loadTexts: ciscoGsp2MIBComplianceRev3.setDescription('The compliance statement for entities which implement the CISCO-ITP-GSP2-MIB.my MIB') ciscoGsp2MIBComplianceRev4 = ModuleCompliance((1, 3, 6, 1, 4, 1, 9, 9, 332, 2, 1, 5)).setObjects(("CISCO-ITP-GSP2-MIB", "ciscoGsp2EventsGroup"), ("CISCO-ITP-GSP2-MIB", "ciscoGsp2QosGroup"), ("CISCO-ITP-GSP2-MIB", "ciscoGsp2LocalPeerGroup"), ("CISCO-ITP-GSP2-MIB", "ciscoGsp2Mtp3ErrorsGroup"), ("CISCO-ITP-GSP2-MIB", "ciscoGsp2OperationGroup"), ("CISCO-ITP-GSP2-MIB", "ciscoGsp2LocalPeerGroupSup1"), ("CISCO-ITP-GSP2-MIB", "ciscoGsp2ContextGroup")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ciscoGsp2MIBComplianceRev4 = ciscoGsp2MIBComplianceRev4.setStatus('current') if mibBuilder.loadTexts: ciscoGsp2MIBComplianceRev4.setDescription('The compliance statement for entities which implement the CISCO-ITP-GSP2-MIB.my MIB') ciscoGsp2EventsGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 332, 2, 2, 1)).setObjects(("CISCO-ITP-GSP2-MIB", "cgsp2EventLoggedEvents"), ("CISCO-ITP-GSP2-MIB", "cgsp2EventDroppedEvents"), ("CISCO-ITP-GSP2-MIB", "cgsp2EventMaxEntries"), ("CISCO-ITP-GSP2-MIB", "cgsp2EventMaxEntriesAllowed"), ("CISCO-ITP-GSP2-MIB", "cgsp2EventMtp3Text"), ("CISCO-ITP-GSP2-MIB", "cgsp2EventMtp3Timestamp"), ("CISCO-ITP-GSP2-MIB", "cgsp2EventAsText"), ("CISCO-ITP-GSP2-MIB", "cgsp2EventAsTimestamp"), ("CISCO-ITP-GSP2-MIB", "cgsp2EventAspText"), ("CISCO-ITP-GSP2-MIB", "cgsp2EventAspTimestamp"), ("CISCO-ITP-GSP2-MIB", "cgsp2EventPcText"), ("CISCO-ITP-GSP2-MIB", "cgsp2EventPcTimestamp")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ciscoGsp2EventsGroup = ciscoGsp2EventsGroup.setStatus('current') if mibBuilder.loadTexts: ciscoGsp2EventsGroup.setDescription('SS7 Event objects.') ciscoGsp2QosGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 332, 2, 2, 2)).setObjects(("CISCO-ITP-GSP2-MIB", "cgsp2QosType"), ("CISCO-ITP-GSP2-MIB", "cgsp2QosPrecedenceValue"), ("CISCO-ITP-GSP2-MIB", "cgsp2QosIpDscp"), ("CISCO-ITP-GSP2-MIB", "cgsp2QosAclId"), ("CISCO-ITP-GSP2-MIB", "cgsp2QosRowStatus")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ciscoGsp2QosGroup = ciscoGsp2QosGroup.setStatus('current') if mibBuilder.loadTexts: ciscoGsp2QosGroup.setDescription('SS7 Quality of Service objects.') ciscoGsp2LocalPeerGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 332, 2, 2, 3)).setObjects(("CISCO-ITP-GSP2-MIB", "cgsp2LocalPeerSlotNumber"), ("CISCO-ITP-GSP2-MIB", "cgsp2LocalPeerRowStatus"), ("CISCO-ITP-GSP2-MIB", "cgsp2LpIpAddressType"), ("CISCO-ITP-GSP2-MIB", "cgsp2LpIpAddress"), ("CISCO-ITP-GSP2-MIB", "cgsp2LpIpAddressRowStatus")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ciscoGsp2LocalPeerGroup = ciscoGsp2LocalPeerGroup.setStatus('current') if mibBuilder.loadTexts: ciscoGsp2LocalPeerGroup.setDescription('SS7 Local Peer objects.') ciscoGsp2Mtp3ErrorsGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 332, 2, 2, 4)).setObjects(("CISCO-ITP-GSP2-MIB", "cgsp2Mtp3ErrorsDescription"), ("CISCO-ITP-GSP2-MIB", "cgsp2Mtp3ErrorsCount")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ciscoGsp2Mtp3ErrorsGroup = ciscoGsp2Mtp3ErrorsGroup.setStatus('current') if mibBuilder.loadTexts: ciscoGsp2Mtp3ErrorsGroup.setDescription('SS7 MTP3 Error objects.') ciscoGsp2OperationGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 332, 2, 2, 5)).setObjects(("CISCO-ITP-GSP2-MIB", "cgsp2OperMtp3Offload"), ("CISCO-ITP-GSP2-MIB", "cgsp2OperRedundancy")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ciscoGsp2OperationGroup = ciscoGsp2OperationGroup.setStatus('current') if mibBuilder.loadTexts: ciscoGsp2OperationGroup.setDescription('SS7 operation redundancy objects.') ciscoGsp2LocalPeerGroupSup1 = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 332, 2, 2, 6)).setObjects(("CISCO-ITP-GSP2-MIB", "cgsp2LocalPeerProcessorNumber")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ciscoGsp2LocalPeerGroupSup1 = ciscoGsp2LocalPeerGroupSup1.setStatus('current') if mibBuilder.loadTexts: ciscoGsp2LocalPeerGroupSup1.setDescription('SS7 Local Peer supplemental object to ciscoGsp2LocalPeerGroup.') ciscoGsp2ContextGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 332, 2, 2, 7)).setObjects(("CISCO-ITP-GSP2-MIB", "cgsp2ContextType"), ("CISCO-ITP-GSP2-MIB", "cgsp2ContextLinksetName"), ("CISCO-ITP-GSP2-MIB", "cgsp2ContextSlc"), ("CISCO-ITP-GSP2-MIB", "cgsp2ContextAsName"), ("CISCO-ITP-GSP2-MIB", "cgsp2ContextAspName"), ("CISCO-ITP-GSP2-MIB", "cgsp2ContextNetworkName")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ciscoGsp2ContextGroup = ciscoGsp2ContextGroup.setStatus('current') if mibBuilder.loadTexts: ciscoGsp2ContextGroup.setDescription('ContextTable object to ciscoGsp2ContextGroup.') mibBuilder.exportSymbols("CISCO-ITP-GSP2-MIB", cgsp2EventMtp3Timestamp=cgsp2EventMtp3Timestamp, cgsp2QosAclId=cgsp2QosAclId, cgsp2OperRedundancy=cgsp2OperRedundancy, cgsp2Events=cgsp2Events, CItpTcContextId=CItpTcContextId, cgsp2LocalPeerPort=cgsp2LocalPeerPort, cgsp2Context=cgsp2Context, ciscoGsp2Mtp3ErrorsGroup=ciscoGsp2Mtp3ErrorsGroup, cgsp2ContextAspName=cgsp2ContextAspName, cgsp2QosType=cgsp2QosType, cgsp2EventAspTableEntry=cgsp2EventAspTableEntry, cgsp2QosIpDscp=cgsp2QosIpDscp, cgsp2ContextLinksetName=cgsp2ContextLinksetName, cgsp2Qos=cgsp2Qos, cgsp2LocalPeerTable=cgsp2LocalPeerTable, cgsp2EventAsName=cgsp2EventAsName, cgsp2EventMtp3Text=cgsp2EventMtp3Text, ciscoGsp2MIB=ciscoGsp2MIB, cgsp2LocalPeerProcessorNumber=cgsp2LocalPeerProcessorNumber, ciscoGsp2MIBCompliances=ciscoGsp2MIBCompliances, cgsp2ContextTable=cgsp2ContextTable, cgsp2LpIpAddressNumber=cgsp2LpIpAddressNumber, cgsp2Mtp3ErrorsType=cgsp2Mtp3ErrorsType, ciscoGsp2MIBComplianceRev4=ciscoGsp2MIBComplianceRev4, cgsp2EventMtp3Table=cgsp2EventMtp3Table, cgsp2EventPcIndex=cgsp2EventPcIndex, cgsp2EventTableEntry=cgsp2EventTableEntry, cgsp2EventMaxEntriesAllowed=cgsp2EventMaxEntriesAllowed, cgsp2ContextNetworkName=cgsp2ContextNetworkName, cgsp2LpIpAddressRowStatus=cgsp2LpIpAddressRowStatus, cgsp2EventAspTimestamp=cgsp2EventAspTimestamp, ciscoGsp2MIBNotifs=ciscoGsp2MIBNotifs, cgsp2EventDroppedEvents=cgsp2EventDroppedEvents, cgsp2OperMtp3Offload=cgsp2OperMtp3Offload, cgsp2EventAsTableEntry=cgsp2EventAsTableEntry, cgsp2EventAsIndex=cgsp2EventAsIndex, cgsp2QosTable=cgsp2QosTable, ciscoGsp2MIBGroups=ciscoGsp2MIBGroups, cgsp2EventAsTable=cgsp2EventAsTable, cgsp2Mtp3ErrorsTableEntry=cgsp2Mtp3ErrorsTableEntry, cgsp2LpIpAddress=cgsp2LpIpAddress, Cgsp2EventIndex=Cgsp2EventIndex, cgsp2EventAspText=cgsp2EventAspText, ciscoGsp2LocalPeerGroup=ciscoGsp2LocalPeerGroup, cgsp2ContextEntry=cgsp2ContextEntry, cgsp2EventTable=cgsp2EventTable, cgsp2ContextSlc=cgsp2ContextSlc, cgsp2QosPrecedenceValue=cgsp2QosPrecedenceValue, cgsp2EventAsTimestamp=cgsp2EventAsTimestamp, cgsp2EventAspName=cgsp2EventAspName, cgsp2ContextIdentifier=cgsp2ContextIdentifier, cgsp2EventMtp3TableEntry=cgsp2EventMtp3TableEntry, ciscoGsp2MIBComplianceRev3=ciscoGsp2MIBComplianceRev3, cgsp2LocalPeer=cgsp2LocalPeer, ciscoGsp2LocalPeerGroupSup1=ciscoGsp2LocalPeerGroupSup1, cgsp2EventPcTable=cgsp2EventPcTable, cgsp2Mtp3Errors=cgsp2Mtp3Errors, cgsp2EventMtp3Index=cgsp2EventMtp3Index, cgsp2EventLoggedEvents=cgsp2EventLoggedEvents, cgsp2EventType=cgsp2EventType, ciscoGsp2MIBComplianceRev2=ciscoGsp2MIBComplianceRev2, cgsp2EventAspIndex=cgsp2EventAspIndex, ciscoGsp2EventsGroup=ciscoGsp2EventsGroup, cgsp2Mtp3ErrorsCount=cgsp2Mtp3ErrorsCount, cgsp2ContextType=cgsp2ContextType, cgsp2LocalPeerTableEntry=cgsp2LocalPeerTableEntry, cgsp2Operation=cgsp2Operation, PYSNMP_MODULE_ID=ciscoGsp2MIB, ciscoGsp2MIBCompliance=ciscoGsp2MIBCompliance, cgsp2EventPcText=cgsp2EventPcText, CItpTcContextType=CItpTcContextType, cgsp2EventMaxEntries=cgsp2EventMaxEntries, cgsp2EventPcTableEntry=cgsp2EventPcTableEntry, cgsp2QosClass=cgsp2QosClass, cgsp2LpIpAddrTableEntry=cgsp2LpIpAddrTableEntry, cgsp2QosRowStatus=cgsp2QosRowStatus, cgsp2Mtp3ErrorsTable=cgsp2Mtp3ErrorsTable, cgsp2EventAsText=cgsp2EventAsText, cgsp2QosTableEntry=cgsp2QosTableEntry, Cgsp2TcQosClass=Cgsp2TcQosClass, cgsp2LpIpAddrTable=cgsp2LpIpAddrTable, cgsp2LpIpAddressType=cgsp2LpIpAddressType, cgsp2EventAspTable=cgsp2EventAspTable, cgsp2ContextAsName=cgsp2ContextAsName, cgsp2Mtp3ErrorsDescription=cgsp2Mtp3ErrorsDescription, ciscoGsp2MIBComplianceRev1=ciscoGsp2MIBComplianceRev1, cgsp2LocalPeerRowStatus=cgsp2LocalPeerRowStatus, cgsp2EventPcTimestamp=cgsp2EventPcTimestamp, ciscoGsp2MIBObjects=ciscoGsp2MIBObjects, cgsp2LocalPeerSlotNumber=cgsp2LocalPeerSlotNumber, ciscoGsp2ContextGroup=ciscoGsp2ContextGroup, ciscoGsp2MIBConform=ciscoGsp2MIBConform, ciscoGsp2QosGroup=ciscoGsp2QosGroup, ciscoGsp2OperationGroup=ciscoGsp2OperationGroup, cgsp2EventPc=cgsp2EventPc)
(object_identifier, octet_string, integer) = mibBuilder.importSymbols('ASN1', 'ObjectIdentifier', 'OctetString', 'Integer') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (constraints_intersection, value_range_constraint, value_size_constraint, constraints_union, single_value_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ConstraintsIntersection', 'ValueRangeConstraint', 'ValueSizeConstraint', 'ConstraintsUnion', 'SingleValueConstraint') (cgsp_inst_network,) = mibBuilder.importSymbols('CISCO-ITP-GSP-MIB', 'cgspInstNetwork') (c_itp_tc_point_code, c_itp_tc_link_slc, c_itp_tc_linkset_id, c_itp_tc_acl_id, c_itp_tc_network_name, c_itp_tc_xua_name) = mibBuilder.importSymbols('CISCO-ITP-TC-MIB', 'CItpTcPointCode', 'CItpTcLinkSLC', 'CItpTcLinksetId', 'CItpTcAclId', 'CItpTcNetworkName', 'CItpTcXuaName') (cisco_mgmt,) = mibBuilder.importSymbols('CISCO-SMI', 'ciscoMgmt') (inet_address_type, inet_port_number, inet_address) = mibBuilder.importSymbols('INET-ADDRESS-MIB', 'InetAddressType', 'InetPortNumber', 'InetAddress') (snmp_admin_string,) = mibBuilder.importSymbols('SNMP-FRAMEWORK-MIB', 'SnmpAdminString') (notification_group, module_compliance, object_group) = mibBuilder.importSymbols('SNMPv2-CONF', 'NotificationGroup', 'ModuleCompliance', 'ObjectGroup') (gauge32, integer32, mib_identifier, bits, counter32, counter64, mib_scalar, mib_table, mib_table_row, mib_table_column, notification_type, ip_address, unsigned32, module_identity, iso, object_identity, time_ticks) = mibBuilder.importSymbols('SNMPv2-SMI', 'Gauge32', 'Integer32', 'MibIdentifier', 'Bits', 'Counter32', 'Counter64', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'NotificationType', 'IpAddress', 'Unsigned32', 'ModuleIdentity', 'iso', 'ObjectIdentity', 'TimeTicks') (time_stamp, textual_convention, display_string, row_status) = mibBuilder.importSymbols('SNMPv2-TC', 'TimeStamp', 'TextualConvention', 'DisplayString', 'RowStatus') cisco_gsp2_mib = module_identity((1, 3, 6, 1, 4, 1, 9, 9, 332)) ciscoGsp2MIB.setRevisions(('2008-07-09 00:00', '2007-12-18 00:00', '2004-05-26 00:00', '2003-08-07 00:00', '2003-03-03 00:00')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): if mibBuilder.loadTexts: ciscoGsp2MIB.setRevisionsDescriptions(('Added Context Table for Probless Monitor feature.', 'Added Processor Number to cgsp2LocalPeerTable for SAMI interfaces.', 'Added following object to provide information related to Non-stop Operations function. cgsp2OperMtp3Offload, cgsp2OperRedundancy', 'Add new table to support MTP3 errors', 'Initial version of this MIB module.')) if mibBuilder.loadTexts: ciscoGsp2MIB.setLastUpdated('200807090000Z') if mibBuilder.loadTexts: ciscoGsp2MIB.setOrganization('Cisco Systems, Inc.') if mibBuilder.loadTexts: ciscoGsp2MIB.setContactInfo('Cisco Systems, Inc Customer Service Postal: 170 W. Tasman Drive San Jose, CA 95134 USA Tel: +1 800 553-NETS E-mail: [email protected]') if mibBuilder.loadTexts: ciscoGsp2MIB.setDescription('The MIB for providing information specified in ITU Q752 Monitoring and Measurements for signalling System No. 7(SS7) Network. This information can be used to manage messages transported over SS7 Network via Cisco IP Transfer Point. The Cisco IP Transfer Point (ITP) is a hardware and software solution that transports SS7 traffic using IP. Each ITP node provides function similar to SS7 signalling point. The relevant ITU documents describing this technology is the ITU Q series, including ITU Q.700: Introduction to CCITT signalling System No. 7 and ITU Q.701 Functional description of the message transfer part (MTP) of signalling System No. 7. The ITP Quality of Service (QoS) model allows the definition of 8 QoS classes, 0 through 7. QoS classes can be assigned only SCTP links. Only one QoS class can be assigned to an SCTP link. Class 0 will be designated as the default class. Packets that are not classified to a designated QoS class will get assigned to the default class. Each provisioned QoS class can be assigned an IP precedence value or a Differential Services Code Point (DSCP). The default class is initialized to IP precedence zero (0). The default class initial TOS setting can be changed through the command line interface. The Type of Service (TOS) byte in the IP header will be set to the IP precedence or DSCP that is assigned to class. Every packet forwarded over an SCTP link that was provisioned for a given QoS class will have the TOS byte set.') cisco_gsp2_mib_notifs = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 332, 0)) cisco_gsp2_mib_objects = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 332, 1)) cisco_gsp2_mib_conform = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 332, 2)) cgsp2_events = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 1)) cgsp2_qos = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 2)) cgsp2_local_peer = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 3)) cgsp2_mtp3_errors = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 4)) cgsp2_operation = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 5)) cgsp2_context = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 6)) class Cgsp2Tcqosclass(TextualConvention, Unsigned32): description = 'The quality of service classification to be assigned to the IP packets used to transport the SS7 messages. Zero is a special value and is reserved to carry all traffic that does not specify a Qos or when exact match of the specified Qos is not available.' status = 'current' subtype_spec = Unsigned32.subtypeSpec + value_range_constraint(0, 7) class Cgsp2Eventindex(TextualConvention, Unsigned32): description = 'A monotonically increasing integer for the sole purpose of indexing events. When it reaches the maximum value the agent flushes the event table and wraps the value back to 1. Where lower values represent older entries and higher values represent newer entries.' status = 'current' subtype_spec = Unsigned32.subtypeSpec + value_range_constraint(1, 2147483647) class Citptccontextid(TextualConvention, Unsigned32): description = 'Each context is assigned an unique identifier starting with one and are monotonically increased by one.' status = 'current' subtype_spec = Unsigned32.subtypeSpec + value_range_constraint(1, 4294967295) class Citptccontexttype(TextualConvention, Integer32): description = 'Indicate type or resources ....' status = 'current' subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(0, 1, 6)) named_values = named_values(('unknown', 0), ('cs7link', 1), ('asp', 6)) cgsp2_event_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 1, 1)) if mibBuilder.loadTexts: cgsp2EventTable.setStatus('current') if mibBuilder.loadTexts: cgsp2EventTable.setDescription('A table used to provide information about all types of events on a signalling point.') cgsp2_event_table_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 1, 1, 1)).setIndexNames((0, 'CISCO-ITP-GSP-MIB', 'cgspInstNetwork'), (0, 'CISCO-ITP-GSP2-MIB', 'cgsp2EventType')) if mibBuilder.loadTexts: cgsp2EventTableEntry.setStatus('current') if mibBuilder.loadTexts: cgsp2EventTableEntry.setDescription('A table of SS7 events generated and received by a specific signalling point.') cgsp2_event_type = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 1, 1, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('as', 1), ('asp', 2), ('mtp3', 3), ('pc', 4)))) if mibBuilder.loadTexts: cgsp2EventType.setStatus('current') if mibBuilder.loadTexts: cgsp2EventType.setDescription("The type of event history as follows. 'as' - Application Service 'asp' - Application Service Process 'mtp3' - Message Transport Protocol Level 3 'pc' - Point-code") cgsp2_event_logged_events = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 1, 1, 1, 2), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: cgsp2EventLoggedEvents.setStatus('current') if mibBuilder.loadTexts: cgsp2EventLoggedEvents.setDescription('The number of events that have been logged.') cgsp2_event_dropped_events = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 1, 1, 1, 3), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: cgsp2EventDroppedEvents.setStatus('current') if mibBuilder.loadTexts: cgsp2EventDroppedEvents.setDescription('The number of events that could not be logged due to unavailable resources.') cgsp2_event_max_entries = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 1, 1, 1, 4), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readwrite') if mibBuilder.loadTexts: cgsp2EventMaxEntries.setStatus('current') if mibBuilder.loadTexts: cgsp2EventMaxEntries.setDescription('The upper limit on the number of events that the event history can contain. A value of 0 will prevent any event history from being retained. When this table is full, the oldest entry will be deleted as a new entry is added.') cgsp2_event_max_entries_allowed = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 1, 1, 1, 5), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly') if mibBuilder.loadTexts: cgsp2EventMaxEntriesAllowed.setStatus('current') if mibBuilder.loadTexts: cgsp2EventMaxEntriesAllowed.setDescription('This object specifies the maximum number of events that can be specified for cgsp2EventMaxEntries object.') cgsp2_event_as_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 1, 2)) if mibBuilder.loadTexts: cgsp2EventAsTable.setStatus('current') if mibBuilder.loadTexts: cgsp2EventAsTable.setDescription('A table of Application Service events generated per signalling point.') cgsp2_event_as_table_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 1, 2, 1)).setIndexNames((0, 'CISCO-ITP-GSP-MIB', 'cgspInstNetwork'), (0, 'CISCO-ITP-GSP2-MIB', 'cgsp2EventAsName'), (0, 'CISCO-ITP-GSP2-MIB', 'cgsp2EventAsIndex')) if mibBuilder.loadTexts: cgsp2EventAsTableEntry.setStatus('current') if mibBuilder.loadTexts: cgsp2EventAsTableEntry.setDescription('An entry is added to this table for each application service event associated with a particular application service. The table contains the latest number of events defined by the cgsp2EventMaxEntries object. Once the table is full, the oldest entry is removed and a new entry is created to accommodate the new event.') cgsp2_event_as_name = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 1, 2, 1, 1), c_itp_tc_xua_name()) if mibBuilder.loadTexts: cgsp2EventAsName.setStatus('current') if mibBuilder.loadTexts: cgsp2EventAsName.setDescription('The application server name. This name has only local significance.') cgsp2_event_as_index = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 1, 2, 1, 2), cgsp2_event_index()) if mibBuilder.loadTexts: cgsp2EventAsIndex.setStatus('current') if mibBuilder.loadTexts: cgsp2EventAsIndex.setDescription('Index into application service event history.') cgsp2_event_as_text = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 1, 2, 1, 3), snmp_admin_string().subtype(subtypeSpec=value_size_constraint(1, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: cgsp2EventAsText.setStatus('current') if mibBuilder.loadTexts: cgsp2EventAsText.setDescription('A brief description of the application service event in text format.') cgsp2_event_as_timestamp = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 1, 2, 1, 4), time_stamp()).setMaxAccess('readonly') if mibBuilder.loadTexts: cgsp2EventAsTimestamp.setStatus('current') if mibBuilder.loadTexts: cgsp2EventAsTimestamp.setDescription('The value of sysUpTime at the time of the application service event was processed.') cgsp2_event_asp_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 1, 3)) if mibBuilder.loadTexts: cgsp2EventAspTable.setStatus('current') if mibBuilder.loadTexts: cgsp2EventAspTable.setDescription('A table of application service process events generated per signalling point.') cgsp2_event_asp_table_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 1, 3, 1)).setIndexNames((0, 'CISCO-ITP-GSP-MIB', 'cgspInstNetwork'), (0, 'CISCO-ITP-GSP2-MIB', 'cgsp2EventAspName'), (0, 'CISCO-ITP-GSP2-MIB', 'cgsp2EventAspIndex')) if mibBuilder.loadTexts: cgsp2EventAspTableEntry.setStatus('current') if mibBuilder.loadTexts: cgsp2EventAspTableEntry.setDescription('An entry is added to this table for each application service process event associated with a particular application service process. The table contains the latest number of events defined by the cgsp2EventMaxEntries object. Once the table is full, the oldest entry is removed and a new entry is created to accommodate the new event.') cgsp2_event_asp_name = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 1, 3, 1, 1), c_itp_tc_xua_name()) if mibBuilder.loadTexts: cgsp2EventAspName.setStatus('current') if mibBuilder.loadTexts: cgsp2EventAspName.setDescription('The application server process name. This name has only local significance.') cgsp2_event_asp_index = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 1, 3, 1, 2), cgsp2_event_index()) if mibBuilder.loadTexts: cgsp2EventAspIndex.setStatus('current') if mibBuilder.loadTexts: cgsp2EventAspIndex.setDescription('Index into application service process event history.') cgsp2_event_asp_text = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 1, 3, 1, 3), snmp_admin_string().subtype(subtypeSpec=value_size_constraint(1, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: cgsp2EventAspText.setStatus('current') if mibBuilder.loadTexts: cgsp2EventAspText.setDescription('A brief description of the application service process event in text format.') cgsp2_event_asp_timestamp = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 1, 3, 1, 4), time_stamp()).setMaxAccess('readonly') if mibBuilder.loadTexts: cgsp2EventAspTimestamp.setStatus('current') if mibBuilder.loadTexts: cgsp2EventAspTimestamp.setDescription('The value of sysUpTime at the time of the application service process event was received.') cgsp2_event_mtp3_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 1, 4)) if mibBuilder.loadTexts: cgsp2EventMtp3Table.setStatus('current') if mibBuilder.loadTexts: cgsp2EventMtp3Table.setDescription('A table of MTP3 events generated per signalling point.') cgsp2_event_mtp3_table_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 1, 4, 1)).setIndexNames((0, 'CISCO-ITP-GSP-MIB', 'cgspInstNetwork'), (0, 'CISCO-ITP-GSP2-MIB', 'cgsp2EventMtp3Index')) if mibBuilder.loadTexts: cgsp2EventMtp3TableEntry.setStatus('current') if mibBuilder.loadTexts: cgsp2EventMtp3TableEntry.setDescription('An MTP3 event that was previously generated by this signalling point. An entry is added to this table for each SS7 event generated on the managed system. The table contains the latest number of events defined by the cgsp2EventMaxEntries object. Once the table is full, the oldest entry is removed and a new entry is created to accommodate the new event.') cgsp2_event_mtp3_index = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 1, 4, 1, 1), cgsp2_event_index()) if mibBuilder.loadTexts: cgsp2EventMtp3Index.setStatus('current') if mibBuilder.loadTexts: cgsp2EventMtp3Index.setDescription('Index into MTP3 event history.') cgsp2_event_mtp3_text = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 1, 4, 1, 2), snmp_admin_string().subtype(subtypeSpec=value_size_constraint(1, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: cgsp2EventMtp3Text.setStatus('current') if mibBuilder.loadTexts: cgsp2EventMtp3Text.setDescription('A brief description of the SS7 event in text format. Each event provides information of state transitions specific to the MTP3 protocol.') cgsp2_event_mtp3_timestamp = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 1, 4, 1, 3), time_stamp()).setMaxAccess('readonly') if mibBuilder.loadTexts: cgsp2EventMtp3Timestamp.setStatus('current') if mibBuilder.loadTexts: cgsp2EventMtp3Timestamp.setDescription('The value of sysUpTime at the time of the event was received by MTP3 layer.') cgsp2_event_pc_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 1, 5)) if mibBuilder.loadTexts: cgsp2EventPcTable.setStatus('current') if mibBuilder.loadTexts: cgsp2EventPcTable.setDescription('A table of point-code events generated per signalling point.') cgsp2_event_pc_table_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 1, 5, 1)).setIndexNames((0, 'CISCO-ITP-GSP-MIB', 'cgspInstNetwork'), (0, 'CISCO-ITP-GSP2-MIB', 'cgsp2EventPc'), (0, 'CISCO-ITP-GSP2-MIB', 'cgsp2EventPcIndex')) if mibBuilder.loadTexts: cgsp2EventPcTableEntry.setStatus('current') if mibBuilder.loadTexts: cgsp2EventPcTableEntry.setDescription('An entry is added to this table for each point-code event. The table contains the latest number of events defined by the cgsp2EventMaxEntries object. Once the table is full, the oldest entry is removed and a new entry is created to accommodate the new event.') cgsp2_event_pc = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 1, 5, 1, 1), c_itp_tc_point_code()) if mibBuilder.loadTexts: cgsp2EventPc.setStatus('current') if mibBuilder.loadTexts: cgsp2EventPc.setDescription('The point code number.') cgsp2_event_pc_index = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 1, 5, 1, 2), cgsp2_event_index()) if mibBuilder.loadTexts: cgsp2EventPcIndex.setStatus('current') if mibBuilder.loadTexts: cgsp2EventPcIndex.setDescription('Index into point-code event history.') cgsp2_event_pc_text = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 1, 5, 1, 3), snmp_admin_string().subtype(subtypeSpec=value_size_constraint(1, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: cgsp2EventPcText.setStatus('current') if mibBuilder.loadTexts: cgsp2EventPcText.setDescription('A brief description of the point-code event in text format.') cgsp2_event_pc_timestamp = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 1, 5, 1, 4), time_stamp()).setMaxAccess('readonly') if mibBuilder.loadTexts: cgsp2EventPcTimestamp.setStatus('current') if mibBuilder.loadTexts: cgsp2EventPcTimestamp.setDescription('The value of sysUpTime at the time of the point-code event was received.') cgsp2_qos_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 2, 1)) if mibBuilder.loadTexts: cgsp2QosTable.setStatus('current') if mibBuilder.loadTexts: cgsp2QosTable.setDescription('A table of information related to the defining Quality of Service to transport SS7 packets using SCTP/IP. Entries are added to this table via cgsp2QosRowStatus in accordance with the RowStatusconvention.') cgsp2_qos_table_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 2, 1, 1)).setIndexNames((0, 'CISCO-ITP-GSP-MIB', 'cgspInstNetwork'), (0, 'CISCO-ITP-GSP2-MIB', 'cgsp2QosClass')) if mibBuilder.loadTexts: cgsp2QosTableEntry.setStatus('current') if mibBuilder.loadTexts: cgsp2QosTableEntry.setDescription('Each entry define information relate to a Quality of Service class as needed to transport SS7 packets using SCTP/IP.') cgsp2_qos_class = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 2, 1, 1, 1), cgsp2_tc_qos_class()) if mibBuilder.loadTexts: cgsp2QosClass.setStatus('current') if mibBuilder.loadTexts: cgsp2QosClass.setDescription('The quality of service class that can be defined to transport SS7 Packets using SCTP/IP.') cgsp2_qos_type = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 2, 1, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('ipPrecedence', 1), ('ipDscp', 2)))).setMaxAccess('readcreate') if mibBuilder.loadTexts: cgsp2QosType.setStatus('current') if mibBuilder.loadTexts: cgsp2QosType.setDescription('Enumerated list of QoS type that can be defined. A value ipPrecedence suggests that IP Type of Service (TOS) is based on cgsp2QosPrecedenceValue. A value ipDscp suggests that IP Type of Service (TOS) is based on cgsp2QosIpDscp.') cgsp2_qos_precedence_value = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 2, 1, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(-1, 7))).setMaxAccess('readcreate') if mibBuilder.loadTexts: cgsp2QosPrecedenceValue.setStatus('current') if mibBuilder.loadTexts: cgsp2QosPrecedenceValue.setDescription('A value to assign to the IP TOS bits in the IP datagram that carries one or more SS7 packets. The IP Precedence value is specified if cgsp2QosType is ipPrecedence, otherwise it is -1.') cgsp2_qos_ip_dscp = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 2, 1, 1, 4), integer32().subtype(subtypeSpec=value_range_constraint(-1, 63))).setMaxAccess('readcreate') if mibBuilder.loadTexts: cgsp2QosIpDscp.setReference('Differentiated Services is described and defined in the RFCs: 2474, 2475, 2597, and 2598.') if mibBuilder.loadTexts: cgsp2QosIpDscp.setStatus('current') if mibBuilder.loadTexts: cgsp2QosIpDscp.setDescription('DiffServ CodePoint (DSCP) value to assign to the IP TOS bits in the IP datagram that carries one or more SS7 packets. DSCP provides scalable mechanisms to classify packets into groups or classes that have similar QoS requirements and then gives these groups the required treatment at every hop in the network. The DSCP value is specified if cgsp2QosType is ipDscp, otherwise it is -1.') cgsp2_qos_acl_id = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 2, 1, 1, 5), c_itp_tc_acl_id()).setMaxAccess('readcreate') if mibBuilder.loadTexts: cgsp2QosAclId.setStatus('current') if mibBuilder.loadTexts: cgsp2QosAclId.setDescription('ITP Access lists can be used to use information specific to SS7 packets to assign an Qos class. A value of zero indicates that no access control list is present.') cgsp2_qos_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 2, 1, 1, 6), row_status()).setMaxAccess('readcreate') if mibBuilder.loadTexts: cgsp2QosRowStatus.setStatus('current') if mibBuilder.loadTexts: cgsp2QosRowStatus.setDescription('The object is used by a management station to create or delete the row entry in cgsp2QosTable following the RowStatus textual convention.') cgsp2_local_peer_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 3, 1)) if mibBuilder.loadTexts: cgsp2LocalPeerTable.setStatus('current') if mibBuilder.loadTexts: cgsp2LocalPeerTable.setDescription('A local-peer table used establish SCTP associations. The port will be used to receive and sent requests to establish associations. Entries are added to this table via cgsp2LocalPeerRowStatus in accordance with the RowStatus convention.') cgsp2_local_peer_table_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 3, 1, 1)).setIndexNames((0, 'CISCO-ITP-GSP2-MIB', 'cgsp2LocalPeerPort')) if mibBuilder.loadTexts: cgsp2LocalPeerTableEntry.setStatus('current') if mibBuilder.loadTexts: cgsp2LocalPeerTableEntry.setDescription('A list of attributes of the local-peer.') cgsp2_local_peer_port = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 3, 1, 1, 1), inet_port_number()) if mibBuilder.loadTexts: cgsp2LocalPeerPort.setStatus('current') if mibBuilder.loadTexts: cgsp2LocalPeerPort.setDescription('The local SCTP port for this local-peer. The value zero is not allowed.') cgsp2_local_peer_slot_number = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 3, 1, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(-1, 32767)).clone(-1)).setMaxAccess('readonly') if mibBuilder.loadTexts: cgsp2LocalPeerSlotNumber.setStatus('current') if mibBuilder.loadTexts: cgsp2LocalPeerSlotNumber.setDescription('This value is used to specify to which slot the local-peer will be offloaded. A value of negative one indicates the local-peer is not offloaded.') cgsp2_local_peer_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 3, 1, 1, 3), row_status()).setMaxAccess('readcreate') if mibBuilder.loadTexts: cgsp2LocalPeerRowStatus.setStatus('current') if mibBuilder.loadTexts: cgsp2LocalPeerRowStatus.setDescription('The object is used by a management station to create or delete a row entry in cgsp2LocalPeerTable following the RowStatus textual convention.') cgsp2_local_peer_processor_number = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 3, 1, 1, 4), integer32().subtype(subtypeSpec=value_range_constraint(0, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: cgsp2LocalPeerProcessorNumber.setStatus('current') if mibBuilder.loadTexts: cgsp2LocalPeerProcessorNumber.setDescription('This value is used to specify to which processor the local-peer will be offloaded on the line card indicated by cgsp2LocalPeerSlotNumber. For certain line cards like Flexwan, this value corresponds to bay number instead of processor number.') cgsp2_lp_ip_addr_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 3, 2)) if mibBuilder.loadTexts: cgsp2LpIpAddrTable.setStatus('current') if mibBuilder.loadTexts: cgsp2LpIpAddrTable.setDescription('A table of Local IP addresses group together to form the local-peer used to establish SCTP associations. For a given local-peer, there can be multiple local IP addresses which are used for the multi-homing feature of the SCTP associations. This table lists out the configured local IP addresses. Entries are added to this table via cgsp2LocalPeerRowStatus in accordance with the RowStatus convention.') cgsp2_lp_ip_addr_table_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 3, 2, 1)).setIndexNames((0, 'CISCO-ITP-GSP2-MIB', 'cgsp2LocalPeerPort'), (0, 'CISCO-ITP-GSP2-MIB', 'cgsp2LpIpAddressNumber')) if mibBuilder.loadTexts: cgsp2LpIpAddrTableEntry.setStatus('current') if mibBuilder.loadTexts: cgsp2LpIpAddrTableEntry.setDescription('A list of attributes of the Local IP addresses for the local-peer.') cgsp2_lp_ip_address_number = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 3, 2, 1, 1), unsigned32().subtype(subtypeSpec=value_range_constraint(1, 65535))) if mibBuilder.loadTexts: cgsp2LpIpAddressNumber.setStatus('current') if mibBuilder.loadTexts: cgsp2LpIpAddressNumber.setDescription("This object specifies the index for the instance's IP address.") cgsp2_lp_ip_address_type = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 3, 2, 1, 2), inet_address_type()).setMaxAccess('readcreate') if mibBuilder.loadTexts: cgsp2LpIpAddressType.setStatus('current') if mibBuilder.loadTexts: cgsp2LpIpAddressType.setDescription('This object contains the type of the local IP address used to create the association.') cgsp2_lp_ip_address = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 3, 2, 1, 3), inet_address()).setMaxAccess('readcreate') if mibBuilder.loadTexts: cgsp2LpIpAddress.setStatus('current') if mibBuilder.loadTexts: cgsp2LpIpAddress.setDescription('This object contains the local IP address used to create association associations.') cgsp2_lp_ip_address_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 3, 2, 1, 4), row_status()).setMaxAccess('readcreate') if mibBuilder.loadTexts: cgsp2LpIpAddressRowStatus.setStatus('current') if mibBuilder.loadTexts: cgsp2LpIpAddressRowStatus.setDescription('The object is used by a management station to create or delete the row entry in cgsp2LpIpAddrTable following the RowStatus textual convention.') cgsp2_mtp3_errors_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 4, 1)) if mibBuilder.loadTexts: cgsp2Mtp3ErrorsTable.setStatus('current') if mibBuilder.loadTexts: cgsp2Mtp3ErrorsTable.setDescription('A table of MTP3 errors that have occurred on all Signalling Point supported by this device.') cgsp2_mtp3_errors_table_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 4, 1, 1)).setIndexNames((0, 'CISCO-ITP-GSP2-MIB', 'cgsp2Mtp3ErrorsType')) if mibBuilder.loadTexts: cgsp2Mtp3ErrorsTableEntry.setStatus('current') if mibBuilder.loadTexts: cgsp2Mtp3ErrorsTableEntry.setDescription('A list of attributes used to provide a summary of the various MTP3 errors encountered by the device.') cgsp2_mtp3_errors_type = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 4, 1, 1, 1), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 65535))) if mibBuilder.loadTexts: cgsp2Mtp3ErrorsType.setStatus('current') if mibBuilder.loadTexts: cgsp2Mtp3ErrorsType.setDescription('This object specifies the index for the various error types.') cgsp2_mtp3_errors_description = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 4, 1, 1, 2), snmp_admin_string().subtype(subtypeSpec=value_size_constraint(1, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: cgsp2Mtp3ErrorsDescription.setStatus('current') if mibBuilder.loadTexts: cgsp2Mtp3ErrorsDescription.setDescription('A brief description of the MTP3 error in text format.') cgsp2_mtp3_errors_count = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 4, 1, 1, 3), counter64()).setMaxAccess('readonly') if mibBuilder.loadTexts: cgsp2Mtp3ErrorsCount.setStatus('current') if mibBuilder.loadTexts: cgsp2Mtp3ErrorsCount.setDescription('Number of errors encountered for this type of MTP3 error as described in cgsp2Mtp3ErrorsDescription object.') cgsp2_context_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 6, 1)) if mibBuilder.loadTexts: cgsp2ContextTable.setStatus('current') if mibBuilder.loadTexts: cgsp2ContextTable.setDescription('DCS(Data Collector Server) use ContextId as index to get additional information about the resource being monitoring. This table provides informations used to identify the resource(link or ASP).') cgsp2_context_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 6, 1, 1)).setIndexNames((0, 'CISCO-ITP-GSP2-MIB', 'cgsp2ContextIdentifier')) if mibBuilder.loadTexts: cgsp2ContextEntry.setStatus('current') if mibBuilder.loadTexts: cgsp2ContextEntry.setDescription('Each entry (conceptual row) represents a resource(Link or ASP) that can be monitored by the the Probeless Monitor Feature. Each are added to deleted from this table as Link and ASP are configured.') cgsp2_context_identifier = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 6, 1, 1, 1), c_itp_tc_context_id()) if mibBuilder.loadTexts: cgsp2ContextIdentifier.setStatus('current') if mibBuilder.loadTexts: cgsp2ContextIdentifier.setDescription('The unique Id for LINK or ASP to Application') cgsp2_context_type = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 6, 1, 1, 2), c_itp_tc_context_type()).setMaxAccess('readonly') if mibBuilder.loadTexts: cgsp2ContextType.setStatus('current') if mibBuilder.loadTexts: cgsp2ContextType.setDescription('This object indicate the type of resource Link or ASP.') cgsp2_context_linkset_name = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 6, 1, 1, 3), c_itp_tc_linkset_id()).setMaxAccess('readonly') if mibBuilder.loadTexts: cgsp2ContextLinksetName.setStatus('current') if mibBuilder.loadTexts: cgsp2ContextLinksetName.setDescription('The name of the Linkset in which the link is configured and this object only applies when the cgsp2ContextType indicates the resource is a Link.') cgsp2_context_slc = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 6, 1, 1, 4), c_itp_tc_link_slc()).setMaxAccess('readonly') if mibBuilder.loadTexts: cgsp2ContextSlc.setReference('ITU Q.704 Signalling network functions and messages. ANSI T1.111 Telecommunications - Signalling system No. 7 (SS7)-Message Transfer Part (MTP).') if mibBuilder.loadTexts: cgsp2ContextSlc.setStatus('current') if mibBuilder.loadTexts: cgsp2ContextSlc.setDescription('The Signalling Link Code for this link.This object only applies when the cgsp2ContextType indicates the resource is an Link.') cgsp2_context_as_name = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 6, 1, 1, 5), c_itp_tc_xua_name()).setMaxAccess('readonly') if mibBuilder.loadTexts: cgsp2ContextAsName.setStatus('current') if mibBuilder.loadTexts: cgsp2ContextAsName.setDescription('The Aplication server name.This object only applies when the cgsp2ContextType indicates the resource is an ASP.') cgsp2_context_asp_name = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 6, 1, 1, 6), c_itp_tc_xua_name()).setMaxAccess('readonly') if mibBuilder.loadTexts: cgsp2ContextAspName.setStatus('current') if mibBuilder.loadTexts: cgsp2ContextAspName.setDescription('The Application Server Process Name.This object only applies when the cgsp2ContextType indicates the resource is an ASP.') cgsp2_context_network_name = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 6, 1, 1, 7), c_itp_tc_network_name()).setMaxAccess('readonly') if mibBuilder.loadTexts: cgsp2ContextNetworkName.setStatus('current') if mibBuilder.loadTexts: cgsp2ContextNetworkName.setDescription('The Network name configure for the instance in ITP') cgsp2_oper_mtp3_offload = mib_scalar((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 5, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('main', 1), ('offload', 2))).clone('main')).setMaxAccess('readonly') if mibBuilder.loadTexts: cgsp2OperMtp3Offload.setStatus('current') if mibBuilder.loadTexts: cgsp2OperMtp3Offload.setDescription("Indicates location of MTP3 management function as follows. 'main' - MTP3 Management function operates only on main processor. 'offload' - MTP3 Management function operates on main processor and other available processors.") cgsp2_oper_redundancy = mib_scalar((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 5, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('none', 1), ('local', 2), ('distributed', 3))).clone('none')).setMaxAccess('readonly') if mibBuilder.loadTexts: cgsp2OperRedundancy.setStatus('current') if mibBuilder.loadTexts: cgsp2OperRedundancy.setDescription("The redundancy capability of devices for signalling points defined on this device as follows. 'none' - Device is not configured to support redundancy features. 'local' - Device provides redundancy by using backup processor on same device. 'distributed' - Device provides redundancy by using processors on two or more different physical device.") cisco_gsp2_mib_compliances = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 332, 2, 1)) cisco_gsp2_mib_groups = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 332, 2, 2)) cisco_gsp2_mib_compliance = module_compliance((1, 3, 6, 1, 4, 1, 9, 9, 332, 2, 1, 1)).setObjects(('CISCO-ITP-GSP2-MIB', 'ciscoGsp2EventsGroup'), ('CISCO-ITP-GSP2-MIB', 'ciscoGsp2QosGroup'), ('CISCO-ITP-GSP2-MIB', 'ciscoGsp2LocalPeerGroup')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): cisco_gsp2_mib_compliance = ciscoGsp2MIBCompliance.setStatus('deprecated') if mibBuilder.loadTexts: ciscoGsp2MIBCompliance.setDescription('The compliance statement for entities which implement the CISCO-ITP-GSP2-MIB.my MIB') cisco_gsp2_mib_compliance_rev1 = module_compliance((1, 3, 6, 1, 4, 1, 9, 9, 332, 2, 1, 2)).setObjects(('CISCO-ITP-GSP2-MIB', 'ciscoGsp2EventsGroup'), ('CISCO-ITP-GSP2-MIB', 'ciscoGsp2QosGroup'), ('CISCO-ITP-GSP2-MIB', 'ciscoGsp2LocalPeerGroup'), ('CISCO-ITP-GSP2-MIB', 'ciscoGsp2Mtp3ErrorsGroup')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): cisco_gsp2_mib_compliance_rev1 = ciscoGsp2MIBComplianceRev1.setStatus('deprecated') if mibBuilder.loadTexts: ciscoGsp2MIBComplianceRev1.setDescription('The compliance statement for entities which implement the CISCO-ITP-GSP2-MIB.my MIB') cisco_gsp2_mib_compliance_rev2 = module_compliance((1, 3, 6, 1, 4, 1, 9, 9, 332, 2, 1, 3)).setObjects(('CISCO-ITP-GSP2-MIB', 'ciscoGsp2EventsGroup'), ('CISCO-ITP-GSP2-MIB', 'ciscoGsp2QosGroup'), ('CISCO-ITP-GSP2-MIB', 'ciscoGsp2LocalPeerGroup'), ('CISCO-ITP-GSP2-MIB', 'ciscoGsp2Mtp3ErrorsGroup'), ('CISCO-ITP-GSP2-MIB', 'ciscoGsp2OperationGroup')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): cisco_gsp2_mib_compliance_rev2 = ciscoGsp2MIBComplianceRev2.setStatus('deprecated') if mibBuilder.loadTexts: ciscoGsp2MIBComplianceRev2.setDescription('The compliance statement for entities which implement the CISCO-ITP-GSP2-MIB.my MIB') cisco_gsp2_mib_compliance_rev3 = module_compliance((1, 3, 6, 1, 4, 1, 9, 9, 332, 2, 1, 4)).setObjects(('CISCO-ITP-GSP2-MIB', 'ciscoGsp2EventsGroup'), ('CISCO-ITP-GSP2-MIB', 'ciscoGsp2QosGroup'), ('CISCO-ITP-GSP2-MIB', 'ciscoGsp2Mtp3ErrorsGroup'), ('CISCO-ITP-GSP2-MIB', 'ciscoGsp2OperationGroup'), ('CISCO-ITP-GSP2-MIB', 'ciscoGsp2LocalPeerGroupSup1')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): cisco_gsp2_mib_compliance_rev3 = ciscoGsp2MIBComplianceRev3.setStatus('deprecated') if mibBuilder.loadTexts: ciscoGsp2MIBComplianceRev3.setDescription('The compliance statement for entities which implement the CISCO-ITP-GSP2-MIB.my MIB') cisco_gsp2_mib_compliance_rev4 = module_compliance((1, 3, 6, 1, 4, 1, 9, 9, 332, 2, 1, 5)).setObjects(('CISCO-ITP-GSP2-MIB', 'ciscoGsp2EventsGroup'), ('CISCO-ITP-GSP2-MIB', 'ciscoGsp2QosGroup'), ('CISCO-ITP-GSP2-MIB', 'ciscoGsp2LocalPeerGroup'), ('CISCO-ITP-GSP2-MIB', 'ciscoGsp2Mtp3ErrorsGroup'), ('CISCO-ITP-GSP2-MIB', 'ciscoGsp2OperationGroup'), ('CISCO-ITP-GSP2-MIB', 'ciscoGsp2LocalPeerGroupSup1'), ('CISCO-ITP-GSP2-MIB', 'ciscoGsp2ContextGroup')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): cisco_gsp2_mib_compliance_rev4 = ciscoGsp2MIBComplianceRev4.setStatus('current') if mibBuilder.loadTexts: ciscoGsp2MIBComplianceRev4.setDescription('The compliance statement for entities which implement the CISCO-ITP-GSP2-MIB.my MIB') cisco_gsp2_events_group = object_group((1, 3, 6, 1, 4, 1, 9, 9, 332, 2, 2, 1)).setObjects(('CISCO-ITP-GSP2-MIB', 'cgsp2EventLoggedEvents'), ('CISCO-ITP-GSP2-MIB', 'cgsp2EventDroppedEvents'), ('CISCO-ITP-GSP2-MIB', 'cgsp2EventMaxEntries'), ('CISCO-ITP-GSP2-MIB', 'cgsp2EventMaxEntriesAllowed'), ('CISCO-ITP-GSP2-MIB', 'cgsp2EventMtp3Text'), ('CISCO-ITP-GSP2-MIB', 'cgsp2EventMtp3Timestamp'), ('CISCO-ITP-GSP2-MIB', 'cgsp2EventAsText'), ('CISCO-ITP-GSP2-MIB', 'cgsp2EventAsTimestamp'), ('CISCO-ITP-GSP2-MIB', 'cgsp2EventAspText'), ('CISCO-ITP-GSP2-MIB', 'cgsp2EventAspTimestamp'), ('CISCO-ITP-GSP2-MIB', 'cgsp2EventPcText'), ('CISCO-ITP-GSP2-MIB', 'cgsp2EventPcTimestamp')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): cisco_gsp2_events_group = ciscoGsp2EventsGroup.setStatus('current') if mibBuilder.loadTexts: ciscoGsp2EventsGroup.setDescription('SS7 Event objects.') cisco_gsp2_qos_group = object_group((1, 3, 6, 1, 4, 1, 9, 9, 332, 2, 2, 2)).setObjects(('CISCO-ITP-GSP2-MIB', 'cgsp2QosType'), ('CISCO-ITP-GSP2-MIB', 'cgsp2QosPrecedenceValue'), ('CISCO-ITP-GSP2-MIB', 'cgsp2QosIpDscp'), ('CISCO-ITP-GSP2-MIB', 'cgsp2QosAclId'), ('CISCO-ITP-GSP2-MIB', 'cgsp2QosRowStatus')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): cisco_gsp2_qos_group = ciscoGsp2QosGroup.setStatus('current') if mibBuilder.loadTexts: ciscoGsp2QosGroup.setDescription('SS7 Quality of Service objects.') cisco_gsp2_local_peer_group = object_group((1, 3, 6, 1, 4, 1, 9, 9, 332, 2, 2, 3)).setObjects(('CISCO-ITP-GSP2-MIB', 'cgsp2LocalPeerSlotNumber'), ('CISCO-ITP-GSP2-MIB', 'cgsp2LocalPeerRowStatus'), ('CISCO-ITP-GSP2-MIB', 'cgsp2LpIpAddressType'), ('CISCO-ITP-GSP2-MIB', 'cgsp2LpIpAddress'), ('CISCO-ITP-GSP2-MIB', 'cgsp2LpIpAddressRowStatus')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): cisco_gsp2_local_peer_group = ciscoGsp2LocalPeerGroup.setStatus('current') if mibBuilder.loadTexts: ciscoGsp2LocalPeerGroup.setDescription('SS7 Local Peer objects.') cisco_gsp2_mtp3_errors_group = object_group((1, 3, 6, 1, 4, 1, 9, 9, 332, 2, 2, 4)).setObjects(('CISCO-ITP-GSP2-MIB', 'cgsp2Mtp3ErrorsDescription'), ('CISCO-ITP-GSP2-MIB', 'cgsp2Mtp3ErrorsCount')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): cisco_gsp2_mtp3_errors_group = ciscoGsp2Mtp3ErrorsGroup.setStatus('current') if mibBuilder.loadTexts: ciscoGsp2Mtp3ErrorsGroup.setDescription('SS7 MTP3 Error objects.') cisco_gsp2_operation_group = object_group((1, 3, 6, 1, 4, 1, 9, 9, 332, 2, 2, 5)).setObjects(('CISCO-ITP-GSP2-MIB', 'cgsp2OperMtp3Offload'), ('CISCO-ITP-GSP2-MIB', 'cgsp2OperRedundancy')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): cisco_gsp2_operation_group = ciscoGsp2OperationGroup.setStatus('current') if mibBuilder.loadTexts: ciscoGsp2OperationGroup.setDescription('SS7 operation redundancy objects.') cisco_gsp2_local_peer_group_sup1 = object_group((1, 3, 6, 1, 4, 1, 9, 9, 332, 2, 2, 6)).setObjects(('CISCO-ITP-GSP2-MIB', 'cgsp2LocalPeerProcessorNumber')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): cisco_gsp2_local_peer_group_sup1 = ciscoGsp2LocalPeerGroupSup1.setStatus('current') if mibBuilder.loadTexts: ciscoGsp2LocalPeerGroupSup1.setDescription('SS7 Local Peer supplemental object to ciscoGsp2LocalPeerGroup.') cisco_gsp2_context_group = object_group((1, 3, 6, 1, 4, 1, 9, 9, 332, 2, 2, 7)).setObjects(('CISCO-ITP-GSP2-MIB', 'cgsp2ContextType'), ('CISCO-ITP-GSP2-MIB', 'cgsp2ContextLinksetName'), ('CISCO-ITP-GSP2-MIB', 'cgsp2ContextSlc'), ('CISCO-ITP-GSP2-MIB', 'cgsp2ContextAsName'), ('CISCO-ITP-GSP2-MIB', 'cgsp2ContextAspName'), ('CISCO-ITP-GSP2-MIB', 'cgsp2ContextNetworkName')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): cisco_gsp2_context_group = ciscoGsp2ContextGroup.setStatus('current') if mibBuilder.loadTexts: ciscoGsp2ContextGroup.setDescription('ContextTable object to ciscoGsp2ContextGroup.') mibBuilder.exportSymbols('CISCO-ITP-GSP2-MIB', cgsp2EventMtp3Timestamp=cgsp2EventMtp3Timestamp, cgsp2QosAclId=cgsp2QosAclId, cgsp2OperRedundancy=cgsp2OperRedundancy, cgsp2Events=cgsp2Events, CItpTcContextId=CItpTcContextId, cgsp2LocalPeerPort=cgsp2LocalPeerPort, cgsp2Context=cgsp2Context, ciscoGsp2Mtp3ErrorsGroup=ciscoGsp2Mtp3ErrorsGroup, cgsp2ContextAspName=cgsp2ContextAspName, cgsp2QosType=cgsp2QosType, cgsp2EventAspTableEntry=cgsp2EventAspTableEntry, cgsp2QosIpDscp=cgsp2QosIpDscp, cgsp2ContextLinksetName=cgsp2ContextLinksetName, cgsp2Qos=cgsp2Qos, cgsp2LocalPeerTable=cgsp2LocalPeerTable, cgsp2EventAsName=cgsp2EventAsName, cgsp2EventMtp3Text=cgsp2EventMtp3Text, ciscoGsp2MIB=ciscoGsp2MIB, cgsp2LocalPeerProcessorNumber=cgsp2LocalPeerProcessorNumber, ciscoGsp2MIBCompliances=ciscoGsp2MIBCompliances, cgsp2ContextTable=cgsp2ContextTable, cgsp2LpIpAddressNumber=cgsp2LpIpAddressNumber, cgsp2Mtp3ErrorsType=cgsp2Mtp3ErrorsType, ciscoGsp2MIBComplianceRev4=ciscoGsp2MIBComplianceRev4, cgsp2EventMtp3Table=cgsp2EventMtp3Table, cgsp2EventPcIndex=cgsp2EventPcIndex, cgsp2EventTableEntry=cgsp2EventTableEntry, cgsp2EventMaxEntriesAllowed=cgsp2EventMaxEntriesAllowed, cgsp2ContextNetworkName=cgsp2ContextNetworkName, cgsp2LpIpAddressRowStatus=cgsp2LpIpAddressRowStatus, cgsp2EventAspTimestamp=cgsp2EventAspTimestamp, ciscoGsp2MIBNotifs=ciscoGsp2MIBNotifs, cgsp2EventDroppedEvents=cgsp2EventDroppedEvents, cgsp2OperMtp3Offload=cgsp2OperMtp3Offload, cgsp2EventAsTableEntry=cgsp2EventAsTableEntry, cgsp2EventAsIndex=cgsp2EventAsIndex, cgsp2QosTable=cgsp2QosTable, ciscoGsp2MIBGroups=ciscoGsp2MIBGroups, cgsp2EventAsTable=cgsp2EventAsTable, cgsp2Mtp3ErrorsTableEntry=cgsp2Mtp3ErrorsTableEntry, cgsp2LpIpAddress=cgsp2LpIpAddress, Cgsp2EventIndex=Cgsp2EventIndex, cgsp2EventAspText=cgsp2EventAspText, ciscoGsp2LocalPeerGroup=ciscoGsp2LocalPeerGroup, cgsp2ContextEntry=cgsp2ContextEntry, cgsp2EventTable=cgsp2EventTable, cgsp2ContextSlc=cgsp2ContextSlc, cgsp2QosPrecedenceValue=cgsp2QosPrecedenceValue, cgsp2EventAsTimestamp=cgsp2EventAsTimestamp, cgsp2EventAspName=cgsp2EventAspName, cgsp2ContextIdentifier=cgsp2ContextIdentifier, cgsp2EventMtp3TableEntry=cgsp2EventMtp3TableEntry, ciscoGsp2MIBComplianceRev3=ciscoGsp2MIBComplianceRev3, cgsp2LocalPeer=cgsp2LocalPeer, ciscoGsp2LocalPeerGroupSup1=ciscoGsp2LocalPeerGroupSup1, cgsp2EventPcTable=cgsp2EventPcTable, cgsp2Mtp3Errors=cgsp2Mtp3Errors, cgsp2EventMtp3Index=cgsp2EventMtp3Index, cgsp2EventLoggedEvents=cgsp2EventLoggedEvents, cgsp2EventType=cgsp2EventType, ciscoGsp2MIBComplianceRev2=ciscoGsp2MIBComplianceRev2, cgsp2EventAspIndex=cgsp2EventAspIndex, ciscoGsp2EventsGroup=ciscoGsp2EventsGroup, cgsp2Mtp3ErrorsCount=cgsp2Mtp3ErrorsCount, cgsp2ContextType=cgsp2ContextType, cgsp2LocalPeerTableEntry=cgsp2LocalPeerTableEntry, cgsp2Operation=cgsp2Operation, PYSNMP_MODULE_ID=ciscoGsp2MIB, ciscoGsp2MIBCompliance=ciscoGsp2MIBCompliance, cgsp2EventPcText=cgsp2EventPcText, CItpTcContextType=CItpTcContextType, cgsp2EventMaxEntries=cgsp2EventMaxEntries, cgsp2EventPcTableEntry=cgsp2EventPcTableEntry, cgsp2QosClass=cgsp2QosClass, cgsp2LpIpAddrTableEntry=cgsp2LpIpAddrTableEntry, cgsp2QosRowStatus=cgsp2QosRowStatus, cgsp2Mtp3ErrorsTable=cgsp2Mtp3ErrorsTable, cgsp2EventAsText=cgsp2EventAsText, cgsp2QosTableEntry=cgsp2QosTableEntry, Cgsp2TcQosClass=Cgsp2TcQosClass, cgsp2LpIpAddrTable=cgsp2LpIpAddrTable, cgsp2LpIpAddressType=cgsp2LpIpAddressType, cgsp2EventAspTable=cgsp2EventAspTable, cgsp2ContextAsName=cgsp2ContextAsName, cgsp2Mtp3ErrorsDescription=cgsp2Mtp3ErrorsDescription, ciscoGsp2MIBComplianceRev1=ciscoGsp2MIBComplianceRev1, cgsp2LocalPeerRowStatus=cgsp2LocalPeerRowStatus, cgsp2EventPcTimestamp=cgsp2EventPcTimestamp, ciscoGsp2MIBObjects=ciscoGsp2MIBObjects, cgsp2LocalPeerSlotNumber=cgsp2LocalPeerSlotNumber, ciscoGsp2ContextGroup=ciscoGsp2ContextGroup, ciscoGsp2MIBConform=ciscoGsp2MIBConform, ciscoGsp2QosGroup=ciscoGsp2QosGroup, ciscoGsp2OperationGroup=ciscoGsp2OperationGroup, cgsp2EventPc=cgsp2EventPc)
{ 'targets': [ { 'target_name': 'discount', 'dependencies': [ 'libmarkdown' ], 'sources': [ 'src/discount.cc' ], 'include_dirs': [ 'deps/discount' ], 'libraries': [ 'deps/discount/libmarkdown.a' ] }, { 'target_name': 'libmarkdown', 'type': 'none', 'actions': [ { 'action_name': 'build_libmarkdown', 'inputs': [ 'deps/discount/Csio.c', 'deps/discount/Makefile.in', 'deps/discount/Plan9/markdown.1', 'deps/discount/Plan9/markdown.2', 'deps/discount/Plan9/markdown.6', 'deps/discount/Plan9/mkfile', 'deps/discount/amalloc.c', 'deps/discount/amalloc.h', 'deps/discount/basename.c', 'deps/discount/configure.inc', 'deps/discount/configure.sh', 'deps/discount/css.c', 'deps/discount/cstring.h', 'deps/discount/docheader.c', 'deps/discount/dumptree.c', 'deps/discount/emmatch.c', 'deps/discount/flags.c', 'deps/discount/generate.c', 'deps/discount/github_flavoured.c', 'deps/discount/html5.c', 'deps/discount/main.c', 'deps/discount/makepage.1', 'deps/discount/makepage.c', 'deps/discount/markdown.1', 'deps/discount/markdown.3', 'deps/discount/markdown.7', 'deps/discount/markdown.c', 'deps/discount/markdown.h', 'deps/discount/mkd-callbacks.3', 'deps/discount/mkd-extensions.7', 'deps/discount/mkd-functions.3', 'deps/discount/mkd-line.3', 'deps/discount/mkd2html.1', 'deps/discount/mkd2html.c', 'deps/discount/mkdio.c', 'deps/discount/mkdio.h.in', 'deps/discount/mktags.c', 'deps/discount/pgm_options.c', 'deps/discount/pgm_options.h', 'deps/discount/resource.c', 'deps/discount/setup.c', 'deps/discount/tags.c', 'deps/discount/tags.h', 'deps/discount/tests/autolink.t', 'deps/discount/tests/automatic.t', 'deps/discount/tests/backslash.t', 'deps/discount/tests/callbacks.t', 'deps/discount/tests/chrome.text', 'deps/discount/tests/code.t', 'deps/discount/tests/compat.t', 'deps/discount/tests/crash.t', 'deps/discount/tests/defects.t', 'deps/discount/tests/div.t', 'deps/discount/tests/dl.t', 'deps/discount/tests/embedlinks.text', 'deps/discount/tests/emphasis.t', 'deps/discount/tests/extrafootnotes.t', 'deps/discount/tests/flow.t', 'deps/discount/tests/footnotes.t', 'deps/discount/tests/functions.sh', 'deps/discount/tests/githubtags.t', 'deps/discount/tests/header.t', 'deps/discount/tests/html.t', 'deps/discount/tests/html5.t', 'deps/discount/tests/links.text', 'deps/discount/tests/linkylinky.t', 'deps/discount/tests/linkypix.t', 'deps/discount/tests/list.t', 'deps/discount/tests/list3deep.t', 'deps/discount/tests/misc.t', 'deps/discount/tests/pandoc.t', 'deps/discount/tests/para.t', 'deps/discount/tests/paranoia.t', 'deps/discount/tests/peculiarities.t', 'deps/discount/tests/pseudo.t', 'deps/discount/tests/reddit.t', 'deps/discount/tests/reparse.t', 'deps/discount/tests/schiraldi.t', 'deps/discount/tests/smarty.t', 'deps/discount/tests/snakepit.t', 'deps/discount/tests/strikethrough.t', 'deps/discount/tests/style.t', 'deps/discount/tests/superscript.t', 'deps/discount/tests/syntax.text', 'deps/discount/tests/tables.t', 'deps/discount/tests/tabstop.t', 'deps/discount/tests/toc.t', 'deps/discount/tests/xml.t', 'deps/discount/theme.1', 'deps/discount/theme.c', 'deps/discount/toc.c', 'deps/discount/tools/checkbits.sh', 'deps/discount/tools/cols.c', 'deps/discount/tools/echo.c', 'deps/discount/version.c.in', 'deps/discount/xml.c', 'deps/discount/xmlpage.c' ], 'outputs': [ 'deps/discount/libmarkdown.a' ], 'action': [ 'eval', 'cd deps/discount && ./configure.sh && make libmarkdown' ], 'message': 'Building libmarkdown...' } ] } ] }
{'targets': [{'target_name': 'discount', 'dependencies': ['libmarkdown'], 'sources': ['src/discount.cc'], 'include_dirs': ['deps/discount'], 'libraries': ['deps/discount/libmarkdown.a']}, {'target_name': 'libmarkdown', 'type': 'none', 'actions': [{'action_name': 'build_libmarkdown', 'inputs': ['deps/discount/Csio.c', 'deps/discount/Makefile.in', 'deps/discount/Plan9/markdown.1', 'deps/discount/Plan9/markdown.2', 'deps/discount/Plan9/markdown.6', 'deps/discount/Plan9/mkfile', 'deps/discount/amalloc.c', 'deps/discount/amalloc.h', 'deps/discount/basename.c', 'deps/discount/configure.inc', 'deps/discount/configure.sh', 'deps/discount/css.c', 'deps/discount/cstring.h', 'deps/discount/docheader.c', 'deps/discount/dumptree.c', 'deps/discount/emmatch.c', 'deps/discount/flags.c', 'deps/discount/generate.c', 'deps/discount/github_flavoured.c', 'deps/discount/html5.c', 'deps/discount/main.c', 'deps/discount/makepage.1', 'deps/discount/makepage.c', 'deps/discount/markdown.1', 'deps/discount/markdown.3', 'deps/discount/markdown.7', 'deps/discount/markdown.c', 'deps/discount/markdown.h', 'deps/discount/mkd-callbacks.3', 'deps/discount/mkd-extensions.7', 'deps/discount/mkd-functions.3', 'deps/discount/mkd-line.3', 'deps/discount/mkd2html.1', 'deps/discount/mkd2html.c', 'deps/discount/mkdio.c', 'deps/discount/mkdio.h.in', 'deps/discount/mktags.c', 'deps/discount/pgm_options.c', 'deps/discount/pgm_options.h', 'deps/discount/resource.c', 'deps/discount/setup.c', 'deps/discount/tags.c', 'deps/discount/tags.h', 'deps/discount/tests/autolink.t', 'deps/discount/tests/automatic.t', 'deps/discount/tests/backslash.t', 'deps/discount/tests/callbacks.t', 'deps/discount/tests/chrome.text', 'deps/discount/tests/code.t', 'deps/discount/tests/compat.t', 'deps/discount/tests/crash.t', 'deps/discount/tests/defects.t', 'deps/discount/tests/div.t', 'deps/discount/tests/dl.t', 'deps/discount/tests/embedlinks.text', 'deps/discount/tests/emphasis.t', 'deps/discount/tests/extrafootnotes.t', 'deps/discount/tests/flow.t', 'deps/discount/tests/footnotes.t', 'deps/discount/tests/functions.sh', 'deps/discount/tests/githubtags.t', 'deps/discount/tests/header.t', 'deps/discount/tests/html.t', 'deps/discount/tests/html5.t', 'deps/discount/tests/links.text', 'deps/discount/tests/linkylinky.t', 'deps/discount/tests/linkypix.t', 'deps/discount/tests/list.t', 'deps/discount/tests/list3deep.t', 'deps/discount/tests/misc.t', 'deps/discount/tests/pandoc.t', 'deps/discount/tests/para.t', 'deps/discount/tests/paranoia.t', 'deps/discount/tests/peculiarities.t', 'deps/discount/tests/pseudo.t', 'deps/discount/tests/reddit.t', 'deps/discount/tests/reparse.t', 'deps/discount/tests/schiraldi.t', 'deps/discount/tests/smarty.t', 'deps/discount/tests/snakepit.t', 'deps/discount/tests/strikethrough.t', 'deps/discount/tests/style.t', 'deps/discount/tests/superscript.t', 'deps/discount/tests/syntax.text', 'deps/discount/tests/tables.t', 'deps/discount/tests/tabstop.t', 'deps/discount/tests/toc.t', 'deps/discount/tests/xml.t', 'deps/discount/theme.1', 'deps/discount/theme.c', 'deps/discount/toc.c', 'deps/discount/tools/checkbits.sh', 'deps/discount/tools/cols.c', 'deps/discount/tools/echo.c', 'deps/discount/version.c.in', 'deps/discount/xml.c', 'deps/discount/xmlpage.c'], 'outputs': ['deps/discount/libmarkdown.a'], 'action': ['eval', 'cd deps/discount && ./configure.sh && make libmarkdown'], 'message': 'Building libmarkdown...'}]}]}
class BTNode: def __init__(self, data = -1, left = None, right = None): self.data = data self.left = left self.right = right class BTree: def __init__(self): self.root = None self.is_comp = True self.num = 0 def is_empty(self): return self.root is None def build(self, preorder, inorder): self.num = len(preorder) self.root = self.recover(preorder, inorder) def recover(self, preorder, inorder): root = BTNode(preorder[0]) if len(preorder) == 0 and len(inorder) == 0: return root idx = inorder.index(preorder[0]) if idx > 0: root.left = self.recover(preorder[1:idx+1], inorder[0:idx]) if len(inorder) - idx - 1 > 0: root.right = self.recover(preorder[idx+1:], inorder[idx+1:]) return root def judge(self): queue = [self.root] i = 0 while len(queue): node = queue.pop(0) if node.left: queue.append(node.left) elif 2 * i + 1 < self.num: self.is_comp = False if node.right: queue.append(node.right) elif 2 * i + 2 < self.num: self.is_comp = False i += 1 def main(): preorder = input().split() inorder = input().split() tree = BTree() tree.build(preorder, inorder) tree.judge() if tree.is_comp is True: print("True") else: print("False") main()
class Btnode: def __init__(self, data=-1, left=None, right=None): self.data = data self.left = left self.right = right class Btree: def __init__(self): self.root = None self.is_comp = True self.num = 0 def is_empty(self): return self.root is None def build(self, preorder, inorder): self.num = len(preorder) self.root = self.recover(preorder, inorder) def recover(self, preorder, inorder): root = bt_node(preorder[0]) if len(preorder) == 0 and len(inorder) == 0: return root idx = inorder.index(preorder[0]) if idx > 0: root.left = self.recover(preorder[1:idx + 1], inorder[0:idx]) if len(inorder) - idx - 1 > 0: root.right = self.recover(preorder[idx + 1:], inorder[idx + 1:]) return root def judge(self): queue = [self.root] i = 0 while len(queue): node = queue.pop(0) if node.left: queue.append(node.left) elif 2 * i + 1 < self.num: self.is_comp = False if node.right: queue.append(node.right) elif 2 * i + 2 < self.num: self.is_comp = False i += 1 def main(): preorder = input().split() inorder = input().split() tree = b_tree() tree.build(preorder, inorder) tree.judge() if tree.is_comp is True: print('True') else: print('False') main()
# Calculating Page rank. class Graph(): def __init__(self): self.linked_node_map = {} self.PR_map = {} def add_node(self, node_id): if node_id not in self.linked_node_map: self.linked_node_map[node_id] = [] self.PR_map[node_id] = 0 def add_link(self, node1, node2, v): if node1 not in self.linked_node_map: self.add_node(node1) if node2 not in self.linked_node_map: self.add_node(node2) # When Inserting links, weights are already divided by sum. self.linked_node_map[node2].append([node1, v]) # Compute Page Rank def get_PR(self, epoch_num=50, d=0.95): for i in range(epoch_num): for node in self.PR_map: self.PR_map[node] = (1 - d) + d * sum( [self.PR_map[temp_node[0]] * temp_node[1] for temp_node in self.linked_node_map[node]]) return self.PR_map
class Graph: def __init__(self): self.linked_node_map = {} self.PR_map = {} def add_node(self, node_id): if node_id not in self.linked_node_map: self.linked_node_map[node_id] = [] self.PR_map[node_id] = 0 def add_link(self, node1, node2, v): if node1 not in self.linked_node_map: self.add_node(node1) if node2 not in self.linked_node_map: self.add_node(node2) self.linked_node_map[node2].append([node1, v]) def get_pr(self, epoch_num=50, d=0.95): for i in range(epoch_num): for node in self.PR_map: self.PR_map[node] = 1 - d + d * sum([self.PR_map[temp_node[0]] * temp_node[1] for temp_node in self.linked_node_map[node]]) return self.PR_map
class NavigationValues: navigation_distance = None navigation_time = None speed_limit = None class Movement: value = None kph = None mph = None def calculate_speed(self): self.kph = self.value * 3.6 self.mph = self.value * 2.25 def __init__(self): self.speed_limit = self.Movement()
class Navigationvalues: navigation_distance = None navigation_time = None speed_limit = None class Movement: value = None kph = None mph = None def calculate_speed(self): self.kph = self.value * 3.6 self.mph = self.value * 2.25 def __init__(self): self.speed_limit = self.Movement()
def is_phone_valid(phone: str) -> bool: if ( phone.isnumeric() and phone.startswith(("6", "7", "8", "9")) and len(phone) == 10 ): return True return False
def is_phone_valid(phone: str) -> bool: if phone.isnumeric() and phone.startswith(('6', '7', '8', '9')) and (len(phone) == 10): return True return False
panjang = int(raw_input("masukan panjang: ")) lebar = int(raw_input("masukan lebar: ")) tinggi = int(raw_input("masukan tinggi: ")) volume = panjang * lebar * tinggi print(volume)
panjang = int(raw_input('masukan panjang: ')) lebar = int(raw_input('masukan lebar: ')) tinggi = int(raw_input('masukan tinggi: ')) volume = panjang * lebar * tinggi print(volume)
class Node: def __init__(self,data): self.data = data self.left = self.right = None def findPreSuc(root, key): # Base Case if root is None: return # If key is present at root if root.data == key: # the maximum value in left subtree is predecessor if root.left is not None: tmp = root.left while(tmp.right): tmp = tmp.right findPreSuc.pre = tmp # the minimum value in right subtree is successor if root.right is not None: tmp = root.right while(tmp.left): tmp = tmp.left findPreSuc.suc = tmp return # If key is smaller than root's key, go to left subtree if root.data > key : findPreSuc.suc = root findPreSuc(root.left, key) else: # go to right subtree findPreSuc.pre = root findPreSuc(root.right, key) def insert(root,key): if root is None: return Node(key) else: if root.data == key: return if key < root.data: root.left = insert(root.left,key) else: root.right = insert(root.right,key) return root ## Driver code...!!!!! if __name__ == "__main__": root = Node(50) root = insert(root,30) root = insert(root,20) root = insert(root,40) root = insert(root,70) root = insert(root,60) root = insert(root,80) ## take input from user to check for predessor and successor.. findPreSuc.pre = None findPreSuc.suc = None key = int(input()) findPreSuc(root, key) if findPreSuc.pre is not None: print ("Predecessor is", findPreSuc.pre.data) else: print ("No Predecessor") if findPreSuc.suc is not None: print ("Successor is", findPreSuc.suc.data) else: print ("No Successor")
class Node: def __init__(self, data): self.data = data self.left = self.right = None def find_pre_suc(root, key): if root is None: return if root.data == key: if root.left is not None: tmp = root.left while tmp.right: tmp = tmp.right findPreSuc.pre = tmp if root.right is not None: tmp = root.right while tmp.left: tmp = tmp.left findPreSuc.suc = tmp return if root.data > key: findPreSuc.suc = root find_pre_suc(root.left, key) else: findPreSuc.pre = root find_pre_suc(root.right, key) def insert(root, key): if root is None: return node(key) else: if root.data == key: return if key < root.data: root.left = insert(root.left, key) else: root.right = insert(root.right, key) return root if __name__ == '__main__': root = node(50) root = insert(root, 30) root = insert(root, 20) root = insert(root, 40) root = insert(root, 70) root = insert(root, 60) root = insert(root, 80) findPreSuc.pre = None findPreSuc.suc = None key = int(input()) find_pre_suc(root, key) if findPreSuc.pre is not None: print('Predecessor is', findPreSuc.pre.data) else: print('No Predecessor') if findPreSuc.suc is not None: print('Successor is', findPreSuc.suc.data) else: print('No Successor')
STUDENT_NUMBER_STOP = 999 def parse_correct_answers(record): return record.split(" ") def parse_student_answers(record): parsed = record.split(" ") student = int(parsed[0]) if len(parsed) == 1: return (student, None) else: return (student, parsed[1:]) def calculate_marks(correct, answers): points = 0 for i in range(0, len(correct)): if (answers[i] == "x"): points += 0 elif (answers[i] == correct[i]): points += 1 else: points -= 1 return points def process_students_marks(filename): with open(filename, "r") as answers: correct_answers = parse_correct_answers(answers.readline().strip()) student_number = 0 while (student_number != STUDENT_NUMBER_STOP): student_number, student_answers = parse_student_answers(answers.readline().strip()) if student_number == STUDENT_NUMBER_STOP: continue marks = calculate_marks(correct_answers, student_answers) print("{} {} marks".format(student_number, marks)) if __name__ == "__main__": process_students_marks("question4-data.txt")
student_number_stop = 999 def parse_correct_answers(record): return record.split(' ') def parse_student_answers(record): parsed = record.split(' ') student = int(parsed[0]) if len(parsed) == 1: return (student, None) else: return (student, parsed[1:]) def calculate_marks(correct, answers): points = 0 for i in range(0, len(correct)): if answers[i] == 'x': points += 0 elif answers[i] == correct[i]: points += 1 else: points -= 1 return points def process_students_marks(filename): with open(filename, 'r') as answers: correct_answers = parse_correct_answers(answers.readline().strip()) student_number = 0 while student_number != STUDENT_NUMBER_STOP: (student_number, student_answers) = parse_student_answers(answers.readline().strip()) if student_number == STUDENT_NUMBER_STOP: continue marks = calculate_marks(correct_answers, student_answers) print('{} {} marks'.format(student_number, marks)) if __name__ == '__main__': process_students_marks('question4-data.txt')
# Copyright 2021 The Fraud Detection Framework Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # 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. REQUEST_TIMEOUT = (60, 180) MESSAGE_TYPE_INFO = 5 MESSAGE_TYPE_WARNING = 4 MESSAGE_TYPE_ERROR = 3 DB_CONNECTION_STRING = 'postgresql://postgres:password@localhost:5432/fdf' EXCEPTION_WAIT_SEC = 5 SETTING_STATUS_NAME = 'status' SETTING_STATUS_PROCESSING = 'processing' SETTING_STATUS_STOPPED = 'stopped' SETTING_STATUS_RELOAD = 'reload' SETTING_STATUS_CLEAN = 'clean' SETTING_STATUS_PREPARING = 'preparing' SETTING_STATUS_PREPARED = 'prepared' SETTING_STATUS_PAUSED = 'paused' SETTING_REFRESH_DATA_NAME = 'refreshData' SETTING_REFRESH_DATA_TRUE = '1' SETTING_REFRESH_DATA_FALSE = '0' DATA_FOLDER = 'Data' TF_LOG_LEVEL = "2" TYPE_PHOTO_FRAUD_DETECTION = 1 FDF_PYD_PATH = "./fdf" STATUS_NONE = 0 STATUS_COMPLETED = 1
request_timeout = (60, 180) message_type_info = 5 message_type_warning = 4 message_type_error = 3 db_connection_string = 'postgresql://postgres:password@localhost:5432/fdf' exception_wait_sec = 5 setting_status_name = 'status' setting_status_processing = 'processing' setting_status_stopped = 'stopped' setting_status_reload = 'reload' setting_status_clean = 'clean' setting_status_preparing = 'preparing' setting_status_prepared = 'prepared' setting_status_paused = 'paused' setting_refresh_data_name = 'refreshData' setting_refresh_data_true = '1' setting_refresh_data_false = '0' data_folder = 'Data' tf_log_level = '2' type_photo_fraud_detection = 1 fdf_pyd_path = './fdf' status_none = 0 status_completed = 1
def czynniki_pierwsze(num: int) -> []: factors = [] k = 2 while num > 1: while num % k == 0: factors.append(k) num = num // k k = k + 1 return factors
def czynniki_pierwsze(num: int) -> []: factors = [] k = 2 while num > 1: while num % k == 0: factors.append(k) num = num // k k = k + 1 return factors
versions = {} def get_by_vid(vid): return versions[vid] def get_by_package(package, version_mode, vid): if not in_cache(package, version_mode, vid): return None return versions[vid][package + version_mode] def in_cache(package, version_mode, vid): package_str = package + version_mode return vid in versions and package_str in versions[vid] def set_package(package, version_mode, vid, version): if (vid not in versions): versions[vid] = {} versions[vid][package + version_mode] = version
versions = {} def get_by_vid(vid): return versions[vid] def get_by_package(package, version_mode, vid): if not in_cache(package, version_mode, vid): return None return versions[vid][package + version_mode] def in_cache(package, version_mode, vid): package_str = package + version_mode return vid in versions and package_str in versions[vid] def set_package(package, version_mode, vid, version): if vid not in versions: versions[vid] = {} versions[vid][package + version_mode] = version
#Linear Search class LinearSerach: def __init__(self): self.elements = [10,52,14,8,1,400,900,200,2,0] def SearchEm(self,elem): y = 0 if elem in self.elements: print("{x} is in the position of {y}".format(x = elem,y = self.elements.index(elem))) else: print("The element {x} not presented in the list".format(x = elem)) linear = LinearSerach() task_elem = int(input("Enter the element:")) linear.SearchEm(task_elem)
class Linearserach: def __init__(self): self.elements = [10, 52, 14, 8, 1, 400, 900, 200, 2, 0] def search_em(self, elem): y = 0 if elem in self.elements: print('{x} is in the position of {y}'.format(x=elem, y=self.elements.index(elem))) else: print('The element {x} not presented in the list'.format(x=elem)) linear = linear_serach() task_elem = int(input('Enter the element:')) linear.SearchEm(task_elem)
for t in range(int(input())): L=list(map(int,input().split())) sum=0 for i in L: if i<40: sum+=40 else : sum+=i print(f"#{t+1} {sum//5}")
for t in range(int(input())): l = list(map(int, input().split())) sum = 0 for i in L: if i < 40: sum += 40 else: sum += i print(f'#{t + 1} {sum // 5}')
class AgeBean: def __init__(self, judgement_id=0, age=''): self._judgement_id = judgement_id self._age = age @property def judgement_id(self): return int(self.judgement_id) @judgement_id.setter def judgement_id(self, id): self._judgement_id = id @property def age(self): return str(self._age) @age.setter def age(self, age): self._age = age
class Agebean: def __init__(self, judgement_id=0, age=''): self._judgement_id = judgement_id self._age = age @property def judgement_id(self): return int(self.judgement_id) @judgement_id.setter def judgement_id(self, id): self._judgement_id = id @property def age(self): return str(self._age) @age.setter def age(self, age): self._age = age
def reverse(head): cur = head pre = None while cur: nxt = cur.next cur.next = pre cur.pre = nxt pre = cur cur = nxt return pre
def reverse(head): cur = head pre = None while cur: nxt = cur.next cur.next = pre cur.pre = nxt pre = cur cur = nxt return pre
names = ['Anddy', 'Christian', 'Lucero', 'Yamile', 'Evelyn'] print(names) print(names[0]) print(names[0:2]) # numbers = [6, 2, 3, 45, 23, 3, 4, 55, 3, 2, 4456, 7, 98, 6, 64, 4, 321, 4, 323, 6, 68, 2, 2, 12, 4, 5] largeNumber = numbers[0] for number in numbers: if number > largeNumber: largeNumber = number print('The largest number is: ' + str(largeNumber)) numbers.append(1000) print(numbers) number2 = [0, 0, 0, 0, ] number3 = numbers.__add__(number2) # this method is immutable print(number3) numbersNoRepeted=[] for item in numbers: if not numbersNoRepeted.__contains__(item): #if item in numbersNoRepeted numbersNoRepeted.append(item) print(numbersNoRepeted) datos = ["gato", 2] print(datos) # datos.append(3,2,2) doesn't work datos.append([2,2,2,2,2]) # this add an array as element of the existing array, print(datos) datos.extend([2,3,4,5,6,]) # this join arrays print(datos)
names = ['Anddy', 'Christian', 'Lucero', 'Yamile', 'Evelyn'] print(names) print(names[0]) print(names[0:2]) numbers = [6, 2, 3, 45, 23, 3, 4, 55, 3, 2, 4456, 7, 98, 6, 64, 4, 321, 4, 323, 6, 68, 2, 2, 12, 4, 5] large_number = numbers[0] for number in numbers: if number > largeNumber: large_number = number print('The largest number is: ' + str(largeNumber)) numbers.append(1000) print(numbers) number2 = [0, 0, 0, 0] number3 = numbers.__add__(number2) print(number3) numbers_no_repeted = [] for item in numbers: if not numbersNoRepeted.__contains__(item): numbersNoRepeted.append(item) print(numbersNoRepeted) datos = ['gato', 2] print(datos) datos.append([2, 2, 2, 2, 2]) print(datos) datos.extend([2, 3, 4, 5, 6]) print(datos)
class placeholder_optimizer(object): done=False self_managing=False def __init__(self,max_iter): self.max_iter=max_iter def update(self): pass
class Placeholder_Optimizer(object): done = False self_managing = False def __init__(self, max_iter): self.max_iter = max_iter def update(self): pass
# # Copyright (c) 2017-2018 Joy Diamond. All rights reserved. # @gem('Sapphire.LineMarker') def gem(): def construct_token__line_marker__many(t, s, newlines): assert (t.ends_in_newline is t.line_marker is true) and (newlines > 1) t.s = s t.newlines = newlines class LineMarker(PearlToken): class_order = CLASS_ORDER__LINE_MARKER display_name = 'line-marker' ends_in_newline = true is_end_of_arithmetic_expression = true is_end_of_boolean_and_expression = true is_end_of_boolean_or_expression = true is_end_of_compare_expression = true is_end_of_comprehension_expression_list = true is_end_of_comprehension_expression = true is_end_of_logical_and_expression = true is_end_of_logical_or_expression = true is_end_of_multiply_expression = true is_end_of_normal_expression_list = true is_end_of_normal_expression = true is_end_of_ternary_expression_list = true is_end_of_ternary_expression = true is_end_of_unary_expression = true is_line_marker = true line_marker = true newlines = 1 def __init__(t, s): assert (t.ends_in_newline is t.line_marker is true) and (t.newlines is 1) assert (s.count('\n') == 1) and (s[-1] == '\n') t.s = s def count_newlines(t): assert (t.ends_in_newline is t.line_marker is true) and (t.newlines is 1) assert (t.s.count('\n') == 1) and (t.s[-1] == '\n') return 1 def display_token(t): return arrange('<line-marker %s>', portray_string(t.s)) def dump_token(t, f, newline = true): assert (t.ends_in_newline is t.line_marker is true) and (t.newlines is 1) assert (t.s.count('\n') == 1) and (t.s[-1] == '\n') f.partial('{%s}', portray_string(t.s)[1:-1]) if newline: f.line() return false return true order = order__s @share def conjure_line_marker(s): r = lookup_line_marker(s) if r is not none: return r s = intern_string(s) return provide_line_marker(s, LineMarker(s)) @share def produce_conjure_action_word__line_marker(name, Meta): @rename('conjure_%s__line_marker', name) def conjure_action_word__line_marker(s): assert s[-1] == '\n' r = lookup_line_marker(s) if r is not none: return r s = intern_string(s) newlines = s.count('\n') return provide_line_marker( s, ( Meta(s) if newlines is 1 else conjure_ActionWord_LineMarker_Many( Meta, construct_token__line_marker__many, )(s, s.count('\n')) ), ) return conjure_action_word__line_marker LINE_MARKER = conjure_line_marker('\n') LineMarker.mutate = produce_mutate__uncommented ('line_marker', LINE_MARKER) LineMarker.transform = produce_transform__uncommented('line_marker', LINE_MARKER) share( 'LINE_MARKER', LINE_MARKER, )
@gem('Sapphire.LineMarker') def gem(): def construct_token__line_marker__many(t, s, newlines): assert t.ends_in_newline is t.line_marker is true and newlines > 1 t.s = s t.newlines = newlines class Linemarker(PearlToken): class_order = CLASS_ORDER__LINE_MARKER display_name = 'line-marker' ends_in_newline = true is_end_of_arithmetic_expression = true is_end_of_boolean_and_expression = true is_end_of_boolean_or_expression = true is_end_of_compare_expression = true is_end_of_comprehension_expression_list = true is_end_of_comprehension_expression = true is_end_of_logical_and_expression = true is_end_of_logical_or_expression = true is_end_of_multiply_expression = true is_end_of_normal_expression_list = true is_end_of_normal_expression = true is_end_of_ternary_expression_list = true is_end_of_ternary_expression = true is_end_of_unary_expression = true is_line_marker = true line_marker = true newlines = 1 def __init__(t, s): assert t.ends_in_newline is t.line_marker is true and t.newlines is 1 assert s.count('\n') == 1 and s[-1] == '\n' t.s = s def count_newlines(t): assert t.ends_in_newline is t.line_marker is true and t.newlines is 1 assert t.s.count('\n') == 1 and t.s[-1] == '\n' return 1 def display_token(t): return arrange('<line-marker %s>', portray_string(t.s)) def dump_token(t, f, newline=true): assert t.ends_in_newline is t.line_marker is true and t.newlines is 1 assert t.s.count('\n') == 1 and t.s[-1] == '\n' f.partial('{%s}', portray_string(t.s)[1:-1]) if newline: f.line() return false return true order = order__s @share def conjure_line_marker(s): r = lookup_line_marker(s) if r is not none: return r s = intern_string(s) return provide_line_marker(s, line_marker(s)) @share def produce_conjure_action_word__line_marker(name, Meta): @rename('conjure_%s__line_marker', name) def conjure_action_word__line_marker(s): assert s[-1] == '\n' r = lookup_line_marker(s) if r is not none: return r s = intern_string(s) newlines = s.count('\n') return provide_line_marker(s, meta(s) if newlines is 1 else conjure__action_word__line_marker__many(Meta, construct_token__line_marker__many)(s, s.count('\n'))) return conjure_action_word__line_marker line_marker = conjure_line_marker('\n') LineMarker.mutate = produce_mutate__uncommented('line_marker', LINE_MARKER) LineMarker.transform = produce_transform__uncommented('line_marker', LINE_MARKER) share('LINE_MARKER', LINE_MARKER)
casos = int(input()) dentro = 0 fora = 0 for i in range(casos): num = int(input()) if num >= 10 and num <= 20: dentro += 1 else: fora += 1 print('{} in\n{} out'.format(dentro, fora))
casos = int(input()) dentro = 0 fora = 0 for i in range(casos): num = int(input()) if num >= 10 and num <= 20: dentro += 1 else: fora += 1 print('{} in\n{} out'.format(dentro, fora))
#https://www.hackerrank.com/challenges/quicksort2 ''' def quickSort(ar): if len(ar) <2 : # 0 or 1 return(ar) else: p = ar[0] less = [] more = [] for item in ar[1:]: if item < p: less.append(item) else: more.append(item) l = quickSort(less) m = quickSort(more) subarray = l + [p] + m print(' '.join([str(x) for x in subarray])) return subarray m = int(input()) ar = [int(i) for i in input().strip().split()] quickSort(ar) ''' def partition(a, first, last): if len(a)<2: return first pivot = a[first] wall = last+1 for j in range(last, first,-1): if a[j] > pivot: wall -= 1 if j!=wall: a[j],a[wall] = a[wall], a[j] a[wall-1],a[first] = a[first], a[wall-1] return wall-1 def quickSort(a, first, last): if first < last: q = partition(a, first, last) quickSort(a, first, q-1) if len(a[first:q]) > 1: print(" ".join(map(str, a[first:q]))) quickSort(a, q+1, last) if len(a[q+1:last+1]) > 1: print(" ".join(map(str, a[q+1:last+1]))) a = [int(x) for x in input().strip().split(' ')] quickSort(a,0,len(a)-1) print(a)
""" def quickSort(ar): if len(ar) <2 : # 0 or 1 return(ar) else: p = ar[0] less = [] more = [] for item in ar[1:]: if item < p: less.append(item) else: more.append(item) l = quickSort(less) m = quickSort(more) subarray = l + [p] + m print(' '.join([str(x) for x in subarray])) return subarray m = int(input()) ar = [int(i) for i in input().strip().split()] quickSort(ar) """ def partition(a, first, last): if len(a) < 2: return first pivot = a[first] wall = last + 1 for j in range(last, first, -1): if a[j] > pivot: wall -= 1 if j != wall: (a[j], a[wall]) = (a[wall], a[j]) (a[wall - 1], a[first]) = (a[first], a[wall - 1]) return wall - 1 def quick_sort(a, first, last): if first < last: q = partition(a, first, last) quick_sort(a, first, q - 1) if len(a[first:q]) > 1: print(' '.join(map(str, a[first:q]))) quick_sort(a, q + 1, last) if len(a[q + 1:last + 1]) > 1: print(' '.join(map(str, a[q + 1:last + 1]))) a = [int(x) for x in input().strip().split(' ')] quick_sort(a, 0, len(a) - 1) print(a)
class User: def __init__(self,username,password): self.is_authenticated = False self.username = username self.password = password
class User: def __init__(self, username, password): self.is_authenticated = False self.username = username self.password = password
def add(x): def do_add(y): return x + y return do_add add_to_five = add(5) # print(add_to_five(7)) # print(add(5)(3)) def Person(name, age): def print_hello(): print('Hello! My name is {}'.format(name)) def get_age(): return age return {'print_hello': print_hello, 'get_age': get_age} john = Person('John', 32) john['print_hello']() print(john['get_age']())
def add(x): def do_add(y): return x + y return do_add add_to_five = add(5) def person(name, age): def print_hello(): print('Hello! My name is {}'.format(name)) def get_age(): return age return {'print_hello': print_hello, 'get_age': get_age} john = person('John', 32) john['print_hello']() print(john['get_age']())
class Solution: def largestDivisibleSubset(self, nums: List[int]) -> List[int]: nums.sort() n=len(nums) if n==0: return [] dp=[[i,1] for i in range(n)] last=0 maxm=0 for i in range(1,n): for j in range(i-1,-1,-1): if nums[i]%nums[j]==0 and dp[j][1]>=dp[i][1]: dp[i][1]=dp[j][1]+1 dp[i][0]=j if maxm<dp[i][1]: maxm=dp[i][1] last=i res=[] while dp[last][0]!=last: res.append(nums[last]) last=dp[last][0] res.append(nums[last]) res.reverse() return res
class Solution: def largest_divisible_subset(self, nums: List[int]) -> List[int]: nums.sort() n = len(nums) if n == 0: return [] dp = [[i, 1] for i in range(n)] last = 0 maxm = 0 for i in range(1, n): for j in range(i - 1, -1, -1): if nums[i] % nums[j] == 0 and dp[j][1] >= dp[i][1]: dp[i][1] = dp[j][1] + 1 dp[i][0] = j if maxm < dp[i][1]: maxm = dp[i][1] last = i res = [] while dp[last][0] != last: res.append(nums[last]) last = dp[last][0] res.append(nums[last]) res.reverse() return res
class Book: def __init__(self, title, author, price): self.title = title self.author = author self.price = price def __str__(self): return f'{self.title} {self.author} {self.price}' def __call__(self, title, author, price): self.title = title self.author = author self.price = price book = Book('War and Peace', 'Lev Tolstoi', 23.24) print(book) book('The Catcher', 'JD Salinger', 12.32) print(book) book(title='JSD', author='JDS', price=232.2) print(book)
class Book: def __init__(self, title, author, price): self.title = title self.author = author self.price = price def __str__(self): return f'{self.title} {self.author} {self.price}' def __call__(self, title, author, price): self.title = title self.author = author self.price = price book = book('War and Peace', 'Lev Tolstoi', 23.24) print(book) book('The Catcher', 'JD Salinger', 12.32) print(book) book(title='JSD', author='JDS', price=232.2) print(book)
class Solution: @staticmethod def naive(nums): return nums+nums
class Solution: @staticmethod def naive(nums): return nums + nums
''' Created on 25 Mar 2020 @author: bogdan ''' class s1010hy_wiki2text(object): ''' parsing wikipedia xml, extracting textual input ''' def __init__(self): ''' Constructor '''
""" Created on 25 Mar 2020 @author: bogdan """ class S1010Hy_Wiki2Text(object): """ parsing wikipedia xml, extracting textual input """ def __init__(self): """ Constructor """
# # PySNMP MIB module CISCO-HSRP-EXT-CAPABILITY (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/CISCO-HSRP-EXT-CAPABILITY # Produced by pysmi-0.3.4 at Mon Apr 29 17:42:35 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) # OctetString, ObjectIdentifier, Integer = mibBuilder.importSymbols("ASN1", "OctetString", "ObjectIdentifier", "Integer") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ConstraintsUnion, ConstraintsIntersection, ValueRangeConstraint, SingleValueConstraint, ValueSizeConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsUnion", "ConstraintsIntersection", "ValueRangeConstraint", "SingleValueConstraint", "ValueSizeConstraint") ciscoAgentCapability, = mibBuilder.importSymbols("CISCO-SMI", "ciscoAgentCapability") ModuleCompliance, AgentCapabilities, NotificationGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "AgentCapabilities", "NotificationGroup") Gauge32, Counter32, MibScalar, MibTable, MibTableRow, MibTableColumn, Unsigned32, MibIdentifier, ObjectIdentity, TimeTicks, Counter64, NotificationType, Integer32, ModuleIdentity, IpAddress, iso, Bits = mibBuilder.importSymbols("SNMPv2-SMI", "Gauge32", "Counter32", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "Unsigned32", "MibIdentifier", "ObjectIdentity", "TimeTicks", "Counter64", "NotificationType", "Integer32", "ModuleIdentity", "IpAddress", "iso", "Bits") TextualConvention, DisplayString = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention", "DisplayString") ciscoHsrpExtCapability = ModuleIdentity((1, 3, 6, 1, 4, 1, 9, 7, 10001)) ciscoHsrpExtCapability.setRevisions(('2007-11-27 00:00', '1998-08-25 00:00',)) if mibBuilder.loadTexts: ciscoHsrpExtCapability.setLastUpdated('200711270000Z') if mibBuilder.loadTexts: ciscoHsrpExtCapability.setOrganization('Cisco Systems, Inc.') ciscoHsrpExtCapabilityV1R0 = AgentCapabilities((1, 3, 6, 1, 4, 1, 9, 7, 10001, 1)) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ciscoHsrpExtCapabilityV1R0 = ciscoHsrpExtCapabilityV1R0.setProductRelease('Cisco IOS/ENA 1.0') if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ciscoHsrpExtCapabilityV1R0 = ciscoHsrpExtCapabilityV1R0.setStatus('current') ciscoHsrpExtCapabilityV3R6CRS1 = AgentCapabilities((1, 3, 6, 1, 4, 1, 9, 7, 10001, 2)) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ciscoHsrpExtCapabilityV3R6CRS1 = ciscoHsrpExtCapabilityV3R6CRS1.setProductRelease('Cisco IOS XR 3.6 on CRS-1') if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ciscoHsrpExtCapabilityV3R6CRS1 = ciscoHsrpExtCapabilityV3R6CRS1.setStatus('current') mibBuilder.exportSymbols("CISCO-HSRP-EXT-CAPABILITY", ciscoHsrpExtCapabilityV3R6CRS1=ciscoHsrpExtCapabilityV3R6CRS1, PYSNMP_MODULE_ID=ciscoHsrpExtCapability, ciscoHsrpExtCapability=ciscoHsrpExtCapability, ciscoHsrpExtCapabilityV1R0=ciscoHsrpExtCapabilityV1R0)
(octet_string, object_identifier, integer) = mibBuilder.importSymbols('ASN1', 'OctetString', 'ObjectIdentifier', 'Integer') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (constraints_union, constraints_intersection, value_range_constraint, single_value_constraint, value_size_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ConstraintsUnion', 'ConstraintsIntersection', 'ValueRangeConstraint', 'SingleValueConstraint', 'ValueSizeConstraint') (cisco_agent_capability,) = mibBuilder.importSymbols('CISCO-SMI', 'ciscoAgentCapability') (module_compliance, agent_capabilities, notification_group) = mibBuilder.importSymbols('SNMPv2-CONF', 'ModuleCompliance', 'AgentCapabilities', 'NotificationGroup') (gauge32, counter32, mib_scalar, mib_table, mib_table_row, mib_table_column, unsigned32, mib_identifier, object_identity, time_ticks, counter64, notification_type, integer32, module_identity, ip_address, iso, bits) = mibBuilder.importSymbols('SNMPv2-SMI', 'Gauge32', 'Counter32', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'Unsigned32', 'MibIdentifier', 'ObjectIdentity', 'TimeTicks', 'Counter64', 'NotificationType', 'Integer32', 'ModuleIdentity', 'IpAddress', 'iso', 'Bits') (textual_convention, display_string) = mibBuilder.importSymbols('SNMPv2-TC', 'TextualConvention', 'DisplayString') cisco_hsrp_ext_capability = module_identity((1, 3, 6, 1, 4, 1, 9, 7, 10001)) ciscoHsrpExtCapability.setRevisions(('2007-11-27 00:00', '1998-08-25 00:00')) if mibBuilder.loadTexts: ciscoHsrpExtCapability.setLastUpdated('200711270000Z') if mibBuilder.loadTexts: ciscoHsrpExtCapability.setOrganization('Cisco Systems, Inc.') cisco_hsrp_ext_capability_v1_r0 = agent_capabilities((1, 3, 6, 1, 4, 1, 9, 7, 10001, 1)) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): cisco_hsrp_ext_capability_v1_r0 = ciscoHsrpExtCapabilityV1R0.setProductRelease('Cisco IOS/ENA 1.0') if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): cisco_hsrp_ext_capability_v1_r0 = ciscoHsrpExtCapabilityV1R0.setStatus('current') cisco_hsrp_ext_capability_v3_r6_crs1 = agent_capabilities((1, 3, 6, 1, 4, 1, 9, 7, 10001, 2)) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): cisco_hsrp_ext_capability_v3_r6_crs1 = ciscoHsrpExtCapabilityV3R6CRS1.setProductRelease('Cisco IOS XR 3.6 on CRS-1') if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): cisco_hsrp_ext_capability_v3_r6_crs1 = ciscoHsrpExtCapabilityV3R6CRS1.setStatus('current') mibBuilder.exportSymbols('CISCO-HSRP-EXT-CAPABILITY', ciscoHsrpExtCapabilityV3R6CRS1=ciscoHsrpExtCapabilityV3R6CRS1, PYSNMP_MODULE_ID=ciscoHsrpExtCapability, ciscoHsrpExtCapability=ciscoHsrpExtCapability, ciscoHsrpExtCapabilityV1R0=ciscoHsrpExtCapabilityV1R0)
master_doc = 'index' project = u'Infrastructure-Components' copyright = '2019, Frank Zickert' htmlhelp_basename = 'Infrastructure-Components-Doc' language = 'en' gettext_compact = False html_theme = 'sphinx_rtd_theme' #html_logo = 'img/logo.svg' html_theme_options = { 'logo_only': True, 'display_version': False, } # sphinx-notfound-page # https://github.com/rtfd/sphinx-notfound-page notfound_context = { 'title': 'Page Not Found', 'body': ''' <h1>Page Not Found</h1> <p>Sorry, we couldn't find that page.</p> <p>Try using the search box or go to the homepage.</p> ''', }
master_doc = 'index' project = u'Infrastructure-Components' copyright = '2019, Frank Zickert' htmlhelp_basename = 'Infrastructure-Components-Doc' language = 'en' gettext_compact = False html_theme = 'sphinx_rtd_theme' html_theme_options = {'logo_only': True, 'display_version': False} notfound_context = {'title': 'Page Not Found', 'body': "\n<h1>Page Not Found</h1>\n\n<p>Sorry, we couldn't find that page.</p>\n\n<p>Try using the search box or go to the homepage.</p>\n"}
a, b = input().split() a = int(a[::-1]) b = int(b[::-1]) print(a if a > b else b)
(a, b) = input().split() a = int(a[::-1]) b = int(b[::-1]) print(a if a > b else b)
ENDCODER_BANK_CONTROL1 = ['ModDevice_knob0', 'ModDevice_knob1', 'ModDevice_knob2', 'ModDevice_knob3'] ENDCODER_BANK_CONTROL2 = ['ModDevice_knob4', 'ModDevice_knob5', 'ModDevice_knob6', 'ModDevice_knob7'] ENDCODER_BANKS = {'NoDevice':[ENDCODER_BANK_CONTROL1 + ['CustomParameter_'+str(index+(bank*24)) for index in range(8)] for bank in range(4)] + [ENDCODER_BANK_CONTROL2 + ['CustomParameter_'+str(index+(bank*24)) for index in range(8)] for bank in range(4)]} MOD_BANK_DICT = {'EndCoders':['']} MOD_TYPES = {'EndCoders':ENDCODER_BANKS} MOD_CNTRL_OFFSETS = {}
endcoder_bank_control1 = ['ModDevice_knob0', 'ModDevice_knob1', 'ModDevice_knob2', 'ModDevice_knob3'] endcoder_bank_control2 = ['ModDevice_knob4', 'ModDevice_knob5', 'ModDevice_knob6', 'ModDevice_knob7'] endcoder_banks = {'NoDevice': [ENDCODER_BANK_CONTROL1 + ['CustomParameter_' + str(index + bank * 24) for index in range(8)] for bank in range(4)] + [ENDCODER_BANK_CONTROL2 + ['CustomParameter_' + str(index + bank * 24) for index in range(8)] for bank in range(4)]} mod_bank_dict = {'EndCoders': ['']} mod_types = {'EndCoders': ENDCODER_BANKS} mod_cntrl_offsets = {}
# -*- coding: utf-8 -*- class LoginError(Exception): pass
class Loginerror(Exception): pass
''' maze block counts for horizontal and vertical dimensions''' HN = 25 VN = 25 ''' screen width and height ''' WIDTH = 600 HEIGHT = 600 ''' configurations to fit the maze size regarding the block counts and its ratio with respect to the screen size ''' HSIZE = int(WIDTH*2./3.) VSIZE = int(HEIGHT*2./3.) HOFFSET = int((WIDTH-HSIZE)/2) VOFFSET = int((HEIGHT-VSIZE)/2) HSTEPSIZE = int(HSIZE/HN) VSTEPSIZE = int(VSIZE/VN) ''' maze wall width ''' LINEWIDTH = 1 ''' frames per second setting for pygame rendering ''' FPS = 60 ''' color settings ''' WHITE = (255,255,255) GRAY = (0,200,200) BLACK = (0, 0, 0) RED = (255,0,0) YELLOW = (255,255,0) GREEN = (0,180,0) BLUE = (0,0,180) PURPLE = (200,0,200) ''' dict used for searching neighbors or available paths by all directions ''' DIRS = {'down':(0,1), 'up':(0,-1), 'right':(1,0), 'left':(-1,0), 'ul':(-1,-1), 'ur':(1,-1), 'll':(-1,1), 'lr':(1,1)} #DIRS = {'down':(0,1), 'up':(0,-1), 'right':(1,0), 'left':(-1,0)} DIAG = ['ul', 'ur', 'll', 'lr'] ''' output directory for generating mazes ''' OUTPUT_DIR = './mazes'
""" maze block counts for horizontal and vertical dimensions""" hn = 25 vn = 25 ' screen width and height ' width = 600 height = 600 ' configurations to fit the maze size regarding the block counts and its ratio with respect to the screen size ' hsize = int(WIDTH * 2.0 / 3.0) vsize = int(HEIGHT * 2.0 / 3.0) hoffset = int((WIDTH - HSIZE) / 2) voffset = int((HEIGHT - VSIZE) / 2) hstepsize = int(HSIZE / HN) vstepsize = int(VSIZE / VN) ' maze wall width ' linewidth = 1 ' frames per second setting for pygame rendering ' fps = 60 ' color settings ' white = (255, 255, 255) gray = (0, 200, 200) black = (0, 0, 0) red = (255, 0, 0) yellow = (255, 255, 0) green = (0, 180, 0) blue = (0, 0, 180) purple = (200, 0, 200) ' dict used for searching neighbors or available paths by all directions ' dirs = {'down': (0, 1), 'up': (0, -1), 'right': (1, 0), 'left': (-1, 0), 'ul': (-1, -1), 'ur': (1, -1), 'll': (-1, 1), 'lr': (1, 1)} diag = ['ul', 'ur', 'll', 'lr'] ' output directory for generating mazes ' output_dir = './mazes'
# md5 : 506fc4d9b83c53f867e483f9235de8f3 # sha1 : 0e90c892528abee5127e047b6ca037991267b9e0 # sha256 : 04deb949dd7601ee92a1868b2591c2829ff8d80e42511691bad64fd01374d7fe ord_names = { 733: b'mF_ld_load_ldnames', 734: b'mFt_os_mm_set_cushion', 735: b'mFt_os_resource_delete_ru_entry', 795: b'mFt_os_thread_id_valid', 796: b'ASCII2HEX', 797: b'ASCII2OCTAL', 798: b'CBL_ABORT_RUN_UNIT', 799: b'CBL_ALLOC_DYN_MEM', 800: b'CBL_ALLOC_MEM', 801: b'CBL_ALLOC_SHMEM', 802: b'CBL_ALLOC_THREAD_MEM', 803: b'CBL_AND', 804: b'CBL_ARG_GET_INFO', 805: b'CBL_ASC_2_EBC', 806: b'CBL_AUDIT_CONFIG_PROPERTY_GET', 807: b'CBL_AUDIT_CONFIG_PROPERTY_SET', 808: b'CBL_AUDIT_EMITTER_PROPERTY_GET', 809: b'CBL_AUDIT_EMITTER_PROPERTY_SET', 810: b'CBL_AUDIT_EVENT', 811: b'CBL_AUDIT_FILE_CLOSE', 812: b'mF_rt_switches_addr', 837: b'CBL_AUDIT_FILE_OPEN', 838: b'CBL_AUDIT_FILE_READ', 839: b'CBL_AUDIT_HANDLE_GET', 840: b'CBL_CALL', 841: b'CBL_CANCEL', 842: b'CBL_CANCEL_PROC', 843: b'CBL_CES_GET_ERROR_MSG', 844: b'CBL_CES_GET_ERROR_MSG_LEN', 845: b'CBL_CES_GET_FEATURE_AVAILABILITY', 846: b'CBL_CES_GET_LICENSE', 847: b'CBL_CES_GET_LICENSE_SERIAL_NUMBER', 848: b'CBL_CES_GET_UPDATE_ALL_INTERVAL', 849: b'CBL_CES_RELEASE_LICENSE', 850: b'CBL_CES_SET_AUTOHANDLE_ERRORS', 851: b'CBL_CES_SET_AUTOHANDLE_TRIAL_WARNING', 852: b'CBL_CES_SET_CALLBACK', 853: b'CBL_CES_TRIAL_DAYS_LEFT', 854: b'CBL_CES_UPDATE_ALL', 855: b'CBL_CHANGE_DIR', 856: b'CBL_CHECK_FILE_EXIST', 857: b'CBL_CLASSIFY_DBCS_CHAR', 858: b'CBL_CLEAR_SCR', 859: b'CBL_CLOSE_FILE', 860: b'CBL_CLOSE_VFILE', 861: b'CBL_CMPNLS', 862: b'CBL_CMPTYP', 863: b'CBL_COPY_FILE', 864: b'CBL_COPY_VFILE', 865: b'CBL_CREATE_DIR', 866: b'CBL_CREATE_FILE', 867: b'CBL_CTF_COMP_PROPERTY_GET', 868: b'CBL_CTF_COMP_PROPERTY_SET', 869: b'CBL_CTF_DEST', 870: b'CBL_CTF_EMITTER', 871: b'CBL_CTF_EMITTER_PROPERTY_GET', 872: b'CBL_CTF_EMITTER_PROPERTY_SET', 873: b'CBL_CTF_LEVEL', 874: b'CBL_CTF_TRACE', 875: b'CBL_CTF_TRACER_GET', 876: b'CBL_CTF_TRACER_LEVEL_GET', 877: b'CBL_CTF_TRACER_NOTIFY', 878: b'CBL_CULL_RUN_UNITS', 879: b'CBL_DATA_CONTEXT_ATTACH', 880: b'CBL_DATA_CONTEXT_CREATE', 886: b'CBL_DATA_CONTEXT_DESTROY', 887: b'CBL_DATA_CONTEXT_DETACH', 891: b'CBL_DATA_CONTEXT_GET', 892: b'CBL_DATA_CONTEXT_SET', 893: b'CBL_DATETIME', 894: b'CBL_DBCS_ASC_2_EBC', 895: b'CBL_DBCS_EBC_2_ASC', 896: b'CBL_DBG_INIT', 897: b'CBL_DBG_ISDEBUGGED', 898: b'CBL_DBG_SENDNOTIF', 899: b'CBL_DEBUGBREAK', 900: b'CBL_DEBUG_START', 903: b'CBL_DEBUG_STOP', 904: b'CBL_DELETE_DIR', 905: b'CBL_DELETE_FILE', 906: b'CBL_DIR_SCAN_END', 907: b'CBL_DIR_SCAN_READ', 908: b'CBL_DIR_SCAN_START', 909: b'CBL_EBC_2_ASC', 910: b'CBL_EQ', 914: b'CBL_ERROR_API_REPORT', 915: b'CBL_ERROR_PROC', 916: b'CBL_EVENT_CLEAR', 917: b'CBL_EVENT_CLOSE', 918: b'CBL_EVENT_OPEN_INTRA', 919: b'CBL_EVENT_POST', 920: b'CBL_EVENT_WAIT', 921: b'CBL_EXEC_RUN_UNIT', 922: b'CBL_EXITPRC', 923: b'CBL_EXIT_PROC', 924: b'CBL_FFND_REPORT', 925: b'CBL_FHINIT', 926: b'CBL_FILENAME_CONVERT', 927: b'CBL_FILENAME_MAX_LENGTH', 928: b'CBL_FILE_ERROR', 929: b'CBL_FLUSH_FILE', 930: b'CBL_FN_ABS', 931: b'CBL_FN_ACOS', 932: b'CBL_FN_ANNUITY', 933: b'CBL_FN_ASIN', 952: b'CBL_FN_ATAN', 953: b'CBL_FN_CHAR', 954: b'CBL_FN_CHAR0NATIONAL', 955: b'CBL_FN_CHAR2', 956: b'CBL_FN_COS', 957: b'CBL_FN_CURRENT0DATE', 958: b'CBL_FN_DATE0OF0INTEGER', 959: b'CBL_FN_DATE0TO0YYYYMMDD', 960: b'CBL_FN_DAY0OF0INTEGER', 962: b'CBL_FN_DAY0TO0YYYYDDD', 963: b'CBL_FN_DISPLAY0OF', 964: b'CBL_FN_E', 968: b'mF_ld_load_ldnames_lock', 969: b'mF_ld_load_ldnames_unlock', 974: b'CBL_FN_EXP', 975: b'CBL_FN_EXP10', 976: b'CBL_FN_FACTORIAL', 977: b'CBL_FN_FRACTION0PART', 978: b'CBL_FN_INTEGER', 979: b'CBL_FN_INTEGER0OF0DATE', 980: b'CBL_FN_INTEGER0OF0DAY', 981: b'CBL_FN_INTEGER0PART', 982: b'CBL_FN_LOG', 983: b'CBL_FN_LOG10', 984: b'CBL_FN_LOWER0CASE', 985: b'CBL_FN_MAX', 986: b'CBL_FN_MEAN', 987: b'CBL_FN_MEDIAN', 988: b'CBL_FN_MIDRANGE', 989: b'CBL_FN_MIN', 990: b'CBL_FN_MOD', 991: b'CBL_FN_NATIONAL0OF', 992: b'CBL_FN_NUMVAL', 993: b'CBL_FN_NUMVAL0C', 994: b'CBL_FN_NUMVAL0C_IBM', 995: b'CBL_FN_NUMVAL0F', 996: b'CBL_FN_NUMVAL0G', 997: b'CBL_FN_NUMVAL_IBM', 998: b'CBL_FN_ORD', 999: b'CBL_FN_ORD0MAX', 1000: b'CBL_FN_ORD0MIN', 1001: b'_mF0101', 1002: b'_mF0102', 1003: b'_mF0103', 1004: b'_mF0104', 1005: b'_mF0105', 1006: b'_mF0106', 1007: b'_mF0202', 1008: b'_mF0203', 1009: b'_mF0301', 1010: b'_mF0302', 1011: b'_mF0303', 1012: b'_mF0401', 1013: b'_mF0402', 1014: b'_mF0403', 1015: b'_mF0601', 1016: b'_mF0602', 1017: b'_mF0603', 1018: b'_mF0604', 1019: b'_mF0605', 1020: b'_mF0608', 1021: b'_mF0701', 1022: b'_mF0702', 1023: b'_mF0703', 1024: b'_mF0705', 1025: b'_mF0801', 1026: b'_mF0802', 1027: b'_mF0803', 1028: b'_mF0805', 1029: b'_mF1001', 1030: b'_mF1002', 1031: b'_mF1003', 1032: b'_mF1101', 1033: b'_mF1102', 1034: b'_mF1201', 1035: b'_mF1202', 1036: b'_mF1301', 1037: b'_mF1302', 1038: b'_mF1303', 1039: b'_mF1401', 1040: b'_mF1402', 1041: b'_mF1403', 1042: b'_mF1501', 1043: b'_mF1502', 1044: b'_mF1503', 1045: b'_mF1602', 1046: b'_mF1603', 1047: b'_mF1701', 1048: b'_mF1702', 1049: b'_mF1801', 1050: b'_mF1802', 1051: b'_mF1901', 1052: b'_mF1902', 1053: b'_mF1903', 1054: b'_mF2001', 1055: b'_mF2002', 1056: b'_mF2003', 1057: b'_mF2101', 1058: b'_mF2102', 1059: b'_mF2103', 1060: b'_mF2201', 1061: b'_mF2202', 1062: b'_mF2205', 1063: b'_mF2206', 1064: b'_mF2302', 1065: b'_mF2306', 1066: b'_mF2401', 1067: b'_mF2402', 1068: b'_mF2405', 1069: b'_mF2406', 1070: b'_mF2501', 1071: b'_mF2502', 1072: b'_mF2509', 1073: b'_mF2510', 1074: b'_mF2601', 1075: b'_mF2602', 1076: b'_mF2603', 1077: b'_mF2609', 1078: b'_mF2610', 1079: b'_mF2611', 1080: b'_mF2701', 1081: b'_mF2702', 1082: b'_mF2703', 1083: b'_mF2704', 1084: b'_mF2705', 1085: b'_mF2706', 1086: b'_mF2709', 1087: b'_mF2710', 1088: b'_mF2711', 1089: b'_mF2712', 1090: b'_mF2713', 1091: b'_mF2714', 1092: b'_mF2801', 1093: b'_mF2802', 1094: b'_mF2901', 1095: b'_mF2902', 1096: b'_mF2903', 1097: b'_mF2904', 1098: b'_mF2905', 1099: b'_mF2906', 1100: b'_mF2907', 1101: b'_mF2908', 1102: b'_mF2909', 1103: b'_mF2910', 1104: b'_mF2911', 1105: b'_mF2912', 1106: b'_mF3001', 1107: b'_mF3002', 1108: b'_mF3003', 1109: b'_mF3004', 1110: b'_mF3005', 1111: b'_mF3102', 1112: b'_mF3104', 1113: b'_mF3201', 1114: b'_mF3203', 1115: b'_mF3301', 1116: b'_mF3302', 1117: b'_mF3303', 1118: b'_mF3304', 1119: b'_mF3305', 1120: b'_mF3306', 1121: b'_mF3307', 1122: b'_mF3308', 1123: b'_mF3309', 1124: b'_mF3310', 1125: b'_mF3311', 1126: b'_mF3312', 1127: b'_mF3313', 1128: b'_mF3314', 1129: b'_mF3315', 1130: b'_mF3316', 1131: b'_mF3317', 1132: b'_mF3318', 1133: b'_mF3319', 1134: b'_mF3320', 1135: b'_mF3321', 1136: b'_mF3322', 1137: b'_mF3323', 1138: b'_mF3324', 1139: b'_mF3325', 1140: b'_mF3326', 1141: b'_mF3327', 1142: b'_mF3328', 1143: b'_mF3329', 1144: b'_mF3330', 1145: b'_mF3331', 1146: b'_mF3332', 1147: b'_mF3333', 1148: b'_mF3334', 1149: b'_mF3335', 1150: b'_mF3336', 1151: b'_mF3337', 1152: b'_mF3338', 1153: b'_mF3339', 1154: b'_mF3340', 1155: b'_mF3341', 1156: b'_mF3342', 1157: b'_mF3343', 1158: b'_mF3347', 1159: b'_mF3348', 1160: b'_mF3349', 1161: b'_mF3350', 1162: b'_mF3351', 1163: b'_mF3352', 1164: b'_mF3353', 1165: b'_mF3354', 1166: b'_mF3355', 1167: b'_mF3356', 1168: b'_mF3358', 1169: b'_mF3359', 1170: b'_mF3403', 1171: b'_mF3404', 1172: b'_mF3407', 1173: b'_mF3408', 1174: b'_mF3413', 1175: b'_mF3414', 1176: b'_mF3417', 1177: b'_mF3418', 1178: b'_mF3423', 1179: b'_mF3424', 1180: b'_mF3427', 1181: b'_mF3428', 1182: b'_mF3433', 1183: b'_mF3434', 1184: b'_mF3437', 1185: b'_mF3438', 1186: b'_mF3501', 1187: b'_mF3502', 1188: b'_mF3503', 1189: b'_mF3504', 1190: b'_mF3511', 1191: b'_mF3512', 1192: b'_mF3513', 1193: b'_mF3514', 1194: b'_mF3521', 1195: b'_mF3522', 1196: b'_mF3523', 1197: b'_mF3524', 1198: b'_mF3531', 1199: b'_mF3532', 1200: b'_mF3533', 1201: b'_mF3534', 1202: b'_mF3535', 1203: b'_mF3536', 1204: b'_mF3537', 1205: b'_mF3538', 1206: b'_mF3601', 1207: b'_mF3602', 1208: b'_mF3603', 1209: b'_mF3604', 1210: b'_mF3611', 1211: b'_mF3612', 1212: b'_mF3613', 1213: b'_mF3614', 1214: b'_mF3621', 1215: b'_mF3622', 1216: b'_mF3623', 1217: b'_mF3624', 1218: b'_mF3631', 1219: b'_mF3632', 1220: b'_mF3633', 1221: b'_mF3634', 1222: b'_mF3701', 1223: b'_mF3702', 1224: b'_mF3705', 1225: b'_mF3706', 1226: b'_mF3711', 1227: b'_mF3712', 1228: b'_mF3715', 1229: b'_mF3716', 1230: b'_mF3721', 1231: b'_mF3722', 1232: b'_mF3725', 1233: b'_mF3726', 1234: b'_mF3731', 1235: b'_mF3732', 1236: b'_mF3733', 1237: b'_mF3734', 1238: b'_mF3735', 1239: b'_mF3736', 1240: b'_mF3801', 1241: b'_mF3802', 1242: b'_mF3803', 1243: b'_mF3804', 1244: b'_mF3811', 1245: b'_mF3812', 1246: b'_mF3813', 1247: b'_mF3814', 1248: b'_mF3831', 1249: b'_mF3832', 1250: b'_mF3833', 1251: b'_mF3834', 1252: b'_mF3835', 1253: b'_mF3836', 1254: b'_mF3837', 1255: b'_mF3838', 1256: b'_mF3901', 1257: b'_mF3902', 1258: b'_mF3903', 1259: b'_mF3905', 1260: b'_mF3910', 1261: b'_mF3911', 1262: b'_mF4001', 1263: b'_mF4002', 1264: b'_mF4101', 1265: b'_mF4102', 1266: b'_mF4103', 1267: b'_mF4104', 1268: b'_mF4201', 1269: b'_mF4202', 1270: b'_mF4301', 1271: b'_mF4302', 1272: b'CBL_FN_PI', 1273: b'_mF4406', 1274: b'_mF4407', 1275: b'_mF4501', 1276: b'_mF4601', 1277: b'_mF4602', 1278: b'_mF4603', 1279: b'_mF4604', 1280: b'_mF4701', 1281: b'CBL_FN_PRESENT0VALUE', 1282: b'_mF4703', 1283: b'_mF4801', 1284: b'_mF4802', 1285: b'_mF4803', 1286: b'_mF4804', 1287: b'_mF4901', 1288: b'_mF4902', 1289: b'_mF4903', 1290: b'_mF4904', 1291: b'_mF5101', 1292: b'_mF5102', 1293: b'_mF5103', 1294: b'_mF5104', 1295: b'_mF5105', 1296: b'_mF5106', 1297: b'_mF5107', 1298: b'_mF5108', 1299: b'_mF5109', 1300: b'_mF5110', 1301: b'_mF5111', 1302: b'_mF5112', 1303: b'_mF5113', 1304: b'_mF5114', 1305: b'_mF5115', 1306: b'_mF5116', 1307: b'_mF5117', 1308: b'_mF5118', 1309: b'_mF5119', 1310: b'_mF5120', 1311: b'_mF5121', 1312: b'_mF5122', 1313: b'_mF5123', 1314: b'_mF5124', 1315: b'_mF5125', 1316: b'_mF5126', 1317: b'_mF5127', 1318: b'_mF5201', 1319: b'_mF5202', 1320: b'_mF5203', 1321: b'_mF5204', 1322: b'_mF5205', 1323: b'_mF5206', 1324: b'_mF5207', 1325: b'_mF5208', 1326: b'_mF5209', 1327: b'_mF5210', 1328: b'_mF5211', 1329: b'_mF5212', 1330: b'_mF5213', 1331: b'_mF5214', 1332: b'_mF5215', 1333: b'_mF5216', 1334: b'_mF5217', 1335: b'_mF5218', 1336: b'_mF5219', 1337: b'_mF5220', 1338: b'_mF5221', 1339: b'_mF5222', 1340: b'_mF5223', 1341: b'_mF5224', 1342: b'_mF5225', 1343: b'_mF5232', 1344: b'_mF5233', 1345: b'_mF5234', 1346: b'_mF5235', 1347: b'_mF5236', 1348: b'_mF5237', 1349: b'_mF5238', 1350: b'_mF5239', 1351: b'_mF5240', 1352: b'_mF5241', 1353: b'_mF5302', 1354: b'_mF5304', 1355: b'_mF5307', 1356: b'_mF5309', 1357: b'_mF5312', 1358: b'_mF5314', 1359: b'_mF5318', 1360: b'_mF5319', 1361: b'_mF5322', 1362: b'_mF5323', 1363: b'_mF5401', 1364: b'_mF5402', 1365: b'_mF5403', 1366: b'_mF5404', 1367: b'_mF5405', 1368: b'_mF5406', 1369: b'_mF5407', 1370: b'_mF5501', 1371: b'_mF5502', 1372: b'_mF5503', 1373: b'_mF5504', 1374: b'_mF5601', 1375: b'_mF5602', 1376: b'_mF5603', 1377: b'_mF5604', 1378: b'_mF5605', 1379: b'_mF5606', 1380: b'_mF5607', 1381: b'_mF5608', 1382: b'_mF5609', 1383: b'_mF5610', 1384: b'_mF5611', 1385: b'_mF5612', 1386: b'_mF5613', 1387: b'_mF5614', 1388: b'_mF5615', 1389: b'_mF5616', 1390: b'_mF5617', 1391: b'_mF5618', 1392: b'_mF5619', 1393: b'_mF5620', 1394: b'_mF5621', 1395: b'_mF5622', 1396: b'_mF5623', 1397: b'_mF5624', 1398: b'_mF5625', 1399: b'_mF5632', 1400: b'_mF5633', 1401: b'_mF5634', 1402: b'_mF5635', 1403: b'_mF5636', 1404: b'_mF5637', 1405: b'_mF5638', 1406: b'_mF5639', 1407: b'_mF5640', 1408: b'_mF5641', 1409: b'_mF5702', 1410: b'_mF5704', 1411: b'_mF5707', 1412: b'_mF5709', 1413: b'_mF5712', 1414: b'_mF5714', 1415: b'_mF5718', 1416: b'_mF5719', 1417: b'_mF5722', 1418: b'_mF5723', 1419: b'_mF5801', 1420: b'_mF5802', 1421: b'_mF5803', 1422: b'_mF5804', 1423: b'_mF5805', 1424: b'_mF5806', 1425: b'_mF5807', 1426: b'_mF5808', 1427: b'_mF5809', 1428: b'_mF5810', 1429: b'_mF5811', 1430: b'_mF5812', 1431: b'_mF5901', 1432: b'_mF5902', 1433: b'_mF5903', 1434: b'_mF5904', 1435: b'CBL_FN_RANDOM', 1436: b'CBL_FN_RANGE', 1437: b'CBL_FN_REM', 1438: b'CBL_FN_REVERSE', 1439: b'CBL_FN_REVERSE_DBCS', 1440: b'CBL_FN_SIGN', 1441: b'CBL_FN_SIN', 1442: b'CBL_FN_SQRT', 1443: b'CBL_FN_STANDARD0DEVIATION', 1444: b'CBL_FN_SUM', 1445: b'_mF6201', 1446: b'_mF6202', 1447: b'_mF6203', 1448: b'_mF6304', 1449: b'_mF6305', 1450: b'_mF6306', 1451: b'_mF6307', 1452: b'_mF6308', 1453: b'_mF6309', 1454: b'_mF6310', 1455: b'_mF6311', 1456: b'_mF6312', 1457: b'_mF6313', 1458: b'_mF6314', 1459: b'_mF6315', 1460: b'_mF6501', 1461: b'_mF6601', 1462: b'_mF6602', 1463: b'_mF6801', 1464: b'_mF6802', 1465: b'_mF6803', 1466: b'_mF6804', 1467: b'_mF6903', 1468: b'_mF6904', 1469: b'_mF6905', 1470: b'_mF6906', 1471: b'_mF7001', 1472: b'_mF7002', 1473: b'_mF7003', 1474: b'_mF7004', 1475: b'_mF7801', 1476: b'_mF7802', 1477: b'_mF7803', 1478: b'_mF7804', 1479: b'_mF7805', 1480: b'_mF7806', 1481: b'_mF7807', 1482: b'_mF7808', 1483: b'_mF7810', 1484: b'_mF7811', 1485: b'_mF7812', 1486: b'_mF7813', 1487: b'_mF7821', 1488: b'_mF7822', 1489: b'_mF7823', 1490: b'_mF7824', 1491: b'_mF7825', 1492: b'_mF7826', 1493: b'_mF7830', 1494: b'_mF7831', 1495: b'_mF7832', 1496: b'_mF7833', 1497: b'_mF7901', 1498: b'_mF7902', 1499: b'_mF7903', 1500: b'_mF7904', 1501: b'_mF7905', 1502: b'_mF7906', 1503: b'_mF7907', 1504: b'_mF7908', 1505: b'_mF7910', 1506: b'_mF7911', 1507: b'_mF7912', 1508: b'_mF7913', 1509: b'_mF7921', 1510: b'_mF7922', 1511: b'_mF7923', 1512: b'_mF7924', 1513: b'_mF7925', 1514: b'_mF7926', 1515: b'CBL_FN_TAN', 1516: b'_mF7928', 1517: b'_mF7930', 1518: b'_mF7931', 1519: b'_mF7932', 1520: b'_mF7933', 1521: b'_mF8001', 1522: b'_mF8002', 1523: b'_mF8003', 1524: b'_mF8004', 1525: b'_mF8005', 1526: b'_mF8006', 1527: b'_mF8007', 1528: b'_mF8008', 1529: b'_mF8010', 1530: b'_mF8011', 1531: b'_mF8012', 1532: b'_mF8013', 1533: b'_mF8101', 1534: b'_mF8102', 1535: b'_mF8103', 1536: b'_mF8104', 1537: b'_mF8105', 1538: b'_mF8106', 1539: b'_mF8107', 1540: b'_mF8108', 1541: b'_mF8110', 1542: b'_mF8111', 1543: b'_mF8112', 1544: b'_mF8113', 1545: b'_mF8301', 1546: b'_mF8302', 1547: b'_mF8303', 1548: b'_mF8304', 1549: b'_mF8401', 1550: b'_mF8402', 1551: b'_mF8403', 1552: b'_mF8404', 1553: b'_mF8405', 1554: b'_mF8406', 1555: b'_mF8501', 1556: b'_mF8502', 1557: b'_mF8503', 1558: b'_mF8601', 1559: b'_mF8602', 1560: b'CBL_FN_TEST0DATE0YYYYMMDD', 1561: b'CBL_FN_TEST0DAY0YYYYDDD', 1562: b'CBL_FN_TEST0NUMVAL', 1563: b'_mFa101', 1564: b'_mFa102', 1565: b'_mFa103', 1566: b'_mFa104', 1567: b'_mFa105', 1568: b'_mFa106', 1569: b'_mFa107', 1570: b'_mFa108', 1571: b'_mFa201', 1572: b'_mFa202', 1573: b'_mFa301', 1574: b'_mFa302', 1575: b'_mFa303', 1576: b'_mFa304', 1577: b'_mFa305', 1578: b'_mFa401', 1579: b'_mFa402', 1580: b'_mFa403', 1581: b'_mFa404', 1582: b'_mFa405', 1583: b'_mFa501', 1584: b'_mFa502', 1585: b'_mFa601', 1586: b'_mFa602', 1587: b'_mFa603', 1588: b'_mFa604', 1589: b'_mFa605', 1590: b'_mFa606', 1591: b'_mFa701', 1592: b'_mFa702', 1593: b'_mFa801', 1594: b'_mFa802', 1595: b'_mFa803', 1596: b'_mFa804', 1597: b'_mFa901', 1598: b'_mFa902', 1599: b'_mFb001', 1600: b'_mFb002', 1601: b'_mFb101', 1602: b'_mFb102', 1603: b'_mF4503', 1604: b'_mF4505', 1605: b'_mF5408', 1606: b'_mF5409', 1607: b'_mF5410', 1608: b'_mF5411', 1609: b'_mF5412', 1610: b'CBL_FN_TEST0NUMVAL0C', 1611: b'_mF8416', 1612: b'_mF8417', 1613: b'CBL_FN_TEST0NUMVAL0F', 1614: b'CBL_FN_TEST0NUMVAL0G', 1615: b'CBL_FN_UPPER0CASE', 1616: b'CBL_FN_VARIANCE', 1617: b'CBL_FN_YEAR0TO0YYYY', 1618: b'CBL_FREE_DYN_MEM', 1619: b'CBL_FREE_LOCK', 1620: b'CBL_FREE_MEM', 1621: b'CBL_FREE_RECORD_LOCK', 1622: b'CBL_FREE_SEMAPHORE', 1623: b'CBL_FREE_SHMEM', 1624: b'CBL_FREE_THREAD_MEM', 1625: b'CBL_GET_A2E_TABLE', 1626: b'CBL_GET_COBOL_SWITCH', 1627: b'CBL_GET_CSR_POS', 1628: b'CBL_GET_CURRENT_DIR', 1629: b'CBL_GET_DATETIME', 1630: b'CBL_GET_E2A_TABLE', 1631: b'CBL_GET_EXIT_INFO', 1632: b'CBL_GET_FILE_INFO', 1633: b'CBL_GET_FILE_SYSTEM_INFO', 1634: b'CBL_GET_INSTALL_DIR', 1635: b'CBL_GET_INSTALL_VER', 1636: b'CBL_GET_KBD_STATUS', 1637: b'CBL_GET_LOCK', 1638: b'CBL_GET_MOUSE_MASK', 1639: b'CBL_GET_MOUSE_POSITION', 1640: b'CBL_GET_MOUSE_STATUS', 1641: b'CBL_GET_OS_INFO', 1642: b'CBL_GET_PROGRAM_INFO', 1643: b'CBL_GET_RECORD_LOCK', 1644: b'CBL_GET_SCR_DRAW_CHARS', 1645: b'CBL_GET_SCR_GRAPHICS', 1646: b'CBL_GET_SCR_LINE_DRAW', 1647: b'CBL_GET_SCR_SIZE', 1648: b'CBL_GET_SHMEM_PTR', 1649: b'CBL_HIDE_MOUSE', 1650: b'_mF7809', 1651: b'_mF7909', 1652: b'_mF8009', 1653: b'_mF8109', 1654: b'CBL_IMP', 1655: b'CBL_INIT_MOUSE', 1656: b'CBL_JOIN_FILENAME', 1657: b'CBL_LCKFILE', 1658: b'CBL_LOCATE_FILE', 1659: b'CBL_MBCS_CHAR_LEN', 1660: b'CBL_MEMCK', 1661: b'CBL_MEM_STRATEGY', 1662: b'CBL_MEM_VALIDATE', 1663: b'CBL_MFIO', 1664: b'CBL_MF_DEREGISTER_MEM', 1665: b'CBL_MF_GET_AMODE', 1666: b'CBL_MF_GET_SIZE', 1667: b'CBL_MF_LINEAR_TO_NATIVE', 1668: b'CBL_MF_MF_TO_NATIVE', 1669: b'CBL_MF_NATIVE_TO_LINEAR', 1670: b'CBL_MF_NATIVE_TO_MF', 1671: b'CBL_MF_REGISTER_MEM', 1672: b'CBL_MF_SET_AMODE', 1673: b'CBL_MONITOR_BROWSE', 1674: b'CBL_MONITOR_BROWSE_TO_READ', 1675: b'CBL_MONITOR_BROWSE_TO_WRITE', 1676: b'CBL_MONITOR_CLOSE', 1677: b'CBL_MONITOR_OPEN_INTRA', 1678: b'CBL_MONITOR_READ', 1679: b'CBL_MONITOR_RELEASE', 1680: b'CBL_MONITOR_UNBROWSE', 1681: b'CBL_MONITOR_UNREAD', 1682: b'CBL_MONITOR_UNWRITE', 1683: b'CBL_MONITOR_WRITE', 1684: b'CBL_MONITOR_WRITE_TO_BROWSE', 1685: b'CBL_MUTEX_ACQUIRE', 1686: b'CBL_MUTEX_CLOSE', 1687: b'CBL_MUTEX_OPEN_INTRA', 1688: b'CBL_MUTEX_RELEASE', 1689: b'CBL_NLS_CLOSE_MSG_FILE', 1690: b'CBL_NLS_COMPARE', 1691: b'CBL_NLS_GET_MSG', 1692: b'CBL_NLS_INFO', 1693: b'CBL_NLS_OPEN_MSG_FILE', 1694: b'CBL_NLS_READ_MSG', 1695: b'CBL_NLS_TRANSFORM', 1696: b'CBL_NOT', 1697: b'CBL_OPEN_FILE', 1698: b'CBL_OPEN_VFILE', 1699: b'CBL_OR', 1700: b'_mF0501', 1701: b'_mF0901', 1702: b'_mF0902', 1703: b'_mF0905', 1704: b'_mF0908', 1705: b'_mF5001', 1706: b'_mF5002', 1707: b'_mF5005', 1708: b'_mF5006', 1709: b'_mF8201', 1710: b'_mFb201', 1711: b'_mFb202', 1712: b'_mFb203', 1713: b'_mFb205', 1714: b'_mFb206', 1715: b'_mFb207', 1716: b'_mFb209', 1717: b'_mFb210', 1718: b'_mFb211', 1719: b'_mFb213', 1720: b'_mFb214', 1721: b'_mFb215', 1722: b'_mFb217', 1723: b'_mFb218', 1724: b'_mFb221', 1725: b'_mFb222', 1726: b'_mFb223', 1727: b'_mFb225', 1728: b'_mFb226', 1729: b'_mFb227', 1730: b'_mFb240', 1731: b'_mFb241', 1732: b'_mFb242', 1733: b'_mFb243', 1734: b'CBL_PROF', 1735: b'CBL_PROGRAM_DIR_SEARCH_GET', 1736: b'CBL_PROGRAM_DIR_SEARCH_SET', 1737: b'CBL_PURE_DBCS_ASC_2_EBC', 1738: b'CBL_PURE_DBCS_EBC_2_ASC', 1739: b'CBL_PUT_SHMEM_PTR', 1740: b'CBL_READ_DIR', 1741: b'CBL_READ_FILE', 1742: b'CBL_READ_KBD_CHAR', 1743: b'CBL_READ_MOUSE_EVENT', 1744: b'CBL_READ_SCR_ATTRS', 1745: b'CBL_READ_SCR_CHARS', 1746: b'CBL_READ_SCR_CHATTRS', 1747: b'CBL_READ_VFILE', 1748: b'CBL_REF_EXT_DATA', 1749: b'CBL_RELSEMA', 1750: b'_mF0305', 1751: b'_mF0306', 1752: b'_mF8413', 1753: b'_mF8414', 1754: b'_mF8415', 1755: b'_mF0107', 1756: b'_mF0108', 1757: b'_mF0109', 1758: b'_mF0110', 1759: b'_mF0111', 1760: b'_mF0112', 1761: b'_mF0113', 1762: b'_mF0307', 1763: b'_mF8407', 1764: b'_mF8408', 1765: b'_mF8409', 1766: b'_mF8410', 1767: b'_mF8411', 1768: b'_mF8412', 1769: b'_mF0208', 1770: b'_mF0209', 1771: b'_mF0609', 1772: b'_mF4905', 1773: b'_mF7704', 1774: b'_mF7705', 1775: b'CBL_RENAME_FILE', 1776: b'CBL_RESNAME', 1777: b'CBL_SCR_ALLOCATE_ATTR', 1778: b'CBL_SCR_ALLOCATE_COLOR', 1779: b'CBL_SCR_ALLOCATE_VC_COLOR', 1780: b'CBL_SCR_CONTEXT_ATTACH', 1781: b'CBL_SCR_CONTEXT_CREATE', 1782: b'CBL_SCR_CONTEXT_DESTROY', 1783: b'CBL_SCR_CONTEXT_DETACH', 1784: b'CBL_SCR_CONTEXT_GET', 1785: b'CBL_SCR_CREATE_VC', 1786: b'CBL_SCR_DESTROY_VC', 1787: b'CBL_SCR_FREE_ATTR', 1788: b'CBL_SCR_FREE_ATTRS', 1789: b'CBL_SCR_GET_ATTRIBUTES', 1790: b'CBL_SCR_GET_ATTR_DETAILS', 1791: b'CBL_SCR_GET_ATTR_INFO', 1792: b'CBL_SCR_NAME_TO_RGB', 1793: b'CBL_SCR_QUERY_COLORMAP', 1794: b'CBL_SCR_RESTORE', 1795: b'CBL_SCR_RESTORE_ATTRIBUTES', 1796: b'CBL_SCR_SAVE', 1797: b'CBL_SCR_SAVE_ATTRIBUTES', 1798: b'CBL_SCR_SET_ATTRIBUTES', 1799: b'CBL_SCR_SET_PC_ATTRIBUTES', 1800: b'_mF7601', 1801: b'_mF7602', 1802: b'_mF7603', 1803: b'CBL_SEMAPHORE_ACQUIRE', 1804: b'_mF7701', 1805: b'_mF7702', 1806: b'_mF7703', 1807: b'CBL_SEMAPHORE_CLOSE', 1808: b'_mF7828', 1809: b'_mF0610', 1810: b'_mF0611', 1811: b'_mF0631', 1812: b'_mF3635', 1813: b'_mF3636', 1814: b'_mF3637', 1815: b'_mF3638', 1816: b'_mF0304', 1817: b'CBL_SEMAPHORE_OPEN_INTRA', 1818: b'CBL_SEMAPHORE_RELEASE', 1819: b'CBL_SETSEMA', 1820: b'CBL_SET_COBOL_SWITCH', 1821: b'CBL_SET_CSR_POS', 1822: b'CBL_SET_DATETIME', 1823: b'CBL_SET_MOUSE_MASK', 1824: b'CBL_SET_MOUSE_POSITION', 1825: b'CBL_SET_SEMAPHORE', 1826: b'CBL_SHIFT_LEFT', 1827: b'_tMc35a0', 1828: b'CBL_SHIFT_RIGHT', 1829: b'CBL_SHOW_MOUSE', 1830: b'_tMc0106', 1831: b'_tMc0401', 1832: b'_tMc0402', 1833: b'_tMc0403', 1834: b'_tMc0501', 1835: b'_tMc0601', 1836: b'_tMc0602', 1837: b'_tMc0603', 1838: b'_tMc0604', 1839: b'_tMc0605', 1840: b'_tMc0608', 1841: b'_tMc0701', 1842: b'_tMc0702', 1843: b'_tMc0703', 1844: b'_tMc0705', 1845: b'_tMc0801', 1846: b'_tMc0802', 1847: b'_tMc0803', 1848: b'_tMc0805', 1849: b'_tMc0901', 1850: b'_tMc0902', 1851: b'_tMc0905', 1852: b'_tMc0908', 1853: b'_tMc1002', 1854: b'_tMc1102', 1855: b'_tMc1302', 1856: b'_tMc1402', 1857: b'_tMc2201', 1858: b'_tMc2205', 1859: b'_tMc3312', 1860: b'_tMc3314', 1861: b'_tMc3316', 1862: b'_tMc3318', 1863: b'_tMc3320', 1864: b'_tMc3332', 1865: b'_tMc3334', 1866: b'_tMc3336', 1867: b'_tMc3338', 1868: b'_tMc3340', 1869: b'_tMc3343', 1870: b'_tMc3348', 1871: b'_tMc3350', 1872: b'_tMc3352', 1873: b'_tMc3354', 1874: b'_tMc3356', 1875: b'_tMc3359', 1876: b'_tMc3512', 1877: b'_tMc3514', 1878: b'_tMc3532', 1879: b'_tMc3534', 1880: b'_tMc3536', 1881: b'_tMc3538', 1882: b'_tMc3612', 1883: b'_tMc3614', 1884: b'_tMc3634', 1885: b'_tMc3712', 1886: b'_tMc3716', 1887: b'_tMc3732', 1888: b'_tMc3734', 1889: b'_tMc3736', 1890: b'_tMc3902', 1891: b'_tMc3903', 1892: b'_tMc3905', 1893: b'_tMc4002', 1894: b'_tMc4102', 1895: b'_tMc4104', 1896: b'_tMc4202', 1897: b'_tMc4302', 1898: b'_tMc4405', 1899: b'_tMc4406', 1900: b'_tMc4501', 1901: b'_tMc4602', 1902: b'_tMc4604', 1903: b'_tMc4701', 1904: b'_tMc4703', 1905: b'_tMc4802', 1906: b'_tMc4804', 1907: b'_tMc4901', 1908: b'_tMc4902', 1909: b'_tMc4903', 1910: b'_tMc4904', 1911: b'_tMc5001', 1912: b'_tMc5002', 1913: b'_tMc5005', 1914: b'_tMc5006', 1915: b'_tMc6001', 1916: b'_tMc6009', 1917: b'_tMc6013', 1918: b'_tMc6501', 1919: b'_tMc6601', 1920: b'_tMc7001', 1921: b'_tMc7002', 1922: b'_tMc7003', 1923: b'_tMc7004', 1924: b'_tMc7601', 1925: b'_tMc7602', 1926: b'_tMc7603', 1927: b'_tMc7701', 1928: b'_tMc7702', 1929: b'_tMc7703', 1930: b'_tMc8201', 1931: b'_tMc8302', 1932: b'_tMc8304', 1933: b'_tMc8406', 1934: b'_tMc8501', 1935: b'_tMc8502', 1936: b'_tMc8503', 1937: b'_tMca301', 1938: b'_tMca302', 1939: b'_tMca303', 1940: b'_tMca304', 1941: b'_tMca401', 1942: b'_tMca402', 1943: b'_tMca403', 1944: b'_tMca404', 1945: b'_tMca501', 1946: b'_tMca502', 1947: b'_tMca601', 1948: b'_tMca603', 1949: b'_tMca604', 1950: b'_tMca606', 1951: b'_tMca701', 1952: b'_tMca702', 1953: b'_tMca801', 1954: b'_tMca802', 1955: b'_tMca803', 1956: b'_tMca804', 1957: b'_tMca901', 1958: b'_tMcb001', 1959: b'_tMcb101', 1960: b'_tMcb102', 1961: b'_tMcb201', 1962: b'_tMcb202', 1963: b'_tMcb203', 1964: b'_tMcb205', 1965: b'_tMcb206', 1966: b'_tMcb207', 1967: b'_tMcb209', 1968: b'_tMcb210', 1969: b'_tMcb211', 1970: b'_tMcb213', 1971: b'_tMcb214', 1972: b'_tMcb215', 1973: b'_tMcb217', 1974: b'_tMcb218', 1975: b'_tMcb221', 1976: b'_tMcb222', 1977: b'_tMcb223', 1978: b'_tMcb225', 1979: b'_tMcb226', 1980: b'_tMcb227', 1981: b'_tMcb240', 1982: b'_tMcb241', 1983: b'_tMcb242', 1984: b'_tMcb243', 1985: b'_tMc0609', 1986: b'_tMc4905', 1987: b'_tMc7704', 1988: b'_tMc7705', 1989: b'_tMc4505', 1990: b'CBL_SPLIT_FILENAME', 1991: b'CBL_SRV_SERVICE_FLAGS_GET', 1992: b'CBL_SRV_SERVICE_FLAGS_SET', 1993: b'CBL_STREAM_CLOSE', 1994: b'CBL_STREAM_OPEN', 1995: b'CBL_STREAM_READ', 1996: b'CBL_STREAM_WRITE', 1997: b'CBL_STRING_CONVERT', 1998: b'CBL_SUBSYSTEM', 1999: b'CBL_SWAP_SCR_CHATTRS', 2000: b'CBL_TERM_MOUSE', 2006: b'mF_ld_dynlnk_lib_check', 2007: b'mF_ld_dynlnk_lib_term', 2022: b'mF_MFid', 2038: b'mF_ld_dynlnk_lib_init', 2040: b'mF_ld_dynlnk_lib_deinit', 2050: b'CBL_TEST_LOCK', 2059: b'CBL_TEST_RECORD_LOCK', 2061: b'mF_ld_dynlnk_check_active', 2062: b'mF_db_cf_date', 2063: b'mFt_rt_savarea_ldhdr_find', 2064: b'mFt_rt_savarea_step_p', 2065: b'mFt_ld_tab_atomic_end', 2066: b'mFt_ld_tab_atomic_start', 2067: b'mFt_rt_switch_register', 2068: b'mFt_rt_switch_deregister', 2079: b'CBL_THREAD_CLEARC', 2081: b'CBL_THREAD_CREATE', 2085: b'CBL_THREAD_CREATE_P', 2086: b'CBL_THREAD_DETACH', 2088: b'CBL_THREAD_EXIT', 2093: b'CBL_THREAD_IDDATA_ALLOC', 2094: b'CBL_THREAD_IDDATA_GET', 2099: b'CBL_THREAD_KILL', 2100: b'CBL_THREAD_LIST_END', 2101: b'CBL_THREAD_LIST_NEXT', 2102: b'CBL_THREAD_LIST_START', 2105: b'CBL_THREAD_LOCK', 2119: b'CBL_THREAD_PROG_LOCK', 2145: b'CBL_THREAD_PROG_UNLOCK', 2148: b'CBL_THREAD_RESUME', 2157: b'CBL_THREAD_SELF', 2161: b'CBL_THREAD_SETC', 2168: b'CBL_THREAD_SLEEP', 2169: b'CBL_THREAD_SUSPEND', 2170: b'CBL_THREAD_TESTC', 2179: b'CBL_THREAD_UNLOCK', 2200: b'CBL_THREAD_WAIT', 2201: b'CBL_THREAD_YIELD', 2202: b'CBL_TOLOWER', 2203: b'CBL_TOUPPER', 2204: b'CBL_TSTORE_CLOSE', 2205: b'CBL_TSTORE_CREATE', 2206: b'CBL_TSTORE_GET', 2207: b'CBL_UNLFILE', 2208: b'CBL_UNLOCK', 2209: b'CBL_UPDATE_INSTALL_INFO', 2210: b'CBL_VALIDATE_DBCS_STR', 2211: b'CBL_WRITE_FILE', 2212: b'CBL_WRITE_SCR_ATTRS', 2213: b'CBL_WRITE_SCR_CHARS', 2214: b'CBL_WRITE_SCR_CHARS_ATTR', 2215: b'CBL_WRITE_SCR_CHATTRS', 2216: b'CBL_WRITE_SCR_N_ATTR', 2217: b'CBL_WRITE_SCR_N_CHAR', 2218: b'CBL_WRITE_SCR_N_CHATTR', 2219: b'CBL_WRITE_SCR_TTY', 2220: b'CBL_WRITE_VFILE', 2221: b'CBL_XMLIO', 2222: b'CBL_XMLIO_INTERFACE', 2223: b'CBL_XMLPARSE_EXCEPTION', 2224: b'CBL_XMLPARSE_INTERFACE', 2225: b'CBL_XMLP_CLOSE', 2226: b'CBL_XMLP_INIT', 2227: b'CBL_XMLP_NEXTEVENT', 2228: b'CBL_XOR', 2229: b'CBL_YIELD_RUN_UNIT', 2230: b'CICS', 2231: b'COBENTMP', 2232: b'DELETE', 2233: b'DWGetFlags', 2234: b'DWGetTitle', 2235: b'DWMsgBox', 2236: b'DWSetFlags', 2237: b'DWSetFocus', 2238: b'DWSetTitle', 2239: b'DWShow', 2240: b'DWVioGetMode', 2241: b'DWVioSetMode', 2242: b'EXTERNL', 2243: b'EXTFH', 2244: b'HEX2ASCII', 2245: b'JNI_COB_TIDY', 2246: b'JNI_COB_WAIT', 2247: b'_Java_com_microfocus_nativeruntime_RtCes_jniGetErrorMsg@16', 2248: b'_Java_com_microfocus_nativeruntime_RtCes_jniGetLicense@28', 2249: b'_Java_com_microfocus_nativeruntime_RtCes_jniReleaseLicense@16', 2250: b'_Java_com_microfocus_nativeruntime_RtCes_jniSetAutoHandleErrors@12', 2251: b'Java_com_microfocus_nativeruntime_RuntimeControl_jniWinRtCobTidy', 2252: b'Java_com_microfocus_nativeruntime_RuntimeControl_jniWinWaitForNativeRuntime', 2253: b'KEISEN', 2254: b'KEISEN1', 2255: b'KEISEN2', 2256: b'KEISEN_SELECT', 2257: b'MFEXTMAP', 2258: b'MFPM', 2259: b'MFPRGMAP', 2260: b'MFregetblk', 2261: b'MVS_CONSOLE_IO', 2262: b'MVS_CONTROL_BLOCK_GET', 2263: b'MVS_CONTROL_BLOCK_INIT', 2264: b'MVS_CONTROL_BLOCK_TERM', 2265: b'MVS_JOB_STEP_EXECUTION_MGR', 2266: b'OCTAL2ASCII', 2267: b'PC_EXIT_PROC', 2268: b'PC_FIND_DRIVES', 2269: b'PC_GET_MOUSE_SHAPE', 2270: b'PC_LOCATE_FILE', 2271: b'PC_PRINTER_REDIRECTION_PROC', 2272: b'PC_READ_DRIVE', 2273: b'PC_READ_KBD_SCAN', 2274: b'PC_SET_DRIVE', 2275: b'PC_SET_MOUSE_HIDE_AREA', 2276: b'PC_SET_MOUSE_SHAPE', 2277: b'PC_SUBSYSTEM', 2278: b'PC_TEST_PRINTER', 2279: b'PC_WIN_ABOUT', 2280: b'PC_WIN_CHAR_TO_OEM', 2281: b'PC_WIN_HANDLE', 2282: b'PC_WIN_INIT', 2283: b'PC_WIN_INSTANCE', 2284: b'PC_WIN_OEM_TO_CHAR', 2285: b'PC_WIN_SET_CHARSET', 2286: b'PC_WIN_YIELD', 2287: b'REG_CLOSE_KEY', 2288: b'REG_CREATE_KEY', 2289: b'REG_CREATE_KEY_EX', 2290: b'REG_DELETE_KEY', 2291: b'REG_DELETE_VALUE', 2292: b'REG_ENUM_KEY', 2293: b'REG_ENUM_VALUE', 2294: b'REG_OPEN_KEY', 2295: b'REG_OPEN_KEY_EX', 2296: b'REG_QUERY_VALUE', 2297: b'REG_QUERY_VALUE_EX', 2298: b'REG_SET_VALUE', 2299: b'REG_SET_VALUE_EX', 2300: b'RENAME', 2301: b'SYSID', 2302: b'SYSTEM', 2303: b'_CODESET', 2304: b'_COYIELD', 2305: b'_EXTNAME', 2306: b'_MFSTOP', 2307: b'_PTRFN1', 2308: b'_PTRFN2', 2309: b'_TGETVAL', 2310: b'_USRSCRN', 2311: b'_mFbldrtsmsg', 2312: b'_mFddexpand', 2313: b'_mFdllinit', 2314: b'_mFdllterm', 2315: b'_mFdonothing', 2316: b'_mFdynload', 2317: b'_mFerr', 2318: b'_mFerr2', 2319: b'_mFerr3', 2320: b'_mFfindp', 2321: b'_mFflattosel', 2322: b'_mFg2FB', 2323: b'_mFg2fullentry', 2324: b'_mFg2progswitch', 2325: b'_mFg3216ret', 2326: b'_mFg3216stack', 2327: b'_mFgAE', 2328: b'_mFgCE', 2329: b'_mFgF800', 2330: b'_mFgF801', 2331: b'_mFgF802', 2332: b'_mFgF803', 2333: b'_mFgF804', 2334: b'_mFgF805', 2335: b'_mFgF806', 2336: b'_mFgF807', 2337: b'_mFgF808', 2338: b'_mFgF809', 2339: b'_mFgF80A', 2340: b'_mFgF80B', 2341: b'_mFgF80C', 2342: b'_mFgF80D', 2343: b'_mFgF80E', 2344: b'_mFgF80F', 2345: b'_mFgF810', 2346: b'_mFgF811', 2347: b'_mFgF812', 2348: b'_mFgF813', 2349: b'_mFgF814', 2350: b'_mFgF815', 2351: b'_mFgF816', 2352: b'_mFgF817', 2353: b'_mFgF818', 2354: b'_mFgF819', 2355: b'_mFgF81A', 2356: b'_mFgF81B', 2357: b'_mFgFA', 2358: b'_mFgFB', 2359: b'_mFgFC', 2360: b'_mFgMFPMgetlinear', 2361: b'_mFgMFPMgetnative', 2362: b'_mFgWinMain', 2363: b'_mFgWinMain2', 2364: b'_mFgallocdata', 2365: b'_mFgetmsg', 2366: b'_mFgetrtsmsg', 2367: b'_mFginitdat_dll', 2368: b'_mFgkdrtfix', 2369: b'_mFgkdrtinit', 2370: b'_mFgkdrtunfix', 2371: b'_mFgmain', 2372: b'_mFgmain2', 2373: b'_mFgprogchain', 2374: b'_mFgprogcheckexit', 2375: b'_mFgproglink', 2376: b'_mFgproglock', 2377: b'_mFgprogrecurse', 2378: b'_mFgprogregister', 2379: b'_mFgprogswitch', 2380: b'_mFgprogthreaddata', 2381: b'_mFgprogunchain', 2382: b'_mFgprogunlock', 2383: b'_mFgtypecheck', 2384: b'_mFiD781', 2385: b'_mFiD782', 2386: b'_mFiD783', 2387: b'_mFiD784', 2388: b'_mFiD785', 2389: b'_mFiD786', 2390: b'_mFiD787', 2391: b'_mFiD788', 2392: b'_mFiD789', 2393: b'_mFiD78B', 2394: b'_mFiD78C', 2395: b'_mFiD78D', 2396: b'_mFiD78E', 2397: b'_mFiD78F', 2398: b'_mFiD790', 2399: b'_mFiD791', 2400: b'_mFiD794', 2401: b'_mFiD795', 2402: b'_mFiD796', 2403: b'_mFiD797', 2404: b'_mFiD7A0', 2405: b'_mFiD7A1', 2406: b'_mFiD7A2', 2407: b'_mFiD7A7', 2408: b'_mFiD7AA', 2409: b'_mFiD7AB', 2410: b'_mFiD7AD', 2411: b'_mFiD7AE', 2412: b'_mFiD7AF', 2413: b'_mFiD7B0', 2414: b'_mFiD7B1', 2415: b'_mFiD7B2', 2416: b'_mFiD7B3', 2417: b'_mFiD7B4', 2418: b'_mFiD7B5', 2419: b'_mFiD7B6', 2420: b'_mFiD7B7', 2421: b'_mFiD7B8', 2422: b'_mFiD7B9', 2423: b'_mFiD7BA', 2424: b'_mFiD7BC', 2425: b'_mFiD7BD', 2426: b'_mFiD7BE', 2427: b'_mFiD7BF', 2428: b'_mFiD7C0', 2429: b'_mFiD7C1', 2430: b'_mFiD7C2', 2431: b'_mFiD7C3', 2432: b'_mFiD7C4', 2433: b'_mFiD7C5', 2434: b'_mFiD7C7', 2435: b'_mFiD7C9', 2436: b'_mFiD7CB', 2437: b'_mFiD7CC', 2438: b'_mFiD7CD', 2439: b'_mFiD7CE', 2440: b'_mFiD7CF', 2441: b'_mFiD7D0', 2442: b'_mFiD7D7', 2443: b'_mFiD7D8', 2444: b'_mFiD7D9', 2445: b'_mFiD7DC', 2446: b'_mFiD7DD', 2447: b'_mFiD7DE', 2448: b'_mFiD7E1', 2449: b'_mFiD7E2', 2450: b'_mFiD7E3', 2451: b'_mFiD7E4', 2452: b'_mFiD7E5', 2453: b'_mFiD7E6', 2454: b'_mFiD7F1', 2455: b'_mFiD7F4', 2456: b'_mFiD7F5', 2457: b'_mFiD7F6', 2458: b'_mFiD7FB', 2459: b'_mFinit', 2460: b'_mFldyn', 2461: b'_mFprtmsg', 2462: b'_mFprtrtsmsg', 2463: b'_mFseltoflat', 2464: b'_mFundef', 2465: b'_mFxssd', 2466: b'cob_COYIELD', 2467: b'cob_db_runquery', 2468: b'cob_file_external', 2469: b'cobaudit_event', 2470: b'cobaudit_file_read', 2471: b'cobcall', 2472: b'cobcancel', 2473: b'cobchangemessageproc', 2474: b'cobcols', 2475: b'cobcommandline', 2476: b'cobctf_trace', 2477: b'cobctf_tracer_notify', 2478: b'cobdefinemessagetype', 2479: b'cobdlgetsym', 2480: b'cobdlload', 2481: b'cobdlunload', 2482: b'cobexit', 2483: b'cobfindprog', 2484: b'cobfunc', 2485: b'cobget_pointer', 2486: b'cobget_ppointer', 2487: b'cobget_sx1_comp5', 2488: b'cobget_sx2_comp5', 2489: b'cobget_sx4_comp5', 2490: b'cobget_sx8_comp5', 2491: b'cobget_sxn_comp5', 2492: b'cobget_x1_comp5', 2493: b'cobget_x1_compx', 2494: b'cobget_x2_comp5', 2495: b'cobget_x2_compx', 2496: b'cobget_x4_comp5', 2497: b'cobget_x4_compx', 2498: b'cobget_x8_comp5', 2499: b'cobget_x8_compx', 2500: b'cobget_xn_comp5', 2501: b'cobget_xn_compx', 2502: b'_mF0114', 2503: b'_mF0115', 2504: b'_mF0214', 2505: b'_mF0215', 2506: b'_mF0216', 2507: b'_mF0217', 2508: b'_mF0308', 2509: b'_mF3006', 2510: b'_mF3106', 2511: b'_mF3107', 2512: b'_mF3204', 2513: b'_mF3360', 2514: b'_mF3361', 2515: b'_mF3370', 2516: b'_mF3371', 2517: b'_mF3390', 2518: b'_mF3391', 2519: b'_mF3392', 2520: b'_mF3393', 2521: b'_mF3394', 2522: b'_mF3395', 2523: b'_mF3460', 2524: b'_mF3461', 2525: b'_mF3462', 2526: b'_mF3463', 2527: b'_mF3470', 2528: b'_mF3471', 2529: b'_mF3472', 2530: b'_mF3473', 2531: b'_mF3488', 2532: b'_mF3489', 2533: b'_mF3490', 2534: b'_mF3491', 2535: b'_mF3492', 2536: b'_mF3493', 2537: b'_mF3494', 2538: b'_mF3495', 2539: b'_mF3496', 2540: b'_mF3497', 2541: b'_mF3498', 2542: b'_mF3499', 2543: b'_mF3740', 2544: b'_mF3741', 2545: b'_mF3750', 2546: b'_mF3751', 2547: b'_mF3770', 2548: b'_mF3771', 2549: b'_mF3772', 2550: b'_mF3773', 2551: b'_mF3774', 2552: b'_mF3775', 2553: b'_mF5260', 2554: b'_mF5270', 2555: b'_mF5272', 2556: b'_mF5274', 2557: b'_mF5360', 2558: b'_mF5363', 2559: b'_mF5370', 2560: b'_mF5372', 2561: b'_mF5374', 2562: b'_mF5376', 2563: b'_mF5378', 2564: b'_mF5380', 2565: b'_mF5420', 2566: b'_mF5430', 2567: b'_mF5432', 2568: b'_mF5434', 2569: b'_mF5660', 2570: b'_mF5661', 2571: b'_mF5670', 2572: b'_mF5671', 2573: b'_mF5672', 2574: b'_mF5673', 2575: b'_mF5674', 2576: b'_mF5675', 2577: b'_mF5760', 2578: b'_mF5761', 2579: b'_mF5763', 2580: b'_mF5764', 2581: b'_mF5770', 2582: b'_mF5771', 2583: b'_mF5772', 2584: b'_mF5773', 2585: b'_mF5774', 2586: b'_mF5775', 2587: b'_mF5776', 2588: b'_mF5777', 2589: b'_mF5778', 2590: b'_mF5779', 2591: b'_mF5780', 2592: b'_mF5781', 2593: b'_mF5820', 2594: b'_mF5821', 2595: b'_mF5830', 2596: b'_mF5831', 2597: b'_mF5832', 2598: b'_mF5833', 2599: b'_mF5834', 2600: b'_mF5835', 2601: b'cobgetdatetime', 2602: b'cobgetenv', 2603: b'cobgetfuncaddr', 2604: b'cobinit', 2605: b'coblines', 2606: b'coblongjmp', 2607: b'cobmemalloc', 2608: b'cobmemfree', 2609: b'cobmemrealloc', 2610: b'cobposterrorproc', 2611: b'cobpostexitproc', 2612: b'cobpostmessageproc', 2613: b'cobpostsighandler', 2614: b'cobput_pointer', 2615: b'cobput_ppointer', 2616: b'cobput_sx1_comp5', 2617: b'cobput_sx2_comp5', 2618: b'cobput_sx4_comp5', 2619: b'cobput_sx8_comp5', 2620: b'cobput_sxn_comp5', 2621: b'cobput_x1_comp5', 2622: b'cobput_x1_compx', 2623: b'cobput_x2_comp5', 2624: b'cobput_x2_compx', 2625: b'cobput_x4_comp5', 2626: b'cobput_x4_compx', 2627: b'cobput_x8_comp5', 2628: b'cobput_x8_compx', 2629: b'cobput_xn_comp5', 2630: b'cobput_xn_compx', 2631: b'cobputenv', 2632: b'cobremoveexitproc', 2633: b'cobremovemessageproc', 2634: b'cobremovesighandler', 2635: b'cobrescanenv', 2636: b'cobsavenv', 2637: b'cobsavenv2', 2638: b'cobsendmessage', 2639: b'cobstringconvert', 2640: b'cobsync_mutex_deinit', 2641: b'cobsync_mutex_init', 2642: b'cobsync_mutex_lock', 2643: b'cobsync_mutex_unlock', 2644: b'cobthread_copy', 2645: b'cobthread_create', 2646: b'cobthread_equal', 2647: b'cobthread_exit', 2648: b'cobthread_isself', 2649: b'cobthread_join', 2650: b'cobthread_once', 2651: b'cobthread_self', 2652: b'cobthread_yield', 2653: b'cobthreadkey_deinit', 2654: b'cobthreadkey_getdata', 2655: b'cobthreadkey_init', 2656: b'cobthreadkey_setdata', 2657: b'cobthreadtidy', 2658: b'cobthreadtidydll', 2659: b'cobtidy', 2660: b'mF_32bit_integer_of_boolean', 2661: b'mF_64bit_integer_of_boolean', 2662: b'mF_ADIS', 2663: b'mF_BoolNOT32', 2664: b'mF_BoolNOT64', 2665: b'mF_COPYIN_VFILE', 2666: b'mF_COPYOUT_VFILE', 2667: b'mF_CTF_TRACE', 2668: b'mF_GETFILEINFO', 2669: b'mF_GETIXBLKSZ', 2670: b'mF_GETLOCKMODE', 2671: b'mF_GETRETRY', 2672: b'mF_GETSKIPONLOCK', 2673: b'mF_GetFloatingPointFormat', 2674: b'mF_Load32bitBoolBit', 2675: b'mF_Load32bitBoolDisplay', 2676: b'mF_Load64bitBoolBit', 2677: b'mF_Load64bitBoolDisplay', 2678: b'mF_RTSERR', 2679: b'mF_SERVER_CANCEL_HANDLER_POST', 2680: b'mF_SERVER_DEREGISTER_EVENT_CALLBACK', 2681: b'mF_SERVER_DEREGISTER_SELF_FROM_SHM', 2682: b'mF_SERVER_ES_INFO_INIT', 2683: b'mF_SERVER_LOAD', 2684: b'mF_SERVER_REGISTER_EVENT_CALLBACK', 2685: b'mF_Store32bitBoolBit', 2686: b'mF_Store32bitBoolDisplay', 2687: b'mF_Store64bitBoolBit', 2688: b'mF_Store64bitBoolBitRef', 2689: b'mF_Store64bitBoolDisplay', 2690: b'mF_Store64bitBoolDisplayRef', 2691: b'mF_boolean_of_integer', 2692: b'mF_boolean_of_integer_ref', 2693: b'mF_call2', 2694: b'mF_cf_block_create', 2695: b'mF_cf_block_destroy', 2696: b'mF_cf_block_getsize', 2697: b'mF_cf_block_write_buffer', 2698: b'mF_cf_key_create', 2699: b'mF_cf_rts_switch_set', 2700: b'mF_cf_tune_set', 2701: b'mF_directory_to_internal', 2702: b'mF_eloc', 2703: b'mF_enable_ime', 2704: b'mF_exception_filter', 2705: b'mF_fh_set_fe_stat', 2706: b'mF_fh_set_id_stat', 2707: b'mF_fh_set_lasterror', 2708: b'mF_get_arg_val', 2709: b'mF_get_dynmem', 2710: b'mF_get_errno', 2711: b'mF_get_num_arg', 2712: b'mF_getrtsconf', 2713: b'mF_gnt_epoints', 2714: b'mF_ieee_to_longibm', 2715: b'mF_ieee_to_shortibm', 2716: b'mF_integer_of_boolean', 2717: b'mF_ld_disk_search', 2718: b'mF_load_hook_deregister', 2719: b'mF_load_hook_register', 2720: b'mF_load_installf', 2721: b'mF_longibm_to_ieee', 2722: b'mF_numeric_UD_info', 2723: b'mF_pp_error', 2724: b'mF_pp_error_addr', 2725: b'mF_rt_cmdline_read', 2726: b'mF_setrtsconf', 2727: b'mF_shortibm_to_ieee', 2728: b'mF_shortibm_to_shortieee', 2729: b'mF_shortieee_to_shortibm', 2730: b'mF_tmpfilename', 2731: b'mF_trace_callback', 2732: b'mF_trace_install_component', 2733: b'mF_xe_MFPM_register', 2734: b'mF_xe_cgi_load', 2735: b'mF_xe_chk_load', 2736: b'mF_xe_com_load', 2737: b'mF_xe_oci_load', 2738: b'mF_xe_odbc_load', 2739: b'mF_xe_onecycle', 2740: b'mF_xe_prt_load', 2741: b'mF_xtrint', 2742: b'mFt_Pop_error_message', 2743: b'mFt_execerr', 2744: b'mFt_init_ru_ctl_area', 2745: b'mFt_ld_error_name', 2746: b'mFt_os_resource_lock_ru_ctl_area', 2747: b'mFt_os_resource_unlock_ru_ctl_area', 2748: b'mFt_rt_error_exec_extra', 2749: b'mFt_rt_print_version', 2750: b'mFt_rt_register_cancel_sort_comparison', 2751: b'mFt_rt_rtsfunc_srv_trace', 2752: b'mFt_ru_ctl_get_ru_addr', 2753: b'mFt_sv_server_es_notify', 2801: b'_mF3380', 2802: b'_mF3381', 2803: b'_mF3480', 2804: b'_mF3481', 2805: b'_mF3482', 2806: b'_mF3483', 2807: b'_mF3760', 2808: b'_mF3761', 2809: b'_mF5261', 2810: b'_mF5262', 2811: b'_mF5271', 2812: b'_mF5273', 2813: b'_mF5275', 2814: b'_mF5361', 2815: b'_mF5362', 2816: b'_mF5364', 2817: b'_mF5365', 2818: b'_mF5371', 2819: b'_mF5373', 2820: b'_mF5375', 2821: b'_mF5377', 2822: b'_mF5379', 2823: b'_mF5381', 2824: b'_mF5421', 2825: b'_mF5422', 2826: b'_mF5431', 2827: b'_mF5433', 2828: b'_mF5435', 2829: b'_mF5662', 2830: b'_mF5762', 2831: b'_mF5765', 2832: b'_mF5822', }
ord_names = {733: b'mF_ld_load_ldnames', 734: b'mFt_os_mm_set_cushion', 735: b'mFt_os_resource_delete_ru_entry', 795: b'mFt_os_thread_id_valid', 796: b'ASCII2HEX', 797: b'ASCII2OCTAL', 798: b'CBL_ABORT_RUN_UNIT', 799: b'CBL_ALLOC_DYN_MEM', 800: b'CBL_ALLOC_MEM', 801: b'CBL_ALLOC_SHMEM', 802: b'CBL_ALLOC_THREAD_MEM', 803: b'CBL_AND', 804: b'CBL_ARG_GET_INFO', 805: b'CBL_ASC_2_EBC', 806: b'CBL_AUDIT_CONFIG_PROPERTY_GET', 807: b'CBL_AUDIT_CONFIG_PROPERTY_SET', 808: b'CBL_AUDIT_EMITTER_PROPERTY_GET', 809: b'CBL_AUDIT_EMITTER_PROPERTY_SET', 810: b'CBL_AUDIT_EVENT', 811: b'CBL_AUDIT_FILE_CLOSE', 812: b'mF_rt_switches_addr', 837: b'CBL_AUDIT_FILE_OPEN', 838: b'CBL_AUDIT_FILE_READ', 839: b'CBL_AUDIT_HANDLE_GET', 840: b'CBL_CALL', 841: b'CBL_CANCEL', 842: b'CBL_CANCEL_PROC', 843: b'CBL_CES_GET_ERROR_MSG', 844: b'CBL_CES_GET_ERROR_MSG_LEN', 845: b'CBL_CES_GET_FEATURE_AVAILABILITY', 846: b'CBL_CES_GET_LICENSE', 847: b'CBL_CES_GET_LICENSE_SERIAL_NUMBER', 848: b'CBL_CES_GET_UPDATE_ALL_INTERVAL', 849: b'CBL_CES_RELEASE_LICENSE', 850: b'CBL_CES_SET_AUTOHANDLE_ERRORS', 851: b'CBL_CES_SET_AUTOHANDLE_TRIAL_WARNING', 852: b'CBL_CES_SET_CALLBACK', 853: b'CBL_CES_TRIAL_DAYS_LEFT', 854: b'CBL_CES_UPDATE_ALL', 855: b'CBL_CHANGE_DIR', 856: b'CBL_CHECK_FILE_EXIST', 857: b'CBL_CLASSIFY_DBCS_CHAR', 858: b'CBL_CLEAR_SCR', 859: b'CBL_CLOSE_FILE', 860: b'CBL_CLOSE_VFILE', 861: b'CBL_CMPNLS', 862: b'CBL_CMPTYP', 863: b'CBL_COPY_FILE', 864: b'CBL_COPY_VFILE', 865: b'CBL_CREATE_DIR', 866: b'CBL_CREATE_FILE', 867: b'CBL_CTF_COMP_PROPERTY_GET', 868: b'CBL_CTF_COMP_PROPERTY_SET', 869: b'CBL_CTF_DEST', 870: b'CBL_CTF_EMITTER', 871: b'CBL_CTF_EMITTER_PROPERTY_GET', 872: b'CBL_CTF_EMITTER_PROPERTY_SET', 873: b'CBL_CTF_LEVEL', 874: b'CBL_CTF_TRACE', 875: b'CBL_CTF_TRACER_GET', 876: b'CBL_CTF_TRACER_LEVEL_GET', 877: b'CBL_CTF_TRACER_NOTIFY', 878: b'CBL_CULL_RUN_UNITS', 879: b'CBL_DATA_CONTEXT_ATTACH', 880: b'CBL_DATA_CONTEXT_CREATE', 886: b'CBL_DATA_CONTEXT_DESTROY', 887: b'CBL_DATA_CONTEXT_DETACH', 891: b'CBL_DATA_CONTEXT_GET', 892: b'CBL_DATA_CONTEXT_SET', 893: b'CBL_DATETIME', 894: b'CBL_DBCS_ASC_2_EBC', 895: b'CBL_DBCS_EBC_2_ASC', 896: b'CBL_DBG_INIT', 897: b'CBL_DBG_ISDEBUGGED', 898: b'CBL_DBG_SENDNOTIF', 899: b'CBL_DEBUGBREAK', 900: b'CBL_DEBUG_START', 903: b'CBL_DEBUG_STOP', 904: b'CBL_DELETE_DIR', 905: b'CBL_DELETE_FILE', 906: b'CBL_DIR_SCAN_END', 907: b'CBL_DIR_SCAN_READ', 908: b'CBL_DIR_SCAN_START', 909: b'CBL_EBC_2_ASC', 910: b'CBL_EQ', 914: b'CBL_ERROR_API_REPORT', 915: b'CBL_ERROR_PROC', 916: b'CBL_EVENT_CLEAR', 917: b'CBL_EVENT_CLOSE', 918: b'CBL_EVENT_OPEN_INTRA', 919: b'CBL_EVENT_POST', 920: b'CBL_EVENT_WAIT', 921: b'CBL_EXEC_RUN_UNIT', 922: b'CBL_EXITPRC', 923: b'CBL_EXIT_PROC', 924: b'CBL_FFND_REPORT', 925: b'CBL_FHINIT', 926: b'CBL_FILENAME_CONVERT', 927: b'CBL_FILENAME_MAX_LENGTH', 928: b'CBL_FILE_ERROR', 929: b'CBL_FLUSH_FILE', 930: b'CBL_FN_ABS', 931: b'CBL_FN_ACOS', 932: b'CBL_FN_ANNUITY', 933: b'CBL_FN_ASIN', 952: b'CBL_FN_ATAN', 953: b'CBL_FN_CHAR', 954: b'CBL_FN_CHAR0NATIONAL', 955: b'CBL_FN_CHAR2', 956: b'CBL_FN_COS', 957: b'CBL_FN_CURRENT0DATE', 958: b'CBL_FN_DATE0OF0INTEGER', 959: b'CBL_FN_DATE0TO0YYYYMMDD', 960: b'CBL_FN_DAY0OF0INTEGER', 962: b'CBL_FN_DAY0TO0YYYYDDD', 963: b'CBL_FN_DISPLAY0OF', 964: b'CBL_FN_E', 968: b'mF_ld_load_ldnames_lock', 969: b'mF_ld_load_ldnames_unlock', 974: b'CBL_FN_EXP', 975: b'CBL_FN_EXP10', 976: b'CBL_FN_FACTORIAL', 977: b'CBL_FN_FRACTION0PART', 978: b'CBL_FN_INTEGER', 979: b'CBL_FN_INTEGER0OF0DATE', 980: b'CBL_FN_INTEGER0OF0DAY', 981: b'CBL_FN_INTEGER0PART', 982: b'CBL_FN_LOG', 983: b'CBL_FN_LOG10', 984: b'CBL_FN_LOWER0CASE', 985: b'CBL_FN_MAX', 986: b'CBL_FN_MEAN', 987: b'CBL_FN_MEDIAN', 988: b'CBL_FN_MIDRANGE', 989: b'CBL_FN_MIN', 990: b'CBL_FN_MOD', 991: b'CBL_FN_NATIONAL0OF', 992: b'CBL_FN_NUMVAL', 993: b'CBL_FN_NUMVAL0C', 994: b'CBL_FN_NUMVAL0C_IBM', 995: b'CBL_FN_NUMVAL0F', 996: b'CBL_FN_NUMVAL0G', 997: b'CBL_FN_NUMVAL_IBM', 998: b'CBL_FN_ORD', 999: b'CBL_FN_ORD0MAX', 1000: b'CBL_FN_ORD0MIN', 1001: b'_mF0101', 1002: b'_mF0102', 1003: b'_mF0103', 1004: b'_mF0104', 1005: b'_mF0105', 1006: b'_mF0106', 1007: b'_mF0202', 1008: b'_mF0203', 1009: b'_mF0301', 1010: b'_mF0302', 1011: b'_mF0303', 1012: b'_mF0401', 1013: b'_mF0402', 1014: b'_mF0403', 1015: b'_mF0601', 1016: b'_mF0602', 1017: b'_mF0603', 1018: b'_mF0604', 1019: b'_mF0605', 1020: b'_mF0608', 1021: b'_mF0701', 1022: b'_mF0702', 1023: b'_mF0703', 1024: b'_mF0705', 1025: b'_mF0801', 1026: b'_mF0802', 1027: b'_mF0803', 1028: b'_mF0805', 1029: b'_mF1001', 1030: b'_mF1002', 1031: b'_mF1003', 1032: b'_mF1101', 1033: b'_mF1102', 1034: b'_mF1201', 1035: b'_mF1202', 1036: b'_mF1301', 1037: b'_mF1302', 1038: b'_mF1303', 1039: b'_mF1401', 1040: b'_mF1402', 1041: b'_mF1403', 1042: b'_mF1501', 1043: b'_mF1502', 1044: b'_mF1503', 1045: b'_mF1602', 1046: b'_mF1603', 1047: b'_mF1701', 1048: b'_mF1702', 1049: b'_mF1801', 1050: b'_mF1802', 1051: b'_mF1901', 1052: b'_mF1902', 1053: b'_mF1903', 1054: b'_mF2001', 1055: b'_mF2002', 1056: b'_mF2003', 1057: b'_mF2101', 1058: b'_mF2102', 1059: b'_mF2103', 1060: b'_mF2201', 1061: b'_mF2202', 1062: b'_mF2205', 1063: b'_mF2206', 1064: b'_mF2302', 1065: b'_mF2306', 1066: b'_mF2401', 1067: b'_mF2402', 1068: b'_mF2405', 1069: b'_mF2406', 1070: b'_mF2501', 1071: b'_mF2502', 1072: b'_mF2509', 1073: b'_mF2510', 1074: b'_mF2601', 1075: b'_mF2602', 1076: b'_mF2603', 1077: b'_mF2609', 1078: b'_mF2610', 1079: b'_mF2611', 1080: b'_mF2701', 1081: b'_mF2702', 1082: b'_mF2703', 1083: b'_mF2704', 1084: b'_mF2705', 1085: b'_mF2706', 1086: b'_mF2709', 1087: b'_mF2710', 1088: b'_mF2711', 1089: b'_mF2712', 1090: b'_mF2713', 1091: b'_mF2714', 1092: b'_mF2801', 1093: b'_mF2802', 1094: b'_mF2901', 1095: b'_mF2902', 1096: b'_mF2903', 1097: b'_mF2904', 1098: b'_mF2905', 1099: b'_mF2906', 1100: b'_mF2907', 1101: b'_mF2908', 1102: b'_mF2909', 1103: b'_mF2910', 1104: b'_mF2911', 1105: b'_mF2912', 1106: b'_mF3001', 1107: b'_mF3002', 1108: b'_mF3003', 1109: b'_mF3004', 1110: b'_mF3005', 1111: b'_mF3102', 1112: b'_mF3104', 1113: b'_mF3201', 1114: b'_mF3203', 1115: b'_mF3301', 1116: b'_mF3302', 1117: b'_mF3303', 1118: b'_mF3304', 1119: b'_mF3305', 1120: b'_mF3306', 1121: b'_mF3307', 1122: b'_mF3308', 1123: b'_mF3309', 1124: b'_mF3310', 1125: b'_mF3311', 1126: b'_mF3312', 1127: b'_mF3313', 1128: b'_mF3314', 1129: b'_mF3315', 1130: b'_mF3316', 1131: b'_mF3317', 1132: b'_mF3318', 1133: b'_mF3319', 1134: b'_mF3320', 1135: b'_mF3321', 1136: b'_mF3322', 1137: b'_mF3323', 1138: b'_mF3324', 1139: b'_mF3325', 1140: b'_mF3326', 1141: b'_mF3327', 1142: b'_mF3328', 1143: b'_mF3329', 1144: b'_mF3330', 1145: b'_mF3331', 1146: b'_mF3332', 1147: b'_mF3333', 1148: b'_mF3334', 1149: b'_mF3335', 1150: b'_mF3336', 1151: b'_mF3337', 1152: b'_mF3338', 1153: b'_mF3339', 1154: b'_mF3340', 1155: b'_mF3341', 1156: b'_mF3342', 1157: b'_mF3343', 1158: b'_mF3347', 1159: b'_mF3348', 1160: b'_mF3349', 1161: b'_mF3350', 1162: b'_mF3351', 1163: b'_mF3352', 1164: b'_mF3353', 1165: b'_mF3354', 1166: b'_mF3355', 1167: b'_mF3356', 1168: b'_mF3358', 1169: b'_mF3359', 1170: b'_mF3403', 1171: b'_mF3404', 1172: b'_mF3407', 1173: b'_mF3408', 1174: b'_mF3413', 1175: b'_mF3414', 1176: b'_mF3417', 1177: b'_mF3418', 1178: b'_mF3423', 1179: b'_mF3424', 1180: b'_mF3427', 1181: b'_mF3428', 1182: b'_mF3433', 1183: b'_mF3434', 1184: b'_mF3437', 1185: b'_mF3438', 1186: b'_mF3501', 1187: b'_mF3502', 1188: b'_mF3503', 1189: b'_mF3504', 1190: b'_mF3511', 1191: b'_mF3512', 1192: b'_mF3513', 1193: b'_mF3514', 1194: b'_mF3521', 1195: b'_mF3522', 1196: b'_mF3523', 1197: b'_mF3524', 1198: b'_mF3531', 1199: b'_mF3532', 1200: b'_mF3533', 1201: b'_mF3534', 1202: b'_mF3535', 1203: b'_mF3536', 1204: b'_mF3537', 1205: b'_mF3538', 1206: b'_mF3601', 1207: b'_mF3602', 1208: b'_mF3603', 1209: b'_mF3604', 1210: b'_mF3611', 1211: b'_mF3612', 1212: b'_mF3613', 1213: b'_mF3614', 1214: b'_mF3621', 1215: b'_mF3622', 1216: b'_mF3623', 1217: b'_mF3624', 1218: b'_mF3631', 1219: b'_mF3632', 1220: b'_mF3633', 1221: b'_mF3634', 1222: b'_mF3701', 1223: b'_mF3702', 1224: b'_mF3705', 1225: b'_mF3706', 1226: b'_mF3711', 1227: b'_mF3712', 1228: b'_mF3715', 1229: b'_mF3716', 1230: b'_mF3721', 1231: b'_mF3722', 1232: b'_mF3725', 1233: b'_mF3726', 1234: b'_mF3731', 1235: b'_mF3732', 1236: b'_mF3733', 1237: b'_mF3734', 1238: b'_mF3735', 1239: b'_mF3736', 1240: b'_mF3801', 1241: b'_mF3802', 1242: b'_mF3803', 1243: b'_mF3804', 1244: b'_mF3811', 1245: b'_mF3812', 1246: b'_mF3813', 1247: b'_mF3814', 1248: b'_mF3831', 1249: b'_mF3832', 1250: b'_mF3833', 1251: b'_mF3834', 1252: b'_mF3835', 1253: b'_mF3836', 1254: b'_mF3837', 1255: b'_mF3838', 1256: b'_mF3901', 1257: b'_mF3902', 1258: b'_mF3903', 1259: b'_mF3905', 1260: b'_mF3910', 1261: b'_mF3911', 1262: b'_mF4001', 1263: b'_mF4002', 1264: b'_mF4101', 1265: b'_mF4102', 1266: b'_mF4103', 1267: b'_mF4104', 1268: b'_mF4201', 1269: b'_mF4202', 1270: b'_mF4301', 1271: b'_mF4302', 1272: b'CBL_FN_PI', 1273: b'_mF4406', 1274: b'_mF4407', 1275: b'_mF4501', 1276: b'_mF4601', 1277: b'_mF4602', 1278: b'_mF4603', 1279: b'_mF4604', 1280: b'_mF4701', 1281: b'CBL_FN_PRESENT0VALUE', 1282: b'_mF4703', 1283: b'_mF4801', 1284: b'_mF4802', 1285: b'_mF4803', 1286: b'_mF4804', 1287: b'_mF4901', 1288: b'_mF4902', 1289: b'_mF4903', 1290: b'_mF4904', 1291: b'_mF5101', 1292: b'_mF5102', 1293: b'_mF5103', 1294: b'_mF5104', 1295: b'_mF5105', 1296: b'_mF5106', 1297: b'_mF5107', 1298: b'_mF5108', 1299: b'_mF5109', 1300: b'_mF5110', 1301: b'_mF5111', 1302: b'_mF5112', 1303: b'_mF5113', 1304: b'_mF5114', 1305: b'_mF5115', 1306: b'_mF5116', 1307: b'_mF5117', 1308: b'_mF5118', 1309: b'_mF5119', 1310: b'_mF5120', 1311: b'_mF5121', 1312: b'_mF5122', 1313: b'_mF5123', 1314: b'_mF5124', 1315: b'_mF5125', 1316: b'_mF5126', 1317: b'_mF5127', 1318: b'_mF5201', 1319: b'_mF5202', 1320: b'_mF5203', 1321: b'_mF5204', 1322: b'_mF5205', 1323: b'_mF5206', 1324: b'_mF5207', 1325: b'_mF5208', 1326: b'_mF5209', 1327: b'_mF5210', 1328: b'_mF5211', 1329: b'_mF5212', 1330: b'_mF5213', 1331: b'_mF5214', 1332: b'_mF5215', 1333: b'_mF5216', 1334: b'_mF5217', 1335: b'_mF5218', 1336: b'_mF5219', 1337: b'_mF5220', 1338: b'_mF5221', 1339: b'_mF5222', 1340: b'_mF5223', 1341: b'_mF5224', 1342: b'_mF5225', 1343: b'_mF5232', 1344: b'_mF5233', 1345: b'_mF5234', 1346: b'_mF5235', 1347: b'_mF5236', 1348: b'_mF5237', 1349: b'_mF5238', 1350: b'_mF5239', 1351: b'_mF5240', 1352: b'_mF5241', 1353: b'_mF5302', 1354: b'_mF5304', 1355: b'_mF5307', 1356: b'_mF5309', 1357: b'_mF5312', 1358: b'_mF5314', 1359: b'_mF5318', 1360: b'_mF5319', 1361: b'_mF5322', 1362: b'_mF5323', 1363: b'_mF5401', 1364: b'_mF5402', 1365: b'_mF5403', 1366: b'_mF5404', 1367: b'_mF5405', 1368: b'_mF5406', 1369: b'_mF5407', 1370: b'_mF5501', 1371: b'_mF5502', 1372: b'_mF5503', 1373: b'_mF5504', 1374: b'_mF5601', 1375: b'_mF5602', 1376: b'_mF5603', 1377: b'_mF5604', 1378: b'_mF5605', 1379: b'_mF5606', 1380: b'_mF5607', 1381: b'_mF5608', 1382: b'_mF5609', 1383: b'_mF5610', 1384: b'_mF5611', 1385: b'_mF5612', 1386: b'_mF5613', 1387: b'_mF5614', 1388: b'_mF5615', 1389: b'_mF5616', 1390: b'_mF5617', 1391: b'_mF5618', 1392: b'_mF5619', 1393: b'_mF5620', 1394: b'_mF5621', 1395: b'_mF5622', 1396: b'_mF5623', 1397: b'_mF5624', 1398: b'_mF5625', 1399: b'_mF5632', 1400: b'_mF5633', 1401: b'_mF5634', 1402: b'_mF5635', 1403: b'_mF5636', 1404: b'_mF5637', 1405: b'_mF5638', 1406: b'_mF5639', 1407: b'_mF5640', 1408: b'_mF5641', 1409: b'_mF5702', 1410: b'_mF5704', 1411: b'_mF5707', 1412: b'_mF5709', 1413: b'_mF5712', 1414: b'_mF5714', 1415: b'_mF5718', 1416: b'_mF5719', 1417: b'_mF5722', 1418: b'_mF5723', 1419: b'_mF5801', 1420: b'_mF5802', 1421: b'_mF5803', 1422: b'_mF5804', 1423: b'_mF5805', 1424: b'_mF5806', 1425: b'_mF5807', 1426: b'_mF5808', 1427: b'_mF5809', 1428: b'_mF5810', 1429: b'_mF5811', 1430: b'_mF5812', 1431: b'_mF5901', 1432: b'_mF5902', 1433: b'_mF5903', 1434: b'_mF5904', 1435: b'CBL_FN_RANDOM', 1436: b'CBL_FN_RANGE', 1437: b'CBL_FN_REM', 1438: b'CBL_FN_REVERSE', 1439: b'CBL_FN_REVERSE_DBCS', 1440: b'CBL_FN_SIGN', 1441: b'CBL_FN_SIN', 1442: b'CBL_FN_SQRT', 1443: b'CBL_FN_STANDARD0DEVIATION', 1444: b'CBL_FN_SUM', 1445: b'_mF6201', 1446: b'_mF6202', 1447: b'_mF6203', 1448: b'_mF6304', 1449: b'_mF6305', 1450: b'_mF6306', 1451: b'_mF6307', 1452: b'_mF6308', 1453: b'_mF6309', 1454: b'_mF6310', 1455: b'_mF6311', 1456: b'_mF6312', 1457: b'_mF6313', 1458: b'_mF6314', 1459: b'_mF6315', 1460: b'_mF6501', 1461: b'_mF6601', 1462: b'_mF6602', 1463: b'_mF6801', 1464: b'_mF6802', 1465: b'_mF6803', 1466: b'_mF6804', 1467: b'_mF6903', 1468: b'_mF6904', 1469: b'_mF6905', 1470: b'_mF6906', 1471: b'_mF7001', 1472: b'_mF7002', 1473: b'_mF7003', 1474: b'_mF7004', 1475: b'_mF7801', 1476: b'_mF7802', 1477: b'_mF7803', 1478: b'_mF7804', 1479: b'_mF7805', 1480: b'_mF7806', 1481: b'_mF7807', 1482: b'_mF7808', 1483: b'_mF7810', 1484: b'_mF7811', 1485: b'_mF7812', 1486: b'_mF7813', 1487: b'_mF7821', 1488: b'_mF7822', 1489: b'_mF7823', 1490: b'_mF7824', 1491: b'_mF7825', 1492: b'_mF7826', 1493: b'_mF7830', 1494: b'_mF7831', 1495: b'_mF7832', 1496: b'_mF7833', 1497: b'_mF7901', 1498: b'_mF7902', 1499: b'_mF7903', 1500: b'_mF7904', 1501: b'_mF7905', 1502: b'_mF7906', 1503: b'_mF7907', 1504: b'_mF7908', 1505: b'_mF7910', 1506: b'_mF7911', 1507: b'_mF7912', 1508: b'_mF7913', 1509: b'_mF7921', 1510: b'_mF7922', 1511: b'_mF7923', 1512: b'_mF7924', 1513: b'_mF7925', 1514: b'_mF7926', 1515: b'CBL_FN_TAN', 1516: b'_mF7928', 1517: b'_mF7930', 1518: b'_mF7931', 1519: b'_mF7932', 1520: b'_mF7933', 1521: b'_mF8001', 1522: b'_mF8002', 1523: b'_mF8003', 1524: b'_mF8004', 1525: b'_mF8005', 1526: b'_mF8006', 1527: b'_mF8007', 1528: b'_mF8008', 1529: b'_mF8010', 1530: b'_mF8011', 1531: b'_mF8012', 1532: b'_mF8013', 1533: b'_mF8101', 1534: b'_mF8102', 1535: b'_mF8103', 1536: b'_mF8104', 1537: b'_mF8105', 1538: b'_mF8106', 1539: b'_mF8107', 1540: b'_mF8108', 1541: b'_mF8110', 1542: b'_mF8111', 1543: b'_mF8112', 1544: b'_mF8113', 1545: b'_mF8301', 1546: b'_mF8302', 1547: b'_mF8303', 1548: b'_mF8304', 1549: b'_mF8401', 1550: b'_mF8402', 1551: b'_mF8403', 1552: b'_mF8404', 1553: b'_mF8405', 1554: b'_mF8406', 1555: b'_mF8501', 1556: b'_mF8502', 1557: b'_mF8503', 1558: b'_mF8601', 1559: b'_mF8602', 1560: b'CBL_FN_TEST0DATE0YYYYMMDD', 1561: b'CBL_FN_TEST0DAY0YYYYDDD', 1562: b'CBL_FN_TEST0NUMVAL', 1563: b'_mFa101', 1564: b'_mFa102', 1565: b'_mFa103', 1566: b'_mFa104', 1567: b'_mFa105', 1568: b'_mFa106', 1569: b'_mFa107', 1570: b'_mFa108', 1571: b'_mFa201', 1572: b'_mFa202', 1573: b'_mFa301', 1574: b'_mFa302', 1575: b'_mFa303', 1576: b'_mFa304', 1577: b'_mFa305', 1578: b'_mFa401', 1579: b'_mFa402', 1580: b'_mFa403', 1581: b'_mFa404', 1582: b'_mFa405', 1583: b'_mFa501', 1584: b'_mFa502', 1585: b'_mFa601', 1586: b'_mFa602', 1587: b'_mFa603', 1588: b'_mFa604', 1589: b'_mFa605', 1590: b'_mFa606', 1591: b'_mFa701', 1592: b'_mFa702', 1593: b'_mFa801', 1594: b'_mFa802', 1595: b'_mFa803', 1596: b'_mFa804', 1597: b'_mFa901', 1598: b'_mFa902', 1599: b'_mFb001', 1600: b'_mFb002', 1601: b'_mFb101', 1602: b'_mFb102', 1603: b'_mF4503', 1604: b'_mF4505', 1605: b'_mF5408', 1606: b'_mF5409', 1607: b'_mF5410', 1608: b'_mF5411', 1609: b'_mF5412', 1610: b'CBL_FN_TEST0NUMVAL0C', 1611: b'_mF8416', 1612: b'_mF8417', 1613: b'CBL_FN_TEST0NUMVAL0F', 1614: b'CBL_FN_TEST0NUMVAL0G', 1615: b'CBL_FN_UPPER0CASE', 1616: b'CBL_FN_VARIANCE', 1617: b'CBL_FN_YEAR0TO0YYYY', 1618: b'CBL_FREE_DYN_MEM', 1619: b'CBL_FREE_LOCK', 1620: b'CBL_FREE_MEM', 1621: b'CBL_FREE_RECORD_LOCK', 1622: b'CBL_FREE_SEMAPHORE', 1623: b'CBL_FREE_SHMEM', 1624: b'CBL_FREE_THREAD_MEM', 1625: b'CBL_GET_A2E_TABLE', 1626: b'CBL_GET_COBOL_SWITCH', 1627: b'CBL_GET_CSR_POS', 1628: b'CBL_GET_CURRENT_DIR', 1629: b'CBL_GET_DATETIME', 1630: b'CBL_GET_E2A_TABLE', 1631: b'CBL_GET_EXIT_INFO', 1632: b'CBL_GET_FILE_INFO', 1633: b'CBL_GET_FILE_SYSTEM_INFO', 1634: b'CBL_GET_INSTALL_DIR', 1635: b'CBL_GET_INSTALL_VER', 1636: b'CBL_GET_KBD_STATUS', 1637: b'CBL_GET_LOCK', 1638: b'CBL_GET_MOUSE_MASK', 1639: b'CBL_GET_MOUSE_POSITION', 1640: b'CBL_GET_MOUSE_STATUS', 1641: b'CBL_GET_OS_INFO', 1642: b'CBL_GET_PROGRAM_INFO', 1643: b'CBL_GET_RECORD_LOCK', 1644: b'CBL_GET_SCR_DRAW_CHARS', 1645: b'CBL_GET_SCR_GRAPHICS', 1646: b'CBL_GET_SCR_LINE_DRAW', 1647: b'CBL_GET_SCR_SIZE', 1648: b'CBL_GET_SHMEM_PTR', 1649: b'CBL_HIDE_MOUSE', 1650: b'_mF7809', 1651: b'_mF7909', 1652: b'_mF8009', 1653: b'_mF8109', 1654: b'CBL_IMP', 1655: b'CBL_INIT_MOUSE', 1656: b'CBL_JOIN_FILENAME', 1657: b'CBL_LCKFILE', 1658: b'CBL_LOCATE_FILE', 1659: b'CBL_MBCS_CHAR_LEN', 1660: b'CBL_MEMCK', 1661: b'CBL_MEM_STRATEGY', 1662: b'CBL_MEM_VALIDATE', 1663: b'CBL_MFIO', 1664: b'CBL_MF_DEREGISTER_MEM', 1665: b'CBL_MF_GET_AMODE', 1666: b'CBL_MF_GET_SIZE', 1667: b'CBL_MF_LINEAR_TO_NATIVE', 1668: b'CBL_MF_MF_TO_NATIVE', 1669: b'CBL_MF_NATIVE_TO_LINEAR', 1670: b'CBL_MF_NATIVE_TO_MF', 1671: b'CBL_MF_REGISTER_MEM', 1672: b'CBL_MF_SET_AMODE', 1673: b'CBL_MONITOR_BROWSE', 1674: b'CBL_MONITOR_BROWSE_TO_READ', 1675: b'CBL_MONITOR_BROWSE_TO_WRITE', 1676: b'CBL_MONITOR_CLOSE', 1677: b'CBL_MONITOR_OPEN_INTRA', 1678: b'CBL_MONITOR_READ', 1679: b'CBL_MONITOR_RELEASE', 1680: b'CBL_MONITOR_UNBROWSE', 1681: b'CBL_MONITOR_UNREAD', 1682: b'CBL_MONITOR_UNWRITE', 1683: b'CBL_MONITOR_WRITE', 1684: b'CBL_MONITOR_WRITE_TO_BROWSE', 1685: b'CBL_MUTEX_ACQUIRE', 1686: b'CBL_MUTEX_CLOSE', 1687: b'CBL_MUTEX_OPEN_INTRA', 1688: b'CBL_MUTEX_RELEASE', 1689: b'CBL_NLS_CLOSE_MSG_FILE', 1690: b'CBL_NLS_COMPARE', 1691: b'CBL_NLS_GET_MSG', 1692: b'CBL_NLS_INFO', 1693: b'CBL_NLS_OPEN_MSG_FILE', 1694: b'CBL_NLS_READ_MSG', 1695: b'CBL_NLS_TRANSFORM', 1696: b'CBL_NOT', 1697: b'CBL_OPEN_FILE', 1698: b'CBL_OPEN_VFILE', 1699: b'CBL_OR', 1700: b'_mF0501', 1701: b'_mF0901', 1702: b'_mF0902', 1703: b'_mF0905', 1704: b'_mF0908', 1705: b'_mF5001', 1706: b'_mF5002', 1707: b'_mF5005', 1708: b'_mF5006', 1709: b'_mF8201', 1710: b'_mFb201', 1711: b'_mFb202', 1712: b'_mFb203', 1713: b'_mFb205', 1714: b'_mFb206', 1715: b'_mFb207', 1716: b'_mFb209', 1717: b'_mFb210', 1718: b'_mFb211', 1719: b'_mFb213', 1720: b'_mFb214', 1721: b'_mFb215', 1722: b'_mFb217', 1723: b'_mFb218', 1724: b'_mFb221', 1725: b'_mFb222', 1726: b'_mFb223', 1727: b'_mFb225', 1728: b'_mFb226', 1729: b'_mFb227', 1730: b'_mFb240', 1731: b'_mFb241', 1732: b'_mFb242', 1733: b'_mFb243', 1734: b'CBL_PROF', 1735: b'CBL_PROGRAM_DIR_SEARCH_GET', 1736: b'CBL_PROGRAM_DIR_SEARCH_SET', 1737: b'CBL_PURE_DBCS_ASC_2_EBC', 1738: b'CBL_PURE_DBCS_EBC_2_ASC', 1739: b'CBL_PUT_SHMEM_PTR', 1740: b'CBL_READ_DIR', 1741: b'CBL_READ_FILE', 1742: b'CBL_READ_KBD_CHAR', 1743: b'CBL_READ_MOUSE_EVENT', 1744: b'CBL_READ_SCR_ATTRS', 1745: b'CBL_READ_SCR_CHARS', 1746: b'CBL_READ_SCR_CHATTRS', 1747: b'CBL_READ_VFILE', 1748: b'CBL_REF_EXT_DATA', 1749: b'CBL_RELSEMA', 1750: b'_mF0305', 1751: b'_mF0306', 1752: b'_mF8413', 1753: b'_mF8414', 1754: b'_mF8415', 1755: b'_mF0107', 1756: b'_mF0108', 1757: b'_mF0109', 1758: b'_mF0110', 1759: b'_mF0111', 1760: b'_mF0112', 1761: b'_mF0113', 1762: b'_mF0307', 1763: b'_mF8407', 1764: b'_mF8408', 1765: b'_mF8409', 1766: b'_mF8410', 1767: b'_mF8411', 1768: b'_mF8412', 1769: b'_mF0208', 1770: b'_mF0209', 1771: b'_mF0609', 1772: b'_mF4905', 1773: b'_mF7704', 1774: b'_mF7705', 1775: b'CBL_RENAME_FILE', 1776: b'CBL_RESNAME', 1777: b'CBL_SCR_ALLOCATE_ATTR', 1778: b'CBL_SCR_ALLOCATE_COLOR', 1779: b'CBL_SCR_ALLOCATE_VC_COLOR', 1780: b'CBL_SCR_CONTEXT_ATTACH', 1781: b'CBL_SCR_CONTEXT_CREATE', 1782: b'CBL_SCR_CONTEXT_DESTROY', 1783: b'CBL_SCR_CONTEXT_DETACH', 1784: b'CBL_SCR_CONTEXT_GET', 1785: b'CBL_SCR_CREATE_VC', 1786: b'CBL_SCR_DESTROY_VC', 1787: b'CBL_SCR_FREE_ATTR', 1788: b'CBL_SCR_FREE_ATTRS', 1789: b'CBL_SCR_GET_ATTRIBUTES', 1790: b'CBL_SCR_GET_ATTR_DETAILS', 1791: b'CBL_SCR_GET_ATTR_INFO', 1792: b'CBL_SCR_NAME_TO_RGB', 1793: b'CBL_SCR_QUERY_COLORMAP', 1794: b'CBL_SCR_RESTORE', 1795: b'CBL_SCR_RESTORE_ATTRIBUTES', 1796: b'CBL_SCR_SAVE', 1797: b'CBL_SCR_SAVE_ATTRIBUTES', 1798: b'CBL_SCR_SET_ATTRIBUTES', 1799: b'CBL_SCR_SET_PC_ATTRIBUTES', 1800: b'_mF7601', 1801: b'_mF7602', 1802: b'_mF7603', 1803: b'CBL_SEMAPHORE_ACQUIRE', 1804: b'_mF7701', 1805: b'_mF7702', 1806: b'_mF7703', 1807: b'CBL_SEMAPHORE_CLOSE', 1808: b'_mF7828', 1809: b'_mF0610', 1810: b'_mF0611', 1811: b'_mF0631', 1812: b'_mF3635', 1813: b'_mF3636', 1814: b'_mF3637', 1815: b'_mF3638', 1816: b'_mF0304', 1817: b'CBL_SEMAPHORE_OPEN_INTRA', 1818: b'CBL_SEMAPHORE_RELEASE', 1819: b'CBL_SETSEMA', 1820: b'CBL_SET_COBOL_SWITCH', 1821: b'CBL_SET_CSR_POS', 1822: b'CBL_SET_DATETIME', 1823: b'CBL_SET_MOUSE_MASK', 1824: b'CBL_SET_MOUSE_POSITION', 1825: b'CBL_SET_SEMAPHORE', 1826: b'CBL_SHIFT_LEFT', 1827: b'_tMc35a0', 1828: b'CBL_SHIFT_RIGHT', 1829: b'CBL_SHOW_MOUSE', 1830: b'_tMc0106', 1831: b'_tMc0401', 1832: b'_tMc0402', 1833: b'_tMc0403', 1834: b'_tMc0501', 1835: b'_tMc0601', 1836: b'_tMc0602', 1837: b'_tMc0603', 1838: b'_tMc0604', 1839: b'_tMc0605', 1840: b'_tMc0608', 1841: b'_tMc0701', 1842: b'_tMc0702', 1843: b'_tMc0703', 1844: b'_tMc0705', 1845: b'_tMc0801', 1846: b'_tMc0802', 1847: b'_tMc0803', 1848: b'_tMc0805', 1849: b'_tMc0901', 1850: b'_tMc0902', 1851: b'_tMc0905', 1852: b'_tMc0908', 1853: b'_tMc1002', 1854: b'_tMc1102', 1855: b'_tMc1302', 1856: b'_tMc1402', 1857: b'_tMc2201', 1858: b'_tMc2205', 1859: b'_tMc3312', 1860: b'_tMc3314', 1861: b'_tMc3316', 1862: b'_tMc3318', 1863: b'_tMc3320', 1864: b'_tMc3332', 1865: b'_tMc3334', 1866: b'_tMc3336', 1867: b'_tMc3338', 1868: b'_tMc3340', 1869: b'_tMc3343', 1870: b'_tMc3348', 1871: b'_tMc3350', 1872: b'_tMc3352', 1873: b'_tMc3354', 1874: b'_tMc3356', 1875: b'_tMc3359', 1876: b'_tMc3512', 1877: b'_tMc3514', 1878: b'_tMc3532', 1879: b'_tMc3534', 1880: b'_tMc3536', 1881: b'_tMc3538', 1882: b'_tMc3612', 1883: b'_tMc3614', 1884: b'_tMc3634', 1885: b'_tMc3712', 1886: b'_tMc3716', 1887: b'_tMc3732', 1888: b'_tMc3734', 1889: b'_tMc3736', 1890: b'_tMc3902', 1891: b'_tMc3903', 1892: b'_tMc3905', 1893: b'_tMc4002', 1894: b'_tMc4102', 1895: b'_tMc4104', 1896: b'_tMc4202', 1897: b'_tMc4302', 1898: b'_tMc4405', 1899: b'_tMc4406', 1900: b'_tMc4501', 1901: b'_tMc4602', 1902: b'_tMc4604', 1903: b'_tMc4701', 1904: b'_tMc4703', 1905: b'_tMc4802', 1906: b'_tMc4804', 1907: b'_tMc4901', 1908: b'_tMc4902', 1909: b'_tMc4903', 1910: b'_tMc4904', 1911: b'_tMc5001', 1912: b'_tMc5002', 1913: b'_tMc5005', 1914: b'_tMc5006', 1915: b'_tMc6001', 1916: b'_tMc6009', 1917: b'_tMc6013', 1918: b'_tMc6501', 1919: b'_tMc6601', 1920: b'_tMc7001', 1921: b'_tMc7002', 1922: b'_tMc7003', 1923: b'_tMc7004', 1924: b'_tMc7601', 1925: b'_tMc7602', 1926: b'_tMc7603', 1927: b'_tMc7701', 1928: b'_tMc7702', 1929: b'_tMc7703', 1930: b'_tMc8201', 1931: b'_tMc8302', 1932: b'_tMc8304', 1933: b'_tMc8406', 1934: b'_tMc8501', 1935: b'_tMc8502', 1936: b'_tMc8503', 1937: b'_tMca301', 1938: b'_tMca302', 1939: b'_tMca303', 1940: b'_tMca304', 1941: b'_tMca401', 1942: b'_tMca402', 1943: b'_tMca403', 1944: b'_tMca404', 1945: b'_tMca501', 1946: b'_tMca502', 1947: b'_tMca601', 1948: b'_tMca603', 1949: b'_tMca604', 1950: b'_tMca606', 1951: b'_tMca701', 1952: b'_tMca702', 1953: b'_tMca801', 1954: b'_tMca802', 1955: b'_tMca803', 1956: b'_tMca804', 1957: b'_tMca901', 1958: b'_tMcb001', 1959: b'_tMcb101', 1960: b'_tMcb102', 1961: b'_tMcb201', 1962: b'_tMcb202', 1963: b'_tMcb203', 1964: b'_tMcb205', 1965: b'_tMcb206', 1966: b'_tMcb207', 1967: b'_tMcb209', 1968: b'_tMcb210', 1969: b'_tMcb211', 1970: b'_tMcb213', 1971: b'_tMcb214', 1972: b'_tMcb215', 1973: b'_tMcb217', 1974: b'_tMcb218', 1975: b'_tMcb221', 1976: b'_tMcb222', 1977: b'_tMcb223', 1978: b'_tMcb225', 1979: b'_tMcb226', 1980: b'_tMcb227', 1981: b'_tMcb240', 1982: b'_tMcb241', 1983: b'_tMcb242', 1984: b'_tMcb243', 1985: b'_tMc0609', 1986: b'_tMc4905', 1987: b'_tMc7704', 1988: b'_tMc7705', 1989: b'_tMc4505', 1990: b'CBL_SPLIT_FILENAME', 1991: b'CBL_SRV_SERVICE_FLAGS_GET', 1992: b'CBL_SRV_SERVICE_FLAGS_SET', 1993: b'CBL_STREAM_CLOSE', 1994: b'CBL_STREAM_OPEN', 1995: b'CBL_STREAM_READ', 1996: b'CBL_STREAM_WRITE', 1997: b'CBL_STRING_CONVERT', 1998: b'CBL_SUBSYSTEM', 1999: b'CBL_SWAP_SCR_CHATTRS', 2000: b'CBL_TERM_MOUSE', 2006: b'mF_ld_dynlnk_lib_check', 2007: b'mF_ld_dynlnk_lib_term', 2022: b'mF_MFid', 2038: b'mF_ld_dynlnk_lib_init', 2040: b'mF_ld_dynlnk_lib_deinit', 2050: b'CBL_TEST_LOCK', 2059: b'CBL_TEST_RECORD_LOCK', 2061: b'mF_ld_dynlnk_check_active', 2062: b'mF_db_cf_date', 2063: b'mFt_rt_savarea_ldhdr_find', 2064: b'mFt_rt_savarea_step_p', 2065: b'mFt_ld_tab_atomic_end', 2066: b'mFt_ld_tab_atomic_start', 2067: b'mFt_rt_switch_register', 2068: b'mFt_rt_switch_deregister', 2079: b'CBL_THREAD_CLEARC', 2081: b'CBL_THREAD_CREATE', 2085: b'CBL_THREAD_CREATE_P', 2086: b'CBL_THREAD_DETACH', 2088: b'CBL_THREAD_EXIT', 2093: b'CBL_THREAD_IDDATA_ALLOC', 2094: b'CBL_THREAD_IDDATA_GET', 2099: b'CBL_THREAD_KILL', 2100: b'CBL_THREAD_LIST_END', 2101: b'CBL_THREAD_LIST_NEXT', 2102: b'CBL_THREAD_LIST_START', 2105: b'CBL_THREAD_LOCK', 2119: b'CBL_THREAD_PROG_LOCK', 2145: b'CBL_THREAD_PROG_UNLOCK', 2148: b'CBL_THREAD_RESUME', 2157: b'CBL_THREAD_SELF', 2161: b'CBL_THREAD_SETC', 2168: b'CBL_THREAD_SLEEP', 2169: b'CBL_THREAD_SUSPEND', 2170: b'CBL_THREAD_TESTC', 2179: b'CBL_THREAD_UNLOCK', 2200: b'CBL_THREAD_WAIT', 2201: b'CBL_THREAD_YIELD', 2202: b'CBL_TOLOWER', 2203: b'CBL_TOUPPER', 2204: b'CBL_TSTORE_CLOSE', 2205: b'CBL_TSTORE_CREATE', 2206: b'CBL_TSTORE_GET', 2207: b'CBL_UNLFILE', 2208: b'CBL_UNLOCK', 2209: b'CBL_UPDATE_INSTALL_INFO', 2210: b'CBL_VALIDATE_DBCS_STR', 2211: b'CBL_WRITE_FILE', 2212: b'CBL_WRITE_SCR_ATTRS', 2213: b'CBL_WRITE_SCR_CHARS', 2214: b'CBL_WRITE_SCR_CHARS_ATTR', 2215: b'CBL_WRITE_SCR_CHATTRS', 2216: b'CBL_WRITE_SCR_N_ATTR', 2217: b'CBL_WRITE_SCR_N_CHAR', 2218: b'CBL_WRITE_SCR_N_CHATTR', 2219: b'CBL_WRITE_SCR_TTY', 2220: b'CBL_WRITE_VFILE', 2221: b'CBL_XMLIO', 2222: b'CBL_XMLIO_INTERFACE', 2223: b'CBL_XMLPARSE_EXCEPTION', 2224: b'CBL_XMLPARSE_INTERFACE', 2225: b'CBL_XMLP_CLOSE', 2226: b'CBL_XMLP_INIT', 2227: b'CBL_XMLP_NEXTEVENT', 2228: b'CBL_XOR', 2229: b'CBL_YIELD_RUN_UNIT', 2230: b'CICS', 2231: b'COBENTMP', 2232: b'DELETE', 2233: b'DWGetFlags', 2234: b'DWGetTitle', 2235: b'DWMsgBox', 2236: b'DWSetFlags', 2237: b'DWSetFocus', 2238: b'DWSetTitle', 2239: b'DWShow', 2240: b'DWVioGetMode', 2241: b'DWVioSetMode', 2242: b'EXTERNL', 2243: b'EXTFH', 2244: b'HEX2ASCII', 2245: b'JNI_COB_TIDY', 2246: b'JNI_COB_WAIT', 2247: b'_Java_com_microfocus_nativeruntime_RtCes_jniGetErrorMsg@16', 2248: b'_Java_com_microfocus_nativeruntime_RtCes_jniGetLicense@28', 2249: b'_Java_com_microfocus_nativeruntime_RtCes_jniReleaseLicense@16', 2250: b'_Java_com_microfocus_nativeruntime_RtCes_jniSetAutoHandleErrors@12', 2251: b'Java_com_microfocus_nativeruntime_RuntimeControl_jniWinRtCobTidy', 2252: b'Java_com_microfocus_nativeruntime_RuntimeControl_jniWinWaitForNativeRuntime', 2253: b'KEISEN', 2254: b'KEISEN1', 2255: b'KEISEN2', 2256: b'KEISEN_SELECT', 2257: b'MFEXTMAP', 2258: b'MFPM', 2259: b'MFPRGMAP', 2260: b'MFregetblk', 2261: b'MVS_CONSOLE_IO', 2262: b'MVS_CONTROL_BLOCK_GET', 2263: b'MVS_CONTROL_BLOCK_INIT', 2264: b'MVS_CONTROL_BLOCK_TERM', 2265: b'MVS_JOB_STEP_EXECUTION_MGR', 2266: b'OCTAL2ASCII', 2267: b'PC_EXIT_PROC', 2268: b'PC_FIND_DRIVES', 2269: b'PC_GET_MOUSE_SHAPE', 2270: b'PC_LOCATE_FILE', 2271: b'PC_PRINTER_REDIRECTION_PROC', 2272: b'PC_READ_DRIVE', 2273: b'PC_READ_KBD_SCAN', 2274: b'PC_SET_DRIVE', 2275: b'PC_SET_MOUSE_HIDE_AREA', 2276: b'PC_SET_MOUSE_SHAPE', 2277: b'PC_SUBSYSTEM', 2278: b'PC_TEST_PRINTER', 2279: b'PC_WIN_ABOUT', 2280: b'PC_WIN_CHAR_TO_OEM', 2281: b'PC_WIN_HANDLE', 2282: b'PC_WIN_INIT', 2283: b'PC_WIN_INSTANCE', 2284: b'PC_WIN_OEM_TO_CHAR', 2285: b'PC_WIN_SET_CHARSET', 2286: b'PC_WIN_YIELD', 2287: b'REG_CLOSE_KEY', 2288: b'REG_CREATE_KEY', 2289: b'REG_CREATE_KEY_EX', 2290: b'REG_DELETE_KEY', 2291: b'REG_DELETE_VALUE', 2292: b'REG_ENUM_KEY', 2293: b'REG_ENUM_VALUE', 2294: b'REG_OPEN_KEY', 2295: b'REG_OPEN_KEY_EX', 2296: b'REG_QUERY_VALUE', 2297: b'REG_QUERY_VALUE_EX', 2298: b'REG_SET_VALUE', 2299: b'REG_SET_VALUE_EX', 2300: b'RENAME', 2301: b'SYSID', 2302: b'SYSTEM', 2303: b'_CODESET', 2304: b'_COYIELD', 2305: b'_EXTNAME', 2306: b'_MFSTOP', 2307: b'_PTRFN1', 2308: b'_PTRFN2', 2309: b'_TGETVAL', 2310: b'_USRSCRN', 2311: b'_mFbldrtsmsg', 2312: b'_mFddexpand', 2313: b'_mFdllinit', 2314: b'_mFdllterm', 2315: b'_mFdonothing', 2316: b'_mFdynload', 2317: b'_mFerr', 2318: b'_mFerr2', 2319: b'_mFerr3', 2320: b'_mFfindp', 2321: b'_mFflattosel', 2322: b'_mFg2FB', 2323: b'_mFg2fullentry', 2324: b'_mFg2progswitch', 2325: b'_mFg3216ret', 2326: b'_mFg3216stack', 2327: b'_mFgAE', 2328: b'_mFgCE', 2329: b'_mFgF800', 2330: b'_mFgF801', 2331: b'_mFgF802', 2332: b'_mFgF803', 2333: b'_mFgF804', 2334: b'_mFgF805', 2335: b'_mFgF806', 2336: b'_mFgF807', 2337: b'_mFgF808', 2338: b'_mFgF809', 2339: b'_mFgF80A', 2340: b'_mFgF80B', 2341: b'_mFgF80C', 2342: b'_mFgF80D', 2343: b'_mFgF80E', 2344: b'_mFgF80F', 2345: b'_mFgF810', 2346: b'_mFgF811', 2347: b'_mFgF812', 2348: b'_mFgF813', 2349: b'_mFgF814', 2350: b'_mFgF815', 2351: b'_mFgF816', 2352: b'_mFgF817', 2353: b'_mFgF818', 2354: b'_mFgF819', 2355: b'_mFgF81A', 2356: b'_mFgF81B', 2357: b'_mFgFA', 2358: b'_mFgFB', 2359: b'_mFgFC', 2360: b'_mFgMFPMgetlinear', 2361: b'_mFgMFPMgetnative', 2362: b'_mFgWinMain', 2363: b'_mFgWinMain2', 2364: b'_mFgallocdata', 2365: b'_mFgetmsg', 2366: b'_mFgetrtsmsg', 2367: b'_mFginitdat_dll', 2368: b'_mFgkdrtfix', 2369: b'_mFgkdrtinit', 2370: b'_mFgkdrtunfix', 2371: b'_mFgmain', 2372: b'_mFgmain2', 2373: b'_mFgprogchain', 2374: b'_mFgprogcheckexit', 2375: b'_mFgproglink', 2376: b'_mFgproglock', 2377: b'_mFgprogrecurse', 2378: b'_mFgprogregister', 2379: b'_mFgprogswitch', 2380: b'_mFgprogthreaddata', 2381: b'_mFgprogunchain', 2382: b'_mFgprogunlock', 2383: b'_mFgtypecheck', 2384: b'_mFiD781', 2385: b'_mFiD782', 2386: b'_mFiD783', 2387: b'_mFiD784', 2388: b'_mFiD785', 2389: b'_mFiD786', 2390: b'_mFiD787', 2391: b'_mFiD788', 2392: b'_mFiD789', 2393: b'_mFiD78B', 2394: b'_mFiD78C', 2395: b'_mFiD78D', 2396: b'_mFiD78E', 2397: b'_mFiD78F', 2398: b'_mFiD790', 2399: b'_mFiD791', 2400: b'_mFiD794', 2401: b'_mFiD795', 2402: b'_mFiD796', 2403: b'_mFiD797', 2404: b'_mFiD7A0', 2405: b'_mFiD7A1', 2406: b'_mFiD7A2', 2407: b'_mFiD7A7', 2408: b'_mFiD7AA', 2409: b'_mFiD7AB', 2410: b'_mFiD7AD', 2411: b'_mFiD7AE', 2412: b'_mFiD7AF', 2413: b'_mFiD7B0', 2414: b'_mFiD7B1', 2415: b'_mFiD7B2', 2416: b'_mFiD7B3', 2417: b'_mFiD7B4', 2418: b'_mFiD7B5', 2419: b'_mFiD7B6', 2420: b'_mFiD7B7', 2421: b'_mFiD7B8', 2422: b'_mFiD7B9', 2423: b'_mFiD7BA', 2424: b'_mFiD7BC', 2425: b'_mFiD7BD', 2426: b'_mFiD7BE', 2427: b'_mFiD7BF', 2428: b'_mFiD7C0', 2429: b'_mFiD7C1', 2430: b'_mFiD7C2', 2431: b'_mFiD7C3', 2432: b'_mFiD7C4', 2433: b'_mFiD7C5', 2434: b'_mFiD7C7', 2435: b'_mFiD7C9', 2436: b'_mFiD7CB', 2437: b'_mFiD7CC', 2438: b'_mFiD7CD', 2439: b'_mFiD7CE', 2440: b'_mFiD7CF', 2441: b'_mFiD7D0', 2442: b'_mFiD7D7', 2443: b'_mFiD7D8', 2444: b'_mFiD7D9', 2445: b'_mFiD7DC', 2446: b'_mFiD7DD', 2447: b'_mFiD7DE', 2448: b'_mFiD7E1', 2449: b'_mFiD7E2', 2450: b'_mFiD7E3', 2451: b'_mFiD7E4', 2452: b'_mFiD7E5', 2453: b'_mFiD7E6', 2454: b'_mFiD7F1', 2455: b'_mFiD7F4', 2456: b'_mFiD7F5', 2457: b'_mFiD7F6', 2458: b'_mFiD7FB', 2459: b'_mFinit', 2460: b'_mFldyn', 2461: b'_mFprtmsg', 2462: b'_mFprtrtsmsg', 2463: b'_mFseltoflat', 2464: b'_mFundef', 2465: b'_mFxssd', 2466: b'cob_COYIELD', 2467: b'cob_db_runquery', 2468: b'cob_file_external', 2469: b'cobaudit_event', 2470: b'cobaudit_file_read', 2471: b'cobcall', 2472: b'cobcancel', 2473: b'cobchangemessageproc', 2474: b'cobcols', 2475: b'cobcommandline', 2476: b'cobctf_trace', 2477: b'cobctf_tracer_notify', 2478: b'cobdefinemessagetype', 2479: b'cobdlgetsym', 2480: b'cobdlload', 2481: b'cobdlunload', 2482: b'cobexit', 2483: b'cobfindprog', 2484: b'cobfunc', 2485: b'cobget_pointer', 2486: b'cobget_ppointer', 2487: b'cobget_sx1_comp5', 2488: b'cobget_sx2_comp5', 2489: b'cobget_sx4_comp5', 2490: b'cobget_sx8_comp5', 2491: b'cobget_sxn_comp5', 2492: b'cobget_x1_comp5', 2493: b'cobget_x1_compx', 2494: b'cobget_x2_comp5', 2495: b'cobget_x2_compx', 2496: b'cobget_x4_comp5', 2497: b'cobget_x4_compx', 2498: b'cobget_x8_comp5', 2499: b'cobget_x8_compx', 2500: b'cobget_xn_comp5', 2501: b'cobget_xn_compx', 2502: b'_mF0114', 2503: b'_mF0115', 2504: b'_mF0214', 2505: b'_mF0215', 2506: b'_mF0216', 2507: b'_mF0217', 2508: b'_mF0308', 2509: b'_mF3006', 2510: b'_mF3106', 2511: b'_mF3107', 2512: b'_mF3204', 2513: b'_mF3360', 2514: b'_mF3361', 2515: b'_mF3370', 2516: b'_mF3371', 2517: b'_mF3390', 2518: b'_mF3391', 2519: b'_mF3392', 2520: b'_mF3393', 2521: b'_mF3394', 2522: b'_mF3395', 2523: b'_mF3460', 2524: b'_mF3461', 2525: b'_mF3462', 2526: b'_mF3463', 2527: b'_mF3470', 2528: b'_mF3471', 2529: b'_mF3472', 2530: b'_mF3473', 2531: b'_mF3488', 2532: b'_mF3489', 2533: b'_mF3490', 2534: b'_mF3491', 2535: b'_mF3492', 2536: b'_mF3493', 2537: b'_mF3494', 2538: b'_mF3495', 2539: b'_mF3496', 2540: b'_mF3497', 2541: b'_mF3498', 2542: b'_mF3499', 2543: b'_mF3740', 2544: b'_mF3741', 2545: b'_mF3750', 2546: b'_mF3751', 2547: b'_mF3770', 2548: b'_mF3771', 2549: b'_mF3772', 2550: b'_mF3773', 2551: b'_mF3774', 2552: b'_mF3775', 2553: b'_mF5260', 2554: b'_mF5270', 2555: b'_mF5272', 2556: b'_mF5274', 2557: b'_mF5360', 2558: b'_mF5363', 2559: b'_mF5370', 2560: b'_mF5372', 2561: b'_mF5374', 2562: b'_mF5376', 2563: b'_mF5378', 2564: b'_mF5380', 2565: b'_mF5420', 2566: b'_mF5430', 2567: b'_mF5432', 2568: b'_mF5434', 2569: b'_mF5660', 2570: b'_mF5661', 2571: b'_mF5670', 2572: b'_mF5671', 2573: b'_mF5672', 2574: b'_mF5673', 2575: b'_mF5674', 2576: b'_mF5675', 2577: b'_mF5760', 2578: b'_mF5761', 2579: b'_mF5763', 2580: b'_mF5764', 2581: b'_mF5770', 2582: b'_mF5771', 2583: b'_mF5772', 2584: b'_mF5773', 2585: b'_mF5774', 2586: b'_mF5775', 2587: b'_mF5776', 2588: b'_mF5777', 2589: b'_mF5778', 2590: b'_mF5779', 2591: b'_mF5780', 2592: b'_mF5781', 2593: b'_mF5820', 2594: b'_mF5821', 2595: b'_mF5830', 2596: b'_mF5831', 2597: b'_mF5832', 2598: b'_mF5833', 2599: b'_mF5834', 2600: b'_mF5835', 2601: b'cobgetdatetime', 2602: b'cobgetenv', 2603: b'cobgetfuncaddr', 2604: b'cobinit', 2605: b'coblines', 2606: b'coblongjmp', 2607: b'cobmemalloc', 2608: b'cobmemfree', 2609: b'cobmemrealloc', 2610: b'cobposterrorproc', 2611: b'cobpostexitproc', 2612: b'cobpostmessageproc', 2613: b'cobpostsighandler', 2614: b'cobput_pointer', 2615: b'cobput_ppointer', 2616: b'cobput_sx1_comp5', 2617: b'cobput_sx2_comp5', 2618: b'cobput_sx4_comp5', 2619: b'cobput_sx8_comp5', 2620: b'cobput_sxn_comp5', 2621: b'cobput_x1_comp5', 2622: b'cobput_x1_compx', 2623: b'cobput_x2_comp5', 2624: b'cobput_x2_compx', 2625: b'cobput_x4_comp5', 2626: b'cobput_x4_compx', 2627: b'cobput_x8_comp5', 2628: b'cobput_x8_compx', 2629: b'cobput_xn_comp5', 2630: b'cobput_xn_compx', 2631: b'cobputenv', 2632: b'cobremoveexitproc', 2633: b'cobremovemessageproc', 2634: b'cobremovesighandler', 2635: b'cobrescanenv', 2636: b'cobsavenv', 2637: b'cobsavenv2', 2638: b'cobsendmessage', 2639: b'cobstringconvert', 2640: b'cobsync_mutex_deinit', 2641: b'cobsync_mutex_init', 2642: b'cobsync_mutex_lock', 2643: b'cobsync_mutex_unlock', 2644: b'cobthread_copy', 2645: b'cobthread_create', 2646: b'cobthread_equal', 2647: b'cobthread_exit', 2648: b'cobthread_isself', 2649: b'cobthread_join', 2650: b'cobthread_once', 2651: b'cobthread_self', 2652: b'cobthread_yield', 2653: b'cobthreadkey_deinit', 2654: b'cobthreadkey_getdata', 2655: b'cobthreadkey_init', 2656: b'cobthreadkey_setdata', 2657: b'cobthreadtidy', 2658: b'cobthreadtidydll', 2659: b'cobtidy', 2660: b'mF_32bit_integer_of_boolean', 2661: b'mF_64bit_integer_of_boolean', 2662: b'mF_ADIS', 2663: b'mF_BoolNOT32', 2664: b'mF_BoolNOT64', 2665: b'mF_COPYIN_VFILE', 2666: b'mF_COPYOUT_VFILE', 2667: b'mF_CTF_TRACE', 2668: b'mF_GETFILEINFO', 2669: b'mF_GETIXBLKSZ', 2670: b'mF_GETLOCKMODE', 2671: b'mF_GETRETRY', 2672: b'mF_GETSKIPONLOCK', 2673: b'mF_GetFloatingPointFormat', 2674: b'mF_Load32bitBoolBit', 2675: b'mF_Load32bitBoolDisplay', 2676: b'mF_Load64bitBoolBit', 2677: b'mF_Load64bitBoolDisplay', 2678: b'mF_RTSERR', 2679: b'mF_SERVER_CANCEL_HANDLER_POST', 2680: b'mF_SERVER_DEREGISTER_EVENT_CALLBACK', 2681: b'mF_SERVER_DEREGISTER_SELF_FROM_SHM', 2682: b'mF_SERVER_ES_INFO_INIT', 2683: b'mF_SERVER_LOAD', 2684: b'mF_SERVER_REGISTER_EVENT_CALLBACK', 2685: b'mF_Store32bitBoolBit', 2686: b'mF_Store32bitBoolDisplay', 2687: b'mF_Store64bitBoolBit', 2688: b'mF_Store64bitBoolBitRef', 2689: b'mF_Store64bitBoolDisplay', 2690: b'mF_Store64bitBoolDisplayRef', 2691: b'mF_boolean_of_integer', 2692: b'mF_boolean_of_integer_ref', 2693: b'mF_call2', 2694: b'mF_cf_block_create', 2695: b'mF_cf_block_destroy', 2696: b'mF_cf_block_getsize', 2697: b'mF_cf_block_write_buffer', 2698: b'mF_cf_key_create', 2699: b'mF_cf_rts_switch_set', 2700: b'mF_cf_tune_set', 2701: b'mF_directory_to_internal', 2702: b'mF_eloc', 2703: b'mF_enable_ime', 2704: b'mF_exception_filter', 2705: b'mF_fh_set_fe_stat', 2706: b'mF_fh_set_id_stat', 2707: b'mF_fh_set_lasterror', 2708: b'mF_get_arg_val', 2709: b'mF_get_dynmem', 2710: b'mF_get_errno', 2711: b'mF_get_num_arg', 2712: b'mF_getrtsconf', 2713: b'mF_gnt_epoints', 2714: b'mF_ieee_to_longibm', 2715: b'mF_ieee_to_shortibm', 2716: b'mF_integer_of_boolean', 2717: b'mF_ld_disk_search', 2718: b'mF_load_hook_deregister', 2719: b'mF_load_hook_register', 2720: b'mF_load_installf', 2721: b'mF_longibm_to_ieee', 2722: b'mF_numeric_UD_info', 2723: b'mF_pp_error', 2724: b'mF_pp_error_addr', 2725: b'mF_rt_cmdline_read', 2726: b'mF_setrtsconf', 2727: b'mF_shortibm_to_ieee', 2728: b'mF_shortibm_to_shortieee', 2729: b'mF_shortieee_to_shortibm', 2730: b'mF_tmpfilename', 2731: b'mF_trace_callback', 2732: b'mF_trace_install_component', 2733: b'mF_xe_MFPM_register', 2734: b'mF_xe_cgi_load', 2735: b'mF_xe_chk_load', 2736: b'mF_xe_com_load', 2737: b'mF_xe_oci_load', 2738: b'mF_xe_odbc_load', 2739: b'mF_xe_onecycle', 2740: b'mF_xe_prt_load', 2741: b'mF_xtrint', 2742: b'mFt_Pop_error_message', 2743: b'mFt_execerr', 2744: b'mFt_init_ru_ctl_area', 2745: b'mFt_ld_error_name', 2746: b'mFt_os_resource_lock_ru_ctl_area', 2747: b'mFt_os_resource_unlock_ru_ctl_area', 2748: b'mFt_rt_error_exec_extra', 2749: b'mFt_rt_print_version', 2750: b'mFt_rt_register_cancel_sort_comparison', 2751: b'mFt_rt_rtsfunc_srv_trace', 2752: b'mFt_ru_ctl_get_ru_addr', 2753: b'mFt_sv_server_es_notify', 2801: b'_mF3380', 2802: b'_mF3381', 2803: b'_mF3480', 2804: b'_mF3481', 2805: b'_mF3482', 2806: b'_mF3483', 2807: b'_mF3760', 2808: b'_mF3761', 2809: b'_mF5261', 2810: b'_mF5262', 2811: b'_mF5271', 2812: b'_mF5273', 2813: b'_mF5275', 2814: b'_mF5361', 2815: b'_mF5362', 2816: b'_mF5364', 2817: b'_mF5365', 2818: b'_mF5371', 2819: b'_mF5373', 2820: b'_mF5375', 2821: b'_mF5377', 2822: b'_mF5379', 2823: b'_mF5381', 2824: b'_mF5421', 2825: b'_mF5422', 2826: b'_mF5431', 2827: b'_mF5433', 2828: b'_mF5435', 2829: b'_mF5662', 2830: b'_mF5762', 2831: b'_mF5765', 2832: b'_mF5822'}
people = int(input()) name_doc = input() grade_sum = 0 average_grade = 0 total_grade = 0 numbers = 0 while name_doc != "Finish": for x in range(people): grade = float(input()) grade_sum += grade average_grade = grade_sum / people print(f"{name_doc} - {average_grade:.2f}.") name_doc = input() grade_sum = 0 total_grade += average_grade numbers += 1 print(f"Student's final assessment is {total_grade / numbers:.2f}.")
people = int(input()) name_doc = input() grade_sum = 0 average_grade = 0 total_grade = 0 numbers = 0 while name_doc != 'Finish': for x in range(people): grade = float(input()) grade_sum += grade average_grade = grade_sum / people print(f'{name_doc} - {average_grade:.2f}.') name_doc = input() grade_sum = 0 total_grade += average_grade numbers += 1 print(f"Student's final assessment is {total_grade / numbers:.2f}.")
neopixel = Runtime.createAndStart("neopixel","NeoPixel") def startNeopixel(): neopixel.attach(i01.arduinos.get(rightPort),23,16) neopixel.setAnimation("Ironman",0,0,255,1) pinocchioLying = False def onStartSpeaking(data): if (pinocchioLying): neopixel.setAnimation("Ironman",0,255,0,1) else: neopixel.setAnimation("Ironman",255,0,0,1) def onEndSpeaking(data): if (pinocchioLying): neopixel.setAnimation("Ironman",0,127,127,1) global pinocchioLying pinocchioLying = False else: neopixel.setAnimation("Ironman",0,0,255,1) i01.mouth.addListener("publishStartSpeaking","python","onStartSpeaking") i01.mouth.addListener("publishEndSpeaking","python","onEndSpeaking")
neopixel = Runtime.createAndStart('neopixel', 'NeoPixel') def start_neopixel(): neopixel.attach(i01.arduinos.get(rightPort), 23, 16) neopixel.setAnimation('Ironman', 0, 0, 255, 1) pinocchio_lying = False def on_start_speaking(data): if pinocchioLying: neopixel.setAnimation('Ironman', 0, 255, 0, 1) else: neopixel.setAnimation('Ironman', 255, 0, 0, 1) def on_end_speaking(data): if pinocchioLying: neopixel.setAnimation('Ironman', 0, 127, 127, 1) global pinocchioLying pinocchio_lying = False else: neopixel.setAnimation('Ironman', 0, 0, 255, 1) i01.mouth.addListener('publishStartSpeaking', 'python', 'onStartSpeaking') i01.mouth.addListener('publishEndSpeaking', 'python', 'onEndSpeaking')
def pprint_matcher(node, *args, **kwargs): print(matcher_to_str(node, *args, **kwargs)) def matcher_to_str( node, indent_nr: int = 0, indent: str = " ", first_line_prefix=None ) -> str: ind = indent * indent_nr ind1 = indent * (indent_nr + 1) if first_line_prefix is None: first_line_prefix = ind if isinstance(node, type): return first_line_prefix + node.__name__ + "\n" elif hasattr(node, "_fields"): if 0 == len(node._fields): return first_line_prefix + type(node).__name__ + "()\n" out = "" out += first_line_prefix + type(node).__name__ + "(\n" for field in node._fields: out += matcher_to_str( getattr(node, field), indent_nr=indent_nr + 1, indent=indent, first_line_prefix=ind1 + field + " = ", ) out += ind + ")\n" return out if isinstance(node, list): out = "" out += first_line_prefix + "[\n" for elem in node: out += matcher_to_str(elem, indent_nr=indent_nr + 1, indent=indent) out += ind + "]\n" return out else: return first_line_prefix + repr(node) + "\n"
def pprint_matcher(node, *args, **kwargs): print(matcher_to_str(node, *args, **kwargs)) def matcher_to_str(node, indent_nr: int=0, indent: str=' ', first_line_prefix=None) -> str: ind = indent * indent_nr ind1 = indent * (indent_nr + 1) if first_line_prefix is None: first_line_prefix = ind if isinstance(node, type): return first_line_prefix + node.__name__ + '\n' elif hasattr(node, '_fields'): if 0 == len(node._fields): return first_line_prefix + type(node).__name__ + '()\n' out = '' out += first_line_prefix + type(node).__name__ + '(\n' for field in node._fields: out += matcher_to_str(getattr(node, field), indent_nr=indent_nr + 1, indent=indent, first_line_prefix=ind1 + field + ' = ') out += ind + ')\n' return out if isinstance(node, list): out = '' out += first_line_prefix + '[\n' for elem in node: out += matcher_to_str(elem, indent_nr=indent_nr + 1, indent=indent) out += ind + ']\n' return out else: return first_line_prefix + repr(node) + '\n'
class model4: def __getattr__(self,x): var_name = 'var_'+x v = self.__dict__[var_name] if var_name in self.__dict__ else self.__dict__[x] return v() if callable(v) else v def chain(self,other): for k,v in other.__dict__.items(): self.__dict__[k]=v return self if __name__=="__main__": x = model4() x.var_a = lambda: 20 x.var_b = lambda: x.a+1 y = model4().chain(x) y.var_c = lambda: y.b*y.d y.d = 2 print(y.c)
class Model4: def __getattr__(self, x): var_name = 'var_' + x v = self.__dict__[var_name] if var_name in self.__dict__ else self.__dict__[x] return v() if callable(v) else v def chain(self, other): for (k, v) in other.__dict__.items(): self.__dict__[k] = v return self if __name__ == '__main__': x = model4() x.var_a = lambda : 20 x.var_b = lambda : x.a + 1 y = model4().chain(x) y.var_c = lambda : y.b * y.d y.d = 2 print(y.c)