content
stringlengths
7
1.05M
fixed_cases
stringlengths
1
1.28M
def get_gene_ne(global_variables,gene_dictionary): values_list = [] # gets the ordered samples sample_list = global_variables["sample_list"] for sample in sample_list: values_list.append(gene_dictionary[sample]) return values_list
def get_gene_ne(global_variables, gene_dictionary): values_list = [] sample_list = global_variables['sample_list'] for sample in sample_list: values_list.append(gene_dictionary[sample]) return values_list
def sublime(): return [ ('MacOS', 'https://download.sublimetext.com/Sublime%20Text%20Build%203126.dmg', 'sublime/sublime.dmg'), ('Windows (32-bit)', 'https://download.sublimetext.com/Sublime%20Text%20Build%203126%20Setup.exe', 'sublime/sublime-x86.exe'), # noqa ('Windows (64-bit)', 'https://download.sublimetext.com/Sublime%20Text%20Build%203126%20x64%20Setup.exe', 'sublime/sublime-amd64.exe'), # noqa ('Ubuntu (32-bit)', 'https://download.sublimetext.com/sublime-text_build-3126_i386.deb', 'sublime/sublime-x86.deb'), # noqa ('Ubuntu (64-bit)', 'https://download.sublimetext.com/sublime-text_build-3126_amd64.deb', 'sublime/sublime-amd64.deb'), # noqa ]
def sublime(): return [('MacOS', 'https://download.sublimetext.com/Sublime%20Text%20Build%203126.dmg', 'sublime/sublime.dmg'), ('Windows (32-bit)', 'https://download.sublimetext.com/Sublime%20Text%20Build%203126%20Setup.exe', 'sublime/sublime-x86.exe'), ('Windows (64-bit)', 'https://download.sublimetext.com/Sublime%20Text%20Build%203126%20x64%20Setup.exe', 'sublime/sublime-amd64.exe'), ('Ubuntu (32-bit)', 'https://download.sublimetext.com/sublime-text_build-3126_i386.deb', 'sublime/sublime-x86.deb'), ('Ubuntu (64-bit)', 'https://download.sublimetext.com/sublime-text_build-3126_amd64.deb', 'sublime/sublime-amd64.deb')]
#ID of the project project_id = "" #List of paths where the folders to check are project_paths = [] #Destination of the sync, trailing slash destination_path = "" ################################## #Postgres database and rw user ################################## db_host = "" db_db = "" db_user = "" ################################## #How long to sleep between loops sleep = 180
project_id = '' project_paths = [] destination_path = '' db_host = '' db_db = '' db_user = '' sleep = 180
class Solution: def summaryRanges(self, nums): if not nums: return nums results = [] start = end = nums[0] for i in nums: if i != end: rng = f"{start}->{end-1}" if start != (end - 1) else f"{start}" results.append(rng) start = end = i end += 1 # we ended on a solo number. if start == nums[-1]: results.append(f'{start}') # we ended on a range. elif start != (end - 1): results.append(f'{start}->{end-1}') return results
class Solution: def summary_ranges(self, nums): if not nums: return nums results = [] start = end = nums[0] for i in nums: if i != end: rng = f'{start}->{end - 1}' if start != end - 1 else f'{start}' results.append(rng) start = end = i end += 1 if start == nums[-1]: results.append(f'{start}') elif start != end - 1: results.append(f'{start}->{end - 1}') return results
class Solution: def totalNQueens(self, n: int) -> int: def dfs(row): if row == 0: return 1 count = 0 for col in range(n): if col not in col_blacklist and \ row - col not in major_blacklist and \ row + col not in minor_blacklist: col_blacklist.add(col) major_blacklist.add(row - col) minor_blacklist.add(row + col) count += dfs(row - 1) col_blacklist.remove(col) major_blacklist.remove(row - col) minor_blacklist.remove(row + col) return count col_blacklist = set() major_blacklist = set() minor_blacklist = set() return dfs(n)
class Solution: def total_n_queens(self, n: int) -> int: def dfs(row): if row == 0: return 1 count = 0 for col in range(n): if col not in col_blacklist and row - col not in major_blacklist and (row + col not in minor_blacklist): col_blacklist.add(col) major_blacklist.add(row - col) minor_blacklist.add(row + col) count += dfs(row - 1) col_blacklist.remove(col) major_blacklist.remove(row - col) minor_blacklist.remove(row + col) return count col_blacklist = set() major_blacklist = set() minor_blacklist = set() return dfs(n)
N = int(input()) R = [] for i in range(0, N*2) : if i%2 == 0 : R.append("*") else : R.append(" ") for l in range(0, N) : P1 = P2 = "" for i in range(0, N) : P1 += R[i] print(P1) for i in range(N*2-1, N-1, -1) : P2 += R[i] print(P2)
n = int(input()) r = [] for i in range(0, N * 2): if i % 2 == 0: R.append('*') else: R.append(' ') for l in range(0, N): p1 = p2 = '' for i in range(0, N): p1 += R[i] print(P1) for i in range(N * 2 - 1, N - 1, -1): p2 += R[i] print(P2)
# # PySNMP MIB module SYMMCOMMONPTP (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/neermitt/Dev/kusanagi/mibs.snmplabs.com/asn1/SYMMCOMMONPTP # Produced by pysmi-0.3.4 at Tue Jul 30 11:34:16 2019 # On host NEERMITT-M-J0NV platform Darwin version 18.6.0 by user neermitt # Using Python version 3.7.4 (default, Jul 9 2019, 18:13:23) # Integer, OctetString, ObjectIdentifier = mibBuilder.importSymbols("ASN1", "Integer", "OctetString", "ObjectIdentifier") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ConstraintsUnion, ConstraintsIntersection, ValueSizeConstraint, ValueRangeConstraint, SingleValueConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsUnion", "ConstraintsIntersection", "ValueSizeConstraint", "ValueRangeConstraint", "SingleValueConstraint") entPhysicalIndex, = mibBuilder.importSymbols("ENTITY-MIB", "entPhysicalIndex") ifIndex, ifNumber = mibBuilder.importSymbols("IF-MIB", "ifIndex", "ifNumber") NotificationGroup, ModuleCompliance, ObjectGroup = mibBuilder.importSymbols("SNMPv2-CONF", "NotificationGroup", "ModuleCompliance", "ObjectGroup") NotificationType, Counter64, MibScalar, MibTable, MibTableRow, MibTableColumn, Integer32, TimeTicks, Unsigned32, ObjectIdentity, ModuleIdentity, iso, Bits, MibIdentifier, Counter32, Gauge32, IpAddress = mibBuilder.importSymbols("SNMPv2-SMI", "NotificationType", "Counter64", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "Integer32", "TimeTicks", "Unsigned32", "ObjectIdentity", "ModuleIdentity", "iso", "Bits", "MibIdentifier", "Counter32", "Gauge32", "IpAddress") DisplayString, TextualConvention = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString", "TextualConvention") EnableValue, symmPacketService = mibBuilder.importSymbols("SYMM-COMMON-SMI", "EnableValue", "symmPacketService") symmPTPv2 = ModuleIdentity((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1)) symmPTPv2.setRevisions(('2018-07-31 06:20',)) if mibBuilder.loadTexts: symmPTPv2.setLastUpdated('201807310620Z') if mibBuilder.loadTexts: symmPTPv2.setOrganization('Symmetricom') class PTPPROFILEVALUE(Integer32): subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7)) namedValues = NamedValues(("profileTelecom2008", 1), ("profileDefault", 2), ("profileHybrid", 3), ("profileITU8265one", 4), ("profileEthernetDefault", 5), ("profileITU8275one", 6), ("profileITU8275two", 7)) class PTPTIMESCALETYPE(Integer32): subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 3)) namedValues = NamedValues(("auto", 1), ("arb", 2), ("ptp", 3)) class PTPMGMTADDRTYPE(Integer32): subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(0, 1)) namedValues = NamedValues(("unicast", 0), ("multicast", 1)) class PTPTRANSPORTTYPE(Integer32): subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2)) namedValues = NamedValues(("ethernet", 1), ("ipv4", 2)) class PTPADDRMODETYPE(Integer32): subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(0, 1, 2)) namedValues = NamedValues(("unicast", 0), ("multicast", 1), ("multicasthybrid", 2)) class PORTSTATEVALUE(Integer32): subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2)) namedValues = NamedValues(("enable", 1), ("disable", 2)) class G82751McAddrValue(Integer32): subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2)) namedValues = NamedValues(("mac011b19000000", 1), ("mac0180c200000e", 2)) class VLANID(Integer32): subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1)) namedValues = NamedValues(("none", 1)) class DateAndTime(TextualConvention, OctetString): status = 'current' displayHint = '2d-1d-1d,1d:1d:1d.1d,1a1d:1d' subtypeSpec = OctetString.subtypeSpec + ConstraintsUnion(ValueSizeConstraint(8, 8), ValueSizeConstraint(11, 11), ) class TLatAndLon(TextualConvention, OctetString): status = 'current' displayHint = '1a1d:1d:1d.1d' subtypeSpec = OctetString.subtypeSpec + ValueSizeConstraint(5, 5) fixedLength = 5 class TAntHeight(TextualConvention, OctetString): status = 'current' displayHint = '1a2d.1d' subtypeSpec = OctetString.subtypeSpec + ValueSizeConstraint(4, 4) fixedLength = 4 class TLocalTimeOffset(TextualConvention, OctetString): status = 'current' displayHint = '1a1d:1d' subtypeSpec = OctetString.subtypeSpec + ValueSizeConstraint(3, 3) fixedLength = 3 class TSsm(TextualConvention, Integer32): status = 'current' displayHint = 'x' subtypeSpec = Integer32.subtypeSpec + ValueRangeConstraint(0, 255) ptpv2Status = MibIdentifier((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 1)) ptpv2StatusTable = MibTable((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 1, 1), ) if mibBuilder.loadTexts: ptpv2StatusTable.setStatus('current') ptpv2StatusEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 1, 1, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "SYMMCOMMONPTP", "ptpv2StatusIndex")) if mibBuilder.loadTexts: ptpv2StatusEntry.setStatus('current') ptpv2StatusIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 1, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 1000))) if mibBuilder.loadTexts: ptpv2StatusIndex.setStatus('current') ptpv2StatusPortEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 1, 1, 1, 2), EnableValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ptpv2StatusPortEnable.setStatus('current') ptpv2StatusClockID = MibTableColumn((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 1, 1, 1, 3), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: ptpv2StatusClockID.setStatus('current') ptpv2StatusProfile = MibTableColumn((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 1, 1, 1, 4), PTPPROFILEVALUE()).setMaxAccess("readonly") if mibBuilder.loadTexts: ptpv2StatusProfile.setStatus('current') ptpv2StatusClockClass = MibTableColumn((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 1, 1, 1, 5), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: ptpv2StatusClockClass.setStatus('current') ptpv2StatusClockAccuracy = MibTableColumn((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 1, 1, 1, 6), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: ptpv2StatusClockAccuracy.setStatus('current') ptpv2StatusTimescale = MibTableColumn((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 1, 1, 1, 7), PTPTIMESCALETYPE()).setMaxAccess("readonly") if mibBuilder.loadTexts: ptpv2StatusTimescale.setStatus('current') ptpv2StatusNumClient = MibTableColumn((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 1, 1, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 1000))).setMaxAccess("readonly") if mibBuilder.loadTexts: ptpv2StatusNumClient.setStatus('current') ptpv2StatusClientLoad = MibTableColumn((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 1, 1, 1, 9), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: ptpv2StatusClientLoad.setStatus('current') ptpv2ClientDataTable = MibTable((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 1, 2), ) if mibBuilder.loadTexts: ptpv2ClientDataTable.setStatus('current') ptpv2ClientDataEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 1, 2, 1), ).setIndexNames((0, "SYMMCOMMONPTP", "ptpv2ClientDataIndex")) if mibBuilder.loadTexts: ptpv2ClientDataEntry.setStatus('current') ptpv2ClientDataIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 1, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 5000))).setMaxAccess("readonly") if mibBuilder.loadTexts: ptpv2ClientDataIndex.setStatus('current') ptpv2ClientData = MibTableColumn((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 1, 2, 1, 2), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: ptpv2ClientData.setStatus('current') ptpv2Config = MibIdentifier((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 2)) ptpv2CommonTable = MibTable((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 2, 1), ) if mibBuilder.loadTexts: ptpv2CommonTable.setStatus('current') ptpv2CommonEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 2, 1, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "SYMMCOMMONPTP", "ptpv2CommonIndex")) if mibBuilder.loadTexts: ptpv2CommonEntry.setStatus('current') ptpv2CommonIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 2, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 1000))) if mibBuilder.loadTexts: ptpv2CommonIndex.setStatus('current') ptpv2Profile = MibTableColumn((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 2, 1, 1, 2), PTPPROFILEVALUE()).setMaxAccess("readwrite") if mibBuilder.loadTexts: ptpv2Profile.setStatus('current') ptpv2ClockID = MibTableColumn((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 2, 1, 1, 3), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: ptpv2ClockID.setStatus('current') ptpv2Priority1 = MibTableColumn((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 2, 1, 1, 4), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ptpv2Priority1.setStatus('current') ptpv2Priority2 = MibTableColumn((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 2, 1, 1, 5), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ptpv2Priority2.setStatus('current') ptpv2Domain = MibTableColumn((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 2, 1, 1, 6), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ptpv2Domain.setStatus('current') ptpv2DSCPState = MibTableColumn((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 2, 1, 1, 7), EnableValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: ptpv2DSCPState.setStatus('current') ptpv2DSCPValue = MibTableColumn((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 2, 1, 1, 8), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 63))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ptpv2DSCPValue.setStatus('current') ptpv2State = MibTableColumn((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 2, 1, 1, 9), EnableValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: ptpv2State.setStatus('current') ptpv2MaxClient = MibTableColumn((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 2, 1, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 1500)).clone(500)).setMaxAccess("readwrite") if mibBuilder.loadTexts: ptpv2MaxClient.setStatus('current') ptpv2AnnounceLimit = MibTableColumn((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 2, 1, 1, 11), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-4, 4)).clone(-3)).setMaxAccess("readwrite") if mibBuilder.loadTexts: ptpv2AnnounceLimit.setStatus('current') ptpv2SyncLimit = MibTableColumn((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 2, 1, 1, 12), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-7, 7)).clone(-7)).setMaxAccess("readwrite") if mibBuilder.loadTexts: ptpv2SyncLimit.setStatus('current') ptpv2DelayLimit = MibTableColumn((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 2, 1, 1, 13), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-7, 7)).clone(-7)).setMaxAccess("readwrite") if mibBuilder.loadTexts: ptpv2DelayLimit.setStatus('current') ptpv2TwoStep = MibTableColumn((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 2, 1, 1, 14), EnableValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: ptpv2TwoStep.setStatus('current') ptpv2MgmtAddrMode = MibTableColumn((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 2, 1, 1, 15), PTPMGMTADDRTYPE()).setMaxAccess("readwrite") if mibBuilder.loadTexts: ptpv2MgmtAddrMode.setStatus('current') ptpv2TTL = MibTableColumn((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 2, 1, 1, 16), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 255))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ptpv2TTL.setStatus('current') ptpv2AlternateGM = MibTableColumn((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 2, 1, 1, 17), EnableValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: ptpv2AlternateGM.setStatus('current') ptpv2TimeScale = MibTableColumn((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 2, 1, 1, 18), PTPTIMESCALETYPE()).setMaxAccess("readwrite") if mibBuilder.loadTexts: ptpv2TimeScale.setStatus('current') ptpv2Dither = MibTableColumn((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 2, 1, 1, 19), EnableValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: ptpv2Dither.setStatus('current') ptpv2ServiceLoadAlarmThreshold = MibTableColumn((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 2, 1, 1, 20), Integer32().subtype(subtypeSpec=ValueRangeConstraint(10, 100))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ptpv2ServiceLoadAlarmThreshold.setStatus('current') ptpv2UnicastTable = MibTable((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 2, 2), ) if mibBuilder.loadTexts: ptpv2UnicastTable.setStatus('current') ptpv2UnicastEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 2, 2, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "SYMMCOMMONPTP", "ptpv2UnicastIndex")) if mibBuilder.loadTexts: ptpv2UnicastEntry.setStatus('current') ptpv2UnicastIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 2, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 1000))) if mibBuilder.loadTexts: ptpv2UnicastIndex.setStatus('current') ptpv2UnicastNeg = MibTableColumn((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 2, 2, 1, 2), EnableValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: ptpv2UnicastNeg.setStatus('current') ptpv2UnicastLeaseDurLimit = MibTableColumn((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 2, 2, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(10, 1000))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ptpv2UnicastLeaseDurLimit.setStatus('current') ptpv2UnicastInterfaceRateTLV = MibTableColumn((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 2, 2, 1, 4), EnableValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: ptpv2UnicastInterfaceRateTLV.setStatus('current') ptpv2UnicastLeaseExtension = MibTableColumn((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 2, 2, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 1000))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ptpv2UnicastLeaseExtension.setStatus('current') ptpv2MulticastTable = MibTable((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 2, 3), ) if mibBuilder.loadTexts: ptpv2MulticastTable.setStatus('current') ptpv2MulticastEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 2, 3, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "SYMMCOMMONPTP", "ptpv2MulticastIndex")) if mibBuilder.loadTexts: ptpv2MulticastEntry.setStatus('current') ptpv2MulticastIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 2, 3, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 1000))) if mibBuilder.loadTexts: ptpv2MulticastIndex.setStatus('current') ptpv2MulticastAnnounceInt = MibTableColumn((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 2, 3, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-4, 4))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ptpv2MulticastAnnounceInt.setStatus('current') ptpv2MulticastSyncInt = MibTableColumn((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 2, 3, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-7, 7))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ptpv2MulticastSyncInt.setStatus('current') ptpv2MulticastDelayInt = MibTableColumn((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 2, 3, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-7, 7))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ptpv2MulticastDelayInt.setStatus('current') ptpv2MulticastAnnoTimeout = MibTableColumn((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 2, 3, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(2, 10)).clone(2)).setMaxAccess("readwrite") if mibBuilder.loadTexts: ptpv2MulticastAnnoTimeout.setStatus('current') ptpv2MulticastVlanId = MibTableColumn((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 2, 3, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4094))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ptpv2MulticastVlanId.setStatus('current') ptpv2MulticastClientTimeout = MibTableColumn((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 2, 3, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(10, 3600)).clone(360)).setMaxAccess("readwrite") if mibBuilder.loadTexts: ptpv2MulticastClientTimeout.setStatus('current') ptpv2G82751Table = MibTable((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 2, 4), ) if mibBuilder.loadTexts: ptpv2G82751Table.setStatus('current') ptpv2G82751Entry = MibTableRow((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 2, 4, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "SYMMCOMMONPTP", "ptpv2G82751Index")) if mibBuilder.loadTexts: ptpv2G82751Entry.setStatus('current') ptpv2G82751Index = MibTableColumn((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 2, 4, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 1000))) if mibBuilder.loadTexts: ptpv2G82751Index.setStatus('current') ptpv2G82751MulticastAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 2, 4, 1, 2), G82751McAddrValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: ptpv2G82751MulticastAddr.setStatus('current') ptpv2G82751LocalPriority = MibTableColumn((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 2, 4, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 255))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ptpv2G82751LocalPriority.setStatus('current') ptpv2ReflectorTable = MibTable((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 2, 5), ) if mibBuilder.loadTexts: ptpv2ReflectorTable.setStatus('current') ptpv2ReflectorEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 2, 5, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "SYMMCOMMONPTP", "ptpv2ReflectorIndex")) if mibBuilder.loadTexts: ptpv2ReflectorEntry.setStatus('current') ptpv2ReflectorIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 2, 5, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 1000))) if mibBuilder.loadTexts: ptpv2ReflectorIndex.setStatus('current') ptpv2ReflectorAnnounceIntv = MibTableColumn((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 2, 5, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-3, 0))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ptpv2ReflectorAnnounceIntv.setStatus('current') ptpv2ReflectorSyncDelayIntv = MibTableColumn((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 2, 5, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-7, -4))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ptpv2ReflectorSyncDelayIntv.setStatus('current') ptpv2ReflectorClientTimeout = MibTableColumn((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 2, 5, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(60, 1000))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ptpv2ReflectorClientTimeout.setStatus('current') ptpv2ReflectorVlanID = MibTableColumn((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 2, 5, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4094))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ptpv2ReflectorVlanID.setStatus('current') ptpv2Conformance = ObjectIdentity((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 3)) if mibBuilder.loadTexts: ptpv2Conformance.setStatus('current') ptpv2Compliances = MibIdentifier((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 3, 1)) ptpv2BasicCompliance = ModuleCompliance((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 3, 1, 1)).setObjects(("SYMMCOMMONPTP", "ptpv2StatusGroup"), ("SYMMCOMMONPTP", "ptpv2ClientDataGroup"), ("SYMMCOMMONPTP", "ptpv2CommonGroup"), ("SYMMCOMMONPTP", "ptpv2UnicastGroup"), ("SYMMCOMMONPTP", "ptpv2MulticastGroup"), ("SYMMCOMMONPTP", "ptpv2G82751Group")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ptpv2BasicCompliance = ptpv2BasicCompliance.setStatus('current') ptpv2UocGroups = MibIdentifier((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 3, 2)) ptpv2StatusGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 3, 2, 1)).setObjects(("SYMMCOMMONPTP", "ptpv2StatusPortEnable"), ("SYMMCOMMONPTP", "ptpv2StatusClockID"), ("SYMMCOMMONPTP", "ptpv2StatusProfile"), ("SYMMCOMMONPTP", "ptpv2StatusClockClass"), ("SYMMCOMMONPTP", "ptpv2StatusClockAccuracy"), ("SYMMCOMMONPTP", "ptpv2StatusTimescale"), ("SYMMCOMMONPTP", "ptpv2StatusNumClient"), ("SYMMCOMMONPTP", "ptpv2StatusClientLoad")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ptpv2StatusGroup = ptpv2StatusGroup.setStatus('current') ptpv2ClientDataGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 3, 2, 2)).setObjects(("SYMMCOMMONPTP", "ptpv2ClientDataIndex"), ("SYMMCOMMONPTP", "ptpv2ClientData")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ptpv2ClientDataGroup = ptpv2ClientDataGroup.setStatus('current') ptpv2CommonGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 3, 2, 3)).setObjects(("SYMMCOMMONPTP", "ptpv2Profile"), ("SYMMCOMMONPTP", "ptpv2ClockID"), ("SYMMCOMMONPTP", "ptpv2Priority1"), ("SYMMCOMMONPTP", "ptpv2Priority2"), ("SYMMCOMMONPTP", "ptpv2Domain"), ("SYMMCOMMONPTP", "ptpv2DSCPState"), ("SYMMCOMMONPTP", "ptpv2DSCPValue"), ("SYMMCOMMONPTP", "ptpv2State"), ("SYMMCOMMONPTP", "ptpv2MaxClient"), ("SYMMCOMMONPTP", "ptpv2AnnounceLimit"), ("SYMMCOMMONPTP", "ptpv2SyncLimit"), ("SYMMCOMMONPTP", "ptpv2DelayLimit"), ("SYMMCOMMONPTP", "ptpv2TwoStep"), ("SYMMCOMMONPTP", "ptpv2MgmtAddrMode"), ("SYMMCOMMONPTP", "ptpv2TTL"), ("SYMMCOMMONPTP", "ptpv2AlternateGM"), ("SYMMCOMMONPTP", "ptpv2TimeScale"), ("SYMMCOMMONPTP", "ptpv2Dither")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ptpv2CommonGroup = ptpv2CommonGroup.setStatus('current') ptpv2UnicastGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 3, 2, 4)).setObjects(("SYMMCOMMONPTP", "ptpv2UnicastNeg"), ("SYMMCOMMONPTP", "ptpv2UnicastLeaseDurLimit"), ("SYMMCOMMONPTP", "ptpv2UnicastInterfaceRateTLV"), ("SYMMCOMMONPTP", "ptpv2UnicastLeaseExtension")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ptpv2UnicastGroup = ptpv2UnicastGroup.setStatus('current') ptpv2MulticastGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 3, 2, 5)).setObjects(("SYMMCOMMONPTP", "ptpv2MulticastAnnounceInt"), ("SYMMCOMMONPTP", "ptpv2MulticastSyncInt"), ("SYMMCOMMONPTP", "ptpv2MulticastDelayInt"), ("SYMMCOMMONPTP", "ptpv2MulticastAnnoTimeout"), ("SYMMCOMMONPTP", "ptpv2MulticastVlanId"), ("SYMMCOMMONPTP", "ptpv2MulticastClientTimeout")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ptpv2MulticastGroup = ptpv2MulticastGroup.setStatus('current') ptpv2G82751Group = ObjectGroup((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 3, 2, 6)).setObjects(("SYMMCOMMONPTP", "ptpv2G82751MulticastAddr"), ("SYMMCOMMONPTP", "ptpv2G82751LocalPriority")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ptpv2G82751Group = ptpv2G82751Group.setStatus('current') mibBuilder.exportSymbols("SYMMCOMMONPTP", ptpv2ReflectorAnnounceIntv=ptpv2ReflectorAnnounceIntv, PYSNMP_MODULE_ID=symmPTPv2, ptpv2Domain=ptpv2Domain, ptpv2StatusClockClass=ptpv2StatusClockClass, ptpv2StatusNumClient=ptpv2StatusNumClient, ptpv2ClientDataTable=ptpv2ClientDataTable, PTPADDRMODETYPE=PTPADDRMODETYPE, ptpv2ClientData=ptpv2ClientData, ptpv2UnicastTable=ptpv2UnicastTable, ptpv2ReflectorSyncDelayIntv=ptpv2ReflectorSyncDelayIntv, ptpv2TTL=ptpv2TTL, ptpv2Compliances=ptpv2Compliances, ptpv2G82751Index=ptpv2G82751Index, ptpv2MulticastClientTimeout=ptpv2MulticastClientTimeout, PTPMGMTADDRTYPE=PTPMGMTADDRTYPE, DateAndTime=DateAndTime, ptpv2StatusTimescale=ptpv2StatusTimescale, ptpv2Profile=ptpv2Profile, ptpv2G82751Entry=ptpv2G82751Entry, ptpv2StatusProfile=ptpv2StatusProfile, ptpv2MulticastSyncInt=ptpv2MulticastSyncInt, ptpv2State=ptpv2State, ptpv2CommonIndex=ptpv2CommonIndex, ptpv2MulticastGroup=ptpv2MulticastGroup, ptpv2StatusClockAccuracy=ptpv2StatusClockAccuracy, ptpv2TimeScale=ptpv2TimeScale, ptpv2UocGroups=ptpv2UocGroups, ptpv2ClockID=ptpv2ClockID, ptpv2UnicastInterfaceRateTLV=ptpv2UnicastInterfaceRateTLV, ptpv2G82751Group=ptpv2G82751Group, ptpv2StatusGroup=ptpv2StatusGroup, VLANID=VLANID, ptpv2MulticastIndex=ptpv2MulticastIndex, ptpv2MulticastTable=ptpv2MulticastTable, PTPTIMESCALETYPE=PTPTIMESCALETYPE, PTPTRANSPORTTYPE=PTPTRANSPORTTYPE, ptpv2StatusEntry=ptpv2StatusEntry, ptpv2ReflectorEntry=ptpv2ReflectorEntry, ptpv2MulticastVlanId=ptpv2MulticastVlanId, ptpv2UnicastEntry=ptpv2UnicastEntry, ptpv2Config=ptpv2Config, ptpv2TwoStep=ptpv2TwoStep, ptpv2CommonTable=ptpv2CommonTable, PTPPROFILEVALUE=PTPPROFILEVALUE, ptpv2DSCPState=ptpv2DSCPState, TLatAndLon=TLatAndLon, ptpv2CommonGroup=ptpv2CommonGroup, ptpv2UnicastIndex=ptpv2UnicastIndex, ptpv2G82751LocalPriority=ptpv2G82751LocalPriority, ptpv2MaxClient=ptpv2MaxClient, ptpv2G82751Table=ptpv2G82751Table, ptpv2ClientDataGroup=ptpv2ClientDataGroup, ptpv2MulticastAnnounceInt=ptpv2MulticastAnnounceInt, G82751McAddrValue=G82751McAddrValue, ptpv2AlternateGM=ptpv2AlternateGM, ptpv2Status=ptpv2Status, TSsm=TSsm, ptpv2UnicastNeg=ptpv2UnicastNeg, ptpv2StatusIndex=ptpv2StatusIndex, ptpv2ClientDataEntry=ptpv2ClientDataEntry, ptpv2BasicCompliance=ptpv2BasicCompliance, TLocalTimeOffset=TLocalTimeOffset, ptpv2ServiceLoadAlarmThreshold=ptpv2ServiceLoadAlarmThreshold, ptpv2StatusTable=ptpv2StatusTable, ptpv2MgmtAddrMode=ptpv2MgmtAddrMode, ptpv2AnnounceLimit=ptpv2AnnounceLimit, ptpv2DSCPValue=ptpv2DSCPValue, PORTSTATEVALUE=PORTSTATEVALUE, ptpv2ReflectorTable=ptpv2ReflectorTable, symmPTPv2=symmPTPv2, ptpv2ClientDataIndex=ptpv2ClientDataIndex, ptpv2UnicastGroup=ptpv2UnicastGroup, ptpv2StatusClockID=ptpv2StatusClockID, ptpv2MulticastEntry=ptpv2MulticastEntry, ptpv2ReflectorClientTimeout=ptpv2ReflectorClientTimeout, ptpv2StatusClientLoad=ptpv2StatusClientLoad, ptpv2SyncLimit=ptpv2SyncLimit, ptpv2Priority1=ptpv2Priority1, ptpv2ReflectorIndex=ptpv2ReflectorIndex, ptpv2G82751MulticastAddr=ptpv2G82751MulticastAddr, TAntHeight=TAntHeight, ptpv2DelayLimit=ptpv2DelayLimit, ptpv2ReflectorVlanID=ptpv2ReflectorVlanID, ptpv2StatusPortEnable=ptpv2StatusPortEnable, ptpv2UnicastLeaseDurLimit=ptpv2UnicastLeaseDurLimit, ptpv2MulticastDelayInt=ptpv2MulticastDelayInt, ptpv2Conformance=ptpv2Conformance, ptpv2Dither=ptpv2Dither, ptpv2Priority2=ptpv2Priority2, ptpv2UnicastLeaseExtension=ptpv2UnicastLeaseExtension, ptpv2MulticastAnnoTimeout=ptpv2MulticastAnnoTimeout, ptpv2CommonEntry=ptpv2CommonEntry)
(integer, octet_string, object_identifier) = mibBuilder.importSymbols('ASN1', 'Integer', 'OctetString', 'ObjectIdentifier') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (constraints_union, constraints_intersection, value_size_constraint, value_range_constraint, single_value_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ConstraintsUnion', 'ConstraintsIntersection', 'ValueSizeConstraint', 'ValueRangeConstraint', 'SingleValueConstraint') (ent_physical_index,) = mibBuilder.importSymbols('ENTITY-MIB', 'entPhysicalIndex') (if_index, if_number) = mibBuilder.importSymbols('IF-MIB', 'ifIndex', 'ifNumber') (notification_group, module_compliance, object_group) = mibBuilder.importSymbols('SNMPv2-CONF', 'NotificationGroup', 'ModuleCompliance', 'ObjectGroup') (notification_type, counter64, mib_scalar, mib_table, mib_table_row, mib_table_column, integer32, time_ticks, unsigned32, object_identity, module_identity, iso, bits, mib_identifier, counter32, gauge32, ip_address) = mibBuilder.importSymbols('SNMPv2-SMI', 'NotificationType', 'Counter64', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'Integer32', 'TimeTicks', 'Unsigned32', 'ObjectIdentity', 'ModuleIdentity', 'iso', 'Bits', 'MibIdentifier', 'Counter32', 'Gauge32', 'IpAddress') (display_string, textual_convention) = mibBuilder.importSymbols('SNMPv2-TC', 'DisplayString', 'TextualConvention') (enable_value, symm_packet_service) = mibBuilder.importSymbols('SYMM-COMMON-SMI', 'EnableValue', 'symmPacketService') symm_pt_pv2 = module_identity((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1)) symmPTPv2.setRevisions(('2018-07-31 06:20',)) if mibBuilder.loadTexts: symmPTPv2.setLastUpdated('201807310620Z') if mibBuilder.loadTexts: symmPTPv2.setOrganization('Symmetricom') class Ptpprofilevalue(Integer32): subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7)) named_values = named_values(('profileTelecom2008', 1), ('profileDefault', 2), ('profileHybrid', 3), ('profileITU8265one', 4), ('profileEthernetDefault', 5), ('profileITU8275one', 6), ('profileITU8275two', 7)) class Ptptimescaletype(Integer32): subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2, 3)) named_values = named_values(('auto', 1), ('arb', 2), ('ptp', 3)) class Ptpmgmtaddrtype(Integer32): subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(0, 1)) named_values = named_values(('unicast', 0), ('multicast', 1)) class Ptptransporttype(Integer32): subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2)) named_values = named_values(('ethernet', 1), ('ipv4', 2)) class Ptpaddrmodetype(Integer32): subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(0, 1, 2)) named_values = named_values(('unicast', 0), ('multicast', 1), ('multicasthybrid', 2)) class Portstatevalue(Integer32): subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2)) named_values = named_values(('enable', 1), ('disable', 2)) class G82751Mcaddrvalue(Integer32): subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2)) named_values = named_values(('mac011b19000000', 1), ('mac0180c200000e', 2)) class Vlanid(Integer32): subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1)) named_values = named_values(('none', 1)) class Dateandtime(TextualConvention, OctetString): status = 'current' display_hint = '2d-1d-1d,1d:1d:1d.1d,1a1d:1d' subtype_spec = OctetString.subtypeSpec + constraints_union(value_size_constraint(8, 8), value_size_constraint(11, 11)) class Tlatandlon(TextualConvention, OctetString): status = 'current' display_hint = '1a1d:1d:1d.1d' subtype_spec = OctetString.subtypeSpec + value_size_constraint(5, 5) fixed_length = 5 class Tantheight(TextualConvention, OctetString): status = 'current' display_hint = '1a2d.1d' subtype_spec = OctetString.subtypeSpec + value_size_constraint(4, 4) fixed_length = 4 class Tlocaltimeoffset(TextualConvention, OctetString): status = 'current' display_hint = '1a1d:1d' subtype_spec = OctetString.subtypeSpec + value_size_constraint(3, 3) fixed_length = 3 class Tssm(TextualConvention, Integer32): status = 'current' display_hint = 'x' subtype_spec = Integer32.subtypeSpec + value_range_constraint(0, 255) ptpv2_status = mib_identifier((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 1)) ptpv2_status_table = mib_table((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 1, 1)) if mibBuilder.loadTexts: ptpv2StatusTable.setStatus('current') ptpv2_status_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 1, 1, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex'), (0, 'SYMMCOMMONPTP', 'ptpv2StatusIndex')) if mibBuilder.loadTexts: ptpv2StatusEntry.setStatus('current') ptpv2_status_index = mib_table_column((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 1, 1, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 1000))) if mibBuilder.loadTexts: ptpv2StatusIndex.setStatus('current') ptpv2_status_port_enable = mib_table_column((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 1, 1, 1, 2), enable_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ptpv2StatusPortEnable.setStatus('current') ptpv2_status_clock_id = mib_table_column((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 1, 1, 1, 3), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: ptpv2StatusClockID.setStatus('current') ptpv2_status_profile = mib_table_column((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 1, 1, 1, 4), ptpprofilevalue()).setMaxAccess('readonly') if mibBuilder.loadTexts: ptpv2StatusProfile.setStatus('current') ptpv2_status_clock_class = mib_table_column((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 1, 1, 1, 5), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: ptpv2StatusClockClass.setStatus('current') ptpv2_status_clock_accuracy = mib_table_column((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 1, 1, 1, 6), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: ptpv2StatusClockAccuracy.setStatus('current') ptpv2_status_timescale = mib_table_column((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 1, 1, 1, 7), ptptimescaletype()).setMaxAccess('readonly') if mibBuilder.loadTexts: ptpv2StatusTimescale.setStatus('current') ptpv2_status_num_client = mib_table_column((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 1, 1, 1, 8), integer32().subtype(subtypeSpec=value_range_constraint(0, 1000))).setMaxAccess('readonly') if mibBuilder.loadTexts: ptpv2StatusNumClient.setStatus('current') ptpv2_status_client_load = mib_table_column((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 1, 1, 1, 9), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: ptpv2StatusClientLoad.setStatus('current') ptpv2_client_data_table = mib_table((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 1, 2)) if mibBuilder.loadTexts: ptpv2ClientDataTable.setStatus('current') ptpv2_client_data_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 1, 2, 1)).setIndexNames((0, 'SYMMCOMMONPTP', 'ptpv2ClientDataIndex')) if mibBuilder.loadTexts: ptpv2ClientDataEntry.setStatus('current') ptpv2_client_data_index = mib_table_column((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 1, 2, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 5000))).setMaxAccess('readonly') if mibBuilder.loadTexts: ptpv2ClientDataIndex.setStatus('current') ptpv2_client_data = mib_table_column((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 1, 2, 1, 2), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: ptpv2ClientData.setStatus('current') ptpv2_config = mib_identifier((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 2)) ptpv2_common_table = mib_table((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 2, 1)) if mibBuilder.loadTexts: ptpv2CommonTable.setStatus('current') ptpv2_common_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 2, 1, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex'), (0, 'SYMMCOMMONPTP', 'ptpv2CommonIndex')) if mibBuilder.loadTexts: ptpv2CommonEntry.setStatus('current') ptpv2_common_index = mib_table_column((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 2, 1, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 1000))) if mibBuilder.loadTexts: ptpv2CommonIndex.setStatus('current') ptpv2_profile = mib_table_column((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 2, 1, 1, 2), ptpprofilevalue()).setMaxAccess('readwrite') if mibBuilder.loadTexts: ptpv2Profile.setStatus('current') ptpv2_clock_id = mib_table_column((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 2, 1, 1, 3), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: ptpv2ClockID.setStatus('current') ptpv2_priority1 = mib_table_column((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 2, 1, 1, 4), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 255))).setMaxAccess('readwrite') if mibBuilder.loadTexts: ptpv2Priority1.setStatus('current') ptpv2_priority2 = mib_table_column((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 2, 1, 1, 5), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 255))).setMaxAccess('readwrite') if mibBuilder.loadTexts: ptpv2Priority2.setStatus('current') ptpv2_domain = mib_table_column((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 2, 1, 1, 6), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 255))).setMaxAccess('readwrite') if mibBuilder.loadTexts: ptpv2Domain.setStatus('current') ptpv2_dscp_state = mib_table_column((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 2, 1, 1, 7), enable_value()).setMaxAccess('readwrite') if mibBuilder.loadTexts: ptpv2DSCPState.setStatus('current') ptpv2_dscp_value = mib_table_column((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 2, 1, 1, 8), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 63))).setMaxAccess('readwrite') if mibBuilder.loadTexts: ptpv2DSCPValue.setStatus('current') ptpv2_state = mib_table_column((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 2, 1, 1, 9), enable_value()).setMaxAccess('readwrite') if mibBuilder.loadTexts: ptpv2State.setStatus('current') ptpv2_max_client = mib_table_column((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 2, 1, 1, 10), integer32().subtype(subtypeSpec=value_range_constraint(1, 1500)).clone(500)).setMaxAccess('readwrite') if mibBuilder.loadTexts: ptpv2MaxClient.setStatus('current') ptpv2_announce_limit = mib_table_column((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 2, 1, 1, 11), integer32().subtype(subtypeSpec=value_range_constraint(-4, 4)).clone(-3)).setMaxAccess('readwrite') if mibBuilder.loadTexts: ptpv2AnnounceLimit.setStatus('current') ptpv2_sync_limit = mib_table_column((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 2, 1, 1, 12), integer32().subtype(subtypeSpec=value_range_constraint(-7, 7)).clone(-7)).setMaxAccess('readwrite') if mibBuilder.loadTexts: ptpv2SyncLimit.setStatus('current') ptpv2_delay_limit = mib_table_column((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 2, 1, 1, 13), integer32().subtype(subtypeSpec=value_range_constraint(-7, 7)).clone(-7)).setMaxAccess('readwrite') if mibBuilder.loadTexts: ptpv2DelayLimit.setStatus('current') ptpv2_two_step = mib_table_column((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 2, 1, 1, 14), enable_value()).setMaxAccess('readwrite') if mibBuilder.loadTexts: ptpv2TwoStep.setStatus('current') ptpv2_mgmt_addr_mode = mib_table_column((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 2, 1, 1, 15), ptpmgmtaddrtype()).setMaxAccess('readwrite') if mibBuilder.loadTexts: ptpv2MgmtAddrMode.setStatus('current') ptpv2_ttl = mib_table_column((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 2, 1, 1, 16), unsigned32().subtype(subtypeSpec=value_range_constraint(1, 255))).setMaxAccess('readwrite') if mibBuilder.loadTexts: ptpv2TTL.setStatus('current') ptpv2_alternate_gm = mib_table_column((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 2, 1, 1, 17), enable_value()).setMaxAccess('readwrite') if mibBuilder.loadTexts: ptpv2AlternateGM.setStatus('current') ptpv2_time_scale = mib_table_column((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 2, 1, 1, 18), ptptimescaletype()).setMaxAccess('readwrite') if mibBuilder.loadTexts: ptpv2TimeScale.setStatus('current') ptpv2_dither = mib_table_column((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 2, 1, 1, 19), enable_value()).setMaxAccess('readwrite') if mibBuilder.loadTexts: ptpv2Dither.setStatus('current') ptpv2_service_load_alarm_threshold = mib_table_column((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 2, 1, 1, 20), integer32().subtype(subtypeSpec=value_range_constraint(10, 100))).setMaxAccess('readwrite') if mibBuilder.loadTexts: ptpv2ServiceLoadAlarmThreshold.setStatus('current') ptpv2_unicast_table = mib_table((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 2, 2)) if mibBuilder.loadTexts: ptpv2UnicastTable.setStatus('current') ptpv2_unicast_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 2, 2, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex'), (0, 'SYMMCOMMONPTP', 'ptpv2UnicastIndex')) if mibBuilder.loadTexts: ptpv2UnicastEntry.setStatus('current') ptpv2_unicast_index = mib_table_column((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 2, 2, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 1000))) if mibBuilder.loadTexts: ptpv2UnicastIndex.setStatus('current') ptpv2_unicast_neg = mib_table_column((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 2, 2, 1, 2), enable_value()).setMaxAccess('readwrite') if mibBuilder.loadTexts: ptpv2UnicastNeg.setStatus('current') ptpv2_unicast_lease_dur_limit = mib_table_column((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 2, 2, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(10, 1000))).setMaxAccess('readwrite') if mibBuilder.loadTexts: ptpv2UnicastLeaseDurLimit.setStatus('current') ptpv2_unicast_interface_rate_tlv = mib_table_column((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 2, 2, 1, 4), enable_value()).setMaxAccess('readwrite') if mibBuilder.loadTexts: ptpv2UnicastInterfaceRateTLV.setStatus('current') ptpv2_unicast_lease_extension = mib_table_column((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 2, 2, 1, 5), integer32().subtype(subtypeSpec=value_range_constraint(0, 1000))).setMaxAccess('readwrite') if mibBuilder.loadTexts: ptpv2UnicastLeaseExtension.setStatus('current') ptpv2_multicast_table = mib_table((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 2, 3)) if mibBuilder.loadTexts: ptpv2MulticastTable.setStatus('current') ptpv2_multicast_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 2, 3, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex'), (0, 'SYMMCOMMONPTP', 'ptpv2MulticastIndex')) if mibBuilder.loadTexts: ptpv2MulticastEntry.setStatus('current') ptpv2_multicast_index = mib_table_column((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 2, 3, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 1000))) if mibBuilder.loadTexts: ptpv2MulticastIndex.setStatus('current') ptpv2_multicast_announce_int = mib_table_column((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 2, 3, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(-4, 4))).setMaxAccess('readwrite') if mibBuilder.loadTexts: ptpv2MulticastAnnounceInt.setStatus('current') ptpv2_multicast_sync_int = mib_table_column((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 2, 3, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(-7, 7))).setMaxAccess('readwrite') if mibBuilder.loadTexts: ptpv2MulticastSyncInt.setStatus('current') ptpv2_multicast_delay_int = mib_table_column((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 2, 3, 1, 4), integer32().subtype(subtypeSpec=value_range_constraint(-7, 7))).setMaxAccess('readwrite') if mibBuilder.loadTexts: ptpv2MulticastDelayInt.setStatus('current') ptpv2_multicast_anno_timeout = mib_table_column((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 2, 3, 1, 5), integer32().subtype(subtypeSpec=value_range_constraint(2, 10)).clone(2)).setMaxAccess('readwrite') if mibBuilder.loadTexts: ptpv2MulticastAnnoTimeout.setStatus('current') ptpv2_multicast_vlan_id = mib_table_column((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 2, 3, 1, 6), integer32().subtype(subtypeSpec=value_range_constraint(0, 4094))).setMaxAccess('readwrite') if mibBuilder.loadTexts: ptpv2MulticastVlanId.setStatus('current') ptpv2_multicast_client_timeout = mib_table_column((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 2, 3, 1, 7), integer32().subtype(subtypeSpec=value_range_constraint(10, 3600)).clone(360)).setMaxAccess('readwrite') if mibBuilder.loadTexts: ptpv2MulticastClientTimeout.setStatus('current') ptpv2_g82751_table = mib_table((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 2, 4)) if mibBuilder.loadTexts: ptpv2G82751Table.setStatus('current') ptpv2_g82751_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 2, 4, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex'), (0, 'SYMMCOMMONPTP', 'ptpv2G82751Index')) if mibBuilder.loadTexts: ptpv2G82751Entry.setStatus('current') ptpv2_g82751_index = mib_table_column((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 2, 4, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 1000))) if mibBuilder.loadTexts: ptpv2G82751Index.setStatus('current') ptpv2_g82751_multicast_addr = mib_table_column((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 2, 4, 1, 2), g82751_mc_addr_value()).setMaxAccess('readwrite') if mibBuilder.loadTexts: ptpv2G82751MulticastAddr.setStatus('current') ptpv2_g82751_local_priority = mib_table_column((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 2, 4, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(1, 255))).setMaxAccess('readwrite') if mibBuilder.loadTexts: ptpv2G82751LocalPriority.setStatus('current') ptpv2_reflector_table = mib_table((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 2, 5)) if mibBuilder.loadTexts: ptpv2ReflectorTable.setStatus('current') ptpv2_reflector_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 2, 5, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex'), (0, 'SYMMCOMMONPTP', 'ptpv2ReflectorIndex')) if mibBuilder.loadTexts: ptpv2ReflectorEntry.setStatus('current') ptpv2_reflector_index = mib_table_column((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 2, 5, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 1000))) if mibBuilder.loadTexts: ptpv2ReflectorIndex.setStatus('current') ptpv2_reflector_announce_intv = mib_table_column((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 2, 5, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(-3, 0))).setMaxAccess('readwrite') if mibBuilder.loadTexts: ptpv2ReflectorAnnounceIntv.setStatus('current') ptpv2_reflector_sync_delay_intv = mib_table_column((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 2, 5, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(-7, -4))).setMaxAccess('readwrite') if mibBuilder.loadTexts: ptpv2ReflectorSyncDelayIntv.setStatus('current') ptpv2_reflector_client_timeout = mib_table_column((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 2, 5, 1, 4), integer32().subtype(subtypeSpec=value_range_constraint(60, 1000))).setMaxAccess('readwrite') if mibBuilder.loadTexts: ptpv2ReflectorClientTimeout.setStatus('current') ptpv2_reflector_vlan_id = mib_table_column((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 2, 5, 1, 5), integer32().subtype(subtypeSpec=value_range_constraint(0, 4094))).setMaxAccess('readwrite') if mibBuilder.loadTexts: ptpv2ReflectorVlanID.setStatus('current') ptpv2_conformance = object_identity((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 3)) if mibBuilder.loadTexts: ptpv2Conformance.setStatus('current') ptpv2_compliances = mib_identifier((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 3, 1)) ptpv2_basic_compliance = module_compliance((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 3, 1, 1)).setObjects(('SYMMCOMMONPTP', 'ptpv2StatusGroup'), ('SYMMCOMMONPTP', 'ptpv2ClientDataGroup'), ('SYMMCOMMONPTP', 'ptpv2CommonGroup'), ('SYMMCOMMONPTP', 'ptpv2UnicastGroup'), ('SYMMCOMMONPTP', 'ptpv2MulticastGroup'), ('SYMMCOMMONPTP', 'ptpv2G82751Group')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ptpv2_basic_compliance = ptpv2BasicCompliance.setStatus('current') ptpv2_uoc_groups = mib_identifier((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 3, 2)) ptpv2_status_group = object_group((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 3, 2, 1)).setObjects(('SYMMCOMMONPTP', 'ptpv2StatusPortEnable'), ('SYMMCOMMONPTP', 'ptpv2StatusClockID'), ('SYMMCOMMONPTP', 'ptpv2StatusProfile'), ('SYMMCOMMONPTP', 'ptpv2StatusClockClass'), ('SYMMCOMMONPTP', 'ptpv2StatusClockAccuracy'), ('SYMMCOMMONPTP', 'ptpv2StatusTimescale'), ('SYMMCOMMONPTP', 'ptpv2StatusNumClient'), ('SYMMCOMMONPTP', 'ptpv2StatusClientLoad')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ptpv2_status_group = ptpv2StatusGroup.setStatus('current') ptpv2_client_data_group = object_group((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 3, 2, 2)).setObjects(('SYMMCOMMONPTP', 'ptpv2ClientDataIndex'), ('SYMMCOMMONPTP', 'ptpv2ClientData')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ptpv2_client_data_group = ptpv2ClientDataGroup.setStatus('current') ptpv2_common_group = object_group((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 3, 2, 3)).setObjects(('SYMMCOMMONPTP', 'ptpv2Profile'), ('SYMMCOMMONPTP', 'ptpv2ClockID'), ('SYMMCOMMONPTP', 'ptpv2Priority1'), ('SYMMCOMMONPTP', 'ptpv2Priority2'), ('SYMMCOMMONPTP', 'ptpv2Domain'), ('SYMMCOMMONPTP', 'ptpv2DSCPState'), ('SYMMCOMMONPTP', 'ptpv2DSCPValue'), ('SYMMCOMMONPTP', 'ptpv2State'), ('SYMMCOMMONPTP', 'ptpv2MaxClient'), ('SYMMCOMMONPTP', 'ptpv2AnnounceLimit'), ('SYMMCOMMONPTP', 'ptpv2SyncLimit'), ('SYMMCOMMONPTP', 'ptpv2DelayLimit'), ('SYMMCOMMONPTP', 'ptpv2TwoStep'), ('SYMMCOMMONPTP', 'ptpv2MgmtAddrMode'), ('SYMMCOMMONPTP', 'ptpv2TTL'), ('SYMMCOMMONPTP', 'ptpv2AlternateGM'), ('SYMMCOMMONPTP', 'ptpv2TimeScale'), ('SYMMCOMMONPTP', 'ptpv2Dither')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ptpv2_common_group = ptpv2CommonGroup.setStatus('current') ptpv2_unicast_group = object_group((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 3, 2, 4)).setObjects(('SYMMCOMMONPTP', 'ptpv2UnicastNeg'), ('SYMMCOMMONPTP', 'ptpv2UnicastLeaseDurLimit'), ('SYMMCOMMONPTP', 'ptpv2UnicastInterfaceRateTLV'), ('SYMMCOMMONPTP', 'ptpv2UnicastLeaseExtension')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ptpv2_unicast_group = ptpv2UnicastGroup.setStatus('current') ptpv2_multicast_group = object_group((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 3, 2, 5)).setObjects(('SYMMCOMMONPTP', 'ptpv2MulticastAnnounceInt'), ('SYMMCOMMONPTP', 'ptpv2MulticastSyncInt'), ('SYMMCOMMONPTP', 'ptpv2MulticastDelayInt'), ('SYMMCOMMONPTP', 'ptpv2MulticastAnnoTimeout'), ('SYMMCOMMONPTP', 'ptpv2MulticastVlanId'), ('SYMMCOMMONPTP', 'ptpv2MulticastClientTimeout')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ptpv2_multicast_group = ptpv2MulticastGroup.setStatus('current') ptpv2_g82751_group = object_group((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 1, 1, 3, 2, 6)).setObjects(('SYMMCOMMONPTP', 'ptpv2G82751MulticastAddr'), ('SYMMCOMMONPTP', 'ptpv2G82751LocalPriority')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ptpv2_g82751_group = ptpv2G82751Group.setStatus('current') mibBuilder.exportSymbols('SYMMCOMMONPTP', ptpv2ReflectorAnnounceIntv=ptpv2ReflectorAnnounceIntv, PYSNMP_MODULE_ID=symmPTPv2, ptpv2Domain=ptpv2Domain, ptpv2StatusClockClass=ptpv2StatusClockClass, ptpv2StatusNumClient=ptpv2StatusNumClient, ptpv2ClientDataTable=ptpv2ClientDataTable, PTPADDRMODETYPE=PTPADDRMODETYPE, ptpv2ClientData=ptpv2ClientData, ptpv2UnicastTable=ptpv2UnicastTable, ptpv2ReflectorSyncDelayIntv=ptpv2ReflectorSyncDelayIntv, ptpv2TTL=ptpv2TTL, ptpv2Compliances=ptpv2Compliances, ptpv2G82751Index=ptpv2G82751Index, ptpv2MulticastClientTimeout=ptpv2MulticastClientTimeout, PTPMGMTADDRTYPE=PTPMGMTADDRTYPE, DateAndTime=DateAndTime, ptpv2StatusTimescale=ptpv2StatusTimescale, ptpv2Profile=ptpv2Profile, ptpv2G82751Entry=ptpv2G82751Entry, ptpv2StatusProfile=ptpv2StatusProfile, ptpv2MulticastSyncInt=ptpv2MulticastSyncInt, ptpv2State=ptpv2State, ptpv2CommonIndex=ptpv2CommonIndex, ptpv2MulticastGroup=ptpv2MulticastGroup, ptpv2StatusClockAccuracy=ptpv2StatusClockAccuracy, ptpv2TimeScale=ptpv2TimeScale, ptpv2UocGroups=ptpv2UocGroups, ptpv2ClockID=ptpv2ClockID, ptpv2UnicastInterfaceRateTLV=ptpv2UnicastInterfaceRateTLV, ptpv2G82751Group=ptpv2G82751Group, ptpv2StatusGroup=ptpv2StatusGroup, VLANID=VLANID, ptpv2MulticastIndex=ptpv2MulticastIndex, ptpv2MulticastTable=ptpv2MulticastTable, PTPTIMESCALETYPE=PTPTIMESCALETYPE, PTPTRANSPORTTYPE=PTPTRANSPORTTYPE, ptpv2StatusEntry=ptpv2StatusEntry, ptpv2ReflectorEntry=ptpv2ReflectorEntry, ptpv2MulticastVlanId=ptpv2MulticastVlanId, ptpv2UnicastEntry=ptpv2UnicastEntry, ptpv2Config=ptpv2Config, ptpv2TwoStep=ptpv2TwoStep, ptpv2CommonTable=ptpv2CommonTable, PTPPROFILEVALUE=PTPPROFILEVALUE, ptpv2DSCPState=ptpv2DSCPState, TLatAndLon=TLatAndLon, ptpv2CommonGroup=ptpv2CommonGroup, ptpv2UnicastIndex=ptpv2UnicastIndex, ptpv2G82751LocalPriority=ptpv2G82751LocalPriority, ptpv2MaxClient=ptpv2MaxClient, ptpv2G82751Table=ptpv2G82751Table, ptpv2ClientDataGroup=ptpv2ClientDataGroup, ptpv2MulticastAnnounceInt=ptpv2MulticastAnnounceInt, G82751McAddrValue=G82751McAddrValue, ptpv2AlternateGM=ptpv2AlternateGM, ptpv2Status=ptpv2Status, TSsm=TSsm, ptpv2UnicastNeg=ptpv2UnicastNeg, ptpv2StatusIndex=ptpv2StatusIndex, ptpv2ClientDataEntry=ptpv2ClientDataEntry, ptpv2BasicCompliance=ptpv2BasicCompliance, TLocalTimeOffset=TLocalTimeOffset, ptpv2ServiceLoadAlarmThreshold=ptpv2ServiceLoadAlarmThreshold, ptpv2StatusTable=ptpv2StatusTable, ptpv2MgmtAddrMode=ptpv2MgmtAddrMode, ptpv2AnnounceLimit=ptpv2AnnounceLimit, ptpv2DSCPValue=ptpv2DSCPValue, PORTSTATEVALUE=PORTSTATEVALUE, ptpv2ReflectorTable=ptpv2ReflectorTable, symmPTPv2=symmPTPv2, ptpv2ClientDataIndex=ptpv2ClientDataIndex, ptpv2UnicastGroup=ptpv2UnicastGroup, ptpv2StatusClockID=ptpv2StatusClockID, ptpv2MulticastEntry=ptpv2MulticastEntry, ptpv2ReflectorClientTimeout=ptpv2ReflectorClientTimeout, ptpv2StatusClientLoad=ptpv2StatusClientLoad, ptpv2SyncLimit=ptpv2SyncLimit, ptpv2Priority1=ptpv2Priority1, ptpv2ReflectorIndex=ptpv2ReflectorIndex, ptpv2G82751MulticastAddr=ptpv2G82751MulticastAddr, TAntHeight=TAntHeight, ptpv2DelayLimit=ptpv2DelayLimit, ptpv2ReflectorVlanID=ptpv2ReflectorVlanID, ptpv2StatusPortEnable=ptpv2StatusPortEnable, ptpv2UnicastLeaseDurLimit=ptpv2UnicastLeaseDurLimit, ptpv2MulticastDelayInt=ptpv2MulticastDelayInt, ptpv2Conformance=ptpv2Conformance, ptpv2Dither=ptpv2Dither, ptpv2Priority2=ptpv2Priority2, ptpv2UnicastLeaseExtension=ptpv2UnicastLeaseExtension, ptpv2MulticastAnnoTimeout=ptpv2MulticastAnnoTimeout, ptpv2CommonEntry=ptpv2CommonEntry)
class Solution: def moveZeroes(self, nums: List[int]) -> None: non_zeros = [i for i in range(len(nums)) if nums[i] != 0] # List comprehension to keep only numbers that are non -zero nz = len(non_zeros) nums[:nz] = [nums[i] for i in non_zeros] # edit the list to add non zero numbers to the list nums[nz:] = [0] *(len(nums)-nz) #dd zeroes at the end
class Solution: def move_zeroes(self, nums: List[int]) -> None: non_zeros = [i for i in range(len(nums)) if nums[i] != 0] nz = len(non_zeros) nums[:nz] = [nums[i] for i in non_zeros] nums[nz:] = [0] * (len(nums) - nz)
DEFAULT_OCR_AUTO_OCR = True DEFAULT_OCR_BACKEND = 'mayan.apps.ocr.backends.tesseract.Tesseract' DEFAULT_OCR_BACKEND_ARGUMENTS = {'environment': {'OMP_THREAD_LIMIT': '1'}} TASK_DOCUMENT_VERSION_PAGE_OCR_RETRY_DELAY = 10 TASK_DOCUMENT_VERSION_PAGE_OCR_TIMEOUT = 10 * 60 # 10 Minutes per page
default_ocr_auto_ocr = True default_ocr_backend = 'mayan.apps.ocr.backends.tesseract.Tesseract' default_ocr_backend_arguments = {'environment': {'OMP_THREAD_LIMIT': '1'}} task_document_version_page_ocr_retry_delay = 10 task_document_version_page_ocr_timeout = 10 * 60
input() c = int(input()) a = sorted((map(int, input().split()))) a.sort(key= lambda x: x%c) print(*a)
input() c = int(input()) a = sorted(map(int, input().split())) a.sort(key=lambda x: x % c) print(*a)
def greet(name): return "Hello {}".format(name) print(greet("Alice")) def greet2(name): def greet_message(): return "Hello" return "{} {}".format(greet_message(),name) print(greet2("Alice")) def change_name_greet(func): name = "Alice" return func(name) print(change_name_greet(greet)) def upper(func): def wrapper(name): result = func(name) return result.upper() return wrapper print(upper(greet)("Alice"))
def greet(name): return 'Hello {}'.format(name) print(greet('Alice')) def greet2(name): def greet_message(): return 'Hello' return '{} {}'.format(greet_message(), name) print(greet2('Alice')) def change_name_greet(func): name = 'Alice' return func(name) print(change_name_greet(greet)) def upper(func): def wrapper(name): result = func(name) return result.upper() return wrapper print(upper(greet)('Alice'))
s = b'abc'; print(s.islower(), s) s = b'Abc'; print(s.islower(), s) s = b'ABC'; print(s.islower(), s) s = b'123'; print(s.islower(), s) s = b'(_)'; print(s.islower(), s) s = b'(abc)'; print(s.islower(), s) s = b'(aBc)'; print(s.islower(), s) s = bytearray(b'abc'); print(s.islower(), s) s = bytearray(b'Abc'); print(s.islower(), s) s = bytearray(b'ABC'); print(s.islower(), s) s = bytearray(b'123'); print(s.islower(), s) s = bytearray(b'(_)'); print(s.islower(), s) s = bytearray(b'(abc)'); print(s.islower(), s) s = bytearray(b'(aBc)'); print(s.islower(), s)
s = b'abc' print(s.islower(), s) s = b'Abc' print(s.islower(), s) s = b'ABC' print(s.islower(), s) s = b'123' print(s.islower(), s) s = b'(_)' print(s.islower(), s) s = b'(abc)' print(s.islower(), s) s = b'(aBc)' print(s.islower(), s) s = bytearray(b'abc') print(s.islower(), s) s = bytearray(b'Abc') print(s.islower(), s) s = bytearray(b'ABC') print(s.islower(), s) s = bytearray(b'123') print(s.islower(), s) s = bytearray(b'(_)') print(s.islower(), s) s = bytearray(b'(abc)') print(s.islower(), s) s = bytearray(b'(aBc)') print(s.islower(), s)
class Solution: def maxArea(self, height: List[int]) -> int: i = 0 j = len(height)-1 res = 0 area = 0 while i < j: area = min(height[i],height[j])*(j-i) #print(area) res = max(res,area) if height[i]<height[j]: i+=1 else: j-=1 return res
class Solution: def max_area(self, height: List[int]) -> int: i = 0 j = len(height) - 1 res = 0 area = 0 while i < j: area = min(height[i], height[j]) * (j - i) res = max(res, area) if height[i] < height[j]: i += 1 else: j -= 1 return res
explanations = { 'gamma': ''' Proportion of tree modifications that should use mutrel-informed choice for node to move, rather than uniform choice ''', 'zeta': ''' Proportion of tree modifications that should use mutrel-informed choice for destination to move node to, rather than uniform choice ''', 'iota': ''' Probability of initializing with mutrel-informed tree rather than fully branching tree when beginning chain ''' } defaults = { 'gamma': 0.7, 'zeta': 0.7, 'iota': 0.7, } assert set(explanations.keys()) == set(defaults.keys())
explanations = {'gamma': '\n Proportion of tree modifications that should use mutrel-informed choice for\n node to move, rather than uniform choice\n ', 'zeta': '\n Proportion of tree modifications that should use mutrel-informed choice for\n destination to move node to, rather than uniform choice\n ', 'iota': '\n Probability of initializing with mutrel-informed tree rather than fully\n branching tree when beginning chain\n '} defaults = {'gamma': 0.7, 'zeta': 0.7, 'iota': 0.7} assert set(explanations.keys()) == set(defaults.keys())
def _impl(_ctx): pass bad_attrs = rule(implementation = _impl, attrs = {"1234isntvalid": attr.int()})
def _impl(_ctx): pass bad_attrs = rule(implementation=_impl, attrs={'1234isntvalid': attr.int()})
# Copyright (c) 2017 Hristo Iliev <[email protected]> # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # * Redistributions of source code must retain the above copyright notice, this # list of conditions and the following disclaimer. # # * Redistributions in binary form must reproduce the above copyright notice, # this list of conditions and the following disclaimer in the documentation # and/or other materials provided with the distribution. # # * Neither the name of the copyright holder nor the names of its # contributors may be used to endorse or promote products derived from # this software without specific prior written permission. # # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE # DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE # FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR # SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. DMU_TYPE_DESC = [ "unallocated", # 0 "object directory", # 1 "object array", # 2 "packed nvlist", # 3 "packed nvlist size", # 4 "bpobj", # 5 "bpobj header", # 6 "SPA space map header", # 7 "SPA space map", # 8 "ZIL intent log", # 9 "DMU dnode", # 10 "DMU objset", # 11 "DSL directory", # 12 "DSL directory child map", # 13 "DSL dataset snap map", # 14 "DSL props", # 15 "DSL dataset", # 16 "ZFS znode", # 17 "ZFS V0 ACL", # 18 "ZFS plain file", # 19 "ZFS directory", # 20 "ZFS master node", # 21 "ZFS delete queue", # 22 "zvol object", # 23 "zvol prop", # 24 "other uint8[]", # 25 "other uint64[]", # 26 "other ZAP", # 27 "persistent error log", # 28 "SPA history", # 29 "SPA history offsets", # 30 "Pool properties", # 31 "DSL permissions", # 32 "ZFS ACL", # 33 "ZFS SYSACL", # 34 "FUID table", # 35 "FUID table size", # 36 "DSL dataset next clones", # 37 "scan work queue", # 38 "ZFS user/group used", # 39 "ZFS user/group quota", # 40 "snapshot refcount tags", # 41 "DDT ZAP algorithm", # 42 "DDT statistics", # 43 "System attributes", # 44 "SA master node", # 45 "SA attr registration", # 46 "SA attr layouts", # 47 "scan translations", # 48 "deduplicated block", # 49 "DSL deadlist map", # 50 "DSL deadlist map hdr", # 51 "DSL dir clones", # 52 "bpobj subobj" # 53 ] COMP_DESC = [ "invalid", "lzjb", "off", "lzjb", "empty", "gzip1", "gzip2", "gzip3", "gzip4", "gzip5", "gzip6", "gzip7", "gzip8", "gzip9", "zle", "lz4" ] CHKSUM_DESC = ["invalid", "fletcher2", "none", "SHA-256", "SHA-256", "fletcher2", "fletcher2", "fletcher4", "SHA-256"] ENDIAN_DESC = ["BE", "LE"]
dmu_type_desc = ['unallocated', 'object directory', 'object array', 'packed nvlist', 'packed nvlist size', 'bpobj', 'bpobj header', 'SPA space map header', 'SPA space map', 'ZIL intent log', 'DMU dnode', 'DMU objset', 'DSL directory', 'DSL directory child map', 'DSL dataset snap map', 'DSL props', 'DSL dataset', 'ZFS znode', 'ZFS V0 ACL', 'ZFS plain file', 'ZFS directory', 'ZFS master node', 'ZFS delete queue', 'zvol object', 'zvol prop', 'other uint8[]', 'other uint64[]', 'other ZAP', 'persistent error log', 'SPA history', 'SPA history offsets', 'Pool properties', 'DSL permissions', 'ZFS ACL', 'ZFS SYSACL', 'FUID table', 'FUID table size', 'DSL dataset next clones', 'scan work queue', 'ZFS user/group used', 'ZFS user/group quota', 'snapshot refcount tags', 'DDT ZAP algorithm', 'DDT statistics', 'System attributes', 'SA master node', 'SA attr registration', 'SA attr layouts', 'scan translations', 'deduplicated block', 'DSL deadlist map', 'DSL deadlist map hdr', 'DSL dir clones', 'bpobj subobj'] comp_desc = ['invalid', 'lzjb', 'off', 'lzjb', 'empty', 'gzip1', 'gzip2', 'gzip3', 'gzip4', 'gzip5', 'gzip6', 'gzip7', 'gzip8', 'gzip9', 'zle', 'lz4'] chksum_desc = ['invalid', 'fletcher2', 'none', 'SHA-256', 'SHA-256', 'fletcher2', 'fletcher2', 'fletcher4', 'SHA-256'] endian_desc = ['BE', 'LE']
def caesar_encode(phrase, shift): res=[] for i,j in enumerate(phrase.split()): res.append("".join(chr(ord("a")+(ord(k)-ord("a")+shift+i)%26) for k in j)) return " ".join(res)
def caesar_encode(phrase, shift): res = [] for (i, j) in enumerate(phrase.split()): res.append(''.join((chr(ord('a') + (ord(k) - ord('a') + shift + i) % 26) for k in j))) return ' '.join(res)
expected_output = { 'ints': { 'Ethernet 1/1/1': { 'ip_address': 'unassigned', 'ok': True, 'method': 'unset', 'status': 'up', 'protocol': 'up' }, 'Ethernet 1/1/2': { 'ip_address': 'unassigned', 'ok': True, 'method': 'unset', 'status': 'up', 'protocol': 'up' }, 'Ethernet 1/1/3': { 'ip_address': 'unassigned', 'ok': True, 'method': 'unset', 'status': 'up', 'protocol': 'up' }, 'Ethernet 1/1/4': { 'ip_address': 'unassigned', 'ok': True, 'method': 'unset', 'status': 'up', 'protocol': 'up' }, 'Ethernet 1/1/5': { 'ip_address': 'unassigned', 'ok': False, 'method': 'unset', 'status': 'up', 'protocol': 'down' }, 'Ethernet 1/1/6': { 'ip_address': 'unassigned', 'ok': False, 'method': 'unset', 'status': 'up', 'protocol': 'down' }, 'Ethernet 1/1/7': { 'ip_address': 'unassigned', 'ok': False, 'method': 'unset', 'status': 'up', 'protocol': 'down' }, 'Ethernet 1/1/8': { 'ip_address': 'unassigned', 'ok': False, 'method': 'unset', 'status': 'up', 'protocol': 'down' }, 'Ethernet 1/1/9': { 'ip_address': 'unassigned', 'ok': False, 'method': 'unset', 'status': 'up', 'protocol': 'down' }, 'Ethernet 1/1/10': { 'ip_address': 'unassigned', 'ok': False, 'method': 'unset', 'status': 'up', 'protocol': 'down' }, 'Ethernet 1/1/11': { 'ip_address': 'unassigned', 'ok': False, 'method': 'unset', 'status': 'up', 'protocol': 'down' }, 'Ethernet 1/1/12': { 'ip_address': 'unassigned', 'ok': False, 'method': 'unset', 'status': 'up', 'protocol': 'down' }, 'Ethernet 1/1/13': { 'ip_address': 'unassigned', 'ok': False, 'method': 'unset', 'status': 'up', 'protocol': 'down' }, 'Ethernet 1/1/14': { 'ip_address': 'unassigned', 'ok': False, 'method': 'unset', 'status': 'up', 'protocol': 'down' }, 'Ethernet 1/1/15': { 'ip_address': 'unassigned', 'ok': False, 'method': 'unset', 'status': 'up', 'protocol': 'down' }, 'Ethernet 1/1/16': { 'ip_address': 'unassigned', 'ok': False, 'method': 'unset', 'status': 'up', 'protocol': 'down' }, 'Ethernet 1/1/17': { 'ip_address': 'unassigned', 'ok': False, 'method': 'unset', 'status': 'up', 'protocol': 'down' }, 'Ethernet 1/1/18': { 'ip_address': 'unassigned', 'ok': False, 'method': 'unset', 'status': 'up', 'protocol': 'down' }, 'Ethernet 1/1/19': { 'ip_address': 'unassigned', 'ok': False, 'method': 'unset', 'status': 'up', 'protocol': 'down' }, 'Ethernet 1/1/20': { 'ip_address': 'unassigned', 'ok': False, 'method': 'unset', 'status': 'up', 'protocol': 'down' }, 'Ethernet 1/1/21': { 'ip_address': 'unassigned', 'ok': False, 'method': 'unset', 'status': 'up', 'protocol': 'down' }, 'Ethernet 1/1/22': { 'ip_address': 'unassigned', 'ok': False, 'method': 'unset', 'status': 'up', 'protocol': 'down' }, 'Ethernet 1/1/23': { 'ip_address': 'unassigned', 'ok': False, 'method': 'unset', 'status': 'up', 'protocol': 'down' }, 'Ethernet 1/1/24': { 'ip_address': 'unassigned', 'ok': False, 'method': 'unset', 'status': 'up', 'protocol': 'down' }, 'Ethernet 1/1/25': { 'ip_address': 'unassigned', 'ok': False, 'method': 'unset', 'status': 'up', 'protocol': 'down' }, 'Ethernet 1/1/26': { 'ip_address': 'unassigned', 'ok': False, 'method': 'unset', 'status': 'up', 'protocol': 'down' }, 'Ethernet 1/1/27': { 'ip_address': 'unassigned', 'ok': False, 'method': 'unset', 'status': 'up', 'protocol': 'down' }, 'Ethernet 1/1/28': { 'ip_address': 'unassigned', 'ok': False, 'method': 'unset', 'status': 'up', 'protocol': 'down' }, 'Ethernet 1/1/29': { 'ip_address': 'unassigned', 'ok': False, 'method': 'unset', 'status': 'up', 'protocol': 'down' }, 'Ethernet 1/1/30': { 'ip_address': 'unassigned', 'ok': False, 'method': 'unset', 'status': 'up', 'protocol': 'down' }, 'Ethernet 1/1/31': { 'ip_address': 'unassigned', 'ok': False, 'method': 'unset', 'status': 'up', 'protocol': 'down' }, 'Ethernet 1/1/32': { 'ip_address': 'unassigned', 'ok': False, 'method': 'unset', 'status': 'up', 'protocol': 'down' }, 'Management 1/1/1': { 'ip_address': '10.10.21.16/24', 'ok': True, 'method': 'manual', 'status': 'up', 'protocol': 'up' }, 'Vlan 1': { 'ip_address': 'unassigned', 'ok': True, 'method': 'unset', 'status': 'up', 'protocol': 'up' } } }
expected_output = {'ints': {'Ethernet 1/1/1': {'ip_address': 'unassigned', 'ok': True, 'method': 'unset', 'status': 'up', 'protocol': 'up'}, 'Ethernet 1/1/2': {'ip_address': 'unassigned', 'ok': True, 'method': 'unset', 'status': 'up', 'protocol': 'up'}, 'Ethernet 1/1/3': {'ip_address': 'unassigned', 'ok': True, 'method': 'unset', 'status': 'up', 'protocol': 'up'}, 'Ethernet 1/1/4': {'ip_address': 'unassigned', 'ok': True, 'method': 'unset', 'status': 'up', 'protocol': 'up'}, 'Ethernet 1/1/5': {'ip_address': 'unassigned', 'ok': False, 'method': 'unset', 'status': 'up', 'protocol': 'down'}, 'Ethernet 1/1/6': {'ip_address': 'unassigned', 'ok': False, 'method': 'unset', 'status': 'up', 'protocol': 'down'}, 'Ethernet 1/1/7': {'ip_address': 'unassigned', 'ok': False, 'method': 'unset', 'status': 'up', 'protocol': 'down'}, 'Ethernet 1/1/8': {'ip_address': 'unassigned', 'ok': False, 'method': 'unset', 'status': 'up', 'protocol': 'down'}, 'Ethernet 1/1/9': {'ip_address': 'unassigned', 'ok': False, 'method': 'unset', 'status': 'up', 'protocol': 'down'}, 'Ethernet 1/1/10': {'ip_address': 'unassigned', 'ok': False, 'method': 'unset', 'status': 'up', 'protocol': 'down'}, 'Ethernet 1/1/11': {'ip_address': 'unassigned', 'ok': False, 'method': 'unset', 'status': 'up', 'protocol': 'down'}, 'Ethernet 1/1/12': {'ip_address': 'unassigned', 'ok': False, 'method': 'unset', 'status': 'up', 'protocol': 'down'}, 'Ethernet 1/1/13': {'ip_address': 'unassigned', 'ok': False, 'method': 'unset', 'status': 'up', 'protocol': 'down'}, 'Ethernet 1/1/14': {'ip_address': 'unassigned', 'ok': False, 'method': 'unset', 'status': 'up', 'protocol': 'down'}, 'Ethernet 1/1/15': {'ip_address': 'unassigned', 'ok': False, 'method': 'unset', 'status': 'up', 'protocol': 'down'}, 'Ethernet 1/1/16': {'ip_address': 'unassigned', 'ok': False, 'method': 'unset', 'status': 'up', 'protocol': 'down'}, 'Ethernet 1/1/17': {'ip_address': 'unassigned', 'ok': False, 'method': 'unset', 'status': 'up', 'protocol': 'down'}, 'Ethernet 1/1/18': {'ip_address': 'unassigned', 'ok': False, 'method': 'unset', 'status': 'up', 'protocol': 'down'}, 'Ethernet 1/1/19': {'ip_address': 'unassigned', 'ok': False, 'method': 'unset', 'status': 'up', 'protocol': 'down'}, 'Ethernet 1/1/20': {'ip_address': 'unassigned', 'ok': False, 'method': 'unset', 'status': 'up', 'protocol': 'down'}, 'Ethernet 1/1/21': {'ip_address': 'unassigned', 'ok': False, 'method': 'unset', 'status': 'up', 'protocol': 'down'}, 'Ethernet 1/1/22': {'ip_address': 'unassigned', 'ok': False, 'method': 'unset', 'status': 'up', 'protocol': 'down'}, 'Ethernet 1/1/23': {'ip_address': 'unassigned', 'ok': False, 'method': 'unset', 'status': 'up', 'protocol': 'down'}, 'Ethernet 1/1/24': {'ip_address': 'unassigned', 'ok': False, 'method': 'unset', 'status': 'up', 'protocol': 'down'}, 'Ethernet 1/1/25': {'ip_address': 'unassigned', 'ok': False, 'method': 'unset', 'status': 'up', 'protocol': 'down'}, 'Ethernet 1/1/26': {'ip_address': 'unassigned', 'ok': False, 'method': 'unset', 'status': 'up', 'protocol': 'down'}, 'Ethernet 1/1/27': {'ip_address': 'unassigned', 'ok': False, 'method': 'unset', 'status': 'up', 'protocol': 'down'}, 'Ethernet 1/1/28': {'ip_address': 'unassigned', 'ok': False, 'method': 'unset', 'status': 'up', 'protocol': 'down'}, 'Ethernet 1/1/29': {'ip_address': 'unassigned', 'ok': False, 'method': 'unset', 'status': 'up', 'protocol': 'down'}, 'Ethernet 1/1/30': {'ip_address': 'unassigned', 'ok': False, 'method': 'unset', 'status': 'up', 'protocol': 'down'}, 'Ethernet 1/1/31': {'ip_address': 'unassigned', 'ok': False, 'method': 'unset', 'status': 'up', 'protocol': 'down'}, 'Ethernet 1/1/32': {'ip_address': 'unassigned', 'ok': False, 'method': 'unset', 'status': 'up', 'protocol': 'down'}, 'Management 1/1/1': {'ip_address': '10.10.21.16/24', 'ok': True, 'method': 'manual', 'status': 'up', 'protocol': 'up'}, 'Vlan 1': {'ip_address': 'unassigned', 'ok': True, 'method': 'unset', 'status': 'up', 'protocol': 'up'}}}
class Solution: def removeElement(self, nums, val): count = 0 for i in range(len(nums)): if nums[i] != val: nums[count] = nums[i] count += 1 print(count) return(count) obj = Solution() obj.removeElement([3,2,2,3], 3) obj.removeElement([0,1,2,2,3,0,4,2], 2)
class Solution: def remove_element(self, nums, val): count = 0 for i in range(len(nums)): if nums[i] != val: nums[count] = nums[i] count += 1 print(count) return count obj = solution() obj.removeElement([3, 2, 2, 3], 3) obj.removeElement([0, 1, 2, 2, 3, 0, 4, 2], 2)
#!/usr/bin/env python3 class Solution: def buddStrings(self, A, B): la, lb = len(A), len(B) if la != lb: return False diff = [i for i in range(la) if A[i] != B[i]] if len(diff) > 2 or len(diff) == 1: return False elif len(diff) == 0 and len(set(A)) == la: return False else: i, j = diff if A[i] != B[j] or A[j] != B[i]: return False return True
class Solution: def budd_strings(self, A, B): (la, lb) = (len(A), len(B)) if la != lb: return False diff = [i for i in range(la) if A[i] != B[i]] if len(diff) > 2 or len(diff) == 1: return False elif len(diff) == 0 and len(set(A)) == la: return False else: (i, j) = diff if A[i] != B[j] or A[j] != B[i]: return False return True
print('this is the first line of second.py') for x in range(20): print(x) print('this is the chunk of code added to the fourth branch') print('Im editing this file in GitHub to see if fetch finds it') print('adding this code to push to the main on the remote repository')
print('this is the first line of second.py') for x in range(20): print(x) print('this is the chunk of code added to the fourth branch') print('Im editing this file in GitHub to see if fetch finds it') print('adding this code to push to the main on the remote repository')
def count_substring(string, sub_string): k = len(sub_string) ans = 0 for i in range(len(string)): if i+k > len(string): break if sub_string == string[i:i+k]: ans += 1 return ans if __name__ == '__main__': string = input().strip() sub_string = input().strip() count = count_substring(string, sub_string) print(count)
def count_substring(string, sub_string): k = len(sub_string) ans = 0 for i in range(len(string)): if i + k > len(string): break if sub_string == string[i:i + k]: ans += 1 return ans if __name__ == '__main__': string = input().strip() sub_string = input().strip() count = count_substring(string, sub_string) print(count)
print("Hello World") my_name = input("Whats your name? ") print("Hello " + my_name) print('Did you know that your name is ' + str(len(my_name)) + ' letters long!')
print('Hello World') my_name = input('Whats your name? ') print('Hello ' + my_name) print('Did you know that your name is ' + str(len(my_name)) + ' letters long!')
default_mapping = { 'Recipient Name': 'recipient_name', 'Recipient DUNS Number': 'recipient_unique_id', 'Awarding Agency': 'awarding_toptier_agency_name', 'Awarding Agency Code': 'awarding_toptier_agency_code', 'Awarding Sub Agency': 'awarding_subtier_agency_name', 'Awarding Sub Agency Code': 'awarding_subtier_agency_code', 'Funding Agency': 'funding_toptier_agency_name', # Leave in for possible future use 'Funding Agency Code': 'funding_toptier_agency_code', # Leave in for possible future use 'Funding Sub Agency': 'funding_subtier_agency_name', # Leave in for possible future use 'Funding Sub Agency Code': 'funding_subtier_agency_code', # Leave in for possible future use 'Place of Performance City Code': 'pop_city_code', 'Place of Performance State Code': 'pop_state_code', 'Place of Performance Country Code': 'pop_country_code', 'Place of Performance Zip5': 'pop_zip5', 'Period of Performance Start Date': 'period_of_performance_start_date', 'Period of Performance Current End Date': 'period_of_performance_current_end_date', 'Description': 'description', 'Last Modified Date': 'last_modified_date', 'Base Obligation Date': 'date_signed', } award_contracts_mapping = default_mapping.copy() grant_award_mapping = default_mapping.copy() loan_award_mapping = default_mapping.copy() direct_payment_award_mapping = default_mapping.copy() other_award_mapping = default_mapping.copy() award_contracts_mapping.update({ 'Award ID': 'piid', 'Start Date': 'period_of_performance_start_date', 'End Date': 'period_of_performance_current_end_date', 'Award Amount': 'total_obligation', 'Contract Award Type': 'type_description', }) grant_award_mapping.update({ 'Award ID': 'fain', 'Start Date': 'period_of_performance_start_date', 'End Date': 'period_of_performance_current_end_date', 'Award Amount': 'total_obligation', 'Award Type': 'type_description', 'SAI Number': 'sai_number', 'CFDA Number': 'cfda_number' }) loan_award_mapping.update({ 'Award ID': 'fain', 'Issued Date': 'action_date', 'Loan Value': 'total_loan_value', 'Subsidy Cost': 'total_subsidy_cost', 'SAI Number': 'sai_number', 'CFDA Number': 'cfda_number' }) direct_payment_award_mapping.update({ 'Award ID': 'fain', 'Start Date': 'period_of_performance_start_date', 'End Date': 'period_of_performance_current_end_date', 'Award Amount': 'total_obligation', 'Award Type': 'type_description', 'SAI Number': 'sai_number', 'CFDA Number': 'cfda_number' }) other_award_mapping.update({ 'Award ID': 'fain', 'Start Date': 'period_of_performance_start_date', 'End Date': 'period_of_performance_current_end_date', 'Award Amount': 'total_obligation', 'Award Type': 'type_description', 'SAI Number': 'sai_number', 'CFDA Number': 'cfda_number' }) award_assistance_mapping = {**grant_award_mapping, **loan_award_mapping, **direct_payment_award_mapping, **other_award_mapping} non_loan_assistance_award_mapping = assistance_award_mapping = {**grant_award_mapping, **direct_payment_award_mapping, **other_award_mapping}
default_mapping = {'Recipient Name': 'recipient_name', 'Recipient DUNS Number': 'recipient_unique_id', 'Awarding Agency': 'awarding_toptier_agency_name', 'Awarding Agency Code': 'awarding_toptier_agency_code', 'Awarding Sub Agency': 'awarding_subtier_agency_name', 'Awarding Sub Agency Code': 'awarding_subtier_agency_code', 'Funding Agency': 'funding_toptier_agency_name', 'Funding Agency Code': 'funding_toptier_agency_code', 'Funding Sub Agency': 'funding_subtier_agency_name', 'Funding Sub Agency Code': 'funding_subtier_agency_code', 'Place of Performance City Code': 'pop_city_code', 'Place of Performance State Code': 'pop_state_code', 'Place of Performance Country Code': 'pop_country_code', 'Place of Performance Zip5': 'pop_zip5', 'Period of Performance Start Date': 'period_of_performance_start_date', 'Period of Performance Current End Date': 'period_of_performance_current_end_date', 'Description': 'description', 'Last Modified Date': 'last_modified_date', 'Base Obligation Date': 'date_signed'} award_contracts_mapping = default_mapping.copy() grant_award_mapping = default_mapping.copy() loan_award_mapping = default_mapping.copy() direct_payment_award_mapping = default_mapping.copy() other_award_mapping = default_mapping.copy() award_contracts_mapping.update({'Award ID': 'piid', 'Start Date': 'period_of_performance_start_date', 'End Date': 'period_of_performance_current_end_date', 'Award Amount': 'total_obligation', 'Contract Award Type': 'type_description'}) grant_award_mapping.update({'Award ID': 'fain', 'Start Date': 'period_of_performance_start_date', 'End Date': 'period_of_performance_current_end_date', 'Award Amount': 'total_obligation', 'Award Type': 'type_description', 'SAI Number': 'sai_number', 'CFDA Number': 'cfda_number'}) loan_award_mapping.update({'Award ID': 'fain', 'Issued Date': 'action_date', 'Loan Value': 'total_loan_value', 'Subsidy Cost': 'total_subsidy_cost', 'SAI Number': 'sai_number', 'CFDA Number': 'cfda_number'}) direct_payment_award_mapping.update({'Award ID': 'fain', 'Start Date': 'period_of_performance_start_date', 'End Date': 'period_of_performance_current_end_date', 'Award Amount': 'total_obligation', 'Award Type': 'type_description', 'SAI Number': 'sai_number', 'CFDA Number': 'cfda_number'}) other_award_mapping.update({'Award ID': 'fain', 'Start Date': 'period_of_performance_start_date', 'End Date': 'period_of_performance_current_end_date', 'Award Amount': 'total_obligation', 'Award Type': 'type_description', 'SAI Number': 'sai_number', 'CFDA Number': 'cfda_number'}) award_assistance_mapping = {**grant_award_mapping, **loan_award_mapping, **direct_payment_award_mapping, **other_award_mapping} non_loan_assistance_award_mapping = assistance_award_mapping = {**grant_award_mapping, **direct_payment_award_mapping, **other_award_mapping}
class Reporting(object): def __init__(self, verbose=False, debug=False): self.verbose_flag = verbose self.debug_flag = debug def error(self, msg): pass def debug(self, msg): pass def verbose(self, msg): pass
class Reporting(object): def __init__(self, verbose=False, debug=False): self.verbose_flag = verbose self.debug_flag = debug def error(self, msg): pass def debug(self, msg): pass def verbose(self, msg): pass
class Solution: def isValid(self, s: str) -> bool: if not s: return True if len(s) % 2: return False if s[0] in ']})': return False maps = {'(':')', '{':'}', '[':']'} stack = [] for char in s: if char in '({[': stack.append(char) else: if not stack: return False else: temp = stack.pop() if maps[temp] != char: return False return len(stack) == 0
class Solution: def is_valid(self, s: str) -> bool: if not s: return True if len(s) % 2: return False if s[0] in ']})': return False maps = {'(': ')', '{': '}', '[': ']'} stack = [] for char in s: if char in '({[': stack.append(char) elif not stack: return False else: temp = stack.pop() if maps[temp] != char: return False return len(stack) == 0
command = input() kids = 0 adults = 0 while command != "Christmas": peoples_age = int(command) if peoples_age <= 16: kids += 1 elif peoples_age > 16: adults += 1 command = input() if command == "Christmas": total_toys_price = kids * 5 total_sweater_price = adults * 15 print(f"Number of adults: {adults}") print(f"Number of kids: {kids}") print(f"Money for toys: {total_toys_price}") print(f"Money for sweaters: {total_sweater_price}")
command = input() kids = 0 adults = 0 while command != 'Christmas': peoples_age = int(command) if peoples_age <= 16: kids += 1 elif peoples_age > 16: adults += 1 command = input() if command == 'Christmas': total_toys_price = kids * 5 total_sweater_price = adults * 15 print(f'Number of adults: {adults}') print(f'Number of kids: {kids}') print(f'Money for toys: {total_toys_price}') print(f'Money for sweaters: {total_sweater_price}')
class Solution(object): def findBestValue(self, arr, target): arr.sort(reverse = True) while arr and target >= arr[-1]*len(arr): temp = arr[-1] target -= arr.pop() if not arr: return temp res = target / float(len(arr)) if res % 1 > 0.5: return int(res) + 1 else: return int(res) arr = [2,2,2] target = 10 res = Solution().findBestValue(arr, target) print(res)
class Solution(object): def find_best_value(self, arr, target): arr.sort(reverse=True) while arr and target >= arr[-1] * len(arr): temp = arr[-1] target -= arr.pop() if not arr: return temp res = target / float(len(arr)) if res % 1 > 0.5: return int(res) + 1 else: return int(res) arr = [2, 2, 2] target = 10 res = solution().findBestValue(arr, target) print(res)
class MockRequests: def __init__(self, ok=True, json_data=None): self.ok = ok self.json_data = json_data self.get_method_called = False def __call__(self, *args, **kwargs): self.get_method_called = True self.response = MockResponse(json_data=self.json_data) return self.response class MockResponse: def __init__(self, ok=True, json_data=None): self.ok = ok self.json_method_called = False self.json_data = json_data def json(self): self.json_method_called = True return self.json_data class MockRedis: def __init__(self, get_data=None): self.get_data = get_data self.get_method_called = False self.set_method_called = False def get(self, *args, **kwargs): self.get_method_called = True return self.get_data def set(self, *args, **kwargs): self.set_method_called = True def __call__(self, *args, **kwargs): return self
class Mockrequests: def __init__(self, ok=True, json_data=None): self.ok = ok self.json_data = json_data self.get_method_called = False def __call__(self, *args, **kwargs): self.get_method_called = True self.response = mock_response(json_data=self.json_data) return self.response class Mockresponse: def __init__(self, ok=True, json_data=None): self.ok = ok self.json_method_called = False self.json_data = json_data def json(self): self.json_method_called = True return self.json_data class Mockredis: def __init__(self, get_data=None): self.get_data = get_data self.get_method_called = False self.set_method_called = False def get(self, *args, **kwargs): self.get_method_called = True return self.get_data def set(self, *args, **kwargs): self.set_method_called = True def __call__(self, *args, **kwargs): return self
# -*- coding: utf-8 -*- class Solution: def minCostToMoveChips(self, chips): count_even, count_odd = 0, 0 for chip in chips: if chip % 2 == 0: count_even += 1 else: count_odd += 1 return min(count_even, count_odd) if __name__ == '__main__': solution = Solution() assert 1 == solution.minCostToMoveChips([1, 2, 3]) assert 2 == solution.minCostToMoveChips([2, 2, 2, 3, 3])
class Solution: def min_cost_to_move_chips(self, chips): (count_even, count_odd) = (0, 0) for chip in chips: if chip % 2 == 0: count_even += 1 else: count_odd += 1 return min(count_even, count_odd) if __name__ == '__main__': solution = solution() assert 1 == solution.minCostToMoveChips([1, 2, 3]) assert 2 == solution.minCostToMoveChips([2, 2, 2, 3, 3])
def _copy_cmd(ctx, file_list, target_dir): dest_list = [] if file_list == None or len(file_list) == 0: return dest_list shell_content = "" batch_file_name = "%s-copy-files.bat" % (ctx.label.name) bat = ctx.actions.declare_file(batch_file_name) src_file_list = [] for (src_file, relative_dest_file) in file_list: src_file_list.append(src_file) dest_file = ctx.actions.declare_file("{}/{}".format(target_dir, relative_dest_file)) dest_list.append(dest_file) shell_content += "@copy /Y \"%s\" \"%s\" >NUL\n" % ( src_file.path.replace("/", "\\"), dest_file.path.replace("/", "\\"), ) ctx.actions.write( output = bat, content = shell_content, is_executable = True, ) ctx.actions.run( inputs = src_file_list, tools = [bat], outputs = dest_list, executable = "cmd.exe", arguments = ["/C", bat.path.replace("/", "\\")], mnemonic = "CopyFile", progress_message = "Copying files", use_default_shell_env = True, ) return dest_list def _copy_bash(ctx, src_list, target_dir): dest_list = [] for (src_file, relative_dest_file) in src_list: dest_file = ctx.actions.declare_file("{}/{}".format(target_dir, relative_dest_file)) dest_list.append(dest_file) ctx.actions.run_shell( tools = [src_file], outputs = [dest_file], command = "cp -f \"$1\" \"$2\"", arguments = [src_file.path, dest_file.path], mnemonic = "CopyFile", progress_message = "Copying files", use_default_shell_env = True, ) return dest_list def copy_files(ctx, file_list, base_dest_directory, is_windows): dest_list = [] if is_windows: dest_list = _copy_cmd(ctx, file_list, base_dest_directory) else: dest_list = _copy_bash(ctx, file_list, base_dest_directory) return dest_list
def _copy_cmd(ctx, file_list, target_dir): dest_list = [] if file_list == None or len(file_list) == 0: return dest_list shell_content = '' batch_file_name = '%s-copy-files.bat' % ctx.label.name bat = ctx.actions.declare_file(batch_file_name) src_file_list = [] for (src_file, relative_dest_file) in file_list: src_file_list.append(src_file) dest_file = ctx.actions.declare_file('{}/{}'.format(target_dir, relative_dest_file)) dest_list.append(dest_file) shell_content += '@copy /Y "%s" "%s" >NUL\n' % (src_file.path.replace('/', '\\'), dest_file.path.replace('/', '\\')) ctx.actions.write(output=bat, content=shell_content, is_executable=True) ctx.actions.run(inputs=src_file_list, tools=[bat], outputs=dest_list, executable='cmd.exe', arguments=['/C', bat.path.replace('/', '\\')], mnemonic='CopyFile', progress_message='Copying files', use_default_shell_env=True) return dest_list def _copy_bash(ctx, src_list, target_dir): dest_list = [] for (src_file, relative_dest_file) in src_list: dest_file = ctx.actions.declare_file('{}/{}'.format(target_dir, relative_dest_file)) dest_list.append(dest_file) ctx.actions.run_shell(tools=[src_file], outputs=[dest_file], command='cp -f "$1" "$2"', arguments=[src_file.path, dest_file.path], mnemonic='CopyFile', progress_message='Copying files', use_default_shell_env=True) return dest_list def copy_files(ctx, file_list, base_dest_directory, is_windows): dest_list = [] if is_windows: dest_list = _copy_cmd(ctx, file_list, base_dest_directory) else: dest_list = _copy_bash(ctx, file_list, base_dest_directory) return dest_list
class Enum(object): @classmethod def parse(cls, value): options = cls.options() result = [] for k, v in options.items(): if type(v) is not int or v == 0: continue if value == 0 or (value & v) == v: result.append(v) return result @classmethod def options(cls): result = {} for key in dir(cls): if key.startswith('_'): continue result[key] = getattr(cls, key) return result class Media(Enum): All = 0 Movies = 1 Shows = 2 Seasons = 4 Episodes = 8 Lists = 16 __map__ = None @classmethod def get(cls, key): if cls.__map__ is None: cls.__map__ = { Media.Movies: 'movies', Media.Shows: 'shows', Media.Seasons: 'seasons', Media.Episodes: 'episodes', Media.Lists: 'lists' } return cls.__map__.get(key) class Data(Enum): All = 0 Collection = 1 Playback = 2 Ratings = 4 Watched = 8 Watchlist = 16 # Lists Liked = 32 Personal = 64 __attributes__ = None __map__ = None @classmethod def initialize(cls): if cls.__attributes__: return cls.__attributes__ = { Data.Collection: { 'interface': 'sync/collection', 'timestamp': 'collected_at' }, Data.Playback: { 'interface': 'sync/playback', 'timestamp': 'paused_at' }, Data.Ratings: { 'interface': 'sync/ratings', 'timestamp': 'rated_at' }, Data.Watched: { 'interface': 'sync/watched', 'timestamp': 'watched_at' }, Data.Watchlist: { 'interface': 'sync/watchlist', 'timestamp': 'watchlisted_at' }, # Lists Data.Liked: { 'interface': 'users/likes', 'timestamp': 'updated_at' }, Data.Personal: { 'interface': 'users/*/lists', 'timestamp': 'updated_at' } } @classmethod def get(cls, key): if cls.__map__ is None: cls.__map__ = { Data.Collection: 'collection', Data.Playback: 'playback', Data.Ratings: 'ratings', Data.Watched: 'watched', Data.Watchlist: 'watchlist', # Lists Data.Liked: 'liked', Data.Personal: 'personal' } return cls.__map__.get(key) @classmethod def get_interface(cls, key): return cls.get_attribute(key, 'interface') @classmethod def get_timestamp_key(cls, key): return cls.get_attribute(key, 'timestamp') @classmethod def get_attribute(cls, key, attribute): cls.initialize() attributes = cls.__attributes__.get(key) if not attributes: return None return attributes.get(attribute)
class Enum(object): @classmethod def parse(cls, value): options = cls.options() result = [] for (k, v) in options.items(): if type(v) is not int or v == 0: continue if value == 0 or value & v == v: result.append(v) return result @classmethod def options(cls): result = {} for key in dir(cls): if key.startswith('_'): continue result[key] = getattr(cls, key) return result class Media(Enum): all = 0 movies = 1 shows = 2 seasons = 4 episodes = 8 lists = 16 __map__ = None @classmethod def get(cls, key): if cls.__map__ is None: cls.__map__ = {Media.Movies: 'movies', Media.Shows: 'shows', Media.Seasons: 'seasons', Media.Episodes: 'episodes', Media.Lists: 'lists'} return cls.__map__.get(key) class Data(Enum): all = 0 collection = 1 playback = 2 ratings = 4 watched = 8 watchlist = 16 liked = 32 personal = 64 __attributes__ = None __map__ = None @classmethod def initialize(cls): if cls.__attributes__: return cls.__attributes__ = {Data.Collection: {'interface': 'sync/collection', 'timestamp': 'collected_at'}, Data.Playback: {'interface': 'sync/playback', 'timestamp': 'paused_at'}, Data.Ratings: {'interface': 'sync/ratings', 'timestamp': 'rated_at'}, Data.Watched: {'interface': 'sync/watched', 'timestamp': 'watched_at'}, Data.Watchlist: {'interface': 'sync/watchlist', 'timestamp': 'watchlisted_at'}, Data.Liked: {'interface': 'users/likes', 'timestamp': 'updated_at'}, Data.Personal: {'interface': 'users/*/lists', 'timestamp': 'updated_at'}} @classmethod def get(cls, key): if cls.__map__ is None: cls.__map__ = {Data.Collection: 'collection', Data.Playback: 'playback', Data.Ratings: 'ratings', Data.Watched: 'watched', Data.Watchlist: 'watchlist', Data.Liked: 'liked', Data.Personal: 'personal'} return cls.__map__.get(key) @classmethod def get_interface(cls, key): return cls.get_attribute(key, 'interface') @classmethod def get_timestamp_key(cls, key): return cls.get_attribute(key, 'timestamp') @classmethod def get_attribute(cls, key, attribute): cls.initialize() attributes = cls.__attributes__.get(key) if not attributes: return None return attributes.get(attribute)
class Model: def __init__(self): pass class Optimizer: def __init__(self): pass
class Model: def __init__(self): pass class Optimizer: def __init__(self): pass
currency = { 'GDP' : 1.3, 'EUR' : 1.08, 'USD' : 1.0, 'AUD' : 0.66, 'JPY' : 0.0090 } while True: intialcur = str(input('Please Enter the currency you want to convert from\n: ')).upper() while True: if intialcur in currency: break else: intialcur = str(input('Not in list. Please Enter the currency you want to convert from\n: ')).upper() intialvalue = input('Please enter the amount of that currency\n: ') while True: try: float(intialvalue) break except ValueError: intialvalue = input('Not a number. Please enter the amount of that currency\n: ') finalcur = str(input('Enter the currency you want to convert this to\n: ')).upper() while True: if finalcur in currency: break else: finalcur = str(input('Not in list. Please Enter the currency you want to convert from\n: ')).upper() finalvalue = (float(currency.get(str(intialcur))) * float(intialvalue)) / float(currency.get(str(finalcur))) print(finalvalue) decision = input('Would you like to convert more values?').lower() if decision == 'no': print('Goodbye') exit() elif decision != 'no' and decision != 'yes': decision = input('Would you like to convert more values? Please enter yes or no\n: ').lower()
currency = {'GDP': 1.3, 'EUR': 1.08, 'USD': 1.0, 'AUD': 0.66, 'JPY': 0.009} while True: intialcur = str(input('Please Enter the currency you want to convert from\n: ')).upper() while True: if intialcur in currency: break else: intialcur = str(input('Not in list. Please Enter the currency you want to convert from\n: ')).upper() intialvalue = input('Please enter the amount of that currency\n: ') while True: try: float(intialvalue) break except ValueError: intialvalue = input('Not a number. Please enter the amount of that currency\n: ') finalcur = str(input('Enter the currency you want to convert this to\n: ')).upper() while True: if finalcur in currency: break else: finalcur = str(input('Not in list. Please Enter the currency you want to convert from\n: ')).upper() finalvalue = float(currency.get(str(intialcur))) * float(intialvalue) / float(currency.get(str(finalcur))) print(finalvalue) decision = input('Would you like to convert more values?').lower() if decision == 'no': print('Goodbye') exit() elif decision != 'no' and decision != 'yes': decision = input('Would you like to convert more values? Please enter yes or no\n: ').lower()
n, a, b = map(int, input().split()) ans = 0 for i in range(1, n+1): str_i = str(i) sum = 0 for j in range(len(str_i)): sum += int(str_i[j]) if a <= sum <= b: ans +=i print(ans)
(n, a, b) = map(int, input().split()) ans = 0 for i in range(1, n + 1): str_i = str(i) sum = 0 for j in range(len(str_i)): sum += int(str_i[j]) if a <= sum <= b: ans += i print(ans)
VERSION = "0.0.2" VERSION_GUI = "0.0.2" VERSION_CUI = "0.0.0" VERSION_AUDIOCABLE = "0.0.2" VERSION_ROUTE = "0.0.2" VERSION_SETINGS = "0.0.1" CALLBACK_AUDIOCABLE_SELECTED = None CALLBACK_ROUTE_SELECTED = None SETTINGS = None CONFIGURATION = None PATH_ROOT = "" PATH_SETTINGS = ""
version = '0.0.2' version_gui = '0.0.2' version_cui = '0.0.0' version_audiocable = '0.0.2' version_route = '0.0.2' version_setings = '0.0.1' callback_audiocable_selected = None callback_route_selected = None settings = None configuration = None path_root = '' path_settings = ''
def xor_reverse(iterable): lenght = len(iterable) i = 0 while i < lenght // 2: iterable[i] ^= iterable[lenght - i - 1] iterable[lenght - i - 1] ^= iterable[i] iterable[i] ^= iterable[lenght - i - 1] i += 1 return iterable
def xor_reverse(iterable): lenght = len(iterable) i = 0 while i < lenght // 2: iterable[i] ^= iterable[lenght - i - 1] iterable[lenght - i - 1] ^= iterable[i] iterable[i] ^= iterable[lenght - i - 1] i += 1 return iterable
# -------------------------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # -------------------------------------------------------------------------------------------- # pylint: disable=line-too-long def load_arguments(commands_loader, _): with commands_loader.argument_context('apim api policy') as c: c.argument('api_id', options_list=['--api-id', '-a'], help='API revision identifier. Must be unique in the current API Management service instance.') c.argument('xml', options_list=['--xml-value', '-v'], help='The XML document value inline as a non-XML encoded string.') c.argument('xml_path', options_list=['--xml-file', '-f'], help='The path to the policy XML document.') c.argument('xml_uri', options_list=['--xml-uri', '-u'], help='The URI of the policy XML document from an HTTP endpoint accessible from the API Management service.')
def load_arguments(commands_loader, _): with commands_loader.argument_context('apim api policy') as c: c.argument('api_id', options_list=['--api-id', '-a'], help='API revision identifier. Must be unique in the current API Management service instance.') c.argument('xml', options_list=['--xml-value', '-v'], help='The XML document value inline as a non-XML encoded string.') c.argument('xml_path', options_list=['--xml-file', '-f'], help='The path to the policy XML document.') c.argument('xml_uri', options_list=['--xml-uri', '-u'], help='The URI of the policy XML document from an HTTP endpoint accessible from the API Management service.')
# Variables that contain the user credentials to access Twitter API. ACCESS_TOKEN = "570634225-AnsM63tVCpI4yeFwpj6QfSJTwm3pUx6onf30fI2Z" ACCESS_TOKEN_SECRET = "ykA5CW0lWpl3VDiIRqJ5rhJjsQc6fyt0pps22tLAywXUJ" CONSUMER_KEY = "iRwp1I7vH0cBoWNIO5w0uxURN" CONSUMER_SECRET = "5rA8XDisNbzwTueiCiZG7JXEZe5T4HRiwLbFjWMTWlyNoU35r4"
access_token = '570634225-AnsM63tVCpI4yeFwpj6QfSJTwm3pUx6onf30fI2Z' access_token_secret = 'ykA5CW0lWpl3VDiIRqJ5rhJjsQc6fyt0pps22tLAywXUJ' consumer_key = 'iRwp1I7vH0cBoWNIO5w0uxURN' consumer_secret = '5rA8XDisNbzwTueiCiZG7JXEZe5T4HRiwLbFjWMTWlyNoU35r4'
def split_data(input, output, validation_percentage=0.1): num_sets = output.shape[0] num_validation = int(num_sets * validation_percentage) return (input[:-num_validation], output[:-num_validation]), (input[-num_validation:], output[-num_validation:])
def split_data(input, output, validation_percentage=0.1): num_sets = output.shape[0] num_validation = int(num_sets * validation_percentage) return ((input[:-num_validation], output[:-num_validation]), (input[-num_validation:], output[-num_validation:]))
class Solution: def maxProfit(self, prices: List[int]) -> int: # 1st solution # O(n) time | O(1) space profit = 0 start = prices[0] end = start for i, price in enumerate(prices): if price >= end and i < len(prices) - 1: end = price else: if price >= end: profit += price - start elif end > start: profit += end - start start = price end = start return profit # 2nd Solution # O(n) time | O(1) space total = 0 for i in range(len(prices) - 1): curProfit = prices[i + 1] - prices[i] if curProfit > 0: total += curProfit return total
class Solution: def max_profit(self, prices: List[int]) -> int: profit = 0 start = prices[0] end = start for (i, price) in enumerate(prices): if price >= end and i < len(prices) - 1: end = price else: if price >= end: profit += price - start elif end > start: profit += end - start start = price end = start return profit total = 0 for i in range(len(prices) - 1): cur_profit = prices[i + 1] - prices[i] if curProfit > 0: total += curProfit return total
class Stat: def __init__(self): self.sum = {} self.sum_square = {} self.count = {} def add(self, key, value): self.count[key] = self.count.get(key, 0) + 1 self.sum[key] = self.sum.get(key, 0.0) + value self.sum_square[key] = self.sum_square.get(key, 0.0) + value ** 2 def add_dict(self, dict): for key in dict: self.add(key, dict[key]) def print_stat(self): for key in self.count: name = key count = self.count[key] sum = self.sum[key] square = self.sum_square[key] avg = sum / count std = (square / count - (avg) ** 2) ** 0.5 print("%s - count %d avg %.2g std %.2g" % (name, count, avg, std)) def get_count(self, keys): return {key: self.count.get(key, 0) for key in keys} def get_avg(self, keys): return {key: self.sum.get(key, 0) / self.count.get(key, 0) for key in keys if self.count.get(key, 0) != 0} def get_std(self, keys): return {key: (self.square.get(key, 0) / self.sum.get(key, 0) - ( self.sum.get(key, 0) / self.count.get(key, 0)) ** 2) ** 0.5 for key in keys if key in self.count}
class Stat: def __init__(self): self.sum = {} self.sum_square = {} self.count = {} def add(self, key, value): self.count[key] = self.count.get(key, 0) + 1 self.sum[key] = self.sum.get(key, 0.0) + value self.sum_square[key] = self.sum_square.get(key, 0.0) + value ** 2 def add_dict(self, dict): for key in dict: self.add(key, dict[key]) def print_stat(self): for key in self.count: name = key count = self.count[key] sum = self.sum[key] square = self.sum_square[key] avg = sum / count std = (square / count - avg ** 2) ** 0.5 print('%s - count %d avg %.2g std %.2g' % (name, count, avg, std)) def get_count(self, keys): return {key: self.count.get(key, 0) for key in keys} def get_avg(self, keys): return {key: self.sum.get(key, 0) / self.count.get(key, 0) for key in keys if self.count.get(key, 0) != 0} def get_std(self, keys): return {key: (self.square.get(key, 0) / self.sum.get(key, 0) - (self.sum.get(key, 0) / self.count.get(key, 0)) ** 2) ** 0.5 for key in keys if key in self.count}
BUY = 1 SALE = 2 OrderType = [ (BUY, 'BUY'), (SALE, 'SALE') ]
buy = 1 sale = 2 order_type = [(BUY, 'BUY'), (SALE, 'SALE')]
num = 1 val = 2 val2 = 333333 val2 = 333 val3 = 55555
num = 1 val = 2 val2 = 333333 val2 = 333 val3 = 55555
oa = ord('a') def word_score(word): return sum((ord(letter) - oa + 1) for letter in word) def high(s): print(s) return max(s.split(), key=word_score)
oa = ord('a') def word_score(word): return sum((ord(letter) - oa + 1 for letter in word)) def high(s): print(s) return max(s.split(), key=word_score)
# table definition table = { 'table_name' : 'adm_tax_cats', 'module_id' : 'adm', 'short_descr' : 'Sales tax categories', 'long_descr' : 'Sales tax categories', 'sub_types' : None, 'sub_trans' : None, 'sequence' : ['seq', [], None], 'tree_params' : None, 'roll_params' : None, 'indexes' : None, 'ledger_col' : None, 'defn_company' : None, 'data_company' : None, 'read_only' : False, } # column definitions cols = [] cols.append ({ 'col_name' : 'row_id', 'data_type' : 'AUTO', 'short_descr': 'Row id', 'long_descr' : 'Row id', 'col_head' : 'Row', 'key_field' : 'Y', 'data_source': 'gen', 'condition' : None, 'allow_null' : False, 'allow_amend': False, 'max_len' : 0, 'db_scale' : 0, 'scale_ptr' : None, 'dflt_val' : None, 'dflt_rule' : None, 'col_checks' : None, 'fkey' : None, 'choices' : None, }) cols.append ({ 'col_name' : 'created_id', 'data_type' : 'INT', 'short_descr': 'Created id', 'long_descr' : 'Created row id', 'col_head' : 'Created', 'key_field' : 'N', 'data_source': 'gen', 'condition' : None, 'allow_null' : False, 'allow_amend': False, 'max_len' : 0, 'db_scale' : 0, 'scale_ptr' : None, 'dflt_val' : '0', 'dflt_rule' : None, 'col_checks' : None, 'fkey' : None, 'choices' : None, }) cols.append ({ 'col_name' : 'deleted_id', 'data_type' : 'INT', 'short_descr': 'Deleted id', 'long_descr' : 'Deleted row id', 'col_head' : 'Deleted', 'key_field' : 'N', 'data_source': 'gen', 'condition' : None, 'allow_null' : False, 'allow_amend': False, 'max_len' : 0, 'db_scale' : 0, 'scale_ptr' : None, 'dflt_val' : '0', 'dflt_rule' : None, 'col_checks' : None, 'fkey' : None, 'choices' : None, }) cols.append ({ 'col_name' : 'tax_cat', 'data_type' : 'TEXT', 'short_descr': 'Tax category', 'long_descr' : 'Tax category', 'col_head' : 'Cat', 'key_field' : 'A', 'data_source': 'input', 'condition' : None, 'allow_null' : False, 'allow_amend': False, 'max_len' : 8, 'db_scale' : 0, 'scale_ptr' : None, 'dflt_val' : None, 'dflt_rule' : None, 'col_checks' : None, 'fkey' : None, 'choices' : None, }) cols.append ({ 'col_name' : 'descr', 'data_type' : 'TEXT', 'short_descr': 'Description', 'long_descr' : 'Description', 'col_head' : 'Description', 'key_field' : 'N', 'data_source': 'input', 'condition' : None, 'allow_null' : False, 'allow_amend': True, 'max_len' : 30, 'db_scale' : 0, 'scale_ptr' : None, 'dflt_val' : None, 'dflt_rule' : None, 'col_checks' : None, 'fkey' : None, 'choices' : None, }) cols.append ({ 'col_name' : 'seq', 'data_type' : 'INT', 'short_descr': 'Sequence', 'long_descr' : 'Sequence', 'col_head' : 'Seq', 'key_field' : 'N', 'data_source': 'seq', 'condition' : None, 'allow_null' : False, 'allow_amend': True, 'max_len' : 0, 'db_scale' : 0, 'scale_ptr' : None, 'dflt_val' : None, 'dflt_rule' : None, 'col_checks' : None, 'fkey' : None, 'choices' : None, }) cols.append ({ 'col_name' : 'scale', 'data_type' : 'INT', 'short_descr': 'No of decimals', 'long_descr' : 'No of decimals', 'col_head' : 'Scale', 'key_field' : 'N', 'data_source': 'input', 'condition' : None, 'allow_null' : False, 'allow_amend': False, 'max_len' : 0, 'db_scale' : 0, 'scale_ptr' : None, 'dflt_val' : '2', 'dflt_rule' : None, 'col_checks' : None, 'fkey' : None, 'choices' : None, }) cols.append ({ 'col_name' : 'gl_code_id', 'data_type' : 'INT', 'short_descr': 'Gl account code', 'long_descr' : 'Gl account code', 'col_head' : 'Gl acc', 'key_field' : 'N', 'data_source': 'null_if', 'condition' : [['where', '', '_param.gl_integration', 'is', '$False', '']], 'allow_null' : True, # null means 'not integrated to g/l' 'allow_amend': [['where', '', '$value', 'is', '$None', '']], 'max_len' : 0, 'db_scale' : 0, 'scale_ptr' : None, 'dflt_val' : None, 'dflt_rule' : None, 'col_checks' : [ [ 'gl_code', 'G/l code required if gl integration specified', [ ['check', '(', '_param.gl_integration', 'is', '$False', ''], ['and', '', '$value', 'is', '$None', ')'], ['or', '(', '_param.gl_integration', 'is', '$True', ''], ['and', '', '$value', 'is not', '$None', ')'], ], ], ], 'fkey' : ['gl_codes', 'row_id', 'gl_code', 'gl_code', False, 'gl_codes'], 'choices' : None, }) cols.append ({ 'col_name' : 'location_row_id', 'data_type' : 'INT', 'short_descr': 'Location row id', 'long_descr' : 'Location row id. If gl integration, must be subset of gl_code_id>valid_loc_ids.', 'col_head' : 'Location', 'key_field' : 'N', 'data_source': 'dflt_if', 'condition' : [['where', '', '_param.location_row_id', 'is not', '$None', '']], 'allow_null' : False, 'allow_amend': False, 'max_len' : 0, 'db_scale' : 0, 'scale_ptr' : None, 'dflt_val' : None, 'dflt_rule' : ( '<case>' '<compare test="[[`if`, ``, `_param.location_row_id`, `is not`, `$None`, ``]]">' '<fld_val name="_param.location_row_id"/>' '</compare>' '<compare test="[[`if`, ``, `gl_code_id`, `is not`, `$None`, ``]]">' '<case>' '<compare test="[[`if`, ``, `gl_code_id>valid_loc_ids>is_leaf`, `is`, `$True`, ``]]">' '<fld_val name="gl_code_id>valid_loc_ids"/>' '</compare>' '</case>' '</compare>' '<default>' '<fld_val name="_param.dflt_loc_row_id"/>' '</default>' '</case>' ), 'col_checks' : [ [ 'location_code', 'Invalid location', [ ['check', '', '_param.gl_integration', 'is', '$False', ''], ['or', '', '$value', '=', 'gl_code_id>valid_loc_ids', ''], ['or', '', '$value', 'pyfunc', 'db.checks.valid_loc_id,"gl_code_id"', ''], ], ], ], 'fkey' : ['adm_locations', 'row_id', 'location_id', 'location_id', False, 'locs'], 'choices' : None, }) cols.append ({ 'col_name' : 'function_row_id', 'data_type' : 'INT', 'short_descr': 'Function row id', 'long_descr' : 'Function row id. If gl integration, must be subset of gl_code_id>valid_fun_ids.', 'col_head' : 'Function', 'key_field' : 'N', 'data_source': 'dflt_if', 'condition' : [['where', '', '_param.function_row_id', 'is not', '$None', '']], 'allow_null' : False, 'allow_amend': False, 'max_len' : 0, 'db_scale' : 0, 'scale_ptr' : None, 'dflt_val' : '{_param.function_row_id}', 'dflt_rule' : ( '<case>' '<compare test="[[`if`, ``, `_param.function_row_id`, `is not`, `$None`, ``]]">' '<fld_val name="_param.function_row_id"/>' '</compare>' '<compare test="[[`if`, ``, `gl_code_id`, `is not`, `$None`, ``]]">' '<case>' '<compare test="[[`if`, ``, `gl_code_id>valid_fun_ids>is_leaf`, `is`, `$True`, ``]]">' '<fld_val name="gl_code_id>valid_fun_ids"/>' '</compare>' '</case>' '</compare>' '<default>' '<fld_val name="_param.dflt_fun_row_id"/>' '</default>' '</case>' ), 'col_checks' : [ [ 'function_code', 'Invalid function', [ ['check', '', '_param.gl_integration', 'is', '$False', ''], ['or', '', '$value', '=', 'gl_code_id>valid_fun_ids', ''], ['or', '', '$value', 'pyfunc', 'db.checks.valid_fun_id,"gl_code_id"', ''], ], ], ], 'fkey' : ['adm_functions', 'row_id', 'function_id', 'function_id', False, 'funs'], 'choices' : None, }) # virtual column definitions virt = [] # cursor definitions cursors = [] cursors.append({ 'cursor_name': 'tax_cats', 'title': 'Maintain sales tax categories', 'columns': [ ['tax_cat', 80, False, False], ['descr', 200, True, False], ['scale', 80, False, False], ], 'filter': [], 'sequence': [['seq', False]], }) # actions actions = []
table = {'table_name': 'adm_tax_cats', 'module_id': 'adm', 'short_descr': 'Sales tax categories', 'long_descr': 'Sales tax categories', 'sub_types': None, 'sub_trans': None, 'sequence': ['seq', [], None], 'tree_params': None, 'roll_params': None, 'indexes': None, 'ledger_col': None, 'defn_company': None, 'data_company': None, 'read_only': False} cols = [] cols.append({'col_name': 'row_id', 'data_type': 'AUTO', 'short_descr': 'Row id', 'long_descr': 'Row id', 'col_head': 'Row', 'key_field': 'Y', 'data_source': 'gen', 'condition': None, 'allow_null': False, 'allow_amend': False, 'max_len': 0, 'db_scale': 0, 'scale_ptr': None, 'dflt_val': None, 'dflt_rule': None, 'col_checks': None, 'fkey': None, 'choices': None}) cols.append({'col_name': 'created_id', 'data_type': 'INT', 'short_descr': 'Created id', 'long_descr': 'Created row id', 'col_head': 'Created', 'key_field': 'N', 'data_source': 'gen', 'condition': None, 'allow_null': False, 'allow_amend': False, 'max_len': 0, 'db_scale': 0, 'scale_ptr': None, 'dflt_val': '0', 'dflt_rule': None, 'col_checks': None, 'fkey': None, 'choices': None}) cols.append({'col_name': 'deleted_id', 'data_type': 'INT', 'short_descr': 'Deleted id', 'long_descr': 'Deleted row id', 'col_head': 'Deleted', 'key_field': 'N', 'data_source': 'gen', 'condition': None, 'allow_null': False, 'allow_amend': False, 'max_len': 0, 'db_scale': 0, 'scale_ptr': None, 'dflt_val': '0', 'dflt_rule': None, 'col_checks': None, 'fkey': None, 'choices': None}) cols.append({'col_name': 'tax_cat', 'data_type': 'TEXT', 'short_descr': 'Tax category', 'long_descr': 'Tax category', 'col_head': 'Cat', 'key_field': 'A', 'data_source': 'input', 'condition': None, 'allow_null': False, 'allow_amend': False, 'max_len': 8, 'db_scale': 0, 'scale_ptr': None, 'dflt_val': None, 'dflt_rule': None, 'col_checks': None, 'fkey': None, 'choices': None}) cols.append({'col_name': 'descr', 'data_type': 'TEXT', 'short_descr': 'Description', 'long_descr': 'Description', 'col_head': 'Description', 'key_field': 'N', 'data_source': 'input', 'condition': None, 'allow_null': False, 'allow_amend': True, 'max_len': 30, 'db_scale': 0, 'scale_ptr': None, 'dflt_val': None, 'dflt_rule': None, 'col_checks': None, 'fkey': None, 'choices': None}) cols.append({'col_name': 'seq', 'data_type': 'INT', 'short_descr': 'Sequence', 'long_descr': 'Sequence', 'col_head': 'Seq', 'key_field': 'N', 'data_source': 'seq', 'condition': None, 'allow_null': False, 'allow_amend': True, 'max_len': 0, 'db_scale': 0, 'scale_ptr': None, 'dflt_val': None, 'dflt_rule': None, 'col_checks': None, 'fkey': None, 'choices': None}) cols.append({'col_name': 'scale', 'data_type': 'INT', 'short_descr': 'No of decimals', 'long_descr': 'No of decimals', 'col_head': 'Scale', 'key_field': 'N', 'data_source': 'input', 'condition': None, 'allow_null': False, 'allow_amend': False, 'max_len': 0, 'db_scale': 0, 'scale_ptr': None, 'dflt_val': '2', 'dflt_rule': None, 'col_checks': None, 'fkey': None, 'choices': None}) cols.append({'col_name': 'gl_code_id', 'data_type': 'INT', 'short_descr': 'Gl account code', 'long_descr': 'Gl account code', 'col_head': 'Gl acc', 'key_field': 'N', 'data_source': 'null_if', 'condition': [['where', '', '_param.gl_integration', 'is', '$False', '']], 'allow_null': True, 'allow_amend': [['where', '', '$value', 'is', '$None', '']], 'max_len': 0, 'db_scale': 0, 'scale_ptr': None, 'dflt_val': None, 'dflt_rule': None, 'col_checks': [['gl_code', 'G/l code required if gl integration specified', [['check', '(', '_param.gl_integration', 'is', '$False', ''], ['and', '', '$value', 'is', '$None', ')'], ['or', '(', '_param.gl_integration', 'is', '$True', ''], ['and', '', '$value', 'is not', '$None', ')']]]], 'fkey': ['gl_codes', 'row_id', 'gl_code', 'gl_code', False, 'gl_codes'], 'choices': None}) cols.append({'col_name': 'location_row_id', 'data_type': 'INT', 'short_descr': 'Location row id', 'long_descr': 'Location row id. If gl integration, must be subset of gl_code_id>valid_loc_ids.', 'col_head': 'Location', 'key_field': 'N', 'data_source': 'dflt_if', 'condition': [['where', '', '_param.location_row_id', 'is not', '$None', '']], 'allow_null': False, 'allow_amend': False, 'max_len': 0, 'db_scale': 0, 'scale_ptr': None, 'dflt_val': None, 'dflt_rule': '<case><compare test="[[`if`, ``, `_param.location_row_id`, `is not`, `$None`, ``]]"><fld_val name="_param.location_row_id"/></compare><compare test="[[`if`, ``, `gl_code_id`, `is not`, `$None`, ``]]"><case><compare test="[[`if`, ``, `gl_code_id>valid_loc_ids>is_leaf`, `is`, `$True`, ``]]"><fld_val name="gl_code_id>valid_loc_ids"/></compare></case></compare><default><fld_val name="_param.dflt_loc_row_id"/></default></case>', 'col_checks': [['location_code', 'Invalid location', [['check', '', '_param.gl_integration', 'is', '$False', ''], ['or', '', '$value', '=', 'gl_code_id>valid_loc_ids', ''], ['or', '', '$value', 'pyfunc', 'db.checks.valid_loc_id,"gl_code_id"', '']]]], 'fkey': ['adm_locations', 'row_id', 'location_id', 'location_id', False, 'locs'], 'choices': None}) cols.append({'col_name': 'function_row_id', 'data_type': 'INT', 'short_descr': 'Function row id', 'long_descr': 'Function row id. If gl integration, must be subset of gl_code_id>valid_fun_ids.', 'col_head': 'Function', 'key_field': 'N', 'data_source': 'dflt_if', 'condition': [['where', '', '_param.function_row_id', 'is not', '$None', '']], 'allow_null': False, 'allow_amend': False, 'max_len': 0, 'db_scale': 0, 'scale_ptr': None, 'dflt_val': '{_param.function_row_id}', 'dflt_rule': '<case><compare test="[[`if`, ``, `_param.function_row_id`, `is not`, `$None`, ``]]"><fld_val name="_param.function_row_id"/></compare><compare test="[[`if`, ``, `gl_code_id`, `is not`, `$None`, ``]]"><case><compare test="[[`if`, ``, `gl_code_id>valid_fun_ids>is_leaf`, `is`, `$True`, ``]]"><fld_val name="gl_code_id>valid_fun_ids"/></compare></case></compare><default><fld_val name="_param.dflt_fun_row_id"/></default></case>', 'col_checks': [['function_code', 'Invalid function', [['check', '', '_param.gl_integration', 'is', '$False', ''], ['or', '', '$value', '=', 'gl_code_id>valid_fun_ids', ''], ['or', '', '$value', 'pyfunc', 'db.checks.valid_fun_id,"gl_code_id"', '']]]], 'fkey': ['adm_functions', 'row_id', 'function_id', 'function_id', False, 'funs'], 'choices': None}) virt = [] cursors = [] cursors.append({'cursor_name': 'tax_cats', 'title': 'Maintain sales tax categories', 'columns': [['tax_cat', 80, False, False], ['descr', 200, True, False], ['scale', 80, False, False]], 'filter': [], 'sequence': [['seq', False]]}) actions = []
li = [] nli = [] n = int(input()) for i in range(n): li.append(input()) nli.append([i]) a=0 #print(nli) for i in range(n-1): a,b = map(int,input().split()) a-=1 b-=1 nli[a]+=nli[b] nli[b] = [] res = "" for i in range(n): print(li[nli[a][i]],sep='',end='')
li = [] nli = [] n = int(input()) for i in range(n): li.append(input()) nli.append([i]) a = 0 for i in range(n - 1): (a, b) = map(int, input().split()) a -= 1 b -= 1 nli[a] += nli[b] nli[b] = [] res = '' for i in range(n): print(li[nli[a][i]], sep='', end='')
names = ['John', 'Mary'] print(names) names[0], names[1] = names[1], names[0] print(names)
names = ['John', 'Mary'] print(names) (names[0], names[1]) = (names[1], names[0]) print(names)
number = int(input()) for numbers in range(1111, 9999): is_Magic = True number_as_string = str(numbers) for digit in number_as_string: if int(digit) == 0: is_Magic = False break elif number % int(digit) != 0: is_Magic = False break if is_Magic: print(f"{number_as_string}", end=" ")
number = int(input()) for numbers in range(1111, 9999): is__magic = True number_as_string = str(numbers) for digit in number_as_string: if int(digit) == 0: is__magic = False break elif number % int(digit) != 0: is__magic = False break if is_Magic: print(f'{number_as_string}', end=' ')
def myfnc(x): print("inside myfnc", x) x = 10 print("inside myfnc", x) x = 20 myfnc(x) print(x)
def myfnc(x): print('inside myfnc', x) x = 10 print('inside myfnc', x) x = 20 myfnc(x) print(x)
class Solution: def reverse(self, x: int) -> int: self.setLimit(x) result = 0 while x != 0: tail: int = self.mod10(x) if self.overflow(result, tail): return 0 result = result * 10 + tail x = self.divide10(x) return result def mod10(self, x: int) -> int: return x % 10 if x >= 0 else -(-x % 10) def divide10(self, x: int) -> int: return x // 10 if x >= 0 else -(-x // 10) def overflow(self, body: int, tail: int) -> bool: if self.sign > 0: return body > self.limitInt32Body or (body == self.limitInt32Body and tail > self.limitInt32Tail) else: return body < self.limitInt32Body or (body == self.limitInt32Body and tail < self.limitInt32Tail) def setLimit(self, x: int): self.sign: int = 1 if x >= 0 else -1 self.limitInt32: int = 0x7fffffff if self.sign > 0 else -0x80000000 self.limitInt32Tail: int = self.mod10(self.limitInt32) self.limitInt32Body: int = self.divide10(self.limitInt32) if __name__ == '__main__': s = Solution() print(s.reverse(-10))
class Solution: def reverse(self, x: int) -> int: self.setLimit(x) result = 0 while x != 0: tail: int = self.mod10(x) if self.overflow(result, tail): return 0 result = result * 10 + tail x = self.divide10(x) return result def mod10(self, x: int) -> int: return x % 10 if x >= 0 else -(-x % 10) def divide10(self, x: int) -> int: return x // 10 if x >= 0 else -(-x // 10) def overflow(self, body: int, tail: int) -> bool: if self.sign > 0: return body > self.limitInt32Body or (body == self.limitInt32Body and tail > self.limitInt32Tail) else: return body < self.limitInt32Body or (body == self.limitInt32Body and tail < self.limitInt32Tail) def set_limit(self, x: int): self.sign: int = 1 if x >= 0 else -1 self.limitInt32: int = 2147483647 if self.sign > 0 else -2147483648 self.limitInt32Tail: int = self.mod10(self.limitInt32) self.limitInt32Body: int = self.divide10(self.limitInt32) if __name__ == '__main__': s = solution() print(s.reverse(-10))
del_items(0x80114B24) SetType(0x80114B24, "int NumOfMonsterListLevels") del_items(0x800A49E4) SetType(0x800A49E4, "struct MonstLevel AllLevels[16]") del_items(0x80114820) SetType(0x80114820, "unsigned char NumsLEV1M1A[4]") del_items(0x80114824) SetType(0x80114824, "unsigned char NumsLEV1M1B[4]") del_items(0x80114828) SetType(0x80114828, "unsigned char NumsLEV1M1C[5]") del_items(0x80114830) SetType(0x80114830, "unsigned char NumsLEV2M2A[4]") del_items(0x80114834) SetType(0x80114834, "unsigned char NumsLEV2M2B[4]") del_items(0x80114838) SetType(0x80114838, "unsigned char NumsLEV2M2C[3]") del_items(0x8011483C) SetType(0x8011483C, "unsigned char NumsLEV2M2D[4]") del_items(0x80114840) SetType(0x80114840, "unsigned char NumsLEV2M2QA[4]") del_items(0x80114844) SetType(0x80114844, "unsigned char NumsLEV2M2QB[4]") del_items(0x80114848) SetType(0x80114848, "unsigned char NumsLEV3M3A[4]") del_items(0x8011484C) SetType(0x8011484C, "unsigned char NumsLEV3M3QA[3]") del_items(0x80114850) SetType(0x80114850, "unsigned char NumsLEV3M3B[4]") del_items(0x80114854) SetType(0x80114854, "unsigned char NumsLEV3M3C[4]") del_items(0x80114858) SetType(0x80114858, "unsigned char NumsLEV4M4A[4]") del_items(0x8011485C) SetType(0x8011485C, "unsigned char NumsLEV4M4QA[4]") del_items(0x80114860) SetType(0x80114860, "unsigned char NumsLEV4M4B[4]") del_items(0x80114864) SetType(0x80114864, "unsigned char NumsLEV4M4QB[5]") del_items(0x8011486C) SetType(0x8011486C, "unsigned char NumsLEV4M4C[4]") del_items(0x80114870) SetType(0x80114870, "unsigned char NumsLEV4M4QC[5]") del_items(0x80114878) SetType(0x80114878, "unsigned char NumsLEV4M4D[4]") del_items(0x8011487C) SetType(0x8011487C, "unsigned char NumsLEV5M5A[4]") del_items(0x80114880) SetType(0x80114880, "unsigned char NumsLEV5M5B[4]") del_items(0x80114884) SetType(0x80114884, "unsigned char NumsLEV5M5C[4]") del_items(0x80114888) SetType(0x80114888, "unsigned char NumsLEV5M5D[4]") del_items(0x8011488C) SetType(0x8011488C, "unsigned char NumsLEV5M5E[4]") del_items(0x80114890) SetType(0x80114890, "unsigned char NumsLEV5M5F[3]") del_items(0x80114894) SetType(0x80114894, "unsigned char NumsLEV5M5QA[4]") del_items(0x80114898) SetType(0x80114898, "unsigned char NumsLEV6M6A[5]") del_items(0x801148A0) SetType(0x801148A0, "unsigned char NumsLEV6M6B[3]") del_items(0x801148A4) SetType(0x801148A4, "unsigned char NumsLEV6M6C[4]") del_items(0x801148A8) SetType(0x801148A8, "unsigned char NumsLEV6M6D[3]") del_items(0x801148AC) SetType(0x801148AC, "unsigned char NumsLEV6M6E[3]") del_items(0x801148B0) SetType(0x801148B0, "unsigned char NumsLEV7M7A[4]") del_items(0x801148B4) SetType(0x801148B4, "unsigned char NumsLEV7M7B[4]") del_items(0x801148B8) SetType(0x801148B8, "unsigned char NumsLEV7M7C[3]") del_items(0x801148BC) SetType(0x801148BC, "unsigned char NumsLEV7M7D[2]") del_items(0x801148C0) SetType(0x801148C0, "unsigned char NumsLEV7M7E[2]") del_items(0x801148C4) SetType(0x801148C4, "unsigned char NumsLEV8M8QA[2]") del_items(0x801148C8) SetType(0x801148C8, "unsigned char NumsLEV8M8A[3]") del_items(0x801148CC) SetType(0x801148CC, "unsigned char NumsLEV8M8B[4]") del_items(0x801148D0) SetType(0x801148D0, "unsigned char NumsLEV8M8C[3]") del_items(0x801148D4) SetType(0x801148D4, "unsigned char NumsLEV8M8D[2]") del_items(0x801148D8) SetType(0x801148D8, "unsigned char NumsLEV8M8E[2]") del_items(0x801148DC) SetType(0x801148DC, "unsigned char NumsLEV9M9A[4]") del_items(0x801148E0) SetType(0x801148E0, "unsigned char NumsLEV9M9B[3]") del_items(0x801148E4) SetType(0x801148E4, "unsigned char NumsLEV9M9C[2]") del_items(0x801148E8) SetType(0x801148E8, "unsigned char NumsLEV9M9D[2]") del_items(0x801148EC) SetType(0x801148EC, "unsigned char NumsLEV10M10A[3]") del_items(0x801148F0) SetType(0x801148F0, "unsigned char NumsLEV10M10B[2]") del_items(0x801148F4) SetType(0x801148F4, "unsigned char NumsLEV10M10C[2]") del_items(0x801148F8) SetType(0x801148F8, "unsigned char NumsLEV10M10D[2]") del_items(0x801148FC) SetType(0x801148FC, "unsigned char NumsLEV10M10QA[3]") del_items(0x80114900) SetType(0x80114900, "unsigned char NumsLEV11M11A[3]") del_items(0x80114904) SetType(0x80114904, "unsigned char NumsLEV11M11B[3]") del_items(0x80114908) SetType(0x80114908, "unsigned char NumsLEV11M11C[3]") del_items(0x8011490C) SetType(0x8011490C, "unsigned char NumsLEV11M11D[3]") del_items(0x80114910) SetType(0x80114910, "unsigned char NumsLEV11M11E[2]") del_items(0x80114914) SetType(0x80114914, "unsigned char NumsLEV12M12A[3]") del_items(0x80114918) SetType(0x80114918, "unsigned char NumsLEV12M12B[3]") del_items(0x8011491C) SetType(0x8011491C, "unsigned char NumsLEV12M12C[3]") del_items(0x80114920) SetType(0x80114920, "unsigned char NumsLEV12M12D[3]") del_items(0x80114924) SetType(0x80114924, "unsigned char NumsLEV13M13A[3]") del_items(0x80114928) SetType(0x80114928, "unsigned char NumsLEV13M13B[2]") del_items(0x8011492C) SetType(0x8011492C, "unsigned char NumsLEV13M13QB[3]") del_items(0x80114930) SetType(0x80114930, "unsigned char NumsLEV13M13C[3]") del_items(0x80114934) SetType(0x80114934, "unsigned char NumsLEV13M13D[2]") del_items(0x80114938) SetType(0x80114938, "unsigned char NumsLEV14M14A[3]") del_items(0x8011493C) SetType(0x8011493C, "unsigned char NumsLEV14M14B[3]") del_items(0x80114940) SetType(0x80114940, "unsigned char NumsLEV14M14QB[3]") del_items(0x80114944) SetType(0x80114944, "unsigned char NumsLEV14M14C[3]") del_items(0x80114948) SetType(0x80114948, "unsigned char NumsLEV14M14D[3]") del_items(0x8011494C) SetType(0x8011494C, "unsigned char NumsLEV14M14E[2]") del_items(0x80114950) SetType(0x80114950, "unsigned char NumsLEV15M15A[3]") del_items(0x80114954) SetType(0x80114954, "unsigned char NumsLEV15M15B[3]") del_items(0x80114958) SetType(0x80114958, "unsigned char NumsLEV15M15C[2]") del_items(0x8011495C) SetType(0x8011495C, "unsigned char NumsLEV16M16D[2]") del_items(0x800A4524) SetType(0x800A4524, "struct MonstList ChoiceListLEV1[3]") del_items(0x800A4554) SetType(0x800A4554, "struct MonstList ChoiceListLEV2[6]") del_items(0x800A45B4) SetType(0x800A45B4, "struct MonstList ChoiceListLEV3[4]") del_items(0x800A45F4) SetType(0x800A45F4, "struct MonstList ChoiceListLEV4[7]") del_items(0x800A4664) SetType(0x800A4664, "struct MonstList ChoiceListLEV5[7]") del_items(0x800A46D4) SetType(0x800A46D4, "struct MonstList ChoiceListLEV6[5]") del_items(0x800A4724) SetType(0x800A4724, "struct MonstList ChoiceListLEV7[5]") del_items(0x800A4774) SetType(0x800A4774, "struct MonstList ChoiceListLEV8[6]") del_items(0x800A47D4) SetType(0x800A47D4, "struct MonstList ChoiceListLEV9[4]") del_items(0x800A4814) SetType(0x800A4814, "struct MonstList ChoiceListLEV10[5]") del_items(0x800A4864) SetType(0x800A4864, "struct MonstList ChoiceListLEV11[5]") del_items(0x800A48B4) SetType(0x800A48B4, "struct MonstList ChoiceListLEV12[4]") del_items(0x800A48F4) SetType(0x800A48F4, "struct MonstList ChoiceListLEV13[5]") del_items(0x800A4944) SetType(0x800A4944, "struct MonstList ChoiceListLEV14[6]") del_items(0x800A49A4) SetType(0x800A49A4, "struct MonstList ChoiceListLEV15[3]") del_items(0x800A49D4) SetType(0x800A49D4, "struct MonstList ChoiceListLEV16[1]") del_items(0x80116354) SetType(0x80116354, "struct TASK *GameTaskPtr") del_items(0x800A4A64) SetType(0x800A4A64, "struct LOAD_IMAGE_ARGS AllArgs[30]") del_items(0x80114B34) SetType(0x80114B34, "int ArgsSoFar") del_items(0x80114B38) SetType(0x80114B38, "unsigned long *ThisOt") del_items(0x80114B3C) SetType(0x80114B3C, "struct POLY_FT4 *ThisPrimAddr") del_items(0x80116358) SetType(0x80116358, "long hndPrimBuffers") del_items(0x8011635C) SetType(0x8011635C, "struct PRIM_BUFFER *PrimBuffers") del_items(0x80116360) SetType(0x80116360, "unsigned char BufferDepth") del_items(0x80116361) SetType(0x80116361, "unsigned char WorkRamId") del_items(0x80116362) SetType(0x80116362, "unsigned char ScrNum") del_items(0x80116364) SetType(0x80116364, "struct SCREEN_ENV *Screens") del_items(0x80116368) SetType(0x80116368, "struct PRIM_BUFFER *PbToClear") del_items(0x8011636C) SetType(0x8011636C, "unsigned char BufferNum") del_items(0x80114B40) SetType(0x80114B40, "struct POLY_FT4 *AddrToAvoid") del_items(0x8011636D) SetType(0x8011636D, "unsigned char LastBuffer") del_items(0x80116370) SetType(0x80116370, "struct DISPENV *DispEnvToPut") del_items(0x80116374) SetType(0x80116374, "int ThisOtSize") del_items(0x80114B44) SetType(0x80114B44, "struct RECT ScrRect") del_items(0x80116378) SetType(0x80116378, "int VidWait") del_items(0x801167C8) SetType(0x801167C8, "struct SCREEN_ENV screen[2]") del_items(0x8011637C) SetType(0x8011637C, "void (*VbFunc)()") del_items(0x80116380) SetType(0x80116380, "unsigned long VidTick") del_items(0x80116384) SetType(0x80116384, "int VXOff") del_items(0x80116388) SetType(0x80116388, "int VYOff") del_items(0x80114B58) SetType(0x80114B58, "struct LNK_OPTS *Gaz") del_items(0x80114B5C) SetType(0x80114B5C, "int LastFmem") del_items(0x80114B4C) SetType(0x80114B4C, "unsigned int GSYS_MemStart") del_items(0x80114B50) SetType(0x80114B50, "unsigned int GSYS_MemEnd") del_items(0x800A4DAC) SetType(0x800A4DAC, "struct MEM_INIT_INFO PsxMem") del_items(0x800A4DD4) SetType(0x800A4DD4, "struct MEM_INIT_INFO PsxFastMem") del_items(0x80114B54) SetType(0x80114B54, "int LowestFmem") del_items(0x80114B6C) SetType(0x80114B6C, "int FileSYS") del_items(0x8011638C) SetType(0x8011638C, "struct FileIO *FileSystem") del_items(0x80116390) SetType(0x80116390, "struct FileIO *OverlayFileSystem") del_items(0x80114B86) SetType(0x80114B86, "short DavesPad") del_items(0x80114B88) SetType(0x80114B88, "short DavesPadDeb") del_items(0x800A4DFC) SetType(0x800A4DFC, "char _6FileIO_FileToLoad[50]") del_items(0x801168A8) SetType(0x801168A8, "struct POLY_FT4 MyFT4") del_items(0x800A56A0) SetType(0x800A56A0, "struct TextDat *AllDats[285]") del_items(0x80114BD8) SetType(0x80114BD8, "int TpW") del_items(0x80114BDC) SetType(0x80114BDC, "int TpH") del_items(0x80114BE0) SetType(0x80114BE0, "int TpXDest") del_items(0x80114BE4) SetType(0x80114BE4, "int TpYDest") del_items(0x80114BE8) SetType(0x80114BE8, "struct RECT R") del_items(0x800A5B14) SetType(0x800A5B14, "struct POLY_GT4 MyGT4") del_items(0x800A5B48) SetType(0x800A5B48, "struct POLY_GT3 MyGT3") del_items(0x800A4E30) SetType(0x800A4E30, "struct TextDat DatPool[20]") del_items(0x80114BFC) SetType(0x80114BFC, "bool ChunkGot") del_items(0x800A5B70) SetType(0x800A5B70, "char STREAM_DIR[16]") del_items(0x800A5B80) SetType(0x800A5B80, "char STREAM_BIN[16]") del_items(0x800A5B90) SetType(0x800A5B90, "unsigned char EAC_DirectoryCache[300]") del_items(0x80114C10) SetType(0x80114C10, "unsigned long BL_NoLumpFiles") del_items(0x80114C14) SetType(0x80114C14, "unsigned long BL_NoStreamFiles") del_items(0x80114C18) SetType(0x80114C18, "struct STRHDR *LFileTab") del_items(0x80114C1C) SetType(0x80114C1C, "struct STRHDR *SFileTab") del_items(0x80114C20) SetType(0x80114C20, "unsigned char FileLoaded") del_items(0x80114C50) SetType(0x80114C50, "int NoTAllocs") del_items(0x800A5CBC) SetType(0x800A5CBC, "struct MEMSTRUCT MemBlock[50]") del_items(0x8011639C) SetType(0x8011639C, "bool CanPause") del_items(0x801163A0) SetType(0x801163A0, "bool Paused") del_items(0x801163A4) SetType(0x801163A4, "struct RECT PRect") del_items(0x801168D0) SetType(0x801168D0, "struct Dialog PBack") del_items(0x800A5F24) SetType(0x800A5F24, "unsigned char RawPadData0[34]") del_items(0x800A5F48) SetType(0x800A5F48, "unsigned char RawPadData1[34]") del_items(0x800A5F6C) SetType(0x800A5F6C, "unsigned char demo_buffer[1800]") del_items(0x80114C7C) SetType(0x80114C7C, "int demo_pad_time") del_items(0x80114C80) SetType(0x80114C80, "int demo_pad_count") del_items(0x800A5E4C) SetType(0x800A5E4C, "struct CPad Pad0") del_items(0x800A5EB8) SetType(0x800A5EB8, "struct CPad Pad1") del_items(0x80114C84) SetType(0x80114C84, "unsigned long demo_finish") del_items(0x80114C88) SetType(0x80114C88, "int cac_pad") del_items(0x80114CA4) SetType(0x80114CA4, "struct POLY_FT4 *CharFt4") del_items(0x80114CA8) SetType(0x80114CA8, "int CharFrm") del_items(0x80114C95) SetType(0x80114C95, "unsigned char WHITER") del_items(0x80114C96) SetType(0x80114C96, "unsigned char WHITEG") del_items(0x80114C97) SetType(0x80114C97, "unsigned char WHITEB") del_items(0x80114C98) SetType(0x80114C98, "unsigned char BLUER") del_items(0x80114C99) SetType(0x80114C99, "unsigned char BLUEG") del_items(0x80114C9A) SetType(0x80114C9A, "unsigned char BLUEB") del_items(0x80114C9B) SetType(0x80114C9B, "unsigned char REDR") del_items(0x80114C9C) SetType(0x80114C9C, "unsigned char REDG") del_items(0x80114C9D) SetType(0x80114C9D, "unsigned char REDB") del_items(0x80114C9E) SetType(0x80114C9E, "unsigned char GOLDR") del_items(0x80114C9F) SetType(0x80114C9F, "unsigned char GOLDG") del_items(0x80114CA0) SetType(0x80114CA0, "unsigned char GOLDB") del_items(0x800A6674) SetType(0x800A6674, "struct CFont MediumFont") del_items(0x800A688C) SetType(0x800A688C, "struct CFont LargeFont") del_items(0x800A6AA4) SetType(0x800A6AA4, "struct FontItem LFontTab[90]") del_items(0x800A6B58) SetType(0x800A6B58, "struct FontTab LFont") del_items(0x800A6B68) SetType(0x800A6B68, "struct FontItem MFontTab[155]") del_items(0x800A6CA0) SetType(0x800A6CA0, "struct FontTab MFont") del_items(0x80114CBD) SetType(0x80114CBD, "unsigned char DialogRed") del_items(0x80114CBE) SetType(0x80114CBE, "unsigned char DialogGreen") del_items(0x80114CBF) SetType(0x80114CBF, "unsigned char DialogBlue") del_items(0x80114CC0) SetType(0x80114CC0, "unsigned char DialogTRed") del_items(0x80114CC1) SetType(0x80114CC1, "unsigned char DialogTGreen") del_items(0x80114CC2) SetType(0x80114CC2, "unsigned char DialogTBlue") del_items(0x80114CC4) SetType(0x80114CC4, "struct TextDat *DialogTData") del_items(0x80114CC8) SetType(0x80114CC8, "int DialogBackGfx") del_items(0x80114CCC) SetType(0x80114CCC, "int DialogBackW") del_items(0x80114CD0) SetType(0x80114CD0, "int DialogBackH") del_items(0x80114CD4) SetType(0x80114CD4, "int DialogBorderGfx") del_items(0x80114CD8) SetType(0x80114CD8, "int DialogBorderTLW") del_items(0x80114CDC) SetType(0x80114CDC, "int DialogBorderTLH") del_items(0x80114CE0) SetType(0x80114CE0, "int DialogBorderTRW") del_items(0x80114CE4) SetType(0x80114CE4, "int DialogBorderTRH") del_items(0x80114CE8) SetType(0x80114CE8, "int DialogBorderBLW") del_items(0x80114CEC) SetType(0x80114CEC, "int DialogBorderBLH") del_items(0x80114CF0) SetType(0x80114CF0, "int DialogBorderBRW") del_items(0x80114CF4) SetType(0x80114CF4, "int DialogBorderBRH") del_items(0x80114CF8) SetType(0x80114CF8, "int DialogBorderTW") del_items(0x80114CFC) SetType(0x80114CFC, "int DialogBorderTH") del_items(0x80114D00) SetType(0x80114D00, "int DialogBorderBW") del_items(0x80114D04) SetType(0x80114D04, "int DialogBorderBH") del_items(0x80114D08) SetType(0x80114D08, "int DialogBorderLW") del_items(0x80114D0C) SetType(0x80114D0C, "int DialogBorderLH") del_items(0x80114D10) SetType(0x80114D10, "int DialogBorderRW") del_items(0x80114D14) SetType(0x80114D14, "int DialogBorderRH") del_items(0x80114D18) SetType(0x80114D18, "int DialogBevelGfx") del_items(0x80114D1C) SetType(0x80114D1C, "int DialogBevelCW") del_items(0x80114D20) SetType(0x80114D20, "int DialogBevelCH") del_items(0x80114D24) SetType(0x80114D24, "int DialogBevelLRW") del_items(0x80114D28) SetType(0x80114D28, "int DialogBevelLRH") del_items(0x80114D2C) SetType(0x80114D2C, "int DialogBevelUDW") del_items(0x80114D30) SetType(0x80114D30, "int DialogBevelUDH") del_items(0x80114D34) SetType(0x80114D34, "int MY_DialogOTpos") del_items(0x801163AC) SetType(0x801163AC, "unsigned char DialogGBack") del_items(0x801163AD) SetType(0x801163AD, "char GShadeX") del_items(0x801163AE) SetType(0x801163AE, "char GShadeY") del_items(0x801163B4) SetType(0x801163B4, "unsigned char RandBTab[8]") del_items(0x800A6CF0) SetType(0x800A6CF0, "int Cxy[28]") del_items(0x80114CB7) SetType(0x80114CB7, "unsigned char BORDERR") del_items(0x80114CB8) SetType(0x80114CB8, "unsigned char BORDERG") del_items(0x80114CB9) SetType(0x80114CB9, "unsigned char BORDERB") del_items(0x80114CBA) SetType(0x80114CBA, "unsigned char BACKR") del_items(0x80114CBB) SetType(0x80114CBB, "unsigned char BACKG") del_items(0x80114CBC) SetType(0x80114CBC, "unsigned char BACKB") del_items(0x800A6CB0) SetType(0x800A6CB0, "char GShadeTab[64]") del_items(0x80114CB5) SetType(0x80114CB5, "char GShadePX") del_items(0x80114CB6) SetType(0x80114CB6, "char GShadePY") del_items(0x80114D41) SetType(0x80114D41, "unsigned char PlayDemoFlag") del_items(0x801168E0) SetType(0x801168E0, "struct RGBPOLY rgbb") del_items(0x80116910) SetType(0x80116910, "struct RGBPOLY rgbt") del_items(0x801163BC) SetType(0x801163BC, "int blockr") del_items(0x801163C0) SetType(0x801163C0, "int blockg") del_items(0x801163C4) SetType(0x801163C4, "int blockb") del_items(0x801163C8) SetType(0x801163C8, "int InfraFlag") del_items(0x80114D55) SetType(0x80114D55, "unsigned char P1ObjSelCount") del_items(0x80114D56) SetType(0x80114D56, "unsigned char P2ObjSelCount") del_items(0x80114D57) SetType(0x80114D57, "unsigned char P12ObjSelCount") del_items(0x80114D58) SetType(0x80114D58, "unsigned char P1ItemSelCount") del_items(0x80114D59) SetType(0x80114D59, "unsigned char P2ItemSelCount") del_items(0x80114D5A) SetType(0x80114D5A, "unsigned char P12ItemSelCount") del_items(0x80114D5B) SetType(0x80114D5B, "unsigned char P1MonstSelCount") del_items(0x80114D5C) SetType(0x80114D5C, "unsigned char P2MonstSelCount") del_items(0x80114D5D) SetType(0x80114D5D, "unsigned char P12MonstSelCount") del_items(0x80114D5E) SetType(0x80114D5E, "unsigned short P1ObjSelCol") del_items(0x80114D60) SetType(0x80114D60, "unsigned short P2ObjSelCol") del_items(0x80114D62) SetType(0x80114D62, "unsigned short P12ObjSelCol") del_items(0x80114D64) SetType(0x80114D64, "unsigned short P1ItemSelCol") del_items(0x80114D66) SetType(0x80114D66, "unsigned short P2ItemSelCol") del_items(0x80114D68) SetType(0x80114D68, "unsigned short P12ItemSelCol") del_items(0x80114D6A) SetType(0x80114D6A, "unsigned short P1MonstSelCol") del_items(0x80114D6C) SetType(0x80114D6C, "unsigned short P2MonstSelCol") del_items(0x80114D6E) SetType(0x80114D6E, "unsigned short P12MonstSelCol") del_items(0x80114D70) SetType(0x80114D70, "struct CBlocks *CurrentBlocks") del_items(0x8010A718) SetType(0x8010A718, "short SinTab[32]") del_items(0x800A6D60) SetType(0x800A6D60, "struct TownToCreature TownConv[10]") del_items(0x80114D8C) SetType(0x80114D8C, "enum OVER_TYPE CurrentOverlay") del_items(0x8010A7A4) SetType(0x8010A7A4, "unsigned long HaltTab[3]") del_items(0x80116940) SetType(0x80116940, "struct Overlay FrontEndOver") del_items(0x80116950) SetType(0x80116950, "struct Overlay PregameOver") del_items(0x80116960) SetType(0x80116960, "struct Overlay GameOver") del_items(0x80116970) SetType(0x80116970, "struct Overlay FmvOver") del_items(0x801163CC) SetType(0x801163CC, "int OWorldX") del_items(0x801163D0) SetType(0x801163D0, "int OWorldY") del_items(0x801163D4) SetType(0x801163D4, "int WWorldX") del_items(0x801163D8) SetType(0x801163D8, "int WWorldY") del_items(0x8010A820) SetType(0x8010A820, "short TxyAdd[16]") del_items(0x80114DB0) SetType(0x80114DB0, "int GXAdj2") del_items(0x801163DC) SetType(0x801163DC, "int TimePerFrame") del_items(0x801163E0) SetType(0x801163E0, "int CpuStart") del_items(0x801163E4) SetType(0x801163E4, "int CpuTime") del_items(0x801163E8) SetType(0x801163E8, "int DrawTime") del_items(0x801163EC) SetType(0x801163EC, "int DrawStart") del_items(0x801163F0) SetType(0x801163F0, "int LastCpuTime") del_items(0x801163F4) SetType(0x801163F4, "int LastDrawTime") del_items(0x801163F8) SetType(0x801163F8, "int DrawArea") del_items(0x80114DB8) SetType(0x80114DB8, "bool ProfOn") del_items(0x800A6D74) SetType(0x800A6D74, "unsigned char LevPals[17]") del_items(0x8010A97C) SetType(0x8010A97C, "unsigned short Level2Bgdata[25]") del_items(0x800A6D88) SetType(0x800A6D88, "struct PanelXY DefP1PanelXY") del_items(0x800A6DDC) SetType(0x800A6DDC, "struct PanelXY DefP1PanelXY2") del_items(0x800A6E30) SetType(0x800A6E30, "struct PanelXY DefP2PanelXY") del_items(0x800A6E84) SetType(0x800A6E84, "struct PanelXY DefP2PanelXY2") del_items(0x800A6ED8) SetType(0x800A6ED8, "unsigned int SpeedBarGfxTable[50]") del_items(0x80114DE0) SetType(0x80114DE0, "int hof") del_items(0x80114DE4) SetType(0x80114DE4, "int mof") del_items(0x800A6FA0) SetType(0x800A6FA0, "struct SFXHDR SFXTab[2]") del_items(0x80114E18) SetType(0x80114E18, "unsigned long Time") del_items(0x800A70A0) SetType(0x800A70A0, "struct SpuVoiceAttr voice_attr") del_items(0x80114DF4) SetType(0x80114DF4, "unsigned long *STR_Buffer") del_items(0x80114DF8) SetType(0x80114DF8, "char NoActiveStreams") del_items(0x80114DFC) SetType(0x80114DFC, "bool STRInit") del_items(0x80114E3C) SetType(0x80114E3C, "char SFXNotPlayed") del_items(0x80114E3D) SetType(0x80114E3D, "char SFXNotInBank") del_items(0x80116980) SetType(0x80116980, "char spu_management[264]") del_items(0x80116A90) SetType(0x80116A90, "struct SpuReverbAttr rev_attr") del_items(0x80116400) SetType(0x80116400, "unsigned short NoSfx") del_items(0x80114E28) SetType(0x80114E28, "struct bank_entry *BankOffsets") del_items(0x80114E2C) SetType(0x80114E2C, "long OffsetHandle") del_items(0x80114E30) SetType(0x80114E30, "int BankBase") del_items(0x80114E34) SetType(0x80114E34, "unsigned char SPU_Done") del_items(0x8010AD44) SetType(0x8010AD44, "unsigned short SFXRemapTab[56]") del_items(0x80114E38) SetType(0x80114E38, "int NoSNDRemaps") del_items(0x800A70E0) SetType(0x800A70E0, "struct PalCollection ThePals") del_items(0x8010ADE8) SetType(0x8010ADE8, "struct InitPos InitialPositions[20]") del_items(0x80114E90) SetType(0x80114E90, "int demo_level") del_items(0x80114E94) SetType(0x80114E94, "struct TASK *DemoTask") del_items(0x80114E98) SetType(0x80114E98, "struct TASK *DemoGameTask") del_items(0x80114E9C) SetType(0x80114E9C, "struct TASK *tonys") del_items(0x80114E68) SetType(0x80114E68, "int demo_load") del_items(0x80114E6C) SetType(0x80114E6C, "int demo_record_load") del_items(0x80114E70) SetType(0x80114E70, "int level_record") del_items(0x80114E64) SetType(0x80114E64, "int moo_moo") del_items(0x80114E74) SetType(0x80114E74, "char demolevel[5]") del_items(0x80114E7C) SetType(0x80114E7C, "int demo_which") del_items(0x80114E80) SetType(0x80114E80, "unsigned char demo_flash") del_items(0x80114E84) SetType(0x80114E84, "int tonys_Task") del_items(0x80114FF8) SetType(0x80114FF8, "bool DoShowPanel") del_items(0x80114FFC) SetType(0x80114FFC, "bool DoDrawBg") del_items(0x80116404) SetType(0x80116404, "bool GlueFinished") del_items(0x80116408) SetType(0x80116408, "bool DoHomingScroll") del_items(0x8011640C) SetType(0x8011640C, "struct TextDat *TownerGfx") del_items(0x80116410) SetType(0x80116410, "int CurrentMonsterList") del_items(0x80114EA9) SetType(0x80114EA9, "char started_grtask") del_items(0x800A72CC) SetType(0x800A72CC, "struct PInf PlayerInfo[81]") del_items(0x80115000) SetType(0x80115000, "char ArmourChar[4]") del_items(0x8010AEDC) SetType(0x8010AEDC, "char WepChar[10]") del_items(0x80115004) SetType(0x80115004, "char CharChar[4]") del_items(0x80116414) SetType(0x80116414, "char ctrl_select_line") del_items(0x80116415) SetType(0x80116415, "char ctrl_select_side") del_items(0x80116416) SetType(0x80116416, "char ckeyheld") del_items(0x80116418) SetType(0x80116418, "int old_options_pad") del_items(0x8011641C) SetType(0x8011641C, "struct RECT CtrlRect") del_items(0x80115018) SetType(0x80115018, "unsigned char ctrlflag") del_items(0x800A75FC) SetType(0x800A75FC, "struct KEY_ASSIGNS txt_actions[19]") del_items(0x800A7554) SetType(0x800A7554, "struct pad_assigns pad_txt[14]") del_items(0x80115014) SetType(0x80115014, "int toppos") del_items(0x80116AA8) SetType(0x80116AA8, "struct Dialog CtrlBack") del_items(0x800A772C) SetType(0x800A772C, "int controller_defaults[2][19]") del_items(0x80115084) SetType(0x80115084, "int gr_scrxoff") del_items(0x80115088) SetType(0x80115088, "int gr_scryoff") del_items(0x80115090) SetType(0x80115090, "unsigned short water_clut") del_items(0x80115094) SetType(0x80115094, "char visible_level") del_items(0x80115081) SetType(0x80115081, "char last_type") del_items(0x80115096) SetType(0x80115096, "char daylight") del_items(0x80115092) SetType(0x80115092, "char cow_in_sight") del_items(0x80115093) SetType(0x80115093, "char inn_in_sight") del_items(0x8011508C) SetType(0x8011508C, "unsigned int water_count") del_items(0x80115095) SetType(0x80115095, "unsigned char lastrnd") del_items(0x80115098) SetType(0x80115098, "int call_clock") del_items(0x801150A8) SetType(0x801150A8, "int TitleAnimCount") del_items(0x801150AC) SetType(0x801150AC, "int flametick") del_items(0x8010AF9C) SetType(0x8010AF9C, "unsigned char light_tile[55]") del_items(0x800A77E4) SetType(0x800A77E4, "struct SPELLFX_DAT SpellFXDat[2]") del_items(0x80116AB8) SetType(0x80116AB8, "struct Particle PartArray[16]") del_items(0x80116424) SetType(0x80116424, "int partOtPos") del_items(0x801150C8) SetType(0x801150C8, "int SetParticle") del_items(0x801150CC) SetType(0x801150CC, "int p1partexecnum") del_items(0x801150D0) SetType(0x801150D0, "int p2partexecnum") del_items(0x800A77C4) SetType(0x800A77C4, "int JumpArray[8]") del_items(0x801150D4) SetType(0x801150D4, "int partjumpflag") del_items(0x801150D8) SetType(0x801150D8, "int partglowflag") del_items(0x801150DC) SetType(0x801150DC, "int partcolour") del_items(0x800A7884) SetType(0x800A7884, "struct Spell_Target SplTarget[2]") del_items(0x801150FD) SetType(0x801150FD, "unsigned char select_flag") del_items(0x80116428) SetType(0x80116428, "struct RECT SelectRect") del_items(0x80116430) SetType(0x80116430, "char item_select") del_items(0x80115100) SetType(0x80115100, "char QSpell[2]") del_items(0x80115104) SetType(0x80115104, "char _spltotype[2]") del_items(0x801150F0) SetType(0x801150F0, "struct CPlayer *gplayer") del_items(0x80116CF8) SetType(0x80116CF8, "struct Dialog SelectBack") del_items(0x801150F4) SetType(0x801150F4, "char mana_order[4]") del_items(0x801150F8) SetType(0x801150F8, "char health_order[4]") del_items(0x801150FC) SetType(0x801150FC, "unsigned char birdcheck") del_items(0x80116D08) SetType(0x80116D08, "struct TextDat *DecRequestors[10]") del_items(0x80116434) SetType(0x80116434, "unsigned short progress") del_items(0x8010B098) SetType(0x8010B098, "unsigned short Level2CutScreen[20]") del_items(0x80115120) SetType(0x80115120, "char *CutString") del_items(0x80116D30) SetType(0x80116D30, "struct CScreen Scr") del_items(0x80115124) SetType(0x80115124, "struct TASK *CutScreenTSK") del_items(0x80115128) SetType(0x80115128, "bool GameLoading") del_items(0x80116DB0) SetType(0x80116DB0, "struct Dialog LBack") del_items(0x80115138) SetType(0x80115138, "unsigned int card_ev0") del_items(0x8011513C) SetType(0x8011513C, "unsigned int card_ev1") del_items(0x80115140) SetType(0x80115140, "unsigned int card_ev2") del_items(0x80115144) SetType(0x80115144, "unsigned int card_ev3") del_items(0x80115148) SetType(0x80115148, "unsigned int card_ev10") del_items(0x8011514C) SetType(0x8011514C, "unsigned int card_ev11") del_items(0x80115150) SetType(0x80115150, "unsigned int card_ev12") del_items(0x80115154) SetType(0x80115154, "unsigned int card_ev13") del_items(0x80115158) SetType(0x80115158, "int card_dirty[2]") del_items(0x80115160) SetType(0x80115160, "struct TASK *MemcardTask") del_items(0x80116438) SetType(0x80116438, "int card_event") del_items(0x80115134) SetType(0x80115134, "void (*mem_card_event_handler)()") del_items(0x8011512C) SetType(0x8011512C, "bool MemCardActive") del_items(0x80115130) SetType(0x80115130, "int never_hooked_events") del_items(0x801151A4) SetType(0x801151A4, "unsigned long MasterVol") del_items(0x801151A8) SetType(0x801151A8, "unsigned long MusicVol") del_items(0x801151AC) SetType(0x801151AC, "unsigned long SoundVol") del_items(0x801151B0) SetType(0x801151B0, "unsigned long VideoVol") del_items(0x801151B4) SetType(0x801151B4, "unsigned long SpeechVol") del_items(0x8011643C) SetType(0x8011643C, "struct TextDat *Slider") del_items(0x80116440) SetType(0x80116440, "int sw") del_items(0x80116444) SetType(0x80116444, "int sx") del_items(0x80116448) SetType(0x80116448, "int sy") del_items(0x8011644C) SetType(0x8011644C, "unsigned char Adjust") del_items(0x8011644D) SetType(0x8011644D, "unsigned char qspin") del_items(0x8011644E) SetType(0x8011644E, "unsigned char lqspin") del_items(0x80116450) SetType(0x80116450, "enum LANG_TYPE OrigLang") del_items(0x80116454) SetType(0x80116454, "enum LANG_TYPE OldLang") del_items(0x80116458) SetType(0x80116458, "enum LANG_TYPE NewLang") del_items(0x801151B8) SetType(0x801151B8, "int ReturnMenu") del_items(0x8011645C) SetType(0x8011645C, "struct RECT ORect") del_items(0x80116464) SetType(0x80116464, "char *McState[2]") del_items(0x80115188) SetType(0x80115188, "bool optionsflag") del_items(0x8011517C) SetType(0x8011517C, "int cmenu") del_items(0x80115190) SetType(0x80115190, "int options_pad") del_items(0x8011519C) SetType(0x8011519C, "char *PrevTxt") del_items(0x80115184) SetType(0x80115184, "bool allspellsflag") del_items(0x800A80EC) SetType(0x800A80EC, "short Circle[64]") del_items(0x80115170) SetType(0x80115170, "int Spacing") del_items(0x80115174) SetType(0x80115174, "int cs") del_items(0x80115178) SetType(0x80115178, "int lastcs") del_items(0x80115180) SetType(0x80115180, "bool MemcardOverlay") del_items(0x8011518C) SetType(0x8011518C, "int saveflag") del_items(0x800A78CC) SetType(0x800A78CC, "struct OMENUITEM MainMenu[7]") del_items(0x800A7974) SetType(0x800A7974, "struct OMENUITEM GameMenu[9]") del_items(0x800A7A4C) SetType(0x800A7A4C, "struct OMENUITEM SoundMenu[6]") del_items(0x800A7ADC) SetType(0x800A7ADC, "struct OMENUITEM CentreMenu[7]") del_items(0x800A7B84) SetType(0x800A7B84, "struct OMENUITEM LangMenu[7]") del_items(0x800A7C2C) SetType(0x800A7C2C, "struct OMENUITEM MemcardMenu[4]") del_items(0x800A7C8C) SetType(0x800A7C8C, "struct OMENUITEM MemcardGameMenu[6]") del_items(0x800A7D1C) SetType(0x800A7D1C, "struct OMENUITEM MemcardCharacterMenu[4]") del_items(0x800A7D7C) SetType(0x800A7D7C, "struct OMENUITEM MemcardSelectCard1[7]") del_items(0x800A7E24) SetType(0x800A7E24, "struct OMENUITEM MemcardSelectCard2[7]") del_items(0x800A7ECC) SetType(0x800A7ECC, "struct OMENUITEM MemcardFormatMenu[4]") del_items(0x800A7F2C) SetType(0x800A7F2C, "struct OMENUITEM CheatMenu[9]") del_items(0x800A8004) SetType(0x800A8004, "struct OMENUITEM InfoMenu[2]") del_items(0x800A8034) SetType(0x800A8034, "struct OMENUITEM MonstViewMenu[3]") del_items(0x800A807C) SetType(0x800A807C, "struct OMENULIST MenuList[14]") del_items(0x801151A0) SetType(0x801151A0, "bool debounce") del_items(0x800A816C) SetType(0x800A816C, "struct BIRDSTRUCT BirdList[16]") del_items(0x801151C5) SetType(0x801151C5, "char hop_height") del_items(0x801151C8) SetType(0x801151C8, "struct Perch perches[4]") del_items(0x800A82EC) SetType(0x800A82EC, "char *FmvTab[4]") del_items(0x801151DC) SetType(0x801151DC, "int CurMons") del_items(0x801151E0) SetType(0x801151E0, "int Frame") del_items(0x801151E4) SetType(0x801151E4, "int Action") del_items(0x801151E8) SetType(0x801151E8, "int Dir") del_items(0x8011525C) SetType(0x8011525C, "int FeBackX") del_items(0x80115260) SetType(0x80115260, "int FeBackY") del_items(0x80115264) SetType(0x80115264, "int FeBackW") del_items(0x80115268) SetType(0x80115268, "int FeBackH") del_items(0x8011526C) SetType(0x8011526C, "unsigned char FeFlag") del_items(0x800A8A9C) SetType(0x800A8A9C, "struct FeStruct FeBuffer[40]") del_items(0x80115270) SetType(0x80115270, "int FePlayerNo") del_items(0x8011646C) SetType(0x8011646C, "struct FE_CREATE *CStruct") del_items(0x80115274) SetType(0x80115274, "int FeBufferCount") del_items(0x80115278) SetType(0x80115278, "int FeNoOfPlayers") del_items(0x8011527C) SetType(0x8011527C, "int FeChrClass[2]") del_items(0x800A8E5C) SetType(0x800A8E5C, "char FePlayerName[11][2]") del_items(0x80115284) SetType(0x80115284, "struct FeTable *FeCurMenu") del_items(0x80115288) SetType(0x80115288, "unsigned char FePlayerNameFlag[2]") del_items(0x8011528C) SetType(0x8011528C, "unsigned long FeCount") del_items(0x80115290) SetType(0x80115290, "int fileselect") del_items(0x80115294) SetType(0x80115294, "int BookMenu") del_items(0x80115298) SetType(0x80115298, "int FeAttractMode") del_items(0x8011529C) SetType(0x8011529C, "int FMVPress") del_items(0x8011522C) SetType(0x8011522C, "struct TextDat *FeTData") del_items(0x80115234) SetType(0x80115234, "bool LoadedChar[2]") del_items(0x80115230) SetType(0x80115230, "struct TextDat *FlameTData") del_items(0x8011523C) SetType(0x8011523C, "unsigned char FeIsAVirgin") del_items(0x80115240) SetType(0x80115240, "int FeMenuDelay") del_items(0x800A82FC) SetType(0x800A82FC, "struct FeTable DummyMenu") del_items(0x800A8318) SetType(0x800A8318, "struct FeTable FeMainMenu") del_items(0x800A8334) SetType(0x800A8334, "struct FeTable FeNewGameMenu") del_items(0x800A8350) SetType(0x800A8350, "struct FeTable FeNewP1ClassMenu") del_items(0x800A836C) SetType(0x800A836C, "struct FeTable FeNewP1NameMenu") del_items(0x800A8388) SetType(0x800A8388, "struct FeTable FeNewP2ClassMenu") del_items(0x800A83A4) SetType(0x800A83A4, "struct FeTable FeNewP2NameMenu") del_items(0x800A83C0) SetType(0x800A83C0, "struct FeTable FeDifficultyMenu") del_items(0x800A83DC) SetType(0x800A83DC, "struct FeTable FeBackgroundMenu") del_items(0x800A83F8) SetType(0x800A83F8, "struct FeTable FeBook1Menu") del_items(0x800A8414) SetType(0x800A8414, "struct FeTable FeBook2Menu") del_items(0x800A8430) SetType(0x800A8430, "struct FeTable FeLoadCharMenu") del_items(0x800A844C) SetType(0x800A844C, "struct FeTable FeLoadChar1Menu") del_items(0x800A8468) SetType(0x800A8468, "struct FeTable FeLoadChar2Menu") del_items(0x80115244) SetType(0x80115244, "int fadeval") del_items(0x800A8484) SetType(0x800A8484, "struct FeMenuTable FeMainMenuTable[5]") del_items(0x800A84FC) SetType(0x800A84FC, "struct FeMenuTable FeNewGameMenuTable[3]") del_items(0x800A8544) SetType(0x800A8544, "struct FeMenuTable FePlayerClassMenuTable[5]") del_items(0x800A85BC) SetType(0x800A85BC, "struct FeMenuTable FeNameEngMenuTable[31]") del_items(0x800A88A4) SetType(0x800A88A4, "struct FeMenuTable FeMemcardMenuTable[3]") del_items(0x800A88EC) SetType(0x800A88EC, "struct FeMenuTable FeDifficultyMenuTable[4]") del_items(0x800A894C) SetType(0x800A894C, "struct FeMenuTable FeBackgroundMenuTable[4]") del_items(0x800A89AC) SetType(0x800A89AC, "struct FeMenuTable FeBook1MenuTable[5]") del_items(0x800A8A24) SetType(0x800A8A24, "struct FeMenuTable FeBook2MenuTable[5]") del_items(0x80115250) SetType(0x80115250, "unsigned long AttractTitleDelay") del_items(0x80115254) SetType(0x80115254, "unsigned long AttractMainDelay") del_items(0x80115258) SetType(0x80115258, "int FMVEndPad") del_items(0x801152D0) SetType(0x801152D0, "int InCredits") del_items(0x801152D4) SetType(0x801152D4, "int CreditTitleNo") del_items(0x801152D8) SetType(0x801152D8, "int CreditSubTitleNo") del_items(0x801152EC) SetType(0x801152EC, "int card_status[2]") del_items(0x801152F4) SetType(0x801152F4, "int card_usable[2]") del_items(0x801152FC) SetType(0x801152FC, "int card_files[2]") del_items(0x80115304) SetType(0x80115304, "int card_changed[2]") del_items(0x80115344) SetType(0x80115344, "int AlertTxt") del_items(0x80115348) SetType(0x80115348, "int current_card") del_items(0x8011534C) SetType(0x8011534C, "int LoadType") del_items(0x80115350) SetType(0x80115350, "int McMenuPos") del_items(0x80115354) SetType(0x80115354, "struct FeTable *McCurMenu") del_items(0x80115340) SetType(0x80115340, "bool fileinfoflag") del_items(0x80115318) SetType(0x80115318, "char *DiabloGameFile") del_items(0x80115338) SetType(0x80115338, "char *McState_addr_80115338[2]") del_items(0x80115424) SetType(0x80115424, "int mdec_audio_buffer[2]") del_items(0x8011542C) SetType(0x8011542C, "int mdec_audio_sec") del_items(0x80115430) SetType(0x80115430, "int mdec_audio_offs") del_items(0x80115434) SetType(0x80115434, "int mdec_audio_playing") del_items(0x80115438) SetType(0x80115438, "int mdec_audio_rate_shift") del_items(0x8011543C) SetType(0x8011543C, "char *vlcbuf[2]") del_items(0x80115444) SetType(0x80115444, "int slice_size") del_items(0x80115448) SetType(0x80115448, "struct RECT slice") del_items(0x80115450) SetType(0x80115450, "int slice_inc") del_items(0x80115454) SetType(0x80115454, "int area_pw") del_items(0x80115458) SetType(0x80115458, "int area_ph") del_items(0x8011545C) SetType(0x8011545C, "int tmdc_pol_dirty[2]") del_items(0x80115464) SetType(0x80115464, "int num_pol[2]") del_items(0x8011546C) SetType(0x8011546C, "int mdec_cx") del_items(0x80115470) SetType(0x80115470, "int mdec_cy") del_items(0x80115474) SetType(0x80115474, "int mdec_w") del_items(0x80115478) SetType(0x80115478, "int mdec_h") del_items(0x8011547C) SetType(0x8011547C, "int mdec_pw[2]") del_items(0x80115484) SetType(0x80115484, "int mdec_ph[2]") del_items(0x8011548C) SetType(0x8011548C, "int move_x") del_items(0x80115490) SetType(0x80115490, "int move_y") del_items(0x80115494) SetType(0x80115494, "int move_scale") del_items(0x80115498) SetType(0x80115498, "int stream_frames") del_items(0x8011549C) SetType(0x8011549C, "int last_stream_frame") del_items(0x801154A0) SetType(0x801154A0, "int mdec_framecount") del_items(0x801154A4) SetType(0x801154A4, "int mdec_speed") del_items(0x801154A8) SetType(0x801154A8, "int mdec_stream_starting") del_items(0x801154AC) SetType(0x801154AC, "int mdec_last_frame") del_items(0x801154B0) SetType(0x801154B0, "int mdec_sectors_per_frame") del_items(0x801154B4) SetType(0x801154B4, "unsigned short *vlctab") del_items(0x801154B8) SetType(0x801154B8, "unsigned char *mdc_buftop") del_items(0x801154BC) SetType(0x801154BC, "unsigned char *mdc_bufstart") del_items(0x801154C0) SetType(0x801154C0, "int mdc_bufleft") del_items(0x801154C4) SetType(0x801154C4, "int mdc_buftotal") del_items(0x801154C8) SetType(0x801154C8, "int time_in_frames") del_items(0x801154CC) SetType(0x801154CC, "int stream_chunksize") del_items(0x801154D0) SetType(0x801154D0, "int stream_bufsize") del_items(0x801154D4) SetType(0x801154D4, "int stream_subsec") del_items(0x801154D8) SetType(0x801154D8, "int stream_secnum") del_items(0x801154DC) SetType(0x801154DC, "int stream_last_sector") del_items(0x801154E0) SetType(0x801154E0, "int stream_startsec") del_items(0x801154E4) SetType(0x801154E4, "int stream_opened") del_items(0x801154E8) SetType(0x801154E8, "int stream_last_chunk") del_items(0x801154EC) SetType(0x801154EC, "int stream_got_chunks") del_items(0x801154F0) SetType(0x801154F0, "int last_sector") del_items(0x801154F4) SetType(0x801154F4, "int cdstream_resetsec") del_items(0x801154F8) SetType(0x801154F8, "int last_handler_event") del_items(0x80115364) SetType(0x80115364, "unsigned char *map_buf") del_items(0x80115368) SetType(0x80115368, "unsigned char *vlc_tab") del_items(0x8011536C) SetType(0x8011536C, "unsigned char *vlc_buf") del_items(0x80115370) SetType(0x80115370, "int vbuf") del_items(0x80115374) SetType(0x80115374, "int last_fn") del_items(0x80115378) SetType(0x80115378, "int last_mdc") del_items(0x8011537C) SetType(0x8011537C, "int slnum") del_items(0x80115380) SetType(0x80115380, "int slices_to_do") del_items(0x80115384) SetType(0x80115384, "int mbuf") del_items(0x80115388) SetType(0x80115388, "int mfn") del_items(0x8011538C) SetType(0x8011538C, "int last_move_mbuf") del_items(0x80115390) SetType(0x80115390, "int move_request") del_items(0x80115394) SetType(0x80115394, "int mdec_scale") del_items(0x80115398) SetType(0x80115398, "int do_brightness") del_items(0x8011539C) SetType(0x8011539C, "int frame_decoded") del_items(0x801153A0) SetType(0x801153A0, "int mdec_streaming") del_items(0x801153A4) SetType(0x801153A4, "int mdec_stream_size") del_items(0x801153A8) SetType(0x801153A8, "int first_stream_frame") del_items(0x801153AC) SetType(0x801153AC, "int stream_frames_played") del_items(0x801153B0) SetType(0x801153B0, "int num_mdcs") del_items(0x801153B4) SetType(0x801153B4, "int mdec_head") del_items(0x801153B8) SetType(0x801153B8, "int mdec_tail") del_items(0x801153BC) SetType(0x801153BC, "int mdec_waiting_tail") del_items(0x801153C0) SetType(0x801153C0, "int mdecs_queued") del_items(0x801153C4) SetType(0x801153C4, "int mdecs_waiting") del_items(0x801153C8) SetType(0x801153C8, "int sfx_volume") del_items(0x801153CC) SetType(0x801153CC, "int stream_chunks_in") del_items(0x801153D0) SetType(0x801153D0, "int stream_chunks_total") del_items(0x801153D4) SetType(0x801153D4, "int stream_in") del_items(0x801153D8) SetType(0x801153D8, "int stream_out") del_items(0x801153DC) SetType(0x801153DC, "int stream_stalled") del_items(0x801153E0) SetType(0x801153E0, "int stream_ending") del_items(0x801153E4) SetType(0x801153E4, "int stream_open") del_items(0x801153E8) SetType(0x801153E8, "int stream_handler_installed") del_items(0x801153EC) SetType(0x801153EC, "int stream_chunks_borrowed") del_items(0x801153F0) SetType(0x801153F0, "int _get_count") del_items(0x801153F4) SetType(0x801153F4, "int _discard_count") del_items(0x801153F8) SetType(0x801153F8, "struct TASK *CDTask") del_items(0x801153FC) SetType(0x801153FC, "struct cdstreamstruct *CDStream") del_items(0x80115400) SetType(0x80115400, "int cdready_calls") del_items(0x80115404) SetType(0x80115404, "int cdready_errors") del_items(0x80115408) SetType(0x80115408, "int cdready_out_of_sync") del_items(0x8011540C) SetType(0x8011540C, "int cdstream_resetting") del_items(0x80115410) SetType(0x80115410, "int sector_dma") del_items(0x80115414) SetType(0x80115414, "int sector_dma_in") del_items(0x80115418) SetType(0x80115418, "unsigned long *chkaddr") del_items(0x8011541C) SetType(0x8011541C, "struct chunkhdrstruct *chunk") del_items(0x80115420) SetType(0x80115420, "int first_handler_event") del_items(0x80115598) SetType(0x80115598, "unsigned char *pStatusPanel") del_items(0x8011559C) SetType(0x8011559C, "unsigned char *pGBoxBuff") del_items(0x801155A0) SetType(0x801155A0, "unsigned char dropGoldFlag") del_items(0x801155A4) SetType(0x801155A4, "unsigned char _pinfoflag[2]") del_items(0x800A9454) SetType(0x800A9454, "char _infostr[256][2]") del_items(0x801155A8) SetType(0x801155A8, "char _infoclr[2]") del_items(0x800A9654) SetType(0x800A9654, "char tempstr[256]") del_items(0x801155AA) SetType(0x801155AA, "unsigned char drawhpflag") del_items(0x801155AB) SetType(0x801155AB, "unsigned char drawmanaflag") del_items(0x801155AC) SetType(0x801155AC, "unsigned char chrflag") del_items(0x801155AD) SetType(0x801155AD, "unsigned char drawbtnflag") del_items(0x801155AE) SetType(0x801155AE, "unsigned char panbtndown") del_items(0x801155AF) SetType(0x801155AF, "unsigned char panelflag") del_items(0x801155B0) SetType(0x801155B0, "unsigned char chrbtndown") del_items(0x801155B1) SetType(0x801155B1, "unsigned char lvlbtndown") del_items(0x801155B2) SetType(0x801155B2, "unsigned char sbookflag") del_items(0x801155B3) SetType(0x801155B3, "unsigned char talkflag") del_items(0x801155B4) SetType(0x801155B4, "int dropGoldValue") del_items(0x801155B8) SetType(0x801155B8, "int initialDropGoldValue") del_items(0x801155BC) SetType(0x801155BC, "int initialDropGoldIndex") del_items(0x801155C0) SetType(0x801155C0, "unsigned char *pPanelButtons") del_items(0x801155C4) SetType(0x801155C4, "unsigned char *pPanelText") del_items(0x801155C8) SetType(0x801155C8, "unsigned char *pManaBuff") del_items(0x801155CC) SetType(0x801155CC, "unsigned char *pLifeBuff") del_items(0x801155D0) SetType(0x801155D0, "unsigned char *pChrPanel") del_items(0x801155D4) SetType(0x801155D4, "unsigned char *pChrButtons") del_items(0x801155D8) SetType(0x801155D8, "unsigned char *pSpellCels") del_items(0x80116E00) SetType(0x80116E00, "char _panelstr[64][8][2]") del_items(0x80117200) SetType(0x80117200, "int _pstrjust[8][2]") del_items(0x8011647C) SetType(0x8011647C, "int _pnumlines[2]") del_items(0x801155DC) SetType(0x801155DC, "struct RECT *InfoBoxRect") del_items(0x801155E0) SetType(0x801155E0, "struct RECT CSRect") del_items(0x8011648C) SetType(0x8011648C, "int _pSpell[2]") del_items(0x80116494) SetType(0x80116494, "int _pSplType[2]") del_items(0x8011649C) SetType(0x8011649C, "unsigned char panbtn[8]") del_items(0x801155E8) SetType(0x801155E8, "int numpanbtns") del_items(0x801155EC) SetType(0x801155EC, "unsigned char *pDurIcons") del_items(0x801155F0) SetType(0x801155F0, "unsigned char drawdurflag") del_items(0x801164A4) SetType(0x801164A4, "unsigned char chrbtn[4]") del_items(0x801155F1) SetType(0x801155F1, "unsigned char chrbtnactive") del_items(0x801155F4) SetType(0x801155F4, "unsigned char *pSpellBkCel") del_items(0x801155F8) SetType(0x801155F8, "unsigned char *pSBkBtnCel") del_items(0x801155FC) SetType(0x801155FC, "unsigned char *pSBkIconCels") del_items(0x80115600) SetType(0x80115600, "int sbooktab") del_items(0x80115604) SetType(0x80115604, "int cur_spel") del_items(0x801164A8) SetType(0x801164A8, "long talkofs") del_items(0x80117250) SetType(0x80117250, "char sgszTalkMsg[80]") del_items(0x801164AC) SetType(0x801164AC, "unsigned char sgbTalkSavePos") del_items(0x801164AD) SetType(0x801164AD, "unsigned char sgbNextTalkSave") del_items(0x801164AE) SetType(0x801164AE, "unsigned char sgbPlrTalkTbl[2]") del_items(0x801164B0) SetType(0x801164B0, "unsigned char *pTalkPanel") del_items(0x801164B4) SetType(0x801164B4, "unsigned char *pMultiBtns") del_items(0x801164B8) SetType(0x801164B8, "unsigned char *pTalkBtns") del_items(0x801164BC) SetType(0x801164BC, "unsigned char talkbtndown[3]") del_items(0x8010B408) SetType(0x8010B408, "unsigned char gbFontTransTbl[256]") del_items(0x8010B348) SetType(0x8010B348, "unsigned char fontkern[68]") del_items(0x800A8E88) SetType(0x800A8E88, "char SpellITbl[37]") del_items(0x80115505) SetType(0x80115505, "unsigned char DrawLevelUpFlag") del_items(0x8011552C) SetType(0x8011552C, "struct TASK *_spselflag[2]") del_items(0x80115528) SetType(0x80115528, "unsigned char spspelstate") del_items(0x80115568) SetType(0x80115568, "bool initchr") del_items(0x80115508) SetType(0x80115508, "int SPLICONNO") del_items(0x8011550C) SetType(0x8011550C, "int SPLICONY") del_items(0x80116484) SetType(0x80116484, "int SPLICONRIGHT") del_items(0x80115510) SetType(0x80115510, "int scx") del_items(0x80115514) SetType(0x80115514, "int scy") del_items(0x80115518) SetType(0x80115518, "int scx1") del_items(0x8011551C) SetType(0x8011551C, "int scy1") del_items(0x80115520) SetType(0x80115520, "int scx2") del_items(0x80115524) SetType(0x80115524, "int scy2") del_items(0x80115534) SetType(0x80115534, "char SpellCol") del_items(0x800A8E74) SetType(0x800A8E74, "unsigned char SpellColors[18]") del_items(0x800A8EB0) SetType(0x800A8EB0, "int PanBtnPos[5][8]") del_items(0x800A8F50) SetType(0x800A8F50, "char *PanBtnHotKey[8]") del_items(0x800A8F70) SetType(0x800A8F70, "unsigned long PanBtnStr[8]") del_items(0x800A8F90) SetType(0x800A8F90, "int SpellPages[5][5]") del_items(0x80115558) SetType(0x80115558, "int lus") del_items(0x8011555C) SetType(0x8011555C, "int CsNo") del_items(0x80115560) SetType(0x80115560, "char plusanim") del_items(0x80117240) SetType(0x80117240, "struct Dialog CSBack") del_items(0x80115564) SetType(0x80115564, "int CS_XOFF") del_items(0x800A8FF4) SetType(0x800A8FF4, "struct CSDATA CS_Tab[28]") del_items(0x8011556C) SetType(0x8011556C, "int NoCSEntries") del_items(0x80115570) SetType(0x80115570, "int SPALOFF") del_items(0x80115574) SetType(0x80115574, "int paloffset1") del_items(0x80115578) SetType(0x80115578, "int paloffset2") del_items(0x8011557C) SetType(0x8011557C, "int paloffset3") del_items(0x80115580) SetType(0x80115580, "int paloffset4") del_items(0x80115584) SetType(0x80115584, "int pinc1") del_items(0x80115588) SetType(0x80115588, "int pinc2") del_items(0x8011558C) SetType(0x8011558C, "int pinc3") del_items(0x80115590) SetType(0x80115590, "int pinc4") del_items(0x80115618) SetType(0x80115618, "int _pcurs[2]") del_items(0x80115620) SetType(0x80115620, "int cursW") del_items(0x80115624) SetType(0x80115624, "int cursH") del_items(0x80115628) SetType(0x80115628, "int icursW") del_items(0x8011562C) SetType(0x8011562C, "int icursH") del_items(0x80115630) SetType(0x80115630, "int icursW28") del_items(0x80115634) SetType(0x80115634, "int icursH28") del_items(0x80115638) SetType(0x80115638, "int cursmx") del_items(0x8011563C) SetType(0x8011563C, "int cursmy") del_items(0x80115640) SetType(0x80115640, "int _pcursmonst[2]") del_items(0x80115648) SetType(0x80115648, "char _pcursobj[2]") del_items(0x8011564C) SetType(0x8011564C, "char _pcursitem[2]") del_items(0x80115650) SetType(0x80115650, "char _pcursinvitem[2]") del_items(0x80115654) SetType(0x80115654, "char _pcursplr[2]") del_items(0x80115614) SetType(0x80115614, "int sel_data") del_items(0x800A9754) SetType(0x800A9754, "struct DeadStruct dead[31]") del_items(0x80115658) SetType(0x80115658, "int spurtndx") del_items(0x8011565C) SetType(0x8011565C, "int stonendx") del_items(0x80115660) SetType(0x80115660, "unsigned char *pSquareCel") del_items(0x801156A0) SetType(0x801156A0, "unsigned long ghInst") del_items(0x801156A4) SetType(0x801156A4, "unsigned char svgamode") del_items(0x801156A8) SetType(0x801156A8, "int MouseX") del_items(0x801156AC) SetType(0x801156AC, "int MouseY") del_items(0x801156B0) SetType(0x801156B0, "long gv1") del_items(0x801156B4) SetType(0x801156B4, "long gv2") del_items(0x801156B8) SetType(0x801156B8, "long gv3") del_items(0x801156BC) SetType(0x801156BC, "long gv4") del_items(0x801156C0) SetType(0x801156C0, "long gv5") del_items(0x801156C4) SetType(0x801156C4, "unsigned char gbProcessPlayers") del_items(0x800A98C8) SetType(0x800A98C8, "int DebugMonsters[10]") del_items(0x800A98F0) SetType(0x800A98F0, "unsigned long glSeedTbl[17]") del_items(0x800A9934) SetType(0x800A9934, "int gnLevelTypeTbl[17]") del_items(0x801156C5) SetType(0x801156C5, "unsigned char gbDoEnding") del_items(0x801156C6) SetType(0x801156C6, "unsigned char gbRunGame") del_items(0x801156C7) SetType(0x801156C7, "unsigned char gbRunGameResult") del_items(0x801156C8) SetType(0x801156C8, "unsigned char gbGameLoopStartup") del_items(0x801172A0) SetType(0x801172A0, "int glEndSeed[17]") del_items(0x801172F0) SetType(0x801172F0, "int glMid1Seed[17]") del_items(0x80117340) SetType(0x80117340, "int glMid2Seed[17]") del_items(0x80117390) SetType(0x80117390, "int glMid3Seed[17]") del_items(0x801164C0) SetType(0x801164C0, "long *sg_previousFilter") del_items(0x800A9978) SetType(0x800A9978, "int CreateEnv[12]") del_items(0x801156CC) SetType(0x801156CC, "int Passedlvldir") del_items(0x801156D0) SetType(0x801156D0, "unsigned char *TempStack") del_items(0x80115670) SetType(0x80115670, "unsigned long ghMainWnd") del_items(0x80115674) SetType(0x80115674, "unsigned char fullscreen") del_items(0x80115678) SetType(0x80115678, "int force_redraw") del_items(0x8011568C) SetType(0x8011568C, "unsigned char PauseMode") del_items(0x8011568D) SetType(0x8011568D, "unsigned char FriendlyMode") del_items(0x8011567D) SetType(0x8011567D, "unsigned char visiondebug") del_items(0x8011567F) SetType(0x8011567F, "unsigned char light4flag") del_items(0x80115680) SetType(0x80115680, "unsigned char leveldebug") del_items(0x80115681) SetType(0x80115681, "unsigned char monstdebug") del_items(0x80115688) SetType(0x80115688, "int debugmonsttypes") del_items(0x8011567C) SetType(0x8011567C, "unsigned char cineflag") del_items(0x8011567E) SetType(0x8011567E, "unsigned char scrollflag") del_items(0x80115682) SetType(0x80115682, "unsigned char trigdebug") del_items(0x80115684) SetType(0x80115684, "int setseed") del_items(0x80115690) SetType(0x80115690, "int sgnTimeoutCurs") del_items(0x80115694) SetType(0x80115694, "unsigned char sgbMouseDown") del_items(0x800AA044) SetType(0x800AA044, "struct TownerStruct towner[16]") del_items(0x801156E8) SetType(0x801156E8, "int numtowners") del_items(0x801156EC) SetType(0x801156EC, "unsigned char storeflag") del_items(0x801156ED) SetType(0x801156ED, "unsigned char boyloadflag") del_items(0x801156EE) SetType(0x801156EE, "unsigned char bannerflag") del_items(0x801156F0) SetType(0x801156F0, "unsigned char *pCowCels") del_items(0x801164C4) SetType(0x801164C4, "unsigned long sgdwCowClicks") del_items(0x801164C8) SetType(0x801164C8, "int sgnCowMsg") del_items(0x800A9D84) SetType(0x800A9D84, "int Qtalklist[16][11]") del_items(0x801156E0) SetType(0x801156E0, "unsigned long CowPlaying") del_items(0x800A99A8) SetType(0x800A99A8, "char AnimOrder[148][6]") del_items(0x800A9D20) SetType(0x800A9D20, "int TownCowX[3]") del_items(0x800A9D2C) SetType(0x800A9D2C, "int TownCowY[3]") del_items(0x800A9D38) SetType(0x800A9D38, "int TownCowDir[3]") del_items(0x800A9D44) SetType(0x800A9D44, "int cowoffx[8]") del_items(0x800A9D64) SetType(0x800A9D64, "int cowoffy[8]") del_items(0x80115708) SetType(0x80115708, "int sfxdelay") del_items(0x8011570C) SetType(0x8011570C, "int sfxdnum") del_items(0x80115700) SetType(0x80115700, "struct SFXHDR *sghStream") del_items(0x800AAE44) SetType(0x800AAE44, "struct TSFX sgSFX[979]") del_items(0x80115704) SetType(0x80115704, "struct TSFX *sgpStreamSFX") del_items(0x80115710) SetType(0x80115710, "long orgseed") del_items(0x801164CC) SetType(0x801164CC, "long sglGameSeed") del_items(0x80115714) SetType(0x80115714, "int SeedCount") del_items(0x801164D0) SetType(0x801164D0, "struct CCritSect sgMemCrit") del_items(0x801164D4) SetType(0x801164D4, "int sgnWidth") del_items(0x80115722) SetType(0x80115722, "char msgflag") del_items(0x80115723) SetType(0x80115723, "char msgdelay") del_items(0x800ABE40) SetType(0x800ABE40, "char msgtable[80]") del_items(0x800ABD90) SetType(0x800ABD90, "int MsgStrings[44]") del_items(0x80115721) SetType(0x80115721, "char msgcnt") del_items(0x801164D8) SetType(0x801164D8, "unsigned long sgdwProgress") del_items(0x801164DC) SetType(0x801164DC, "unsigned long sgdwXY") del_items(0x800ABE90) SetType(0x800ABE90, "unsigned char AllItemsUseable[157]") del_items(0x8010B840) SetType(0x8010B840, "struct ItemDataStruct AllItemsList[157]") del_items(0x8010CBE0) SetType(0x8010CBE0, "struct PLStruct PL_Prefix[84]") del_items(0x8010D900) SetType(0x8010D900, "struct PLStruct PL_Suffix[96]") del_items(0x8010E800) SetType(0x8010E800, "struct UItemStruct UniqueItemList[91]") del_items(0x800AC0A4) SetType(0x800AC0A4, "struct ItemStruct item[128]") del_items(0x800B0AA4) SetType(0x800B0AA4, "char itemactive[127]") del_items(0x800B0B24) SetType(0x800B0B24, "char itemavail[127]") del_items(0x800B0BA4) SetType(0x800B0BA4, "unsigned char UniqueItemFlag[128]") del_items(0x8011575C) SetType(0x8011575C, "unsigned char uitemflag") del_items(0x801164E0) SetType(0x801164E0, "int tem") del_items(0x801173D8) SetType(0x801173D8, "struct ItemStruct curruitem") del_items(0x80117478) SetType(0x80117478, "unsigned char itemhold[3][3]") del_items(0x80115760) SetType(0x80115760, "int ScrollType") del_items(0x800B0C24) SetType(0x800B0C24, "char ItemStr[64]") del_items(0x800B0C64) SetType(0x800B0C64, "char SufStr[64]") del_items(0x8011573C) SetType(0x8011573C, "long numitems") del_items(0x80115740) SetType(0x80115740, "int gnNumGetRecords") del_items(0x800AC000) SetType(0x800AC000, "int ItemInvSnds[35]") del_items(0x800ABF30) SetType(0x800ABF30, "unsigned char ItemCAnimTbl[169]") del_items(0x80110644) SetType(0x80110644, "short Item2Frm[35]") del_items(0x800ABFDC) SetType(0x800ABFDC, "unsigned char ItemAnimLs[35]") del_items(0x80115744) SetType(0x80115744, "int *ItemAnimSnds") del_items(0x80115748) SetType(0x80115748, "int idoppely") del_items(0x8011574C) SetType(0x8011574C, "int ScrollFlag") del_items(0x800AC08C) SetType(0x800AC08C, "int premiumlvladd[6]") del_items(0x800B1A50) SetType(0x800B1A50, "struct LightListStruct2 LightList[40]") del_items(0x800B1B90) SetType(0x800B1B90, "unsigned char lightactive[40]") del_items(0x80115774) SetType(0x80115774, "int numlights") del_items(0x80115778) SetType(0x80115778, "char lightmax") del_items(0x800B1BB8) SetType(0x800B1BB8, "struct LightListStruct VisionList[32]") del_items(0x8011577C) SetType(0x8011577C, "int numvision") del_items(0x80115780) SetType(0x80115780, "unsigned char dovision") del_items(0x80115784) SetType(0x80115784, "int visionid") del_items(0x801164E4) SetType(0x801164E4, "int disp_mask") del_items(0x801164E8) SetType(0x801164E8, "int weird") del_items(0x801164EC) SetType(0x801164EC, "int disp_tab_r") del_items(0x801164F0) SetType(0x801164F0, "int dispy_r") del_items(0x801164F4) SetType(0x801164F4, "int disp_tab_g") del_items(0x801164F8) SetType(0x801164F8, "int dispy_g") del_items(0x801164FC) SetType(0x801164FC, "int disp_tab_b") del_items(0x80116500) SetType(0x80116500, "int dispy_b") del_items(0x80116504) SetType(0x80116504, "int radius") del_items(0x80116508) SetType(0x80116508, "int bright") del_items(0x80117488) SetType(0x80117488, "unsigned char mult_tab[128]") del_items(0x80115764) SetType(0x80115764, "int lightflag") del_items(0x800B1764) SetType(0x800B1764, "unsigned char vCrawlTable[30][23]") del_items(0x800B1A18) SetType(0x800B1A18, "unsigned char RadiusAdj[23]") del_items(0x800B0CA4) SetType(0x800B0CA4, "char CrawlTable[2749]") del_items(0x80115768) SetType(0x80115768, "int restore_r") del_items(0x8011576C) SetType(0x8011576C, "int restore_g") del_items(0x80115770) SetType(0x80115770, "int restore_b") del_items(0x800B1A30) SetType(0x800B1A30, "char radius_tab[16]") del_items(0x800B1A40) SetType(0x800B1A40, "char bright_tab[16]") del_items(0x801157A6) SetType(0x801157A6, "unsigned char qtextflag") del_items(0x801157A8) SetType(0x801157A8, "int qtextSpd") del_items(0x8011650C) SetType(0x8011650C, "unsigned char *pMedTextCels") del_items(0x80116510) SetType(0x80116510, "unsigned char *pTextBoxCels") del_items(0x80116514) SetType(0x80116514, "char *qtextptr") del_items(0x80116518) SetType(0x80116518, "int qtexty") del_items(0x8011651C) SetType(0x8011651C, "unsigned long qtextDelay") del_items(0x80116520) SetType(0x80116520, "unsigned long sgLastScroll") del_items(0x80116524) SetType(0x80116524, "unsigned long scrolltexty") del_items(0x80116528) SetType(0x80116528, "long sglMusicVolumeSave") del_items(0x80115794) SetType(0x80115794, "bool qtbodge") del_items(0x800B1D78) SetType(0x800B1D78, "struct Dialog QBack") del_items(0x801157A5) SetType(0x801157A5, "unsigned char CDFlip") del_items(0x800B1D88) SetType(0x800B1D88, "struct MissileData missiledata[68]") del_items(0x800B24F8) SetType(0x800B24F8, "struct MisFileData misfiledata[47]") del_items(0x800B23E8) SetType(0x800B23E8, "void (*MissPrintRoutines[68])()") del_items(0x800B25E4) SetType(0x800B25E4, "struct DLevel sgLevels[21]") del_items(0x800C6330) SetType(0x800C6330, "struct LocalLevel sgLocals[21]") del_items(0x80117508) SetType(0x80117508, "struct DJunk sgJunk") del_items(0x8011652D) SetType(0x8011652D, "unsigned char sgbRecvCmd") del_items(0x80116530) SetType(0x80116530, "unsigned long sgdwRecvOffset") del_items(0x80116534) SetType(0x80116534, "unsigned char sgbDeltaChunks") del_items(0x80116535) SetType(0x80116535, "unsigned char sgbDeltaChanged") del_items(0x80116538) SetType(0x80116538, "unsigned long sgdwOwnerWait") del_items(0x8011653C) SetType(0x8011653C, "struct TMegaPkt *sgpMegaPkt") del_items(0x80116540) SetType(0x80116540, "struct TMegaPkt *sgpCurrPkt") del_items(0x80116544) SetType(0x80116544, "int sgnCurrMegaPlayer") del_items(0x801157C1) SetType(0x801157C1, "unsigned char deltaload") del_items(0x801157C2) SetType(0x801157C2, "unsigned char gbBufferMsgs") del_items(0x801157C4) SetType(0x801157C4, "unsigned long dwRecCount") del_items(0x801157C8) SetType(0x801157C8, "bool LevelOut") del_items(0x801157DE) SetType(0x801157DE, "unsigned char gbMaxPlayers") del_items(0x801157DF) SetType(0x801157DF, "unsigned char gbActivePlayers") del_items(0x801157E0) SetType(0x801157E0, "unsigned char gbGameDestroyed") del_items(0x801157E1) SetType(0x801157E1, "unsigned char gbDeltaSender") del_items(0x801157E2) SetType(0x801157E2, "unsigned char gbSelectProvider") del_items(0x801157E3) SetType(0x801157E3, "unsigned char gbSomebodyWonGameKludge") del_items(0x80116548) SetType(0x80116548, "unsigned char sgbSentThisCycle") del_items(0x8011654C) SetType(0x8011654C, "unsigned long sgdwGameLoops") del_items(0x80116550) SetType(0x80116550, "unsigned short sgwPackPlrOffsetTbl[2]") del_items(0x80116554) SetType(0x80116554, "unsigned char sgbPlayerLeftGameTbl[2]") del_items(0x80116558) SetType(0x80116558, "unsigned long sgdwPlayerLeftReasonTbl[2]") del_items(0x80116560) SetType(0x80116560, "unsigned char sgbSendDeltaTbl[2]") del_items(0x80116568) SetType(0x80116568, "struct _gamedata sgGameInitInfo") del_items(0x80116570) SetType(0x80116570, "unsigned char sgbTimeout") del_items(0x80116574) SetType(0x80116574, "long sglTimeoutStart") del_items(0x801157D8) SetType(0x801157D8, "char gszVersionNumber[5]") del_items(0x801157DD) SetType(0x801157DD, "unsigned char sgbNetInited") del_items(0x800C7398) SetType(0x800C7398, "int ObjTypeConv[113]") del_items(0x800C755C) SetType(0x800C755C, "struct ObjDataStruct AllObjects[99]") del_items(0x80110D0C) SetType(0x80110D0C, "struct OBJ_LOAD_INFO ObjMasterLoadList[56]") del_items(0x800C7D3C) SetType(0x800C7D3C, "struct ObjectStruct object[127]") del_items(0x80115804) SetType(0x80115804, "long numobjects") del_items(0x800C9310) SetType(0x800C9310, "char objectactive[127]") del_items(0x800C9390) SetType(0x800C9390, "char objectavail[127]") del_items(0x80115808) SetType(0x80115808, "unsigned char InitObjFlag") del_items(0x8011580C) SetType(0x8011580C, "int trapid") del_items(0x800C9410) SetType(0x800C9410, "char ObjFileList[40]") del_items(0x80115810) SetType(0x80115810, "int trapdir") del_items(0x80115814) SetType(0x80115814, "int leverid") del_items(0x801157FC) SetType(0x801157FC, "int numobjfiles") del_items(0x800C7C54) SetType(0x800C7C54, "int bxadd[8]") del_items(0x800C7C74) SetType(0x800C7C74, "int byadd[8]") del_items(0x800C7CFC) SetType(0x800C7CFC, "char shrineavail[26]") del_items(0x800C7C94) SetType(0x800C7C94, "int shrinestrs[26]") del_items(0x800C7D18) SetType(0x800C7D18, "int StoryBookName[9]") del_items(0x80115800) SetType(0x80115800, "int myscale") del_items(0x80115828) SetType(0x80115828, "unsigned char gbValidSaveFile") del_items(0x80115824) SetType(0x80115824, "bool DoLoadedChar") del_items(0x800C9630) SetType(0x800C9630, "struct PlayerStruct plr[2]") del_items(0x80115848) SetType(0x80115848, "int myplr") del_items(0x8011584C) SetType(0x8011584C, "int deathdelay") del_items(0x80115850) SetType(0x80115850, "unsigned char deathflag") del_items(0x80115851) SetType(0x80115851, "char light_rad") del_items(0x80115840) SetType(0x80115840, "char light_level[5]") del_items(0x800C9528) SetType(0x800C9528, "int MaxStats[4][3]") del_items(0x80115838) SetType(0x80115838, "int PlrStructSize") del_items(0x8011583C) SetType(0x8011583C, "int ItemStructSize") del_items(0x800C9438) SetType(0x800C9438, "int plrxoff[9]") del_items(0x800C945C) SetType(0x800C945C, "int plryoff[9]") del_items(0x800C9480) SetType(0x800C9480, "int plrxoff2[9]") del_items(0x800C94A4) SetType(0x800C94A4, "int plryoff2[9]") del_items(0x800C94C8) SetType(0x800C94C8, "char PlrGFXAnimLens[11][3]") del_items(0x800C94EC) SetType(0x800C94EC, "int StrengthTbl[3]") del_items(0x800C94F8) SetType(0x800C94F8, "int MagicTbl[3]") del_items(0x800C9504) SetType(0x800C9504, "int DexterityTbl[3]") del_items(0x800C9510) SetType(0x800C9510, "int VitalityTbl[3]") del_items(0x800C951C) SetType(0x800C951C, "int ToBlkTbl[3]") del_items(0x800C9558) SetType(0x800C9558, "long ExpLvlsTbl[51]") del_items(0x800CDCF8) SetType(0x800CDCF8, "struct QuestStruct quests[16]") del_items(0x80115890) SetType(0x80115890, "unsigned char *pQLogCel") del_items(0x80115894) SetType(0x80115894, "int ReturnLvlX") del_items(0x80115898) SetType(0x80115898, "int ReturnLvlY") del_items(0x8011589C) SetType(0x8011589C, "int ReturnLvl") del_items(0x801158A0) SetType(0x801158A0, "int ReturnLvlT") del_items(0x801158A4) SetType(0x801158A4, "unsigned char rporttest") del_items(0x801158A8) SetType(0x801158A8, "int qline") del_items(0x801158AC) SetType(0x801158AC, "int numqlines") del_items(0x801158B0) SetType(0x801158B0, "int qtopline") del_items(0x80117528) SetType(0x80117528, "int qlist[16]") del_items(0x80116578) SetType(0x80116578, "struct RECT QSRect") del_items(0x8011585D) SetType(0x8011585D, "unsigned char questlog") del_items(0x800CDBC0) SetType(0x800CDBC0, "struct QuestData questlist[16]") del_items(0x80115860) SetType(0x80115860, "int ALLQUESTS") del_items(0x800CDCD4) SetType(0x800CDCD4, "int QuestGroup1[3]") del_items(0x800CDCE0) SetType(0x800CDCE0, "int QuestGroup2[3]") del_items(0x800CDCEC) SetType(0x800CDCEC, "int QuestGroup3[3]") del_items(0x80115874) SetType(0x80115874, "int QuestGroup4[2]") del_items(0x8011588C) SetType(0x8011588C, "bool WaterDone") del_items(0x80115864) SetType(0x80115864, "char questxoff[7]") del_items(0x8011586C) SetType(0x8011586C, "char questyoff[7]") del_items(0x800CDCC0) SetType(0x800CDCC0, "int questtrigstr[5]") del_items(0x8011587C) SetType(0x8011587C, "int QS_PX") del_items(0x80115880) SetType(0x80115880, "int QS_PY") del_items(0x80115884) SetType(0x80115884, "int QS_PW") del_items(0x80115888) SetType(0x80115888, "int QS_PH") del_items(0x80117568) SetType(0x80117568, "struct Dialog QSBack") del_items(0x800CDE38) SetType(0x800CDE38, "struct SpellData spelldata[37]") del_items(0x801158EF) SetType(0x801158EF, "char stextflag") del_items(0x800CE690) SetType(0x800CE690, "struct ItemStruct smithitem[20]") del_items(0x800CF220) SetType(0x800CF220, "struct ItemStruct premiumitem[6]") del_items(0x801158F0) SetType(0x801158F0, "int numpremium") del_items(0x801158F4) SetType(0x801158F4, "int premiumlevel") del_items(0x800CF598) SetType(0x800CF598, "struct ItemStruct witchitem[20]") del_items(0x800D0128) SetType(0x800D0128, "struct ItemStruct boyitem") del_items(0x801158F8) SetType(0x801158F8, "int boylevel") del_items(0x800D01BC) SetType(0x800D01BC, "struct ItemStruct golditem") del_items(0x800D0250) SetType(0x800D0250, "struct ItemStruct healitem[20]") del_items(0x801158FC) SetType(0x801158FC, "char stextsize") del_items(0x801158FD) SetType(0x801158FD, "unsigned char stextscrl") del_items(0x80116580) SetType(0x80116580, "int stextsel") del_items(0x80116584) SetType(0x80116584, "int stextlhold") del_items(0x80116588) SetType(0x80116588, "int stextshold") del_items(0x8011658C) SetType(0x8011658C, "int stextvhold") del_items(0x80116590) SetType(0x80116590, "int stextsval") del_items(0x80116594) SetType(0x80116594, "int stextsmax") del_items(0x80116598) SetType(0x80116598, "int stextup") del_items(0x8011659C) SetType(0x8011659C, "int stextdown") del_items(0x801165A0) SetType(0x801165A0, "char stextscrlubtn") del_items(0x801165A1) SetType(0x801165A1, "char stextscrldbtn") del_items(0x801165A2) SetType(0x801165A2, "char SItemListFlag") del_items(0x80117578) SetType(0x80117578, "struct STextStruct stext[24]") del_items(0x800D0DE0) SetType(0x800D0DE0, "struct ItemStruct storehold[48]") del_items(0x800D29A0) SetType(0x800D29A0, "char storehidx[48]") del_items(0x801165A4) SetType(0x801165A4, "int storenumh") del_items(0x801165A8) SetType(0x801165A8, "int gossipstart") del_items(0x801165AC) SetType(0x801165AC, "int gossipend") del_items(0x801165B0) SetType(0x801165B0, "struct RECT StoreBackRect") del_items(0x801165B8) SetType(0x801165B8, "int talker") del_items(0x801158D8) SetType(0x801158D8, "unsigned char *pSTextBoxCels") del_items(0x801158DC) SetType(0x801158DC, "unsigned char *pSTextSlidCels") del_items(0x801158E0) SetType(0x801158E0, "int *SStringY") del_items(0x800CE5BC) SetType(0x800CE5BC, "struct Dialog SBack") del_items(0x800CE5CC) SetType(0x800CE5CC, "int SStringYNorm[20]") del_items(0x800CE61C) SetType(0x800CE61C, "int SStringYBuy[20]") del_items(0x800CE66C) SetType(0x800CE66C, "int talkname[9]") del_items(0x801158EE) SetType(0x801158EE, "unsigned char InStoreFlag") del_items(0x80111F20) SetType(0x80111F20, "struct TextDataStruct alltext[269]") del_items(0x8011590C) SetType(0x8011590C, "unsigned long gdwAllTextEntries") del_items(0x801165BC) SetType(0x801165BC, "unsigned char *P3Tiles") del_items(0x8011591C) SetType(0x8011591C, "int tile") del_items(0x8011592C) SetType(0x8011592C, "unsigned char _trigflag[2]") del_items(0x800D2C08) SetType(0x800D2C08, "struct TriggerStruct trigs[5]") del_items(0x80115930) SetType(0x80115930, "int numtrigs") del_items(0x80115934) SetType(0x80115934, "unsigned char townwarps[3]") del_items(0x80115938) SetType(0x80115938, "int TWarpFrom") del_items(0x800D29D0) SetType(0x800D29D0, "int TownDownList[11]") del_items(0x800D29FC) SetType(0x800D29FC, "int TownWarp1List[13]") del_items(0x800D2A30) SetType(0x800D2A30, "int L1UpList[12]") del_items(0x800D2A60) SetType(0x800D2A60, "int L1DownList[10]") del_items(0x800D2A88) SetType(0x800D2A88, "int L2UpList[3]") del_items(0x800D2A94) SetType(0x800D2A94, "int L2DownList[5]") del_items(0x800D2AA8) SetType(0x800D2AA8, "int L2TWarpUpList[3]") del_items(0x800D2AB4) SetType(0x800D2AB4, "int L3UpList[15]") del_items(0x800D2AF0) SetType(0x800D2AF0, "int L3DownList[9]") del_items(0x800D2B14) SetType(0x800D2B14, "int L3TWarpUpList[14]") del_items(0x800D2B4C) SetType(0x800D2B4C, "int L4UpList[4]") del_items(0x800D2B5C) SetType(0x800D2B5C, "int L4DownList[6]") del_items(0x800D2B74) SetType(0x800D2B74, "int L4TWarpUpList[4]") del_items(0x800D2B84) SetType(0x800D2B84, "int L4PentaList[33]") del_items(0x80112CB0) SetType(0x80112CB0, "char cursoff[10]") del_items(0x80115952) SetType(0x80115952, "unsigned char gbMusicOn") del_items(0x80115953) SetType(0x80115953, "unsigned char gbSoundOn") del_items(0x80115951) SetType(0x80115951, "unsigned char gbSndInited") del_items(0x80115958) SetType(0x80115958, "long sglMasterVolume") del_items(0x8011595C) SetType(0x8011595C, "long sglMusicVolume") del_items(0x80115960) SetType(0x80115960, "long sglSoundVolume") del_items(0x80115964) SetType(0x80115964, "long sglSpeechVolume") del_items(0x80115954) SetType(0x80115954, "unsigned char gbDupSounds") del_items(0x80115968) SetType(0x80115968, "int sgnMusicTrack") del_items(0x8011596C) SetType(0x8011596C, "struct SFXHDR *sghMusic") del_items(0x80112D5C) SetType(0x80112D5C, "unsigned short sgszMusicTracks[6]") del_items(0x80115990) SetType(0x80115990, "int _pcurr_inv[2]") del_items(0x800D2C58) SetType(0x800D2C58, "struct found_objects _pfind_list[10][2]") del_items(0x80115998) SetType(0x80115998, "char _pfind_index[2]") del_items(0x8011599C) SetType(0x8011599C, "char _pfindx[2]") del_items(0x801159A0) SetType(0x801159A0, "char _pfindy[2]") del_items(0x801159A2) SetType(0x801159A2, "unsigned char automapmoved") del_items(0x80115984) SetType(0x80115984, "unsigned char flyflag") del_items(0x8011597C) SetType(0x8011597C, "char (*pad_styles[2])()") del_items(0x80115985) SetType(0x80115985, "char speed_type") del_items(0x80115986) SetType(0x80115986, "char sel_speed") del_items(0x801165C0) SetType(0x801165C0, "unsigned long (*CurrentProc)()") del_items(0x80112EF8) SetType(0x80112EF8, "struct MESSAGE_STR AllMsgs[12]") del_items(0x801159DC) SetType(0x801159DC, "int NumOfStrings") del_items(0x801159B0) SetType(0x801159B0, "enum LANG_TYPE LanguageType") del_items(0x801159B4) SetType(0x801159B4, "long hndText") del_items(0x801159B8) SetType(0x801159B8, "char **TextPtr") del_items(0x801159BC) SetType(0x801159BC, "enum LANG_DB_NO LangDbNo") del_items(0x801159EC) SetType(0x801159EC, "struct TextDat *MissDat") del_items(0x801159F0) SetType(0x801159F0, "int CharFade") del_items(0x801159F4) SetType(0x801159F4, "int rotateness") del_items(0x801159F8) SetType(0x801159F8, "int spiralling_shape") del_items(0x801159FC) SetType(0x801159FC, "int down") del_items(0x800D2CA8) SetType(0x800D2CA8, "char MlTab[16]") del_items(0x800D2CB8) SetType(0x800D2CB8, "char QlTab[16]") del_items(0x800D2CC8) SetType(0x800D2CC8, "struct POLY_FT4 *(*ObjPrintFuncs[98])()") del_items(0x80115A18) SetType(0x80115A18, "int MyXoff1") del_items(0x80115A1C) SetType(0x80115A1C, "int MyYoff1") del_items(0x80115A20) SetType(0x80115A20, "int MyXoff2") del_items(0x80115A24) SetType(0x80115A24, "int MyYoff2") del_items(0x80115A34) SetType(0x80115A34, "bool iscflag") del_items(0x80115A41) SetType(0x80115A41, "unsigned char sgbFadedIn") del_items(0x80115A42) SetType(0x80115A42, "unsigned char screenbright") del_items(0x80115A44) SetType(0x80115A44, "int faderate") del_items(0x80115A48) SetType(0x80115A48, "bool fading") del_items(0x80115A54) SetType(0x80115A54, "unsigned char FadeCoords[8]") del_items(0x80115A4C) SetType(0x80115A4C, "int st") del_items(0x80115A50) SetType(0x80115A50, "int mode") del_items(0x800D2E70) SetType(0x800D2E70, "struct PortalStruct portal[4]") del_items(0x80115A80) SetType(0x80115A80, "int portalindex") del_items(0x800D2E50) SetType(0x800D2E50, "int WarpDropX[4]") del_items(0x800D2E60) SetType(0x800D2E60, "int WarpDropY[4]") del_items(0x800D2ED0) SetType(0x800D2ED0, "char MyVerString[120]") del_items(0x80115BE8) SetType(0x80115BE8, "int Year") del_items(0x80115BEC) SetType(0x80115BEC, "int Day") del_items(0x801165C4) SetType(0x801165C4, "unsigned char *tbuff") del_items(0x801165C8) SetType(0x801165C8, "unsigned char HR1") del_items(0x801165C9) SetType(0x801165C9, "unsigned char HR2") del_items(0x801165CA) SetType(0x801165CA, "unsigned char HR3") del_items(0x801165CB) SetType(0x801165CB, "unsigned char VR1") del_items(0x801165CC) SetType(0x801165CC, "unsigned char VR2") del_items(0x801165CD) SetType(0x801165CD, "unsigned char VR3") del_items(0x80115C5C) SetType(0x80115C5C, "struct NODE *pHallList") del_items(0x80115C60) SetType(0x80115C60, "int nRoomCnt") del_items(0x80115C64) SetType(0x80115C64, "int nSx1") del_items(0x80115C68) SetType(0x80115C68, "int nSy1") del_items(0x80115C6C) SetType(0x80115C6C, "int nSx2") del_items(0x80115C70) SetType(0x80115C70, "int nSy2") del_items(0x80115C14) SetType(0x80115C14, "int Area_Min") del_items(0x80115C18) SetType(0x80115C18, "int Room_Max") del_items(0x80115C1C) SetType(0x80115C1C, "int Room_Min") del_items(0x80115C20) SetType(0x80115C20, "unsigned char BIG3[6]") del_items(0x80115C28) SetType(0x80115C28, "unsigned char BIG4[6]") del_items(0x80115C30) SetType(0x80115C30, "unsigned char BIG6[6]") del_items(0x80115C38) SetType(0x80115C38, "unsigned char BIG7[6]") del_items(0x80115C40) SetType(0x80115C40, "unsigned char RUINS1[4]") del_items(0x80115C44) SetType(0x80115C44, "unsigned char RUINS2[4]") del_items(0x80115C48) SetType(0x80115C48, "unsigned char RUINS3[4]") del_items(0x80115C4C) SetType(0x80115C4C, "unsigned char RUINS4[4]") del_items(0x80115C50) SetType(0x80115C50, "unsigned char RUINS5[4]") del_items(0x80115C54) SetType(0x80115C54, "unsigned char RUINS6[4]") del_items(0x80115C58) SetType(0x80115C58, "unsigned char RUINS7[4]") del_items(0x801165D0) SetType(0x801165D0, "int abyssx") del_items(0x801165D4) SetType(0x801165D4, "unsigned char lavapool") del_items(0x80115CFC) SetType(0x80115CFC, "int lockoutcnt") del_items(0x80115C80) SetType(0x80115C80, "unsigned char L3TITE12[6]") del_items(0x80115C88) SetType(0x80115C88, "unsigned char L3TITE13[6]") del_items(0x80115C90) SetType(0x80115C90, "unsigned char L3CREV1[6]") del_items(0x80115C98) SetType(0x80115C98, "unsigned char L3CREV2[6]") del_items(0x80115CA0) SetType(0x80115CA0, "unsigned char L3CREV3[6]") del_items(0x80115CA8) SetType(0x80115CA8, "unsigned char L3CREV4[6]") del_items(0x80115CB0) SetType(0x80115CB0, "unsigned char L3CREV5[6]") del_items(0x80115CB8) SetType(0x80115CB8, "unsigned char L3CREV6[6]") del_items(0x80115CC0) SetType(0x80115CC0, "unsigned char L3CREV7[6]") del_items(0x80115CC8) SetType(0x80115CC8, "unsigned char L3CREV8[6]") del_items(0x80115CD0) SetType(0x80115CD0, "unsigned char L3CREV9[6]") del_items(0x80115CD8) SetType(0x80115CD8, "unsigned char L3CREV10[6]") del_items(0x80115CE0) SetType(0x80115CE0, "unsigned char L3CREV11[6]") del_items(0x80115CE8) SetType(0x80115CE8, "unsigned char L3XTRA1[4]") del_items(0x80115CEC) SetType(0x80115CEC, "unsigned char L3XTRA2[4]") del_items(0x80115CF0) SetType(0x80115CF0, "unsigned char L3XTRA3[4]") del_items(0x80115CF4) SetType(0x80115CF4, "unsigned char L3XTRA4[4]") del_items(0x80115CF8) SetType(0x80115CF8, "unsigned char L3XTRA5[4]") del_items(0x80115D00) SetType(0x80115D00, "int diabquad1x") del_items(0x80115D04) SetType(0x80115D04, "int diabquad2x") del_items(0x80115D08) SetType(0x80115D08, "int diabquad3x") del_items(0x80115D0C) SetType(0x80115D0C, "int diabquad4x") del_items(0x80115D10) SetType(0x80115D10, "int diabquad1y") del_items(0x80115D14) SetType(0x80115D14, "int diabquad2y") del_items(0x80115D18) SetType(0x80115D18, "int diabquad3y") del_items(0x80115D1C) SetType(0x80115D1C, "int diabquad4y") del_items(0x80115D20) SetType(0x80115D20, "int SP4x1") del_items(0x80115D24) SetType(0x80115D24, "int SP4y1") del_items(0x80115D28) SetType(0x80115D28, "int SP4x2") del_items(0x80115D2C) SetType(0x80115D2C, "int SP4y2") del_items(0x80115D30) SetType(0x80115D30, "int l4holdx") del_items(0x80115D34) SetType(0x80115D34, "int l4holdy") del_items(0x801165D8) SetType(0x801165D8, "unsigned char *lpSetPiece1") del_items(0x801165DC) SetType(0x801165DC, "unsigned char *lpSetPiece2") del_items(0x801165E0) SetType(0x801165E0, "unsigned char *lpSetPiece3") del_items(0x801165E4) SetType(0x801165E4, "unsigned char *lpSetPiece4") del_items(0x80115D44) SetType(0x80115D44, "unsigned char SkelKingTrans1[8]") del_items(0x80115D4C) SetType(0x80115D4C, "unsigned char SkelKingTrans2[8]") del_items(0x800D2F48) SetType(0x800D2F48, "unsigned char SkelKingTrans3[20]") del_items(0x800D2F5C) SetType(0x800D2F5C, "unsigned char SkelKingTrans4[28]") del_items(0x800D2F78) SetType(0x800D2F78, "unsigned char SkelChamTrans1[20]") del_items(0x80115D54) SetType(0x80115D54, "unsigned char SkelChamTrans2[8]") del_items(0x800D2F8C) SetType(0x800D2F8C, "unsigned char SkelChamTrans3[36]") del_items(0x80115E40) SetType(0x80115E40, "bool DoUiForChooseMonster") del_items(0x800D2FB0) SetType(0x800D2FB0, "char *MgToText[34]") del_items(0x800D3038) SetType(0x800D3038, "int StoryText[3][3]") del_items(0x800D305C) SetType(0x800D305C, "unsigned short dungeon[48][48]") del_items(0x800D425C) SetType(0x800D425C, "unsigned char pdungeon[40][40]") del_items(0x800D489C) SetType(0x800D489C, "unsigned char dflags[40][40]") del_items(0x80115E64) SetType(0x80115E64, "int setpc_x") del_items(0x80115E68) SetType(0x80115E68, "int setpc_y") del_items(0x80115E6C) SetType(0x80115E6C, "int setpc_w") del_items(0x80115E70) SetType(0x80115E70, "int setpc_h") del_items(0x80115E74) SetType(0x80115E74, "unsigned char setloadflag") del_items(0x80115E78) SetType(0x80115E78, "unsigned char *pMegaTiles") del_items(0x800D4EDC) SetType(0x800D4EDC, "unsigned char nBlockTable[2049]") del_items(0x800D56E0) SetType(0x800D56E0, "unsigned char nSolidTable[2049]") del_items(0x800D5EE4) SetType(0x800D5EE4, "unsigned char nTransTable[2049]") del_items(0x800D66E8) SetType(0x800D66E8, "unsigned char nMissileTable[2049]") del_items(0x800D6EEC) SetType(0x800D6EEC, "unsigned char nTrapTable[2049]") del_items(0x80115E7C) SetType(0x80115E7C, "int dminx") del_items(0x80115E80) SetType(0x80115E80, "int dminy") del_items(0x80115E84) SetType(0x80115E84, "int dmaxx") del_items(0x80115E88) SetType(0x80115E88, "int dmaxy") del_items(0x80115E8C) SetType(0x80115E8C, "int gnDifficulty") del_items(0x80115E90) SetType(0x80115E90, "unsigned char currlevel") del_items(0x80115E91) SetType(0x80115E91, "unsigned char leveltype") del_items(0x80115E92) SetType(0x80115E92, "unsigned char setlevel") del_items(0x80115E93) SetType(0x80115E93, "unsigned char setlvlnum") del_items(0x80115E94) SetType(0x80115E94, "unsigned char setlvltype") del_items(0x80115E98) SetType(0x80115E98, "int ViewX") del_items(0x80115E9C) SetType(0x80115E9C, "int ViewY") del_items(0x80115EA0) SetType(0x80115EA0, "int ViewDX") del_items(0x80115EA4) SetType(0x80115EA4, "int ViewDY") del_items(0x80115EA8) SetType(0x80115EA8, "int ViewBX") del_items(0x80115EAC) SetType(0x80115EAC, "int ViewBY") del_items(0x800D76F0) SetType(0x800D76F0, "struct ScrollStruct ScrollInfo") del_items(0x80115EB0) SetType(0x80115EB0, "int LvlViewX") del_items(0x80115EB4) SetType(0x80115EB4, "int LvlViewY") del_items(0x80115EB8) SetType(0x80115EB8, "int btmbx") del_items(0x80115EBC) SetType(0x80115EBC, "int btmby") del_items(0x80115EC0) SetType(0x80115EC0, "int btmdx") del_items(0x80115EC4) SetType(0x80115EC4, "int btmdy") del_items(0x80115EC8) SetType(0x80115EC8, "int MicroTileLen") del_items(0x80115ECC) SetType(0x80115ECC, "char TransVal") del_items(0x800D7704) SetType(0x800D7704, "bool TransList[8]") del_items(0x80115ED0) SetType(0x80115ED0, "int themeCount") del_items(0x800D7724) SetType(0x800D7724, "struct map_info dung_map[108][108]") del_items(0x800F99E4) SetType(0x800F99E4, "unsigned char dung_map_r[54][54]") del_items(0x800FA548) SetType(0x800FA548, "unsigned char dung_map_g[54][54]") del_items(0x800FB0AC) SetType(0x800FB0AC, "unsigned char dung_map_b[54][54]") del_items(0x800FBC10) SetType(0x800FBC10, "struct MINIXY MinisetXY[17]") del_items(0x80115E5C) SetType(0x80115E5C, "unsigned char *pSetPiece") del_items(0x80115E60) SetType(0x80115E60, "int DungSize") del_items(0x800FBDDC) SetType(0x800FBDDC, "struct ThemeStruct theme[50]") del_items(0x80115F10) SetType(0x80115F10, "int numthemes") del_items(0x80115F14) SetType(0x80115F14, "int zharlib") del_items(0x80115F18) SetType(0x80115F18, "unsigned char armorFlag") del_items(0x80115F19) SetType(0x80115F19, "unsigned char bCrossFlag") del_items(0x80115F1A) SetType(0x80115F1A, "unsigned char weaponFlag") del_items(0x80115F1C) SetType(0x80115F1C, "int themex") del_items(0x80115F20) SetType(0x80115F20, "int themey") del_items(0x80115F24) SetType(0x80115F24, "int themeVar1") del_items(0x80115F28) SetType(0x80115F28, "unsigned char bFountainFlag") del_items(0x80115F29) SetType(0x80115F29, "unsigned char cauldronFlag") del_items(0x80115F2A) SetType(0x80115F2A, "unsigned char mFountainFlag") del_items(0x80115F2B) SetType(0x80115F2B, "unsigned char pFountainFlag") del_items(0x80115F2C) SetType(0x80115F2C, "unsigned char tFountainFlag") del_items(0x80115F2D) SetType(0x80115F2D, "unsigned char treasureFlag") del_items(0x80115F30) SetType(0x80115F30, "unsigned char ThemeGoodIn[4]") del_items(0x800FBCBC) SetType(0x800FBCBC, "int ThemeGood[4]") del_items(0x800FBCCC) SetType(0x800FBCCC, "int trm5x[25]") del_items(0x800FBD30) SetType(0x800FBD30, "int trm5y[25]") del_items(0x800FBD94) SetType(0x800FBD94, "int trm3x[9]") del_items(0x800FBDB8) SetType(0x800FBDB8, "int trm3y[9]") del_items(0x80115FE8) SetType(0x80115FE8, "int nummissiles") del_items(0x800FBFF4) SetType(0x800FBFF4, "int missileactive[125]") del_items(0x800FC1E8) SetType(0x800FC1E8, "int missileavail[125]") del_items(0x80115FEC) SetType(0x80115FEC, "unsigned char MissilePreFlag") del_items(0x800FC3DC) SetType(0x800FC3DC, "struct MissileStruct missile[125]") del_items(0x80115FED) SetType(0x80115FED, "unsigned char ManashieldFlag") del_items(0x80115FEE) SetType(0x80115FEE, "unsigned char ManashieldFlag2") del_items(0x800FBF6C) SetType(0x800FBF6C, "int XDirAdd[8]") del_items(0x800FBF8C) SetType(0x800FBF8C, "int YDirAdd[8]") del_items(0x80115FD5) SetType(0x80115FD5, "unsigned char fadetor") del_items(0x80115FD6) SetType(0x80115FD6, "unsigned char fadetog") del_items(0x80115FD7) SetType(0x80115FD7, "unsigned char fadetob") del_items(0x800FBFAC) SetType(0x800FBFAC, "unsigned char ValueTable[16]") del_items(0x800FBFBC) SetType(0x800FBFBC, "unsigned char StringTable[9][6]") del_items(0x800FEC8C) SetType(0x800FEC8C, "struct MonsterStruct monster[200]") del_items(0x8011604C) SetType(0x8011604C, "long nummonsters") del_items(0x8010440C) SetType(0x8010440C, "short monstactive[200]") del_items(0x8010459C) SetType(0x8010459C, "short monstkills[200]") del_items(0x8010472C) SetType(0x8010472C, "struct CMonster Monsters[16]") del_items(0x80116050) SetType(0x80116050, "long monstimgtot") del_items(0x80116054) SetType(0x80116054, "char totalmonsters") del_items(0x80116058) SetType(0x80116058, "int uniquetrans") del_items(0x801165E8) SetType(0x801165E8, "unsigned char sgbSaveSoundOn") del_items(0x80116020) SetType(0x80116020, "char offset_x[8]") del_items(0x80116028) SetType(0x80116028, "char offset_y[8]") del_items(0x80116008) SetType(0x80116008, "char left[8]") del_items(0x80116010) SetType(0x80116010, "char right[8]") del_items(0x80116018) SetType(0x80116018, "char opposite[8]") del_items(0x80115FFC) SetType(0x80115FFC, "int nummtypes") del_items(0x80116000) SetType(0x80116000, "char animletter[7]") del_items(0x800FEAEC) SetType(0x800FEAEC, "int MWVel[3][24]") del_items(0x80116030) SetType(0x80116030, "char rnd5[4]") del_items(0x80116034) SetType(0x80116034, "char rnd10[4]") del_items(0x80116038) SetType(0x80116038, "char rnd20[4]") del_items(0x8011603C) SetType(0x8011603C, "char rnd60[4]") del_items(0x800FEC0C) SetType(0x800FEC0C, "void (*AiProc[32])()") del_items(0x80104C04) SetType(0x80104C04, "struct MonsterData monsterdata[112]") del_items(0x80106644) SetType(0x80106644, "char MonstConvTbl[128]") del_items(0x801066C4) SetType(0x801066C4, "char MonstAvailTbl[112]") del_items(0x80106734) SetType(0x80106734, "struct UniqMonstStruct UniqMonst[98]") del_items(0x801049EC) SetType(0x801049EC, "int TransPals[134]") del_items(0x801048EC) SetType(0x801048EC, "struct STONEPAL StonePals[32]") del_items(0x80116084) SetType(0x80116084, "unsigned char invflag") del_items(0x80116085) SetType(0x80116085, "unsigned char drawsbarflag") del_items(0x80116088) SetType(0x80116088, "int InvBackY") del_items(0x8011608C) SetType(0x8011608C, "int InvCursPos") del_items(0x801076DC) SetType(0x801076DC, "unsigned char InvSlotTable[73]") del_items(0x80116090) SetType(0x80116090, "int InvBackAY") del_items(0x80116094) SetType(0x80116094, "int InvSel") del_items(0x80116098) SetType(0x80116098, "int ItemW") del_items(0x8011609C) SetType(0x8011609C, "int ItemH") del_items(0x801160A0) SetType(0x801160A0, "int ItemNo") del_items(0x801160A4) SetType(0x801160A4, "struct RECT BRect") del_items(0x80116078) SetType(0x80116078, "struct TextDat *InvPanelTData") del_items(0x8011607C) SetType(0x8011607C, "struct TextDat *InvGfxTData") del_items(0x80116074) SetType(0x80116074, "int InvPageNo") del_items(0x80107064) SetType(0x80107064, "int AP2x2Tbl[10]") del_items(0x8010708C) SetType(0x8010708C, "struct InvXY InvRect[73]") del_items(0x801072D4) SetType(0x801072D4, "int InvGfxTable[168]") del_items(0x80107574) SetType(0x80107574, "unsigned char InvItemWidth[180]") del_items(0x80107628) SetType(0x80107628, "unsigned char InvItemHeight[180]") del_items(0x80116080) SetType(0x80116080, "unsigned long sgdwLastTime") del_items(0x801160CE) SetType(0x801160CE, "unsigned char automapflag") del_items(0x80107728) SetType(0x80107728, "unsigned char automapview[40][5]") del_items(0x801077F0) SetType(0x801077F0, "unsigned short automaptype[512]") del_items(0x801160CF) SetType(0x801160CF, "unsigned char AMLWallFlag") del_items(0x801160D0) SetType(0x801160D0, "unsigned char AMRWallFlag") del_items(0x801160D1) SetType(0x801160D1, "unsigned char AMLLWallFlag") del_items(0x801160D2) SetType(0x801160D2, "unsigned char AMLRWallFlag") del_items(0x801160D3) SetType(0x801160D3, "unsigned char AMDirtFlag") del_items(0x801160D4) SetType(0x801160D4, "unsigned char AMColumnFlag") del_items(0x801160D5) SetType(0x801160D5, "unsigned char AMStairFlag") del_items(0x801160D6) SetType(0x801160D6, "unsigned char AMLDoorFlag") del_items(0x801160D7) SetType(0x801160D7, "unsigned char AMLGrateFlag") del_items(0x801160D8) SetType(0x801160D8, "unsigned char AMLArchFlag") del_items(0x801160D9) SetType(0x801160D9, "unsigned char AMRDoorFlag") del_items(0x801160DA) SetType(0x801160DA, "unsigned char AMRGrateFlag") del_items(0x801160DB) SetType(0x801160DB, "unsigned char AMRArchFlag") del_items(0x801160DC) SetType(0x801160DC, "int AutoMapX") del_items(0x801160E0) SetType(0x801160E0, "int AutoMapY") del_items(0x801160E4) SetType(0x801160E4, "int AutoMapXOfs") del_items(0x801160E8) SetType(0x801160E8, "int AutoMapYOfs") del_items(0x801160EC) SetType(0x801160EC, "int AMPlayerX") del_items(0x801160F0) SetType(0x801160F0, "int AMPlayerY") del_items(0x801160B8) SetType(0x801160B8, "int AutoMapScale") del_items(0x801160BC) SetType(0x801160BC, "unsigned char AutoMapPlayerR") del_items(0x801160BD) SetType(0x801160BD, "unsigned char AutoMapPlayerG") del_items(0x801160BE) SetType(0x801160BE, "unsigned char AutoMapPlayerB") del_items(0x801160BF) SetType(0x801160BF, "unsigned char AutoMapWallR") del_items(0x801160C0) SetType(0x801160C0, "unsigned char AutoMapWallG") del_items(0x801160C1) SetType(0x801160C1, "unsigned char AutoMapWallB") del_items(0x801160C2) SetType(0x801160C2, "unsigned char AutoMapDoorR") del_items(0x801160C3) SetType(0x801160C3, "unsigned char AutoMapDoorG") del_items(0x801160C4) SetType(0x801160C4, "unsigned char AutoMapDoorB") del_items(0x801160C5) SetType(0x801160C5, "unsigned char AutoMapColumnR") del_items(0x801160C6) SetType(0x801160C6, "unsigned char AutoMapColumnG") del_items(0x801160C7) SetType(0x801160C7, "unsigned char AutoMapColumnB") del_items(0x801160C8) SetType(0x801160C8, "unsigned char AutoMapArchR") del_items(0x801160C9) SetType(0x801160C9, "unsigned char AutoMapArchG") del_items(0x801160CA) SetType(0x801160CA, "unsigned char AutoMapArchB") del_items(0x801160CB) SetType(0x801160CB, "unsigned char AutoMapStairR") del_items(0x801160CC) SetType(0x801160CC, "unsigned char AutoMapStairG") del_items(0x801160CD) SetType(0x801160CD, "unsigned char AutoMapStairB") del_items(0x80116744) SetType(0x80116744, "unsigned long GazTick") del_items(0x8011D068) SetType(0x8011D068, "unsigned long RndTabs[6]") del_items(0x800A37F8) SetType(0x800A37F8, "unsigned long DefaultRnd[6]") del_items(0x8011676C) SetType(0x8011676C, "void (*PollFunc)()") del_items(0x80116750) SetType(0x80116750, "void (*MsgFunc)()") del_items(0x8011679C) SetType(0x8011679C, "void (*ErrorFunc)()") del_items(0x80116670) SetType(0x80116670, "struct TASK *ActiveTasks") del_items(0x80116674) SetType(0x80116674, "struct TASK *CurrentTask") del_items(0x80116678) SetType(0x80116678, "struct TASK *T") del_items(0x8011667C) SetType(0x8011667C, "unsigned long MemTypeForTasker") del_items(0x8011A898) SetType(0x8011A898, "int SchEnv[12]") del_items(0x80116680) SetType(0x80116680, "unsigned long ExecId") del_items(0x80116684) SetType(0x80116684, "unsigned long ExecMask") del_items(0x80116688) SetType(0x80116688, "int TasksActive") del_items(0x8011668C) SetType(0x8011668C, "void (*EpiFunc)()") del_items(0x80116690) SetType(0x80116690, "void (*ProFunc)()") del_items(0x80116694) SetType(0x80116694, "unsigned long EpiProId") del_items(0x80116698) SetType(0x80116698, "unsigned long EpiProMask") del_items(0x8011669C) SetType(0x8011669C, "void (*DoTasksPrologue)()") del_items(0x801166A0) SetType(0x801166A0, "void (*DoTasksEpilogue)()") del_items(0x801166A4) SetType(0x801166A4, "void (*StackFloodCallback)()") del_items(0x801166A8) SetType(0x801166A8, "unsigned char ExtraStackProtection") del_items(0x801166AC) SetType(0x801166AC, "int ExtraStackSizeLongs") del_items(0x80116758) SetType(0x80116758, "void *LastPtr") del_items(0x800A3830) SetType(0x800A3830, "struct MEM_INFO WorkMemInfo") del_items(0x801166B0) SetType(0x801166B0, "struct MEM_INIT_INFO *MemInitBlocks") del_items(0x8011A8C8) SetType(0x8011A8C8, "struct MEM_HDR MemHdrBlocks[140]") del_items(0x801166B4) SetType(0x801166B4, "struct MEM_HDR *FreeBlocks") del_items(0x801166B8) SetType(0x801166B8, "enum GAL_ERROR_CODE LastError") del_items(0x801166BC) SetType(0x801166BC, "int TimeStamp") del_items(0x801166C0) SetType(0x801166C0, "unsigned char FullErrorChecking") del_items(0x801166C4) SetType(0x801166C4, "unsigned long LastAttemptedAlloc") del_items(0x801166C8) SetType(0x801166C8, "unsigned long LastDeallocedBlock") del_items(0x801166CC) SetType(0x801166CC, "enum GAL_VERB_LEV VerbLev") del_items(0x801166D0) SetType(0x801166D0, "int NumOfFreeHdrs") del_items(0x801166D4) SetType(0x801166D4, "unsigned long LastTypeAlloced") del_items(0x801166D8) SetType(0x801166D8, "void (*AllocFilter)()") del_items(0x800A3838) SetType(0x800A3838, "char *GalErrors[10]") del_items(0x800A3860) SetType(0x800A3860, "struct MEM_INIT_INFO PhantomMem") del_items(0x8011BA48) SetType(0x8011BA48, "char buf[4992]") del_items(0x800A3888) SetType(0x800A3888, "char NULL_REP[7]")
del_items(2148616996) set_type(2148616996, 'int NumOfMonsterListLevels') del_items(2148157924) set_type(2148157924, 'struct MonstLevel AllLevels[16]') del_items(2148616224) set_type(2148616224, 'unsigned char NumsLEV1M1A[4]') del_items(2148616228) set_type(2148616228, 'unsigned char NumsLEV1M1B[4]') del_items(2148616232) set_type(2148616232, 'unsigned char NumsLEV1M1C[5]') del_items(2148616240) set_type(2148616240, 'unsigned char NumsLEV2M2A[4]') del_items(2148616244) set_type(2148616244, 'unsigned char NumsLEV2M2B[4]') del_items(2148616248) set_type(2148616248, 'unsigned char NumsLEV2M2C[3]') del_items(2148616252) set_type(2148616252, 'unsigned char NumsLEV2M2D[4]') del_items(2148616256) set_type(2148616256, 'unsigned char NumsLEV2M2QA[4]') del_items(2148616260) set_type(2148616260, 'unsigned char NumsLEV2M2QB[4]') del_items(2148616264) set_type(2148616264, 'unsigned char NumsLEV3M3A[4]') del_items(2148616268) set_type(2148616268, 'unsigned char NumsLEV3M3QA[3]') del_items(2148616272) set_type(2148616272, 'unsigned char NumsLEV3M3B[4]') del_items(2148616276) set_type(2148616276, 'unsigned char NumsLEV3M3C[4]') del_items(2148616280) set_type(2148616280, 'unsigned char NumsLEV4M4A[4]') del_items(2148616284) set_type(2148616284, 'unsigned char NumsLEV4M4QA[4]') del_items(2148616288) set_type(2148616288, 'unsigned char NumsLEV4M4B[4]') del_items(2148616292) set_type(2148616292, 'unsigned char NumsLEV4M4QB[5]') del_items(2148616300) set_type(2148616300, 'unsigned char NumsLEV4M4C[4]') del_items(2148616304) set_type(2148616304, 'unsigned char NumsLEV4M4QC[5]') del_items(2148616312) set_type(2148616312, 'unsigned char NumsLEV4M4D[4]') del_items(2148616316) set_type(2148616316, 'unsigned char NumsLEV5M5A[4]') del_items(2148616320) set_type(2148616320, 'unsigned char NumsLEV5M5B[4]') del_items(2148616324) set_type(2148616324, 'unsigned char NumsLEV5M5C[4]') del_items(2148616328) set_type(2148616328, 'unsigned char NumsLEV5M5D[4]') del_items(2148616332) set_type(2148616332, 'unsigned char NumsLEV5M5E[4]') del_items(2148616336) set_type(2148616336, 'unsigned char NumsLEV5M5F[3]') del_items(2148616340) set_type(2148616340, 'unsigned char NumsLEV5M5QA[4]') del_items(2148616344) set_type(2148616344, 'unsigned char NumsLEV6M6A[5]') del_items(2148616352) set_type(2148616352, 'unsigned char NumsLEV6M6B[3]') del_items(2148616356) set_type(2148616356, 'unsigned char NumsLEV6M6C[4]') del_items(2148616360) set_type(2148616360, 'unsigned char NumsLEV6M6D[3]') del_items(2148616364) set_type(2148616364, 'unsigned char NumsLEV6M6E[3]') del_items(2148616368) set_type(2148616368, 'unsigned char NumsLEV7M7A[4]') del_items(2148616372) set_type(2148616372, 'unsigned char NumsLEV7M7B[4]') del_items(2148616376) set_type(2148616376, 'unsigned char NumsLEV7M7C[3]') del_items(2148616380) set_type(2148616380, 'unsigned char NumsLEV7M7D[2]') del_items(2148616384) set_type(2148616384, 'unsigned char NumsLEV7M7E[2]') del_items(2148616388) set_type(2148616388, 'unsigned char NumsLEV8M8QA[2]') del_items(2148616392) set_type(2148616392, 'unsigned char NumsLEV8M8A[3]') del_items(2148616396) set_type(2148616396, 'unsigned char NumsLEV8M8B[4]') del_items(2148616400) set_type(2148616400, 'unsigned char NumsLEV8M8C[3]') del_items(2148616404) set_type(2148616404, 'unsigned char NumsLEV8M8D[2]') del_items(2148616408) set_type(2148616408, 'unsigned char NumsLEV8M8E[2]') del_items(2148616412) set_type(2148616412, 'unsigned char NumsLEV9M9A[4]') del_items(2148616416) set_type(2148616416, 'unsigned char NumsLEV9M9B[3]') del_items(2148616420) set_type(2148616420, 'unsigned char NumsLEV9M9C[2]') del_items(2148616424) set_type(2148616424, 'unsigned char NumsLEV9M9D[2]') del_items(2148616428) set_type(2148616428, 'unsigned char NumsLEV10M10A[3]') del_items(2148616432) set_type(2148616432, 'unsigned char NumsLEV10M10B[2]') del_items(2148616436) set_type(2148616436, 'unsigned char NumsLEV10M10C[2]') del_items(2148616440) set_type(2148616440, 'unsigned char NumsLEV10M10D[2]') del_items(2148616444) set_type(2148616444, 'unsigned char NumsLEV10M10QA[3]') del_items(2148616448) set_type(2148616448, 'unsigned char NumsLEV11M11A[3]') del_items(2148616452) set_type(2148616452, 'unsigned char NumsLEV11M11B[3]') del_items(2148616456) set_type(2148616456, 'unsigned char NumsLEV11M11C[3]') del_items(2148616460) set_type(2148616460, 'unsigned char NumsLEV11M11D[3]') del_items(2148616464) set_type(2148616464, 'unsigned char NumsLEV11M11E[2]') del_items(2148616468) set_type(2148616468, 'unsigned char NumsLEV12M12A[3]') del_items(2148616472) set_type(2148616472, 'unsigned char NumsLEV12M12B[3]') del_items(2148616476) set_type(2148616476, 'unsigned char NumsLEV12M12C[3]') del_items(2148616480) set_type(2148616480, 'unsigned char NumsLEV12M12D[3]') del_items(2148616484) set_type(2148616484, 'unsigned char NumsLEV13M13A[3]') del_items(2148616488) set_type(2148616488, 'unsigned char NumsLEV13M13B[2]') del_items(2148616492) set_type(2148616492, 'unsigned char NumsLEV13M13QB[3]') del_items(2148616496) set_type(2148616496, 'unsigned char NumsLEV13M13C[3]') del_items(2148616500) set_type(2148616500, 'unsigned char NumsLEV13M13D[2]') del_items(2148616504) set_type(2148616504, 'unsigned char NumsLEV14M14A[3]') del_items(2148616508) set_type(2148616508, 'unsigned char NumsLEV14M14B[3]') del_items(2148616512) set_type(2148616512, 'unsigned char NumsLEV14M14QB[3]') del_items(2148616516) set_type(2148616516, 'unsigned char NumsLEV14M14C[3]') del_items(2148616520) set_type(2148616520, 'unsigned char NumsLEV14M14D[3]') del_items(2148616524) set_type(2148616524, 'unsigned char NumsLEV14M14E[2]') del_items(2148616528) set_type(2148616528, 'unsigned char NumsLEV15M15A[3]') del_items(2148616532) set_type(2148616532, 'unsigned char NumsLEV15M15B[3]') del_items(2148616536) set_type(2148616536, 'unsigned char NumsLEV15M15C[2]') del_items(2148616540) set_type(2148616540, 'unsigned char NumsLEV16M16D[2]') del_items(2148156708) set_type(2148156708, 'struct MonstList ChoiceListLEV1[3]') del_items(2148156756) set_type(2148156756, 'struct MonstList ChoiceListLEV2[6]') del_items(2148156852) set_type(2148156852, 'struct MonstList ChoiceListLEV3[4]') del_items(2148156916) set_type(2148156916, 'struct MonstList ChoiceListLEV4[7]') del_items(2148157028) set_type(2148157028, 'struct MonstList ChoiceListLEV5[7]') del_items(2148157140) set_type(2148157140, 'struct MonstList ChoiceListLEV6[5]') del_items(2148157220) set_type(2148157220, 'struct MonstList ChoiceListLEV7[5]') del_items(2148157300) set_type(2148157300, 'struct MonstList ChoiceListLEV8[6]') del_items(2148157396) set_type(2148157396, 'struct MonstList ChoiceListLEV9[4]') del_items(2148157460) set_type(2148157460, 'struct MonstList ChoiceListLEV10[5]') del_items(2148157540) set_type(2148157540, 'struct MonstList ChoiceListLEV11[5]') del_items(2148157620) set_type(2148157620, 'struct MonstList ChoiceListLEV12[4]') del_items(2148157684) set_type(2148157684, 'struct MonstList ChoiceListLEV13[5]') del_items(2148157764) set_type(2148157764, 'struct MonstList ChoiceListLEV14[6]') del_items(2148157860) set_type(2148157860, 'struct MonstList ChoiceListLEV15[3]') del_items(2148157908) set_type(2148157908, 'struct MonstList ChoiceListLEV16[1]') del_items(2148623188) set_type(2148623188, 'struct TASK *GameTaskPtr') del_items(2148158052) set_type(2148158052, 'struct LOAD_IMAGE_ARGS AllArgs[30]') del_items(2148617012) set_type(2148617012, 'int ArgsSoFar') del_items(2148617016) set_type(2148617016, 'unsigned long *ThisOt') del_items(2148617020) set_type(2148617020, 'struct POLY_FT4 *ThisPrimAddr') del_items(2148623192) set_type(2148623192, 'long hndPrimBuffers') del_items(2148623196) set_type(2148623196, 'struct PRIM_BUFFER *PrimBuffers') del_items(2148623200) set_type(2148623200, 'unsigned char BufferDepth') del_items(2148623201) set_type(2148623201, 'unsigned char WorkRamId') del_items(2148623202) set_type(2148623202, 'unsigned char ScrNum') del_items(2148623204) set_type(2148623204, 'struct SCREEN_ENV *Screens') del_items(2148623208) set_type(2148623208, 'struct PRIM_BUFFER *PbToClear') del_items(2148623212) set_type(2148623212, 'unsigned char BufferNum') del_items(2148617024) set_type(2148617024, 'struct POLY_FT4 *AddrToAvoid') del_items(2148623213) set_type(2148623213, 'unsigned char LastBuffer') del_items(2148623216) set_type(2148623216, 'struct DISPENV *DispEnvToPut') del_items(2148623220) set_type(2148623220, 'int ThisOtSize') del_items(2148617028) set_type(2148617028, 'struct RECT ScrRect') del_items(2148623224) set_type(2148623224, 'int VidWait') del_items(2148624328) set_type(2148624328, 'struct SCREEN_ENV screen[2]') del_items(2148623228) set_type(2148623228, 'void (*VbFunc)()') del_items(2148623232) set_type(2148623232, 'unsigned long VidTick') del_items(2148623236) set_type(2148623236, 'int VXOff') del_items(2148623240) set_type(2148623240, 'int VYOff') del_items(2148617048) set_type(2148617048, 'struct LNK_OPTS *Gaz') del_items(2148617052) set_type(2148617052, 'int LastFmem') del_items(2148617036) set_type(2148617036, 'unsigned int GSYS_MemStart') del_items(2148617040) set_type(2148617040, 'unsigned int GSYS_MemEnd') del_items(2148158892) set_type(2148158892, 'struct MEM_INIT_INFO PsxMem') del_items(2148158932) set_type(2148158932, 'struct MEM_INIT_INFO PsxFastMem') del_items(2148617044) set_type(2148617044, 'int LowestFmem') del_items(2148617068) set_type(2148617068, 'int FileSYS') del_items(2148623244) set_type(2148623244, 'struct FileIO *FileSystem') del_items(2148623248) set_type(2148623248, 'struct FileIO *OverlayFileSystem') del_items(2148617094) set_type(2148617094, 'short DavesPad') del_items(2148617096) set_type(2148617096, 'short DavesPadDeb') del_items(2148158972) set_type(2148158972, 'char _6FileIO_FileToLoad[50]') del_items(2148624552) set_type(2148624552, 'struct POLY_FT4 MyFT4') del_items(2148161184) set_type(2148161184, 'struct TextDat *AllDats[285]') del_items(2148617176) set_type(2148617176, 'int TpW') del_items(2148617180) set_type(2148617180, 'int TpH') del_items(2148617184) set_type(2148617184, 'int TpXDest') del_items(2148617188) set_type(2148617188, 'int TpYDest') del_items(2148617192) set_type(2148617192, 'struct RECT R') del_items(2148162324) set_type(2148162324, 'struct POLY_GT4 MyGT4') del_items(2148162376) set_type(2148162376, 'struct POLY_GT3 MyGT3') del_items(2148159024) set_type(2148159024, 'struct TextDat DatPool[20]') del_items(2148617212) set_type(2148617212, 'bool ChunkGot') del_items(2148162416) set_type(2148162416, 'char STREAM_DIR[16]') del_items(2148162432) set_type(2148162432, 'char STREAM_BIN[16]') del_items(2148162448) set_type(2148162448, 'unsigned char EAC_DirectoryCache[300]') del_items(2148617232) set_type(2148617232, 'unsigned long BL_NoLumpFiles') del_items(2148617236) set_type(2148617236, 'unsigned long BL_NoStreamFiles') del_items(2148617240) set_type(2148617240, 'struct STRHDR *LFileTab') del_items(2148617244) set_type(2148617244, 'struct STRHDR *SFileTab') del_items(2148617248) set_type(2148617248, 'unsigned char FileLoaded') del_items(2148617296) set_type(2148617296, 'int NoTAllocs') del_items(2148162748) set_type(2148162748, 'struct MEMSTRUCT MemBlock[50]') del_items(2148623260) set_type(2148623260, 'bool CanPause') del_items(2148623264) set_type(2148623264, 'bool Paused') del_items(2148623268) set_type(2148623268, 'struct RECT PRect') del_items(2148624592) set_type(2148624592, 'struct Dialog PBack') del_items(2148163364) set_type(2148163364, 'unsigned char RawPadData0[34]') del_items(2148163400) set_type(2148163400, 'unsigned char RawPadData1[34]') del_items(2148163436) set_type(2148163436, 'unsigned char demo_buffer[1800]') del_items(2148617340) set_type(2148617340, 'int demo_pad_time') del_items(2148617344) set_type(2148617344, 'int demo_pad_count') del_items(2148163148) set_type(2148163148, 'struct CPad Pad0') del_items(2148163256) set_type(2148163256, 'struct CPad Pad1') del_items(2148617348) set_type(2148617348, 'unsigned long demo_finish') del_items(2148617352) set_type(2148617352, 'int cac_pad') del_items(2148617380) set_type(2148617380, 'struct POLY_FT4 *CharFt4') del_items(2148617384) set_type(2148617384, 'int CharFrm') del_items(2148617365) set_type(2148617365, 'unsigned char WHITER') del_items(2148617366) set_type(2148617366, 'unsigned char WHITEG') del_items(2148617367) set_type(2148617367, 'unsigned char WHITEB') del_items(2148617368) set_type(2148617368, 'unsigned char BLUER') del_items(2148617369) set_type(2148617369, 'unsigned char BLUEG') del_items(2148617370) set_type(2148617370, 'unsigned char BLUEB') del_items(2148617371) set_type(2148617371, 'unsigned char REDR') del_items(2148617372) set_type(2148617372, 'unsigned char REDG') del_items(2148617373) set_type(2148617373, 'unsigned char REDB') del_items(2148617374) set_type(2148617374, 'unsigned char GOLDR') del_items(2148617375) set_type(2148617375, 'unsigned char GOLDG') del_items(2148617376) set_type(2148617376, 'unsigned char GOLDB') del_items(2148165236) set_type(2148165236, 'struct CFont MediumFont') del_items(2148165772) set_type(2148165772, 'struct CFont LargeFont') del_items(2148166308) set_type(2148166308, 'struct FontItem LFontTab[90]') del_items(2148166488) set_type(2148166488, 'struct FontTab LFont') del_items(2148166504) set_type(2148166504, 'struct FontItem MFontTab[155]') del_items(2148166816) set_type(2148166816, 'struct FontTab MFont') del_items(2148617405) set_type(2148617405, 'unsigned char DialogRed') del_items(2148617406) set_type(2148617406, 'unsigned char DialogGreen') del_items(2148617407) set_type(2148617407, 'unsigned char DialogBlue') del_items(2148617408) set_type(2148617408, 'unsigned char DialogTRed') del_items(2148617409) set_type(2148617409, 'unsigned char DialogTGreen') del_items(2148617410) set_type(2148617410, 'unsigned char DialogTBlue') del_items(2148617412) set_type(2148617412, 'struct TextDat *DialogTData') del_items(2148617416) set_type(2148617416, 'int DialogBackGfx') del_items(2148617420) set_type(2148617420, 'int DialogBackW') del_items(2148617424) set_type(2148617424, 'int DialogBackH') del_items(2148617428) set_type(2148617428, 'int DialogBorderGfx') del_items(2148617432) set_type(2148617432, 'int DialogBorderTLW') del_items(2148617436) set_type(2148617436, 'int DialogBorderTLH') del_items(2148617440) set_type(2148617440, 'int DialogBorderTRW') del_items(2148617444) set_type(2148617444, 'int DialogBorderTRH') del_items(2148617448) set_type(2148617448, 'int DialogBorderBLW') del_items(2148617452) set_type(2148617452, 'int DialogBorderBLH') del_items(2148617456) set_type(2148617456, 'int DialogBorderBRW') del_items(2148617460) set_type(2148617460, 'int DialogBorderBRH') del_items(2148617464) set_type(2148617464, 'int DialogBorderTW') del_items(2148617468) set_type(2148617468, 'int DialogBorderTH') del_items(2148617472) set_type(2148617472, 'int DialogBorderBW') del_items(2148617476) set_type(2148617476, 'int DialogBorderBH') del_items(2148617480) set_type(2148617480, 'int DialogBorderLW') del_items(2148617484) set_type(2148617484, 'int DialogBorderLH') del_items(2148617488) set_type(2148617488, 'int DialogBorderRW') del_items(2148617492) set_type(2148617492, 'int DialogBorderRH') del_items(2148617496) set_type(2148617496, 'int DialogBevelGfx') del_items(2148617500) set_type(2148617500, 'int DialogBevelCW') del_items(2148617504) set_type(2148617504, 'int DialogBevelCH') del_items(2148617508) set_type(2148617508, 'int DialogBevelLRW') del_items(2148617512) set_type(2148617512, 'int DialogBevelLRH') del_items(2148617516) set_type(2148617516, 'int DialogBevelUDW') del_items(2148617520) set_type(2148617520, 'int DialogBevelUDH') del_items(2148617524) set_type(2148617524, 'int MY_DialogOTpos') del_items(2148623276) set_type(2148623276, 'unsigned char DialogGBack') del_items(2148623277) set_type(2148623277, 'char GShadeX') del_items(2148623278) set_type(2148623278, 'char GShadeY') del_items(2148623284) set_type(2148623284, 'unsigned char RandBTab[8]') del_items(2148166896) set_type(2148166896, 'int Cxy[28]') del_items(2148617399) set_type(2148617399, 'unsigned char BORDERR') del_items(2148617400) set_type(2148617400, 'unsigned char BORDERG') del_items(2148617401) set_type(2148617401, 'unsigned char BORDERB') del_items(2148617402) set_type(2148617402, 'unsigned char BACKR') del_items(2148617403) set_type(2148617403, 'unsigned char BACKG') del_items(2148617404) set_type(2148617404, 'unsigned char BACKB') del_items(2148166832) set_type(2148166832, 'char GShadeTab[64]') del_items(2148617397) set_type(2148617397, 'char GShadePX') del_items(2148617398) set_type(2148617398, 'char GShadePY') del_items(2148617537) set_type(2148617537, 'unsigned char PlayDemoFlag') del_items(2148624608) set_type(2148624608, 'struct RGBPOLY rgbb') del_items(2148624656) set_type(2148624656, 'struct RGBPOLY rgbt') del_items(2148623292) set_type(2148623292, 'int blockr') del_items(2148623296) set_type(2148623296, 'int blockg') del_items(2148623300) set_type(2148623300, 'int blockb') del_items(2148623304) set_type(2148623304, 'int InfraFlag') del_items(2148617557) set_type(2148617557, 'unsigned char P1ObjSelCount') del_items(2148617558) set_type(2148617558, 'unsigned char P2ObjSelCount') del_items(2148617559) set_type(2148617559, 'unsigned char P12ObjSelCount') del_items(2148617560) set_type(2148617560, 'unsigned char P1ItemSelCount') del_items(2148617561) set_type(2148617561, 'unsigned char P2ItemSelCount') del_items(2148617562) set_type(2148617562, 'unsigned char P12ItemSelCount') del_items(2148617563) set_type(2148617563, 'unsigned char P1MonstSelCount') del_items(2148617564) set_type(2148617564, 'unsigned char P2MonstSelCount') del_items(2148617565) set_type(2148617565, 'unsigned char P12MonstSelCount') del_items(2148617566) set_type(2148617566, 'unsigned short P1ObjSelCol') del_items(2148617568) set_type(2148617568, 'unsigned short P2ObjSelCol') del_items(2148617570) set_type(2148617570, 'unsigned short P12ObjSelCol') del_items(2148617572) set_type(2148617572, 'unsigned short P1ItemSelCol') del_items(2148617574) set_type(2148617574, 'unsigned short P2ItemSelCol') del_items(2148617576) set_type(2148617576, 'unsigned short P12ItemSelCol') del_items(2148617578) set_type(2148617578, 'unsigned short P1MonstSelCol') del_items(2148617580) set_type(2148617580, 'unsigned short P2MonstSelCol') del_items(2148617582) set_type(2148617582, 'unsigned short P12MonstSelCol') del_items(2148617584) set_type(2148617584, 'struct CBlocks *CurrentBlocks') del_items(2148575000) set_type(2148575000, 'short SinTab[32]') del_items(2148167008) set_type(2148167008, 'struct TownToCreature TownConv[10]') del_items(2148617612) set_type(2148617612, 'enum OVER_TYPE CurrentOverlay') del_items(2148575140) set_type(2148575140, 'unsigned long HaltTab[3]') del_items(2148624704) set_type(2148624704, 'struct Overlay FrontEndOver') del_items(2148624720) set_type(2148624720, 'struct Overlay PregameOver') del_items(2148624736) set_type(2148624736, 'struct Overlay GameOver') del_items(2148624752) set_type(2148624752, 'struct Overlay FmvOver') del_items(2148623308) set_type(2148623308, 'int OWorldX') del_items(2148623312) set_type(2148623312, 'int OWorldY') del_items(2148623316) set_type(2148623316, 'int WWorldX') del_items(2148623320) set_type(2148623320, 'int WWorldY') del_items(2148575264) set_type(2148575264, 'short TxyAdd[16]') del_items(2148617648) set_type(2148617648, 'int GXAdj2') del_items(2148623324) set_type(2148623324, 'int TimePerFrame') del_items(2148623328) set_type(2148623328, 'int CpuStart') del_items(2148623332) set_type(2148623332, 'int CpuTime') del_items(2148623336) set_type(2148623336, 'int DrawTime') del_items(2148623340) set_type(2148623340, 'int DrawStart') del_items(2148623344) set_type(2148623344, 'int LastCpuTime') del_items(2148623348) set_type(2148623348, 'int LastDrawTime') del_items(2148623352) set_type(2148623352, 'int DrawArea') del_items(2148617656) set_type(2148617656, 'bool ProfOn') del_items(2148167028) set_type(2148167028, 'unsigned char LevPals[17]') del_items(2148575612) set_type(2148575612, 'unsigned short Level2Bgdata[25]') del_items(2148167048) set_type(2148167048, 'struct PanelXY DefP1PanelXY') del_items(2148167132) set_type(2148167132, 'struct PanelXY DefP1PanelXY2') del_items(2148167216) set_type(2148167216, 'struct PanelXY DefP2PanelXY') del_items(2148167300) set_type(2148167300, 'struct PanelXY DefP2PanelXY2') del_items(2148167384) set_type(2148167384, 'unsigned int SpeedBarGfxTable[50]') del_items(2148617696) set_type(2148617696, 'int hof') del_items(2148617700) set_type(2148617700, 'int mof') del_items(2148167584) set_type(2148167584, 'struct SFXHDR SFXTab[2]') del_items(2148617752) set_type(2148617752, 'unsigned long Time') del_items(2148167840) set_type(2148167840, 'struct SpuVoiceAttr voice_attr') del_items(2148617716) set_type(2148617716, 'unsigned long *STR_Buffer') del_items(2148617720) set_type(2148617720, 'char NoActiveStreams') del_items(2148617724) set_type(2148617724, 'bool STRInit') del_items(2148617788) set_type(2148617788, 'char SFXNotPlayed') del_items(2148617789) set_type(2148617789, 'char SFXNotInBank') del_items(2148624768) set_type(2148624768, 'char spu_management[264]') del_items(2148625040) set_type(2148625040, 'struct SpuReverbAttr rev_attr') del_items(2148623360) set_type(2148623360, 'unsigned short NoSfx') del_items(2148617768) set_type(2148617768, 'struct bank_entry *BankOffsets') del_items(2148617772) set_type(2148617772, 'long OffsetHandle') del_items(2148617776) set_type(2148617776, 'int BankBase') del_items(2148617780) set_type(2148617780, 'unsigned char SPU_Done') del_items(2148576580) set_type(2148576580, 'unsigned short SFXRemapTab[56]') del_items(2148617784) set_type(2148617784, 'int NoSNDRemaps') del_items(2148167904) set_type(2148167904, 'struct PalCollection ThePals') del_items(2148576744) set_type(2148576744, 'struct InitPos InitialPositions[20]') del_items(2148617872) set_type(2148617872, 'int demo_level') del_items(2148617876) set_type(2148617876, 'struct TASK *DemoTask') del_items(2148617880) set_type(2148617880, 'struct TASK *DemoGameTask') del_items(2148617884) set_type(2148617884, 'struct TASK *tonys') del_items(2148617832) set_type(2148617832, 'int demo_load') del_items(2148617836) set_type(2148617836, 'int demo_record_load') del_items(2148617840) set_type(2148617840, 'int level_record') del_items(2148617828) set_type(2148617828, 'int moo_moo') del_items(2148617844) set_type(2148617844, 'char demolevel[5]') del_items(2148617852) set_type(2148617852, 'int demo_which') del_items(2148617856) set_type(2148617856, 'unsigned char demo_flash') del_items(2148617860) set_type(2148617860, 'int tonys_Task') del_items(2148618232) set_type(2148618232, 'bool DoShowPanel') del_items(2148618236) set_type(2148618236, 'bool DoDrawBg') del_items(2148623364) set_type(2148623364, 'bool GlueFinished') del_items(2148623368) set_type(2148623368, 'bool DoHomingScroll') del_items(2148623372) set_type(2148623372, 'struct TextDat *TownerGfx') del_items(2148623376) set_type(2148623376, 'int CurrentMonsterList') del_items(2148617897) set_type(2148617897, 'char started_grtask') del_items(2148168396) set_type(2148168396, 'struct PInf PlayerInfo[81]') del_items(2148618240) set_type(2148618240, 'char ArmourChar[4]') del_items(2148576988) set_type(2148576988, 'char WepChar[10]') del_items(2148618244) set_type(2148618244, 'char CharChar[4]') del_items(2148623380) set_type(2148623380, 'char ctrl_select_line') del_items(2148623381) set_type(2148623381, 'char ctrl_select_side') del_items(2148623382) set_type(2148623382, 'char ckeyheld') del_items(2148623384) set_type(2148623384, 'int old_options_pad') del_items(2148623388) set_type(2148623388, 'struct RECT CtrlRect') del_items(2148618264) set_type(2148618264, 'unsigned char ctrlflag') del_items(2148169212) set_type(2148169212, 'struct KEY_ASSIGNS txt_actions[19]') del_items(2148169044) set_type(2148169044, 'struct pad_assigns pad_txt[14]') del_items(2148618260) set_type(2148618260, 'int toppos') del_items(2148625064) set_type(2148625064, 'struct Dialog CtrlBack') del_items(2148169516) set_type(2148169516, 'int controller_defaults[2][19]') del_items(2148618372) set_type(2148618372, 'int gr_scrxoff') del_items(2148618376) set_type(2148618376, 'int gr_scryoff') del_items(2148618384) set_type(2148618384, 'unsigned short water_clut') del_items(2148618388) set_type(2148618388, 'char visible_level') del_items(2148618369) set_type(2148618369, 'char last_type') del_items(2148618390) set_type(2148618390, 'char daylight') del_items(2148618386) set_type(2148618386, 'char cow_in_sight') del_items(2148618387) set_type(2148618387, 'char inn_in_sight') del_items(2148618380) set_type(2148618380, 'unsigned int water_count') del_items(2148618389) set_type(2148618389, 'unsigned char lastrnd') del_items(2148618392) set_type(2148618392, 'int call_clock') del_items(2148618408) set_type(2148618408, 'int TitleAnimCount') del_items(2148618412) set_type(2148618412, 'int flametick') del_items(2148577180) set_type(2148577180, 'unsigned char light_tile[55]') del_items(2148169700) set_type(2148169700, 'struct SPELLFX_DAT SpellFXDat[2]') del_items(2148625080) set_type(2148625080, 'struct Particle PartArray[16]') del_items(2148623396) set_type(2148623396, 'int partOtPos') del_items(2148618440) set_type(2148618440, 'int SetParticle') del_items(2148618444) set_type(2148618444, 'int p1partexecnum') del_items(2148618448) set_type(2148618448, 'int p2partexecnum') del_items(2148169668) set_type(2148169668, 'int JumpArray[8]') del_items(2148618452) set_type(2148618452, 'int partjumpflag') del_items(2148618456) set_type(2148618456, 'int partglowflag') del_items(2148618460) set_type(2148618460, 'int partcolour') del_items(2148169860) set_type(2148169860, 'struct Spell_Target SplTarget[2]') del_items(2148618493) set_type(2148618493, 'unsigned char select_flag') del_items(2148623400) set_type(2148623400, 'struct RECT SelectRect') del_items(2148623408) set_type(2148623408, 'char item_select') del_items(2148618496) set_type(2148618496, 'char QSpell[2]') del_items(2148618500) set_type(2148618500, 'char _spltotype[2]') del_items(2148618480) set_type(2148618480, 'struct CPlayer *gplayer') del_items(2148625656) set_type(2148625656, 'struct Dialog SelectBack') del_items(2148618484) set_type(2148618484, 'char mana_order[4]') del_items(2148618488) set_type(2148618488, 'char health_order[4]') del_items(2148618492) set_type(2148618492, 'unsigned char birdcheck') del_items(2148625672) set_type(2148625672, 'struct TextDat *DecRequestors[10]') del_items(2148623412) set_type(2148623412, 'unsigned short progress') del_items(2148577432) set_type(2148577432, 'unsigned short Level2CutScreen[20]') del_items(2148618528) set_type(2148618528, 'char *CutString') del_items(2148625712) set_type(2148625712, 'struct CScreen Scr') del_items(2148618532) set_type(2148618532, 'struct TASK *CutScreenTSK') del_items(2148618536) set_type(2148618536, 'bool GameLoading') del_items(2148625840) set_type(2148625840, 'struct Dialog LBack') del_items(2148618552) set_type(2148618552, 'unsigned int card_ev0') del_items(2148618556) set_type(2148618556, 'unsigned int card_ev1') del_items(2148618560) set_type(2148618560, 'unsigned int card_ev2') del_items(2148618564) set_type(2148618564, 'unsigned int card_ev3') del_items(2148618568) set_type(2148618568, 'unsigned int card_ev10') del_items(2148618572) set_type(2148618572, 'unsigned int card_ev11') del_items(2148618576) set_type(2148618576, 'unsigned int card_ev12') del_items(2148618580) set_type(2148618580, 'unsigned int card_ev13') del_items(2148618584) set_type(2148618584, 'int card_dirty[2]') del_items(2148618592) set_type(2148618592, 'struct TASK *MemcardTask') del_items(2148623416) set_type(2148623416, 'int card_event') del_items(2148618548) set_type(2148618548, 'void (*mem_card_event_handler)()') del_items(2148618540) set_type(2148618540, 'bool MemCardActive') del_items(2148618544) set_type(2148618544, 'int never_hooked_events') del_items(2148618660) set_type(2148618660, 'unsigned long MasterVol') del_items(2148618664) set_type(2148618664, 'unsigned long MusicVol') del_items(2148618668) set_type(2148618668, 'unsigned long SoundVol') del_items(2148618672) set_type(2148618672, 'unsigned long VideoVol') del_items(2148618676) set_type(2148618676, 'unsigned long SpeechVol') del_items(2148623420) set_type(2148623420, 'struct TextDat *Slider') del_items(2148623424) set_type(2148623424, 'int sw') del_items(2148623428) set_type(2148623428, 'int sx') del_items(2148623432) set_type(2148623432, 'int sy') del_items(2148623436) set_type(2148623436, 'unsigned char Adjust') del_items(2148623437) set_type(2148623437, 'unsigned char qspin') del_items(2148623438) set_type(2148623438, 'unsigned char lqspin') del_items(2148623440) set_type(2148623440, 'enum LANG_TYPE OrigLang') del_items(2148623444) set_type(2148623444, 'enum LANG_TYPE OldLang') del_items(2148623448) set_type(2148623448, 'enum LANG_TYPE NewLang') del_items(2148618680) set_type(2148618680, 'int ReturnMenu') del_items(2148623452) set_type(2148623452, 'struct RECT ORect') del_items(2148623460) set_type(2148623460, 'char *McState[2]') del_items(2148618632) set_type(2148618632, 'bool optionsflag') del_items(2148618620) set_type(2148618620, 'int cmenu') del_items(2148618640) set_type(2148618640, 'int options_pad') del_items(2148618652) set_type(2148618652, 'char *PrevTxt') del_items(2148618628) set_type(2148618628, 'bool allspellsflag') del_items(2148172012) set_type(2148172012, 'short Circle[64]') del_items(2148618608) set_type(2148618608, 'int Spacing') del_items(2148618612) set_type(2148618612, 'int cs') del_items(2148618616) set_type(2148618616, 'int lastcs') del_items(2148618624) set_type(2148618624, 'bool MemcardOverlay') del_items(2148618636) set_type(2148618636, 'int saveflag') del_items(2148169932) set_type(2148169932, 'struct OMENUITEM MainMenu[7]') del_items(2148170100) set_type(2148170100, 'struct OMENUITEM GameMenu[9]') del_items(2148170316) set_type(2148170316, 'struct OMENUITEM SoundMenu[6]') del_items(2148170460) set_type(2148170460, 'struct OMENUITEM CentreMenu[7]') del_items(2148170628) set_type(2148170628, 'struct OMENUITEM LangMenu[7]') del_items(2148170796) set_type(2148170796, 'struct OMENUITEM MemcardMenu[4]') del_items(2148170892) set_type(2148170892, 'struct OMENUITEM MemcardGameMenu[6]') del_items(2148171036) set_type(2148171036, 'struct OMENUITEM MemcardCharacterMenu[4]') del_items(2148171132) set_type(2148171132, 'struct OMENUITEM MemcardSelectCard1[7]') del_items(2148171300) set_type(2148171300, 'struct OMENUITEM MemcardSelectCard2[7]') del_items(2148171468) set_type(2148171468, 'struct OMENUITEM MemcardFormatMenu[4]') del_items(2148171564) set_type(2148171564, 'struct OMENUITEM CheatMenu[9]') del_items(2148171780) set_type(2148171780, 'struct OMENUITEM InfoMenu[2]') del_items(2148171828) set_type(2148171828, 'struct OMENUITEM MonstViewMenu[3]') del_items(2148171900) set_type(2148171900, 'struct OMENULIST MenuList[14]') del_items(2148618656) set_type(2148618656, 'bool debounce') del_items(2148172140) set_type(2148172140, 'struct BIRDSTRUCT BirdList[16]') del_items(2148618693) set_type(2148618693, 'char hop_height') del_items(2148618696) set_type(2148618696, 'struct Perch perches[4]') del_items(2148172524) set_type(2148172524, 'char *FmvTab[4]') del_items(2148618716) set_type(2148618716, 'int CurMons') del_items(2148618720) set_type(2148618720, 'int Frame') del_items(2148618724) set_type(2148618724, 'int Action') del_items(2148618728) set_type(2148618728, 'int Dir') del_items(2148618844) set_type(2148618844, 'int FeBackX') del_items(2148618848) set_type(2148618848, 'int FeBackY') del_items(2148618852) set_type(2148618852, 'int FeBackW') del_items(2148618856) set_type(2148618856, 'int FeBackH') del_items(2148618860) set_type(2148618860, 'unsigned char FeFlag') del_items(2148174492) set_type(2148174492, 'struct FeStruct FeBuffer[40]') del_items(2148618864) set_type(2148618864, 'int FePlayerNo') del_items(2148623468) set_type(2148623468, 'struct FE_CREATE *CStruct') del_items(2148618868) set_type(2148618868, 'int FeBufferCount') del_items(2148618872) set_type(2148618872, 'int FeNoOfPlayers') del_items(2148618876) set_type(2148618876, 'int FeChrClass[2]') del_items(2148175452) set_type(2148175452, 'char FePlayerName[11][2]') del_items(2148618884) set_type(2148618884, 'struct FeTable *FeCurMenu') del_items(2148618888) set_type(2148618888, 'unsigned char FePlayerNameFlag[2]') del_items(2148618892) set_type(2148618892, 'unsigned long FeCount') del_items(2148618896) set_type(2148618896, 'int fileselect') del_items(2148618900) set_type(2148618900, 'int BookMenu') del_items(2148618904) set_type(2148618904, 'int FeAttractMode') del_items(2148618908) set_type(2148618908, 'int FMVPress') del_items(2148618796) set_type(2148618796, 'struct TextDat *FeTData') del_items(2148618804) set_type(2148618804, 'bool LoadedChar[2]') del_items(2148618800) set_type(2148618800, 'struct TextDat *FlameTData') del_items(2148618812) set_type(2148618812, 'unsigned char FeIsAVirgin') del_items(2148618816) set_type(2148618816, 'int FeMenuDelay') del_items(2148172540) set_type(2148172540, 'struct FeTable DummyMenu') del_items(2148172568) set_type(2148172568, 'struct FeTable FeMainMenu') del_items(2148172596) set_type(2148172596, 'struct FeTable FeNewGameMenu') del_items(2148172624) set_type(2148172624, 'struct FeTable FeNewP1ClassMenu') del_items(2148172652) set_type(2148172652, 'struct FeTable FeNewP1NameMenu') del_items(2148172680) set_type(2148172680, 'struct FeTable FeNewP2ClassMenu') del_items(2148172708) set_type(2148172708, 'struct FeTable FeNewP2NameMenu') del_items(2148172736) set_type(2148172736, 'struct FeTable FeDifficultyMenu') del_items(2148172764) set_type(2148172764, 'struct FeTable FeBackgroundMenu') del_items(2148172792) set_type(2148172792, 'struct FeTable FeBook1Menu') del_items(2148172820) set_type(2148172820, 'struct FeTable FeBook2Menu') del_items(2148172848) set_type(2148172848, 'struct FeTable FeLoadCharMenu') del_items(2148172876) set_type(2148172876, 'struct FeTable FeLoadChar1Menu') del_items(2148172904) set_type(2148172904, 'struct FeTable FeLoadChar2Menu') del_items(2148618820) set_type(2148618820, 'int fadeval') del_items(2148172932) set_type(2148172932, 'struct FeMenuTable FeMainMenuTable[5]') del_items(2148173052) set_type(2148173052, 'struct FeMenuTable FeNewGameMenuTable[3]') del_items(2148173124) set_type(2148173124, 'struct FeMenuTable FePlayerClassMenuTable[5]') del_items(2148173244) set_type(2148173244, 'struct FeMenuTable FeNameEngMenuTable[31]') del_items(2148173988) set_type(2148173988, 'struct FeMenuTable FeMemcardMenuTable[3]') del_items(2148174060) set_type(2148174060, 'struct FeMenuTable FeDifficultyMenuTable[4]') del_items(2148174156) set_type(2148174156, 'struct FeMenuTable FeBackgroundMenuTable[4]') del_items(2148174252) set_type(2148174252, 'struct FeMenuTable FeBook1MenuTable[5]') del_items(2148174372) set_type(2148174372, 'struct FeMenuTable FeBook2MenuTable[5]') del_items(2148618832) set_type(2148618832, 'unsigned long AttractTitleDelay') del_items(2148618836) set_type(2148618836, 'unsigned long AttractMainDelay') del_items(2148618840) set_type(2148618840, 'int FMVEndPad') del_items(2148618960) set_type(2148618960, 'int InCredits') del_items(2148618964) set_type(2148618964, 'int CreditTitleNo') del_items(2148618968) set_type(2148618968, 'int CreditSubTitleNo') del_items(2148618988) set_type(2148618988, 'int card_status[2]') del_items(2148618996) set_type(2148618996, 'int card_usable[2]') del_items(2148619004) set_type(2148619004, 'int card_files[2]') del_items(2148619012) set_type(2148619012, 'int card_changed[2]') del_items(2148619076) set_type(2148619076, 'int AlertTxt') del_items(2148619080) set_type(2148619080, 'int current_card') del_items(2148619084) set_type(2148619084, 'int LoadType') del_items(2148619088) set_type(2148619088, 'int McMenuPos') del_items(2148619092) set_type(2148619092, 'struct FeTable *McCurMenu') del_items(2148619072) set_type(2148619072, 'bool fileinfoflag') del_items(2148619032) set_type(2148619032, 'char *DiabloGameFile') del_items(2148619064) set_type(2148619064, 'char *McState_addr_80115338[2]') del_items(2148619300) set_type(2148619300, 'int mdec_audio_buffer[2]') del_items(2148619308) set_type(2148619308, 'int mdec_audio_sec') del_items(2148619312) set_type(2148619312, 'int mdec_audio_offs') del_items(2148619316) set_type(2148619316, 'int mdec_audio_playing') del_items(2148619320) set_type(2148619320, 'int mdec_audio_rate_shift') del_items(2148619324) set_type(2148619324, 'char *vlcbuf[2]') del_items(2148619332) set_type(2148619332, 'int slice_size') del_items(2148619336) set_type(2148619336, 'struct RECT slice') del_items(2148619344) set_type(2148619344, 'int slice_inc') del_items(2148619348) set_type(2148619348, 'int area_pw') del_items(2148619352) set_type(2148619352, 'int area_ph') del_items(2148619356) set_type(2148619356, 'int tmdc_pol_dirty[2]') del_items(2148619364) set_type(2148619364, 'int num_pol[2]') del_items(2148619372) set_type(2148619372, 'int mdec_cx') del_items(2148619376) set_type(2148619376, 'int mdec_cy') del_items(2148619380) set_type(2148619380, 'int mdec_w') del_items(2148619384) set_type(2148619384, 'int mdec_h') del_items(2148619388) set_type(2148619388, 'int mdec_pw[2]') del_items(2148619396) set_type(2148619396, 'int mdec_ph[2]') del_items(2148619404) set_type(2148619404, 'int move_x') del_items(2148619408) set_type(2148619408, 'int move_y') del_items(2148619412) set_type(2148619412, 'int move_scale') del_items(2148619416) set_type(2148619416, 'int stream_frames') del_items(2148619420) set_type(2148619420, 'int last_stream_frame') del_items(2148619424) set_type(2148619424, 'int mdec_framecount') del_items(2148619428) set_type(2148619428, 'int mdec_speed') del_items(2148619432) set_type(2148619432, 'int mdec_stream_starting') del_items(2148619436) set_type(2148619436, 'int mdec_last_frame') del_items(2148619440) set_type(2148619440, 'int mdec_sectors_per_frame') del_items(2148619444) set_type(2148619444, 'unsigned short *vlctab') del_items(2148619448) set_type(2148619448, 'unsigned char *mdc_buftop') del_items(2148619452) set_type(2148619452, 'unsigned char *mdc_bufstart') del_items(2148619456) set_type(2148619456, 'int mdc_bufleft') del_items(2148619460) set_type(2148619460, 'int mdc_buftotal') del_items(2148619464) set_type(2148619464, 'int time_in_frames') del_items(2148619468) set_type(2148619468, 'int stream_chunksize') del_items(2148619472) set_type(2148619472, 'int stream_bufsize') del_items(2148619476) set_type(2148619476, 'int stream_subsec') del_items(2148619480) set_type(2148619480, 'int stream_secnum') del_items(2148619484) set_type(2148619484, 'int stream_last_sector') del_items(2148619488) set_type(2148619488, 'int stream_startsec') del_items(2148619492) set_type(2148619492, 'int stream_opened') del_items(2148619496) set_type(2148619496, 'int stream_last_chunk') del_items(2148619500) set_type(2148619500, 'int stream_got_chunks') del_items(2148619504) set_type(2148619504, 'int last_sector') del_items(2148619508) set_type(2148619508, 'int cdstream_resetsec') del_items(2148619512) set_type(2148619512, 'int last_handler_event') del_items(2148619108) set_type(2148619108, 'unsigned char *map_buf') del_items(2148619112) set_type(2148619112, 'unsigned char *vlc_tab') del_items(2148619116) set_type(2148619116, 'unsigned char *vlc_buf') del_items(2148619120) set_type(2148619120, 'int vbuf') del_items(2148619124) set_type(2148619124, 'int last_fn') del_items(2148619128) set_type(2148619128, 'int last_mdc') del_items(2148619132) set_type(2148619132, 'int slnum') del_items(2148619136) set_type(2148619136, 'int slices_to_do') del_items(2148619140) set_type(2148619140, 'int mbuf') del_items(2148619144) set_type(2148619144, 'int mfn') del_items(2148619148) set_type(2148619148, 'int last_move_mbuf') del_items(2148619152) set_type(2148619152, 'int move_request') del_items(2148619156) set_type(2148619156, 'int mdec_scale') del_items(2148619160) set_type(2148619160, 'int do_brightness') del_items(2148619164) set_type(2148619164, 'int frame_decoded') del_items(2148619168) set_type(2148619168, 'int mdec_streaming') del_items(2148619172) set_type(2148619172, 'int mdec_stream_size') del_items(2148619176) set_type(2148619176, 'int first_stream_frame') del_items(2148619180) set_type(2148619180, 'int stream_frames_played') del_items(2148619184) set_type(2148619184, 'int num_mdcs') del_items(2148619188) set_type(2148619188, 'int mdec_head') del_items(2148619192) set_type(2148619192, 'int mdec_tail') del_items(2148619196) set_type(2148619196, 'int mdec_waiting_tail') del_items(2148619200) set_type(2148619200, 'int mdecs_queued') del_items(2148619204) set_type(2148619204, 'int mdecs_waiting') del_items(2148619208) set_type(2148619208, 'int sfx_volume') del_items(2148619212) set_type(2148619212, 'int stream_chunks_in') del_items(2148619216) set_type(2148619216, 'int stream_chunks_total') del_items(2148619220) set_type(2148619220, 'int stream_in') del_items(2148619224) set_type(2148619224, 'int stream_out') del_items(2148619228) set_type(2148619228, 'int stream_stalled') del_items(2148619232) set_type(2148619232, 'int stream_ending') del_items(2148619236) set_type(2148619236, 'int stream_open') del_items(2148619240) set_type(2148619240, 'int stream_handler_installed') del_items(2148619244) set_type(2148619244, 'int stream_chunks_borrowed') del_items(2148619248) set_type(2148619248, 'int _get_count') del_items(2148619252) set_type(2148619252, 'int _discard_count') del_items(2148619256) set_type(2148619256, 'struct TASK *CDTask') del_items(2148619260) set_type(2148619260, 'struct cdstreamstruct *CDStream') del_items(2148619264) set_type(2148619264, 'int cdready_calls') del_items(2148619268) set_type(2148619268, 'int cdready_errors') del_items(2148619272) set_type(2148619272, 'int cdready_out_of_sync') del_items(2148619276) set_type(2148619276, 'int cdstream_resetting') del_items(2148619280) set_type(2148619280, 'int sector_dma') del_items(2148619284) set_type(2148619284, 'int sector_dma_in') del_items(2148619288) set_type(2148619288, 'unsigned long *chkaddr') del_items(2148619292) set_type(2148619292, 'struct chunkhdrstruct *chunk') del_items(2148619296) set_type(2148619296, 'int first_handler_event') del_items(2148619672) set_type(2148619672, 'unsigned char *pStatusPanel') del_items(2148619676) set_type(2148619676, 'unsigned char *pGBoxBuff') del_items(2148619680) set_type(2148619680, 'unsigned char dropGoldFlag') del_items(2148619684) set_type(2148619684, 'unsigned char _pinfoflag[2]') del_items(2148176980) set_type(2148176980, 'char _infostr[256][2]') del_items(2148619688) set_type(2148619688, 'char _infoclr[2]') del_items(2148177492) set_type(2148177492, 'char tempstr[256]') del_items(2148619690) set_type(2148619690, 'unsigned char drawhpflag') del_items(2148619691) set_type(2148619691, 'unsigned char drawmanaflag') del_items(2148619692) set_type(2148619692, 'unsigned char chrflag') del_items(2148619693) set_type(2148619693, 'unsigned char drawbtnflag') del_items(2148619694) set_type(2148619694, 'unsigned char panbtndown') del_items(2148619695) set_type(2148619695, 'unsigned char panelflag') del_items(2148619696) set_type(2148619696, 'unsigned char chrbtndown') del_items(2148619697) set_type(2148619697, 'unsigned char lvlbtndown') del_items(2148619698) set_type(2148619698, 'unsigned char sbookflag') del_items(2148619699) set_type(2148619699, 'unsigned char talkflag') del_items(2148619700) set_type(2148619700, 'int dropGoldValue') del_items(2148619704) set_type(2148619704, 'int initialDropGoldValue') del_items(2148619708) set_type(2148619708, 'int initialDropGoldIndex') del_items(2148619712) set_type(2148619712, 'unsigned char *pPanelButtons') del_items(2148619716) set_type(2148619716, 'unsigned char *pPanelText') del_items(2148619720) set_type(2148619720, 'unsigned char *pManaBuff') del_items(2148619724) set_type(2148619724, 'unsigned char *pLifeBuff') del_items(2148619728) set_type(2148619728, 'unsigned char *pChrPanel') del_items(2148619732) set_type(2148619732, 'unsigned char *pChrButtons') del_items(2148619736) set_type(2148619736, 'unsigned char *pSpellCels') del_items(2148625920) set_type(2148625920, 'char _panelstr[64][8][2]') del_items(2148626944) set_type(2148626944, 'int _pstrjust[8][2]') del_items(2148623484) set_type(2148623484, 'int _pnumlines[2]') del_items(2148619740) set_type(2148619740, 'struct RECT *InfoBoxRect') del_items(2148619744) set_type(2148619744, 'struct RECT CSRect') del_items(2148623500) set_type(2148623500, 'int _pSpell[2]') del_items(2148623508) set_type(2148623508, 'int _pSplType[2]') del_items(2148623516) set_type(2148623516, 'unsigned char panbtn[8]') del_items(2148619752) set_type(2148619752, 'int numpanbtns') del_items(2148619756) set_type(2148619756, 'unsigned char *pDurIcons') del_items(2148619760) set_type(2148619760, 'unsigned char drawdurflag') del_items(2148623524) set_type(2148623524, 'unsigned char chrbtn[4]') del_items(2148619761) set_type(2148619761, 'unsigned char chrbtnactive') del_items(2148619764) set_type(2148619764, 'unsigned char *pSpellBkCel') del_items(2148619768) set_type(2148619768, 'unsigned char *pSBkBtnCel') del_items(2148619772) set_type(2148619772, 'unsigned char *pSBkIconCels') del_items(2148619776) set_type(2148619776, 'int sbooktab') del_items(2148619780) set_type(2148619780, 'int cur_spel') del_items(2148623528) set_type(2148623528, 'long talkofs') del_items(2148627024) set_type(2148627024, 'char sgszTalkMsg[80]') del_items(2148623532) set_type(2148623532, 'unsigned char sgbTalkSavePos') del_items(2148623533) set_type(2148623533, 'unsigned char sgbNextTalkSave') del_items(2148623534) set_type(2148623534, 'unsigned char sgbPlrTalkTbl[2]') del_items(2148623536) set_type(2148623536, 'unsigned char *pTalkPanel') del_items(2148623540) set_type(2148623540, 'unsigned char *pMultiBtns') del_items(2148623544) set_type(2148623544, 'unsigned char *pTalkBtns') del_items(2148623548) set_type(2148623548, 'unsigned char talkbtndown[3]') del_items(2148578312) set_type(2148578312, 'unsigned char gbFontTransTbl[256]') del_items(2148578120) set_type(2148578120, 'unsigned char fontkern[68]') del_items(2148175496) set_type(2148175496, 'char SpellITbl[37]') del_items(2148619525) set_type(2148619525, 'unsigned char DrawLevelUpFlag') del_items(2148619564) set_type(2148619564, 'struct TASK *_spselflag[2]') del_items(2148619560) set_type(2148619560, 'unsigned char spspelstate') del_items(2148619624) set_type(2148619624, 'bool initchr') del_items(2148619528) set_type(2148619528, 'int SPLICONNO') del_items(2148619532) set_type(2148619532, 'int SPLICONY') del_items(2148623492) set_type(2148623492, 'int SPLICONRIGHT') del_items(2148619536) set_type(2148619536, 'int scx') del_items(2148619540) set_type(2148619540, 'int scy') del_items(2148619544) set_type(2148619544, 'int scx1') del_items(2148619548) set_type(2148619548, 'int scy1') del_items(2148619552) set_type(2148619552, 'int scx2') del_items(2148619556) set_type(2148619556, 'int scy2') del_items(2148619572) set_type(2148619572, 'char SpellCol') del_items(2148175476) set_type(2148175476, 'unsigned char SpellColors[18]') del_items(2148175536) set_type(2148175536, 'int PanBtnPos[5][8]') del_items(2148175696) set_type(2148175696, 'char *PanBtnHotKey[8]') del_items(2148175728) set_type(2148175728, 'unsigned long PanBtnStr[8]') del_items(2148175760) set_type(2148175760, 'int SpellPages[5][5]') del_items(2148619608) set_type(2148619608, 'int lus') del_items(2148619612) set_type(2148619612, 'int CsNo') del_items(2148619616) set_type(2148619616, 'char plusanim') del_items(2148627008) set_type(2148627008, 'struct Dialog CSBack') del_items(2148619620) set_type(2148619620, 'int CS_XOFF') del_items(2148175860) set_type(2148175860, 'struct CSDATA CS_Tab[28]') del_items(2148619628) set_type(2148619628, 'int NoCSEntries') del_items(2148619632) set_type(2148619632, 'int SPALOFF') del_items(2148619636) set_type(2148619636, 'int paloffset1') del_items(2148619640) set_type(2148619640, 'int paloffset2') del_items(2148619644) set_type(2148619644, 'int paloffset3') del_items(2148619648) set_type(2148619648, 'int paloffset4') del_items(2148619652) set_type(2148619652, 'int pinc1') del_items(2148619656) set_type(2148619656, 'int pinc2') del_items(2148619660) set_type(2148619660, 'int pinc3') del_items(2148619664) set_type(2148619664, 'int pinc4') del_items(2148619800) set_type(2148619800, 'int _pcurs[2]') del_items(2148619808) set_type(2148619808, 'int cursW') del_items(2148619812) set_type(2148619812, 'int cursH') del_items(2148619816) set_type(2148619816, 'int icursW') del_items(2148619820) set_type(2148619820, 'int icursH') del_items(2148619824) set_type(2148619824, 'int icursW28') del_items(2148619828) set_type(2148619828, 'int icursH28') del_items(2148619832) set_type(2148619832, 'int cursmx') del_items(2148619836) set_type(2148619836, 'int cursmy') del_items(2148619840) set_type(2148619840, 'int _pcursmonst[2]') del_items(2148619848) set_type(2148619848, 'char _pcursobj[2]') del_items(2148619852) set_type(2148619852, 'char _pcursitem[2]') del_items(2148619856) set_type(2148619856, 'char _pcursinvitem[2]') del_items(2148619860) set_type(2148619860, 'char _pcursplr[2]') del_items(2148619796) set_type(2148619796, 'int sel_data') del_items(2148177748) set_type(2148177748, 'struct DeadStruct dead[31]') del_items(2148619864) set_type(2148619864, 'int spurtndx') del_items(2148619868) set_type(2148619868, 'int stonendx') del_items(2148619872) set_type(2148619872, 'unsigned char *pSquareCel') del_items(2148619936) set_type(2148619936, 'unsigned long ghInst') del_items(2148619940) set_type(2148619940, 'unsigned char svgamode') del_items(2148619944) set_type(2148619944, 'int MouseX') del_items(2148619948) set_type(2148619948, 'int MouseY') del_items(2148619952) set_type(2148619952, 'long gv1') del_items(2148619956) set_type(2148619956, 'long gv2') del_items(2148619960) set_type(2148619960, 'long gv3') del_items(2148619964) set_type(2148619964, 'long gv4') del_items(2148619968) set_type(2148619968, 'long gv5') del_items(2148619972) set_type(2148619972, 'unsigned char gbProcessPlayers') del_items(2148178120) set_type(2148178120, 'int DebugMonsters[10]') del_items(2148178160) set_type(2148178160, 'unsigned long glSeedTbl[17]') del_items(2148178228) set_type(2148178228, 'int gnLevelTypeTbl[17]') del_items(2148619973) set_type(2148619973, 'unsigned char gbDoEnding') del_items(2148619974) set_type(2148619974, 'unsigned char gbRunGame') del_items(2148619975) set_type(2148619975, 'unsigned char gbRunGameResult') del_items(2148619976) set_type(2148619976, 'unsigned char gbGameLoopStartup') del_items(2148627104) set_type(2148627104, 'int glEndSeed[17]') del_items(2148627184) set_type(2148627184, 'int glMid1Seed[17]') del_items(2148627264) set_type(2148627264, 'int glMid2Seed[17]') del_items(2148627344) set_type(2148627344, 'int glMid3Seed[17]') del_items(2148623552) set_type(2148623552, 'long *sg_previousFilter') del_items(2148178296) set_type(2148178296, 'int CreateEnv[12]') del_items(2148619980) set_type(2148619980, 'int Passedlvldir') del_items(2148619984) set_type(2148619984, 'unsigned char *TempStack') del_items(2148619888) set_type(2148619888, 'unsigned long ghMainWnd') del_items(2148619892) set_type(2148619892, 'unsigned char fullscreen') del_items(2148619896) set_type(2148619896, 'int force_redraw') del_items(2148619916) set_type(2148619916, 'unsigned char PauseMode') del_items(2148619917) set_type(2148619917, 'unsigned char FriendlyMode') del_items(2148619901) set_type(2148619901, 'unsigned char visiondebug') del_items(2148619903) set_type(2148619903, 'unsigned char light4flag') del_items(2148619904) set_type(2148619904, 'unsigned char leveldebug') del_items(2148619905) set_type(2148619905, 'unsigned char monstdebug') del_items(2148619912) set_type(2148619912, 'int debugmonsttypes') del_items(2148619900) set_type(2148619900, 'unsigned char cineflag') del_items(2148619902) set_type(2148619902, 'unsigned char scrollflag') del_items(2148619906) set_type(2148619906, 'unsigned char trigdebug') del_items(2148619908) set_type(2148619908, 'int setseed') del_items(2148619920) set_type(2148619920, 'int sgnTimeoutCurs') del_items(2148619924) set_type(2148619924, 'unsigned char sgbMouseDown') del_items(2148180036) set_type(2148180036, 'struct TownerStruct towner[16]') del_items(2148620008) set_type(2148620008, 'int numtowners') del_items(2148620012) set_type(2148620012, 'unsigned char storeflag') del_items(2148620013) set_type(2148620013, 'unsigned char boyloadflag') del_items(2148620014) set_type(2148620014, 'unsigned char bannerflag') del_items(2148620016) set_type(2148620016, 'unsigned char *pCowCels') del_items(2148623556) set_type(2148623556, 'unsigned long sgdwCowClicks') del_items(2148623560) set_type(2148623560, 'int sgnCowMsg') del_items(2148179332) set_type(2148179332, 'int Qtalklist[16][11]') del_items(2148620000) set_type(2148620000, 'unsigned long CowPlaying') del_items(2148178344) set_type(2148178344, 'char AnimOrder[148][6]') del_items(2148179232) set_type(2148179232, 'int TownCowX[3]') del_items(2148179244) set_type(2148179244, 'int TownCowY[3]') del_items(2148179256) set_type(2148179256, 'int TownCowDir[3]') del_items(2148179268) set_type(2148179268, 'int cowoffx[8]') del_items(2148179300) set_type(2148179300, 'int cowoffy[8]') del_items(2148620040) set_type(2148620040, 'int sfxdelay') del_items(2148620044) set_type(2148620044, 'int sfxdnum') del_items(2148620032) set_type(2148620032, 'struct SFXHDR *sghStream') del_items(2148183620) set_type(2148183620, 'struct TSFX sgSFX[979]') del_items(2148620036) set_type(2148620036, 'struct TSFX *sgpStreamSFX') del_items(2148620048) set_type(2148620048, 'long orgseed') del_items(2148623564) set_type(2148623564, 'long sglGameSeed') del_items(2148620052) set_type(2148620052, 'int SeedCount') del_items(2148623568) set_type(2148623568, 'struct CCritSect sgMemCrit') del_items(2148623572) set_type(2148623572, 'int sgnWidth') del_items(2148620066) set_type(2148620066, 'char msgflag') del_items(2148620067) set_type(2148620067, 'char msgdelay') del_items(2148187712) set_type(2148187712, 'char msgtable[80]') del_items(2148187536) set_type(2148187536, 'int MsgStrings[44]') del_items(2148620065) set_type(2148620065, 'char msgcnt') del_items(2148623576) set_type(2148623576, 'unsigned long sgdwProgress') del_items(2148623580) set_type(2148623580, 'unsigned long sgdwXY') del_items(2148187792) set_type(2148187792, 'unsigned char AllItemsUseable[157]') del_items(2148579392) set_type(2148579392, 'struct ItemDataStruct AllItemsList[157]') del_items(2148584416) set_type(2148584416, 'struct PLStruct PL_Prefix[84]') del_items(2148587776) set_type(2148587776, 'struct PLStruct PL_Suffix[96]') del_items(2148591616) set_type(2148591616, 'struct UItemStruct UniqueItemList[91]') del_items(2148188324) set_type(2148188324, 'struct ItemStruct item[128]') del_items(2148207268) set_type(2148207268, 'char itemactive[127]') del_items(2148207396) set_type(2148207396, 'char itemavail[127]') del_items(2148207524) set_type(2148207524, 'unsigned char UniqueItemFlag[128]') del_items(2148620124) set_type(2148620124, 'unsigned char uitemflag') del_items(2148623584) set_type(2148623584, 'int tem') del_items(2148627416) set_type(2148627416, 'struct ItemStruct curruitem') del_items(2148627576) set_type(2148627576, 'unsigned char itemhold[3][3]') del_items(2148620128) set_type(2148620128, 'int ScrollType') del_items(2148207652) set_type(2148207652, 'char ItemStr[64]') del_items(2148207716) set_type(2148207716, 'char SufStr[64]') del_items(2148620092) set_type(2148620092, 'long numitems') del_items(2148620096) set_type(2148620096, 'int gnNumGetRecords') del_items(2148188160) set_type(2148188160, 'int ItemInvSnds[35]') del_items(2148187952) set_type(2148187952, 'unsigned char ItemCAnimTbl[169]') del_items(2148599364) set_type(2148599364, 'short Item2Frm[35]') del_items(2148188124) set_type(2148188124, 'unsigned char ItemAnimLs[35]') del_items(2148620100) set_type(2148620100, 'int *ItemAnimSnds') del_items(2148620104) set_type(2148620104, 'int idoppely') del_items(2148620108) set_type(2148620108, 'int ScrollFlag') del_items(2148188300) set_type(2148188300, 'int premiumlvladd[6]') del_items(2148211280) set_type(2148211280, 'struct LightListStruct2 LightList[40]') del_items(2148211600) set_type(2148211600, 'unsigned char lightactive[40]') del_items(2148620148) set_type(2148620148, 'int numlights') del_items(2148620152) set_type(2148620152, 'char lightmax') del_items(2148211640) set_type(2148211640, 'struct LightListStruct VisionList[32]') del_items(2148620156) set_type(2148620156, 'int numvision') del_items(2148620160) set_type(2148620160, 'unsigned char dovision') del_items(2148620164) set_type(2148620164, 'int visionid') del_items(2148623588) set_type(2148623588, 'int disp_mask') del_items(2148623592) set_type(2148623592, 'int weird') del_items(2148623596) set_type(2148623596, 'int disp_tab_r') del_items(2148623600) set_type(2148623600, 'int dispy_r') del_items(2148623604) set_type(2148623604, 'int disp_tab_g') del_items(2148623608) set_type(2148623608, 'int dispy_g') del_items(2148623612) set_type(2148623612, 'int disp_tab_b') del_items(2148623616) set_type(2148623616, 'int dispy_b') del_items(2148623620) set_type(2148623620, 'int radius') del_items(2148623624) set_type(2148623624, 'int bright') del_items(2148627592) set_type(2148627592, 'unsigned char mult_tab[128]') del_items(2148620132) set_type(2148620132, 'int lightflag') del_items(2148210532) set_type(2148210532, 'unsigned char vCrawlTable[30][23]') del_items(2148211224) set_type(2148211224, 'unsigned char RadiusAdj[23]') del_items(2148207780) set_type(2148207780, 'char CrawlTable[2749]') del_items(2148620136) set_type(2148620136, 'int restore_r') del_items(2148620140) set_type(2148620140, 'int restore_g') del_items(2148620144) set_type(2148620144, 'int restore_b') del_items(2148211248) set_type(2148211248, 'char radius_tab[16]') del_items(2148211264) set_type(2148211264, 'char bright_tab[16]') del_items(2148620198) set_type(2148620198, 'unsigned char qtextflag') del_items(2148620200) set_type(2148620200, 'int qtextSpd') del_items(2148623628) set_type(2148623628, 'unsigned char *pMedTextCels') del_items(2148623632) set_type(2148623632, 'unsigned char *pTextBoxCels') del_items(2148623636) set_type(2148623636, 'char *qtextptr') del_items(2148623640) set_type(2148623640, 'int qtexty') del_items(2148623644) set_type(2148623644, 'unsigned long qtextDelay') del_items(2148623648) set_type(2148623648, 'unsigned long sgLastScroll') del_items(2148623652) set_type(2148623652, 'unsigned long scrolltexty') del_items(2148623656) set_type(2148623656, 'long sglMusicVolumeSave') del_items(2148620180) set_type(2148620180, 'bool qtbodge') del_items(2148212088) set_type(2148212088, 'struct Dialog QBack') del_items(2148620197) set_type(2148620197, 'unsigned char CDFlip') del_items(2148212104) set_type(2148212104, 'struct MissileData missiledata[68]') del_items(2148214008) set_type(2148214008, 'struct MisFileData misfiledata[47]') del_items(2148213736) set_type(2148213736, 'void (*MissPrintRoutines[68])()') del_items(2148214244) set_type(2148214244, 'struct DLevel sgLevels[21]') del_items(2148295472) set_type(2148295472, 'struct LocalLevel sgLocals[21]') del_items(2148627720) set_type(2148627720, 'struct DJunk sgJunk') del_items(2148623661) set_type(2148623661, 'unsigned char sgbRecvCmd') del_items(2148623664) set_type(2148623664, 'unsigned long sgdwRecvOffset') del_items(2148623668) set_type(2148623668, 'unsigned char sgbDeltaChunks') del_items(2148623669) set_type(2148623669, 'unsigned char sgbDeltaChanged') del_items(2148623672) set_type(2148623672, 'unsigned long sgdwOwnerWait') del_items(2148623676) set_type(2148623676, 'struct TMegaPkt *sgpMegaPkt') del_items(2148623680) set_type(2148623680, 'struct TMegaPkt *sgpCurrPkt') del_items(2148623684) set_type(2148623684, 'int sgnCurrMegaPlayer') del_items(2148620225) set_type(2148620225, 'unsigned char deltaload') del_items(2148620226) set_type(2148620226, 'unsigned char gbBufferMsgs') del_items(2148620228) set_type(2148620228, 'unsigned long dwRecCount') del_items(2148620232) set_type(2148620232, 'bool LevelOut') del_items(2148620254) set_type(2148620254, 'unsigned char gbMaxPlayers') del_items(2148620255) set_type(2148620255, 'unsigned char gbActivePlayers') del_items(2148620256) set_type(2148620256, 'unsigned char gbGameDestroyed') del_items(2148620257) set_type(2148620257, 'unsigned char gbDeltaSender') del_items(2148620258) set_type(2148620258, 'unsigned char gbSelectProvider') del_items(2148620259) set_type(2148620259, 'unsigned char gbSomebodyWonGameKludge') del_items(2148623688) set_type(2148623688, 'unsigned char sgbSentThisCycle') del_items(2148623692) set_type(2148623692, 'unsigned long sgdwGameLoops') del_items(2148623696) set_type(2148623696, 'unsigned short sgwPackPlrOffsetTbl[2]') del_items(2148623700) set_type(2148623700, 'unsigned char sgbPlayerLeftGameTbl[2]') del_items(2148623704) set_type(2148623704, 'unsigned long sgdwPlayerLeftReasonTbl[2]') del_items(2148623712) set_type(2148623712, 'unsigned char sgbSendDeltaTbl[2]') del_items(2148623720) set_type(2148623720, 'struct _gamedata sgGameInitInfo') del_items(2148623728) set_type(2148623728, 'unsigned char sgbTimeout') del_items(2148623732) set_type(2148623732, 'long sglTimeoutStart') del_items(2148620248) set_type(2148620248, 'char gszVersionNumber[5]') del_items(2148620253) set_type(2148620253, 'unsigned char sgbNetInited') del_items(2148299672) set_type(2148299672, 'int ObjTypeConv[113]') del_items(2148300124) set_type(2148300124, 'struct ObjDataStruct AllObjects[99]') del_items(2148601100) set_type(2148601100, 'struct OBJ_LOAD_INFO ObjMasterLoadList[56]') del_items(2148302140) set_type(2148302140, 'struct ObjectStruct object[127]') del_items(2148620292) set_type(2148620292, 'long numobjects') del_items(2148307728) set_type(2148307728, 'char objectactive[127]') del_items(2148307856) set_type(2148307856, 'char objectavail[127]') del_items(2148620296) set_type(2148620296, 'unsigned char InitObjFlag') del_items(2148620300) set_type(2148620300, 'int trapid') del_items(2148307984) set_type(2148307984, 'char ObjFileList[40]') del_items(2148620304) set_type(2148620304, 'int trapdir') del_items(2148620308) set_type(2148620308, 'int leverid') del_items(2148620284) set_type(2148620284, 'int numobjfiles') del_items(2148301908) set_type(2148301908, 'int bxadd[8]') del_items(2148301940) set_type(2148301940, 'int byadd[8]') del_items(2148302076) set_type(2148302076, 'char shrineavail[26]') del_items(2148301972) set_type(2148301972, 'int shrinestrs[26]') del_items(2148302104) set_type(2148302104, 'int StoryBookName[9]') del_items(2148620288) set_type(2148620288, 'int myscale') del_items(2148620328) set_type(2148620328, 'unsigned char gbValidSaveFile') del_items(2148620324) set_type(2148620324, 'bool DoLoadedChar') del_items(2148308528) set_type(2148308528, 'struct PlayerStruct plr[2]') del_items(2148620360) set_type(2148620360, 'int myplr') del_items(2148620364) set_type(2148620364, 'int deathdelay') del_items(2148620368) set_type(2148620368, 'unsigned char deathflag') del_items(2148620369) set_type(2148620369, 'char light_rad') del_items(2148620352) set_type(2148620352, 'char light_level[5]') del_items(2148308264) set_type(2148308264, 'int MaxStats[4][3]') del_items(2148620344) set_type(2148620344, 'int PlrStructSize') del_items(2148620348) set_type(2148620348, 'int ItemStructSize') del_items(2148308024) set_type(2148308024, 'int plrxoff[9]') del_items(2148308060) set_type(2148308060, 'int plryoff[9]') del_items(2148308096) set_type(2148308096, 'int plrxoff2[9]') del_items(2148308132) set_type(2148308132, 'int plryoff2[9]') del_items(2148308168) set_type(2148308168, 'char PlrGFXAnimLens[11][3]') del_items(2148308204) set_type(2148308204, 'int StrengthTbl[3]') del_items(2148308216) set_type(2148308216, 'int MagicTbl[3]') del_items(2148308228) set_type(2148308228, 'int DexterityTbl[3]') del_items(2148308240) set_type(2148308240, 'int VitalityTbl[3]') del_items(2148308252) set_type(2148308252, 'int ToBlkTbl[3]') del_items(2148308312) set_type(2148308312, 'long ExpLvlsTbl[51]') del_items(2148326648) set_type(2148326648, 'struct QuestStruct quests[16]') del_items(2148620432) set_type(2148620432, 'unsigned char *pQLogCel') del_items(2148620436) set_type(2148620436, 'int ReturnLvlX') del_items(2148620440) set_type(2148620440, 'int ReturnLvlY') del_items(2148620444) set_type(2148620444, 'int ReturnLvl') del_items(2148620448) set_type(2148620448, 'int ReturnLvlT') del_items(2148620452) set_type(2148620452, 'unsigned char rporttest') del_items(2148620456) set_type(2148620456, 'int qline') del_items(2148620460) set_type(2148620460, 'int numqlines') del_items(2148620464) set_type(2148620464, 'int qtopline') del_items(2148627752) set_type(2148627752, 'int qlist[16]') del_items(2148623736) set_type(2148623736, 'struct RECT QSRect') del_items(2148620381) set_type(2148620381, 'unsigned char questlog') del_items(2148326336) set_type(2148326336, 'struct QuestData questlist[16]') del_items(2148620384) set_type(2148620384, 'int ALLQUESTS') del_items(2148326612) set_type(2148326612, 'int QuestGroup1[3]') del_items(2148326624) set_type(2148326624, 'int QuestGroup2[3]') del_items(2148326636) set_type(2148326636, 'int QuestGroup3[3]') del_items(2148620404) set_type(2148620404, 'int QuestGroup4[2]') del_items(2148620428) set_type(2148620428, 'bool WaterDone') del_items(2148620388) set_type(2148620388, 'char questxoff[7]') del_items(2148620396) set_type(2148620396, 'char questyoff[7]') del_items(2148326592) set_type(2148326592, 'int questtrigstr[5]') del_items(2148620412) set_type(2148620412, 'int QS_PX') del_items(2148620416) set_type(2148620416, 'int QS_PY') del_items(2148620420) set_type(2148620420, 'int QS_PW') del_items(2148620424) set_type(2148620424, 'int QS_PH') del_items(2148627816) set_type(2148627816, 'struct Dialog QSBack') del_items(2148326968) set_type(2148326968, 'struct SpellData spelldata[37]') del_items(2148620527) set_type(2148620527, 'char stextflag') del_items(2148329104) set_type(2148329104, 'struct ItemStruct smithitem[20]') del_items(2148332064) set_type(2148332064, 'struct ItemStruct premiumitem[6]') del_items(2148620528) set_type(2148620528, 'int numpremium') del_items(2148620532) set_type(2148620532, 'int premiumlevel') del_items(2148332952) set_type(2148332952, 'struct ItemStruct witchitem[20]') del_items(2148335912) set_type(2148335912, 'struct ItemStruct boyitem') del_items(2148620536) set_type(2148620536, 'int boylevel') del_items(2148336060) set_type(2148336060, 'struct ItemStruct golditem') del_items(2148336208) set_type(2148336208, 'struct ItemStruct healitem[20]') del_items(2148620540) set_type(2148620540, 'char stextsize') del_items(2148620541) set_type(2148620541, 'unsigned char stextscrl') del_items(2148623744) set_type(2148623744, 'int stextsel') del_items(2148623748) set_type(2148623748, 'int stextlhold') del_items(2148623752) set_type(2148623752, 'int stextshold') del_items(2148623756) set_type(2148623756, 'int stextvhold') del_items(2148623760) set_type(2148623760, 'int stextsval') del_items(2148623764) set_type(2148623764, 'int stextsmax') del_items(2148623768) set_type(2148623768, 'int stextup') del_items(2148623772) set_type(2148623772, 'int stextdown') del_items(2148623776) set_type(2148623776, 'char stextscrlubtn') del_items(2148623777) set_type(2148623777, 'char stextscrldbtn') del_items(2148623778) set_type(2148623778, 'char SItemListFlag') del_items(2148627832) set_type(2148627832, 'struct STextStruct stext[24]') del_items(2148339168) set_type(2148339168, 'struct ItemStruct storehold[48]') del_items(2148346272) set_type(2148346272, 'char storehidx[48]') del_items(2148623780) set_type(2148623780, 'int storenumh') del_items(2148623784) set_type(2148623784, 'int gossipstart') del_items(2148623788) set_type(2148623788, 'int gossipend') del_items(2148623792) set_type(2148623792, 'struct RECT StoreBackRect') del_items(2148623800) set_type(2148623800, 'int talker') del_items(2148620504) set_type(2148620504, 'unsigned char *pSTextBoxCels') del_items(2148620508) set_type(2148620508, 'unsigned char *pSTextSlidCels') del_items(2148620512) set_type(2148620512, 'int *SStringY') del_items(2148328892) set_type(2148328892, 'struct Dialog SBack') del_items(2148328908) set_type(2148328908, 'int SStringYNorm[20]') del_items(2148328988) set_type(2148328988, 'int SStringYBuy[20]') del_items(2148329068) set_type(2148329068, 'int talkname[9]') del_items(2148620526) set_type(2148620526, 'unsigned char InStoreFlag') del_items(2148605728) set_type(2148605728, 'struct TextDataStruct alltext[269]') del_items(2148620556) set_type(2148620556, 'unsigned long gdwAllTextEntries') del_items(2148623804) set_type(2148623804, 'unsigned char *P3Tiles') del_items(2148620572) set_type(2148620572, 'int tile') del_items(2148620588) set_type(2148620588, 'unsigned char _trigflag[2]') del_items(2148346888) set_type(2148346888, 'struct TriggerStruct trigs[5]') del_items(2148620592) set_type(2148620592, 'int numtrigs') del_items(2148620596) set_type(2148620596, 'unsigned char townwarps[3]') del_items(2148620600) set_type(2148620600, 'int TWarpFrom') del_items(2148346320) set_type(2148346320, 'int TownDownList[11]') del_items(2148346364) set_type(2148346364, 'int TownWarp1List[13]') del_items(2148346416) set_type(2148346416, 'int L1UpList[12]') del_items(2148346464) set_type(2148346464, 'int L1DownList[10]') del_items(2148346504) set_type(2148346504, 'int L2UpList[3]') del_items(2148346516) set_type(2148346516, 'int L2DownList[5]') del_items(2148346536) set_type(2148346536, 'int L2TWarpUpList[3]') del_items(2148346548) set_type(2148346548, 'int L3UpList[15]') del_items(2148346608) set_type(2148346608, 'int L3DownList[9]') del_items(2148346644) set_type(2148346644, 'int L3TWarpUpList[14]') del_items(2148346700) set_type(2148346700, 'int L4UpList[4]') del_items(2148346716) set_type(2148346716, 'int L4DownList[6]') del_items(2148346740) set_type(2148346740, 'int L4TWarpUpList[4]') del_items(2148346756) set_type(2148346756, 'int L4PentaList[33]') del_items(2148609200) set_type(2148609200, 'char cursoff[10]') del_items(2148620626) set_type(2148620626, 'unsigned char gbMusicOn') del_items(2148620627) set_type(2148620627, 'unsigned char gbSoundOn') del_items(2148620625) set_type(2148620625, 'unsigned char gbSndInited') del_items(2148620632) set_type(2148620632, 'long sglMasterVolume') del_items(2148620636) set_type(2148620636, 'long sglMusicVolume') del_items(2148620640) set_type(2148620640, 'long sglSoundVolume') del_items(2148620644) set_type(2148620644, 'long sglSpeechVolume') del_items(2148620628) set_type(2148620628, 'unsigned char gbDupSounds') del_items(2148620648) set_type(2148620648, 'int sgnMusicTrack') del_items(2148620652) set_type(2148620652, 'struct SFXHDR *sghMusic') del_items(2148609372) set_type(2148609372, 'unsigned short sgszMusicTracks[6]') del_items(2148620688) set_type(2148620688, 'int _pcurr_inv[2]') del_items(2148346968) set_type(2148346968, 'struct found_objects _pfind_list[10][2]') del_items(2148620696) set_type(2148620696, 'char _pfind_index[2]') del_items(2148620700) set_type(2148620700, 'char _pfindx[2]') del_items(2148620704) set_type(2148620704, 'char _pfindy[2]') del_items(2148620706) set_type(2148620706, 'unsigned char automapmoved') del_items(2148620676) set_type(2148620676, 'unsigned char flyflag') del_items(2148620668) set_type(2148620668, 'char (*pad_styles[2])()') del_items(2148620677) set_type(2148620677, 'char speed_type') del_items(2148620678) set_type(2148620678, 'char sel_speed') del_items(2148623808) set_type(2148623808, 'unsigned long (*CurrentProc)()') del_items(2148609784) set_type(2148609784, 'struct MESSAGE_STR AllMsgs[12]') del_items(2148620764) set_type(2148620764, 'int NumOfStrings') del_items(2148620720) set_type(2148620720, 'enum LANG_TYPE LanguageType') del_items(2148620724) set_type(2148620724, 'long hndText') del_items(2148620728) set_type(2148620728, 'char **TextPtr') del_items(2148620732) set_type(2148620732, 'enum LANG_DB_NO LangDbNo') del_items(2148620780) set_type(2148620780, 'struct TextDat *MissDat') del_items(2148620784) set_type(2148620784, 'int CharFade') del_items(2148620788) set_type(2148620788, 'int rotateness') del_items(2148620792) set_type(2148620792, 'int spiralling_shape') del_items(2148620796) set_type(2148620796, 'int down') del_items(2148347048) set_type(2148347048, 'char MlTab[16]') del_items(2148347064) set_type(2148347064, 'char QlTab[16]') del_items(2148347080) set_type(2148347080, 'struct POLY_FT4 *(*ObjPrintFuncs[98])()') del_items(2148620824) set_type(2148620824, 'int MyXoff1') del_items(2148620828) set_type(2148620828, 'int MyYoff1') del_items(2148620832) set_type(2148620832, 'int MyXoff2') del_items(2148620836) set_type(2148620836, 'int MyYoff2') del_items(2148620852) set_type(2148620852, 'bool iscflag') del_items(2148620865) set_type(2148620865, 'unsigned char sgbFadedIn') del_items(2148620866) set_type(2148620866, 'unsigned char screenbright') del_items(2148620868) set_type(2148620868, 'int faderate') del_items(2148620872) set_type(2148620872, 'bool fading') del_items(2148620884) set_type(2148620884, 'unsigned char FadeCoords[8]') del_items(2148620876) set_type(2148620876, 'int st') del_items(2148620880) set_type(2148620880, 'int mode') del_items(2148347504) set_type(2148347504, 'struct PortalStruct portal[4]') del_items(2148620928) set_type(2148620928, 'int portalindex') del_items(2148347472) set_type(2148347472, 'int WarpDropX[4]') del_items(2148347488) set_type(2148347488, 'int WarpDropY[4]') del_items(2148347600) set_type(2148347600, 'char MyVerString[120]') del_items(2148621288) set_type(2148621288, 'int Year') del_items(2148621292) set_type(2148621292, 'int Day') del_items(2148623812) set_type(2148623812, 'unsigned char *tbuff') del_items(2148623816) set_type(2148623816, 'unsigned char HR1') del_items(2148623817) set_type(2148623817, 'unsigned char HR2') del_items(2148623818) set_type(2148623818, 'unsigned char HR3') del_items(2148623819) set_type(2148623819, 'unsigned char VR1') del_items(2148623820) set_type(2148623820, 'unsigned char VR2') del_items(2148623821) set_type(2148623821, 'unsigned char VR3') del_items(2148621404) set_type(2148621404, 'struct NODE *pHallList') del_items(2148621408) set_type(2148621408, 'int nRoomCnt') del_items(2148621412) set_type(2148621412, 'int nSx1') del_items(2148621416) set_type(2148621416, 'int nSy1') del_items(2148621420) set_type(2148621420, 'int nSx2') del_items(2148621424) set_type(2148621424, 'int nSy2') del_items(2148621332) set_type(2148621332, 'int Area_Min') del_items(2148621336) set_type(2148621336, 'int Room_Max') del_items(2148621340) set_type(2148621340, 'int Room_Min') del_items(2148621344) set_type(2148621344, 'unsigned char BIG3[6]') del_items(2148621352) set_type(2148621352, 'unsigned char BIG4[6]') del_items(2148621360) set_type(2148621360, 'unsigned char BIG6[6]') del_items(2148621368) set_type(2148621368, 'unsigned char BIG7[6]') del_items(2148621376) set_type(2148621376, 'unsigned char RUINS1[4]') del_items(2148621380) set_type(2148621380, 'unsigned char RUINS2[4]') del_items(2148621384) set_type(2148621384, 'unsigned char RUINS3[4]') del_items(2148621388) set_type(2148621388, 'unsigned char RUINS4[4]') del_items(2148621392) set_type(2148621392, 'unsigned char RUINS5[4]') del_items(2148621396) set_type(2148621396, 'unsigned char RUINS6[4]') del_items(2148621400) set_type(2148621400, 'unsigned char RUINS7[4]') del_items(2148623824) set_type(2148623824, 'int abyssx') del_items(2148623828) set_type(2148623828, 'unsigned char lavapool') del_items(2148621564) set_type(2148621564, 'int lockoutcnt') del_items(2148621440) set_type(2148621440, 'unsigned char L3TITE12[6]') del_items(2148621448) set_type(2148621448, 'unsigned char L3TITE13[6]') del_items(2148621456) set_type(2148621456, 'unsigned char L3CREV1[6]') del_items(2148621464) set_type(2148621464, 'unsigned char L3CREV2[6]') del_items(2148621472) set_type(2148621472, 'unsigned char L3CREV3[6]') del_items(2148621480) set_type(2148621480, 'unsigned char L3CREV4[6]') del_items(2148621488) set_type(2148621488, 'unsigned char L3CREV5[6]') del_items(2148621496) set_type(2148621496, 'unsigned char L3CREV6[6]') del_items(2148621504) set_type(2148621504, 'unsigned char L3CREV7[6]') del_items(2148621512) set_type(2148621512, 'unsigned char L3CREV8[6]') del_items(2148621520) set_type(2148621520, 'unsigned char L3CREV9[6]') del_items(2148621528) set_type(2148621528, 'unsigned char L3CREV10[6]') del_items(2148621536) set_type(2148621536, 'unsigned char L3CREV11[6]') del_items(2148621544) set_type(2148621544, 'unsigned char L3XTRA1[4]') del_items(2148621548) set_type(2148621548, 'unsigned char L3XTRA2[4]') del_items(2148621552) set_type(2148621552, 'unsigned char L3XTRA3[4]') del_items(2148621556) set_type(2148621556, 'unsigned char L3XTRA4[4]') del_items(2148621560) set_type(2148621560, 'unsigned char L3XTRA5[4]') del_items(2148621568) set_type(2148621568, 'int diabquad1x') del_items(2148621572) set_type(2148621572, 'int diabquad2x') del_items(2148621576) set_type(2148621576, 'int diabquad3x') del_items(2148621580) set_type(2148621580, 'int diabquad4x') del_items(2148621584) set_type(2148621584, 'int diabquad1y') del_items(2148621588) set_type(2148621588, 'int diabquad2y') del_items(2148621592) set_type(2148621592, 'int diabquad3y') del_items(2148621596) set_type(2148621596, 'int diabquad4y') del_items(2148621600) set_type(2148621600, 'int SP4x1') del_items(2148621604) set_type(2148621604, 'int SP4y1') del_items(2148621608) set_type(2148621608, 'int SP4x2') del_items(2148621612) set_type(2148621612, 'int SP4y2') del_items(2148621616) set_type(2148621616, 'int l4holdx') del_items(2148621620) set_type(2148621620, 'int l4holdy') del_items(2148623832) set_type(2148623832, 'unsigned char *lpSetPiece1') del_items(2148623836) set_type(2148623836, 'unsigned char *lpSetPiece2') del_items(2148623840) set_type(2148623840, 'unsigned char *lpSetPiece3') del_items(2148623844) set_type(2148623844, 'unsigned char *lpSetPiece4') del_items(2148621636) set_type(2148621636, 'unsigned char SkelKingTrans1[8]') del_items(2148621644) set_type(2148621644, 'unsigned char SkelKingTrans2[8]') del_items(2148347720) set_type(2148347720, 'unsigned char SkelKingTrans3[20]') del_items(2148347740) set_type(2148347740, 'unsigned char SkelKingTrans4[28]') del_items(2148347768) set_type(2148347768, 'unsigned char SkelChamTrans1[20]') del_items(2148621652) set_type(2148621652, 'unsigned char SkelChamTrans2[8]') del_items(2148347788) set_type(2148347788, 'unsigned char SkelChamTrans3[36]') del_items(2148621888) set_type(2148621888, 'bool DoUiForChooseMonster') del_items(2148347824) set_type(2148347824, 'char *MgToText[34]') del_items(2148347960) set_type(2148347960, 'int StoryText[3][3]') del_items(2148347996) set_type(2148347996, 'unsigned short dungeon[48][48]') del_items(2148352604) set_type(2148352604, 'unsigned char pdungeon[40][40]') del_items(2148354204) set_type(2148354204, 'unsigned char dflags[40][40]') del_items(2148621924) set_type(2148621924, 'int setpc_x') del_items(2148621928) set_type(2148621928, 'int setpc_y') del_items(2148621932) set_type(2148621932, 'int setpc_w') del_items(2148621936) set_type(2148621936, 'int setpc_h') del_items(2148621940) set_type(2148621940, 'unsigned char setloadflag') del_items(2148621944) set_type(2148621944, 'unsigned char *pMegaTiles') del_items(2148355804) set_type(2148355804, 'unsigned char nBlockTable[2049]') del_items(2148357856) set_type(2148357856, 'unsigned char nSolidTable[2049]') del_items(2148359908) set_type(2148359908, 'unsigned char nTransTable[2049]') del_items(2148361960) set_type(2148361960, 'unsigned char nMissileTable[2049]') del_items(2148364012) set_type(2148364012, 'unsigned char nTrapTable[2049]') del_items(2148621948) set_type(2148621948, 'int dminx') del_items(2148621952) set_type(2148621952, 'int dminy') del_items(2148621956) set_type(2148621956, 'int dmaxx') del_items(2148621960) set_type(2148621960, 'int dmaxy') del_items(2148621964) set_type(2148621964, 'int gnDifficulty') del_items(2148621968) set_type(2148621968, 'unsigned char currlevel') del_items(2148621969) set_type(2148621969, 'unsigned char leveltype') del_items(2148621970) set_type(2148621970, 'unsigned char setlevel') del_items(2148621971) set_type(2148621971, 'unsigned char setlvlnum') del_items(2148621972) set_type(2148621972, 'unsigned char setlvltype') del_items(2148621976) set_type(2148621976, 'int ViewX') del_items(2148621980) set_type(2148621980, 'int ViewY') del_items(2148621984) set_type(2148621984, 'int ViewDX') del_items(2148621988) set_type(2148621988, 'int ViewDY') del_items(2148621992) set_type(2148621992, 'int ViewBX') del_items(2148621996) set_type(2148621996, 'int ViewBY') del_items(2148366064) set_type(2148366064, 'struct ScrollStruct ScrollInfo') del_items(2148622000) set_type(2148622000, 'int LvlViewX') del_items(2148622004) set_type(2148622004, 'int LvlViewY') del_items(2148622008) set_type(2148622008, 'int btmbx') del_items(2148622012) set_type(2148622012, 'int btmby') del_items(2148622016) set_type(2148622016, 'int btmdx') del_items(2148622020) set_type(2148622020, 'int btmdy') del_items(2148622024) set_type(2148622024, 'int MicroTileLen') del_items(2148622028) set_type(2148622028, 'char TransVal') del_items(2148366084) set_type(2148366084, 'bool TransList[8]') del_items(2148622032) set_type(2148622032, 'int themeCount') del_items(2148366116) set_type(2148366116, 'struct map_info dung_map[108][108]') del_items(2148506084) set_type(2148506084, 'unsigned char dung_map_r[54][54]') del_items(2148509000) set_type(2148509000, 'unsigned char dung_map_g[54][54]') del_items(2148511916) set_type(2148511916, 'unsigned char dung_map_b[54][54]') del_items(2148514832) set_type(2148514832, 'struct MINIXY MinisetXY[17]') del_items(2148621916) set_type(2148621916, 'unsigned char *pSetPiece') del_items(2148621920) set_type(2148621920, 'int DungSize') del_items(2148515292) set_type(2148515292, 'struct ThemeStruct theme[50]') del_items(2148622096) set_type(2148622096, 'int numthemes') del_items(2148622100) set_type(2148622100, 'int zharlib') del_items(2148622104) set_type(2148622104, 'unsigned char armorFlag') del_items(2148622105) set_type(2148622105, 'unsigned char bCrossFlag') del_items(2148622106) set_type(2148622106, 'unsigned char weaponFlag') del_items(2148622108) set_type(2148622108, 'int themex') del_items(2148622112) set_type(2148622112, 'int themey') del_items(2148622116) set_type(2148622116, 'int themeVar1') del_items(2148622120) set_type(2148622120, 'unsigned char bFountainFlag') del_items(2148622121) set_type(2148622121, 'unsigned char cauldronFlag') del_items(2148622122) set_type(2148622122, 'unsigned char mFountainFlag') del_items(2148622123) set_type(2148622123, 'unsigned char pFountainFlag') del_items(2148622124) set_type(2148622124, 'unsigned char tFountainFlag') del_items(2148622125) set_type(2148622125, 'unsigned char treasureFlag') del_items(2148622128) set_type(2148622128, 'unsigned char ThemeGoodIn[4]') del_items(2148515004) set_type(2148515004, 'int ThemeGood[4]') del_items(2148515020) set_type(2148515020, 'int trm5x[25]') del_items(2148515120) set_type(2148515120, 'int trm5y[25]') del_items(2148515220) set_type(2148515220, 'int trm3x[9]') del_items(2148515256) set_type(2148515256, 'int trm3y[9]') del_items(2148622312) set_type(2148622312, 'int nummissiles') del_items(2148515828) set_type(2148515828, 'int missileactive[125]') del_items(2148516328) set_type(2148516328, 'int missileavail[125]') del_items(2148622316) set_type(2148622316, 'unsigned char MissilePreFlag') del_items(2148516828) set_type(2148516828, 'struct MissileStruct missile[125]') del_items(2148622317) set_type(2148622317, 'unsigned char ManashieldFlag') del_items(2148622318) set_type(2148622318, 'unsigned char ManashieldFlag2') del_items(2148515692) set_type(2148515692, 'int XDirAdd[8]') del_items(2148515724) set_type(2148515724, 'int YDirAdd[8]') del_items(2148622293) set_type(2148622293, 'unsigned char fadetor') del_items(2148622294) set_type(2148622294, 'unsigned char fadetog') del_items(2148622295) set_type(2148622295, 'unsigned char fadetob') del_items(2148515756) set_type(2148515756, 'unsigned char ValueTable[16]') del_items(2148515772) set_type(2148515772, 'unsigned char StringTable[9][6]') del_items(2148527244) set_type(2148527244, 'struct MonsterStruct monster[200]') del_items(2148622412) set_type(2148622412, 'long nummonsters') del_items(2148549644) set_type(2148549644, 'short monstactive[200]') del_items(2148550044) set_type(2148550044, 'short monstkills[200]') del_items(2148550444) set_type(2148550444, 'struct CMonster Monsters[16]') del_items(2148622416) set_type(2148622416, 'long monstimgtot') del_items(2148622420) set_type(2148622420, 'char totalmonsters') del_items(2148622424) set_type(2148622424, 'int uniquetrans') del_items(2148623848) set_type(2148623848, 'unsigned char sgbSaveSoundOn') del_items(2148622368) set_type(2148622368, 'char offset_x[8]') del_items(2148622376) set_type(2148622376, 'char offset_y[8]') del_items(2148622344) set_type(2148622344, 'char left[8]') del_items(2148622352) set_type(2148622352, 'char right[8]') del_items(2148622360) set_type(2148622360, 'char opposite[8]') del_items(2148622332) set_type(2148622332, 'int nummtypes') del_items(2148622336) set_type(2148622336, 'char animletter[7]') del_items(2148526828) set_type(2148526828, 'int MWVel[3][24]') del_items(2148622384) set_type(2148622384, 'char rnd5[4]') del_items(2148622388) set_type(2148622388, 'char rnd10[4]') del_items(2148622392) set_type(2148622392, 'char rnd20[4]') del_items(2148622396) set_type(2148622396, 'char rnd60[4]') del_items(2148527116) set_type(2148527116, 'void (*AiProc[32])()') del_items(2148551684) set_type(2148551684, 'struct MonsterData monsterdata[112]') del_items(2148558404) set_type(2148558404, 'char MonstConvTbl[128]') del_items(2148558532) set_type(2148558532, 'char MonstAvailTbl[112]') del_items(2148558644) set_type(2148558644, 'struct UniqMonstStruct UniqMonst[98]') del_items(2148551148) set_type(2148551148, 'int TransPals[134]') del_items(2148550892) set_type(2148550892, 'struct STONEPAL StonePals[32]') del_items(2148622468) set_type(2148622468, 'unsigned char invflag') del_items(2148622469) set_type(2148622469, 'unsigned char drawsbarflag') del_items(2148622472) set_type(2148622472, 'int InvBackY') del_items(2148622476) set_type(2148622476, 'int InvCursPos') del_items(2148562652) set_type(2148562652, 'unsigned char InvSlotTable[73]') del_items(2148622480) set_type(2148622480, 'int InvBackAY') del_items(2148622484) set_type(2148622484, 'int InvSel') del_items(2148622488) set_type(2148622488, 'int ItemW') del_items(2148622492) set_type(2148622492, 'int ItemH') del_items(2148622496) set_type(2148622496, 'int ItemNo') del_items(2148622500) set_type(2148622500, 'struct RECT BRect') del_items(2148622456) set_type(2148622456, 'struct TextDat *InvPanelTData') del_items(2148622460) set_type(2148622460, 'struct TextDat *InvGfxTData') del_items(2148622452) set_type(2148622452, 'int InvPageNo') del_items(2148560996) set_type(2148560996, 'int AP2x2Tbl[10]') del_items(2148561036) set_type(2148561036, 'struct InvXY InvRect[73]') del_items(2148561620) set_type(2148561620, 'int InvGfxTable[168]') del_items(2148562292) set_type(2148562292, 'unsigned char InvItemWidth[180]') del_items(2148562472) set_type(2148562472, 'unsigned char InvItemHeight[180]') del_items(2148622464) set_type(2148622464, 'unsigned long sgdwLastTime') del_items(2148622542) set_type(2148622542, 'unsigned char automapflag') del_items(2148562728) set_type(2148562728, 'unsigned char automapview[40][5]') del_items(2148562928) set_type(2148562928, 'unsigned short automaptype[512]') del_items(2148622543) set_type(2148622543, 'unsigned char AMLWallFlag') del_items(2148622544) set_type(2148622544, 'unsigned char AMRWallFlag') del_items(2148622545) set_type(2148622545, 'unsigned char AMLLWallFlag') del_items(2148622546) set_type(2148622546, 'unsigned char AMLRWallFlag') del_items(2148622547) set_type(2148622547, 'unsigned char AMDirtFlag') del_items(2148622548) set_type(2148622548, 'unsigned char AMColumnFlag') del_items(2148622549) set_type(2148622549, 'unsigned char AMStairFlag') del_items(2148622550) set_type(2148622550, 'unsigned char AMLDoorFlag') del_items(2148622551) set_type(2148622551, 'unsigned char AMLGrateFlag') del_items(2148622552) set_type(2148622552, 'unsigned char AMLArchFlag') del_items(2148622553) set_type(2148622553, 'unsigned char AMRDoorFlag') del_items(2148622554) set_type(2148622554, 'unsigned char AMRGrateFlag') del_items(2148622555) set_type(2148622555, 'unsigned char AMRArchFlag') del_items(2148622556) set_type(2148622556, 'int AutoMapX') del_items(2148622560) set_type(2148622560, 'int AutoMapY') del_items(2148622564) set_type(2148622564, 'int AutoMapXOfs') del_items(2148622568) set_type(2148622568, 'int AutoMapYOfs') del_items(2148622572) set_type(2148622572, 'int AMPlayerX') del_items(2148622576) set_type(2148622576, 'int AMPlayerY') del_items(2148622520) set_type(2148622520, 'int AutoMapScale') del_items(2148622524) set_type(2148622524, 'unsigned char AutoMapPlayerR') del_items(2148622525) set_type(2148622525, 'unsigned char AutoMapPlayerG') del_items(2148622526) set_type(2148622526, 'unsigned char AutoMapPlayerB') del_items(2148622527) set_type(2148622527, 'unsigned char AutoMapWallR') del_items(2148622528) set_type(2148622528, 'unsigned char AutoMapWallG') del_items(2148622529) set_type(2148622529, 'unsigned char AutoMapWallB') del_items(2148622530) set_type(2148622530, 'unsigned char AutoMapDoorR') del_items(2148622531) set_type(2148622531, 'unsigned char AutoMapDoorG') del_items(2148622532) set_type(2148622532, 'unsigned char AutoMapDoorB') del_items(2148622533) set_type(2148622533, 'unsigned char AutoMapColumnR') del_items(2148622534) set_type(2148622534, 'unsigned char AutoMapColumnG') del_items(2148622535) set_type(2148622535, 'unsigned char AutoMapColumnB') del_items(2148622536) set_type(2148622536, 'unsigned char AutoMapArchR') del_items(2148622537) set_type(2148622537, 'unsigned char AutoMapArchG') del_items(2148622538) set_type(2148622538, 'unsigned char AutoMapArchB') del_items(2148622539) set_type(2148622539, 'unsigned char AutoMapStairR') del_items(2148622540) set_type(2148622540, 'unsigned char AutoMapStairG') del_items(2148622541) set_type(2148622541, 'unsigned char AutoMapStairB') del_items(2148624196) set_type(2148624196, 'unsigned long GazTick') del_items(2148651112) set_type(2148651112, 'unsigned long RndTabs[6]') del_items(2148153336) set_type(2148153336, 'unsigned long DefaultRnd[6]') del_items(2148624236) set_type(2148624236, 'void (*PollFunc)()') del_items(2148624208) set_type(2148624208, 'void (*MsgFunc)()') del_items(2148624284) set_type(2148624284, 'void (*ErrorFunc)()') del_items(2148623984) set_type(2148623984, 'struct TASK *ActiveTasks') del_items(2148623988) set_type(2148623988, 'struct TASK *CurrentTask') del_items(2148623992) set_type(2148623992, 'struct TASK *T') del_items(2148623996) set_type(2148623996, 'unsigned long MemTypeForTasker') del_items(2148640920) set_type(2148640920, 'int SchEnv[12]') del_items(2148624000) set_type(2148624000, 'unsigned long ExecId') del_items(2148624004) set_type(2148624004, 'unsigned long ExecMask') del_items(2148624008) set_type(2148624008, 'int TasksActive') del_items(2148624012) set_type(2148624012, 'void (*EpiFunc)()') del_items(2148624016) set_type(2148624016, 'void (*ProFunc)()') del_items(2148624020) set_type(2148624020, 'unsigned long EpiProId') del_items(2148624024) set_type(2148624024, 'unsigned long EpiProMask') del_items(2148624028) set_type(2148624028, 'void (*DoTasksPrologue)()') del_items(2148624032) set_type(2148624032, 'void (*DoTasksEpilogue)()') del_items(2148624036) set_type(2148624036, 'void (*StackFloodCallback)()') del_items(2148624040) set_type(2148624040, 'unsigned char ExtraStackProtection') del_items(2148624044) set_type(2148624044, 'int ExtraStackSizeLongs') del_items(2148624216) set_type(2148624216, 'void *LastPtr') del_items(2148153392) set_type(2148153392, 'struct MEM_INFO WorkMemInfo') del_items(2148624048) set_type(2148624048, 'struct MEM_INIT_INFO *MemInitBlocks') del_items(2148640968) set_type(2148640968, 'struct MEM_HDR MemHdrBlocks[140]') del_items(2148624052) set_type(2148624052, 'struct MEM_HDR *FreeBlocks') del_items(2148624056) set_type(2148624056, 'enum GAL_ERROR_CODE LastError') del_items(2148624060) set_type(2148624060, 'int TimeStamp') del_items(2148624064) set_type(2148624064, 'unsigned char FullErrorChecking') del_items(2148624068) set_type(2148624068, 'unsigned long LastAttemptedAlloc') del_items(2148624072) set_type(2148624072, 'unsigned long LastDeallocedBlock') del_items(2148624076) set_type(2148624076, 'enum GAL_VERB_LEV VerbLev') del_items(2148624080) set_type(2148624080, 'int NumOfFreeHdrs') del_items(2148624084) set_type(2148624084, 'unsigned long LastTypeAlloced') del_items(2148624088) set_type(2148624088, 'void (*AllocFilter)()') del_items(2148153400) set_type(2148153400, 'char *GalErrors[10]') del_items(2148153440) set_type(2148153440, 'struct MEM_INIT_INFO PhantomMem') del_items(2148645448) set_type(2148645448, 'char buf[4992]') del_items(2148153480) set_type(2148153480, 'char NULL_REP[7]')
''' a = qtd pistas 1 b = qtd pessoas por pistas 9 c = qtd alunos 4 ''' A, B, C = [int(x) for x in input().split()] if (A*B) > C: print("S") else: print("N")
""" a = qtd pistas 1 b = qtd pessoas por pistas 9 c = qtd alunos 4 """ (a, b, c) = [int(x) for x in input().split()] if A * B > C: print('S') else: print('N')
global file_object global min_country global max_country def open_file(): global file_object while True: # repeatedly prompting for a file name until if its valid file_name = input('Enter the file name: ') # checking if file can be opened try: file_object = open(file_name) break except: print('Error: file not Found') file_object = None continue return file_object def process_file(file_object_p): # getting user inputs global min_country, max_country year = input('Enter the year: ') while True: income_level = input('Enter income level:') try: income_level = int(income_level) if income_level <= 4: break else: print('Error') continue except: print('Error') continue leves = ['WB_LI', 'WB_LMI', 'WB_UMI', 'WB_HI'] ilevel = leves[income_level - 1] count = 0 percentages = [] list_criteria = [] for line in file_object_p: # line[88:93] is the slice having the year and line[51:57] is one having the income level if line[88:93].startswith(year) and ilevel in line[51:57]: count = count + 1 # percent_no is a variable to hold the percentage value percent_no = line[59:61] list_criteria.append(line) # putting the percentages in a list percentages.append(int(percent_no)) max_country = str(max(percentages)) min_country = str(min(percentages)) # catching an error when the year is not found in the file i.e when list_criteria is empty if len(list_criteria) < 1: print('Error: The year does not match any record!') quit() list_max_countries_nw = [] list_min_countries_nw = [] for line in list_criteria: if max_country in line: list_max_countries_nw.append(line[:45]) for line in list_criteria: if min_country in line: list_min_countries_nw.append(line[:45]) # a function to get the most frequent country with max or min percentage def most_frequent_country(list_country): counter = 0 country_name = list_country[0] for i in list_country: current_frequency = list_country.count(i) if current_frequency > counter: counter = current_frequency country_name = i return country_name country_most = most_frequent_country(list_max_countries_nw) countryless = most_frequent_country(list_min_countries_nw) # Displaying a report to the user print('\nA report for the matching criteria') print('Count of records: ', count) print('Average percentage of children vaccinated: ', format((sum(percentages)/count), ".1f")) print('Maximum percentage: ', max(percentages), ' in', country_most) print('Minimum percentage: ', min(percentages), ' in', countryless) # a function to invoke the open_file and process_file functions def main(): process_file(open_file()) file_object.close() main()
global file_object global min_country global max_country def open_file(): global file_object while True: file_name = input('Enter the file name: ') try: file_object = open(file_name) break except: print('Error: file not Found') file_object = None continue return file_object def process_file(file_object_p): global min_country, max_country year = input('Enter the year: ') while True: income_level = input('Enter income level:') try: income_level = int(income_level) if income_level <= 4: break else: print('Error') continue except: print('Error') continue leves = ['WB_LI', 'WB_LMI', 'WB_UMI', 'WB_HI'] ilevel = leves[income_level - 1] count = 0 percentages = [] list_criteria = [] for line in file_object_p: if line[88:93].startswith(year) and ilevel in line[51:57]: count = count + 1 percent_no = line[59:61] list_criteria.append(line) percentages.append(int(percent_no)) max_country = str(max(percentages)) min_country = str(min(percentages)) if len(list_criteria) < 1: print('Error: The year does not match any record!') quit() list_max_countries_nw = [] list_min_countries_nw = [] for line in list_criteria: if max_country in line: list_max_countries_nw.append(line[:45]) for line in list_criteria: if min_country in line: list_min_countries_nw.append(line[:45]) def most_frequent_country(list_country): counter = 0 country_name = list_country[0] for i in list_country: current_frequency = list_country.count(i) if current_frequency > counter: counter = current_frequency country_name = i return country_name country_most = most_frequent_country(list_max_countries_nw) countryless = most_frequent_country(list_min_countries_nw) print('\nA report for the matching criteria') print('Count of records: ', count) print('Average percentage of children vaccinated: ', format(sum(percentages) / count, '.1f')) print('Maximum percentage: ', max(percentages), ' in', country_most) print('Minimum percentage: ', min(percentages), ' in', countryless) def main(): process_file(open_file()) file_object.close() main()
_base_ = [ '../_base_/models/flownet2/flownet2sd.py', '../_base_/datasets/chairssdhom_384x448.py', '../_base_/schedules/schedule_s_long.py', '../_base_/default_runtime.py' ]
_base_ = ['../_base_/models/flownet2/flownet2sd.py', '../_base_/datasets/chairssdhom_384x448.py', '../_base_/schedules/schedule_s_long.py', '../_base_/default_runtime.py']
LOAD_CONTENT_CACHE = False # Uncomment following line if you want document-relative URLs when developing #RELATIVE_URLS = True
load_content_cache = False
number = int(input()) word = input() save = [] for i in range(number): current_string = input() save.append(current_string) print(save) for i in range(len(save) -1, -1, -1): element = save[i] if word not in element: save.remove(element) print(save)
number = int(input()) word = input() save = [] for i in range(number): current_string = input() save.append(current_string) print(save) for i in range(len(save) - 1, -1, -1): element = save[i] if word not in element: save.remove(element) print(save)
print("Enter the no of rows: ") n = int(input()) for i in range(n): count = 0 flag = 0 for j in range(n): if(i==j): flag = 1 if(flag==1): print(n-count, end=" ") count+=1 if(flag!=1): print("1",end=" ") print() # Enter the no of rows: # 5 # 5 4 3 2 1 # 1 5 4 3 2 # 1 1 5 4 3 # 1 1 1 5 4 # 1 1 1 1 5
print('Enter the no of rows: ') n = int(input()) for i in range(n): count = 0 flag = 0 for j in range(n): if i == j: flag = 1 if flag == 1: print(n - count, end=' ') count += 1 if flag != 1: print('1', end=' ') print()
I=input k=int(I()) l=int(I()) r=1 while k**r<l:r+=1 print(['NO','YES\n'+str(r-1)][k**r==l])
i = input k = int(i()) l = int(i()) r = 1 while k ** r < l: r += 1 print(['NO', 'YES\n' + str(r - 1)][k ** r == l])
# Advance Lists my_list = [1, 2, 3] # Add element print('\n# Add element\n') my_list.append(4) my_list.append(4) print(my_list) # Count element's occurrences print('\n# Count element\'s occurrences\n') print(f'2 = {my_list.count(2)}') print(f'4 = {my_list.count(4)}') print(f'5 = {my_list.count(5)}') # Extend print('\n# Extend\n') x = [1, 2, 3] x.append([4, 5]) print(f'Use append = {x}') x = [1, 2, 3] x.extend([4, 5]) print(f'Use Extend = {x}') # Index print('\n# Index\n') print(f'List = {my_list}') print(f'Index of 2 = {my_list.index(2)}') print(f'Index of 4 = {my_list.index(4)}') # Insert print('\n# Insert\n') print(f'List = {my_list}') my_list.insert(2, 'Inserted') print(f'After insert in pos 2 = {my_list}')
my_list = [1, 2, 3] print('\n# Add element\n') my_list.append(4) my_list.append(4) print(my_list) print("\n# Count element's occurrences\n") print(f'2 = {my_list.count(2)}') print(f'4 = {my_list.count(4)}') print(f'5 = {my_list.count(5)}') print('\n# Extend\n') x = [1, 2, 3] x.append([4, 5]) print(f'Use append = {x}') x = [1, 2, 3] x.extend([4, 5]) print(f'Use Extend = {x}') print('\n# Index\n') print(f'List = {my_list}') print(f'Index of 2 = {my_list.index(2)}') print(f'Index of 4 = {my_list.index(4)}') print('\n# Insert\n') print(f'List = {my_list}') my_list.insert(2, 'Inserted') print(f'After insert in pos 2 = {my_list}')
#!/usr/bin/env python # coding=utf-8 # author: zengyuetian content_type_json = {'Content-Type': 'application/json'} accept_type_json = {'Accept': 'application/json'} if __name__ == "__main__": pass
content_type_json = {'Content-Type': 'application/json'} accept_type_json = {'Accept': 'application/json'} if __name__ == '__main__': pass
# # %CopyrightBegin% # # Copyright Ericsson AB 2013. All Rights Reserved. # # The contents of this file are subject to the Erlang Public License, # Version 1.1, (the "License"); you may not use this file except in # compliance with the License. You should have received a copy of the # Erlang Public License along with this software. If not, it can be # retrieved online at http://www.erlang.org/. # # Software distributed under the License is distributed on an "AS IS" # basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See # the License for the specific language governing rights and limitations # under the License. # # %CopyrightEnd% # def get_thread_name(t): f = gdb.newest_frame(); while f: if f.name() == "async_main": return "async"; elif f.name() == "erts_sys_main_thread": return "main"; elif f.name() == "signal_dispatcher_thread_func": return "signal_dispatcher"; elif f.name() == "sys_msg_dispatcher_func": return "sys_msg_dispatcher"; elif f.name() == "child_waiter": return "child_waiter"; elif f.name() == "sched_thread_func": return "scheduler"; elif f.name() == "aux_thread": return "aux"; f = f.older(); return "unknown"; curr_thread = gdb.selected_thread(); for i in gdb.inferiors(): gdb.write(" Id Thread Name Frame\n"); for t in i.threads(): t.switch(); if curr_thread == t: gdb.write("*"); else: gdb.write(" "); gdb.write("{0:<3} {1:20} {2}\n".format( t.num,get_thread_name(t), gdb.newest_frame().name())); curr_thread.switch();
def get_thread_name(t): f = gdb.newest_frame() while f: if f.name() == 'async_main': return 'async' elif f.name() == 'erts_sys_main_thread': return 'main' elif f.name() == 'signal_dispatcher_thread_func': return 'signal_dispatcher' elif f.name() == 'sys_msg_dispatcher_func': return 'sys_msg_dispatcher' elif f.name() == 'child_waiter': return 'child_waiter' elif f.name() == 'sched_thread_func': return 'scheduler' elif f.name() == 'aux_thread': return 'aux' f = f.older() return 'unknown' curr_thread = gdb.selected_thread() for i in gdb.inferiors(): gdb.write(' Id Thread Name Frame\n') for t in i.threads(): t.switch() if curr_thread == t: gdb.write('*') else: gdb.write(' ') gdb.write('{0:<3} {1:20} {2}\n'.format(t.num, get_thread_name(t), gdb.newest_frame().name())) curr_thread.switch()
# 264. Ugly Number II # Runtime: 173 ms, faster than 54.94% of Python3 online submissions for Ugly Number II. # Memory Usage: 14.2 MB, less than 73.79% of Python3 online submissions for Ugly Number II. class Solution: # Three Pointers def nthUglyNumber(self, n: int) -> int: nums = [1] p2, p3, p5 = 0, 0, 0 for _ in range(1, n): n2 = 2 * nums[p2] n3 = 3 * nums[p3] n5 = 5 * nums[p5] nums.append(min(n2, n3, n5)) if nums[-1] == n2: p2 += 1 if nums[-1] == n3: p3 += 1 if nums[-1] == n5: p5 += 1 return nums[-1]
class Solution: def nth_ugly_number(self, n: int) -> int: nums = [1] (p2, p3, p5) = (0, 0, 0) for _ in range(1, n): n2 = 2 * nums[p2] n3 = 3 * nums[p3] n5 = 5 * nums[p5] nums.append(min(n2, n3, n5)) if nums[-1] == n2: p2 += 1 if nums[-1] == n3: p3 += 1 if nums[-1] == n5: p5 += 1 return nums[-1]
class Constraints(object): ''' Contains all of the primary and foreign key constraint names for the given entity as tuples of entities and relations which are part of constraints ''' def __init__(self, pk_constraints, fk_constraints): self.pk_constraints = pk_constraints self.fk_constraints = fk_constraints
class Constraints(object): """ Contains all of the primary and foreign key constraint names for the given entity as tuples of entities and relations which are part of constraints """ def __init__(self, pk_constraints, fk_constraints): self.pk_constraints = pk_constraints self.fk_constraints = fk_constraints
_base_ = [ '../_base_/models/du_pspnet_r50-d8.py', '../_base_/datasets/yantai_st12.py', '../_base_/runtimes/yantai_runtime.py', '../_base_/schedules/schedule_yantai.py' ] model = dict( decode_head=dict(num_classes=4), auxiliary_head=dict(num_classes=4)) test_cfg = dict(mode='whole')
_base_ = ['../_base_/models/du_pspnet_r50-d8.py', '../_base_/datasets/yantai_st12.py', '../_base_/runtimes/yantai_runtime.py', '../_base_/schedules/schedule_yantai.py'] model = dict(decode_head=dict(num_classes=4), auxiliary_head=dict(num_classes=4)) test_cfg = dict(mode='whole')
class Level: def __init__(self, ident, desc, nresources): self.id = ident self.description = desc self.networkResources = nresources
class Level: def __init__(self, ident, desc, nresources): self.id = ident self.description = desc self.networkResources = nresources
o = input() e = input() ans = '' for i in range(len(e)): ans += o[i] ans += e[i] if len(o)-len(e) == 1: ans += o[-1] print(ans)
o = input() e = input() ans = '' for i in range(len(e)): ans += o[i] ans += e[i] if len(o) - len(e) == 1: ans += o[-1] print(ans)
{ "targets": [{ "target_name": "mine.uv", "type": "executable", "dependencies": [ "mine.uv-lib", ], "sources": [ "src/main.c", ], }, { "target_name": "mine.uv-lib", "type": "<(library)", "include_dirs": [ "src" ], "dependencies": [ "deps/uv/uv.gyp:libuv", "deps/openssl/openssl.gyp:openssl", "deps/zlib/zlib.gyp:zlib", ], "direct_dependent_settings": { "include_dirs": [ "src" ], }, "sources": [ "src/client.c", "src/client-handshake.c", "src/client-protocol.c", "src/format/anvil-encode.c", "src/format/anvil-parse.c", "src/format/nbt-common.c", "src/format/nbt-encode.c", "src/format/nbt-parse.c", "src/format/nbt-utils.c", "src/format/nbt-value.c", "src/protocol/framer.c", "src/protocol/parser.c", "src/utils/buffer.c", "src/utils/common.c", "src/utils/string.c", "src/server.c", "src/session.c", "src/world.c", ], }] }
{'targets': [{'target_name': 'mine.uv', 'type': 'executable', 'dependencies': ['mine.uv-lib'], 'sources': ['src/main.c']}, {'target_name': 'mine.uv-lib', 'type': '<(library)', 'include_dirs': ['src'], 'dependencies': ['deps/uv/uv.gyp:libuv', 'deps/openssl/openssl.gyp:openssl', 'deps/zlib/zlib.gyp:zlib'], 'direct_dependent_settings': {'include_dirs': ['src']}, 'sources': ['src/client.c', 'src/client-handshake.c', 'src/client-protocol.c', 'src/format/anvil-encode.c', 'src/format/anvil-parse.c', 'src/format/nbt-common.c', 'src/format/nbt-encode.c', 'src/format/nbt-parse.c', 'src/format/nbt-utils.c', 'src/format/nbt-value.c', 'src/protocol/framer.c', 'src/protocol/parser.c', 'src/utils/buffer.c', 'src/utils/common.c', 'src/utils/string.c', 'src/server.c', 'src/session.c', 'src/world.c']}]}
# # PySNMP MIB module CISCO-UNIFIED-COMPUTING-SYSFILE-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/CISCO-UNIFIED-COMPUTING-SYSFILE-MIB # Produced by pysmi-0.3.4 at Wed May 1 12:17:44 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, Integer, OctetString = mibBuilder.importSymbols("ASN1", "ObjectIdentifier", "Integer", "OctetString") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") SingleValueConstraint, ValueRangeConstraint, ConstraintsIntersection, ValueSizeConstraint, ConstraintsUnion = mibBuilder.importSymbols("ASN1-REFINEMENT", "SingleValueConstraint", "ValueRangeConstraint", "ConstraintsIntersection", "ValueSizeConstraint", "ConstraintsUnion") ciscoMgmt, = mibBuilder.importSymbols("CISCO-SMI", "ciscoMgmt") CiscoAlarmSeverity, TimeIntervalSec, Unsigned64, CiscoInetAddressMask, CiscoNetworkAddress = mibBuilder.importSymbols("CISCO-TC", "CiscoAlarmSeverity", "TimeIntervalSec", "Unsigned64", "CiscoInetAddressMask", "CiscoNetworkAddress") ciscoUnifiedComputingMIBObjects, CucsManagedObjectId, CucsManagedObjectDn = mibBuilder.importSymbols("CISCO-UNIFIED-COMPUTING-MIB", "ciscoUnifiedComputingMIBObjects", "CucsManagedObjectId", "CucsManagedObjectDn") CucsFsmFsmStageStatus, CucsSysfileMutationFsmStageName, CucsFsmFlags, CucsConditionRemoteInvRslt, CucsSysfileMutationAction, CucsSysfileMutationFsmTaskItem, CucsFsmCompletion, CucsNetworkSwitchId, CucsSysfileMutationFsmCurrentFsm = mibBuilder.importSymbols("CISCO-UNIFIED-COMPUTING-TC-MIB", "CucsFsmFsmStageStatus", "CucsSysfileMutationFsmStageName", "CucsFsmFlags", "CucsConditionRemoteInvRslt", "CucsSysfileMutationAction", "CucsSysfileMutationFsmTaskItem", "CucsFsmCompletion", "CucsNetworkSwitchId", "CucsSysfileMutationFsmCurrentFsm") InetAddressIPv6, InetAddressIPv4 = mibBuilder.importSymbols("INET-ADDRESS-MIB", "InetAddressIPv6", "InetAddressIPv4") SnmpAdminString, = mibBuilder.importSymbols("SNMP-FRAMEWORK-MIB", "SnmpAdminString") ModuleCompliance, NotificationGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup") Gauge32, Unsigned32, iso, ModuleIdentity, MibIdentifier, IpAddress, ObjectIdentity, Counter32, Integer32, Counter64, Bits, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, NotificationType = mibBuilder.importSymbols("SNMPv2-SMI", "Gauge32", "Unsigned32", "iso", "ModuleIdentity", "MibIdentifier", "IpAddress", "ObjectIdentity", "Counter32", "Integer32", "Counter64", "Bits", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "NotificationType") TimeStamp, TextualConvention, MacAddress, DisplayString, RowPointer, TimeInterval, TruthValue, DateAndTime = mibBuilder.importSymbols("SNMPv2-TC", "TimeStamp", "TextualConvention", "MacAddress", "DisplayString", "RowPointer", "TimeInterval", "TruthValue", "DateAndTime") cucsSysfileObjects = ModuleIdentity((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48)) if mibBuilder.loadTexts: cucsSysfileObjects.setLastUpdated('201601180000Z') if mibBuilder.loadTexts: cucsSysfileObjects.setOrganization('Cisco Systems Inc.') if mibBuilder.loadTexts: cucsSysfileObjects.setContactInfo('Cisco Systems Customer Service Postal: 170 W Tasman Drive San Jose, CA 95134 USA Tel: +1 800 553 -NETS E-mail: [email protected], [email protected]') if mibBuilder.loadTexts: cucsSysfileObjects.setDescription('MIB representation of the Cisco Unified Computing System SYSFILE management information model package') cucsSysfileDigestTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 3), ) if mibBuilder.loadTexts: cucsSysfileDigestTable.setStatus('current') if mibBuilder.loadTexts: cucsSysfileDigestTable.setDescription('Cisco UCS sysfile:Digest managed object table') cucsSysfileDigestEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 3, 1), ).setIndexNames((0, "CISCO-UNIFIED-COMPUTING-SYSFILE-MIB", "cucsSysfileDigestInstanceId")) if mibBuilder.loadTexts: cucsSysfileDigestEntry.setStatus('current') if mibBuilder.loadTexts: cucsSysfileDigestEntry.setDescription('Entry for the cucsSysfileDigestTable table.') cucsSysfileDigestInstanceId = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 3, 1, 1), CucsManagedObjectId()) if mibBuilder.loadTexts: cucsSysfileDigestInstanceId.setStatus('current') if mibBuilder.loadTexts: cucsSysfileDigestInstanceId.setDescription('Instance identifier of the managed object.') cucsSysfileDigestDn = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 3, 1, 2), CucsManagedObjectDn()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsSysfileDigestDn.setStatus('current') if mibBuilder.loadTexts: cucsSysfileDigestDn.setDescription('Cisco UCS sysfile:Digest:dn managed object property') cucsSysfileDigestRn = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 3, 1, 3), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsSysfileDigestRn.setStatus('current') if mibBuilder.loadTexts: cucsSysfileDigestRn.setDescription('Cisco UCS sysfile:Digest:rn managed object property') cucsSysfileDigestCreationTS = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 3, 1, 4), Unsigned64()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsSysfileDigestCreationTS.setStatus('current') if mibBuilder.loadTexts: cucsSysfileDigestCreationTS.setDescription('Cisco UCS sysfile:Digest:creationTS managed object property') cucsSysfileDigestDescr = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 3, 1, 5), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsSysfileDigestDescr.setStatus('current') if mibBuilder.loadTexts: cucsSysfileDigestDescr.setDescription('Cisco UCS sysfile:Digest:descr managed object property') cucsSysfileDigestName = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 3, 1, 6), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsSysfileDigestName.setStatus('current') if mibBuilder.loadTexts: cucsSysfileDigestName.setDescription('Cisco UCS sysfile:Digest:name managed object property') cucsSysfileDigestSize = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 3, 1, 7), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsSysfileDigestSize.setStatus('current') if mibBuilder.loadTexts: cucsSysfileDigestSize.setDescription('Cisco UCS sysfile:Digest:size managed object property') cucsSysfileDigestSource = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 3, 1, 8), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsSysfileDigestSource.setStatus('current') if mibBuilder.loadTexts: cucsSysfileDigestSource.setDescription('Cisco UCS sysfile:Digest:source managed object property') cucsSysfileDigestSwitchId = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 3, 1, 9), CucsNetworkSwitchId()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsSysfileDigestSwitchId.setStatus('current') if mibBuilder.loadTexts: cucsSysfileDigestSwitchId.setDescription('Cisco UCS sysfile:Digest:switchId managed object property') cucsSysfileDigestTs = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 3, 1, 10), DateAndTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsSysfileDigestTs.setStatus('current') if mibBuilder.loadTexts: cucsSysfileDigestTs.setDescription('Cisco UCS sysfile:Digest:ts managed object property') cucsSysfileDigestUri = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 3, 1, 11), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsSysfileDigestUri.setStatus('current') if mibBuilder.loadTexts: cucsSysfileDigestUri.setDescription('Cisco UCS sysfile:Digest:uri managed object property') cucsSysfileMutationTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 1), ) if mibBuilder.loadTexts: cucsSysfileMutationTable.setStatus('current') if mibBuilder.loadTexts: cucsSysfileMutationTable.setDescription('Cisco UCS sysfile:Mutation managed object table') cucsSysfileMutationEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 1, 1), ).setIndexNames((0, "CISCO-UNIFIED-COMPUTING-SYSFILE-MIB", "cucsSysfileMutationInstanceId")) if mibBuilder.loadTexts: cucsSysfileMutationEntry.setStatus('current') if mibBuilder.loadTexts: cucsSysfileMutationEntry.setDescription('Entry for the cucsSysfileMutationTable table.') cucsSysfileMutationInstanceId = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 1, 1, 1), CucsManagedObjectId()) if mibBuilder.loadTexts: cucsSysfileMutationInstanceId.setStatus('current') if mibBuilder.loadTexts: cucsSysfileMutationInstanceId.setDescription('Instance identifier of the managed object.') cucsSysfileMutationDn = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 1, 1, 2), CucsManagedObjectDn()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsSysfileMutationDn.setStatus('current') if mibBuilder.loadTexts: cucsSysfileMutationDn.setDescription('Cisco UCS sysfile:Mutation:dn managed object property') cucsSysfileMutationRn = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 1, 1, 3), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsSysfileMutationRn.setStatus('current') if mibBuilder.loadTexts: cucsSysfileMutationRn.setDescription('Cisco UCS sysfile:Mutation:rn managed object property') cucsSysfileMutationAction = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 1, 1, 4), CucsSysfileMutationAction()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsSysfileMutationAction.setStatus('current') if mibBuilder.loadTexts: cucsSysfileMutationAction.setDescription('Cisco UCS sysfile:Mutation:action managed object property') cucsSysfileMutationDescr = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 1, 1, 5), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsSysfileMutationDescr.setStatus('current') if mibBuilder.loadTexts: cucsSysfileMutationDescr.setDescription('Cisco UCS sysfile:Mutation:descr managed object property') cucsSysfileMutationFsmDescr = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 1, 1, 6), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsSysfileMutationFsmDescr.setStatus('current') if mibBuilder.loadTexts: cucsSysfileMutationFsmDescr.setDescription('Cisco UCS sysfile:Mutation:fsmDescr managed object property') cucsSysfileMutationFsmPrev = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 1, 1, 7), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsSysfileMutationFsmPrev.setStatus('current') if mibBuilder.loadTexts: cucsSysfileMutationFsmPrev.setDescription('Cisco UCS sysfile:Mutation:fsmPrev managed object property') cucsSysfileMutationFsmProgr = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 1, 1, 8), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsSysfileMutationFsmProgr.setStatus('current') if mibBuilder.loadTexts: cucsSysfileMutationFsmProgr.setDescription('Cisco UCS sysfile:Mutation:fsmProgr managed object property') cucsSysfileMutationFsmRmtInvErrCode = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 1, 1, 9), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsSysfileMutationFsmRmtInvErrCode.setStatus('current') if mibBuilder.loadTexts: cucsSysfileMutationFsmRmtInvErrCode.setDescription('Cisco UCS sysfile:Mutation:fsmRmtInvErrCode managed object property') cucsSysfileMutationFsmRmtInvErrDescr = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 1, 1, 10), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsSysfileMutationFsmRmtInvErrDescr.setStatus('current') if mibBuilder.loadTexts: cucsSysfileMutationFsmRmtInvErrDescr.setDescription('Cisco UCS sysfile:Mutation:fsmRmtInvErrDescr managed object property') cucsSysfileMutationFsmRmtInvRslt = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 1, 1, 11), CucsConditionRemoteInvRslt()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsSysfileMutationFsmRmtInvRslt.setStatus('current') if mibBuilder.loadTexts: cucsSysfileMutationFsmRmtInvRslt.setDescription('Cisco UCS sysfile:Mutation:fsmRmtInvRslt managed object property') cucsSysfileMutationFsmStageDescr = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 1, 1, 12), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsSysfileMutationFsmStageDescr.setStatus('current') if mibBuilder.loadTexts: cucsSysfileMutationFsmStageDescr.setDescription('Cisco UCS sysfile:Mutation:fsmStageDescr managed object property') cucsSysfileMutationFsmStamp = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 1, 1, 13), DateAndTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsSysfileMutationFsmStamp.setStatus('current') if mibBuilder.loadTexts: cucsSysfileMutationFsmStamp.setDescription('Cisco UCS sysfile:Mutation:fsmStamp managed object property') cucsSysfileMutationFsmStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 1, 1, 14), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsSysfileMutationFsmStatus.setStatus('current') if mibBuilder.loadTexts: cucsSysfileMutationFsmStatus.setDescription('Cisco UCS sysfile:Mutation:fsmStatus managed object property') cucsSysfileMutationFsmTry = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 1, 1, 15), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsSysfileMutationFsmTry.setStatus('current') if mibBuilder.loadTexts: cucsSysfileMutationFsmTry.setDescription('Cisco UCS sysfile:Mutation:fsmTry managed object property') cucsSysfileMutationFsmTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 4), ) if mibBuilder.loadTexts: cucsSysfileMutationFsmTable.setStatus('current') if mibBuilder.loadTexts: cucsSysfileMutationFsmTable.setDescription('Cisco UCS sysfile:MutationFsm managed object table') cucsSysfileMutationFsmEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 4, 1), ).setIndexNames((0, "CISCO-UNIFIED-COMPUTING-SYSFILE-MIB", "cucsSysfileMutationFsmInstanceId")) if mibBuilder.loadTexts: cucsSysfileMutationFsmEntry.setStatus('current') if mibBuilder.loadTexts: cucsSysfileMutationFsmEntry.setDescription('Entry for the cucsSysfileMutationFsmTable table.') cucsSysfileMutationFsmInstanceId = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 4, 1, 1), CucsManagedObjectId()) if mibBuilder.loadTexts: cucsSysfileMutationFsmInstanceId.setStatus('current') if mibBuilder.loadTexts: cucsSysfileMutationFsmInstanceId.setDescription('Instance identifier of the managed object.') cucsSysfileMutationFsmDn = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 4, 1, 2), CucsManagedObjectDn()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsSysfileMutationFsmDn.setStatus('current') if mibBuilder.loadTexts: cucsSysfileMutationFsmDn.setDescription('Cisco UCS sysfile:MutationFsm:dn managed object property') cucsSysfileMutationFsmRn = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 4, 1, 3), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsSysfileMutationFsmRn.setStatus('current') if mibBuilder.loadTexts: cucsSysfileMutationFsmRn.setDescription('Cisco UCS sysfile:MutationFsm:rn managed object property') cucsSysfileMutationFsmCompletionTime = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 4, 1, 4), DateAndTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsSysfileMutationFsmCompletionTime.setStatus('current') if mibBuilder.loadTexts: cucsSysfileMutationFsmCompletionTime.setDescription('Cisco UCS sysfile:MutationFsm:completionTime managed object property') cucsSysfileMutationFsmCurrentFsm = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 4, 1, 5), CucsSysfileMutationFsmCurrentFsm()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsSysfileMutationFsmCurrentFsm.setStatus('current') if mibBuilder.loadTexts: cucsSysfileMutationFsmCurrentFsm.setDescription('Cisco UCS sysfile:MutationFsm:currentFsm managed object property') cucsSysfileMutationFsmDescrData = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 4, 1, 6), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsSysfileMutationFsmDescrData.setStatus('current') if mibBuilder.loadTexts: cucsSysfileMutationFsmDescrData.setDescription('Cisco UCS sysfile:MutationFsm:descr managed object property') cucsSysfileMutationFsmFsmStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 4, 1, 7), CucsFsmFsmStageStatus()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsSysfileMutationFsmFsmStatus.setStatus('current') if mibBuilder.loadTexts: cucsSysfileMutationFsmFsmStatus.setDescription('Cisco UCS sysfile:MutationFsm:fsmStatus managed object property') cucsSysfileMutationFsmProgress = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 4, 1, 8), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsSysfileMutationFsmProgress.setStatus('current') if mibBuilder.loadTexts: cucsSysfileMutationFsmProgress.setDescription('Cisco UCS sysfile:MutationFsm:progress managed object property') cucsSysfileMutationFsmRmtErrCode = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 4, 1, 9), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsSysfileMutationFsmRmtErrCode.setStatus('current') if mibBuilder.loadTexts: cucsSysfileMutationFsmRmtErrCode.setDescription('Cisco UCS sysfile:MutationFsm:rmtErrCode managed object property') cucsSysfileMutationFsmRmtErrDescr = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 4, 1, 10), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsSysfileMutationFsmRmtErrDescr.setStatus('current') if mibBuilder.loadTexts: cucsSysfileMutationFsmRmtErrDescr.setDescription('Cisco UCS sysfile:MutationFsm:rmtErrDescr managed object property') cucsSysfileMutationFsmRmtRslt = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 4, 1, 11), CucsConditionRemoteInvRslt()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsSysfileMutationFsmRmtRslt.setStatus('current') if mibBuilder.loadTexts: cucsSysfileMutationFsmRmtRslt.setDescription('Cisco UCS sysfile:MutationFsm:rmtRslt managed object property') cucsSysfileMutationFsmStageTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 5), ) if mibBuilder.loadTexts: cucsSysfileMutationFsmStageTable.setStatus('current') if mibBuilder.loadTexts: cucsSysfileMutationFsmStageTable.setDescription('Cisco UCS sysfile:MutationFsmStage managed object table') cucsSysfileMutationFsmStageEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 5, 1), ).setIndexNames((0, "CISCO-UNIFIED-COMPUTING-SYSFILE-MIB", "cucsSysfileMutationFsmStageInstanceId")) if mibBuilder.loadTexts: cucsSysfileMutationFsmStageEntry.setStatus('current') if mibBuilder.loadTexts: cucsSysfileMutationFsmStageEntry.setDescription('Entry for the cucsSysfileMutationFsmStageTable table.') cucsSysfileMutationFsmStageInstanceId = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 5, 1, 1), CucsManagedObjectId()) if mibBuilder.loadTexts: cucsSysfileMutationFsmStageInstanceId.setStatus('current') if mibBuilder.loadTexts: cucsSysfileMutationFsmStageInstanceId.setDescription('Instance identifier of the managed object.') cucsSysfileMutationFsmStageDn = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 5, 1, 2), CucsManagedObjectDn()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsSysfileMutationFsmStageDn.setStatus('current') if mibBuilder.loadTexts: cucsSysfileMutationFsmStageDn.setDescription('Cisco UCS sysfile:MutationFsmStage:dn managed object property') cucsSysfileMutationFsmStageRn = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 5, 1, 3), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsSysfileMutationFsmStageRn.setStatus('current') if mibBuilder.loadTexts: cucsSysfileMutationFsmStageRn.setDescription('Cisco UCS sysfile:MutationFsmStage:rn managed object property') cucsSysfileMutationFsmStageDescrData = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 5, 1, 4), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsSysfileMutationFsmStageDescrData.setStatus('current') if mibBuilder.loadTexts: cucsSysfileMutationFsmStageDescrData.setDescription('Cisco UCS sysfile:MutationFsmStage:descr managed object property') cucsSysfileMutationFsmStageLastUpdateTime = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 5, 1, 5), DateAndTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsSysfileMutationFsmStageLastUpdateTime.setStatus('current') if mibBuilder.loadTexts: cucsSysfileMutationFsmStageLastUpdateTime.setDescription('Cisco UCS sysfile:MutationFsmStage:lastUpdateTime managed object property') cucsSysfileMutationFsmStageName = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 5, 1, 6), CucsSysfileMutationFsmStageName()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsSysfileMutationFsmStageName.setStatus('current') if mibBuilder.loadTexts: cucsSysfileMutationFsmStageName.setDescription('Cisco UCS sysfile:MutationFsmStage:name managed object property') cucsSysfileMutationFsmStageOrder = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 5, 1, 7), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsSysfileMutationFsmStageOrder.setStatus('current') if mibBuilder.loadTexts: cucsSysfileMutationFsmStageOrder.setDescription('Cisco UCS sysfile:MutationFsmStage:order managed object property') cucsSysfileMutationFsmStageRetry = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 5, 1, 8), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsSysfileMutationFsmStageRetry.setStatus('current') if mibBuilder.loadTexts: cucsSysfileMutationFsmStageRetry.setDescription('Cisco UCS sysfile:MutationFsmStage:retry managed object property') cucsSysfileMutationFsmStageStageStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 5, 1, 9), CucsFsmFsmStageStatus()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsSysfileMutationFsmStageStageStatus.setStatus('current') if mibBuilder.loadTexts: cucsSysfileMutationFsmStageStageStatus.setDescription('Cisco UCS sysfile:MutationFsmStage:stageStatus managed object property') cucsSysfileMutationFsmTaskTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 2), ) if mibBuilder.loadTexts: cucsSysfileMutationFsmTaskTable.setStatus('current') if mibBuilder.loadTexts: cucsSysfileMutationFsmTaskTable.setDescription('Cisco UCS sysfile:MutationFsmTask managed object table') cucsSysfileMutationFsmTaskEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 2, 1), ).setIndexNames((0, "CISCO-UNIFIED-COMPUTING-SYSFILE-MIB", "cucsSysfileMutationFsmTaskInstanceId")) if mibBuilder.loadTexts: cucsSysfileMutationFsmTaskEntry.setStatus('current') if mibBuilder.loadTexts: cucsSysfileMutationFsmTaskEntry.setDescription('Entry for the cucsSysfileMutationFsmTaskTable table.') cucsSysfileMutationFsmTaskInstanceId = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 2, 1, 1), CucsManagedObjectId()) if mibBuilder.loadTexts: cucsSysfileMutationFsmTaskInstanceId.setStatus('current') if mibBuilder.loadTexts: cucsSysfileMutationFsmTaskInstanceId.setDescription('Instance identifier of the managed object.') cucsSysfileMutationFsmTaskDn = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 2, 1, 2), CucsManagedObjectDn()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsSysfileMutationFsmTaskDn.setStatus('current') if mibBuilder.loadTexts: cucsSysfileMutationFsmTaskDn.setDescription('Cisco UCS sysfile:MutationFsmTask:dn managed object property') cucsSysfileMutationFsmTaskRn = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 2, 1, 3), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsSysfileMutationFsmTaskRn.setStatus('current') if mibBuilder.loadTexts: cucsSysfileMutationFsmTaskRn.setDescription('Cisco UCS sysfile:MutationFsmTask:rn managed object property') cucsSysfileMutationFsmTaskCompletion = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 2, 1, 4), CucsFsmCompletion()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsSysfileMutationFsmTaskCompletion.setStatus('current') if mibBuilder.loadTexts: cucsSysfileMutationFsmTaskCompletion.setDescription('Cisco UCS sysfile:MutationFsmTask:completion managed object property') cucsSysfileMutationFsmTaskFlags = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 2, 1, 5), CucsFsmFlags()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsSysfileMutationFsmTaskFlags.setStatus('current') if mibBuilder.loadTexts: cucsSysfileMutationFsmTaskFlags.setDescription('Cisco UCS sysfile:MutationFsmTask:flags managed object property') cucsSysfileMutationFsmTaskItem = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 2, 1, 6), CucsSysfileMutationFsmTaskItem()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsSysfileMutationFsmTaskItem.setStatus('current') if mibBuilder.loadTexts: cucsSysfileMutationFsmTaskItem.setDescription('Cisco UCS sysfile:MutationFsmTask:item managed object property') cucsSysfileMutationFsmTaskSeqId = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 2, 1, 7), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsSysfileMutationFsmTaskSeqId.setStatus('current') if mibBuilder.loadTexts: cucsSysfileMutationFsmTaskSeqId.setDescription('Cisco UCS sysfile:MutationFsmTask:seqId managed object property') mibBuilder.exportSymbols("CISCO-UNIFIED-COMPUTING-SYSFILE-MIB", cucsSysfileMutationFsmCurrentFsm=cucsSysfileMutationFsmCurrentFsm, cucsSysfileDigestName=cucsSysfileDigestName, cucsSysfileMutationFsmStageTable=cucsSysfileMutationFsmStageTable, cucsSysfileDigestUri=cucsSysfileDigestUri, cucsSysfileMutationFsmTaskInstanceId=cucsSysfileMutationFsmTaskInstanceId, cucsSysfileMutationFsmDn=cucsSysfileMutationFsmDn, cucsSysfileMutationFsmTaskItem=cucsSysfileMutationFsmTaskItem, cucsSysfileMutationFsmTaskCompletion=cucsSysfileMutationFsmTaskCompletion, cucsSysfileMutationFsmRmtErrDescr=cucsSysfileMutationFsmRmtErrDescr, cucsSysfileMutationFsmStageInstanceId=cucsSysfileMutationFsmStageInstanceId, cucsSysfileMutationFsmRmtInvRslt=cucsSysfileMutationFsmRmtInvRslt, cucsSysfileMutationFsmDescr=cucsSysfileMutationFsmDescr, cucsSysfileMutationFsmDescrData=cucsSysfileMutationFsmDescrData, cucsSysfileMutationFsmEntry=cucsSysfileMutationFsmEntry, cucsSysfileDigestSwitchId=cucsSysfileDigestSwitchId, cucsSysfileMutationFsmRn=cucsSysfileMutationFsmRn, cucsSysfileMutationEntry=cucsSysfileMutationEntry, cucsSysfileDigestSource=cucsSysfileDigestSource, cucsSysfileMutationFsmStatus=cucsSysfileMutationFsmStatus, cucsSysfileObjects=cucsSysfileObjects, cucsSysfileMutationFsmTaskFlags=cucsSysfileMutationFsmTaskFlags, cucsSysfileDigestTable=cucsSysfileDigestTable, cucsSysfileMutationFsmStageRetry=cucsSysfileMutationFsmStageRetry, cucsSysfileMutationFsmTaskTable=cucsSysfileMutationFsmTaskTable, cucsSysfileMutationFsmTable=cucsSysfileMutationFsmTable, cucsSysfileDigestCreationTS=cucsSysfileDigestCreationTS, cucsSysfileMutationFsmRmtRslt=cucsSysfileMutationFsmRmtRslt, cucsSysfileMutationFsmStageDescrData=cucsSysfileMutationFsmStageDescrData, cucsSysfileMutationFsmProgr=cucsSysfileMutationFsmProgr, cucsSysfileMutationFsmTaskEntry=cucsSysfileMutationFsmTaskEntry, cucsSysfileMutationFsmInstanceId=cucsSysfileMutationFsmInstanceId, cucsSysfileMutationFsmStageDn=cucsSysfileMutationFsmStageDn, cucsSysfileDigestDescr=cucsSysfileDigestDescr, cucsSysfileMutationFsmCompletionTime=cucsSysfileMutationFsmCompletionTime, cucsSysfileDigestEntry=cucsSysfileDigestEntry, cucsSysfileMutationFsmRmtInvErrDescr=cucsSysfileMutationFsmRmtInvErrDescr, cucsSysfileDigestInstanceId=cucsSysfileDigestInstanceId, PYSNMP_MODULE_ID=cucsSysfileObjects, cucsSysfileDigestSize=cucsSysfileDigestSize, cucsSysfileMutationFsmFsmStatus=cucsSysfileMutationFsmFsmStatus, cucsSysfileMutationAction=cucsSysfileMutationAction, cucsSysfileMutationFsmRmtInvErrCode=cucsSysfileMutationFsmRmtInvErrCode, cucsSysfileMutationInstanceId=cucsSysfileMutationInstanceId, cucsSysfileDigestDn=cucsSysfileDigestDn, cucsSysfileMutationTable=cucsSysfileMutationTable, cucsSysfileMutationFsmStamp=cucsSysfileMutationFsmStamp, cucsSysfileMutationFsmProgress=cucsSysfileMutationFsmProgress, cucsSysfileMutationFsmStageLastUpdateTime=cucsSysfileMutationFsmStageLastUpdateTime, cucsSysfileMutationFsmStageEntry=cucsSysfileMutationFsmStageEntry, cucsSysfileMutationFsmStageName=cucsSysfileMutationFsmStageName, cucsSysfileMutationFsmStageStageStatus=cucsSysfileMutationFsmStageStageStatus, cucsSysfileMutationFsmTaskRn=cucsSysfileMutationFsmTaskRn, cucsSysfileMutationRn=cucsSysfileMutationRn, cucsSysfileMutationFsmTry=cucsSysfileMutationFsmTry, cucsSysfileMutationFsmTaskSeqId=cucsSysfileMutationFsmTaskSeqId, cucsSysfileMutationFsmStageRn=cucsSysfileMutationFsmStageRn, cucsSysfileMutationDescr=cucsSysfileMutationDescr, cucsSysfileMutationFsmPrev=cucsSysfileMutationFsmPrev, cucsSysfileMutationFsmStageOrder=cucsSysfileMutationFsmStageOrder, cucsSysfileMutationFsmTaskDn=cucsSysfileMutationFsmTaskDn, cucsSysfileMutationFsmStageDescr=cucsSysfileMutationFsmStageDescr, cucsSysfileDigestTs=cucsSysfileDigestTs, cucsSysfileMutationFsmRmtErrCode=cucsSysfileMutationFsmRmtErrCode, cucsSysfileMutationDn=cucsSysfileMutationDn, cucsSysfileDigestRn=cucsSysfileDigestRn)
(object_identifier, integer, octet_string) = mibBuilder.importSymbols('ASN1', 'ObjectIdentifier', 'Integer', 'OctetString') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (single_value_constraint, value_range_constraint, constraints_intersection, value_size_constraint, constraints_union) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'SingleValueConstraint', 'ValueRangeConstraint', 'ConstraintsIntersection', 'ValueSizeConstraint', 'ConstraintsUnion') (cisco_mgmt,) = mibBuilder.importSymbols('CISCO-SMI', 'ciscoMgmt') (cisco_alarm_severity, time_interval_sec, unsigned64, cisco_inet_address_mask, cisco_network_address) = mibBuilder.importSymbols('CISCO-TC', 'CiscoAlarmSeverity', 'TimeIntervalSec', 'Unsigned64', 'CiscoInetAddressMask', 'CiscoNetworkAddress') (cisco_unified_computing_mib_objects, cucs_managed_object_id, cucs_managed_object_dn) = mibBuilder.importSymbols('CISCO-UNIFIED-COMPUTING-MIB', 'ciscoUnifiedComputingMIBObjects', 'CucsManagedObjectId', 'CucsManagedObjectDn') (cucs_fsm_fsm_stage_status, cucs_sysfile_mutation_fsm_stage_name, cucs_fsm_flags, cucs_condition_remote_inv_rslt, cucs_sysfile_mutation_action, cucs_sysfile_mutation_fsm_task_item, cucs_fsm_completion, cucs_network_switch_id, cucs_sysfile_mutation_fsm_current_fsm) = mibBuilder.importSymbols('CISCO-UNIFIED-COMPUTING-TC-MIB', 'CucsFsmFsmStageStatus', 'CucsSysfileMutationFsmStageName', 'CucsFsmFlags', 'CucsConditionRemoteInvRslt', 'CucsSysfileMutationAction', 'CucsSysfileMutationFsmTaskItem', 'CucsFsmCompletion', 'CucsNetworkSwitchId', 'CucsSysfileMutationFsmCurrentFsm') (inet_address_i_pv6, inet_address_i_pv4) = mibBuilder.importSymbols('INET-ADDRESS-MIB', 'InetAddressIPv6', 'InetAddressIPv4') (snmp_admin_string,) = mibBuilder.importSymbols('SNMP-FRAMEWORK-MIB', 'SnmpAdminString') (module_compliance, notification_group) = mibBuilder.importSymbols('SNMPv2-CONF', 'ModuleCompliance', 'NotificationGroup') (gauge32, unsigned32, iso, module_identity, mib_identifier, ip_address, object_identity, counter32, integer32, counter64, bits, mib_scalar, mib_table, mib_table_row, mib_table_column, time_ticks, notification_type) = mibBuilder.importSymbols('SNMPv2-SMI', 'Gauge32', 'Unsigned32', 'iso', 'ModuleIdentity', 'MibIdentifier', 'IpAddress', 'ObjectIdentity', 'Counter32', 'Integer32', 'Counter64', 'Bits', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'TimeTicks', 'NotificationType') (time_stamp, textual_convention, mac_address, display_string, row_pointer, time_interval, truth_value, date_and_time) = mibBuilder.importSymbols('SNMPv2-TC', 'TimeStamp', 'TextualConvention', 'MacAddress', 'DisplayString', 'RowPointer', 'TimeInterval', 'TruthValue', 'DateAndTime') cucs_sysfile_objects = module_identity((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48)) if mibBuilder.loadTexts: cucsSysfileObjects.setLastUpdated('201601180000Z') if mibBuilder.loadTexts: cucsSysfileObjects.setOrganization('Cisco Systems Inc.') if mibBuilder.loadTexts: cucsSysfileObjects.setContactInfo('Cisco Systems Customer Service Postal: 170 W Tasman Drive San Jose, CA 95134 USA Tel: +1 800 553 -NETS E-mail: [email protected], [email protected]') if mibBuilder.loadTexts: cucsSysfileObjects.setDescription('MIB representation of the Cisco Unified Computing System SYSFILE management information model package') cucs_sysfile_digest_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 3)) if mibBuilder.loadTexts: cucsSysfileDigestTable.setStatus('current') if mibBuilder.loadTexts: cucsSysfileDigestTable.setDescription('Cisco UCS sysfile:Digest managed object table') cucs_sysfile_digest_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 3, 1)).setIndexNames((0, 'CISCO-UNIFIED-COMPUTING-SYSFILE-MIB', 'cucsSysfileDigestInstanceId')) if mibBuilder.loadTexts: cucsSysfileDigestEntry.setStatus('current') if mibBuilder.loadTexts: cucsSysfileDigestEntry.setDescription('Entry for the cucsSysfileDigestTable table.') cucs_sysfile_digest_instance_id = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 3, 1, 1), cucs_managed_object_id()) if mibBuilder.loadTexts: cucsSysfileDigestInstanceId.setStatus('current') if mibBuilder.loadTexts: cucsSysfileDigestInstanceId.setDescription('Instance identifier of the managed object.') cucs_sysfile_digest_dn = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 3, 1, 2), cucs_managed_object_dn()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsSysfileDigestDn.setStatus('current') if mibBuilder.loadTexts: cucsSysfileDigestDn.setDescription('Cisco UCS sysfile:Digest:dn managed object property') cucs_sysfile_digest_rn = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 3, 1, 3), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsSysfileDigestRn.setStatus('current') if mibBuilder.loadTexts: cucsSysfileDigestRn.setDescription('Cisco UCS sysfile:Digest:rn managed object property') cucs_sysfile_digest_creation_ts = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 3, 1, 4), unsigned64()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsSysfileDigestCreationTS.setStatus('current') if mibBuilder.loadTexts: cucsSysfileDigestCreationTS.setDescription('Cisco UCS sysfile:Digest:creationTS managed object property') cucs_sysfile_digest_descr = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 3, 1, 5), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsSysfileDigestDescr.setStatus('current') if mibBuilder.loadTexts: cucsSysfileDigestDescr.setDescription('Cisco UCS sysfile:Digest:descr managed object property') cucs_sysfile_digest_name = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 3, 1, 6), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsSysfileDigestName.setStatus('current') if mibBuilder.loadTexts: cucsSysfileDigestName.setDescription('Cisco UCS sysfile:Digest:name managed object property') cucs_sysfile_digest_size = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 3, 1, 7), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsSysfileDigestSize.setStatus('current') if mibBuilder.loadTexts: cucsSysfileDigestSize.setDescription('Cisco UCS sysfile:Digest:size managed object property') cucs_sysfile_digest_source = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 3, 1, 8), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsSysfileDigestSource.setStatus('current') if mibBuilder.loadTexts: cucsSysfileDigestSource.setDescription('Cisco UCS sysfile:Digest:source managed object property') cucs_sysfile_digest_switch_id = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 3, 1, 9), cucs_network_switch_id()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsSysfileDigestSwitchId.setStatus('current') if mibBuilder.loadTexts: cucsSysfileDigestSwitchId.setDescription('Cisco UCS sysfile:Digest:switchId managed object property') cucs_sysfile_digest_ts = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 3, 1, 10), date_and_time()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsSysfileDigestTs.setStatus('current') if mibBuilder.loadTexts: cucsSysfileDigestTs.setDescription('Cisco UCS sysfile:Digest:ts managed object property') cucs_sysfile_digest_uri = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 3, 1, 11), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsSysfileDigestUri.setStatus('current') if mibBuilder.loadTexts: cucsSysfileDigestUri.setDescription('Cisco UCS sysfile:Digest:uri managed object property') cucs_sysfile_mutation_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 1)) if mibBuilder.loadTexts: cucsSysfileMutationTable.setStatus('current') if mibBuilder.loadTexts: cucsSysfileMutationTable.setDescription('Cisco UCS sysfile:Mutation managed object table') cucs_sysfile_mutation_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 1, 1)).setIndexNames((0, 'CISCO-UNIFIED-COMPUTING-SYSFILE-MIB', 'cucsSysfileMutationInstanceId')) if mibBuilder.loadTexts: cucsSysfileMutationEntry.setStatus('current') if mibBuilder.loadTexts: cucsSysfileMutationEntry.setDescription('Entry for the cucsSysfileMutationTable table.') cucs_sysfile_mutation_instance_id = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 1, 1, 1), cucs_managed_object_id()) if mibBuilder.loadTexts: cucsSysfileMutationInstanceId.setStatus('current') if mibBuilder.loadTexts: cucsSysfileMutationInstanceId.setDescription('Instance identifier of the managed object.') cucs_sysfile_mutation_dn = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 1, 1, 2), cucs_managed_object_dn()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsSysfileMutationDn.setStatus('current') if mibBuilder.loadTexts: cucsSysfileMutationDn.setDescription('Cisco UCS sysfile:Mutation:dn managed object property') cucs_sysfile_mutation_rn = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 1, 1, 3), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsSysfileMutationRn.setStatus('current') if mibBuilder.loadTexts: cucsSysfileMutationRn.setDescription('Cisco UCS sysfile:Mutation:rn managed object property') cucs_sysfile_mutation_action = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 1, 1, 4), cucs_sysfile_mutation_action()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsSysfileMutationAction.setStatus('current') if mibBuilder.loadTexts: cucsSysfileMutationAction.setDescription('Cisco UCS sysfile:Mutation:action managed object property') cucs_sysfile_mutation_descr = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 1, 1, 5), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsSysfileMutationDescr.setStatus('current') if mibBuilder.loadTexts: cucsSysfileMutationDescr.setDescription('Cisco UCS sysfile:Mutation:descr managed object property') cucs_sysfile_mutation_fsm_descr = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 1, 1, 6), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsSysfileMutationFsmDescr.setStatus('current') if mibBuilder.loadTexts: cucsSysfileMutationFsmDescr.setDescription('Cisco UCS sysfile:Mutation:fsmDescr managed object property') cucs_sysfile_mutation_fsm_prev = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 1, 1, 7), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsSysfileMutationFsmPrev.setStatus('current') if mibBuilder.loadTexts: cucsSysfileMutationFsmPrev.setDescription('Cisco UCS sysfile:Mutation:fsmPrev managed object property') cucs_sysfile_mutation_fsm_progr = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 1, 1, 8), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsSysfileMutationFsmProgr.setStatus('current') if mibBuilder.loadTexts: cucsSysfileMutationFsmProgr.setDescription('Cisco UCS sysfile:Mutation:fsmProgr managed object property') cucs_sysfile_mutation_fsm_rmt_inv_err_code = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 1, 1, 9), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsSysfileMutationFsmRmtInvErrCode.setStatus('current') if mibBuilder.loadTexts: cucsSysfileMutationFsmRmtInvErrCode.setDescription('Cisco UCS sysfile:Mutation:fsmRmtInvErrCode managed object property') cucs_sysfile_mutation_fsm_rmt_inv_err_descr = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 1, 1, 10), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsSysfileMutationFsmRmtInvErrDescr.setStatus('current') if mibBuilder.loadTexts: cucsSysfileMutationFsmRmtInvErrDescr.setDescription('Cisco UCS sysfile:Mutation:fsmRmtInvErrDescr managed object property') cucs_sysfile_mutation_fsm_rmt_inv_rslt = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 1, 1, 11), cucs_condition_remote_inv_rslt()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsSysfileMutationFsmRmtInvRslt.setStatus('current') if mibBuilder.loadTexts: cucsSysfileMutationFsmRmtInvRslt.setDescription('Cisco UCS sysfile:Mutation:fsmRmtInvRslt managed object property') cucs_sysfile_mutation_fsm_stage_descr = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 1, 1, 12), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsSysfileMutationFsmStageDescr.setStatus('current') if mibBuilder.loadTexts: cucsSysfileMutationFsmStageDescr.setDescription('Cisco UCS sysfile:Mutation:fsmStageDescr managed object property') cucs_sysfile_mutation_fsm_stamp = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 1, 1, 13), date_and_time()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsSysfileMutationFsmStamp.setStatus('current') if mibBuilder.loadTexts: cucsSysfileMutationFsmStamp.setDescription('Cisco UCS sysfile:Mutation:fsmStamp managed object property') cucs_sysfile_mutation_fsm_status = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 1, 1, 14), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsSysfileMutationFsmStatus.setStatus('current') if mibBuilder.loadTexts: cucsSysfileMutationFsmStatus.setDescription('Cisco UCS sysfile:Mutation:fsmStatus managed object property') cucs_sysfile_mutation_fsm_try = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 1, 1, 15), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsSysfileMutationFsmTry.setStatus('current') if mibBuilder.loadTexts: cucsSysfileMutationFsmTry.setDescription('Cisco UCS sysfile:Mutation:fsmTry managed object property') cucs_sysfile_mutation_fsm_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 4)) if mibBuilder.loadTexts: cucsSysfileMutationFsmTable.setStatus('current') if mibBuilder.loadTexts: cucsSysfileMutationFsmTable.setDescription('Cisco UCS sysfile:MutationFsm managed object table') cucs_sysfile_mutation_fsm_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 4, 1)).setIndexNames((0, 'CISCO-UNIFIED-COMPUTING-SYSFILE-MIB', 'cucsSysfileMutationFsmInstanceId')) if mibBuilder.loadTexts: cucsSysfileMutationFsmEntry.setStatus('current') if mibBuilder.loadTexts: cucsSysfileMutationFsmEntry.setDescription('Entry for the cucsSysfileMutationFsmTable table.') cucs_sysfile_mutation_fsm_instance_id = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 4, 1, 1), cucs_managed_object_id()) if mibBuilder.loadTexts: cucsSysfileMutationFsmInstanceId.setStatus('current') if mibBuilder.loadTexts: cucsSysfileMutationFsmInstanceId.setDescription('Instance identifier of the managed object.') cucs_sysfile_mutation_fsm_dn = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 4, 1, 2), cucs_managed_object_dn()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsSysfileMutationFsmDn.setStatus('current') if mibBuilder.loadTexts: cucsSysfileMutationFsmDn.setDescription('Cisco UCS sysfile:MutationFsm:dn managed object property') cucs_sysfile_mutation_fsm_rn = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 4, 1, 3), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsSysfileMutationFsmRn.setStatus('current') if mibBuilder.loadTexts: cucsSysfileMutationFsmRn.setDescription('Cisco UCS sysfile:MutationFsm:rn managed object property') cucs_sysfile_mutation_fsm_completion_time = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 4, 1, 4), date_and_time()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsSysfileMutationFsmCompletionTime.setStatus('current') if mibBuilder.loadTexts: cucsSysfileMutationFsmCompletionTime.setDescription('Cisco UCS sysfile:MutationFsm:completionTime managed object property') cucs_sysfile_mutation_fsm_current_fsm = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 4, 1, 5), cucs_sysfile_mutation_fsm_current_fsm()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsSysfileMutationFsmCurrentFsm.setStatus('current') if mibBuilder.loadTexts: cucsSysfileMutationFsmCurrentFsm.setDescription('Cisco UCS sysfile:MutationFsm:currentFsm managed object property') cucs_sysfile_mutation_fsm_descr_data = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 4, 1, 6), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsSysfileMutationFsmDescrData.setStatus('current') if mibBuilder.loadTexts: cucsSysfileMutationFsmDescrData.setDescription('Cisco UCS sysfile:MutationFsm:descr managed object property') cucs_sysfile_mutation_fsm_fsm_status = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 4, 1, 7), cucs_fsm_fsm_stage_status()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsSysfileMutationFsmFsmStatus.setStatus('current') if mibBuilder.loadTexts: cucsSysfileMutationFsmFsmStatus.setDescription('Cisco UCS sysfile:MutationFsm:fsmStatus managed object property') cucs_sysfile_mutation_fsm_progress = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 4, 1, 8), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsSysfileMutationFsmProgress.setStatus('current') if mibBuilder.loadTexts: cucsSysfileMutationFsmProgress.setDescription('Cisco UCS sysfile:MutationFsm:progress managed object property') cucs_sysfile_mutation_fsm_rmt_err_code = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 4, 1, 9), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsSysfileMutationFsmRmtErrCode.setStatus('current') if mibBuilder.loadTexts: cucsSysfileMutationFsmRmtErrCode.setDescription('Cisco UCS sysfile:MutationFsm:rmtErrCode managed object property') cucs_sysfile_mutation_fsm_rmt_err_descr = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 4, 1, 10), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsSysfileMutationFsmRmtErrDescr.setStatus('current') if mibBuilder.loadTexts: cucsSysfileMutationFsmRmtErrDescr.setDescription('Cisco UCS sysfile:MutationFsm:rmtErrDescr managed object property') cucs_sysfile_mutation_fsm_rmt_rslt = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 4, 1, 11), cucs_condition_remote_inv_rslt()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsSysfileMutationFsmRmtRslt.setStatus('current') if mibBuilder.loadTexts: cucsSysfileMutationFsmRmtRslt.setDescription('Cisco UCS sysfile:MutationFsm:rmtRslt managed object property') cucs_sysfile_mutation_fsm_stage_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 5)) if mibBuilder.loadTexts: cucsSysfileMutationFsmStageTable.setStatus('current') if mibBuilder.loadTexts: cucsSysfileMutationFsmStageTable.setDescription('Cisco UCS sysfile:MutationFsmStage managed object table') cucs_sysfile_mutation_fsm_stage_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 5, 1)).setIndexNames((0, 'CISCO-UNIFIED-COMPUTING-SYSFILE-MIB', 'cucsSysfileMutationFsmStageInstanceId')) if mibBuilder.loadTexts: cucsSysfileMutationFsmStageEntry.setStatus('current') if mibBuilder.loadTexts: cucsSysfileMutationFsmStageEntry.setDescription('Entry for the cucsSysfileMutationFsmStageTable table.') cucs_sysfile_mutation_fsm_stage_instance_id = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 5, 1, 1), cucs_managed_object_id()) if mibBuilder.loadTexts: cucsSysfileMutationFsmStageInstanceId.setStatus('current') if mibBuilder.loadTexts: cucsSysfileMutationFsmStageInstanceId.setDescription('Instance identifier of the managed object.') cucs_sysfile_mutation_fsm_stage_dn = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 5, 1, 2), cucs_managed_object_dn()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsSysfileMutationFsmStageDn.setStatus('current') if mibBuilder.loadTexts: cucsSysfileMutationFsmStageDn.setDescription('Cisco UCS sysfile:MutationFsmStage:dn managed object property') cucs_sysfile_mutation_fsm_stage_rn = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 5, 1, 3), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsSysfileMutationFsmStageRn.setStatus('current') if mibBuilder.loadTexts: cucsSysfileMutationFsmStageRn.setDescription('Cisco UCS sysfile:MutationFsmStage:rn managed object property') cucs_sysfile_mutation_fsm_stage_descr_data = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 5, 1, 4), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsSysfileMutationFsmStageDescrData.setStatus('current') if mibBuilder.loadTexts: cucsSysfileMutationFsmStageDescrData.setDescription('Cisco UCS sysfile:MutationFsmStage:descr managed object property') cucs_sysfile_mutation_fsm_stage_last_update_time = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 5, 1, 5), date_and_time()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsSysfileMutationFsmStageLastUpdateTime.setStatus('current') if mibBuilder.loadTexts: cucsSysfileMutationFsmStageLastUpdateTime.setDescription('Cisco UCS sysfile:MutationFsmStage:lastUpdateTime managed object property') cucs_sysfile_mutation_fsm_stage_name = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 5, 1, 6), cucs_sysfile_mutation_fsm_stage_name()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsSysfileMutationFsmStageName.setStatus('current') if mibBuilder.loadTexts: cucsSysfileMutationFsmStageName.setDescription('Cisco UCS sysfile:MutationFsmStage:name managed object property') cucs_sysfile_mutation_fsm_stage_order = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 5, 1, 7), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsSysfileMutationFsmStageOrder.setStatus('current') if mibBuilder.loadTexts: cucsSysfileMutationFsmStageOrder.setDescription('Cisco UCS sysfile:MutationFsmStage:order managed object property') cucs_sysfile_mutation_fsm_stage_retry = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 5, 1, 8), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsSysfileMutationFsmStageRetry.setStatus('current') if mibBuilder.loadTexts: cucsSysfileMutationFsmStageRetry.setDescription('Cisco UCS sysfile:MutationFsmStage:retry managed object property') cucs_sysfile_mutation_fsm_stage_stage_status = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 5, 1, 9), cucs_fsm_fsm_stage_status()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsSysfileMutationFsmStageStageStatus.setStatus('current') if mibBuilder.loadTexts: cucsSysfileMutationFsmStageStageStatus.setDescription('Cisco UCS sysfile:MutationFsmStage:stageStatus managed object property') cucs_sysfile_mutation_fsm_task_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 2)) if mibBuilder.loadTexts: cucsSysfileMutationFsmTaskTable.setStatus('current') if mibBuilder.loadTexts: cucsSysfileMutationFsmTaskTable.setDescription('Cisco UCS sysfile:MutationFsmTask managed object table') cucs_sysfile_mutation_fsm_task_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 2, 1)).setIndexNames((0, 'CISCO-UNIFIED-COMPUTING-SYSFILE-MIB', 'cucsSysfileMutationFsmTaskInstanceId')) if mibBuilder.loadTexts: cucsSysfileMutationFsmTaskEntry.setStatus('current') if mibBuilder.loadTexts: cucsSysfileMutationFsmTaskEntry.setDescription('Entry for the cucsSysfileMutationFsmTaskTable table.') cucs_sysfile_mutation_fsm_task_instance_id = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 2, 1, 1), cucs_managed_object_id()) if mibBuilder.loadTexts: cucsSysfileMutationFsmTaskInstanceId.setStatus('current') if mibBuilder.loadTexts: cucsSysfileMutationFsmTaskInstanceId.setDescription('Instance identifier of the managed object.') cucs_sysfile_mutation_fsm_task_dn = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 2, 1, 2), cucs_managed_object_dn()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsSysfileMutationFsmTaskDn.setStatus('current') if mibBuilder.loadTexts: cucsSysfileMutationFsmTaskDn.setDescription('Cisco UCS sysfile:MutationFsmTask:dn managed object property') cucs_sysfile_mutation_fsm_task_rn = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 2, 1, 3), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsSysfileMutationFsmTaskRn.setStatus('current') if mibBuilder.loadTexts: cucsSysfileMutationFsmTaskRn.setDescription('Cisco UCS sysfile:MutationFsmTask:rn managed object property') cucs_sysfile_mutation_fsm_task_completion = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 2, 1, 4), cucs_fsm_completion()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsSysfileMutationFsmTaskCompletion.setStatus('current') if mibBuilder.loadTexts: cucsSysfileMutationFsmTaskCompletion.setDescription('Cisco UCS sysfile:MutationFsmTask:completion managed object property') cucs_sysfile_mutation_fsm_task_flags = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 2, 1, 5), cucs_fsm_flags()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsSysfileMutationFsmTaskFlags.setStatus('current') if mibBuilder.loadTexts: cucsSysfileMutationFsmTaskFlags.setDescription('Cisco UCS sysfile:MutationFsmTask:flags managed object property') cucs_sysfile_mutation_fsm_task_item = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 2, 1, 6), cucs_sysfile_mutation_fsm_task_item()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsSysfileMutationFsmTaskItem.setStatus('current') if mibBuilder.loadTexts: cucsSysfileMutationFsmTaskItem.setDescription('Cisco UCS sysfile:MutationFsmTask:item managed object property') cucs_sysfile_mutation_fsm_task_seq_id = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 48, 2, 1, 7), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsSysfileMutationFsmTaskSeqId.setStatus('current') if mibBuilder.loadTexts: cucsSysfileMutationFsmTaskSeqId.setDescription('Cisco UCS sysfile:MutationFsmTask:seqId managed object property') mibBuilder.exportSymbols('CISCO-UNIFIED-COMPUTING-SYSFILE-MIB', cucsSysfileMutationFsmCurrentFsm=cucsSysfileMutationFsmCurrentFsm, cucsSysfileDigestName=cucsSysfileDigestName, cucsSysfileMutationFsmStageTable=cucsSysfileMutationFsmStageTable, cucsSysfileDigestUri=cucsSysfileDigestUri, cucsSysfileMutationFsmTaskInstanceId=cucsSysfileMutationFsmTaskInstanceId, cucsSysfileMutationFsmDn=cucsSysfileMutationFsmDn, cucsSysfileMutationFsmTaskItem=cucsSysfileMutationFsmTaskItem, cucsSysfileMutationFsmTaskCompletion=cucsSysfileMutationFsmTaskCompletion, cucsSysfileMutationFsmRmtErrDescr=cucsSysfileMutationFsmRmtErrDescr, cucsSysfileMutationFsmStageInstanceId=cucsSysfileMutationFsmStageInstanceId, cucsSysfileMutationFsmRmtInvRslt=cucsSysfileMutationFsmRmtInvRslt, cucsSysfileMutationFsmDescr=cucsSysfileMutationFsmDescr, cucsSysfileMutationFsmDescrData=cucsSysfileMutationFsmDescrData, cucsSysfileMutationFsmEntry=cucsSysfileMutationFsmEntry, cucsSysfileDigestSwitchId=cucsSysfileDigestSwitchId, cucsSysfileMutationFsmRn=cucsSysfileMutationFsmRn, cucsSysfileMutationEntry=cucsSysfileMutationEntry, cucsSysfileDigestSource=cucsSysfileDigestSource, cucsSysfileMutationFsmStatus=cucsSysfileMutationFsmStatus, cucsSysfileObjects=cucsSysfileObjects, cucsSysfileMutationFsmTaskFlags=cucsSysfileMutationFsmTaskFlags, cucsSysfileDigestTable=cucsSysfileDigestTable, cucsSysfileMutationFsmStageRetry=cucsSysfileMutationFsmStageRetry, cucsSysfileMutationFsmTaskTable=cucsSysfileMutationFsmTaskTable, cucsSysfileMutationFsmTable=cucsSysfileMutationFsmTable, cucsSysfileDigestCreationTS=cucsSysfileDigestCreationTS, cucsSysfileMutationFsmRmtRslt=cucsSysfileMutationFsmRmtRslt, cucsSysfileMutationFsmStageDescrData=cucsSysfileMutationFsmStageDescrData, cucsSysfileMutationFsmProgr=cucsSysfileMutationFsmProgr, cucsSysfileMutationFsmTaskEntry=cucsSysfileMutationFsmTaskEntry, cucsSysfileMutationFsmInstanceId=cucsSysfileMutationFsmInstanceId, cucsSysfileMutationFsmStageDn=cucsSysfileMutationFsmStageDn, cucsSysfileDigestDescr=cucsSysfileDigestDescr, cucsSysfileMutationFsmCompletionTime=cucsSysfileMutationFsmCompletionTime, cucsSysfileDigestEntry=cucsSysfileDigestEntry, cucsSysfileMutationFsmRmtInvErrDescr=cucsSysfileMutationFsmRmtInvErrDescr, cucsSysfileDigestInstanceId=cucsSysfileDigestInstanceId, PYSNMP_MODULE_ID=cucsSysfileObjects, cucsSysfileDigestSize=cucsSysfileDigestSize, cucsSysfileMutationFsmFsmStatus=cucsSysfileMutationFsmFsmStatus, cucsSysfileMutationAction=cucsSysfileMutationAction, cucsSysfileMutationFsmRmtInvErrCode=cucsSysfileMutationFsmRmtInvErrCode, cucsSysfileMutationInstanceId=cucsSysfileMutationInstanceId, cucsSysfileDigestDn=cucsSysfileDigestDn, cucsSysfileMutationTable=cucsSysfileMutationTable, cucsSysfileMutationFsmStamp=cucsSysfileMutationFsmStamp, cucsSysfileMutationFsmProgress=cucsSysfileMutationFsmProgress, cucsSysfileMutationFsmStageLastUpdateTime=cucsSysfileMutationFsmStageLastUpdateTime, cucsSysfileMutationFsmStageEntry=cucsSysfileMutationFsmStageEntry, cucsSysfileMutationFsmStageName=cucsSysfileMutationFsmStageName, cucsSysfileMutationFsmStageStageStatus=cucsSysfileMutationFsmStageStageStatus, cucsSysfileMutationFsmTaskRn=cucsSysfileMutationFsmTaskRn, cucsSysfileMutationRn=cucsSysfileMutationRn, cucsSysfileMutationFsmTry=cucsSysfileMutationFsmTry, cucsSysfileMutationFsmTaskSeqId=cucsSysfileMutationFsmTaskSeqId, cucsSysfileMutationFsmStageRn=cucsSysfileMutationFsmStageRn, cucsSysfileMutationDescr=cucsSysfileMutationDescr, cucsSysfileMutationFsmPrev=cucsSysfileMutationFsmPrev, cucsSysfileMutationFsmStageOrder=cucsSysfileMutationFsmStageOrder, cucsSysfileMutationFsmTaskDn=cucsSysfileMutationFsmTaskDn, cucsSysfileMutationFsmStageDescr=cucsSysfileMutationFsmStageDescr, cucsSysfileDigestTs=cucsSysfileDigestTs, cucsSysfileMutationFsmRmtErrCode=cucsSysfileMutationFsmRmtErrCode, cucsSysfileMutationDn=cucsSysfileMutationDn, cucsSysfileDigestRn=cucsSysfileDigestRn)
def duel1(a, b, c): k = 0 for _ in range(c): a = a * 16807 % 2147483647 b = b * 48271 % 2147483647 k += a & 0xffff == b & 0xffff return k def duel2(a, b, c): k = 0 for _ in range(c): a = a * 16807 % 2147483647 while a & 0x3: a = a * 16807 % 2147483647 b = b * 48271 % 2147483647 while b & 0x7: b = b * 48271 % 2147483647 k += a & 0xffff == b & 0xffff return k print(duel1(783, 325, 40_000_000)) print(duel2(783, 325, 5_000_000))
def duel1(a, b, c): k = 0 for _ in range(c): a = a * 16807 % 2147483647 b = b * 48271 % 2147483647 k += a & 65535 == b & 65535 return k def duel2(a, b, c): k = 0 for _ in range(c): a = a * 16807 % 2147483647 while a & 3: a = a * 16807 % 2147483647 b = b * 48271 % 2147483647 while b & 7: b = b * 48271 % 2147483647 k += a & 65535 == b & 65535 return k print(duel1(783, 325, 40000000)) print(duel2(783, 325, 5000000))
class Solution: def __init__(self): self.res = "" self.maxLen = 0 def naive(self,s): self.length = len(s) def loop(start,end): l,r = start,end while l>=0 and r<=self.length-1 and s[l]==s[r]: if r-l+1>self.maxLen: self.res = s[l:r+1] self.maxLen = r-l+1 l-=1 r+=1 for i in range(self.length): loop(i,i) loop(i,i+1) return self.res
class Solution: def __init__(self): self.res = '' self.maxLen = 0 def naive(self, s): self.length = len(s) def loop(start, end): (l, r) = (start, end) while l >= 0 and r <= self.length - 1 and (s[l] == s[r]): if r - l + 1 > self.maxLen: self.res = s[l:r + 1] self.maxLen = r - l + 1 l -= 1 r += 1 for i in range(self.length): loop(i, i) loop(i, i + 1) return self.res
# Copyright (c) Facebook, Inc. and its affiliates. (http://www.facebook.com) def f(): (some_global): int print(some_global) # EXPECTED: [ ..., LOAD_CONST(Code((1, 0))), LOAD_CONST('f'), MAKE_FUNCTION(0), STORE_NAME('f'), LOAD_CONST(None), RETURN_VALUE(0), CODE_START('f'), ~LOAD_CONST('int'), ]
def f(): (some_global): int print(some_global) [..., load_const(code((1, 0))), load_const('f'), make_function(0), store_name('f'), load_const(None), return_value(0), code_start('f'), ~load_const('int')]
#This program computes compound interest #Prompt the user to input the inital investment C = int(input('Enter the initial amount of an investment(C): ')) #Prompt the user to input the yearly rate of interest r = float(input('Enter the yearly rate of interest(r): ')) #Prompt the user to input the number of years until maturation t = int(input('Enter the number of years until maturation(t): ')) #Prompt the user to input the number of times the interest is compounded per year n = int(input('Enter the number of times the interest is compounded per year(n): ')) #This is the formula to compute the compound interest. It is printed to the nearest penny p = str(round(C * (((1 + (r/n)) ** (t*n))), 2)) #This outputs the compound interest to the nearest penny print('The final value of the investment to the nearest penny is: ', p)
c = int(input('Enter the initial amount of an investment(C): ')) r = float(input('Enter the yearly rate of interest(r): ')) t = int(input('Enter the number of years until maturation(t): ')) n = int(input('Enter the number of times the interest is compounded per year(n): ')) p = str(round(C * (1 + r / n) ** (t * n), 2)) print('The final value of the investment to the nearest penny is: ', p)
{ "targets": [ { "target_name": "index", "sources": [ "epoc.cc"], "include_dirs" : [ "<!(node -e \"require('nan')\")" ], "conditions": [ ['OS=="mac"', { "cflags": [ "-m64" ], "ldflags": [ "-m64" ], "xcode_settings": { "OTHER_CFLAGS": ["-ObjC++"], "ARCHS": [ "x86_64" ] }, "link_settings": { "libraries": [ "/Library/Frameworks/edk.framework/edk" ], "include_dirs": ["./lib/includes/", "./lib/"] } }] ] } ] }
{'targets': [{'target_name': 'index', 'sources': ['epoc.cc'], 'include_dirs': ['<!(node -e "require(\'nan\')")'], 'conditions': [['OS=="mac"', {'cflags': ['-m64'], 'ldflags': ['-m64'], 'xcode_settings': {'OTHER_CFLAGS': ['-ObjC++'], 'ARCHS': ['x86_64']}, 'link_settings': {'libraries': ['/Library/Frameworks/edk.framework/edk'], 'include_dirs': ['./lib/includes/', './lib/']}}]]}]}
def uniqueOccurrences(self, arr: List[int]) -> bool: m = {} for i in arr: if i in m: m[i] += 1 else: m[i] = 1 return len(m.values()) == len(set(m.values()))
def unique_occurrences(self, arr: List[int]) -> bool: m = {} for i in arr: if i in m: m[i] += 1 else: m[i] = 1 return len(m.values()) == len(set(m.values()))
# leetcode class Solution: def hammingDistance(self, x: int, y: int) -> int: ans = 0 xor = bin(x^y)[2:] for l in xor: if l == '1': ans += 1 return ans
class Solution: def hamming_distance(self, x: int, y: int) -> int: ans = 0 xor = bin(x ^ y)[2:] for l in xor: if l == '1': ans += 1 return ans
''' Write a function sumprimes(l) that takes as input a list of integers l and retuns the sum of all the prime numbers in l. Here are some examples to show how your function should work. >>> sumprimes([3,3,1,13]) 19 ''' def sumprimes(l): prime_sum = int() for num in l: if is_prime(num): prime_sum = prime_sum + num return prime_sum def is_prime(n): factor_list = [] for num in range(2, n+1): if n % num == 0: factor_list = factor_list + [num] return len(factor_list) == 1
""" Write a function sumprimes(l) that takes as input a list of integers l and retuns the sum of all the prime numbers in l. Here are some examples to show how your function should work. >>> sumprimes([3,3,1,13]) 19 """ def sumprimes(l): prime_sum = int() for num in l: if is_prime(num): prime_sum = prime_sum + num return prime_sum def is_prime(n): factor_list = [] for num in range(2, n + 1): if n % num == 0: factor_list = factor_list + [num] return len(factor_list) == 1
''' date : 31/03/2020 description : this module keeps information on print objects used by editor author : Celray James CHAWANDA contact : [email protected] licence : MIT 2020 ''' print_obj_lookup = { "basin_wb" : "1", "basin_nb" : "2", "basin_ls" : "3", "basin_pw" : "4", "basin_aqu" : "5", "basin_res" : "6", "basin_cha" : "7", "basin_sd_cha" : "8", "basin_psc" : "9", "region_wb" : "10", "region_nb" : "11", "region_ls" : "12", "region_pw" : "13", "region_aqu" : "14", "region_res" : "15", "region_cha" : "16", "region_sd_cha" : "17", "region_psc" : "18", "lsunit_wb" : "19", "lsunit_nb" : "20", "lsunit_ls" : "21", "lsunit_pw" : "22", "hru_wb" : "23", "hru_nb" : "24", "hru_ls" : "25", "hru_pw" : "26", "hru-lte_wb" : "27", "hru-lte_nb" : "28", "hru-lte_ls" : "29", "hru-lte_pw" : "30", "channel" : "31", "channel_sd" : "32", "aquifer" : "33", "reservoir" : "34", "recall" : "35", "hyd" : "36", "ru" : "37", "pest" : "38", }
""" date : 31/03/2020 description : this module keeps information on print objects used by editor author : Celray James CHAWANDA contact : [email protected] licence : MIT 2020 """ print_obj_lookup = {'basin_wb': '1', 'basin_nb': '2', 'basin_ls': '3', 'basin_pw': '4', 'basin_aqu': '5', 'basin_res': '6', 'basin_cha': '7', 'basin_sd_cha': '8', 'basin_psc': '9', 'region_wb': '10', 'region_nb': '11', 'region_ls': '12', 'region_pw': '13', 'region_aqu': '14', 'region_res': '15', 'region_cha': '16', 'region_sd_cha': '17', 'region_psc': '18', 'lsunit_wb': '19', 'lsunit_nb': '20', 'lsunit_ls': '21', 'lsunit_pw': '22', 'hru_wb': '23', 'hru_nb': '24', 'hru_ls': '25', 'hru_pw': '26', 'hru-lte_wb': '27', 'hru-lte_nb': '28', 'hru-lte_ls': '29', 'hru-lte_pw': '30', 'channel': '31', 'channel_sd': '32', 'aquifer': '33', 'reservoir': '34', 'recall': '35', 'hyd': '36', 'ru': '37', 'pest': '38'}
load("//scala:scala_cross_version.bzl", "scala_mvn_artifact", ) def specs2_version(): return "3.8.8" def specs2_repositories(): native.maven_jar( name = "io_bazel_rules_scala_org_specs2_specs2_core", artifact = scala_mvn_artifact("org.specs2:specs2-core:" + specs2_version()), sha1 = "495bed00c73483f4f5f43945fde63c615d03e637", ) native.maven_jar( name = "io_bazel_rules_scala_org_specs2_specs2_common", artifact = scala_mvn_artifact("org.specs2:specs2-common:" + specs2_version()), sha1 = "15bc009eaae3a574796c0f558d8696b57ae903c3", ) native.maven_jar( name = "io_bazel_rules_scala_org_specs2_specs2_matcher", artifact = scala_mvn_artifact("org.specs2:specs2-matcher:" + specs2_version()), sha1 = "d2e967737abef7421e47b8994a8c92784e624d62", ) native.maven_jar( name = "io_bazel_rules_scala_org_scalaz_scalaz_effect", artifact = scala_mvn_artifact("org.scalaz:scalaz-effect:7.2.7"), sha1 = "824bbb83da12224b3537c354c51eb3da72c435b5", ) native.maven_jar( name = "io_bazel_rules_scala_org_scalaz_scalaz_core", artifact = scala_mvn_artifact("org.scalaz:scalaz-core:7.2.7"), sha1 = "ebf85118d0bf4ce18acebf1d8475ee7deb7f19f1", ) native.bind(name = 'io_bazel_rules_scala/dependency/specs2/specs2', actual = "@io_bazel_rules_scala//specs2:specs2") def specs2_dependencies(): return ["//external:io_bazel_rules_scala/dependency/specs2/specs2"]
load('//scala:scala_cross_version.bzl', 'scala_mvn_artifact') def specs2_version(): return '3.8.8' def specs2_repositories(): native.maven_jar(name='io_bazel_rules_scala_org_specs2_specs2_core', artifact=scala_mvn_artifact('org.specs2:specs2-core:' + specs2_version()), sha1='495bed00c73483f4f5f43945fde63c615d03e637') native.maven_jar(name='io_bazel_rules_scala_org_specs2_specs2_common', artifact=scala_mvn_artifact('org.specs2:specs2-common:' + specs2_version()), sha1='15bc009eaae3a574796c0f558d8696b57ae903c3') native.maven_jar(name='io_bazel_rules_scala_org_specs2_specs2_matcher', artifact=scala_mvn_artifact('org.specs2:specs2-matcher:' + specs2_version()), sha1='d2e967737abef7421e47b8994a8c92784e624d62') native.maven_jar(name='io_bazel_rules_scala_org_scalaz_scalaz_effect', artifact=scala_mvn_artifact('org.scalaz:scalaz-effect:7.2.7'), sha1='824bbb83da12224b3537c354c51eb3da72c435b5') native.maven_jar(name='io_bazel_rules_scala_org_scalaz_scalaz_core', artifact=scala_mvn_artifact('org.scalaz:scalaz-core:7.2.7'), sha1='ebf85118d0bf4ce18acebf1d8475ee7deb7f19f1') native.bind(name='io_bazel_rules_scala/dependency/specs2/specs2', actual='@io_bazel_rules_scala//specs2:specs2') def specs2_dependencies(): return ['//external:io_bazel_rules_scala/dependency/specs2/specs2']
class Solution: def XXX(self, nums: List[int]) -> List[List[int]]: l = len(nums) if l <= 1: return [nums] total = 1 for i in range(2, l + 1): total *= i res = [[] for _ in range(total)] div = total for i in range(l): ni = nums[i] for j in range(total): res[j].insert(j // div % (i + 1), ni) div = div // (i + 2) return res
class Solution: def xxx(self, nums: List[int]) -> List[List[int]]: l = len(nums) if l <= 1: return [nums] total = 1 for i in range(2, l + 1): total *= i res = [[] for _ in range(total)] div = total for i in range(l): ni = nums[i] for j in range(total): res[j].insert(j // div % (i + 1), ni) div = div // (i + 2) return res
#Program for merge sort in linked list class Node: def __init__(self, data): self.data = data self.next = None class LinkedList: def __init__(self): self.head = None def append(self, new_value): new_node = Node(new_value) if self.head is None: self.head = new_node return curr_node = self.head while curr_node.next is not None: curr_node = curr_node.next curr_node.next = new_node def sortedMerge(self, a, b): result = None # Base cases if a == None: return b if b == None: return a if a.data <= b.data: result = a result.next = self.sortedMerge(a.next, b) else: result = b result.next = self.sortedMerge(a, b.next) return result #function for merge sort def mergeSort(self, h): if h == None or h.next == None: return h # get the middle of the list middle = self.getMiddle(h) nexttomiddle = middle.next # set the next of middle node to None middle.next = None # Apply mergeSort on left list left = self.mergeSort(h) # Apply mergeSort on right list right = self.mergeSort(nexttomiddle) # Merge the left and right lists sortedlist = self.sortedMerge(left, right) return sortedlist #get middle element from the linked list def getMiddle(self, head): if (head == None): return head slow = head fast = head while (fast.next != None and fast.next.next != None): slow = slow.next fast = fast.next.next return slow def printList(head): if head is None: print(' ') return curr_node = head while curr_node: print(curr_node.data, end = " ") curr_node = curr_node.next print(' ') # Main Code if __name__ == '__main__': li = LinkedList() li.append(67) li.append(98) li.append(45) li.append(12) li.append(43) li.append(17) # Apply merge Sort li.head = li.mergeSort(li.head) print ("Sorted Linked List is:") printList(li.head)
class Node: def __init__(self, data): self.data = data self.next = None class Linkedlist: def __init__(self): self.head = None def append(self, new_value): new_node = node(new_value) if self.head is None: self.head = new_node return curr_node = self.head while curr_node.next is not None: curr_node = curr_node.next curr_node.next = new_node def sorted_merge(self, a, b): result = None if a == None: return b if b == None: return a if a.data <= b.data: result = a result.next = self.sortedMerge(a.next, b) else: result = b result.next = self.sortedMerge(a, b.next) return result def merge_sort(self, h): if h == None or h.next == None: return h middle = self.getMiddle(h) nexttomiddle = middle.next middle.next = None left = self.mergeSort(h) right = self.mergeSort(nexttomiddle) sortedlist = self.sortedMerge(left, right) return sortedlist def get_middle(self, head): if head == None: return head slow = head fast = head while fast.next != None and fast.next.next != None: slow = slow.next fast = fast.next.next return slow def print_list(head): if head is None: print(' ') return curr_node = head while curr_node: print(curr_node.data, end=' ') curr_node = curr_node.next print(' ') if __name__ == '__main__': li = linked_list() li.append(67) li.append(98) li.append(45) li.append(12) li.append(43) li.append(17) li.head = li.mergeSort(li.head) print('Sorted Linked List is:') print_list(li.head)
''' CoG application-level constants. ''' SECTION_DEFAULT = 'DEFAULT' SECTION_ESGF = 'ESGF' SECTION_EMAIL = 'EMAIL' SECTION_GLOBUS = 'GLOBUS' SECTION_PID = 'PID' # note: use lower case VALID_MIME_TYPES = { '.bmp': ['image/bmp', 'image/x-windows-bmp'], '.csv': ['text/plain'], '.doc': ['application/msword'], '.docx': ['application/msword','application/zip'], '.gif': ['image/gif'], '.jpg': ['image/jpeg','image/pjpeg'], '.jpeg': ['image/jpeg', 'image/pjpeg' ], '.pdf': ['application/pdf'], '.png': ['image/png'], '.ppt': ['application/mspowerpoint', 'application/powerpoint', 'application/vnd.ms-powerpoint', 'application/x-mspowerpoint', 'application/vnd.ms-office'], '.pptx': ['application/mspowerpoint', 'application/powerpoint', 'application/vnd.ms-powerpoint', 'application/x-mspowerpoint','application/zip'], '.tif': ['image/tiff', 'image/x-tiff'], '.tiff': ['image/tiff', 'image/x-tiff'], '.txt': ['text/plain'], '.xls': ['application/excel', 'application/vnd.ms-excel', 'application/x-msexcel'], '.xlsx': ['application/excel', 'application/vnd.ms-excel', 'application/x-msexcel','application/zip'], } # fix the configuration file names to avoid path manipulation warnings IDP_WHITELIST_FILENAME = "esgf_idp.xml" IDP_WHITELIST_STATIC_FILENAME = "esgf_idp_static.xml" KNOWN_PROVIDERS_FILENAME = "esgf_known_providers.xml" PEER_NODES_FILENAME = "esgf_cogs.xml"
""" CoG application-level constants. """ section_default = 'DEFAULT' section_esgf = 'ESGF' section_email = 'EMAIL' section_globus = 'GLOBUS' section_pid = 'PID' valid_mime_types = {'.bmp': ['image/bmp', 'image/x-windows-bmp'], '.csv': ['text/plain'], '.doc': ['application/msword'], '.docx': ['application/msword', 'application/zip'], '.gif': ['image/gif'], '.jpg': ['image/jpeg', 'image/pjpeg'], '.jpeg': ['image/jpeg', 'image/pjpeg'], '.pdf': ['application/pdf'], '.png': ['image/png'], '.ppt': ['application/mspowerpoint', 'application/powerpoint', 'application/vnd.ms-powerpoint', 'application/x-mspowerpoint', 'application/vnd.ms-office'], '.pptx': ['application/mspowerpoint', 'application/powerpoint', 'application/vnd.ms-powerpoint', 'application/x-mspowerpoint', 'application/zip'], '.tif': ['image/tiff', 'image/x-tiff'], '.tiff': ['image/tiff', 'image/x-tiff'], '.txt': ['text/plain'], '.xls': ['application/excel', 'application/vnd.ms-excel', 'application/x-msexcel'], '.xlsx': ['application/excel', 'application/vnd.ms-excel', 'application/x-msexcel', 'application/zip']} idp_whitelist_filename = 'esgf_idp.xml' idp_whitelist_static_filename = 'esgf_idp_static.xml' known_providers_filename = 'esgf_known_providers.xml' peer_nodes_filename = 'esgf_cogs.xml'
#!/usr/bin/env python # coding: utf-8 # --- # # Python Basics - Assingment 3 ToDo # # --- # **Exercise 1** # # **Task 1** Define a function called **repeat_stuff** that takes in two inputs, **stuff**, and **num_repeats**. # # We will want to make this function print a string with stuff repeated num_repeats amount of times. For now, only put an empty print statement inside the function. # # In[6]: def repeat_stuff(stuff, num_repeats): for i in range(num_repeats): print(stuff) repeat_stuff (input("Input an word: "), int(input("Repeat how many times? "))) # --- # **Task 2** Outside of the function, call repeat_stuff. # # You can use the value "Row " for stuff and 3 for num_repeats. # Change the print statement inside repeat_stuff to a **return** statement instead. It should **return stuff*num_repeats** # Note: Multiplying a string just makes a new string with the old one repeated! For example: "na*6 -> result is nanananana # Then, give the parameter **num_repeats** a default value of **10**. # In[7]: def repeat_stuff(stuff, num_repeats): return stuff*num_repeats repeat_stuff (input("Input an word: "), int(input("Repeat how many times? "))) # --- # **Task 3** Add **repeat_stuff("Row ", 3)** and the string **"Your Boat. " ** together and save the result to a variable called **lyrics**. # # Create a variable called **song **and assign it the value of **repeat_stuff** called with the singular input **lyrics**. # # Print song. # # Good job!! # In[14]: def repeat_stuff(stuff, num_repeats): return stuff*num_repeats lyrics = repeat_stuff("Row ", 3) + "Your Boat! \n" song = repeat_stuff(lyrics, 3) print(song) # --- # **Exercise 2** # # The program reads the height in centimeters and then converts the height to feet and inches. # # Problem Solution # # 1. Take the height in centimeters and store it in a variable. # 2. Convert the height in centimeters into inches and feet. # 3. Print the length in inches and feet. # 4. Exit. # # Hint! # inches=0.394*cm # feet=0.0328*cm # In[1]: def cm_feet(figure): return round(figure/30.48, 2) height = float(input("Enter your height in cm: " )) res = cm_feet(height) print("You are ", res, "feet tall.") # --- # **Exercise 3** # # This is a Python Program to check whether a number is positive or negative. # # Problem Solution # # 1. Take the value of the integer and store in a variable. # 2. Use an if statement to determine whether the number is positive or negative. # 3. Exit. # In[1]: def evaluate(num): if num < 0: print(num, "is negative.") elif num > 0: print(num, "is positive.") elif num == 0: print(num, "is zero.") num = int(input("Enter an integer: ")) evaluate(num)
def repeat_stuff(stuff, num_repeats): for i in range(num_repeats): print(stuff) repeat_stuff(input('Input an word: '), int(input('Repeat how many times? '))) def repeat_stuff(stuff, num_repeats): return stuff * num_repeats repeat_stuff(input('Input an word: '), int(input('Repeat how many times? '))) def repeat_stuff(stuff, num_repeats): return stuff * num_repeats lyrics = repeat_stuff('Row ', 3) + 'Your Boat! \n' song = repeat_stuff(lyrics, 3) print(song) def cm_feet(figure): return round(figure / 30.48, 2) height = float(input('Enter your height in cm: ')) res = cm_feet(height) print('You are ', res, 'feet tall.') def evaluate(num): if num < 0: print(num, 'is negative.') elif num > 0: print(num, 'is positive.') elif num == 0: print(num, 'is zero.') num = int(input('Enter an integer: ')) evaluate(num)
sessions = [{ "1": { "type": "session", "source": {"id": "scope"}, "id": "1", 'profile': {"id": "1"} } }] profiles = [ {"1": {'id': "1", "traits": {}}}, {"2": {'id': "2", "traits": {}}}, ] class MockStorageCrud: def __init__(self, index, domain_class_ref, entity): self.index = index self.domain_class_ref = domain_class_ref self.entity = entity if index == 'session': self.data = sessions elif index == 'profile': self.data = profiles async def load(self): for item in self.data: if self.entity.id in item: return self.domain_class_ref(**item[self.entity.id]) return None async def save(self): self.data.append({self.entity.id: self.entity.dict(exclude_unset=True)}) async def delete(self): del(self.data[self.entity.id]) class EntityStorageCrud: def __init__(self, index, entity): self.index = index self.entity = entity if index == 'session': self.data = sessions elif index == 'profile': self.data = profiles async def load(self, domain_class_ref): for item in self.data: if self.entity.id in item: return domain_class_ref(**item[self.entity.id]) return None async def save(self): self.data.append({self.entity.id: self.entity.dict(exclude_unset=True)}) async def delete(self): del(self.data[self.entity.id])
sessions = [{'1': {'type': 'session', 'source': {'id': 'scope'}, 'id': '1', 'profile': {'id': '1'}}}] profiles = [{'1': {'id': '1', 'traits': {}}}, {'2': {'id': '2', 'traits': {}}}] class Mockstoragecrud: def __init__(self, index, domain_class_ref, entity): self.index = index self.domain_class_ref = domain_class_ref self.entity = entity if index == 'session': self.data = sessions elif index == 'profile': self.data = profiles async def load(self): for item in self.data: if self.entity.id in item: return self.domain_class_ref(**item[self.entity.id]) return None async def save(self): self.data.append({self.entity.id: self.entity.dict(exclude_unset=True)}) async def delete(self): del self.data[self.entity.id] class Entitystoragecrud: def __init__(self, index, entity): self.index = index self.entity = entity if index == 'session': self.data = sessions elif index == 'profile': self.data = profiles async def load(self, domain_class_ref): for item in self.data: if self.entity.id in item: return domain_class_ref(**item[self.entity.id]) return None async def save(self): self.data.append({self.entity.id: self.entity.dict(exclude_unset=True)}) async def delete(self): del self.data[self.entity.id]
# Configuration file for opasDataLoader default_build_pattern = "(bEXP_ARCH1|bSeriesTOC)" default_process_pattern = "(bKBD3|bSeriesTOC)" # Global variables (for data and instances) options = None # Source codes (books/journals) which should store paragraphs SRC_CODES_TO_INCLUDE_PARAS = ["GW", "SE"] # for these codes, do not create update notifications DATA_UPDATE_PREPUBLICATION_CODES_TO_IGNORE = ["IPL", "ZBK", "NLP", "SE", "GW"] # no update notifications for these codes.
default_build_pattern = '(bEXP_ARCH1|bSeriesTOC)' default_process_pattern = '(bKBD3|bSeriesTOC)' options = None src_codes_to_include_paras = ['GW', 'SE'] data_update_prepublication_codes_to_ignore = ['IPL', 'ZBK', 'NLP', 'SE', 'GW']
class Recommendation: def __init__(self, title): self.title = title self.wikidata_id = None self.rank = None self.pageviews = None self.url = None self.sitelink_count = None def __dict__(self): return dict(title=self.title, wikidata_id=self.wikidata_id, rank=self.rank, pageviews=self.pageviews, url=self.url, sitelink_count=self.sitelink_count) def incorporate_wikidata_item(self, item): self.wikidata_id = item.id self.url = item.url self.sitelink_count = item.sitelink_count
class Recommendation: def __init__(self, title): self.title = title self.wikidata_id = None self.rank = None self.pageviews = None self.url = None self.sitelink_count = None def __dict__(self): return dict(title=self.title, wikidata_id=self.wikidata_id, rank=self.rank, pageviews=self.pageviews, url=self.url, sitelink_count=self.sitelink_count) def incorporate_wikidata_item(self, item): self.wikidata_id = item.id self.url = item.url self.sitelink_count = item.sitelink_count
class Category: def __init__(self, category): self.name = category self.ledger = [] # Each entry is a dictionary self.ledger1 = [] # Each entry is an array self.balance = 0 self.withdrawals = 0 def deposit(self, amt, desc=""): self.balance += amt self.ledger.append({"amount": amt, "description": desc }) self.ledger1.append([desc, amt]) def withdraw(self, amt, desc=""): if (not self.check_funds(amt)): return False self.balance -= amt self.withdrawals += amt self.ledger.append({"amount": -amt, "description": desc }) self.ledger1.append([desc, -amt]) return True def check_funds(self, amt): if (amt > self.balance): return False return True def get_balance(self): return self.balance def transfer(self, amt, to): if self.check_funds(amt): self.withdraw(amt, "Transfer to " + to.name) to.deposit(amt, "Transfer from " + self.name) return True return False def printLedger(self): print("Balance - " + str(self.balance)) for entry in self.ledger: for item in entry.items(): print(item) def printUsingArray(self): count = 30 - len(self.name) header = "" # Header needs to be 30 chars max if (count > 0): header += "*" * (count//2) # Number of * before Category header += self.name header += "*" * (30 - len(header)) # Number of * After Category # print(len(header)) lines = "" for entry in self.ledger1: desc = entry[0] line = desc[0:23] # Truncate to 23 chars or less line += " " * (23 - len(line)) # Pad to 23 # print a float with two decimal places amt = "{:.2f}".format(entry[1]) leftPadding = 7 - len(amt) line += " " * leftPadding + amt line += "\n" lines += line total = "Total: " + str(self.balance) return header + "\n" + lines + total def __repr__(self): count = 30 - len(self.name) header = "" # Header needs to be 30 chars max if (count > 0): header += "*" * (count//2) # Number of * before Category header += self.name header += "*" * (30 - len(header)) # Number of * After Category lines = "" for entry in self.ledger: desc = entry["description"] line = desc[0:23] # Truncate to 23 chars or less line += " " * (23 - len(line)) # Pad to 23 # print a float with two decimal places amt = "{:.2f}".format(entry["amount"]) leftPadding = 7 - len(amt) line += " " * leftPadding + amt line += "\n" lines += line total = "Total: " + str(self.balance) return header + "\n" + lines + total def create_spend_chart(categories): chartData = [] total_spend = 0 longest_name_length = 0 for category in categories: total_spend += category.withdrawals if (len(category.name) > longest_name_length): longest_name_length = len(category.name) for category in categories: percentageWD = (category.withdrawals / total_spend) * 100 data = int(percentageWD//10) * 10 # Round "down" to 10 chartData.append({ "cat": category.name, "data": data }) lines = "Percentage spent by category\n" number_of_dashes = 3 * len(chartData) # 3 spaces per bar for x in range(100, -1, -10): # 100..90.....10..0 line = "{:3}".format(x) + "| " for dd in chartData: if (x > dd["data"]): line += " " # 3 spaces else: line += "o " # 2 spaces line += "\n" lines += line lines += " " + ("-" * number_of_dashes) + "-\n" # Add horizonal line jj = 0 while (jj < longest_name_length): line = " " # 3 spaces for cc in categories: if (jj < len(cc.name)): line += " " + cc.name[jj] else: line += " " + " " lines += line + " " jj += 1 if (jj < longest_name_length): lines += "\n" return lines def test_create_spend_chart(): food = Category("Food") food.deposit(900, "deposit") entertainment = Category("Entertainment") entertainment.deposit(900, "deposit") business = Category("Business") business.deposit(900, "deposit") food.withdraw(105.55) entertainment.withdraw(33.40) business.withdraw(10.99) print(create_spend_chart([business, food, entertainment])) if __name__ == "__main__": food = Category("Foods") food.deposit(1000, "initial deposit") food.withdraw(10.15, "groceries") food.withdraw(15.89, "restaurant and more food for dessert") # print(food.get_balance()) clothing = Category("Clothing") food.transfer(50, clothing) clothing.withdraw(25.55) clothing.withdraw(100) auto = Category("Auto") auto.deposit(1000, "initial deposit") auto.withdraw(15) # food.printLedger() # clothing.printLedger() # auto.printLedger() print(food) print(clothing) print(create_spend_chart([food, clothing, auto])) test_create_spend_chart()
class Category: def __init__(self, category): self.name = category self.ledger = [] self.ledger1 = [] self.balance = 0 self.withdrawals = 0 def deposit(self, amt, desc=''): self.balance += amt self.ledger.append({'amount': amt, 'description': desc}) self.ledger1.append([desc, amt]) def withdraw(self, amt, desc=''): if not self.check_funds(amt): return False self.balance -= amt self.withdrawals += amt self.ledger.append({'amount': -amt, 'description': desc}) self.ledger1.append([desc, -amt]) return True def check_funds(self, amt): if amt > self.balance: return False return True def get_balance(self): return self.balance def transfer(self, amt, to): if self.check_funds(amt): self.withdraw(amt, 'Transfer to ' + to.name) to.deposit(amt, 'Transfer from ' + self.name) return True return False def print_ledger(self): print('Balance - ' + str(self.balance)) for entry in self.ledger: for item in entry.items(): print(item) def print_using_array(self): count = 30 - len(self.name) header = '' if count > 0: header += '*' * (count // 2) header += self.name header += '*' * (30 - len(header)) lines = '' for entry in self.ledger1: desc = entry[0] line = desc[0:23] line += ' ' * (23 - len(line)) amt = '{:.2f}'.format(entry[1]) left_padding = 7 - len(amt) line += ' ' * leftPadding + amt line += '\n' lines += line total = 'Total: ' + str(self.balance) return header + '\n' + lines + total def __repr__(self): count = 30 - len(self.name) header = '' if count > 0: header += '*' * (count // 2) header += self.name header += '*' * (30 - len(header)) lines = '' for entry in self.ledger: desc = entry['description'] line = desc[0:23] line += ' ' * (23 - len(line)) amt = '{:.2f}'.format(entry['amount']) left_padding = 7 - len(amt) line += ' ' * leftPadding + amt line += '\n' lines += line total = 'Total: ' + str(self.balance) return header + '\n' + lines + total def create_spend_chart(categories): chart_data = [] total_spend = 0 longest_name_length = 0 for category in categories: total_spend += category.withdrawals if len(category.name) > longest_name_length: longest_name_length = len(category.name) for category in categories: percentage_wd = category.withdrawals / total_spend * 100 data = int(percentageWD // 10) * 10 chartData.append({'cat': category.name, 'data': data}) lines = 'Percentage spent by category\n' number_of_dashes = 3 * len(chartData) for x in range(100, -1, -10): line = '{:3}'.format(x) + '| ' for dd in chartData: if x > dd['data']: line += ' ' else: line += 'o ' line += '\n' lines += line lines += ' ' + '-' * number_of_dashes + '-\n' jj = 0 while jj < longest_name_length: line = ' ' for cc in categories: if jj < len(cc.name): line += ' ' + cc.name[jj] else: line += ' ' + ' ' lines += line + ' ' jj += 1 if jj < longest_name_length: lines += '\n' return lines def test_create_spend_chart(): food = category('Food') food.deposit(900, 'deposit') entertainment = category('Entertainment') entertainment.deposit(900, 'deposit') business = category('Business') business.deposit(900, 'deposit') food.withdraw(105.55) entertainment.withdraw(33.4) business.withdraw(10.99) print(create_spend_chart([business, food, entertainment])) if __name__ == '__main__': food = category('Foods') food.deposit(1000, 'initial deposit') food.withdraw(10.15, 'groceries') food.withdraw(15.89, 'restaurant and more food for dessert') clothing = category('Clothing') food.transfer(50, clothing) clothing.withdraw(25.55) clothing.withdraw(100) auto = category('Auto') auto.deposit(1000, 'initial deposit') auto.withdraw(15) print(food) print(clothing) print(create_spend_chart([food, clothing, auto])) test_create_spend_chart()
def extractExpandablefemaleBlogspotCom(item): ''' DISABLED Parser for 'expandablefemale.blogspot.com' ''' return None
def extract_expandablefemale_blogspot_com(item): """ DISABLED Parser for 'expandablefemale.blogspot.com' """ return None
# # PySNMP MIB module ZYXEL-L3-IP-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/ZYXEL-L3-IP-MIB # Produced by pysmi-0.3.4 at Wed May 1 15:50:32 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) # Integer, OctetString, ObjectIdentifier = mibBuilder.importSymbols("ASN1", "Integer", "OctetString", "ObjectIdentifier") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") SingleValueConstraint, ValueRangeConstraint, ConstraintsUnion, ConstraintsIntersection, ValueSizeConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "SingleValueConstraint", "ValueRangeConstraint", "ConstraintsUnion", "ConstraintsIntersection", "ValueSizeConstraint") ModuleCompliance, NotificationGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup") iso, Counter64, NotificationType, MibScalar, MibTable, MibTableRow, MibTableColumn, Bits, Counter32, MibIdentifier, Gauge32, TimeTicks, ObjectIdentity, IpAddress, Integer32, ModuleIdentity, Unsigned32 = mibBuilder.importSymbols("SNMPv2-SMI", "iso", "Counter64", "NotificationType", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "Bits", "Counter32", "MibIdentifier", "Gauge32", "TimeTicks", "ObjectIdentity", "IpAddress", "Integer32", "ModuleIdentity", "Unsigned32") TextualConvention, RowStatus, DisplayString = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention", "RowStatus", "DisplayString") esMgmt, = mibBuilder.importSymbols("ZYXEL-ES-SMI", "esMgmt") zyxelL3Ip = ModuleIdentity((1, 3, 6, 1, 4, 1, 890, 1, 15, 3, 40)) if mibBuilder.loadTexts: zyxelL3Ip.setLastUpdated('201207010000Z') if mibBuilder.loadTexts: zyxelL3Ip.setOrganization('Enterprise Solution ZyXEL') if mibBuilder.loadTexts: zyxelL3Ip.setContactInfo('') if mibBuilder.loadTexts: zyxelL3Ip.setDescription('The subtree for layer 3 switch ip address') zyxelLayer3IpSetup = MibIdentifier((1, 3, 6, 1, 4, 1, 890, 1, 15, 3, 40, 1)) zyLayer3IpDnsIpAddress = MibScalar((1, 3, 6, 1, 4, 1, 890, 1, 15, 3, 40, 1, 1), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: zyLayer3IpDnsIpAddress.setStatus('current') if mibBuilder.loadTexts: zyLayer3IpDnsIpAddress.setDescription('Enter a domain name server IP address in order to be able to use a domain name instead of an IP address.') zyLayer3IpDefaultMgmt = MibScalar((1, 3, 6, 1, 4, 1, 890, 1, 15, 3, 40, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("inBand", 0), ("outOfBand", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: zyLayer3IpDefaultMgmt.setStatus('current') if mibBuilder.loadTexts: zyLayer3IpDefaultMgmt.setDescription('Specify which traffic flow (In-Band or Out-of-band) the switch is to send packets originating from it or packets with unknown source.') zyLayer3IpDefaultGateway = MibScalar((1, 3, 6, 1, 4, 1, 890, 1, 15, 3, 40, 1, 3), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: zyLayer3IpDefaultGateway.setStatus('current') if mibBuilder.loadTexts: zyLayer3IpDefaultGateway.setDescription('IP address of the default outgoing gateway.') zyLayer3IpInbandMaxNumberOfInterfaces = MibScalar((1, 3, 6, 1, 4, 1, 890, 1, 15, 3, 40, 1, 4), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: zyLayer3IpInbandMaxNumberOfInterfaces.setStatus('current') if mibBuilder.loadTexts: zyLayer3IpInbandMaxNumberOfInterfaces.setDescription('The maximum number of in-band IP that can be created.') zyxelLayer3IpInbandTable = MibTable((1, 3, 6, 1, 4, 1, 890, 1, 15, 3, 40, 1, 5), ) if mibBuilder.loadTexts: zyxelLayer3IpInbandTable.setStatus('current') if mibBuilder.loadTexts: zyxelLayer3IpInbandTable.setDescription('The table contains layer3 IP in-band configuration.') zyxelLayer3IpInbandEntry = MibTableRow((1, 3, 6, 1, 4, 1, 890, 1, 15, 3, 40, 1, 5, 1), ).setIndexNames((0, "ZYXEL-L3-IP-MIB", "zyLayer3IpInbandIpAddress"), (0, "ZYXEL-L3-IP-MIB", "zyLayer3IpInbandMask")) if mibBuilder.loadTexts: zyxelLayer3IpInbandEntry.setStatus('current') if mibBuilder.loadTexts: zyxelLayer3IpInbandEntry.setDescription('An entry contains layer3 IP in-band configuration.') zyLayer3IpInbandIpAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 890, 1, 15, 3, 40, 1, 5, 1, 1), IpAddress()) if mibBuilder.loadTexts: zyLayer3IpInbandIpAddress.setStatus('current') if mibBuilder.loadTexts: zyLayer3IpInbandIpAddress.setDescription('Enter the IP address of your switch in dotted decimal notation, for example, 192.168.1.1. This is the IP address of the Switch in an IP routing domain.') zyLayer3IpInbandMask = MibTableColumn((1, 3, 6, 1, 4, 1, 890, 1, 15, 3, 40, 1, 5, 1, 2), IpAddress()) if mibBuilder.loadTexts: zyLayer3IpInbandMask.setStatus('current') if mibBuilder.loadTexts: zyLayer3IpInbandMask.setDescription('Enter the IP subnet mask of an IP routing domain in dotted decimal notation, for example, 255.255.255.0.') zyLayer3IpInbandVid = MibTableColumn((1, 3, 6, 1, 4, 1, 890, 1, 15, 3, 40, 1, 5, 1, 3), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: zyLayer3IpInbandVid.setStatus('current') if mibBuilder.loadTexts: zyLayer3IpInbandVid.setDescription('Enter the VLAN identification number to which an IP routing domain belongs.') zyLayer3IpInbandRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 890, 1, 15, 3, 40, 1, 5, 1, 4), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: zyLayer3IpInbandRowStatus.setStatus('current') if mibBuilder.loadTexts: zyLayer3IpInbandRowStatus.setDescription('This object allows entries to be created and deleted from the in-band IP table.') mibBuilder.exportSymbols("ZYXEL-L3-IP-MIB", zyLayer3IpInbandVid=zyLayer3IpInbandVid, PYSNMP_MODULE_ID=zyxelL3Ip, zyxelLayer3IpSetup=zyxelLayer3IpSetup, zyxelL3Ip=zyxelL3Ip, zyLayer3IpDnsIpAddress=zyLayer3IpDnsIpAddress, zyLayer3IpInbandIpAddress=zyLayer3IpInbandIpAddress, zyLayer3IpDefaultGateway=zyLayer3IpDefaultGateway, zyLayer3IpInbandMaxNumberOfInterfaces=zyLayer3IpInbandMaxNumberOfInterfaces, zyxelLayer3IpInbandTable=zyxelLayer3IpInbandTable, zyLayer3IpDefaultMgmt=zyLayer3IpDefaultMgmt, zyLayer3IpInbandRowStatus=zyLayer3IpInbandRowStatus, zyxelLayer3IpInbandEntry=zyxelLayer3IpInbandEntry, zyLayer3IpInbandMask=zyLayer3IpInbandMask)
(integer, octet_string, object_identifier) = mibBuilder.importSymbols('ASN1', 'Integer', 'OctetString', 'ObjectIdentifier') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (single_value_constraint, value_range_constraint, constraints_union, constraints_intersection, value_size_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'SingleValueConstraint', 'ValueRangeConstraint', 'ConstraintsUnion', 'ConstraintsIntersection', 'ValueSizeConstraint') (module_compliance, notification_group) = mibBuilder.importSymbols('SNMPv2-CONF', 'ModuleCompliance', 'NotificationGroup') (iso, counter64, notification_type, mib_scalar, mib_table, mib_table_row, mib_table_column, bits, counter32, mib_identifier, gauge32, time_ticks, object_identity, ip_address, integer32, module_identity, unsigned32) = mibBuilder.importSymbols('SNMPv2-SMI', 'iso', 'Counter64', 'NotificationType', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'Bits', 'Counter32', 'MibIdentifier', 'Gauge32', 'TimeTicks', 'ObjectIdentity', 'IpAddress', 'Integer32', 'ModuleIdentity', 'Unsigned32') (textual_convention, row_status, display_string) = mibBuilder.importSymbols('SNMPv2-TC', 'TextualConvention', 'RowStatus', 'DisplayString') (es_mgmt,) = mibBuilder.importSymbols('ZYXEL-ES-SMI', 'esMgmt') zyxel_l3_ip = module_identity((1, 3, 6, 1, 4, 1, 890, 1, 15, 3, 40)) if mibBuilder.loadTexts: zyxelL3Ip.setLastUpdated('201207010000Z') if mibBuilder.loadTexts: zyxelL3Ip.setOrganization('Enterprise Solution ZyXEL') if mibBuilder.loadTexts: zyxelL3Ip.setContactInfo('') if mibBuilder.loadTexts: zyxelL3Ip.setDescription('The subtree for layer 3 switch ip address') zyxel_layer3_ip_setup = mib_identifier((1, 3, 6, 1, 4, 1, 890, 1, 15, 3, 40, 1)) zy_layer3_ip_dns_ip_address = mib_scalar((1, 3, 6, 1, 4, 1, 890, 1, 15, 3, 40, 1, 1), ip_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: zyLayer3IpDnsIpAddress.setStatus('current') if mibBuilder.loadTexts: zyLayer3IpDnsIpAddress.setDescription('Enter a domain name server IP address in order to be able to use a domain name instead of an IP address.') zy_layer3_ip_default_mgmt = mib_scalar((1, 3, 6, 1, 4, 1, 890, 1, 15, 3, 40, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('inBand', 0), ('outOfBand', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: zyLayer3IpDefaultMgmt.setStatus('current') if mibBuilder.loadTexts: zyLayer3IpDefaultMgmt.setDescription('Specify which traffic flow (In-Band or Out-of-band) the switch is to send packets originating from it or packets with unknown source.') zy_layer3_ip_default_gateway = mib_scalar((1, 3, 6, 1, 4, 1, 890, 1, 15, 3, 40, 1, 3), ip_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: zyLayer3IpDefaultGateway.setStatus('current') if mibBuilder.loadTexts: zyLayer3IpDefaultGateway.setDescription('IP address of the default outgoing gateway.') zy_layer3_ip_inband_max_number_of_interfaces = mib_scalar((1, 3, 6, 1, 4, 1, 890, 1, 15, 3, 40, 1, 4), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: zyLayer3IpInbandMaxNumberOfInterfaces.setStatus('current') if mibBuilder.loadTexts: zyLayer3IpInbandMaxNumberOfInterfaces.setDescription('The maximum number of in-band IP that can be created.') zyxel_layer3_ip_inband_table = mib_table((1, 3, 6, 1, 4, 1, 890, 1, 15, 3, 40, 1, 5)) if mibBuilder.loadTexts: zyxelLayer3IpInbandTable.setStatus('current') if mibBuilder.loadTexts: zyxelLayer3IpInbandTable.setDescription('The table contains layer3 IP in-band configuration.') zyxel_layer3_ip_inband_entry = mib_table_row((1, 3, 6, 1, 4, 1, 890, 1, 15, 3, 40, 1, 5, 1)).setIndexNames((0, 'ZYXEL-L3-IP-MIB', 'zyLayer3IpInbandIpAddress'), (0, 'ZYXEL-L3-IP-MIB', 'zyLayer3IpInbandMask')) if mibBuilder.loadTexts: zyxelLayer3IpInbandEntry.setStatus('current') if mibBuilder.loadTexts: zyxelLayer3IpInbandEntry.setDescription('An entry contains layer3 IP in-band configuration.') zy_layer3_ip_inband_ip_address = mib_table_column((1, 3, 6, 1, 4, 1, 890, 1, 15, 3, 40, 1, 5, 1, 1), ip_address()) if mibBuilder.loadTexts: zyLayer3IpInbandIpAddress.setStatus('current') if mibBuilder.loadTexts: zyLayer3IpInbandIpAddress.setDescription('Enter the IP address of your switch in dotted decimal notation, for example, 192.168.1.1. This is the IP address of the Switch in an IP routing domain.') zy_layer3_ip_inband_mask = mib_table_column((1, 3, 6, 1, 4, 1, 890, 1, 15, 3, 40, 1, 5, 1, 2), ip_address()) if mibBuilder.loadTexts: zyLayer3IpInbandMask.setStatus('current') if mibBuilder.loadTexts: zyLayer3IpInbandMask.setDescription('Enter the IP subnet mask of an IP routing domain in dotted decimal notation, for example, 255.255.255.0.') zy_layer3_ip_inband_vid = mib_table_column((1, 3, 6, 1, 4, 1, 890, 1, 15, 3, 40, 1, 5, 1, 3), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: zyLayer3IpInbandVid.setStatus('current') if mibBuilder.loadTexts: zyLayer3IpInbandVid.setDescription('Enter the VLAN identification number to which an IP routing domain belongs.') zy_layer3_ip_inband_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 890, 1, 15, 3, 40, 1, 5, 1, 4), row_status()).setMaxAccess('readcreate') if mibBuilder.loadTexts: zyLayer3IpInbandRowStatus.setStatus('current') if mibBuilder.loadTexts: zyLayer3IpInbandRowStatus.setDescription('This object allows entries to be created and deleted from the in-band IP table.') mibBuilder.exportSymbols('ZYXEL-L3-IP-MIB', zyLayer3IpInbandVid=zyLayer3IpInbandVid, PYSNMP_MODULE_ID=zyxelL3Ip, zyxelLayer3IpSetup=zyxelLayer3IpSetup, zyxelL3Ip=zyxelL3Ip, zyLayer3IpDnsIpAddress=zyLayer3IpDnsIpAddress, zyLayer3IpInbandIpAddress=zyLayer3IpInbandIpAddress, zyLayer3IpDefaultGateway=zyLayer3IpDefaultGateway, zyLayer3IpInbandMaxNumberOfInterfaces=zyLayer3IpInbandMaxNumberOfInterfaces, zyxelLayer3IpInbandTable=zyxelLayer3IpInbandTable, zyLayer3IpDefaultMgmt=zyLayer3IpDefaultMgmt, zyLayer3IpInbandRowStatus=zyLayer3IpInbandRowStatus, zyxelLayer3IpInbandEntry=zyxelLayer3IpInbandEntry, zyLayer3IpInbandMask=zyLayer3IpInbandMask)
##planets = [ ## { ## "planet": "Tatooine", ## "visited": False, ## "reachable": ["Dagobah", "Hoth"] ## }, ## { ## "planet": "Dagobah", ## "visited": False, ## "reachable": ["Hoth", "Endor"] ## }, ## { ## "planet": "Endor", ## "visited": False, ## "reachable": [] ## }, ## { ## "planet": "Hoth", ## "visited": False, ## "reachable": ["Endor"] ## }, ##] ## ##def build_reachables(planets, reachables): ## reachable_planets = [] ## for planet in planets: ## if planet["planet"] in reachables: ## reachable_planets.append(planet) ## return reachable_planets ## ##def explore_all_routes(planets, current_planet,trajectory): ## current_planet["visited"] = True ## print(current_planet) ## trajectory.append(current_planet) ## reachables = current_planet["reachable"] ## reachables_list = build_reachables(planets,reachables) ## for voisin in reachables_list: ## if not voisin["visited"]: ## explore_all_routes(planets, voisin, trajectory) ## ## ## ##for planet in planets: ## trajectory = [] ## if not planet["visited"]: ## explore_all_routes(planets, planet, trajectory) ## planets[planet] mylist =[{'trajectory': ['Tatooine', 'Hoth', 'Endor'], 'total_time': 7, 'caught_proba': 0.19}, {'trajectory': ['Tatooine', 'Hoth', 'Endor'], 'total_time': 7, 'caught_proba': 0.18}, {'trajectory': ['Tatooine', 'Hoth', 'Endor'], 'total_time': 7, 'caught_proba': 0} ] def take_caught_proba(elem): return elem["caught_proba"] mylist.sort(key=take_caught_proba) print(mylist[0])
mylist = [{'trajectory': ['Tatooine', 'Hoth', 'Endor'], 'total_time': 7, 'caught_proba': 0.19}, {'trajectory': ['Tatooine', 'Hoth', 'Endor'], 'total_time': 7, 'caught_proba': 0.18}, {'trajectory': ['Tatooine', 'Hoth', 'Endor'], 'total_time': 7, 'caught_proba': 0}] def take_caught_proba(elem): return elem['caught_proba'] mylist.sort(key=take_caught_proba) print(mylist[0])
# -*- coding: utf-8 -*- def main(): n, m = map(int, input().split()) xs = sorted(list(map(int, input().split()))) if n >= m: print(0) else: ans = xs[-1] - xs[0] diff = [0 for _ in range(m - 1)] for i in range(m - 1): diff[i] = xs[i + 1] - xs[i] print(ans - sum(sorted(diff, reverse=True)[:n - 1])) if __name__ == '__main__': main()
def main(): (n, m) = map(int, input().split()) xs = sorted(list(map(int, input().split()))) if n >= m: print(0) else: ans = xs[-1] - xs[0] diff = [0 for _ in range(m - 1)] for i in range(m - 1): diff[i] = xs[i + 1] - xs[i] print(ans - sum(sorted(diff, reverse=True)[:n - 1])) if __name__ == '__main__': main()
if True: pass if 0: pass if 1: pass if (1==1) : pass if 1 == 2 + - 1 : pass if 456 == 244: pass if 1 == 0 - 5 + 6 - 1: pass if 2 + 2 == 5: pass if 23313 + 31313 == 0: pass if 2 + 2 == 3 + 1 * 0 + 1 : pass if 1 == 1: pass if - 1== 2-3 : pass if (2 + 2) + 2 == 7: pass if 55 * 2 / 2 * 4 / 4 * 2 / 2 == 759 + ( -1 + 56 + 77 - 77) + 123 * 3 - (369 - 1 + 1 - 1 - 1 + 2 + 2 ** 2 - 4) - 750 - 3 ** 2 + 1: pass if 55 * 2 / 2 * 4 / 4 * 2 / 2 == 759 + -1 + 56 + 77 - 77 + 123 * 3 - 369 - 1 + 1 - 1 - 1 + 2 + 2 ** 2 - 4 - 750 - 3 ** 2 + 1: pass if 55 * 2 / 2 * 4 / 4 * 2 / 2 == 759 + ( -1 + 56 + 77 - 77) + 123 * 3 - (369 - 1 + 1 - 1 - 1 + 2 + 2 ** 2 - 4) - 750 - 3 ** 2 : pass if 55 * 2 / 2 * 4 / 4 * 2 / 2 == 759 + -1 + 56 + 77 - 77 + 123 * 3 - 369 - 1 + 1 - 1 - 1 + 2 + 2 ** 2 - 4 - 750 - 3 ** 2 : pass if 55*2/2*4/4*2/2+2**3==759+-1+56+77-77+123*3-369-1+1-1-1+2+2**2-4-750-3**2+3**2-1+1//34 : pass if True and False or True and False: pass if True and ( False or True ) : pass if ( True and False ) or False : pass if True and not False: pass if not True and False: pass if 123456 + 6 - 999 + 3333 - 228 or 1 == 5: pass if not True and True or True and not True: pass if 2 +2 * 2 == 6: pass if 10 * 10 // 101 * 10 == 0: pass if 10 * 11 // 101 * 10 == 0: pass if ( 2+ 2 ) * 2 == 8: pass if ( 2 + 2) * 2 ==7 : pass if -(1+1)==-2: pass if -(1+1)!=-2: pass if 2 + ( 2 ) == 3 or 1: pass if ( 99 * 8 )/ 10 > 10: pass if 99 * ( 8 / 10) < 10: pass if 99 * ( 8 / 10 )> 10: pass if - (1313 - 1314) * - 1 == 1 * (2 - 3): pass if 1/0 ==0: pass if 100% 3==1: pass if 100 %0==1: pass if 100 % 4==1: pass if 1/1==1: pass
if True: pass if 0: pass if 1: pass if 1 == 1: pass if 1 == 2 + -1: pass if 456 == 244: pass if 1 == 0 - 5 + 6 - 1: pass if 2 + 2 == 5: pass if 23313 + 31313 == 0: pass if 2 + 2 == 3 + 1 * 0 + 1: pass if 1 == 1: pass if -1 == 2 - 3: pass if 2 + 2 + 2 == 7: pass if 55 * 2 / 2 * 4 / 4 * 2 / 2 == 759 + (-1 + 56 + 77 - 77) + 123 * 3 - (369 - 1 + 1 - 1 - 1 + 2 + 2 ** 2 - 4) - 750 - 3 ** 2 + 1: pass if 55 * 2 / 2 * 4 / 4 * 2 / 2 == 759 + -1 + 56 + 77 - 77 + 123 * 3 - 369 - 1 + 1 - 1 - 1 + 2 + 2 ** 2 - 4 - 750 - 3 ** 2 + 1: pass if 55 * 2 / 2 * 4 / 4 * 2 / 2 == 759 + (-1 + 56 + 77 - 77) + 123 * 3 - (369 - 1 + 1 - 1 - 1 + 2 + 2 ** 2 - 4) - 750 - 3 ** 2: pass if 55 * 2 / 2 * 4 / 4 * 2 / 2 == 759 + -1 + 56 + 77 - 77 + 123 * 3 - 369 - 1 + 1 - 1 - 1 + 2 + 2 ** 2 - 4 - 750 - 3 ** 2: pass if 55 * 2 / 2 * 4 / 4 * 2 / 2 + 2 ** 3 == 759 + -1 + 56 + 77 - 77 + 123 * 3 - 369 - 1 + 1 - 1 - 1 + 2 + 2 ** 2 - 4 - 750 - 3 ** 2 + 3 ** 2 - 1 + 1 // 34: pass if True and False or (True and False): pass if True and (False or True): pass if True and False or False: pass if True and (not False): pass if not True and False: pass if 123456 + 6 - 999 + 3333 - 228 or 1 == 5: pass if not True and True or (True and (not True)): pass if 2 + 2 * 2 == 6: pass if 10 * 10 // 101 * 10 == 0: pass if 10 * 11 // 101 * 10 == 0: pass if (2 + 2) * 2 == 8: pass if (2 + 2) * 2 == 7: pass if -(1 + 1) == -2: pass if -(1 + 1) != -2: pass if 2 + 2 == 3 or 1: pass if 99 * 8 / 10 > 10: pass if 99 * (8 / 10) < 10: pass if 99 * (8 / 10) > 10: pass if -(1313 - 1314) * -1 == 1 * (2 - 3): pass if 1 / 0 == 0: pass if 100 % 3 == 1: pass if 100 % 0 == 1: pass if 100 % 4 == 1: pass if 1 / 1 == 1: pass
# # PySNMP MIB module ALCATEL-IND1-IPX-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/ALCATEL-IND1-IPX-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 17:02: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) # routingIND1Ipx, = mibBuilder.importSymbols("ALCATEL-IND1-BASE", "routingIND1Ipx") OctetString, Integer, ObjectIdentifier = mibBuilder.importSymbols("ASN1", "OctetString", "Integer", "ObjectIdentifier") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ConstraintsIntersection, ConstraintsUnion, ValueSizeConstraint, SingleValueConstraint, ValueRangeConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "ValueSizeConstraint", "SingleValueConstraint", "ValueRangeConstraint") ModuleCompliance, ObjectGroup, NotificationGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup", "NotificationGroup") ModuleIdentity, TimeTicks, Integer32, iso, Counter32, NotificationType, IpAddress, MibIdentifier, Unsigned32, ObjectIdentity, Bits, Counter64, Gauge32, MibScalar, MibTable, MibTableRow, MibTableColumn = mibBuilder.importSymbols("SNMPv2-SMI", "ModuleIdentity", "TimeTicks", "Integer32", "iso", "Counter32", "NotificationType", "IpAddress", "MibIdentifier", "Unsigned32", "ObjectIdentity", "Bits", "Counter64", "Gauge32", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn") RowStatus, DisplayString, TextualConvention = mibBuilder.importSymbols("SNMPv2-TC", "RowStatus", "DisplayString", "TextualConvention") alcatelIND1IPXMIB = ModuleIdentity((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1)) alcatelIND1IPXMIB.setRevisions(('2007-04-03 00:00',)) if mibBuilder.loadTexts: alcatelIND1IPXMIB.setLastUpdated('200704030000Z') if mibBuilder.loadTexts: alcatelIND1IPXMIB.setOrganization('Alcatel-Lucent') alcatelIND1IPXMIBObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 1)) class NetNumber(TextualConvention, OctetString): status = 'current' subtypeSpec = OctetString.subtypeSpec + ValueSizeConstraint(4, 4) fixedLength = 4 class HostAddress(TextualConvention, OctetString): status = 'current' subtypeSpec = OctetString.subtypeSpec + ValueSizeConstraint(6, 6) fixedLength = 6 alaIpxRoutingGroup = ObjectIdentity((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 1, 1)) if mibBuilder.loadTexts: alaIpxRoutingGroup.setStatus('current') alaIpxFilterGroup = ObjectIdentity((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 1, 2)) if mibBuilder.loadTexts: alaIpxFilterGroup.setStatus('current') alaIpxTimerGroup = ObjectIdentity((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 1, 3)) if mibBuilder.loadTexts: alaIpxTimerGroup.setStatus('current') alaIpxStaticRouteTable = MibTable((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 1, 1, 1), ) if mibBuilder.loadTexts: alaIpxStaticRouteTable.setStatus('current') alaIpxStaticRouteEntry = MibTableRow((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 1, 1, 1, 1), ).setIndexNames((0, "ALCATEL-IND1-IPX-MIB", "alaIpxStaticRouteNetNum")) if mibBuilder.loadTexts: alaIpxStaticRouteEntry.setStatus('current') alaIpxStaticRouteNetNum = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 1, 1, 1, 1, 1), NetNumber().clone(hexValue="00000000")) if mibBuilder.loadTexts: alaIpxStaticRouteNetNum.setStatus('current') alaIpxStaticRouteNextHopNet = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 1, 1, 1, 1, 2), NetNumber().clone(hexValue="00000000")).setMaxAccess("readcreate") if mibBuilder.loadTexts: alaIpxStaticRouteNextHopNet.setStatus('current') alaIpxStaticRouteNextHopNode = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 1, 1, 1, 1, 3), HostAddress().clone(hexValue="000000000000")).setMaxAccess("readcreate") if mibBuilder.loadTexts: alaIpxStaticRouteNextHopNode.setStatus('current') alaIpxStaticRouteTicks = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 1, 1, 1, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readcreate") if mibBuilder.loadTexts: alaIpxStaticRouteTicks.setStatus('current') alaIpxStaticRouteHopCount = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 1, 1, 1, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 16))).setMaxAccess("readcreate") if mibBuilder.loadTexts: alaIpxStaticRouteHopCount.setStatus('current') alaIpxStaticRouteRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 1, 1, 1, 1, 6), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: alaIpxStaticRouteRowStatus.setStatus('current') alaIpxDefRouteTable = MibTable((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 1, 1, 2), ) if mibBuilder.loadTexts: alaIpxDefRouteTable.setStatus('current') alaIpxDefRouteEntry = MibTableRow((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 1, 1, 2, 1), ).setIndexNames((0, "ALCATEL-IND1-IPX-MIB", "alaIpxDefRouteVlanId")) if mibBuilder.loadTexts: alaIpxDefRouteEntry.setStatus('current') alaIpxDefRouteVlanId = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 1, 1, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4094))) if mibBuilder.loadTexts: alaIpxDefRouteVlanId.setStatus('current') alaIpxDefRouteNet = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 1, 1, 2, 1, 2), NetNumber().clone(hexValue="00000000")).setMaxAccess("readcreate") if mibBuilder.loadTexts: alaIpxDefRouteNet.setStatus('current') alaIpxDefRouteNode = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 1, 1, 2, 1, 3), HostAddress().clone(hexValue="000000000000")).setMaxAccess("readcreate") if mibBuilder.loadTexts: alaIpxDefRouteNode.setStatus('current') alaIpxDefRouteRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 1, 1, 2, 1, 4), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: alaIpxDefRouteRowStatus.setStatus('current') alaIpxExtMsgTable = MibTable((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 1, 1, 3), ) if mibBuilder.loadTexts: alaIpxExtMsgTable.setStatus('current') alaIpxExtMsgEntry = MibTableRow((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 1, 1, 3, 1), ).setIndexNames((0, "ALCATEL-IND1-IPX-MIB", "alaIpxExtMsgVlanId")) if mibBuilder.loadTexts: alaIpxExtMsgEntry.setStatus('current') alaIpxExtMsgVlanId = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 1, 1, 3, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4094))) if mibBuilder.loadTexts: alaIpxExtMsgVlanId.setStatus('current') alaIpxExtMsgMode = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 1, 1, 3, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("disabled", 1), ("enabled", 2))).clone('disabled')).setMaxAccess("readcreate") if mibBuilder.loadTexts: alaIpxExtMsgMode.setStatus('current') alaIpxExtMsgRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 1, 1, 3, 1, 3), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: alaIpxExtMsgRowStatus.setStatus('current') alaIpxFlush = MibScalar((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("rip", 1), ("sap", 2), ("both", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: alaIpxFlush.setStatus('current') alaIpxRipSapFilterTable = MibTable((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 1, 2, 1), ) if mibBuilder.loadTexts: alaIpxRipSapFilterTable.setStatus('current') alaIpxRipSapFilterEntry = MibTableRow((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 1, 2, 1, 1), ).setIndexNames((0, "ALCATEL-IND1-IPX-MIB", "alaIpxRipSapFilterVlanId"), (0, "ALCATEL-IND1-IPX-MIB", "alaIpxRipSapFilterType"), (0, "ALCATEL-IND1-IPX-MIB", "alaIpxRipSapFilterNet"), (0, "ALCATEL-IND1-IPX-MIB", "alaIpxRipSapFilterNetMask"), (0, "ALCATEL-IND1-IPX-MIB", "alaIpxRipSapFilterNode"), (0, "ALCATEL-IND1-IPX-MIB", "alaIpxRipSapFilterNodeMask"), (0, "ALCATEL-IND1-IPX-MIB", "alaIpxRipSapFilterSvcType")) if mibBuilder.loadTexts: alaIpxRipSapFilterEntry.setStatus('current') alaIpxRipSapFilterVlanId = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 1, 2, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4094))) if mibBuilder.loadTexts: alaIpxRipSapFilterVlanId.setStatus('current') alaIpxRipSapFilterType = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 1, 2, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("sapOutput", 1), ("sapInput", 2), ("gnsOutput", 3), ("ripOutput", 4), ("ripInput", 5))).clone(1)) if mibBuilder.loadTexts: alaIpxRipSapFilterType.setStatus('current') alaIpxRipSapFilterNet = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 1, 2, 1, 1, 3), NetNumber().clone(hexValue="00000000")) if mibBuilder.loadTexts: alaIpxRipSapFilterNet.setStatus('current') alaIpxRipSapFilterNetMask = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 1, 2, 1, 1, 4), NetNumber().clone(hexValue="ffffffff")) if mibBuilder.loadTexts: alaIpxRipSapFilterNetMask.setStatus('current') alaIpxRipSapFilterNode = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 1, 2, 1, 1, 5), HostAddress().clone(hexValue="000000000000")) if mibBuilder.loadTexts: alaIpxRipSapFilterNode.setStatus('current') alaIpxRipSapFilterNodeMask = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 1, 2, 1, 1, 6), HostAddress().clone(hexValue="ffffffffffff")) if mibBuilder.loadTexts: alaIpxRipSapFilterNodeMask.setStatus('current') alaIpxRipSapFilterSvcType = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 1, 2, 1, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535)).clone(65535)) if mibBuilder.loadTexts: alaIpxRipSapFilterSvcType.setStatus('current') alaIpxRipSapFilterMode = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 1, 2, 1, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("allow", 1), ("block", 2))).clone('allow')).setMaxAccess("readcreate") if mibBuilder.loadTexts: alaIpxRipSapFilterMode.setStatus('current') alaIpxRipSapFilterRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 1, 2, 1, 1, 10), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: alaIpxRipSapFilterRowStatus.setStatus('current') alaIpxWatchdogSpoofTable = MibTable((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 1, 2, 2), ) if mibBuilder.loadTexts: alaIpxWatchdogSpoofTable.setStatus('current') alaIpxWatchdogSpoofEntry = MibTableRow((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 1, 2, 2, 1), ).setIndexNames((0, "ALCATEL-IND1-IPX-MIB", "alaIpxWatchdogSpoofVlanId")) if mibBuilder.loadTexts: alaIpxWatchdogSpoofEntry.setStatus('current') alaIpxWatchdogSpoofVlanId = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 1, 2, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4094))) if mibBuilder.loadTexts: alaIpxWatchdogSpoofVlanId.setStatus('current') alaIpxWatchdogSpoofMode = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 1, 2, 2, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("disabled", 1), ("enabled", 2))).clone('enabled')).setMaxAccess("readcreate") if mibBuilder.loadTexts: alaIpxWatchdogSpoofMode.setStatus('current') alaIpxWatchdogSpoofRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 1, 2, 2, 1, 3), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: alaIpxWatchdogSpoofRowStatus.setStatus('current') alaIpxSerialFilterTable = MibTable((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 1, 2, 3), ) if mibBuilder.loadTexts: alaIpxSerialFilterTable.setStatus('current') alaIpxSerialFilterEntry = MibTableRow((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 1, 2, 3, 1), ).setIndexNames((0, "ALCATEL-IND1-IPX-MIB", "alaIpxSerialFilterVlanId")) if mibBuilder.loadTexts: alaIpxSerialFilterEntry.setStatus('current') alaIpxSerialFilterVlanId = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 1, 2, 3, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4094))) if mibBuilder.loadTexts: alaIpxSerialFilterVlanId.setStatus('current') alaIpxSerialFilterMode = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 1, 2, 3, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("disabled", 1), ("enabled", 2))).clone('enabled')).setMaxAccess("readcreate") if mibBuilder.loadTexts: alaIpxSerialFilterMode.setStatus('current') alaIpxSerialFilterRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 1, 2, 3, 1, 3), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: alaIpxSerialFilterRowStatus.setStatus('current') alaSpxKeepaliveSpoofTable = MibTable((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 1, 2, 4), ) if mibBuilder.loadTexts: alaSpxKeepaliveSpoofTable.setStatus('current') alaSpxKeepaliveSpoofEntry = MibTableRow((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 1, 2, 4, 1), ).setIndexNames((0, "ALCATEL-IND1-IPX-MIB", "alaSpxKeepaliveSpoofVlanId")) if mibBuilder.loadTexts: alaSpxKeepaliveSpoofEntry.setStatus('current') alaSpxKeepaliveSpoofVlanId = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 1, 2, 4, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4094))) if mibBuilder.loadTexts: alaSpxKeepaliveSpoofVlanId.setStatus('current') alaSpxKeepaliveSpoofMode = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 1, 2, 4, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("disabled", 1), ("enabled", 2))).clone('enabled')).setMaxAccess("readcreate") if mibBuilder.loadTexts: alaSpxKeepaliveSpoofMode.setStatus('current') alaSpxKeepaliveSpoofRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 1, 2, 4, 1, 3), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: alaSpxKeepaliveSpoofRowStatus.setStatus('current') alaIpxType20Table = MibTable((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 1, 2, 5), ) if mibBuilder.loadTexts: alaIpxType20Table.setStatus('current') alaIpxType20Entry = MibTableRow((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 1, 2, 5, 1), ).setIndexNames((0, "ALCATEL-IND1-IPX-MIB", "alaIpxType20VlanId")) if mibBuilder.loadTexts: alaIpxType20Entry.setStatus('current') alaIpxType20VlanId = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 1, 2, 5, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4094))) if mibBuilder.loadTexts: alaIpxType20VlanId.setStatus('current') alaIpxType20Mode = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 1, 2, 5, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("disabled", 1), ("enabled", 2))).clone('enabled')).setMaxAccess("readcreate") if mibBuilder.loadTexts: alaIpxType20Mode.setStatus('current') alaIpxType20RowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 1, 2, 5, 1, 3), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: alaIpxType20RowStatus.setStatus('current') alaIpxTimerTable = MibTable((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 1, 3, 1), ) if mibBuilder.loadTexts: alaIpxTimerTable.setStatus('current') alaIpxTimerEntry = MibTableRow((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 1, 3, 1, 1), ).setIndexNames((0, "ALCATEL-IND1-IPX-MIB", "alaIpxTimerVlanId")) if mibBuilder.loadTexts: alaIpxTimerEntry.setStatus('current') alaIpxTimerVlanId = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 1, 3, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4094))) if mibBuilder.loadTexts: alaIpxTimerVlanId.setStatus('current') alaIpxTimerSap = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 1, 3, 1, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 180)).clone(60)).setMaxAccess("readcreate") if mibBuilder.loadTexts: alaIpxTimerSap.setStatus('current') alaIpxTimerRip = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 1, 3, 1, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 180)).clone(60)).setMaxAccess("readcreate") if mibBuilder.loadTexts: alaIpxTimerRip.setStatus('current') alaIpxTimerRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 1, 3, 1, 1, 4), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: alaIpxTimerRowStatus.setStatus('current') alcatelIND1IPXMIBConformance = MibIdentifier((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 2)) alcatelIND1IPXMIBCompliances = MibIdentifier((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 2, 1)) alcatelIND1IPXMIBGroups = MibIdentifier((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 2, 2)) alcatelIND1IPXMIBCompliance = ModuleCompliance((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 2, 1, 1)).setObjects(("ALCATEL-IND1-IPX-MIB", "alcatelIND1IPXMIBStaticRouteGroup"), ("ALCATEL-IND1-IPX-MIB", "alcatelIND1IPXMIBDefRouteGroup"), ("ALCATEL-IND1-IPX-MIB", "alcatelIND1IPXMIBExtMsgGroup"), ("ALCATEL-IND1-IPX-MIB", "alcatelIND1IPXMIBFlushGroup"), ("ALCATEL-IND1-IPX-MIB", "alcatelIND1IPXMIBRipSapFilterGroup"), ("ALCATEL-IND1-IPX-MIB", "alcatelIND1IPXMIBWatchdogSpoofGroup"), ("ALCATEL-IND1-IPX-MIB", "alcatelIND1IPXMIBSerialFilterGroup"), ("ALCATEL-IND1-IPX-MIB", "alcatelIND1IPXMIBKeepaliveSpoofGroup"), ("ALCATEL-IND1-IPX-MIB", "alcatelIND1IPXMIBType20Group"), ("ALCATEL-IND1-IPX-MIB", "alcatelIND1IPXMIBTimerGroup")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): alcatelIND1IPXMIBCompliance = alcatelIND1IPXMIBCompliance.setStatus('current') alcatelIND1IPXMIBStaticRouteGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 2, 2, 1)).setObjects(("ALCATEL-IND1-IPX-MIB", "alaIpxStaticRouteNextHopNet"), ("ALCATEL-IND1-IPX-MIB", "alaIpxStaticRouteNextHopNode"), ("ALCATEL-IND1-IPX-MIB", "alaIpxStaticRouteTicks"), ("ALCATEL-IND1-IPX-MIB", "alaIpxStaticRouteHopCount"), ("ALCATEL-IND1-IPX-MIB", "alaIpxStaticRouteRowStatus")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): alcatelIND1IPXMIBStaticRouteGroup = alcatelIND1IPXMIBStaticRouteGroup.setStatus('current') alcatelIND1IPXMIBDefRouteGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 2, 2, 2)).setObjects(("ALCATEL-IND1-IPX-MIB", "alaIpxDefRouteNet"), ("ALCATEL-IND1-IPX-MIB", "alaIpxDefRouteNode"), ("ALCATEL-IND1-IPX-MIB", "alaIpxDefRouteRowStatus")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): alcatelIND1IPXMIBDefRouteGroup = alcatelIND1IPXMIBDefRouteGroup.setStatus('current') alcatelIND1IPXMIBExtMsgGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 2, 2, 3)).setObjects(("ALCATEL-IND1-IPX-MIB", "alaIpxExtMsgMode"), ("ALCATEL-IND1-IPX-MIB", "alaIpxExtMsgRowStatus")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): alcatelIND1IPXMIBExtMsgGroup = alcatelIND1IPXMIBExtMsgGroup.setStatus('current') alcatelIND1IPXMIBFlushGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 2, 2, 4)).setObjects(("ALCATEL-IND1-IPX-MIB", "alaIpxFlush")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): alcatelIND1IPXMIBFlushGroup = alcatelIND1IPXMIBFlushGroup.setStatus('current') alcatelIND1IPXMIBRipSapFilterGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 2, 2, 5)).setObjects(("ALCATEL-IND1-IPX-MIB", "alaIpxRipSapFilterMode"), ("ALCATEL-IND1-IPX-MIB", "alaIpxRipSapFilterRowStatus")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): alcatelIND1IPXMIBRipSapFilterGroup = alcatelIND1IPXMIBRipSapFilterGroup.setStatus('current') alcatelIND1IPXMIBWatchdogSpoofGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 2, 2, 6)).setObjects(("ALCATEL-IND1-IPX-MIB", "alaIpxWatchdogSpoofMode"), ("ALCATEL-IND1-IPX-MIB", "alaIpxWatchdogSpoofRowStatus")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): alcatelIND1IPXMIBWatchdogSpoofGroup = alcatelIND1IPXMIBWatchdogSpoofGroup.setStatus('current') alcatelIND1IPXMIBSerialFilterGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 2, 2, 7)).setObjects(("ALCATEL-IND1-IPX-MIB", "alaIpxSerialFilterMode"), ("ALCATEL-IND1-IPX-MIB", "alaIpxSerialFilterRowStatus")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): alcatelIND1IPXMIBSerialFilterGroup = alcatelIND1IPXMIBSerialFilterGroup.setStatus('current') alcatelIND1IPXMIBKeepaliveSpoofGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 2, 2, 8)).setObjects(("ALCATEL-IND1-IPX-MIB", "alaSpxKeepaliveSpoofMode"), ("ALCATEL-IND1-IPX-MIB", "alaSpxKeepaliveSpoofRowStatus")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): alcatelIND1IPXMIBKeepaliveSpoofGroup = alcatelIND1IPXMIBKeepaliveSpoofGroup.setStatus('current') alcatelIND1IPXMIBType20Group = ObjectGroup((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 2, 2, 9)).setObjects(("ALCATEL-IND1-IPX-MIB", "alaIpxType20Mode"), ("ALCATEL-IND1-IPX-MIB", "alaIpxType20RowStatus")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): alcatelIND1IPXMIBType20Group = alcatelIND1IPXMIBType20Group.setStatus('current') alcatelIND1IPXMIBTimerGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 2, 2, 10)).setObjects(("ALCATEL-IND1-IPX-MIB", "alaIpxTimerRip"), ("ALCATEL-IND1-IPX-MIB", "alaIpxTimerSap"), ("ALCATEL-IND1-IPX-MIB", "alaIpxTimerRowStatus")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): alcatelIND1IPXMIBTimerGroup = alcatelIND1IPXMIBTimerGroup.setStatus('current') mibBuilder.exportSymbols("ALCATEL-IND1-IPX-MIB", alcatelIND1IPXMIBTimerGroup=alcatelIND1IPXMIBTimerGroup, alaIpxRipSapFilterNetMask=alaIpxRipSapFilterNetMask, alcatelIND1IPXMIBConformance=alcatelIND1IPXMIBConformance, alcatelIND1IPXMIBExtMsgGroup=alcatelIND1IPXMIBExtMsgGroup, alcatelIND1IPXMIBCompliances=alcatelIND1IPXMIBCompliances, HostAddress=HostAddress, alaSpxKeepaliveSpoofMode=alaSpxKeepaliveSpoofMode, alaIpxExtMsgEntry=alaIpxExtMsgEntry, alaIpxDefRouteNet=alaIpxDefRouteNet, alaIpxStaticRouteNetNum=alaIpxStaticRouteNetNum, alaIpxType20Table=alaIpxType20Table, alaIpxStaticRouteNextHopNet=alaIpxStaticRouteNextHopNet, alaIpxDefRouteRowStatus=alaIpxDefRouteRowStatus, PYSNMP_MODULE_ID=alcatelIND1IPXMIB, alaSpxKeepaliveSpoofRowStatus=alaSpxKeepaliveSpoofRowStatus, alaIpxStaticRouteTicks=alaIpxStaticRouteTicks, alaIpxTimerVlanId=alaIpxTimerVlanId, alcatelIND1IPXMIBWatchdogSpoofGroup=alcatelIND1IPXMIBWatchdogSpoofGroup, alaIpxTimerRowStatus=alaIpxTimerRowStatus, alaIpxWatchdogSpoofTable=alaIpxWatchdogSpoofTable, alaSpxKeepaliveSpoofVlanId=alaSpxKeepaliveSpoofVlanId, alaIpxRipSapFilterRowStatus=alaIpxRipSapFilterRowStatus, alcatelIND1IPXMIBSerialFilterGroup=alcatelIND1IPXMIBSerialFilterGroup, alcatelIND1IPXMIBStaticRouteGroup=alcatelIND1IPXMIBStaticRouteGroup, alaIpxRipSapFilterNodeMask=alaIpxRipSapFilterNodeMask, alaIpxTimerRip=alaIpxTimerRip, alaIpxTimerSap=alaIpxTimerSap, alaIpxRipSapFilterVlanId=alaIpxRipSapFilterVlanId, alaIpxRipSapFilterNode=alaIpxRipSapFilterNode, alaIpxSerialFilterVlanId=alaIpxSerialFilterVlanId, alaIpxRoutingGroup=alaIpxRoutingGroup, alaIpxStaticRouteHopCount=alaIpxStaticRouteHopCount, alcatelIND1IPXMIBType20Group=alcatelIND1IPXMIBType20Group, alaIpxTimerTable=alaIpxTimerTable, alaIpxType20VlanId=alaIpxType20VlanId, alaIpxWatchdogSpoofEntry=alaIpxWatchdogSpoofEntry, alaIpxFilterGroup=alaIpxFilterGroup, alaIpxRipSapFilterTable=alaIpxRipSapFilterTable, alaIpxRipSapFilterMode=alaIpxRipSapFilterMode, alcatelIND1IPXMIBObjects=alcatelIND1IPXMIBObjects, alaIpxSerialFilterTable=alaIpxSerialFilterTable, alaIpxDefRouteTable=alaIpxDefRouteTable, alaIpxType20Mode=alaIpxType20Mode, alaIpxRipSapFilterNet=alaIpxRipSapFilterNet, alaIpxType20RowStatus=alaIpxType20RowStatus, alaIpxTimerGroup=alaIpxTimerGroup, alaIpxStaticRouteRowStatus=alaIpxStaticRouteRowStatus, alaIpxSerialFilterEntry=alaIpxSerialFilterEntry, alaIpxDefRouteNode=alaIpxDefRouteNode, alcatelIND1IPXMIBFlushGroup=alcatelIND1IPXMIBFlushGroup, alaIpxRipSapFilterSvcType=alaIpxRipSapFilterSvcType, NetNumber=NetNumber, alaIpxExtMsgTable=alaIpxExtMsgTable, alcatelIND1IPXMIBGroups=alcatelIND1IPXMIBGroups, alaSpxKeepaliveSpoofEntry=alaSpxKeepaliveSpoofEntry, alaIpxExtMsgRowStatus=alaIpxExtMsgRowStatus, alaIpxTimerEntry=alaIpxTimerEntry, alaIpxStaticRouteNextHopNode=alaIpxStaticRouteNextHopNode, alcatelIND1IPXMIBDefRouteGroup=alcatelIND1IPXMIBDefRouteGroup, alcatelIND1IPXMIBCompliance=alcatelIND1IPXMIBCompliance, alaIpxStaticRouteEntry=alaIpxStaticRouteEntry, alaIpxSerialFilterMode=alaIpxSerialFilterMode, alaSpxKeepaliveSpoofTable=alaSpxKeepaliveSpoofTable, alaIpxDefRouteVlanId=alaIpxDefRouteVlanId, alaIpxRipSapFilterEntry=alaIpxRipSapFilterEntry, alaIpxWatchdogSpoofRowStatus=alaIpxWatchdogSpoofRowStatus, alaIpxExtMsgMode=alaIpxExtMsgMode, alaIpxSerialFilterRowStatus=alaIpxSerialFilterRowStatus, alcatelIND1IPXMIB=alcatelIND1IPXMIB, alaIpxRipSapFilterType=alaIpxRipSapFilterType, alaIpxDefRouteEntry=alaIpxDefRouteEntry, alaIpxStaticRouteTable=alaIpxStaticRouteTable, alcatelIND1IPXMIBKeepaliveSpoofGroup=alcatelIND1IPXMIBKeepaliveSpoofGroup, alaIpxWatchdogSpoofMode=alaIpxWatchdogSpoofMode, alcatelIND1IPXMIBRipSapFilterGroup=alcatelIND1IPXMIBRipSapFilterGroup, alaIpxFlush=alaIpxFlush, alaIpxExtMsgVlanId=alaIpxExtMsgVlanId, alaIpxWatchdogSpoofVlanId=alaIpxWatchdogSpoofVlanId, alaIpxType20Entry=alaIpxType20Entry)
(routing_ind1_ipx,) = mibBuilder.importSymbols('ALCATEL-IND1-BASE', 'routingIND1Ipx') (octet_string, integer, object_identifier) = mibBuilder.importSymbols('ASN1', 'OctetString', 'Integer', 'ObjectIdentifier') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (constraints_intersection, constraints_union, value_size_constraint, single_value_constraint, value_range_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ConstraintsIntersection', 'ConstraintsUnion', 'ValueSizeConstraint', 'SingleValueConstraint', 'ValueRangeConstraint') (module_compliance, object_group, notification_group) = mibBuilder.importSymbols('SNMPv2-CONF', 'ModuleCompliance', 'ObjectGroup', 'NotificationGroup') (module_identity, time_ticks, integer32, iso, counter32, notification_type, ip_address, mib_identifier, unsigned32, object_identity, bits, counter64, gauge32, mib_scalar, mib_table, mib_table_row, mib_table_column) = mibBuilder.importSymbols('SNMPv2-SMI', 'ModuleIdentity', 'TimeTicks', 'Integer32', 'iso', 'Counter32', 'NotificationType', 'IpAddress', 'MibIdentifier', 'Unsigned32', 'ObjectIdentity', 'Bits', 'Counter64', 'Gauge32', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn') (row_status, display_string, textual_convention) = mibBuilder.importSymbols('SNMPv2-TC', 'RowStatus', 'DisplayString', 'TextualConvention') alcatel_ind1_ipxmib = module_identity((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1)) alcatelIND1IPXMIB.setRevisions(('2007-04-03 00:00',)) if mibBuilder.loadTexts: alcatelIND1IPXMIB.setLastUpdated('200704030000Z') if mibBuilder.loadTexts: alcatelIND1IPXMIB.setOrganization('Alcatel-Lucent') alcatel_ind1_ipxmib_objects = mib_identifier((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 1)) class Netnumber(TextualConvention, OctetString): status = 'current' subtype_spec = OctetString.subtypeSpec + value_size_constraint(4, 4) fixed_length = 4 class Hostaddress(TextualConvention, OctetString): status = 'current' subtype_spec = OctetString.subtypeSpec + value_size_constraint(6, 6) fixed_length = 6 ala_ipx_routing_group = object_identity((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 1, 1)) if mibBuilder.loadTexts: alaIpxRoutingGroup.setStatus('current') ala_ipx_filter_group = object_identity((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 1, 2)) if mibBuilder.loadTexts: alaIpxFilterGroup.setStatus('current') ala_ipx_timer_group = object_identity((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 1, 3)) if mibBuilder.loadTexts: alaIpxTimerGroup.setStatus('current') ala_ipx_static_route_table = mib_table((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 1, 1, 1)) if mibBuilder.loadTexts: alaIpxStaticRouteTable.setStatus('current') ala_ipx_static_route_entry = mib_table_row((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 1, 1, 1, 1)).setIndexNames((0, 'ALCATEL-IND1-IPX-MIB', 'alaIpxStaticRouteNetNum')) if mibBuilder.loadTexts: alaIpxStaticRouteEntry.setStatus('current') ala_ipx_static_route_net_num = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 1, 1, 1, 1, 1), net_number().clone(hexValue='00000000')) if mibBuilder.loadTexts: alaIpxStaticRouteNetNum.setStatus('current') ala_ipx_static_route_next_hop_net = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 1, 1, 1, 1, 2), net_number().clone(hexValue='00000000')).setMaxAccess('readcreate') if mibBuilder.loadTexts: alaIpxStaticRouteNextHopNet.setStatus('current') ala_ipx_static_route_next_hop_node = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 1, 1, 1, 1, 3), host_address().clone(hexValue='000000000000')).setMaxAccess('readcreate') if mibBuilder.loadTexts: alaIpxStaticRouteNextHopNode.setStatus('current') ala_ipx_static_route_ticks = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 1, 1, 1, 1, 4), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readcreate') if mibBuilder.loadTexts: alaIpxStaticRouteTicks.setStatus('current') ala_ipx_static_route_hop_count = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 1, 1, 1, 1, 5), integer32().subtype(subtypeSpec=value_range_constraint(0, 16))).setMaxAccess('readcreate') if mibBuilder.loadTexts: alaIpxStaticRouteHopCount.setStatus('current') ala_ipx_static_route_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 1, 1, 1, 1, 6), row_status()).setMaxAccess('readcreate') if mibBuilder.loadTexts: alaIpxStaticRouteRowStatus.setStatus('current') ala_ipx_def_route_table = mib_table((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 1, 1, 2)) if mibBuilder.loadTexts: alaIpxDefRouteTable.setStatus('current') ala_ipx_def_route_entry = mib_table_row((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 1, 1, 2, 1)).setIndexNames((0, 'ALCATEL-IND1-IPX-MIB', 'alaIpxDefRouteVlanId')) if mibBuilder.loadTexts: alaIpxDefRouteEntry.setStatus('current') ala_ipx_def_route_vlan_id = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 1, 1, 2, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 4094))) if mibBuilder.loadTexts: alaIpxDefRouteVlanId.setStatus('current') ala_ipx_def_route_net = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 1, 1, 2, 1, 2), net_number().clone(hexValue='00000000')).setMaxAccess('readcreate') if mibBuilder.loadTexts: alaIpxDefRouteNet.setStatus('current') ala_ipx_def_route_node = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 1, 1, 2, 1, 3), host_address().clone(hexValue='000000000000')).setMaxAccess('readcreate') if mibBuilder.loadTexts: alaIpxDefRouteNode.setStatus('current') ala_ipx_def_route_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 1, 1, 2, 1, 4), row_status()).setMaxAccess('readcreate') if mibBuilder.loadTexts: alaIpxDefRouteRowStatus.setStatus('current') ala_ipx_ext_msg_table = mib_table((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 1, 1, 3)) if mibBuilder.loadTexts: alaIpxExtMsgTable.setStatus('current') ala_ipx_ext_msg_entry = mib_table_row((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 1, 1, 3, 1)).setIndexNames((0, 'ALCATEL-IND1-IPX-MIB', 'alaIpxExtMsgVlanId')) if mibBuilder.loadTexts: alaIpxExtMsgEntry.setStatus('current') ala_ipx_ext_msg_vlan_id = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 1, 1, 3, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 4094))) if mibBuilder.loadTexts: alaIpxExtMsgVlanId.setStatus('current') ala_ipx_ext_msg_mode = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 1, 1, 3, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('disabled', 1), ('enabled', 2))).clone('disabled')).setMaxAccess('readcreate') if mibBuilder.loadTexts: alaIpxExtMsgMode.setStatus('current') ala_ipx_ext_msg_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 1, 1, 3, 1, 3), row_status()).setMaxAccess('readcreate') if mibBuilder.loadTexts: alaIpxExtMsgRowStatus.setStatus('current') ala_ipx_flush = mib_scalar((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 1, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('rip', 1), ('sap', 2), ('both', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: alaIpxFlush.setStatus('current') ala_ipx_rip_sap_filter_table = mib_table((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 1, 2, 1)) if mibBuilder.loadTexts: alaIpxRipSapFilterTable.setStatus('current') ala_ipx_rip_sap_filter_entry = mib_table_row((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 1, 2, 1, 1)).setIndexNames((0, 'ALCATEL-IND1-IPX-MIB', 'alaIpxRipSapFilterVlanId'), (0, 'ALCATEL-IND1-IPX-MIB', 'alaIpxRipSapFilterType'), (0, 'ALCATEL-IND1-IPX-MIB', 'alaIpxRipSapFilterNet'), (0, 'ALCATEL-IND1-IPX-MIB', 'alaIpxRipSapFilterNetMask'), (0, 'ALCATEL-IND1-IPX-MIB', 'alaIpxRipSapFilterNode'), (0, 'ALCATEL-IND1-IPX-MIB', 'alaIpxRipSapFilterNodeMask'), (0, 'ALCATEL-IND1-IPX-MIB', 'alaIpxRipSapFilterSvcType')) if mibBuilder.loadTexts: alaIpxRipSapFilterEntry.setStatus('current') ala_ipx_rip_sap_filter_vlan_id = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 1, 2, 1, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 4094))) if mibBuilder.loadTexts: alaIpxRipSapFilterVlanId.setStatus('current') ala_ipx_rip_sap_filter_type = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 1, 2, 1, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5))).clone(namedValues=named_values(('sapOutput', 1), ('sapInput', 2), ('gnsOutput', 3), ('ripOutput', 4), ('ripInput', 5))).clone(1)) if mibBuilder.loadTexts: alaIpxRipSapFilterType.setStatus('current') ala_ipx_rip_sap_filter_net = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 1, 2, 1, 1, 3), net_number().clone(hexValue='00000000')) if mibBuilder.loadTexts: alaIpxRipSapFilterNet.setStatus('current') ala_ipx_rip_sap_filter_net_mask = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 1, 2, 1, 1, 4), net_number().clone(hexValue='ffffffff')) if mibBuilder.loadTexts: alaIpxRipSapFilterNetMask.setStatus('current') ala_ipx_rip_sap_filter_node = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 1, 2, 1, 1, 5), host_address().clone(hexValue='000000000000')) if mibBuilder.loadTexts: alaIpxRipSapFilterNode.setStatus('current') ala_ipx_rip_sap_filter_node_mask = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 1, 2, 1, 1, 6), host_address().clone(hexValue='ffffffffffff')) if mibBuilder.loadTexts: alaIpxRipSapFilterNodeMask.setStatus('current') ala_ipx_rip_sap_filter_svc_type = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 1, 2, 1, 1, 7), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535)).clone(65535)) if mibBuilder.loadTexts: alaIpxRipSapFilterSvcType.setStatus('current') ala_ipx_rip_sap_filter_mode = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 1, 2, 1, 1, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('allow', 1), ('block', 2))).clone('allow')).setMaxAccess('readcreate') if mibBuilder.loadTexts: alaIpxRipSapFilterMode.setStatus('current') ala_ipx_rip_sap_filter_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 1, 2, 1, 1, 10), row_status()).setMaxAccess('readcreate') if mibBuilder.loadTexts: alaIpxRipSapFilterRowStatus.setStatus('current') ala_ipx_watchdog_spoof_table = mib_table((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 1, 2, 2)) if mibBuilder.loadTexts: alaIpxWatchdogSpoofTable.setStatus('current') ala_ipx_watchdog_spoof_entry = mib_table_row((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 1, 2, 2, 1)).setIndexNames((0, 'ALCATEL-IND1-IPX-MIB', 'alaIpxWatchdogSpoofVlanId')) if mibBuilder.loadTexts: alaIpxWatchdogSpoofEntry.setStatus('current') ala_ipx_watchdog_spoof_vlan_id = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 1, 2, 2, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 4094))) if mibBuilder.loadTexts: alaIpxWatchdogSpoofVlanId.setStatus('current') ala_ipx_watchdog_spoof_mode = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 1, 2, 2, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('disabled', 1), ('enabled', 2))).clone('enabled')).setMaxAccess('readcreate') if mibBuilder.loadTexts: alaIpxWatchdogSpoofMode.setStatus('current') ala_ipx_watchdog_spoof_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 1, 2, 2, 1, 3), row_status()).setMaxAccess('readcreate') if mibBuilder.loadTexts: alaIpxWatchdogSpoofRowStatus.setStatus('current') ala_ipx_serial_filter_table = mib_table((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 1, 2, 3)) if mibBuilder.loadTexts: alaIpxSerialFilterTable.setStatus('current') ala_ipx_serial_filter_entry = mib_table_row((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 1, 2, 3, 1)).setIndexNames((0, 'ALCATEL-IND1-IPX-MIB', 'alaIpxSerialFilterVlanId')) if mibBuilder.loadTexts: alaIpxSerialFilterEntry.setStatus('current') ala_ipx_serial_filter_vlan_id = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 1, 2, 3, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 4094))) if mibBuilder.loadTexts: alaIpxSerialFilterVlanId.setStatus('current') ala_ipx_serial_filter_mode = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 1, 2, 3, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('disabled', 1), ('enabled', 2))).clone('enabled')).setMaxAccess('readcreate') if mibBuilder.loadTexts: alaIpxSerialFilterMode.setStatus('current') ala_ipx_serial_filter_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 1, 2, 3, 1, 3), row_status()).setMaxAccess('readcreate') if mibBuilder.loadTexts: alaIpxSerialFilterRowStatus.setStatus('current') ala_spx_keepalive_spoof_table = mib_table((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 1, 2, 4)) if mibBuilder.loadTexts: alaSpxKeepaliveSpoofTable.setStatus('current') ala_spx_keepalive_spoof_entry = mib_table_row((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 1, 2, 4, 1)).setIndexNames((0, 'ALCATEL-IND1-IPX-MIB', 'alaSpxKeepaliveSpoofVlanId')) if mibBuilder.loadTexts: alaSpxKeepaliveSpoofEntry.setStatus('current') ala_spx_keepalive_spoof_vlan_id = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 1, 2, 4, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 4094))) if mibBuilder.loadTexts: alaSpxKeepaliveSpoofVlanId.setStatus('current') ala_spx_keepalive_spoof_mode = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 1, 2, 4, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('disabled', 1), ('enabled', 2))).clone('enabled')).setMaxAccess('readcreate') if mibBuilder.loadTexts: alaSpxKeepaliveSpoofMode.setStatus('current') ala_spx_keepalive_spoof_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 1, 2, 4, 1, 3), row_status()).setMaxAccess('readcreate') if mibBuilder.loadTexts: alaSpxKeepaliveSpoofRowStatus.setStatus('current') ala_ipx_type20_table = mib_table((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 1, 2, 5)) if mibBuilder.loadTexts: alaIpxType20Table.setStatus('current') ala_ipx_type20_entry = mib_table_row((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 1, 2, 5, 1)).setIndexNames((0, 'ALCATEL-IND1-IPX-MIB', 'alaIpxType20VlanId')) if mibBuilder.loadTexts: alaIpxType20Entry.setStatus('current') ala_ipx_type20_vlan_id = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 1, 2, 5, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 4094))) if mibBuilder.loadTexts: alaIpxType20VlanId.setStatus('current') ala_ipx_type20_mode = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 1, 2, 5, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('disabled', 1), ('enabled', 2))).clone('enabled')).setMaxAccess('readcreate') if mibBuilder.loadTexts: alaIpxType20Mode.setStatus('current') ala_ipx_type20_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 1, 2, 5, 1, 3), row_status()).setMaxAccess('readcreate') if mibBuilder.loadTexts: alaIpxType20RowStatus.setStatus('current') ala_ipx_timer_table = mib_table((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 1, 3, 1)) if mibBuilder.loadTexts: alaIpxTimerTable.setStatus('current') ala_ipx_timer_entry = mib_table_row((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 1, 3, 1, 1)).setIndexNames((0, 'ALCATEL-IND1-IPX-MIB', 'alaIpxTimerVlanId')) if mibBuilder.loadTexts: alaIpxTimerEntry.setStatus('current') ala_ipx_timer_vlan_id = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 1, 3, 1, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 4094))) if mibBuilder.loadTexts: alaIpxTimerVlanId.setStatus('current') ala_ipx_timer_sap = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 1, 3, 1, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(1, 180)).clone(60)).setMaxAccess('readcreate') if mibBuilder.loadTexts: alaIpxTimerSap.setStatus('current') ala_ipx_timer_rip = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 1, 3, 1, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(1, 180)).clone(60)).setMaxAccess('readcreate') if mibBuilder.loadTexts: alaIpxTimerRip.setStatus('current') ala_ipx_timer_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 1, 3, 1, 1, 4), row_status()).setMaxAccess('readcreate') if mibBuilder.loadTexts: alaIpxTimerRowStatus.setStatus('current') alcatel_ind1_ipxmib_conformance = mib_identifier((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 2)) alcatel_ind1_ipxmib_compliances = mib_identifier((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 2, 1)) alcatel_ind1_ipxmib_groups = mib_identifier((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 2, 2)) alcatel_ind1_ipxmib_compliance = module_compliance((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 2, 1, 1)).setObjects(('ALCATEL-IND1-IPX-MIB', 'alcatelIND1IPXMIBStaticRouteGroup'), ('ALCATEL-IND1-IPX-MIB', 'alcatelIND1IPXMIBDefRouteGroup'), ('ALCATEL-IND1-IPX-MIB', 'alcatelIND1IPXMIBExtMsgGroup'), ('ALCATEL-IND1-IPX-MIB', 'alcatelIND1IPXMIBFlushGroup'), ('ALCATEL-IND1-IPX-MIB', 'alcatelIND1IPXMIBRipSapFilterGroup'), ('ALCATEL-IND1-IPX-MIB', 'alcatelIND1IPXMIBWatchdogSpoofGroup'), ('ALCATEL-IND1-IPX-MIB', 'alcatelIND1IPXMIBSerialFilterGroup'), ('ALCATEL-IND1-IPX-MIB', 'alcatelIND1IPXMIBKeepaliveSpoofGroup'), ('ALCATEL-IND1-IPX-MIB', 'alcatelIND1IPXMIBType20Group'), ('ALCATEL-IND1-IPX-MIB', 'alcatelIND1IPXMIBTimerGroup')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): alcatel_ind1_ipxmib_compliance = alcatelIND1IPXMIBCompliance.setStatus('current') alcatel_ind1_ipxmib_static_route_group = object_group((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 2, 2, 1)).setObjects(('ALCATEL-IND1-IPX-MIB', 'alaIpxStaticRouteNextHopNet'), ('ALCATEL-IND1-IPX-MIB', 'alaIpxStaticRouteNextHopNode'), ('ALCATEL-IND1-IPX-MIB', 'alaIpxStaticRouteTicks'), ('ALCATEL-IND1-IPX-MIB', 'alaIpxStaticRouteHopCount'), ('ALCATEL-IND1-IPX-MIB', 'alaIpxStaticRouteRowStatus')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): alcatel_ind1_ipxmib_static_route_group = alcatelIND1IPXMIBStaticRouteGroup.setStatus('current') alcatel_ind1_ipxmib_def_route_group = object_group((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 2, 2, 2)).setObjects(('ALCATEL-IND1-IPX-MIB', 'alaIpxDefRouteNet'), ('ALCATEL-IND1-IPX-MIB', 'alaIpxDefRouteNode'), ('ALCATEL-IND1-IPX-MIB', 'alaIpxDefRouteRowStatus')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): alcatel_ind1_ipxmib_def_route_group = alcatelIND1IPXMIBDefRouteGroup.setStatus('current') alcatel_ind1_ipxmib_ext_msg_group = object_group((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 2, 2, 3)).setObjects(('ALCATEL-IND1-IPX-MIB', 'alaIpxExtMsgMode'), ('ALCATEL-IND1-IPX-MIB', 'alaIpxExtMsgRowStatus')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): alcatel_ind1_ipxmib_ext_msg_group = alcatelIND1IPXMIBExtMsgGroup.setStatus('current') alcatel_ind1_ipxmib_flush_group = object_group((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 2, 2, 4)).setObjects(('ALCATEL-IND1-IPX-MIB', 'alaIpxFlush')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): alcatel_ind1_ipxmib_flush_group = alcatelIND1IPXMIBFlushGroup.setStatus('current') alcatel_ind1_ipxmib_rip_sap_filter_group = object_group((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 2, 2, 5)).setObjects(('ALCATEL-IND1-IPX-MIB', 'alaIpxRipSapFilterMode'), ('ALCATEL-IND1-IPX-MIB', 'alaIpxRipSapFilterRowStatus')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): alcatel_ind1_ipxmib_rip_sap_filter_group = alcatelIND1IPXMIBRipSapFilterGroup.setStatus('current') alcatel_ind1_ipxmib_watchdog_spoof_group = object_group((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 2, 2, 6)).setObjects(('ALCATEL-IND1-IPX-MIB', 'alaIpxWatchdogSpoofMode'), ('ALCATEL-IND1-IPX-MIB', 'alaIpxWatchdogSpoofRowStatus')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): alcatel_ind1_ipxmib_watchdog_spoof_group = alcatelIND1IPXMIBWatchdogSpoofGroup.setStatus('current') alcatel_ind1_ipxmib_serial_filter_group = object_group((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 2, 2, 7)).setObjects(('ALCATEL-IND1-IPX-MIB', 'alaIpxSerialFilterMode'), ('ALCATEL-IND1-IPX-MIB', 'alaIpxSerialFilterRowStatus')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): alcatel_ind1_ipxmib_serial_filter_group = alcatelIND1IPXMIBSerialFilterGroup.setStatus('current') alcatel_ind1_ipxmib_keepalive_spoof_group = object_group((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 2, 2, 8)).setObjects(('ALCATEL-IND1-IPX-MIB', 'alaSpxKeepaliveSpoofMode'), ('ALCATEL-IND1-IPX-MIB', 'alaSpxKeepaliveSpoofRowStatus')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): alcatel_ind1_ipxmib_keepalive_spoof_group = alcatelIND1IPXMIBKeepaliveSpoofGroup.setStatus('current') alcatel_ind1_ipxmib_type20_group = object_group((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 2, 2, 9)).setObjects(('ALCATEL-IND1-IPX-MIB', 'alaIpxType20Mode'), ('ALCATEL-IND1-IPX-MIB', 'alaIpxType20RowStatus')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): alcatel_ind1_ipxmib_type20_group = alcatelIND1IPXMIBType20Group.setStatus('current') alcatel_ind1_ipxmib_timer_group = object_group((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 10, 8, 1, 2, 2, 10)).setObjects(('ALCATEL-IND1-IPX-MIB', 'alaIpxTimerRip'), ('ALCATEL-IND1-IPX-MIB', 'alaIpxTimerSap'), ('ALCATEL-IND1-IPX-MIB', 'alaIpxTimerRowStatus')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): alcatel_ind1_ipxmib_timer_group = alcatelIND1IPXMIBTimerGroup.setStatus('current') mibBuilder.exportSymbols('ALCATEL-IND1-IPX-MIB', alcatelIND1IPXMIBTimerGroup=alcatelIND1IPXMIBTimerGroup, alaIpxRipSapFilterNetMask=alaIpxRipSapFilterNetMask, alcatelIND1IPXMIBConformance=alcatelIND1IPXMIBConformance, alcatelIND1IPXMIBExtMsgGroup=alcatelIND1IPXMIBExtMsgGroup, alcatelIND1IPXMIBCompliances=alcatelIND1IPXMIBCompliances, HostAddress=HostAddress, alaSpxKeepaliveSpoofMode=alaSpxKeepaliveSpoofMode, alaIpxExtMsgEntry=alaIpxExtMsgEntry, alaIpxDefRouteNet=alaIpxDefRouteNet, alaIpxStaticRouteNetNum=alaIpxStaticRouteNetNum, alaIpxType20Table=alaIpxType20Table, alaIpxStaticRouteNextHopNet=alaIpxStaticRouteNextHopNet, alaIpxDefRouteRowStatus=alaIpxDefRouteRowStatus, PYSNMP_MODULE_ID=alcatelIND1IPXMIB, alaSpxKeepaliveSpoofRowStatus=alaSpxKeepaliveSpoofRowStatus, alaIpxStaticRouteTicks=alaIpxStaticRouteTicks, alaIpxTimerVlanId=alaIpxTimerVlanId, alcatelIND1IPXMIBWatchdogSpoofGroup=alcatelIND1IPXMIBWatchdogSpoofGroup, alaIpxTimerRowStatus=alaIpxTimerRowStatus, alaIpxWatchdogSpoofTable=alaIpxWatchdogSpoofTable, alaSpxKeepaliveSpoofVlanId=alaSpxKeepaliveSpoofVlanId, alaIpxRipSapFilterRowStatus=alaIpxRipSapFilterRowStatus, alcatelIND1IPXMIBSerialFilterGroup=alcatelIND1IPXMIBSerialFilterGroup, alcatelIND1IPXMIBStaticRouteGroup=alcatelIND1IPXMIBStaticRouteGroup, alaIpxRipSapFilterNodeMask=alaIpxRipSapFilterNodeMask, alaIpxTimerRip=alaIpxTimerRip, alaIpxTimerSap=alaIpxTimerSap, alaIpxRipSapFilterVlanId=alaIpxRipSapFilterVlanId, alaIpxRipSapFilterNode=alaIpxRipSapFilterNode, alaIpxSerialFilterVlanId=alaIpxSerialFilterVlanId, alaIpxRoutingGroup=alaIpxRoutingGroup, alaIpxStaticRouteHopCount=alaIpxStaticRouteHopCount, alcatelIND1IPXMIBType20Group=alcatelIND1IPXMIBType20Group, alaIpxTimerTable=alaIpxTimerTable, alaIpxType20VlanId=alaIpxType20VlanId, alaIpxWatchdogSpoofEntry=alaIpxWatchdogSpoofEntry, alaIpxFilterGroup=alaIpxFilterGroup, alaIpxRipSapFilterTable=alaIpxRipSapFilterTable, alaIpxRipSapFilterMode=alaIpxRipSapFilterMode, alcatelIND1IPXMIBObjects=alcatelIND1IPXMIBObjects, alaIpxSerialFilterTable=alaIpxSerialFilterTable, alaIpxDefRouteTable=alaIpxDefRouteTable, alaIpxType20Mode=alaIpxType20Mode, alaIpxRipSapFilterNet=alaIpxRipSapFilterNet, alaIpxType20RowStatus=alaIpxType20RowStatus, alaIpxTimerGroup=alaIpxTimerGroup, alaIpxStaticRouteRowStatus=alaIpxStaticRouteRowStatus, alaIpxSerialFilterEntry=alaIpxSerialFilterEntry, alaIpxDefRouteNode=alaIpxDefRouteNode, alcatelIND1IPXMIBFlushGroup=alcatelIND1IPXMIBFlushGroup, alaIpxRipSapFilterSvcType=alaIpxRipSapFilterSvcType, NetNumber=NetNumber, alaIpxExtMsgTable=alaIpxExtMsgTable, alcatelIND1IPXMIBGroups=alcatelIND1IPXMIBGroups, alaSpxKeepaliveSpoofEntry=alaSpxKeepaliveSpoofEntry, alaIpxExtMsgRowStatus=alaIpxExtMsgRowStatus, alaIpxTimerEntry=alaIpxTimerEntry, alaIpxStaticRouteNextHopNode=alaIpxStaticRouteNextHopNode, alcatelIND1IPXMIBDefRouteGroup=alcatelIND1IPXMIBDefRouteGroup, alcatelIND1IPXMIBCompliance=alcatelIND1IPXMIBCompliance, alaIpxStaticRouteEntry=alaIpxStaticRouteEntry, alaIpxSerialFilterMode=alaIpxSerialFilterMode, alaSpxKeepaliveSpoofTable=alaSpxKeepaliveSpoofTable, alaIpxDefRouteVlanId=alaIpxDefRouteVlanId, alaIpxRipSapFilterEntry=alaIpxRipSapFilterEntry, alaIpxWatchdogSpoofRowStatus=alaIpxWatchdogSpoofRowStatus, alaIpxExtMsgMode=alaIpxExtMsgMode, alaIpxSerialFilterRowStatus=alaIpxSerialFilterRowStatus, alcatelIND1IPXMIB=alcatelIND1IPXMIB, alaIpxRipSapFilterType=alaIpxRipSapFilterType, alaIpxDefRouteEntry=alaIpxDefRouteEntry, alaIpxStaticRouteTable=alaIpxStaticRouteTable, alcatelIND1IPXMIBKeepaliveSpoofGroup=alcatelIND1IPXMIBKeepaliveSpoofGroup, alaIpxWatchdogSpoofMode=alaIpxWatchdogSpoofMode, alcatelIND1IPXMIBRipSapFilterGroup=alcatelIND1IPXMIBRipSapFilterGroup, alaIpxFlush=alaIpxFlush, alaIpxExtMsgVlanId=alaIpxExtMsgVlanId, alaIpxWatchdogSpoofVlanId=alaIpxWatchdogSpoofVlanId, alaIpxType20Entry=alaIpxType20Entry)
command = input() command = command.strip() tokens = [] numbers = ['0','1','2','3','4','5','6','7','9'] if (command[:4]=="cout" and command[-1]==';'): index = 4 while(True): if(command[index]=='<' and command[index+1]=='<'): index+=2 s="" while(command[index]!='<' and command[index]!=';'): s+=command[index] index+=1 tokens.append(s) if (command[index]==';'): break elif (command[index]=='<'): continue else: print("ERROR!") exit() else: print("ERROR") exit() else: print("ERROR") exit() print(tokens) cout = [] for t in tokens: to = t.strip() num="" i=0 if (to[0]=='\"' and to[-1]=='\"'): cout.append(to[1:len(to)-1]) elif (to[i] in numbers): while(i!= len(to) and to[i] in numbers): num+=to[i] i+=1 if (i!=len(to)): print("ERROR") exit() else: cout.append(num) elif (to=="endl"): cout.append(-1) else: print("ERROR!!") exit() for p in cout: if p==-1: print('\n',end='') else: print(p,end=' ')
command = input() command = command.strip() tokens = [] numbers = ['0', '1', '2', '3', '4', '5', '6', '7', '9'] if command[:4] == 'cout' and command[-1] == ';': index = 4 while True: if command[index] == '<' and command[index + 1] == '<': index += 2 s = '' while command[index] != '<' and command[index] != ';': s += command[index] index += 1 tokens.append(s) if command[index] == ';': break elif command[index] == '<': continue else: print('ERROR!') exit() else: print('ERROR') exit() else: print('ERROR') exit() print(tokens) cout = [] for t in tokens: to = t.strip() num = '' i = 0 if to[0] == '"' and to[-1] == '"': cout.append(to[1:len(to) - 1]) elif to[i] in numbers: while i != len(to) and to[i] in numbers: num += to[i] i += 1 if i != len(to): print('ERROR') exit() else: cout.append(num) elif to == 'endl': cout.append(-1) else: print('ERROR!!') exit() for p in cout: if p == -1: print('\n', end='') else: print(p, end=' ')
result = { "due-date": "2018-11-13T00:00:00", "features": [ { "geometry": { "coordinates": [ [ [ 9.52487, 46.85514 ], [ 9.52212, 46.8517 ], [ 9.52433, 46.84804 ], [ 9.53032, 46.84769 ], [ 9.53377, 46.85042 ], [ 9.53482, 46.85252 ], [ 9.53253, 46.85529 ], [ 9.52487, 46.85514 ] ] ], "type": "Polygon" }, "properties": { "grade": "B", "uic_ref": 1 }, "type": "Feature" }, { "geometry": { "coordinates": [ [ [ 9.52538, 46.85437 ], [ 9.52431, 46.85209 ], [ 9.52566, 46.84971 ], [ 9.52948, 46.84958 ], [ 9.53216, 46.85214 ], [ 9.53055, 46.85425 ], [ 9.52538, 46.85437 ] ] ], "type": "Polygon" }, "properties": { "grade": "A", "uic_ref": 1 }, "type": "Feature" } ], "lower-bound": "06:00", "type": "FeatureCollection", "type-of-day": "Working Day", "type-of-interval": "Day", "upper-bound": "20:00" }
result = {'due-date': '2018-11-13T00:00:00', 'features': [{'geometry': {'coordinates': [[[9.52487, 46.85514], [9.52212, 46.8517], [9.52433, 46.84804], [9.53032, 46.84769], [9.53377, 46.85042], [9.53482, 46.85252], [9.53253, 46.85529], [9.52487, 46.85514]]], 'type': 'Polygon'}, 'properties': {'grade': 'B', 'uic_ref': 1}, 'type': 'Feature'}, {'geometry': {'coordinates': [[[9.52538, 46.85437], [9.52431, 46.85209], [9.52566, 46.84971], [9.52948, 46.84958], [9.53216, 46.85214], [9.53055, 46.85425], [9.52538, 46.85437]]], 'type': 'Polygon'}, 'properties': {'grade': 'A', 'uic_ref': 1}, 'type': 'Feature'}], 'lower-bound': '06:00', 'type': 'FeatureCollection', 'type-of-day': 'Working Day', 'type-of-interval': 'Day', 'upper-bound': '20:00'}
#!/usr/bin/env python # # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # # Michael A.G. Aivazis # California Institute of Technology # (C) 1998-2005 All Rights Reserved # # {LicenseText} # # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # def KeyboardAttributes(object): def identify(self, inspector): return inspector.onKeyboardAttributes(self) def __init__(self): self.accesskey = '' self.tabindex = '' return # version __id__ = "$Id: KeyboardAttributes.py,v 1.1 2005/03/20 07:22:58 aivazis Exp $" # End of file
def keyboard_attributes(object): def identify(self, inspector): return inspector.onKeyboardAttributes(self) def __init__(self): self.accesskey = '' self.tabindex = '' return __id__ = '$Id: KeyboardAttributes.py,v 1.1 2005/03/20 07:22:58 aivazis Exp $'
class Solution: def findLHS(self, nums: list) -> int: nums.sort() start_index = 0 l_count = 0 m_count = 0 LHS = 0 for i in range(len(nums)): if start_index == 0: l_count = 1 min_num = nums[i] start_index = 1 # max_num = None else: if nums[i] == min_num: l_count += 1 elif nums[i] - min_num == 1: max_num = nums[i] m_count += 1 elif m_count != 0 and (nums[i] - max_num == 1): min_num = max_num l_count = m_count m_count = 1 else: min_num = nums[i] l_count = 1 m_count = 0 # max_num = min_num + 1 if l_count and m_count and l_count + m_count > LHS: LHS = l_count + m_count return LHS nums = [1,3,2,2,5,2,3,7] nums = [1,2,3,4] nums = [1,1,1,1] nums = [1,3,5,7,9,11,13,15,17] nums = [1,2,-1,1,2,5,2,5,2] nums = [3,2,2,3,2,1,3,3,3,-2,0,3,2,1,0,3,1,0,1,3,0,3,3] s = Solution() print(s.findLHS(nums))
class Solution: def find_lhs(self, nums: list) -> int: nums.sort() start_index = 0 l_count = 0 m_count = 0 lhs = 0 for i in range(len(nums)): if start_index == 0: l_count = 1 min_num = nums[i] start_index = 1 elif nums[i] == min_num: l_count += 1 elif nums[i] - min_num == 1: max_num = nums[i] m_count += 1 elif m_count != 0 and nums[i] - max_num == 1: min_num = max_num l_count = m_count m_count = 1 else: min_num = nums[i] l_count = 1 m_count = 0 if l_count and m_count and (l_count + m_count > LHS): lhs = l_count + m_count return LHS nums = [1, 3, 2, 2, 5, 2, 3, 7] nums = [1, 2, 3, 4] nums = [1, 1, 1, 1] nums = [1, 3, 5, 7, 9, 11, 13, 15, 17] nums = [1, 2, -1, 1, 2, 5, 2, 5, 2] nums = [3, 2, 2, 3, 2, 1, 3, 3, 3, -2, 0, 3, 2, 1, 0, 3, 1, 0, 1, 3, 0, 3, 3] s = solution() print(s.findLHS(nums))
MAX_WORD_SENTENCE = 40 # VECTORIZATIONS TDIDF_EMBEDDING = 'tdidf' TOKENIZER = 'tokenizer' # IMBALANCE SMOTE_IMBALANCE = 'smote' # DATASET TYPES FINANCIAL_DATASET = 'financial_phrases_bank' MOVIE_DATASET = 'movie_data' SST_DATASET = 'sst_dataset' TWITTER_DATASET = 'twitter_data' YAHOO_DATASET = 'yahoo_data' NN_DATASET = 'nn_dataset' POLYGLON_DATASET = 'polyglon_data' # MODELS LOG_REG = 'logistic_regression' VADER = 'vader' SPACY = 'spacy' CONV_MODEL = 'conv_model' BERT_MODEL = 'bert_model' TRANSFOMER_MODEL = 'transformer_model' # RESOURCES TSLA_PRELOAD = 'resources/twitter_dataset/TSLA_preload' AAPL_PRELOAD = 'resources/yahoo_dataset/AAPL-news-cleaned_preload' TSLA_SENTIMENT = 'resources/twitter_dataset/TSLA_sentiment' AAPL_SENTIMENT = 'resources/yahoo_dataset/AAPL-news-cleaned_sentiment'
max_word_sentence = 40 tdidf_embedding = 'tdidf' tokenizer = 'tokenizer' smote_imbalance = 'smote' financial_dataset = 'financial_phrases_bank' movie_dataset = 'movie_data' sst_dataset = 'sst_dataset' twitter_dataset = 'twitter_data' yahoo_dataset = 'yahoo_data' nn_dataset = 'nn_dataset' polyglon_dataset = 'polyglon_data' log_reg = 'logistic_regression' vader = 'vader' spacy = 'spacy' conv_model = 'conv_model' bert_model = 'bert_model' transfomer_model = 'transformer_model' tsla_preload = 'resources/twitter_dataset/TSLA_preload' aapl_preload = 'resources/yahoo_dataset/AAPL-news-cleaned_preload' tsla_sentiment = 'resources/twitter_dataset/TSLA_sentiment' aapl_sentiment = 'resources/yahoo_dataset/AAPL-news-cleaned_sentiment'
__all__ = [ 'VGG', 'vgg11', 'vgg11_bn', 'vgg13', 'vgg13_bn', 'vgg16', 'vgg16_bn', 'vgg19_bn', 'vgg19', ] model_urls = { 'vgg11': 'https://download.pytorch.org/models/vgg11-bbd30ac9.pth', 'vgg13': 'https://download.pytorch.org/models/vgg13-c768596a.pth', 'vgg16': 'https://download.pytorch.org/models/vgg16-397923af.pth', 'vgg19': 'https://download.pytorch.org/models/vgg19-dcbb9e9d.pth', 'vgg11_bn': 'https://download.pytorch.org/models/vgg11_bn-6002323d.pth', 'vgg13_bn': 'https://download.pytorch.org/models/vgg13_bn-abd245e5.pth', 'vgg16_bn': 'https://download.pytorch.org/models/vgg16_bn-6c64b313.pth', 'vgg19_bn': 'https://download.pytorch.org/models/vgg19_bn-c79401a0.pth', } cfg = { 'VGG11': [64, 'M', 128, 'M', 256, 256, 'M', 512, 512, 'M', 512, 512, 'M'], 'VGG13': [64, 64, 'M', 128, 128, 'M', 256, 256, 'M', 512, 512, 'M', 512, 512, 'M'], 'VGG16': [64, 64, 'M', 128, 128, 'M', 256, 256, 256, 'M', 512, 512, 512, 'M', 512, 512, 512, 'M'], 'VGG19': [64, 64, 'M', 128, 128, 'M', 256, 256, 256, 256, 'M', 512, 512, 512, 512, 'M', 512, 512, 512, 512, 'M'], } dtype=object class VGG(nn.Module): def __init__(self, vgg_name): super(VGG, self).__init__() self.features = self._make_layers(cfg[vgg_name]) self.classifier = nn.Sequential( nn.Linear(512, 512), nn.ReLU(True), nn.Linear(512, 512), nn.ReLU(True), nn.Linear(512, 10) ) def forward(self, x): out = self.features(x) out = out.view(out.size(0), -1) out = self.classifier(out) output = F.log_softmax(out, dim=1) return output def _make_layers(self, cfg): layers = [] in_channels = 3 for x in cfg: if x == 'M': layers += [nn.MaxPool2d(kernel_size=2, stride=2)] else: layers += [nn.Conv2d(in_channels, x, kernel_size=3, padding=1), nn.BatchNorm2d(x), nn.ReLU(inplace=True)] in_channels = x layers += [nn.AvgPool2d(kernel_size=1, stride=1)] return nn.Sequential(*layers) def baseline_data(num): xtrain, ytrain, xtmp,ytmp = get_cifar10() x , y = shuffle_list_data(xtrain, ytrain) x, y = x[:num], y[:num] transform, _ = get_default_data_transforms(train=True, verbose=False) loader = torch.utils.data.DataLoader(CustomImageDataset(x, y, transform), batch_size=16, shuffle=True) return loader def client_update(client_model, optimizer, train_loader, epoch=5): model.train() for e in range(epoch): for batch_idx, (data, target) in enumerate(train_loader): data, target = data.cuda(), target.cuda() optimizer.zero_grad() output = client_model(data) loss = F.nll_loss(output, target) loss.backward() optimizer.step() return loss.item() def client_syn(client_model, global_model): client_model.load_state_dict(global_model.state_dict()) def server_aggregate(global_model, client_models,client_lens): total = sum(client_lens) n = len(client_models) global_dict = global_model.state_dict() for k in global_dict.keys(): global_dict[k] = torch.stack([client_models[i].state_dict()[k].float()*(n*client_lens[i]/total) for i in range(len(client_models))], 0).mean(0) global_model.load_state_dict(global_dict) for model in client_models: model.load_state_dict(global_model.state_dict()) def test(global_model, test_loader): model.eval() test_loss = 0 correct = 0 with torch.no_grad(): for data, target in test_loader: data, target = data.cuda(), target.cuda() output = global_model(data) test_loss += F.nll_loss(output, target, reduction='sum').item() # sum up batch loss pred = output.argmax(dim=1, keepdim=True) # get the index of the max log-probability correct += pred.eq(target.view_as(pred)).sum().item() test_loss /= len(test_loader.dataset) acc = correct / len(test_loader.dataset) print('comm-round: {} | average train loss {%0.3g} | test loss {%0.3g} | test acc: {%0.3f}' % (r, loss_retrain / num_selected, test_loss, acc)) return test_loss, acc classes_pc = 2 num_clients = 20 num_selected = 6 num_rounds = 5 epochs = 2 batch_size = 32 baseline_num = 100 retrain_epochs = 2 #### global model ########## global_model = VGG('VGG19').cuda() ############# client models ############################### client_models = [ VGG('VGG19').cuda() for _ in range(num_selected)] for model in client_models: model.load_state_dict(global_model.state_dict()) ### initial synchronizing with global modle #include Devise::TestHelpers, type: :controller ###### optimizers ################ opt = [optim.SGD(model.parameters(), lr=0.01) for model in client_models] def baseline_data(num): xtrain, ytrain, xtmp,ytmp = get_cifar10() x , y = shuffle_list_data(xtrain, ytrain) x, y = x[:num], y[:num] transform, _ = get_default_data_transforms(train=True, verbose=False) loader = torch.utils.data.DataLoader(CustomImageDataset(x, y, transform), batch_size=16, shuffle=True) return loader ####### baseline data ############ loader_fixed = baseline_data(baseline_num) train_loader, test_loader = get_data_loaders(classes_pc=classes_pc, nclients= num_clients, batch_size=batch_size,verbose=True) losses_train = [] losses_test = [] acc_test = [] losses_retrain=[] np.warnings.filterwarnings('ignore', category=np.VisibleDeprecationWarning) def client_syn(client_model, global_model): client_model.load_state_dict(global_model.state_dict()) def client_update(client_model, optimizer, train_loader, epoch=5): model.train() for e in range(epoch): for batch_idx, (data, target) in enumerate(train_loader): data, target = data.cuda(), target.cuda() optimizer.zero_grad() output = client_model(data) loss = F.nll_loss(output, target) loss.backward() optimizer.step() return loss.item() def test(global_model, test_loader): model.eval() test_loss = 0 correct = 0 with torch.no_grad(): for data, target in test_loader: data, target = data.cuda(), target.cuda() output = global_model(data) test_loss += F.nll_loss(output, target, reduction='sum').item() # sum up batch loss pred = output.argmax(dim=1, keepdim=True) # get the index of the max log-probability correct += pred.eq(target.view_as(pred)).sum().item() test_loss /= len(test_loader.dataset) acc = correct / len(test_loader.dataset) print('comm-round: {} | average train loss {%0.3g} | test loss {%0.3g} | test acc: {%0.3f}' % (r, loss_retrain / num_selected, test_loss, acc)) return test_loss, acc # Runnining FL for r in range(num_rounds): #Communication round # select random clients client_idx = np.random.permutation(num_clients)[:num_selected] client_lens = [len(train_loader[idx]) for idx in client_idx] # client update loss = 0 for i in tqdm(range(num_selected)): client_syn(client_models[i], global_model) loss += client_update(client_models[i], opt[i], train_loader[client_idx[i]], epochs) losses_train.append(loss) # server aggregate #### retraining on the global server loss_retrain =0 for i in tqdm(range(num_selected)): loss_retrain+= client_update(client_models[i], opt[i], loader_fixed) losses_retrain.append(loss_retrain) def test(global_model, test_loader): model.eval() test_loss = 0 correct = 0 with torch.no_grad(): for data, target in test_loader: data, target = data.cuda(), target.cuda() output = global_model(data) test_loss += F.nll_loss(output, target, reduction='sum').item() # sum up batch loss pred = output.argmax(dim=1, keepdim=True) # get the index of the max log-probability correct += pred.eq(target.view_as(pred)).sum().item() test_loss /= len(test_loader.dataset) acc = correct / len(test_loader.dataset) return test_loss, acc def server_aggregate(global_model, client_models,client_lens): test_loss, acc = test(global_model, test_loader) losses_test.append(test_loss) acc_test.append(acc) print('%d-th round' % r) #print('average train loss %0.3g | test loss %0.3g | test acc: %0.3f' % (loss_retrain / num_selected, test_loss, acc))
__all__ = ['VGG', 'vgg11', 'vgg11_bn', 'vgg13', 'vgg13_bn', 'vgg16', 'vgg16_bn', 'vgg19_bn', 'vgg19'] model_urls = {'vgg11': 'https://download.pytorch.org/models/vgg11-bbd30ac9.pth', 'vgg13': 'https://download.pytorch.org/models/vgg13-c768596a.pth', 'vgg16': 'https://download.pytorch.org/models/vgg16-397923af.pth', 'vgg19': 'https://download.pytorch.org/models/vgg19-dcbb9e9d.pth', 'vgg11_bn': 'https://download.pytorch.org/models/vgg11_bn-6002323d.pth', 'vgg13_bn': 'https://download.pytorch.org/models/vgg13_bn-abd245e5.pth', 'vgg16_bn': 'https://download.pytorch.org/models/vgg16_bn-6c64b313.pth', 'vgg19_bn': 'https://download.pytorch.org/models/vgg19_bn-c79401a0.pth'} cfg = {'VGG11': [64, 'M', 128, 'M', 256, 256, 'M', 512, 512, 'M', 512, 512, 'M'], 'VGG13': [64, 64, 'M', 128, 128, 'M', 256, 256, 'M', 512, 512, 'M', 512, 512, 'M'], 'VGG16': [64, 64, 'M', 128, 128, 'M', 256, 256, 256, 'M', 512, 512, 512, 'M', 512, 512, 512, 'M'], 'VGG19': [64, 64, 'M', 128, 128, 'M', 256, 256, 256, 256, 'M', 512, 512, 512, 512, 'M', 512, 512, 512, 512, 'M']} dtype = object class Vgg(nn.Module): def __init__(self, vgg_name): super(VGG, self).__init__() self.features = self._make_layers(cfg[vgg_name]) self.classifier = nn.Sequential(nn.Linear(512, 512), nn.ReLU(True), nn.Linear(512, 512), nn.ReLU(True), nn.Linear(512, 10)) def forward(self, x): out = self.features(x) out = out.view(out.size(0), -1) out = self.classifier(out) output = F.log_softmax(out, dim=1) return output def _make_layers(self, cfg): layers = [] in_channels = 3 for x in cfg: if x == 'M': layers += [nn.MaxPool2d(kernel_size=2, stride=2)] else: layers += [nn.Conv2d(in_channels, x, kernel_size=3, padding=1), nn.BatchNorm2d(x), nn.ReLU(inplace=True)] in_channels = x layers += [nn.AvgPool2d(kernel_size=1, stride=1)] return nn.Sequential(*layers) def baseline_data(num): (xtrain, ytrain, xtmp, ytmp) = get_cifar10() (x, y) = shuffle_list_data(xtrain, ytrain) (x, y) = (x[:num], y[:num]) (transform, _) = get_default_data_transforms(train=True, verbose=False) loader = torch.utils.data.DataLoader(custom_image_dataset(x, y, transform), batch_size=16, shuffle=True) return loader def client_update(client_model, optimizer, train_loader, epoch=5): model.train() for e in range(epoch): for (batch_idx, (data, target)) in enumerate(train_loader): (data, target) = (data.cuda(), target.cuda()) optimizer.zero_grad() output = client_model(data) loss = F.nll_loss(output, target) loss.backward() optimizer.step() return loss.item() def client_syn(client_model, global_model): client_model.load_state_dict(global_model.state_dict()) def server_aggregate(global_model, client_models, client_lens): total = sum(client_lens) n = len(client_models) global_dict = global_model.state_dict() for k in global_dict.keys(): global_dict[k] = torch.stack([client_models[i].state_dict()[k].float() * (n * client_lens[i] / total) for i in range(len(client_models))], 0).mean(0) global_model.load_state_dict(global_dict) for model in client_models: model.load_state_dict(global_model.state_dict()) def test(global_model, test_loader): model.eval() test_loss = 0 correct = 0 with torch.no_grad(): for (data, target) in test_loader: (data, target) = (data.cuda(), target.cuda()) output = global_model(data) test_loss += F.nll_loss(output, target, reduction='sum').item() pred = output.argmax(dim=1, keepdim=True) correct += pred.eq(target.view_as(pred)).sum().item() test_loss /= len(test_loader.dataset) acc = correct / len(test_loader.dataset) print('comm-round: {} | average train loss {%0.3g} | test loss {%0.3g} | test acc: {%0.3f}' % (r, loss_retrain / num_selected, test_loss, acc)) return (test_loss, acc) classes_pc = 2 num_clients = 20 num_selected = 6 num_rounds = 5 epochs = 2 batch_size = 32 baseline_num = 100 retrain_epochs = 2 global_model = vgg('VGG19').cuda() client_models = [vgg('VGG19').cuda() for _ in range(num_selected)] for model in client_models: model.load_state_dict(global_model.state_dict()) opt = [optim.SGD(model.parameters(), lr=0.01) for model in client_models] def baseline_data(num): (xtrain, ytrain, xtmp, ytmp) = get_cifar10() (x, y) = shuffle_list_data(xtrain, ytrain) (x, y) = (x[:num], y[:num]) (transform, _) = get_default_data_transforms(train=True, verbose=False) loader = torch.utils.data.DataLoader(custom_image_dataset(x, y, transform), batch_size=16, shuffle=True) return loader loader_fixed = baseline_data(baseline_num) (train_loader, test_loader) = get_data_loaders(classes_pc=classes_pc, nclients=num_clients, batch_size=batch_size, verbose=True) losses_train = [] losses_test = [] acc_test = [] losses_retrain = [] np.warnings.filterwarnings('ignore', category=np.VisibleDeprecationWarning) def client_syn(client_model, global_model): client_model.load_state_dict(global_model.state_dict()) def client_update(client_model, optimizer, train_loader, epoch=5): model.train() for e in range(epoch): for (batch_idx, (data, target)) in enumerate(train_loader): (data, target) = (data.cuda(), target.cuda()) optimizer.zero_grad() output = client_model(data) loss = F.nll_loss(output, target) loss.backward() optimizer.step() return loss.item() def test(global_model, test_loader): model.eval() test_loss = 0 correct = 0 with torch.no_grad(): for (data, target) in test_loader: (data, target) = (data.cuda(), target.cuda()) output = global_model(data) test_loss += F.nll_loss(output, target, reduction='sum').item() pred = output.argmax(dim=1, keepdim=True) correct += pred.eq(target.view_as(pred)).sum().item() test_loss /= len(test_loader.dataset) acc = correct / len(test_loader.dataset) print('comm-round: {} | average train loss {%0.3g} | test loss {%0.3g} | test acc: {%0.3f}' % (r, loss_retrain / num_selected, test_loss, acc)) return (test_loss, acc) for r in range(num_rounds): client_idx = np.random.permutation(num_clients)[:num_selected] client_lens = [len(train_loader[idx]) for idx in client_idx] loss = 0 for i in tqdm(range(num_selected)): client_syn(client_models[i], global_model) loss += client_update(client_models[i], opt[i], train_loader[client_idx[i]], epochs) losses_train.append(loss) loss_retrain = 0 for i in tqdm(range(num_selected)): loss_retrain += client_update(client_models[i], opt[i], loader_fixed) losses_retrain.append(loss_retrain) def test(global_model, test_loader): model.eval() test_loss = 0 correct = 0 with torch.no_grad(): for (data, target) in test_loader: (data, target) = (data.cuda(), target.cuda()) output = global_model(data) test_loss += F.nll_loss(output, target, reduction='sum').item() pred = output.argmax(dim=1, keepdim=True) correct += pred.eq(target.view_as(pred)).sum().item() test_loss /= len(test_loader.dataset) acc = correct / len(test_loader.dataset) return (test_loss, acc) def server_aggregate(global_model, client_models, client_lens): (test_loss, acc) = test(global_model, test_loader) losses_test.append(test_loss) acc_test.append(acc) print('%d-th round' % r)
class BaseDriver(object): EXECUTABLE_PATH = None BINARY_PATH = None def __init__(self): self._driver = None @property def driver(self): return self._driver
class Basedriver(object): executable_path = None binary_path = None def __init__(self): self._driver = None @property def driver(self): return self._driver