content
stringlengths 7
1.05M
| fixed_cases
stringlengths 1
1.28M
|
---|---|
"""Tracks devices by sending a ICMP echo request (ping)."""
PING_TIMEOUT = 3
PING_ATTEMPTS_COUNT = 3
|
"""Tracks devices by sending a ICMP echo request (ping)."""
ping_timeout = 3
ping_attempts_count = 3
|
set_name(0x80122CDC, "PreGameOnlyTestRoutine__Fv", SN_NOWARN)
set_name(0x80124DA0, "DRLG_PlaceDoor__Fii", SN_NOWARN)
set_name(0x80125274, "DRLG_L1Shadows__Fv", SN_NOWARN)
set_name(0x8012568C, "DRLG_PlaceMiniSet__FPCUciiiiiii", SN_NOWARN)
set_name(0x80125AF8, "DRLG_L1Floor__Fv", SN_NOWARN)
set_name(0x80125BE4, "StoreBlock__FPiii", SN_NOWARN)
set_name(0x80125C90, "DRLG_L1Pass3__Fv", SN_NOWARN)
set_name(0x80125E44, "DRLG_LoadL1SP__Fv", SN_NOWARN)
set_name(0x80125F20, "DRLG_FreeL1SP__Fv", SN_NOWARN)
set_name(0x80125F50, "DRLG_Init_Globals__Fv", SN_NOWARN)
set_name(0x80125FF4, "set_restore_lighting__Fv", SN_NOWARN)
set_name(0x80126084, "DRLG_InitL1Vals__Fv", SN_NOWARN)
set_name(0x8012608C, "LoadL1Dungeon__FPcii", SN_NOWARN)
set_name(0x80126258, "LoadPreL1Dungeon__FPcii", SN_NOWARN)
set_name(0x80126410, "InitL5Dungeon__Fv", SN_NOWARN)
set_name(0x80126470, "L5ClearFlags__Fv", SN_NOWARN)
set_name(0x801264BC, "L5drawRoom__Fiiii", SN_NOWARN)
set_name(0x80126528, "L5checkRoom__Fiiii", SN_NOWARN)
set_name(0x801265BC, "L5roomGen__Fiiiii", SN_NOWARN)
set_name(0x801268B8, "L5firstRoom__Fv", SN_NOWARN)
set_name(0x80126C74, "L5GetArea__Fv", SN_NOWARN)
set_name(0x80126CD4, "L5makeDungeon__Fv", SN_NOWARN)
set_name(0x80126D60, "L5makeDmt__Fv", SN_NOWARN)
set_name(0x80126E48, "L5HWallOk__Fii", SN_NOWARN)
set_name(0x80126F84, "L5VWallOk__Fii", SN_NOWARN)
set_name(0x801270D0, "L5HorizWall__Fiici", SN_NOWARN)
set_name(0x80127310, "L5VertWall__Fiici", SN_NOWARN)
set_name(0x80127544, "L5AddWall__Fv", SN_NOWARN)
set_name(0x801277B4, "DRLG_L5GChamber__Fiiiiii", SN_NOWARN)
set_name(0x80127A74, "DRLG_L5GHall__Fiiii", SN_NOWARN)
set_name(0x80127B28, "L5tileFix__Fv", SN_NOWARN)
set_name(0x801283EC, "DRLG_L5Subs__Fv", SN_NOWARN)
set_name(0x801285E4, "DRLG_L5SetRoom__Fii", SN_NOWARN)
set_name(0x801286E4, "L5FillChambers__Fv", SN_NOWARN)
set_name(0x80128DD0, "DRLG_L5FTVR__Fiiiii", SN_NOWARN)
set_name(0x80129320, "DRLG_L5FloodTVal__Fv", SN_NOWARN)
set_name(0x80129424, "DRLG_L5TransFix__Fv", SN_NOWARN)
set_name(0x80129634, "DRLG_L5DirtFix__Fv", SN_NOWARN)
set_name(0x80129790, "DRLG_L5CornerFix__Fv", SN_NOWARN)
set_name(0x801298A0, "DRLG_L5__Fi", SN_NOWARN)
set_name(0x80129DC0, "CreateL5Dungeon__FUii", SN_NOWARN)
set_name(0x8012C364, "DRLG_L2PlaceMiniSet__FPUciiiiii", SN_NOWARN)
set_name(0x8012C758, "DRLG_L2PlaceRndSet__FPUci", SN_NOWARN)
set_name(0x8012CA58, "DRLG_L2Subs__Fv", SN_NOWARN)
set_name(0x8012CC4C, "DRLG_L2Shadows__Fv", SN_NOWARN)
set_name(0x8012CE10, "InitDungeon__Fv", SN_NOWARN)
set_name(0x8012CE70, "DRLG_LoadL2SP__Fv", SN_NOWARN)
set_name(0x8012CF10, "DRLG_FreeL2SP__Fv", SN_NOWARN)
set_name(0x8012CF40, "DRLG_L2SetRoom__Fii", SN_NOWARN)
set_name(0x8012D040, "DefineRoom__Fiiiii", SN_NOWARN)
set_name(0x8012D24C, "CreateDoorType__Fii", SN_NOWARN)
set_name(0x8012D330, "PlaceHallExt__Fii", SN_NOWARN)
set_name(0x8012D368, "AddHall__Fiiiii", SN_NOWARN)
set_name(0x8012D440, "CreateRoom__Fiiiiiiiii", SN_NOWARN)
set_name(0x8012DAC8, "GetHall__FPiN40", SN_NOWARN)
set_name(0x8012DB60, "ConnectHall__Fiiiii", SN_NOWARN)
set_name(0x8012E1C8, "DoPatternCheck__Fii", SN_NOWARN)
set_name(0x8012E47C, "L2TileFix__Fv", SN_NOWARN)
set_name(0x8012E5A0, "DL2_Cont__FUcUcUcUc", SN_NOWARN)
set_name(0x8012E620, "DL2_NumNoChar__Fv", SN_NOWARN)
set_name(0x8012E67C, "DL2_DrawRoom__Fiiii", SN_NOWARN)
set_name(0x8012E780, "DL2_KnockWalls__Fiiii", SN_NOWARN)
set_name(0x8012E950, "DL2_FillVoids__Fv", SN_NOWARN)
set_name(0x8012F2D4, "CreateDungeon__Fv", SN_NOWARN)
set_name(0x8012F5E0, "DRLG_L2Pass3__Fv", SN_NOWARN)
set_name(0x8012F778, "DRLG_L2FTVR__Fiiiii", SN_NOWARN)
set_name(0x8012FCC0, "DRLG_L2FloodTVal__Fv", SN_NOWARN)
set_name(0x8012FDC4, "DRLG_L2TransFix__Fv", SN_NOWARN)
set_name(0x8012FFD4, "L2DirtFix__Fv", SN_NOWARN)
set_name(0x80130134, "L2LockoutFix__Fv", SN_NOWARN)
set_name(0x801304C0, "L2DoorFix__Fv", SN_NOWARN)
set_name(0x80130570, "DRLG_L2__Fi", SN_NOWARN)
set_name(0x80130FBC, "DRLG_InitL2Vals__Fv", SN_NOWARN)
set_name(0x80130FC4, "LoadL2Dungeon__FPcii", SN_NOWARN)
set_name(0x801311B4, "LoadPreL2Dungeon__FPcii", SN_NOWARN)
set_name(0x801313A0, "CreateL2Dungeon__FUii", SN_NOWARN)
set_name(0x80131D58, "InitL3Dungeon__Fv", SN_NOWARN)
set_name(0x80131DE0, "DRLG_L3FillRoom__Fiiii", SN_NOWARN)
set_name(0x8013203C, "DRLG_L3CreateBlock__Fiiii", SN_NOWARN)
set_name(0x801322D8, "DRLG_L3FloorArea__Fiiii", SN_NOWARN)
set_name(0x80132340, "DRLG_L3FillDiags__Fv", SN_NOWARN)
set_name(0x80132470, "DRLG_L3FillSingles__Fv", SN_NOWARN)
set_name(0x8013253C, "DRLG_L3FillStraights__Fv", SN_NOWARN)
set_name(0x80132900, "DRLG_L3Edges__Fv", SN_NOWARN)
set_name(0x80132940, "DRLG_L3GetFloorArea__Fv", SN_NOWARN)
set_name(0x80132990, "DRLG_L3MakeMegas__Fv", SN_NOWARN)
set_name(0x80132AD4, "DRLG_L3River__Fv", SN_NOWARN)
set_name(0x80133514, "DRLG_L3SpawnEdge__FiiPi", SN_NOWARN)
set_name(0x801337A0, "DRLG_L3Spawn__FiiPi", SN_NOWARN)
set_name(0x801339B4, "DRLG_L3Pool__Fv", SN_NOWARN)
set_name(0x80133C08, "DRLG_L3PoolFix__Fv", SN_NOWARN)
set_name(0x80133D3C, "DRLG_L3PlaceMiniSet__FPCUciiiiii", SN_NOWARN)
set_name(0x801340BC, "DRLG_L3PlaceRndSet__FPCUci", SN_NOWARN)
set_name(0x80134404, "WoodVertU__Fii", SN_NOWARN)
set_name(0x801344B0, "WoodVertD__Fii", SN_NOWARN)
set_name(0x8013454C, "WoodHorizL__Fii", SN_NOWARN)
set_name(0x801345E0, "WoodHorizR__Fii", SN_NOWARN)
set_name(0x80134664, "AddFenceDoors__Fv", SN_NOWARN)
set_name(0x80134748, "FenceDoorFix__Fv", SN_NOWARN)
set_name(0x8013493C, "DRLG_L3Wood__Fv", SN_NOWARN)
set_name(0x8013512C, "DRLG_L3Anvil__Fv", SN_NOWARN)
set_name(0x80135388, "FixL3Warp__Fv", SN_NOWARN)
set_name(0x80135470, "FixL3HallofHeroes__Fv", SN_NOWARN)
set_name(0x801355C4, "DRLG_L3LockRec__Fii", SN_NOWARN)
set_name(0x80135660, "DRLG_L3Lockout__Fv", SN_NOWARN)
set_name(0x80135720, "DRLG_L3__Fi", SN_NOWARN)
set_name(0x80135E40, "DRLG_L3Pass3__Fv", SN_NOWARN)
set_name(0x80135FE4, "CreateL3Dungeon__FUii", SN_NOWARN)
set_name(0x801360F8, "LoadL3Dungeon__FPcii", SN_NOWARN)
set_name(0x8013631C, "LoadPreL3Dungeon__FPcii", SN_NOWARN)
set_name(0x80138168, "DRLG_L4Shadows__Fv", SN_NOWARN)
set_name(0x8013822C, "InitL4Dungeon__Fv", SN_NOWARN)
set_name(0x801382C8, "DRLG_LoadL4SP__Fv", SN_NOWARN)
set_name(0x8013836C, "DRLG_FreeL4SP__Fv", SN_NOWARN)
set_name(0x80138394, "DRLG_L4SetSPRoom__Fii", SN_NOWARN)
set_name(0x80138494, "L4makeDmt__Fv", SN_NOWARN)
set_name(0x80138538, "L4HWallOk__Fii", SN_NOWARN)
set_name(0x80138688, "L4VWallOk__Fii", SN_NOWARN)
set_name(0x80138804, "L4HorizWall__Fiii", SN_NOWARN)
set_name(0x801389D4, "L4VertWall__Fiii", SN_NOWARN)
set_name(0x80138B9C, "L4AddWall__Fv", SN_NOWARN)
set_name(0x8013907C, "L4tileFix__Fv", SN_NOWARN)
set_name(0x8013B264, "DRLG_L4Subs__Fv", SN_NOWARN)
set_name(0x8013B43C, "L4makeDungeon__Fv", SN_NOWARN)
set_name(0x8013B674, "uShape__Fv", SN_NOWARN)
set_name(0x8013B918, "GetArea__Fv", SN_NOWARN)
set_name(0x8013B974, "L4drawRoom__Fiiii", SN_NOWARN)
set_name(0x8013B9DC, "L4checkRoom__Fiiii", SN_NOWARN)
set_name(0x8013BA78, "L4roomGen__Fiiiii", SN_NOWARN)
set_name(0x8013BD74, "L4firstRoom__Fv", SN_NOWARN)
set_name(0x8013BF90, "L4SaveQuads__Fv", SN_NOWARN)
set_name(0x8013C030, "DRLG_L4SetRoom__FPUcii", SN_NOWARN)
set_name(0x8013C104, "DRLG_LoadDiabQuads__FUc", SN_NOWARN)
set_name(0x8013C268, "DRLG_L4PlaceMiniSet__FPCUciiiiii", SN_NOWARN)
set_name(0x8013C680, "DRLG_L4FTVR__Fiiiii", SN_NOWARN)
set_name(0x8013CBC8, "DRLG_L4FloodTVal__Fv", SN_NOWARN)
set_name(0x8013CCCC, "IsDURWall__Fc", SN_NOWARN)
set_name(0x8013CCFC, "IsDLLWall__Fc", SN_NOWARN)
set_name(0x8013CD2C, "DRLG_L4TransFix__Fv", SN_NOWARN)
set_name(0x8013D084, "DRLG_L4Corners__Fv", SN_NOWARN)
set_name(0x8013D118, "L4FixRim__Fv", SN_NOWARN)
set_name(0x8013D154, "DRLG_L4GeneralFix__Fv", SN_NOWARN)
set_name(0x8013D1F8, "DRLG_L4__Fi", SN_NOWARN)
set_name(0x8013DAF4, "DRLG_L4Pass3__Fv", SN_NOWARN)
set_name(0x8013DC98, "CreateL4Dungeon__FUii", SN_NOWARN)
set_name(0x8013DD28, "ObjIndex__Fii", SN_NOWARN)
set_name(0x8013DDDC, "AddSKingObjs__Fv", SN_NOWARN)
set_name(0x8013DF0C, "AddSChamObjs__Fv", SN_NOWARN)
set_name(0x8013DF88, "AddVileObjs__Fv", SN_NOWARN)
set_name(0x8013E034, "DRLG_SetMapTrans__FPc", SN_NOWARN)
set_name(0x8013E0F8, "LoadSetMap__Fv", SN_NOWARN)
set_name(0x8013E400, "CM_QuestToBitPattern__Fi", SN_NOWARN)
set_name(0x8013E4D0, "CM_ShowMonsterList__Fii", SN_NOWARN)
set_name(0x8013E548, "CM_ChooseMonsterList__FiUl", SN_NOWARN)
set_name(0x8013E5E8, "NoUiListChoose__FiUl", SN_NOWARN)
set_name(0x8013E5F0, "ChooseTask__FP4TASK", SN_NOWARN)
set_name(0x8013E6F8, "ShowTask__FP4TASK", SN_NOWARN)
set_name(0x8013E914, "GetListsAvailable__FiUlPUc", SN_NOWARN)
set_name(0x8013EA38, "GetDown__C4CPad", SN_NOWARN)
set_name(0x8013EA60, "AddL1Door__Fiiii", SN_NOWARN)
set_name(0x8013EB98, "AddSCambBook__Fi", SN_NOWARN)
set_name(0x8013EC38, "AddChest__Fii", SN_NOWARN)
set_name(0x8013EE18, "AddL2Door__Fiiii", SN_NOWARN)
set_name(0x8013EF64, "AddL3Door__Fiiii", SN_NOWARN)
set_name(0x8013EFF8, "AddSarc__Fi", SN_NOWARN)
set_name(0x8013F0D4, "AddFlameTrap__Fi", SN_NOWARN)
set_name(0x8013F130, "AddTrap__Fii", SN_NOWARN)
set_name(0x8013F228, "AddObjLight__Fii", SN_NOWARN)
set_name(0x8013F2D0, "AddBarrel__Fii", SN_NOWARN)
set_name(0x8013F380, "AddShrine__Fi", SN_NOWARN)
set_name(0x8013F4D0, "AddBookcase__Fi", SN_NOWARN)
set_name(0x8013F528, "AddBookstand__Fi", SN_NOWARN)
set_name(0x8013F570, "AddBloodFtn__Fi", SN_NOWARN)
set_name(0x8013F5B8, "AddPurifyingFountain__Fi", SN_NOWARN)
set_name(0x8013F694, "AddArmorStand__Fi", SN_NOWARN)
set_name(0x8013F71C, "AddGoatShrine__Fi", SN_NOWARN)
set_name(0x8013F764, "AddCauldron__Fi", SN_NOWARN)
set_name(0x8013F7AC, "AddMurkyFountain__Fi", SN_NOWARN)
set_name(0x8013F888, "AddTearFountain__Fi", SN_NOWARN)
set_name(0x8013F8D0, "AddDecap__Fi", SN_NOWARN)
set_name(0x8013F94C, "AddVilebook__Fi", SN_NOWARN)
set_name(0x8013F99C, "AddMagicCircle__Fi", SN_NOWARN)
set_name(0x8013FA10, "AddBrnCross__Fi", SN_NOWARN)
set_name(0x8013FA58, "AddPedistal__Fi", SN_NOWARN)
set_name(0x8013FACC, "AddStoryBook__Fi", SN_NOWARN)
set_name(0x8013FC9C, "AddWeaponRack__Fi", SN_NOWARN)
set_name(0x8013FD24, "AddTorturedBody__Fi", SN_NOWARN)
set_name(0x8013FDA0, "AddFlameLvr__Fi", SN_NOWARN)
set_name(0x8013FDE0, "GetRndObjLoc__FiRiT1", SN_NOWARN)
set_name(0x8013FEEC, "AddMushPatch__Fv", SN_NOWARN)
set_name(0x80140010, "AddSlainHero__Fv", SN_NOWARN)
set_name(0x80140050, "RndLocOk__Fii", SN_NOWARN)
set_name(0x80140134, "TrapLocOk__Fii", SN_NOWARN)
set_name(0x8014019C, "RoomLocOk__Fii", SN_NOWARN)
set_name(0x80140234, "InitRndLocObj__Fiii", SN_NOWARN)
set_name(0x801403E0, "InitRndLocBigObj__Fiii", SN_NOWARN)
set_name(0x801405D8, "InitRndLocObj5x5__Fiii", SN_NOWARN)
set_name(0x80140700, "SetMapObjects__FPUcii", SN_NOWARN)
set_name(0x801409A0, "ClrAllObjects__Fv", SN_NOWARN)
set_name(0x80140A90, "AddTortures__Fv", SN_NOWARN)
set_name(0x80140C1C, "AddCandles__Fv", SN_NOWARN)
set_name(0x80140CA4, "AddTrapLine__Fiiii", SN_NOWARN)
set_name(0x80141040, "AddLeverObj__Fiiiiiiii", SN_NOWARN)
set_name(0x80141048, "AddBookLever__Fiiiiiiiii", SN_NOWARN)
set_name(0x8014125C, "InitRndBarrels__Fv", SN_NOWARN)
set_name(0x801413F8, "AddL1Objs__Fiiii", SN_NOWARN)
set_name(0x80141530, "AddL2Objs__Fiiii", SN_NOWARN)
set_name(0x80141644, "AddL3Objs__Fiiii", SN_NOWARN)
set_name(0x80141744, "TorchLocOK__Fii", SN_NOWARN)
set_name(0x80141784, "AddL2Torches__Fv", SN_NOWARN)
set_name(0x80141938, "WallTrapLocOk__Fii", SN_NOWARN)
set_name(0x801419A0, "AddObjTraps__Fv", SN_NOWARN)
set_name(0x80141D18, "AddChestTraps__Fv", SN_NOWARN)
set_name(0x80141E68, "LoadMapObjects__FPUciiiiiii", SN_NOWARN)
set_name(0x80141FD4, "AddDiabObjs__Fv", SN_NOWARN)
set_name(0x80142128, "AddStoryBooks__Fv", SN_NOWARN)
set_name(0x80142278, "AddHookedBodies__Fi", SN_NOWARN)
set_name(0x80142470, "AddL4Goodies__Fv", SN_NOWARN)
set_name(0x80142520, "AddLazStand__Fv", SN_NOWARN)
set_name(0x801426B4, "InitObjects__Fv", SN_NOWARN)
set_name(0x80142D18, "PreObjObjAddSwitch__Fiiii", SN_NOWARN)
set_name(0x80143020, "FillSolidBlockTbls__Fv", SN_NOWARN)
set_name(0x801431CC, "SetDungeonMicros__Fv", SN_NOWARN)
set_name(0x801431D4, "DRLG_InitTrans__Fv", SN_NOWARN)
set_name(0x80143248, "DRLG_MRectTrans__Fiiii", SN_NOWARN)
set_name(0x801432E8, "DRLG_RectTrans__Fiiii", SN_NOWARN)
set_name(0x80143368, "DRLG_CopyTrans__Fiiii", SN_NOWARN)
set_name(0x801433D0, "DRLG_ListTrans__FiPUc", SN_NOWARN)
set_name(0x80143444, "DRLG_AreaTrans__FiPUc", SN_NOWARN)
set_name(0x801434D4, "DRLG_InitSetPC__Fv", SN_NOWARN)
set_name(0x801434EC, "DRLG_SetPC__Fv", SN_NOWARN)
set_name(0x8014359C, "Make_SetPC__Fiiii", SN_NOWARN)
set_name(0x8014363C, "DRLG_WillThemeRoomFit__FiiiiiPiT5", SN_NOWARN)
set_name(0x80143904, "DRLG_CreateThemeRoom__Fi", SN_NOWARN)
set_name(0x8014490C, "DRLG_PlaceThemeRooms__FiiiiUc", SN_NOWARN)
set_name(0x80144BB4, "DRLG_HoldThemeRooms__Fv", SN_NOWARN)
set_name(0x80144D68, "SkipThemeRoom__Fii", SN_NOWARN)
set_name(0x80144E34, "InitLevels__Fv", SN_NOWARN)
set_name(0x80144F38, "TFit_Shrine__Fi", SN_NOWARN)
set_name(0x801451A8, "TFit_Obj5__Fi", SN_NOWARN)
set_name(0x8014537C, "TFit_SkelRoom__Fi", SN_NOWARN)
set_name(0x8014542C, "TFit_GoatShrine__Fi", SN_NOWARN)
set_name(0x801454C4, "CheckThemeObj3__Fiiii", SN_NOWARN)
set_name(0x80145614, "TFit_Obj3__Fi", SN_NOWARN)
set_name(0x801456D4, "CheckThemeReqs__Fi", SN_NOWARN)
set_name(0x801457A0, "SpecialThemeFit__Fii", SN_NOWARN)
set_name(0x8014597C, "CheckThemeRoom__Fi", SN_NOWARN)
set_name(0x80145C28, "InitThemes__Fv", SN_NOWARN)
set_name(0x80145F74, "HoldThemeRooms__Fv", SN_NOWARN)
set_name(0x8014605C, "PlaceThemeMonsts__Fii", SN_NOWARN)
set_name(0x80146200, "Theme_Barrel__Fi", SN_NOWARN)
set_name(0x80146378, "Theme_Shrine__Fi", SN_NOWARN)
set_name(0x80146460, "Theme_MonstPit__Fi", SN_NOWARN)
set_name(0x8014658C, "Theme_SkelRoom__Fi", SN_NOWARN)
set_name(0x80146890, "Theme_Treasure__Fi", SN_NOWARN)
set_name(0x80146AF4, "Theme_Library__Fi", SN_NOWARN)
set_name(0x80146D64, "Theme_Torture__Fi", SN_NOWARN)
set_name(0x80146ED4, "Theme_BloodFountain__Fi", SN_NOWARN)
set_name(0x80146F48, "Theme_Decap__Fi", SN_NOWARN)
set_name(0x801470B8, "Theme_PurifyingFountain__Fi", SN_NOWARN)
set_name(0x8014712C, "Theme_ArmorStand__Fi", SN_NOWARN)
set_name(0x801472C4, "Theme_GoatShrine__Fi", SN_NOWARN)
set_name(0x80147414, "Theme_Cauldron__Fi", SN_NOWARN)
set_name(0x80147488, "Theme_MurkyFountain__Fi", SN_NOWARN)
set_name(0x801474FC, "Theme_TearFountain__Fi", SN_NOWARN)
set_name(0x80147570, "Theme_BrnCross__Fi", SN_NOWARN)
set_name(0x801476E8, "Theme_WeaponRack__Fi", SN_NOWARN)
set_name(0x80147880, "UpdateL4Trans__Fv", SN_NOWARN)
set_name(0x801478E0, "CreateThemeRooms__Fv", SN_NOWARN)
set_name(0x80147AC4, "InitPortals__Fv", SN_NOWARN)
set_name(0x80147B24, "InitQuests__Fv", SN_NOWARN)
set_name(0x80147F28, "DrawButcher__Fv", SN_NOWARN)
set_name(0x80147F6C, "DrawSkelKing__Fiii", SN_NOWARN)
set_name(0x80147FA8, "DrawWarLord__Fii", SN_NOWARN)
set_name(0x801480A4, "DrawSChamber__Fiii", SN_NOWARN)
set_name(0x801481E0, "DrawLTBanner__Fii", SN_NOWARN)
set_name(0x801482BC, "DrawBlind__Fii", SN_NOWARN)
set_name(0x80148398, "DrawBlood__Fii", SN_NOWARN)
set_name(0x80148478, "DRLG_CheckQuests__Fii", SN_NOWARN)
set_name(0x801485B4, "InitInv__Fv", SN_NOWARN)
set_name(0x80148614, "InitAutomap__Fv", SN_NOWARN)
set_name(0x801487D8, "InitAutomapOnce__Fv", SN_NOWARN)
set_name(0x801487E8, "MonstPlace__Fii", SN_NOWARN)
set_name(0x801488A4, "InitMonsterGFX__Fi", SN_NOWARN)
set_name(0x8014897C, "PlaceMonster__Fiiii", SN_NOWARN)
set_name(0x80148A1C, "AddMonsterType__Fii", SN_NOWARN)
set_name(0x80148B18, "GetMonsterTypes__FUl", SN_NOWARN)
set_name(0x80148BC8, "ClrAllMonsters__Fv", SN_NOWARN)
set_name(0x80148D08, "InitLevelMonsters__Fv", SN_NOWARN)
set_name(0x80148D8C, "GetLevelMTypes__Fv", SN_NOWARN)
set_name(0x801491F4, "PlaceQuestMonsters__Fv", SN_NOWARN)
set_name(0x801495B8, "LoadDiabMonsts__Fv", SN_NOWARN)
set_name(0x801496C8, "PlaceGroup__FiiUci", SN_NOWARN)
set_name(0x80149BFC, "SetMapMonsters__FPUcii", SN_NOWARN)
set_name(0x80149E20, "InitMonsters__Fv", SN_NOWARN)
set_name(0x8014A1D0, "PlaceUniqueMonst__Fiii", SN_NOWARN)
set_name(0x8014A93C, "PlaceUniques__Fv", SN_NOWARN)
set_name(0x8014AACC, "PreSpawnSkeleton__Fv", SN_NOWARN)
set_name(0x8014AC0C, "encode_enemy__Fi", SN_NOWARN)
set_name(0x8014AC64, "decode_enemy__Fii", SN_NOWARN)
set_name(0x8014AD7C, "IsGoat__Fi", SN_NOWARN)
set_name(0x8014ADA8, "InitMissiles__Fv", SN_NOWARN)
set_name(0x8014AF80, "InitNoTriggers__Fv", SN_NOWARN)
set_name(0x8014AFA4, "InitTownTriggers__Fv", SN_NOWARN)
set_name(0x8014B304, "InitL1Triggers__Fv", SN_NOWARN)
set_name(0x8014B418, "InitL2Triggers__Fv", SN_NOWARN)
set_name(0x8014B5A8, "InitL3Triggers__Fv", SN_NOWARN)
set_name(0x8014B704, "InitL4Triggers__Fv", SN_NOWARN)
set_name(0x8014B918, "InitSKingTriggers__Fv", SN_NOWARN)
set_name(0x8014B964, "InitSChambTriggers__Fv", SN_NOWARN)
set_name(0x8014B9B0, "InitPWaterTriggers__Fv", SN_NOWARN)
set_name(0x8014B9FC, "InitVPTriggers__Fv", SN_NOWARN)
set_name(0x8014BA48, "InitStores__Fv", SN_NOWARN)
set_name(0x8014BAC8, "SetupTownStores__Fv", SN_NOWARN)
set_name(0x8014BC78, "DeltaLoadLevel__Fv", SN_NOWARN)
set_name(0x8014C46C, "SmithItemOk__Fi", SN_NOWARN)
set_name(0x8014C4D0, "RndSmithItem__Fi", SN_NOWARN)
set_name(0x8014C5DC, "WitchItemOk__Fi", SN_NOWARN)
set_name(0x8014C71C, "RndWitchItem__Fi", SN_NOWARN)
set_name(0x8014C81C, "BubbleSwapItem__FP10ItemStructT0", SN_NOWARN)
set_name(0x8014C900, "SortWitch__Fv", SN_NOWARN)
set_name(0x8014CA20, "RndBoyItem__Fi", SN_NOWARN)
set_name(0x8014CB44, "HealerItemOk__Fi", SN_NOWARN)
set_name(0x8014CCF8, "RndHealerItem__Fi", SN_NOWARN)
set_name(0x8014CDF8, "RecreatePremiumItem__Fiiii", SN_NOWARN)
set_name(0x8014CEC0, "RecreateWitchItem__Fiiii", SN_NOWARN)
set_name(0x8014D018, "RecreateSmithItem__Fiiii", SN_NOWARN)
set_name(0x8014D0B4, "RecreateHealerItem__Fiiii", SN_NOWARN)
set_name(0x8014D174, "RecreateBoyItem__Fiiii", SN_NOWARN)
set_name(0x8014D238, "RecreateTownItem__FiiUsii", SN_NOWARN)
set_name(0x8014D2C4, "SpawnSmith__Fi", SN_NOWARN)
set_name(0x8014D460, "SpawnWitch__Fi", SN_NOWARN)
set_name(0x8014D7CC, "SpawnHealer__Fi", SN_NOWARN)
set_name(0x8014DAE8, "SpawnBoy__Fi", SN_NOWARN)
set_name(0x8014DC3C, "SortSmith__Fv", SN_NOWARN)
set_name(0x8014DD50, "SortHealer__Fv", SN_NOWARN)
set_name(0x8014DE70, "RecreateItem__FiiUsii", SN_NOWARN)
set_name(0x80122D48, "themeLoc", SN_NOWARN)
set_name(0x80123490, "OldBlock", SN_NOWARN)
set_name(0x801234A0, "L5dungeon", SN_NOWARN)
set_name(0x80123130, "SPATS", SN_NOWARN)
set_name(0x80123234, "BSTYPES", SN_NOWARN)
set_name(0x80123304, "L5BTYPES", SN_NOWARN)
set_name(0x801233D4, "STAIRSUP", SN_NOWARN)
set_name(0x801233F8, "L5STAIRSUP", SN_NOWARN)
set_name(0x8012341C, "STAIRSDOWN", SN_NOWARN)
set_name(0x80123438, "LAMPS", SN_NOWARN)
set_name(0x80123444, "PWATERIN", SN_NOWARN)
set_name(0x80122D38, "L5ConvTbl", SN_NOWARN)
set_name(0x8012B6D0, "RoomList", SN_NOWARN)
set_name(0x8012BD24, "predungeon", SN_NOWARN)
set_name(0x80129E60, "Dir_Xadd", SN_NOWARN)
set_name(0x80129E74, "Dir_Yadd", SN_NOWARN)
set_name(0x80129E88, "SPATSL2", SN_NOWARN)
set_name(0x80129E98, "BTYPESL2", SN_NOWARN)
set_name(0x80129F3C, "BSTYPESL2", SN_NOWARN)
set_name(0x80129FE0, "VARCH1", SN_NOWARN)
set_name(0x80129FF4, "VARCH2", SN_NOWARN)
set_name(0x8012A008, "VARCH3", SN_NOWARN)
set_name(0x8012A01C, "VARCH4", SN_NOWARN)
set_name(0x8012A030, "VARCH5", SN_NOWARN)
set_name(0x8012A044, "VARCH6", SN_NOWARN)
set_name(0x8012A058, "VARCH7", SN_NOWARN)
set_name(0x8012A06C, "VARCH8", SN_NOWARN)
set_name(0x8012A080, "VARCH9", SN_NOWARN)
set_name(0x8012A094, "VARCH10", SN_NOWARN)
set_name(0x8012A0A8, "VARCH11", SN_NOWARN)
set_name(0x8012A0BC, "VARCH12", SN_NOWARN)
set_name(0x8012A0D0, "VARCH13", SN_NOWARN)
set_name(0x8012A0E4, "VARCH14", SN_NOWARN)
set_name(0x8012A0F8, "VARCH15", SN_NOWARN)
set_name(0x8012A10C, "VARCH16", SN_NOWARN)
set_name(0x8012A120, "VARCH17", SN_NOWARN)
set_name(0x8012A130, "VARCH18", SN_NOWARN)
set_name(0x8012A140, "VARCH19", SN_NOWARN)
set_name(0x8012A150, "VARCH20", SN_NOWARN)
set_name(0x8012A160, "VARCH21", SN_NOWARN)
set_name(0x8012A170, "VARCH22", SN_NOWARN)
set_name(0x8012A180, "VARCH23", SN_NOWARN)
set_name(0x8012A190, "VARCH24", SN_NOWARN)
set_name(0x8012A1A0, "VARCH25", SN_NOWARN)
set_name(0x8012A1B4, "VARCH26", SN_NOWARN)
set_name(0x8012A1C8, "VARCH27", SN_NOWARN)
set_name(0x8012A1DC, "VARCH28", SN_NOWARN)
set_name(0x8012A1F0, "VARCH29", SN_NOWARN)
set_name(0x8012A204, "VARCH30", SN_NOWARN)
set_name(0x8012A218, "VARCH31", SN_NOWARN)
set_name(0x8012A22C, "VARCH32", SN_NOWARN)
set_name(0x8012A240, "VARCH33", SN_NOWARN)
set_name(0x8012A254, "VARCH34", SN_NOWARN)
set_name(0x8012A268, "VARCH35", SN_NOWARN)
set_name(0x8012A27C, "VARCH36", SN_NOWARN)
set_name(0x8012A290, "VARCH37", SN_NOWARN)
set_name(0x8012A2A4, "VARCH38", SN_NOWARN)
set_name(0x8012A2B8, "VARCH39", SN_NOWARN)
set_name(0x8012A2CC, "VARCH40", SN_NOWARN)
set_name(0x8012A2E0, "HARCH1", SN_NOWARN)
set_name(0x8012A2F0, "HARCH2", SN_NOWARN)
set_name(0x8012A300, "HARCH3", SN_NOWARN)
set_name(0x8012A310, "HARCH4", SN_NOWARN)
set_name(0x8012A320, "HARCH5", SN_NOWARN)
set_name(0x8012A330, "HARCH6", SN_NOWARN)
set_name(0x8012A340, "HARCH7", SN_NOWARN)
set_name(0x8012A350, "HARCH8", SN_NOWARN)
set_name(0x8012A360, "HARCH9", SN_NOWARN)
set_name(0x8012A370, "HARCH10", SN_NOWARN)
set_name(0x8012A380, "HARCH11", SN_NOWARN)
set_name(0x8012A390, "HARCH12", SN_NOWARN)
set_name(0x8012A3A0, "HARCH13", SN_NOWARN)
set_name(0x8012A3B0, "HARCH14", SN_NOWARN)
set_name(0x8012A3C0, "HARCH15", SN_NOWARN)
set_name(0x8012A3D0, "HARCH16", SN_NOWARN)
set_name(0x8012A3E0, "HARCH17", SN_NOWARN)
set_name(0x8012A3F0, "HARCH18", SN_NOWARN)
set_name(0x8012A400, "HARCH19", SN_NOWARN)
set_name(0x8012A410, "HARCH20", SN_NOWARN)
set_name(0x8012A420, "HARCH21", SN_NOWARN)
set_name(0x8012A430, "HARCH22", SN_NOWARN)
set_name(0x8012A440, "HARCH23", SN_NOWARN)
set_name(0x8012A450, "HARCH24", SN_NOWARN)
set_name(0x8012A460, "HARCH25", SN_NOWARN)
set_name(0x8012A470, "HARCH26", SN_NOWARN)
set_name(0x8012A480, "HARCH27", SN_NOWARN)
set_name(0x8012A490, "HARCH28", SN_NOWARN)
set_name(0x8012A4A0, "HARCH29", SN_NOWARN)
set_name(0x8012A4B0, "HARCH30", SN_NOWARN)
set_name(0x8012A4C0, "HARCH31", SN_NOWARN)
set_name(0x8012A4D0, "HARCH32", SN_NOWARN)
set_name(0x8012A4E0, "HARCH33", SN_NOWARN)
set_name(0x8012A4F0, "HARCH34", SN_NOWARN)
set_name(0x8012A500, "HARCH35", SN_NOWARN)
set_name(0x8012A510, "HARCH36", SN_NOWARN)
set_name(0x8012A520, "HARCH37", SN_NOWARN)
set_name(0x8012A530, "HARCH38", SN_NOWARN)
set_name(0x8012A540, "HARCH39", SN_NOWARN)
set_name(0x8012A550, "HARCH40", SN_NOWARN)
set_name(0x8012A560, "USTAIRS", SN_NOWARN)
set_name(0x8012A584, "DSTAIRS", SN_NOWARN)
set_name(0x8012A5A8, "WARPSTAIRS", SN_NOWARN)
set_name(0x8012A5CC, "CRUSHCOL", SN_NOWARN)
set_name(0x8012A5E0, "BIG1", SN_NOWARN)
set_name(0x8012A5EC, "BIG2", SN_NOWARN)
set_name(0x8012A5F8, "BIG5", SN_NOWARN)
set_name(0x8012A604, "BIG8", SN_NOWARN)
set_name(0x8012A610, "BIG9", SN_NOWARN)
set_name(0x8012A61C, "BIG10", SN_NOWARN)
set_name(0x8012A628, "PANCREAS1", SN_NOWARN)
set_name(0x8012A648, "PANCREAS2", SN_NOWARN)
set_name(0x8012A668, "CTRDOOR1", SN_NOWARN)
set_name(0x8012A67C, "CTRDOOR2", SN_NOWARN)
set_name(0x8012A690, "CTRDOOR3", SN_NOWARN)
set_name(0x8012A6A4, "CTRDOOR4", SN_NOWARN)
set_name(0x8012A6B8, "CTRDOOR5", SN_NOWARN)
set_name(0x8012A6CC, "CTRDOOR6", SN_NOWARN)
set_name(0x8012A6E0, "CTRDOOR7", SN_NOWARN)
set_name(0x8012A6F4, "CTRDOOR8", SN_NOWARN)
set_name(0x8012A708, "Patterns", SN_NOWARN)
set_name(0x80131718, "lockout", SN_NOWARN)
set_name(0x80131478, "L3ConvTbl", SN_NOWARN)
set_name(0x80131488, "L3UP", SN_NOWARN)
set_name(0x8013149C, "L3DOWN", SN_NOWARN)
set_name(0x801314B0, "L3HOLDWARP", SN_NOWARN)
set_name(0x801314C4, "L3TITE1", SN_NOWARN)
set_name(0x801314E8, "L3TITE2", SN_NOWARN)
set_name(0x8013150C, "L3TITE3", SN_NOWARN)
set_name(0x80131530, "L3TITE6", SN_NOWARN)
set_name(0x8013155C, "L3TITE7", SN_NOWARN)
set_name(0x80131588, "L3TITE8", SN_NOWARN)
set_name(0x8013159C, "L3TITE9", SN_NOWARN)
set_name(0x801315B0, "L3TITE10", SN_NOWARN)
set_name(0x801315C4, "L3TITE11", SN_NOWARN)
set_name(0x801315D8, "L3ISLE1", SN_NOWARN)
set_name(0x801315E8, "L3ISLE2", SN_NOWARN)
set_name(0x801315F8, "L3ISLE3", SN_NOWARN)
set_name(0x80131608, "L3ISLE4", SN_NOWARN)
set_name(0x80131618, "L3ISLE5", SN_NOWARN)
set_name(0x80131624, "L3ANVIL", SN_NOWARN)
set_name(0x80136534, "dung", SN_NOWARN)
set_name(0x801366C4, "hallok", SN_NOWARN)
set_name(0x801366D8, "L4dungeon", SN_NOWARN)
set_name(0x80137FD8, "L4ConvTbl", SN_NOWARN)
set_name(0x80137FE8, "L4USTAIRS", SN_NOWARN)
set_name(0x80138014, "L4TWARP", SN_NOWARN)
set_name(0x80138040, "L4DSTAIRS", SN_NOWARN)
set_name(0x80138074, "L4PENTA", SN_NOWARN)
set_name(0x801380A8, "L4PENTA2", SN_NOWARN)
set_name(0x801380DC, "L4BTYPES", SN_NOWARN)
|
set_name(2148674780, 'PreGameOnlyTestRoutine__Fv', SN_NOWARN)
set_name(2148683168, 'DRLG_PlaceDoor__Fii', SN_NOWARN)
set_name(2148684404, 'DRLG_L1Shadows__Fv', SN_NOWARN)
set_name(2148685452, 'DRLG_PlaceMiniSet__FPCUciiiiiii', SN_NOWARN)
set_name(2148686584, 'DRLG_L1Floor__Fv', SN_NOWARN)
set_name(2148686820, 'StoreBlock__FPiii', SN_NOWARN)
set_name(2148686992, 'DRLG_L1Pass3__Fv', SN_NOWARN)
set_name(2148687428, 'DRLG_LoadL1SP__Fv', SN_NOWARN)
set_name(2148687648, 'DRLG_FreeL1SP__Fv', SN_NOWARN)
set_name(2148687696, 'DRLG_Init_Globals__Fv', SN_NOWARN)
set_name(2148687860, 'set_restore_lighting__Fv', SN_NOWARN)
set_name(2148688004, 'DRLG_InitL1Vals__Fv', SN_NOWARN)
set_name(2148688012, 'LoadL1Dungeon__FPcii', SN_NOWARN)
set_name(2148688472, 'LoadPreL1Dungeon__FPcii', SN_NOWARN)
set_name(2148688912, 'InitL5Dungeon__Fv', SN_NOWARN)
set_name(2148689008, 'L5ClearFlags__Fv', SN_NOWARN)
set_name(2148689084, 'L5drawRoom__Fiiii', SN_NOWARN)
set_name(2148689192, 'L5checkRoom__Fiiii', SN_NOWARN)
set_name(2148689340, 'L5roomGen__Fiiiii', SN_NOWARN)
set_name(2148690104, 'L5firstRoom__Fv', SN_NOWARN)
set_name(2148691060, 'L5GetArea__Fv', SN_NOWARN)
set_name(2148691156, 'L5makeDungeon__Fv', SN_NOWARN)
set_name(2148691296, 'L5makeDmt__Fv', SN_NOWARN)
set_name(2148691528, 'L5HWallOk__Fii', SN_NOWARN)
set_name(2148691844, 'L5VWallOk__Fii', SN_NOWARN)
set_name(2148692176, 'L5HorizWall__Fiici', SN_NOWARN)
set_name(2148692752, 'L5VertWall__Fiici', SN_NOWARN)
set_name(2148693316, 'L5AddWall__Fv', SN_NOWARN)
set_name(2148693940, 'DRLG_L5GChamber__Fiiiiii', SN_NOWARN)
set_name(2148694644, 'DRLG_L5GHall__Fiiii', SN_NOWARN)
set_name(2148694824, 'L5tileFix__Fv', SN_NOWARN)
set_name(2148697068, 'DRLG_L5Subs__Fv', SN_NOWARN)
set_name(2148697572, 'DRLG_L5SetRoom__Fii', SN_NOWARN)
set_name(2148697828, 'L5FillChambers__Fv', SN_NOWARN)
set_name(2148699600, 'DRLG_L5FTVR__Fiiiii', SN_NOWARN)
set_name(2148700960, 'DRLG_L5FloodTVal__Fv', SN_NOWARN)
set_name(2148701220, 'DRLG_L5TransFix__Fv', SN_NOWARN)
set_name(2148701748, 'DRLG_L5DirtFix__Fv', SN_NOWARN)
set_name(2148702096, 'DRLG_L5CornerFix__Fv', SN_NOWARN)
set_name(2148702368, 'DRLG_L5__Fi', SN_NOWARN)
set_name(2148703680, 'CreateL5Dungeon__FUii', SN_NOWARN)
set_name(2148713316, 'DRLG_L2PlaceMiniSet__FPUciiiiii', SN_NOWARN)
set_name(2148714328, 'DRLG_L2PlaceRndSet__FPUci', SN_NOWARN)
set_name(2148715096, 'DRLG_L2Subs__Fv', SN_NOWARN)
set_name(2148715596, 'DRLG_L2Shadows__Fv', SN_NOWARN)
set_name(2148716048, 'InitDungeon__Fv', SN_NOWARN)
set_name(2148716144, 'DRLG_LoadL2SP__Fv', SN_NOWARN)
set_name(2148716304, 'DRLG_FreeL2SP__Fv', SN_NOWARN)
set_name(2148716352, 'DRLG_L2SetRoom__Fii', SN_NOWARN)
set_name(2148716608, 'DefineRoom__Fiiiii', SN_NOWARN)
set_name(2148717132, 'CreateDoorType__Fii', SN_NOWARN)
set_name(2148717360, 'PlaceHallExt__Fii', SN_NOWARN)
set_name(2148717416, 'AddHall__Fiiiii', SN_NOWARN)
set_name(2148717632, 'CreateRoom__Fiiiiiiiii', SN_NOWARN)
set_name(2148719304, 'GetHall__FPiN40', SN_NOWARN)
set_name(2148719456, 'ConnectHall__Fiiiii', SN_NOWARN)
set_name(2148721096, 'DoPatternCheck__Fii', SN_NOWARN)
set_name(2148721788, 'L2TileFix__Fv', SN_NOWARN)
set_name(2148722080, 'DL2_Cont__FUcUcUcUc', SN_NOWARN)
set_name(2148722208, 'DL2_NumNoChar__Fv', SN_NOWARN)
set_name(2148722300, 'DL2_DrawRoom__Fiiii', SN_NOWARN)
set_name(2148722560, 'DL2_KnockWalls__Fiiii', SN_NOWARN)
set_name(2148723024, 'DL2_FillVoids__Fv', SN_NOWARN)
set_name(2148725460, 'CreateDungeon__Fv', SN_NOWARN)
set_name(2148726240, 'DRLG_L2Pass3__Fv', SN_NOWARN)
set_name(2148726648, 'DRLG_L2FTVR__Fiiiii', SN_NOWARN)
set_name(2148728000, 'DRLG_L2FloodTVal__Fv', SN_NOWARN)
set_name(2148728260, 'DRLG_L2TransFix__Fv', SN_NOWARN)
set_name(2148728788, 'L2DirtFix__Fv', SN_NOWARN)
set_name(2148729140, 'L2LockoutFix__Fv', SN_NOWARN)
set_name(2148730048, 'L2DoorFix__Fv', SN_NOWARN)
set_name(2148730224, 'DRLG_L2__Fi', SN_NOWARN)
set_name(2148732860, 'DRLG_InitL2Vals__Fv', SN_NOWARN)
set_name(2148732868, 'LoadL2Dungeon__FPcii', SN_NOWARN)
set_name(2148733364, 'LoadPreL2Dungeon__FPcii', SN_NOWARN)
set_name(2148733856, 'CreateL2Dungeon__FUii', SN_NOWARN)
set_name(2148736344, 'InitL3Dungeon__Fv', SN_NOWARN)
set_name(2148736480, 'DRLG_L3FillRoom__Fiiii', SN_NOWARN)
set_name(2148737084, 'DRLG_L3CreateBlock__Fiiii', SN_NOWARN)
set_name(2148737752, 'DRLG_L3FloorArea__Fiiii', SN_NOWARN)
set_name(2148737856, 'DRLG_L3FillDiags__Fv', SN_NOWARN)
set_name(2148738160, 'DRLG_L3FillSingles__Fv', SN_NOWARN)
set_name(2148738364, 'DRLG_L3FillStraights__Fv', SN_NOWARN)
set_name(2148739328, 'DRLG_L3Edges__Fv', SN_NOWARN)
set_name(2148739392, 'DRLG_L3GetFloorArea__Fv', SN_NOWARN)
set_name(2148739472, 'DRLG_L3MakeMegas__Fv', SN_NOWARN)
set_name(2148739796, 'DRLG_L3River__Fv', SN_NOWARN)
set_name(2148742420, 'DRLG_L3SpawnEdge__FiiPi', SN_NOWARN)
set_name(2148743072, 'DRLG_L3Spawn__FiiPi', SN_NOWARN)
set_name(2148743604, 'DRLG_L3Pool__Fv', SN_NOWARN)
set_name(2148744200, 'DRLG_L3PoolFix__Fv', SN_NOWARN)
set_name(2148744508, 'DRLG_L3PlaceMiniSet__FPCUciiiiii', SN_NOWARN)
set_name(2148745404, 'DRLG_L3PlaceRndSet__FPCUci', SN_NOWARN)
set_name(2148746244, 'WoodVertU__Fii', SN_NOWARN)
set_name(2148746416, 'WoodVertD__Fii', SN_NOWARN)
set_name(2148746572, 'WoodHorizL__Fii', SN_NOWARN)
set_name(2148746720, 'WoodHorizR__Fii', SN_NOWARN)
set_name(2148746852, 'AddFenceDoors__Fv', SN_NOWARN)
set_name(2148747080, 'FenceDoorFix__Fv', SN_NOWARN)
set_name(2148747580, 'DRLG_L3Wood__Fv', SN_NOWARN)
set_name(2148749612, 'DRLG_L3Anvil__Fv', SN_NOWARN)
set_name(2148750216, 'FixL3Warp__Fv', SN_NOWARN)
set_name(2148750448, 'FixL3HallofHeroes__Fv', SN_NOWARN)
set_name(2148750788, 'DRLG_L3LockRec__Fii', SN_NOWARN)
set_name(2148750944, 'DRLG_L3Lockout__Fv', SN_NOWARN)
set_name(2148751136, 'DRLG_L3__Fi', SN_NOWARN)
set_name(2148752960, 'DRLG_L3Pass3__Fv', SN_NOWARN)
set_name(2148753380, 'CreateL3Dungeon__FUii', SN_NOWARN)
set_name(2148753656, 'LoadL3Dungeon__FPcii', SN_NOWARN)
set_name(2148754204, 'LoadPreL3Dungeon__FPcii', SN_NOWARN)
set_name(2148761960, 'DRLG_L4Shadows__Fv', SN_NOWARN)
set_name(2148762156, 'InitL4Dungeon__Fv', SN_NOWARN)
set_name(2148762312, 'DRLG_LoadL4SP__Fv', SN_NOWARN)
set_name(2148762476, 'DRLG_FreeL4SP__Fv', SN_NOWARN)
set_name(2148762516, 'DRLG_L4SetSPRoom__Fii', SN_NOWARN)
set_name(2148762772, 'L4makeDmt__Fv', SN_NOWARN)
set_name(2148762936, 'L4HWallOk__Fii', SN_NOWARN)
set_name(2148763272, 'L4VWallOk__Fii', SN_NOWARN)
set_name(2148763652, 'L4HorizWall__Fiii', SN_NOWARN)
set_name(2148764116, 'L4VertWall__Fiii', SN_NOWARN)
set_name(2148764572, 'L4AddWall__Fv', SN_NOWARN)
set_name(2148765820, 'L4tileFix__Fv', SN_NOWARN)
set_name(2148774500, 'DRLG_L4Subs__Fv', SN_NOWARN)
set_name(2148774972, 'L4makeDungeon__Fv', SN_NOWARN)
set_name(2148775540, 'uShape__Fv', SN_NOWARN)
set_name(2148776216, 'GetArea__Fv', SN_NOWARN)
set_name(2148776308, 'L4drawRoom__Fiiii', SN_NOWARN)
set_name(2148776412, 'L4checkRoom__Fiiii', SN_NOWARN)
set_name(2148776568, 'L4roomGen__Fiiiii', SN_NOWARN)
set_name(2148777332, 'L4firstRoom__Fv', SN_NOWARN)
set_name(2148777872, 'L4SaveQuads__Fv', SN_NOWARN)
set_name(2148778032, 'DRLG_L4SetRoom__FPUcii', SN_NOWARN)
set_name(2148778244, 'DRLG_LoadDiabQuads__FUc', SN_NOWARN)
set_name(2148778600, 'DRLG_L4PlaceMiniSet__FPCUciiiiii', SN_NOWARN)
set_name(2148779648, 'DRLG_L4FTVR__Fiiiii', SN_NOWARN)
set_name(2148781000, 'DRLG_L4FloodTVal__Fv', SN_NOWARN)
set_name(2148781260, 'IsDURWall__Fc', SN_NOWARN)
set_name(2148781308, 'IsDLLWall__Fc', SN_NOWARN)
set_name(2148781356, 'DRLG_L4TransFix__Fv', SN_NOWARN)
set_name(2148782212, 'DRLG_L4Corners__Fv', SN_NOWARN)
set_name(2148782360, 'L4FixRim__Fv', SN_NOWARN)
set_name(2148782420, 'DRLG_L4GeneralFix__Fv', SN_NOWARN)
set_name(2148782584, 'DRLG_L4__Fi', SN_NOWARN)
set_name(2148784884, 'DRLG_L4Pass3__Fv', SN_NOWARN)
set_name(2148785304, 'CreateL4Dungeon__FUii', SN_NOWARN)
set_name(2148785448, 'ObjIndex__Fii', SN_NOWARN)
set_name(2148785628, 'AddSKingObjs__Fv', SN_NOWARN)
set_name(2148785932, 'AddSChamObjs__Fv', SN_NOWARN)
set_name(2148786056, 'AddVileObjs__Fv', SN_NOWARN)
set_name(2148786228, 'DRLG_SetMapTrans__FPc', SN_NOWARN)
set_name(2148786424, 'LoadSetMap__Fv', SN_NOWARN)
set_name(2148787200, 'CM_QuestToBitPattern__Fi', SN_NOWARN)
set_name(2148787408, 'CM_ShowMonsterList__Fii', SN_NOWARN)
set_name(2148787528, 'CM_ChooseMonsterList__FiUl', SN_NOWARN)
set_name(2148787688, 'NoUiListChoose__FiUl', SN_NOWARN)
set_name(2148787696, 'ChooseTask__FP4TASK', SN_NOWARN)
set_name(2148787960, 'ShowTask__FP4TASK', SN_NOWARN)
set_name(2148788500, 'GetListsAvailable__FiUlPUc', SN_NOWARN)
set_name(2148788792, 'GetDown__C4CPad', SN_NOWARN)
set_name(2148788832, 'AddL1Door__Fiiii', SN_NOWARN)
set_name(2148789144, 'AddSCambBook__Fi', SN_NOWARN)
set_name(2148789304, 'AddChest__Fii', SN_NOWARN)
set_name(2148789784, 'AddL2Door__Fiiii', SN_NOWARN)
set_name(2148790116, 'AddL3Door__Fiiii', SN_NOWARN)
set_name(2148790264, 'AddSarc__Fi', SN_NOWARN)
set_name(2148790484, 'AddFlameTrap__Fi', SN_NOWARN)
set_name(2148790576, 'AddTrap__Fii', SN_NOWARN)
set_name(2148790824, 'AddObjLight__Fii', SN_NOWARN)
set_name(2148790992, 'AddBarrel__Fii', SN_NOWARN)
set_name(2148791168, 'AddShrine__Fi', SN_NOWARN)
set_name(2148791504, 'AddBookcase__Fi', SN_NOWARN)
set_name(2148791592, 'AddBookstand__Fi', SN_NOWARN)
set_name(2148791664, 'AddBloodFtn__Fi', SN_NOWARN)
set_name(2148791736, 'AddPurifyingFountain__Fi', SN_NOWARN)
set_name(2148791956, 'AddArmorStand__Fi', SN_NOWARN)
set_name(2148792092, 'AddGoatShrine__Fi', SN_NOWARN)
set_name(2148792164, 'AddCauldron__Fi', SN_NOWARN)
set_name(2148792236, 'AddMurkyFountain__Fi', SN_NOWARN)
set_name(2148792456, 'AddTearFountain__Fi', SN_NOWARN)
set_name(2148792528, 'AddDecap__Fi', SN_NOWARN)
set_name(2148792652, 'AddVilebook__Fi', SN_NOWARN)
set_name(2148792732, 'AddMagicCircle__Fi', SN_NOWARN)
set_name(2148792848, 'AddBrnCross__Fi', SN_NOWARN)
set_name(2148792920, 'AddPedistal__Fi', SN_NOWARN)
set_name(2148793036, 'AddStoryBook__Fi', SN_NOWARN)
set_name(2148793500, 'AddWeaponRack__Fi', SN_NOWARN)
set_name(2148793636, 'AddTorturedBody__Fi', SN_NOWARN)
set_name(2148793760, 'AddFlameLvr__Fi', SN_NOWARN)
set_name(2148793824, 'GetRndObjLoc__FiRiT1', SN_NOWARN)
set_name(2148794092, 'AddMushPatch__Fv', SN_NOWARN)
set_name(2148794384, 'AddSlainHero__Fv', SN_NOWARN)
set_name(2148794448, 'RndLocOk__Fii', SN_NOWARN)
set_name(2148794676, 'TrapLocOk__Fii', SN_NOWARN)
set_name(2148794780, 'RoomLocOk__Fii', SN_NOWARN)
set_name(2148794932, 'InitRndLocObj__Fiii', SN_NOWARN)
set_name(2148795360, 'InitRndLocBigObj__Fiii', SN_NOWARN)
set_name(2148795864, 'InitRndLocObj5x5__Fiii', SN_NOWARN)
set_name(2148796160, 'SetMapObjects__FPUcii', SN_NOWARN)
set_name(2148796832, 'ClrAllObjects__Fv', SN_NOWARN)
set_name(2148797072, 'AddTortures__Fv', SN_NOWARN)
set_name(2148797468, 'AddCandles__Fv', SN_NOWARN)
set_name(2148797604, 'AddTrapLine__Fiiii', SN_NOWARN)
set_name(2148798528, 'AddLeverObj__Fiiiiiiii', SN_NOWARN)
set_name(2148798536, 'AddBookLever__Fiiiiiiiii', SN_NOWARN)
set_name(2148799068, 'InitRndBarrels__Fv', SN_NOWARN)
set_name(2148799480, 'AddL1Objs__Fiiii', SN_NOWARN)
set_name(2148799792, 'AddL2Objs__Fiiii', SN_NOWARN)
set_name(2148800068, 'AddL3Objs__Fiiii', SN_NOWARN)
set_name(2148800324, 'TorchLocOK__Fii', SN_NOWARN)
set_name(2148800388, 'AddL2Torches__Fv', SN_NOWARN)
set_name(2148800824, 'WallTrapLocOk__Fii', SN_NOWARN)
set_name(2148800928, 'AddObjTraps__Fv', SN_NOWARN)
set_name(2148801816, 'AddChestTraps__Fv', SN_NOWARN)
set_name(2148802152, 'LoadMapObjects__FPUciiiiiii', SN_NOWARN)
set_name(2148802516, 'AddDiabObjs__Fv', SN_NOWARN)
set_name(2148802856, 'AddStoryBooks__Fv', SN_NOWARN)
set_name(2148803192, 'AddHookedBodies__Fi', SN_NOWARN)
set_name(2148803696, 'AddL4Goodies__Fv', SN_NOWARN)
set_name(2148803872, 'AddLazStand__Fv', SN_NOWARN)
set_name(2148804276, 'InitObjects__Fv', SN_NOWARN)
set_name(2148805912, 'PreObjObjAddSwitch__Fiiii', SN_NOWARN)
set_name(2148806688, 'FillSolidBlockTbls__Fv', SN_NOWARN)
set_name(2148807116, 'SetDungeonMicros__Fv', SN_NOWARN)
set_name(2148807124, 'DRLG_InitTrans__Fv', SN_NOWARN)
set_name(2148807240, 'DRLG_MRectTrans__Fiiii', SN_NOWARN)
set_name(2148807400, 'DRLG_RectTrans__Fiiii', SN_NOWARN)
set_name(2148807528, 'DRLG_CopyTrans__Fiiii', SN_NOWARN)
set_name(2148807632, 'DRLG_ListTrans__FiPUc', SN_NOWARN)
set_name(2148807748, 'DRLG_AreaTrans__FiPUc', SN_NOWARN)
set_name(2148807892, 'DRLG_InitSetPC__Fv', SN_NOWARN)
set_name(2148807916, 'DRLG_SetPC__Fv', SN_NOWARN)
set_name(2148808092, 'Make_SetPC__Fiiii', SN_NOWARN)
set_name(2148808252, 'DRLG_WillThemeRoomFit__FiiiiiPiT5', SN_NOWARN)
set_name(2148808964, 'DRLG_CreateThemeRoom__Fi', SN_NOWARN)
set_name(2148813068, 'DRLG_PlaceThemeRooms__FiiiiUc', SN_NOWARN)
set_name(2148813748, 'DRLG_HoldThemeRooms__Fv', SN_NOWARN)
set_name(2148814184, 'SkipThemeRoom__Fii', SN_NOWARN)
set_name(2148814388, 'InitLevels__Fv', SN_NOWARN)
set_name(2148814648, 'TFit_Shrine__Fi', SN_NOWARN)
set_name(2148815272, 'TFit_Obj5__Fi', SN_NOWARN)
set_name(2148815740, 'TFit_SkelRoom__Fi', SN_NOWARN)
set_name(2148815916, 'TFit_GoatShrine__Fi', SN_NOWARN)
set_name(2148816068, 'CheckThemeObj3__Fiiii', SN_NOWARN)
set_name(2148816404, 'TFit_Obj3__Fi', SN_NOWARN)
set_name(2148816596, 'CheckThemeReqs__Fi', SN_NOWARN)
set_name(2148816800, 'SpecialThemeFit__Fii', SN_NOWARN)
set_name(2148817276, 'CheckThemeRoom__Fi', SN_NOWARN)
set_name(2148817960, 'InitThemes__Fv', SN_NOWARN)
set_name(2148818804, 'HoldThemeRooms__Fv', SN_NOWARN)
set_name(2148819036, 'PlaceThemeMonsts__Fii', SN_NOWARN)
set_name(2148819456, 'Theme_Barrel__Fi', SN_NOWARN)
set_name(2148819832, 'Theme_Shrine__Fi', SN_NOWARN)
set_name(2148820064, 'Theme_MonstPit__Fi', SN_NOWARN)
set_name(2148820364, 'Theme_SkelRoom__Fi', SN_NOWARN)
set_name(2148821136, 'Theme_Treasure__Fi', SN_NOWARN)
set_name(2148821748, 'Theme_Library__Fi', SN_NOWARN)
set_name(2148822372, 'Theme_Torture__Fi', SN_NOWARN)
set_name(2148822740, 'Theme_BloodFountain__Fi', SN_NOWARN)
set_name(2148822856, 'Theme_Decap__Fi', SN_NOWARN)
set_name(2148823224, 'Theme_PurifyingFountain__Fi', SN_NOWARN)
set_name(2148823340, 'Theme_ArmorStand__Fi', SN_NOWARN)
set_name(2148823748, 'Theme_GoatShrine__Fi', SN_NOWARN)
set_name(2148824084, 'Theme_Cauldron__Fi', SN_NOWARN)
set_name(2148824200, 'Theme_MurkyFountain__Fi', SN_NOWARN)
set_name(2148824316, 'Theme_TearFountain__Fi', SN_NOWARN)
set_name(2148824432, 'Theme_BrnCross__Fi', SN_NOWARN)
set_name(2148824808, 'Theme_WeaponRack__Fi', SN_NOWARN)
set_name(2148825216, 'UpdateL4Trans__Fv', SN_NOWARN)
set_name(2148825312, 'CreateThemeRooms__Fv', SN_NOWARN)
set_name(2148825796, 'InitPortals__Fv', SN_NOWARN)
set_name(2148825892, 'InitQuests__Fv', SN_NOWARN)
set_name(2148826920, 'DrawButcher__Fv', SN_NOWARN)
set_name(2148826988, 'DrawSkelKing__Fiii', SN_NOWARN)
set_name(2148827048, 'DrawWarLord__Fii', SN_NOWARN)
set_name(2148827300, 'DrawSChamber__Fiii', SN_NOWARN)
set_name(2148827616, 'DrawLTBanner__Fii', SN_NOWARN)
set_name(2148827836, 'DrawBlind__Fii', SN_NOWARN)
set_name(2148828056, 'DrawBlood__Fii', SN_NOWARN)
set_name(2148828280, 'DRLG_CheckQuests__Fii', SN_NOWARN)
set_name(2148828596, 'InitInv__Fv', SN_NOWARN)
set_name(2148828692, 'InitAutomap__Fv', SN_NOWARN)
set_name(2148829144, 'InitAutomapOnce__Fv', SN_NOWARN)
set_name(2148829160, 'MonstPlace__Fii', SN_NOWARN)
set_name(2148829348, 'InitMonsterGFX__Fi', SN_NOWARN)
set_name(2148829564, 'PlaceMonster__Fiiii', SN_NOWARN)
set_name(2148829724, 'AddMonsterType__Fii', SN_NOWARN)
set_name(2148829976, 'GetMonsterTypes__FUl', SN_NOWARN)
set_name(2148830152, 'ClrAllMonsters__Fv', SN_NOWARN)
set_name(2148830472, 'InitLevelMonsters__Fv', SN_NOWARN)
set_name(2148830604, 'GetLevelMTypes__Fv', SN_NOWARN)
set_name(2148831732, 'PlaceQuestMonsters__Fv', SN_NOWARN)
set_name(2148832696, 'LoadDiabMonsts__Fv', SN_NOWARN)
set_name(2148832968, 'PlaceGroup__FiiUci', SN_NOWARN)
set_name(2148834300, 'SetMapMonsters__FPUcii', SN_NOWARN)
set_name(2148834848, 'InitMonsters__Fv', SN_NOWARN)
set_name(2148835792, 'PlaceUniqueMonst__Fiii', SN_NOWARN)
set_name(2148837692, 'PlaceUniques__Fv', SN_NOWARN)
set_name(2148838092, 'PreSpawnSkeleton__Fv', SN_NOWARN)
set_name(2148838412, 'encode_enemy__Fi', SN_NOWARN)
set_name(2148838500, 'decode_enemy__Fii', SN_NOWARN)
set_name(2148838780, 'IsGoat__Fi', SN_NOWARN)
set_name(2148838824, 'InitMissiles__Fv', SN_NOWARN)
set_name(2148839296, 'InitNoTriggers__Fv', SN_NOWARN)
set_name(2148839332, 'InitTownTriggers__Fv', SN_NOWARN)
set_name(2148840196, 'InitL1Triggers__Fv', SN_NOWARN)
set_name(2148840472, 'InitL2Triggers__Fv', SN_NOWARN)
set_name(2148840872, 'InitL3Triggers__Fv', SN_NOWARN)
set_name(2148841220, 'InitL4Triggers__Fv', SN_NOWARN)
set_name(2148841752, 'InitSKingTriggers__Fv', SN_NOWARN)
set_name(2148841828, 'InitSChambTriggers__Fv', SN_NOWARN)
set_name(2148841904, 'InitPWaterTriggers__Fv', SN_NOWARN)
set_name(2148841980, 'InitVPTriggers__Fv', SN_NOWARN)
set_name(2148842056, 'InitStores__Fv', SN_NOWARN)
set_name(2148842184, 'SetupTownStores__Fv', SN_NOWARN)
set_name(2148842616, 'DeltaLoadLevel__Fv', SN_NOWARN)
set_name(2148844652, 'SmithItemOk__Fi', SN_NOWARN)
set_name(2148844752, 'RndSmithItem__Fi', SN_NOWARN)
set_name(2148845020, 'WitchItemOk__Fi', SN_NOWARN)
set_name(2148845340, 'RndWitchItem__Fi', SN_NOWARN)
set_name(2148845596, 'BubbleSwapItem__FP10ItemStructT0', SN_NOWARN)
set_name(2148845824, 'SortWitch__Fv', SN_NOWARN)
set_name(2148846112, 'RndBoyItem__Fi', SN_NOWARN)
set_name(2148846404, 'HealerItemOk__Fi', SN_NOWARN)
set_name(2148846840, 'RndHealerItem__Fi', SN_NOWARN)
set_name(2148847096, 'RecreatePremiumItem__Fiiii', SN_NOWARN)
set_name(2148847296, 'RecreateWitchItem__Fiiii', SN_NOWARN)
set_name(2148847640, 'RecreateSmithItem__Fiiii', SN_NOWARN)
set_name(2148847796, 'RecreateHealerItem__Fiiii', SN_NOWARN)
set_name(2148847988, 'RecreateBoyItem__Fiiii', SN_NOWARN)
set_name(2148848184, 'RecreateTownItem__FiiUsii', SN_NOWARN)
set_name(2148848324, 'SpawnSmith__Fi', SN_NOWARN)
set_name(2148848736, 'SpawnWitch__Fi', SN_NOWARN)
set_name(2148849612, 'SpawnHealer__Fi', SN_NOWARN)
set_name(2148850408, 'SpawnBoy__Fi', SN_NOWARN)
set_name(2148850748, 'SortSmith__Fv', SN_NOWARN)
set_name(2148851024, 'SortHealer__Fv', SN_NOWARN)
set_name(2148851312, 'RecreateItem__FiiUsii', SN_NOWARN)
set_name(2148674888, 'themeLoc', SN_NOWARN)
set_name(2148676752, 'OldBlock', SN_NOWARN)
set_name(2148676768, 'L5dungeon', SN_NOWARN)
set_name(2148675888, 'SPATS', SN_NOWARN)
set_name(2148676148, 'BSTYPES', SN_NOWARN)
set_name(2148676356, 'L5BTYPES', SN_NOWARN)
set_name(2148676564, 'STAIRSUP', SN_NOWARN)
set_name(2148676600, 'L5STAIRSUP', SN_NOWARN)
set_name(2148676636, 'STAIRSDOWN', SN_NOWARN)
set_name(2148676664, 'LAMPS', SN_NOWARN)
set_name(2148676676, 'PWATERIN', SN_NOWARN)
set_name(2148674872, 'L5ConvTbl', SN_NOWARN)
set_name(2148710096, 'RoomList', SN_NOWARN)
set_name(2148711716, 'predungeon', SN_NOWARN)
set_name(2148703840, 'Dir_Xadd', SN_NOWARN)
set_name(2148703860, 'Dir_Yadd', SN_NOWARN)
set_name(2148703880, 'SPATSL2', SN_NOWARN)
set_name(2148703896, 'BTYPESL2', SN_NOWARN)
set_name(2148704060, 'BSTYPESL2', SN_NOWARN)
set_name(2148704224, 'VARCH1', SN_NOWARN)
set_name(2148704244, 'VARCH2', SN_NOWARN)
set_name(2148704264, 'VARCH3', SN_NOWARN)
set_name(2148704284, 'VARCH4', SN_NOWARN)
set_name(2148704304, 'VARCH5', SN_NOWARN)
set_name(2148704324, 'VARCH6', SN_NOWARN)
set_name(2148704344, 'VARCH7', SN_NOWARN)
set_name(2148704364, 'VARCH8', SN_NOWARN)
set_name(2148704384, 'VARCH9', SN_NOWARN)
set_name(2148704404, 'VARCH10', SN_NOWARN)
set_name(2148704424, 'VARCH11', SN_NOWARN)
set_name(2148704444, 'VARCH12', SN_NOWARN)
set_name(2148704464, 'VARCH13', SN_NOWARN)
set_name(2148704484, 'VARCH14', SN_NOWARN)
set_name(2148704504, 'VARCH15', SN_NOWARN)
set_name(2148704524, 'VARCH16', SN_NOWARN)
set_name(2148704544, 'VARCH17', SN_NOWARN)
set_name(2148704560, 'VARCH18', SN_NOWARN)
set_name(2148704576, 'VARCH19', SN_NOWARN)
set_name(2148704592, 'VARCH20', SN_NOWARN)
set_name(2148704608, 'VARCH21', SN_NOWARN)
set_name(2148704624, 'VARCH22', SN_NOWARN)
set_name(2148704640, 'VARCH23', SN_NOWARN)
set_name(2148704656, 'VARCH24', SN_NOWARN)
set_name(2148704672, 'VARCH25', SN_NOWARN)
set_name(2148704692, 'VARCH26', SN_NOWARN)
set_name(2148704712, 'VARCH27', SN_NOWARN)
set_name(2148704732, 'VARCH28', SN_NOWARN)
set_name(2148704752, 'VARCH29', SN_NOWARN)
set_name(2148704772, 'VARCH30', SN_NOWARN)
set_name(2148704792, 'VARCH31', SN_NOWARN)
set_name(2148704812, 'VARCH32', SN_NOWARN)
set_name(2148704832, 'VARCH33', SN_NOWARN)
set_name(2148704852, 'VARCH34', SN_NOWARN)
set_name(2148704872, 'VARCH35', SN_NOWARN)
set_name(2148704892, 'VARCH36', SN_NOWARN)
set_name(2148704912, 'VARCH37', SN_NOWARN)
set_name(2148704932, 'VARCH38', SN_NOWARN)
set_name(2148704952, 'VARCH39', SN_NOWARN)
set_name(2148704972, 'VARCH40', SN_NOWARN)
set_name(2148704992, 'HARCH1', SN_NOWARN)
set_name(2148705008, 'HARCH2', SN_NOWARN)
set_name(2148705024, 'HARCH3', SN_NOWARN)
set_name(2148705040, 'HARCH4', SN_NOWARN)
set_name(2148705056, 'HARCH5', SN_NOWARN)
set_name(2148705072, 'HARCH6', SN_NOWARN)
set_name(2148705088, 'HARCH7', SN_NOWARN)
set_name(2148705104, 'HARCH8', SN_NOWARN)
set_name(2148705120, 'HARCH9', SN_NOWARN)
set_name(2148705136, 'HARCH10', SN_NOWARN)
set_name(2148705152, 'HARCH11', SN_NOWARN)
set_name(2148705168, 'HARCH12', SN_NOWARN)
set_name(2148705184, 'HARCH13', SN_NOWARN)
set_name(2148705200, 'HARCH14', SN_NOWARN)
set_name(2148705216, 'HARCH15', SN_NOWARN)
set_name(2148705232, 'HARCH16', SN_NOWARN)
set_name(2148705248, 'HARCH17', SN_NOWARN)
set_name(2148705264, 'HARCH18', SN_NOWARN)
set_name(2148705280, 'HARCH19', SN_NOWARN)
set_name(2148705296, 'HARCH20', SN_NOWARN)
set_name(2148705312, 'HARCH21', SN_NOWARN)
set_name(2148705328, 'HARCH22', SN_NOWARN)
set_name(2148705344, 'HARCH23', SN_NOWARN)
set_name(2148705360, 'HARCH24', SN_NOWARN)
set_name(2148705376, 'HARCH25', SN_NOWARN)
set_name(2148705392, 'HARCH26', SN_NOWARN)
set_name(2148705408, 'HARCH27', SN_NOWARN)
set_name(2148705424, 'HARCH28', SN_NOWARN)
set_name(2148705440, 'HARCH29', SN_NOWARN)
set_name(2148705456, 'HARCH30', SN_NOWARN)
set_name(2148705472, 'HARCH31', SN_NOWARN)
set_name(2148705488, 'HARCH32', SN_NOWARN)
set_name(2148705504, 'HARCH33', SN_NOWARN)
set_name(2148705520, 'HARCH34', SN_NOWARN)
set_name(2148705536, 'HARCH35', SN_NOWARN)
set_name(2148705552, 'HARCH36', SN_NOWARN)
set_name(2148705568, 'HARCH37', SN_NOWARN)
set_name(2148705584, 'HARCH38', SN_NOWARN)
set_name(2148705600, 'HARCH39', SN_NOWARN)
set_name(2148705616, 'HARCH40', SN_NOWARN)
set_name(2148705632, 'USTAIRS', SN_NOWARN)
set_name(2148705668, 'DSTAIRS', SN_NOWARN)
set_name(2148705704, 'WARPSTAIRS', SN_NOWARN)
set_name(2148705740, 'CRUSHCOL', SN_NOWARN)
set_name(2148705760, 'BIG1', SN_NOWARN)
set_name(2148705772, 'BIG2', SN_NOWARN)
set_name(2148705784, 'BIG5', SN_NOWARN)
set_name(2148705796, 'BIG8', SN_NOWARN)
set_name(2148705808, 'BIG9', SN_NOWARN)
set_name(2148705820, 'BIG10', SN_NOWARN)
set_name(2148705832, 'PANCREAS1', SN_NOWARN)
set_name(2148705864, 'PANCREAS2', SN_NOWARN)
set_name(2148705896, 'CTRDOOR1', SN_NOWARN)
set_name(2148705916, 'CTRDOOR2', SN_NOWARN)
set_name(2148705936, 'CTRDOOR3', SN_NOWARN)
set_name(2148705956, 'CTRDOOR4', SN_NOWARN)
set_name(2148705976, 'CTRDOOR5', SN_NOWARN)
set_name(2148705996, 'CTRDOOR6', SN_NOWARN)
set_name(2148706016, 'CTRDOOR7', SN_NOWARN)
set_name(2148706036, 'CTRDOOR8', SN_NOWARN)
set_name(2148706056, 'Patterns', SN_NOWARN)
set_name(2148734744, 'lockout', SN_NOWARN)
set_name(2148734072, 'L3ConvTbl', SN_NOWARN)
set_name(2148734088, 'L3UP', SN_NOWARN)
set_name(2148734108, 'L3DOWN', SN_NOWARN)
set_name(2148734128, 'L3HOLDWARP', SN_NOWARN)
set_name(2148734148, 'L3TITE1', SN_NOWARN)
set_name(2148734184, 'L3TITE2', SN_NOWARN)
set_name(2148734220, 'L3TITE3', SN_NOWARN)
set_name(2148734256, 'L3TITE6', SN_NOWARN)
set_name(2148734300, 'L3TITE7', SN_NOWARN)
set_name(2148734344, 'L3TITE8', SN_NOWARN)
set_name(2148734364, 'L3TITE9', SN_NOWARN)
set_name(2148734384, 'L3TITE10', SN_NOWARN)
set_name(2148734404, 'L3TITE11', SN_NOWARN)
set_name(2148734424, 'L3ISLE1', SN_NOWARN)
set_name(2148734440, 'L3ISLE2', SN_NOWARN)
set_name(2148734456, 'L3ISLE3', SN_NOWARN)
set_name(2148734472, 'L3ISLE4', SN_NOWARN)
set_name(2148734488, 'L3ISLE5', SN_NOWARN)
set_name(2148734500, 'L3ANVIL', SN_NOWARN)
set_name(2148754740, 'dung', SN_NOWARN)
set_name(2148755140, 'hallok', SN_NOWARN)
set_name(2148755160, 'L4dungeon', SN_NOWARN)
set_name(2148761560, 'L4ConvTbl', SN_NOWARN)
set_name(2148761576, 'L4USTAIRS', SN_NOWARN)
set_name(2148761620, 'L4TWARP', SN_NOWARN)
set_name(2148761664, 'L4DSTAIRS', SN_NOWARN)
set_name(2148761716, 'L4PENTA', SN_NOWARN)
set_name(2148761768, 'L4PENTA2', SN_NOWARN)
set_name(2148761820, 'L4BTYPES', SN_NOWARN)
|
# -*- coding: utf-8 -*-
class Solution(object):
def reverse(self, x):
"""
:type x: int
:rtype: int
"""
ans = 0
flag = 1
if x < 0:
flag = -1
x = - x
while x != 0:
cur = x % 10
ans = ans * 10 + cur
x = x // 10
ans = ans * flag
# print("ans", ans)
if -2 ** 31 <= ans <= 2 ** 31:
return ans
else:
return 0
if "__main__" == __name__:
solution = Solution()
input1 = 123
input2= -123
input3 = 120
# 2 ** 31 = 2147483648
input4 = 2147483648
1534236469
input5 = -2147483649
input6 = 2147483647
input7 = -2147483648
print(solution.reverse(input1))
print(solution.reverse(input2))
print(solution.reverse(input3))
print(solution.reverse(input4))
print(solution.reverse(input5))
print(solution.reverse(input6))
print(solution.reverse(input7))
print(solution.reverse(1534236469))
|
class Solution(object):
def reverse(self, x):
"""
:type x: int
:rtype: int
"""
ans = 0
flag = 1
if x < 0:
flag = -1
x = -x
while x != 0:
cur = x % 10
ans = ans * 10 + cur
x = x // 10
ans = ans * flag
if -2 ** 31 <= ans <= 2 ** 31:
return ans
else:
return 0
if '__main__' == __name__:
solution = solution()
input1 = 123
input2 = -123
input3 = 120
input4 = 2147483648
1534236469
input5 = -2147483649
input6 = 2147483647
input7 = -2147483648
print(solution.reverse(input1))
print(solution.reverse(input2))
print(solution.reverse(input3))
print(solution.reverse(input4))
print(solution.reverse(input5))
print(solution.reverse(input6))
print(solution.reverse(input7))
print(solution.reverse(1534236469))
|
#
# PySNMP MIB module ALCATEL-IND1-AUTO-FABRIC-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/ALCATEL-IND1-AUTO-FABRIC-MIB
# Produced by pysmi-0.3.4 at Mon Apr 29 17:01:26 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)
#
softentIND1AutoFabric, = mibBuilder.importSymbols("ALCATEL-IND1-BASE", "softentIND1AutoFabric")
ObjectIdentifier, OctetString, Integer = mibBuilder.importSymbols("ASN1", "ObjectIdentifier", "OctetString", "Integer")
NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues")
ValueRangeConstraint, ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueSizeConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "ValueRangeConstraint", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueSizeConstraint")
InterfaceIndex, = mibBuilder.importSymbols("IF-MIB", "InterfaceIndex")
SnmpAdminString, = mibBuilder.importSymbols("SNMP-FRAMEWORK-MIB", "SnmpAdminString")
ModuleCompliance, NotificationGroup, ObjectGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup", "ObjectGroup")
MibScalar, MibTable, MibTableRow, MibTableColumn, Integer32, ObjectIdentity, NotificationType, Unsigned32, iso, Counter32, MibIdentifier, Counter64, IpAddress, TimeTicks, Gauge32, Bits, ModuleIdentity = mibBuilder.importSymbols("SNMPv2-SMI", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "Integer32", "ObjectIdentity", "NotificationType", "Unsigned32", "iso", "Counter32", "MibIdentifier", "Counter64", "IpAddress", "TimeTicks", "Gauge32", "Bits", "ModuleIdentity")
TextualConvention, DisplayString = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention", "DisplayString")
alcatelIND1AUTOFABRICMIB = ModuleIdentity((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 75, 1))
alcatelIND1AUTOFABRICMIB.setRevisions(('2012-11-25 00:00',))
if mibBuilder.loadTexts: alcatelIND1AUTOFABRICMIB.setLastUpdated('201211260000Z')
if mibBuilder.loadTexts: alcatelIND1AUTOFABRICMIB.setOrganization('Alcatel - Architects Of An Internet World')
alcatelIND1AUTOFABRICMIBObjects = ObjectIdentity((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 75, 1, 1))
if mibBuilder.loadTexts: alcatelIND1AUTOFABRICMIBObjects.setStatus('current')
alcatelIND1AUTOFABRICMIBConformance = ObjectIdentity((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 75, 1, 2))
if mibBuilder.loadTexts: alcatelIND1AUTOFABRICMIBConformance.setStatus('current')
alcatelIND1AUTOFABRICMIBGroups = ObjectIdentity((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 75, 1, 2, 1))
if mibBuilder.loadTexts: alcatelIND1AUTOFABRICMIBGroups.setStatus('current')
alcatelIND1AUTOFABRICMIBCompliances = ObjectIdentity((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 75, 1, 2, 2))
if mibBuilder.loadTexts: alcatelIND1AUTOFABRICMIBCompliances.setStatus('current')
alaAutoFabricGlobalStatus = MibScalar((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 75, 1, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('enable')).setMaxAccess("readwrite")
if mibBuilder.loadTexts: alaAutoFabricGlobalStatus.setStatus('current')
alaAutoFabricGlobalDiscovery = MibScalar((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 75, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("default", 1), ("restart", 2))).clone('default')).setMaxAccess("readwrite")
if mibBuilder.loadTexts: alaAutoFabricGlobalDiscovery.setStatus('current')
alaAutoFabricGlobalLACPProtocolStatus = MibScalar((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 75, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('enable')).setMaxAccess("readwrite")
if mibBuilder.loadTexts: alaAutoFabricGlobalLACPProtocolStatus.setStatus('current')
alaAutoFabricGlobalSPBProtocolStatus = MibScalar((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 75, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('enable')).setMaxAccess("readwrite")
if mibBuilder.loadTexts: alaAutoFabricGlobalSPBProtocolStatus.setStatus('current')
alaAutoFabricGlobalMVRPProtocolStatus = MibScalar((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 75, 1, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('enable')).setMaxAccess("readwrite")
if mibBuilder.loadTexts: alaAutoFabricGlobalMVRPProtocolStatus.setStatus('current')
alaAutoFabricGlobalConfigSaveTimer = MibScalar((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 75, 1, 1, 6), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(60, 3600)).clone(300)).setUnits('seconds').setMaxAccess("readwrite")
if mibBuilder.loadTexts: alaAutoFabricGlobalConfigSaveTimer.setStatus('current')
alaAutoFabricGlobalConfigSaveTimerStatus = MibScalar((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 75, 1, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('enable')).setMaxAccess("readwrite")
if mibBuilder.loadTexts: alaAutoFabricGlobalConfigSaveTimerStatus.setStatus('current')
alaAutoFabricGlobalDiscoveryTimer = MibScalar((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 75, 1, 1, 8), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 3600)).clone(1)).setUnits('Minutes').setMaxAccess("readwrite")
if mibBuilder.loadTexts: alaAutoFabricGlobalDiscoveryTimer.setStatus('current')
alaAutoFabricRemoveGlobalConfig = MibScalar((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 75, 1, 1, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("default", 1), ("removeGlobalConfig", 2))).clone('default')).setMaxAccess("readwrite")
if mibBuilder.loadTexts: alaAutoFabricRemoveGlobalConfig.setStatus('current')
alaAutoFabricPortConfig = MibIdentifier((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 75, 1, 1, 9))
alaAutoFabricPortConfigTable = MibTable((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 75, 1, 1, 9, 1), )
if mibBuilder.loadTexts: alaAutoFabricPortConfigTable.setStatus('current')
alaAutoFabricPortConfigEntry = MibTableRow((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 75, 1, 1, 9, 1, 1), ).setIndexNames((0, "ALCATEL-IND1-AUTO-FABRIC-MIB", "alaAutoFabricPortConfigIfIndex"))
if mibBuilder.loadTexts: alaAutoFabricPortConfigEntry.setStatus('current')
alaAutoFabricPortConfigIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 75, 1, 1, 9, 1, 1, 1), InterfaceIndex())
if mibBuilder.loadTexts: alaAutoFabricPortConfigIfIndex.setStatus('current')
alaAutoFabricPortConfigStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 75, 1, 1, 9, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('enable')).setMaxAccess("readwrite")
if mibBuilder.loadTexts: alaAutoFabricPortConfigStatus.setStatus('current')
alaAutoFabricPortLACPProtocolStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 75, 1, 1, 9, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('enable')).setMaxAccess("readwrite")
if mibBuilder.loadTexts: alaAutoFabricPortLACPProtocolStatus.setStatus('current')
alaAutoFabricPortSPBProtocolStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 75, 1, 1, 9, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('enable')).setMaxAccess("readwrite")
if mibBuilder.loadTexts: alaAutoFabricPortSPBProtocolStatus.setStatus('current')
alaAutoFabricPortMVRPProtocolStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 75, 1, 1, 9, 1, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('enable')).setMaxAccess("readwrite")
if mibBuilder.loadTexts: alaAutoFabricPortMVRPProtocolStatus.setStatus('current')
alaAutoFabricPortStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 75, 1, 1, 9, 1, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("disabled", 1), ("pending", 2), ("complete", 3)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: alaAutoFabricPortStatus.setStatus('current')
alcatelIND1AUTOFABRICMIBCompliance = ModuleCompliance((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 75, 1, 2, 2, 1)).setObjects(("ALCATEL-IND1-AUTO-FABRIC-MIB", "alaAutoFabricBaseGroup"), ("ALCATEL-IND1-AUTO-FABRIC-MIB", "alaAutoFabricPortConfigGroup"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
alcatelIND1AUTOFABRICMIBCompliance = alcatelIND1AUTOFABRICMIBCompliance.setStatus('current')
alaAutoFabricBaseGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 75, 1, 2, 1, 1)).setObjects(("ALCATEL-IND1-AUTO-FABRIC-MIB", "alaAutoFabricGlobalStatus"), ("ALCATEL-IND1-AUTO-FABRIC-MIB", "alaAutoFabricGlobalDiscovery"), ("ALCATEL-IND1-AUTO-FABRIC-MIB", "alaAutoFabricGlobalLACPProtocolStatus"), ("ALCATEL-IND1-AUTO-FABRIC-MIB", "alaAutoFabricGlobalSPBProtocolStatus"), ("ALCATEL-IND1-AUTO-FABRIC-MIB", "alaAutoFabricGlobalMVRPProtocolStatus"), ("ALCATEL-IND1-AUTO-FABRIC-MIB", "alaAutoFabricGlobalConfigSaveTimer"), ("ALCATEL-IND1-AUTO-FABRIC-MIB", "alaAutoFabricGlobalConfigSaveTimerStatus"), ("ALCATEL-IND1-AUTO-FABRIC-MIB", "alaAutoFabricGlobalDiscoveryTimer"), ("ALCATEL-IND1-AUTO-FABRIC-MIB", "alaAutoFabricRemoveGlobalConfig"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
alaAutoFabricBaseGroup = alaAutoFabricBaseGroup.setStatus('current')
alaAutoFabricPortConfigGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 75, 1, 2, 1, 2)).setObjects(("ALCATEL-IND1-AUTO-FABRIC-MIB", "alaAutoFabricPortConfigStatus"), ("ALCATEL-IND1-AUTO-FABRIC-MIB", "alaAutoFabricPortLACPProtocolStatus"), ("ALCATEL-IND1-AUTO-FABRIC-MIB", "alaAutoFabricPortSPBProtocolStatus"), ("ALCATEL-IND1-AUTO-FABRIC-MIB", "alaAutoFabricPortMVRPProtocolStatus"), ("ALCATEL-IND1-AUTO-FABRIC-MIB", "alaAutoFabricPortStatus"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
alaAutoFabricPortConfigGroup = alaAutoFabricPortConfigGroup.setStatus('current')
mibBuilder.exportSymbols("ALCATEL-IND1-AUTO-FABRIC-MIB", alcatelIND1AUTOFABRICMIB=alcatelIND1AUTOFABRICMIB, PYSNMP_MODULE_ID=alcatelIND1AUTOFABRICMIB, alaAutoFabricGlobalLACPProtocolStatus=alaAutoFabricGlobalLACPProtocolStatus, alaAutoFabricPortConfigGroup=alaAutoFabricPortConfigGroup, alaAutoFabricPortConfigStatus=alaAutoFabricPortConfigStatus, alcatelIND1AUTOFABRICMIBConformance=alcatelIND1AUTOFABRICMIBConformance, alaAutoFabricPortConfigEntry=alaAutoFabricPortConfigEntry, alaAutoFabricRemoveGlobalConfig=alaAutoFabricRemoveGlobalConfig, alaAutoFabricPortStatus=alaAutoFabricPortStatus, alaAutoFabricPortConfigTable=alaAutoFabricPortConfigTable, alcatelIND1AUTOFABRICMIBGroups=alcatelIND1AUTOFABRICMIBGroups, alaAutoFabricPortLACPProtocolStatus=alaAutoFabricPortLACPProtocolStatus, alaAutoFabricGlobalConfigSaveTimer=alaAutoFabricGlobalConfigSaveTimer, alcatelIND1AUTOFABRICMIBObjects=alcatelIND1AUTOFABRICMIBObjects, alaAutoFabricGlobalMVRPProtocolStatus=alaAutoFabricGlobalMVRPProtocolStatus, alaAutoFabricGlobalConfigSaveTimerStatus=alaAutoFabricGlobalConfigSaveTimerStatus, alaAutoFabricPortConfigIfIndex=alaAutoFabricPortConfigIfIndex, alaAutoFabricPortConfig=alaAutoFabricPortConfig, alaAutoFabricBaseGroup=alaAutoFabricBaseGroup, alaAutoFabricGlobalDiscovery=alaAutoFabricGlobalDiscovery, alaAutoFabricGlobalStatus=alaAutoFabricGlobalStatus, alcatelIND1AUTOFABRICMIBCompliance=alcatelIND1AUTOFABRICMIBCompliance, alcatelIND1AUTOFABRICMIBCompliances=alcatelIND1AUTOFABRICMIBCompliances, alaAutoFabricGlobalSPBProtocolStatus=alaAutoFabricGlobalSPBProtocolStatus, alaAutoFabricPortMVRPProtocolStatus=alaAutoFabricPortMVRPProtocolStatus, alaAutoFabricPortSPBProtocolStatus=alaAutoFabricPortSPBProtocolStatus, alaAutoFabricGlobalDiscoveryTimer=alaAutoFabricGlobalDiscoveryTimer)
|
(softent_ind1_auto_fabric,) = mibBuilder.importSymbols('ALCATEL-IND1-BASE', 'softentIND1AutoFabric')
(object_identifier, octet_string, integer) = mibBuilder.importSymbols('ASN1', 'ObjectIdentifier', 'OctetString', 'Integer')
(named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues')
(value_range_constraint, constraints_intersection, constraints_union, single_value_constraint, value_size_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ValueRangeConstraint', 'ConstraintsIntersection', 'ConstraintsUnion', 'SingleValueConstraint', 'ValueSizeConstraint')
(interface_index,) = mibBuilder.importSymbols('IF-MIB', 'InterfaceIndex')
(snmp_admin_string,) = mibBuilder.importSymbols('SNMP-FRAMEWORK-MIB', 'SnmpAdminString')
(module_compliance, notification_group, object_group) = mibBuilder.importSymbols('SNMPv2-CONF', 'ModuleCompliance', 'NotificationGroup', 'ObjectGroup')
(mib_scalar, mib_table, mib_table_row, mib_table_column, integer32, object_identity, notification_type, unsigned32, iso, counter32, mib_identifier, counter64, ip_address, time_ticks, gauge32, bits, module_identity) = mibBuilder.importSymbols('SNMPv2-SMI', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'Integer32', 'ObjectIdentity', 'NotificationType', 'Unsigned32', 'iso', 'Counter32', 'MibIdentifier', 'Counter64', 'IpAddress', 'TimeTicks', 'Gauge32', 'Bits', 'ModuleIdentity')
(textual_convention, display_string) = mibBuilder.importSymbols('SNMPv2-TC', 'TextualConvention', 'DisplayString')
alcatel_ind1_autofabricmib = module_identity((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 75, 1))
alcatelIND1AUTOFABRICMIB.setRevisions(('2012-11-25 00:00',))
if mibBuilder.loadTexts:
alcatelIND1AUTOFABRICMIB.setLastUpdated('201211260000Z')
if mibBuilder.loadTexts:
alcatelIND1AUTOFABRICMIB.setOrganization('Alcatel - Architects Of An Internet World')
alcatel_ind1_autofabricmib_objects = object_identity((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 75, 1, 1))
if mibBuilder.loadTexts:
alcatelIND1AUTOFABRICMIBObjects.setStatus('current')
alcatel_ind1_autofabricmib_conformance = object_identity((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 75, 1, 2))
if mibBuilder.loadTexts:
alcatelIND1AUTOFABRICMIBConformance.setStatus('current')
alcatel_ind1_autofabricmib_groups = object_identity((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 75, 1, 2, 1))
if mibBuilder.loadTexts:
alcatelIND1AUTOFABRICMIBGroups.setStatus('current')
alcatel_ind1_autofabricmib_compliances = object_identity((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 75, 1, 2, 2))
if mibBuilder.loadTexts:
alcatelIND1AUTOFABRICMIBCompliances.setStatus('current')
ala_auto_fabric_global_status = mib_scalar((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 75, 1, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2))).clone('enable')).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
alaAutoFabricGlobalStatus.setStatus('current')
ala_auto_fabric_global_discovery = mib_scalar((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 75, 1, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('default', 1), ('restart', 2))).clone('default')).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
alaAutoFabricGlobalDiscovery.setStatus('current')
ala_auto_fabric_global_lacp_protocol_status = mib_scalar((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 75, 1, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2))).clone('enable')).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
alaAutoFabricGlobalLACPProtocolStatus.setStatus('current')
ala_auto_fabric_global_spb_protocol_status = mib_scalar((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 75, 1, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2))).clone('enable')).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
alaAutoFabricGlobalSPBProtocolStatus.setStatus('current')
ala_auto_fabric_global_mvrp_protocol_status = mib_scalar((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 75, 1, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2))).clone('enable')).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
alaAutoFabricGlobalMVRPProtocolStatus.setStatus('current')
ala_auto_fabric_global_config_save_timer = mib_scalar((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 75, 1, 1, 6), unsigned32().subtype(subtypeSpec=value_range_constraint(60, 3600)).clone(300)).setUnits('seconds').setMaxAccess('readwrite')
if mibBuilder.loadTexts:
alaAutoFabricGlobalConfigSaveTimer.setStatus('current')
ala_auto_fabric_global_config_save_timer_status = mib_scalar((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 75, 1, 1, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2))).clone('enable')).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
alaAutoFabricGlobalConfigSaveTimerStatus.setStatus('current')
ala_auto_fabric_global_discovery_timer = mib_scalar((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 75, 1, 1, 8), unsigned32().subtype(subtypeSpec=value_range_constraint(1, 3600)).clone(1)).setUnits('Minutes').setMaxAccess('readwrite')
if mibBuilder.loadTexts:
alaAutoFabricGlobalDiscoveryTimer.setStatus('current')
ala_auto_fabric_remove_global_config = mib_scalar((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 75, 1, 1, 10), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('default', 1), ('removeGlobalConfig', 2))).clone('default')).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
alaAutoFabricRemoveGlobalConfig.setStatus('current')
ala_auto_fabric_port_config = mib_identifier((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 75, 1, 1, 9))
ala_auto_fabric_port_config_table = mib_table((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 75, 1, 1, 9, 1))
if mibBuilder.loadTexts:
alaAutoFabricPortConfigTable.setStatus('current')
ala_auto_fabric_port_config_entry = mib_table_row((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 75, 1, 1, 9, 1, 1)).setIndexNames((0, 'ALCATEL-IND1-AUTO-FABRIC-MIB', 'alaAutoFabricPortConfigIfIndex'))
if mibBuilder.loadTexts:
alaAutoFabricPortConfigEntry.setStatus('current')
ala_auto_fabric_port_config_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 75, 1, 1, 9, 1, 1, 1), interface_index())
if mibBuilder.loadTexts:
alaAutoFabricPortConfigIfIndex.setStatus('current')
ala_auto_fabric_port_config_status = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 75, 1, 1, 9, 1, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2))).clone('enable')).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
alaAutoFabricPortConfigStatus.setStatus('current')
ala_auto_fabric_port_lacp_protocol_status = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 75, 1, 1, 9, 1, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2))).clone('enable')).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
alaAutoFabricPortLACPProtocolStatus.setStatus('current')
ala_auto_fabric_port_spb_protocol_status = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 75, 1, 1, 9, 1, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2))).clone('enable')).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
alaAutoFabricPortSPBProtocolStatus.setStatus('current')
ala_auto_fabric_port_mvrp_protocol_status = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 75, 1, 1, 9, 1, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2))).clone('enable')).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
alaAutoFabricPortMVRPProtocolStatus.setStatus('current')
ala_auto_fabric_port_status = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 75, 1, 1, 9, 1, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('disabled', 1), ('pending', 2), ('complete', 3)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
alaAutoFabricPortStatus.setStatus('current')
alcatel_ind1_autofabricmib_compliance = module_compliance((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 75, 1, 2, 2, 1)).setObjects(('ALCATEL-IND1-AUTO-FABRIC-MIB', 'alaAutoFabricBaseGroup'), ('ALCATEL-IND1-AUTO-FABRIC-MIB', 'alaAutoFabricPortConfigGroup'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
alcatel_ind1_autofabricmib_compliance = alcatelIND1AUTOFABRICMIBCompliance.setStatus('current')
ala_auto_fabric_base_group = object_group((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 75, 1, 2, 1, 1)).setObjects(('ALCATEL-IND1-AUTO-FABRIC-MIB', 'alaAutoFabricGlobalStatus'), ('ALCATEL-IND1-AUTO-FABRIC-MIB', 'alaAutoFabricGlobalDiscovery'), ('ALCATEL-IND1-AUTO-FABRIC-MIB', 'alaAutoFabricGlobalLACPProtocolStatus'), ('ALCATEL-IND1-AUTO-FABRIC-MIB', 'alaAutoFabricGlobalSPBProtocolStatus'), ('ALCATEL-IND1-AUTO-FABRIC-MIB', 'alaAutoFabricGlobalMVRPProtocolStatus'), ('ALCATEL-IND1-AUTO-FABRIC-MIB', 'alaAutoFabricGlobalConfigSaveTimer'), ('ALCATEL-IND1-AUTO-FABRIC-MIB', 'alaAutoFabricGlobalConfigSaveTimerStatus'), ('ALCATEL-IND1-AUTO-FABRIC-MIB', 'alaAutoFabricGlobalDiscoveryTimer'), ('ALCATEL-IND1-AUTO-FABRIC-MIB', 'alaAutoFabricRemoveGlobalConfig'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ala_auto_fabric_base_group = alaAutoFabricBaseGroup.setStatus('current')
ala_auto_fabric_port_config_group = object_group((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 75, 1, 2, 1, 2)).setObjects(('ALCATEL-IND1-AUTO-FABRIC-MIB', 'alaAutoFabricPortConfigStatus'), ('ALCATEL-IND1-AUTO-FABRIC-MIB', 'alaAutoFabricPortLACPProtocolStatus'), ('ALCATEL-IND1-AUTO-FABRIC-MIB', 'alaAutoFabricPortSPBProtocolStatus'), ('ALCATEL-IND1-AUTO-FABRIC-MIB', 'alaAutoFabricPortMVRPProtocolStatus'), ('ALCATEL-IND1-AUTO-FABRIC-MIB', 'alaAutoFabricPortStatus'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ala_auto_fabric_port_config_group = alaAutoFabricPortConfigGroup.setStatus('current')
mibBuilder.exportSymbols('ALCATEL-IND1-AUTO-FABRIC-MIB', alcatelIND1AUTOFABRICMIB=alcatelIND1AUTOFABRICMIB, PYSNMP_MODULE_ID=alcatelIND1AUTOFABRICMIB, alaAutoFabricGlobalLACPProtocolStatus=alaAutoFabricGlobalLACPProtocolStatus, alaAutoFabricPortConfigGroup=alaAutoFabricPortConfigGroup, alaAutoFabricPortConfigStatus=alaAutoFabricPortConfigStatus, alcatelIND1AUTOFABRICMIBConformance=alcatelIND1AUTOFABRICMIBConformance, alaAutoFabricPortConfigEntry=alaAutoFabricPortConfigEntry, alaAutoFabricRemoveGlobalConfig=alaAutoFabricRemoveGlobalConfig, alaAutoFabricPortStatus=alaAutoFabricPortStatus, alaAutoFabricPortConfigTable=alaAutoFabricPortConfigTable, alcatelIND1AUTOFABRICMIBGroups=alcatelIND1AUTOFABRICMIBGroups, alaAutoFabricPortLACPProtocolStatus=alaAutoFabricPortLACPProtocolStatus, alaAutoFabricGlobalConfigSaveTimer=alaAutoFabricGlobalConfigSaveTimer, alcatelIND1AUTOFABRICMIBObjects=alcatelIND1AUTOFABRICMIBObjects, alaAutoFabricGlobalMVRPProtocolStatus=alaAutoFabricGlobalMVRPProtocolStatus, alaAutoFabricGlobalConfigSaveTimerStatus=alaAutoFabricGlobalConfigSaveTimerStatus, alaAutoFabricPortConfigIfIndex=alaAutoFabricPortConfigIfIndex, alaAutoFabricPortConfig=alaAutoFabricPortConfig, alaAutoFabricBaseGroup=alaAutoFabricBaseGroup, alaAutoFabricGlobalDiscovery=alaAutoFabricGlobalDiscovery, alaAutoFabricGlobalStatus=alaAutoFabricGlobalStatus, alcatelIND1AUTOFABRICMIBCompliance=alcatelIND1AUTOFABRICMIBCompliance, alcatelIND1AUTOFABRICMIBCompliances=alcatelIND1AUTOFABRICMIBCompliances, alaAutoFabricGlobalSPBProtocolStatus=alaAutoFabricGlobalSPBProtocolStatus, alaAutoFabricPortMVRPProtocolStatus=alaAutoFabricPortMVRPProtocolStatus, alaAutoFabricPortSPBProtocolStatus=alaAutoFabricPortSPBProtocolStatus, alaAutoFabricGlobalDiscoveryTimer=alaAutoFabricGlobalDiscoveryTimer)
|
"""settings.py - Contains MAILGUN settings"""
MAILGUN_DOMAIN_NAME = "sandbox301369dd8c464b87b7874ba72a5e3039.mailgun.org"
MAILGUN_PRIVATE_API_KEY = "key-de714a26093d427c84abcb980d3f3f0a"
MAILGUN_PUBLIC_API_KEY = "pubkey-2b308844086ef26cee582ce10ac7303b"
MAILGUN_SANDBOX_SENDER = "Mailgun Sandbox <[email protected]>"
|
"""settings.py - Contains MAILGUN settings"""
mailgun_domain_name = 'sandbox301369dd8c464b87b7874ba72a5e3039.mailgun.org'
mailgun_private_api_key = 'key-de714a26093d427c84abcb980d3f3f0a'
mailgun_public_api_key = 'pubkey-2b308844086ef26cee582ce10ac7303b'
mailgun_sandbox_sender = 'Mailgun Sandbox <[email protected]>'
|
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
Cambia el formato de fecha dd/mm/aaaa por aaaa-mm-dd
ejemplo:
entrada = 20/04/2021
salida = 2021-20-04
"""
def plugin_main(*args, **kwargs):
# print ('args : ',args)
# print ('kwargs: ',kwargs)
fecha = kwargs['fecha'][0]
fecha = '{}-{}-{}'.format(fecha[-4:], fecha[3:5], fecha[:2])
#print (fecha)
return 'fecha',fecha
|
"""
Cambia el formato de fecha dd/mm/aaaa por aaaa-mm-dd
ejemplo:
entrada = 20/04/2021
salida = 2021-20-04
"""
def plugin_main(*args, **kwargs):
fecha = kwargs['fecha'][0]
fecha = '{}-{}-{}'.format(fecha[-4:], fecha[3:5], fecha[:2])
return ('fecha', fecha)
|
# Copyright (c) 2014, Charles Duyk
# 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.
#
# 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.
def dictFind(dictionary, name, exact=True):
lowerName = name.lower()
result = []
if exact:
try:
result.append(dictionary[lowerName])
except KeyError:
pass
else:
for key in dictionary:
if lowerName in key:
result.append(dictionary[key])
return result
def isIter(obj):
try:
iter(obj)
return True
except:
return False
def getIDs(items):
if isIter(items):
return map(lambda item: item.getID(), items)
else:
return [items.getID()]
|
def dict_find(dictionary, name, exact=True):
lower_name = name.lower()
result = []
if exact:
try:
result.append(dictionary[lowerName])
except KeyError:
pass
else:
for key in dictionary:
if lowerName in key:
result.append(dictionary[key])
return result
def is_iter(obj):
try:
iter(obj)
return True
except:
return False
def get_i_ds(items):
if is_iter(items):
return map(lambda item: item.getID(), items)
else:
return [items.getID()]
|
AWS_DOCKER_HOST = "308535385114.dkr.ecr.us-east-1.amazonaws.com"
def gen_docker_image(container_type):
return (
"/".join([AWS_DOCKER_HOST, "pytorch", container_type]),
f"docker-{container_type}",
)
def gen_docker_image_requires(image_name):
return [f"docker-{image_name}"]
DOCKER_IMAGE_BASIC, DOCKER_REQUIREMENT_BASE = gen_docker_image(
"pytorch-linux-xenial-py3.7-gcc5.4"
)
DOCKER_IMAGE_CUDA_10_2, DOCKER_REQUIREMENT_CUDA_10_2 = gen_docker_image(
"pytorch-linux-xenial-cuda10.2-cudnn7-py3-gcc7"
)
DOCKER_IMAGE_GCC7, DOCKER_REQUIREMENT_GCC7 = gen_docker_image(
"pytorch-linux-xenial-py3.7-gcc7"
)
def gen_mobile_docker(specifier):
container_type = "pytorch-linux-xenial-py3-clang5-" + specifier
return gen_docker_image(container_type)
DOCKER_IMAGE_ASAN, DOCKER_REQUIREMENT_ASAN = gen_mobile_docker("asan")
DOCKER_IMAGE_NDK, DOCKER_REQUIREMENT_NDK = gen_mobile_docker("android-ndk-r19c")
|
aws_docker_host = '308535385114.dkr.ecr.us-east-1.amazonaws.com'
def gen_docker_image(container_type):
return ('/'.join([AWS_DOCKER_HOST, 'pytorch', container_type]), f'docker-{container_type}')
def gen_docker_image_requires(image_name):
return [f'docker-{image_name}']
(docker_image_basic, docker_requirement_base) = gen_docker_image('pytorch-linux-xenial-py3.7-gcc5.4')
(docker_image_cuda_10_2, docker_requirement_cuda_10_2) = gen_docker_image('pytorch-linux-xenial-cuda10.2-cudnn7-py3-gcc7')
(docker_image_gcc7, docker_requirement_gcc7) = gen_docker_image('pytorch-linux-xenial-py3.7-gcc7')
def gen_mobile_docker(specifier):
container_type = 'pytorch-linux-xenial-py3-clang5-' + specifier
return gen_docker_image(container_type)
(docker_image_asan, docker_requirement_asan) = gen_mobile_docker('asan')
(docker_image_ndk, docker_requirement_ndk) = gen_mobile_docker('android-ndk-r19c')
|
#
# PySNMP MIB module DNOS-KEYING-PRIVATE-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/DNOS-KEYING-PRIVATE-MIB
# Produced by pysmi-0.3.4 at Mon Apr 29 18:36:48 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, ObjectIdentifier, OctetString = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString")
NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues")
ValueSizeConstraint, SingleValueConstraint, ConstraintsIntersection, ValueRangeConstraint, ConstraintsUnion = mibBuilder.importSymbols("ASN1-REFINEMENT", "ValueSizeConstraint", "SingleValueConstraint", "ConstraintsIntersection", "ValueRangeConstraint", "ConstraintsUnion")
dnOS, = mibBuilder.importSymbols("DELL-REF-MIB", "dnOS")
NotificationGroup, ModuleCompliance = mibBuilder.importSymbols("SNMPv2-CONF", "NotificationGroup", "ModuleCompliance")
Gauge32, Integer32, iso, ObjectIdentity, MibIdentifier, TimeTicks, NotificationType, Bits, Counter32, IpAddress, ModuleIdentity, MibScalar, MibTable, MibTableRow, MibTableColumn, Counter64, Unsigned32 = mibBuilder.importSymbols("SNMPv2-SMI", "Gauge32", "Integer32", "iso", "ObjectIdentity", "MibIdentifier", "TimeTicks", "NotificationType", "Bits", "Counter32", "IpAddress", "ModuleIdentity", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "Counter64", "Unsigned32")
RowPointer, RowStatus, DisplayString, TextualConvention = mibBuilder.importSymbols("SNMPv2-TC", "RowPointer", "RowStatus", "DisplayString", "TextualConvention")
fastPathKeyingPrivate = ModuleIdentity((1, 3, 6, 1, 4, 1, 674, 10895, 5000, 2, 6132, 1, 1, 24))
fastPathKeyingPrivate.setRevisions(('2011-01-26 00:00', '2007-05-23 00:00',))
if mibBuilder.loadTexts: fastPathKeyingPrivate.setLastUpdated('201101260000Z')
if mibBuilder.loadTexts: fastPathKeyingPrivate.setOrganization('Dell, Inc.')
agentFeatureKeyingGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 674, 10895, 5000, 2, 6132, 1, 1, 24, 1))
agentFeatureKeyingEnableKey = MibScalar((1, 3, 6, 1, 4, 1, 674, 10895, 5000, 2, 6132, 1, 1, 24, 1, 1), DisplayString()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: agentFeatureKeyingEnableKey.setStatus('current')
agentFeatureKeyingDisableKey = MibScalar((1, 3, 6, 1, 4, 1, 674, 10895, 5000, 2, 6132, 1, 1, 24, 1, 2), DisplayString()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: agentFeatureKeyingDisableKey.setStatus('current')
agentFeatureKeyingTable = MibTable((1, 3, 6, 1, 4, 1, 674, 10895, 5000, 2, 6132, 1, 1, 24, 1, 3), )
if mibBuilder.loadTexts: agentFeatureKeyingTable.setStatus('current')
agentFeatureKeyingEntry = MibTableRow((1, 3, 6, 1, 4, 1, 674, 10895, 5000, 2, 6132, 1, 1, 24, 1, 3, 1), ).setIndexNames((0, "DNOS-KEYING-PRIVATE-MIB", "agentFeatureKeyingIndex"))
if mibBuilder.loadTexts: agentFeatureKeyingEntry.setStatus('current')
agentFeatureKeyingIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 5000, 2, 6132, 1, 1, 24, 1, 3, 1, 1), Unsigned32())
if mibBuilder.loadTexts: agentFeatureKeyingIndex.setStatus('current')
agentFeatureKeyingName = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 5000, 2, 6132, 1, 1, 24, 1, 3, 1, 2), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: agentFeatureKeyingName.setStatus('current')
agentFeatureKeyingStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 5000, 2, 6132, 1, 1, 24, 1, 3, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: agentFeatureKeyingStatus.setStatus('current')
mibBuilder.exportSymbols("DNOS-KEYING-PRIVATE-MIB", agentFeatureKeyingIndex=agentFeatureKeyingIndex, agentFeatureKeyingTable=agentFeatureKeyingTable, agentFeatureKeyingEntry=agentFeatureKeyingEntry, agentFeatureKeyingStatus=agentFeatureKeyingStatus, PYSNMP_MODULE_ID=fastPathKeyingPrivate, agentFeatureKeyingDisableKey=agentFeatureKeyingDisableKey, agentFeatureKeyingName=agentFeatureKeyingName, agentFeatureKeyingEnableKey=agentFeatureKeyingEnableKey, fastPathKeyingPrivate=fastPathKeyingPrivate, agentFeatureKeyingGroup=agentFeatureKeyingGroup)
|
(integer, object_identifier, octet_string) = mibBuilder.importSymbols('ASN1', 'Integer', 'ObjectIdentifier', 'OctetString')
(named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues')
(value_size_constraint, single_value_constraint, constraints_intersection, value_range_constraint, constraints_union) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ValueSizeConstraint', 'SingleValueConstraint', 'ConstraintsIntersection', 'ValueRangeConstraint', 'ConstraintsUnion')
(dn_os,) = mibBuilder.importSymbols('DELL-REF-MIB', 'dnOS')
(notification_group, module_compliance) = mibBuilder.importSymbols('SNMPv2-CONF', 'NotificationGroup', 'ModuleCompliance')
(gauge32, integer32, iso, object_identity, mib_identifier, time_ticks, notification_type, bits, counter32, ip_address, module_identity, mib_scalar, mib_table, mib_table_row, mib_table_column, counter64, unsigned32) = mibBuilder.importSymbols('SNMPv2-SMI', 'Gauge32', 'Integer32', 'iso', 'ObjectIdentity', 'MibIdentifier', 'TimeTicks', 'NotificationType', 'Bits', 'Counter32', 'IpAddress', 'ModuleIdentity', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'Counter64', 'Unsigned32')
(row_pointer, row_status, display_string, textual_convention) = mibBuilder.importSymbols('SNMPv2-TC', 'RowPointer', 'RowStatus', 'DisplayString', 'TextualConvention')
fast_path_keying_private = module_identity((1, 3, 6, 1, 4, 1, 674, 10895, 5000, 2, 6132, 1, 1, 24))
fastPathKeyingPrivate.setRevisions(('2011-01-26 00:00', '2007-05-23 00:00'))
if mibBuilder.loadTexts:
fastPathKeyingPrivate.setLastUpdated('201101260000Z')
if mibBuilder.loadTexts:
fastPathKeyingPrivate.setOrganization('Dell, Inc.')
agent_feature_keying_group = mib_identifier((1, 3, 6, 1, 4, 1, 674, 10895, 5000, 2, 6132, 1, 1, 24, 1))
agent_feature_keying_enable_key = mib_scalar((1, 3, 6, 1, 4, 1, 674, 10895, 5000, 2, 6132, 1, 1, 24, 1, 1), display_string()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
agentFeatureKeyingEnableKey.setStatus('current')
agent_feature_keying_disable_key = mib_scalar((1, 3, 6, 1, 4, 1, 674, 10895, 5000, 2, 6132, 1, 1, 24, 1, 2), display_string()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
agentFeatureKeyingDisableKey.setStatus('current')
agent_feature_keying_table = mib_table((1, 3, 6, 1, 4, 1, 674, 10895, 5000, 2, 6132, 1, 1, 24, 1, 3))
if mibBuilder.loadTexts:
agentFeatureKeyingTable.setStatus('current')
agent_feature_keying_entry = mib_table_row((1, 3, 6, 1, 4, 1, 674, 10895, 5000, 2, 6132, 1, 1, 24, 1, 3, 1)).setIndexNames((0, 'DNOS-KEYING-PRIVATE-MIB', 'agentFeatureKeyingIndex'))
if mibBuilder.loadTexts:
agentFeatureKeyingEntry.setStatus('current')
agent_feature_keying_index = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 5000, 2, 6132, 1, 1, 24, 1, 3, 1, 1), unsigned32())
if mibBuilder.loadTexts:
agentFeatureKeyingIndex.setStatus('current')
agent_feature_keying_name = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 5000, 2, 6132, 1, 1, 24, 1, 3, 1, 2), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
agentFeatureKeyingName.setStatus('current')
agent_feature_keying_status = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 5000, 2, 6132, 1, 1, 24, 1, 3, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
agentFeatureKeyingStatus.setStatus('current')
mibBuilder.exportSymbols('DNOS-KEYING-PRIVATE-MIB', agentFeatureKeyingIndex=agentFeatureKeyingIndex, agentFeatureKeyingTable=agentFeatureKeyingTable, agentFeatureKeyingEntry=agentFeatureKeyingEntry, agentFeatureKeyingStatus=agentFeatureKeyingStatus, PYSNMP_MODULE_ID=fastPathKeyingPrivate, agentFeatureKeyingDisableKey=agentFeatureKeyingDisableKey, agentFeatureKeyingName=agentFeatureKeyingName, agentFeatureKeyingEnableKey=agentFeatureKeyingEnableKey, fastPathKeyingPrivate=fastPathKeyingPrivate, agentFeatureKeyingGroup=agentFeatureKeyingGroup)
|
class QTimer:
def __init__(self, ticks_per_hour = 60, hours_per_day:int = 24):
self.ticks = 0
self.ticks_per_hour = ticks_per_hour
self.hours_per_day = hours_per_day
def tick(self, increment : int = 1):
self.ticks += increment
@property
def minutes(self):
return self.ticks % (self.ticks_per_hour)
@property
def hour(self):
return (self.ticks // (self.ticks_per_hour)) % self.hours_per_day
@property
def day(self):
return self.ticks // (self.ticks_per_hour * self.hours_per_day)
def __str__(self):
return f"Days {self.day:02} Hours {self.hour:02} Minutes {self.minutes:02}"
if __name__ == "__main__":
q1 = QTimer()
print(q1)
q1.tick(137)
print(q1)
q1.tick(60* 34)
print(q1)
q1.tick(60)
print(q1)
|
class Qtimer:
def __init__(self, ticks_per_hour=60, hours_per_day: int=24):
self.ticks = 0
self.ticks_per_hour = ticks_per_hour
self.hours_per_day = hours_per_day
def tick(self, increment: int=1):
self.ticks += increment
@property
def minutes(self):
return self.ticks % self.ticks_per_hour
@property
def hour(self):
return self.ticks // self.ticks_per_hour % self.hours_per_day
@property
def day(self):
return self.ticks // (self.ticks_per_hour * self.hours_per_day)
def __str__(self):
return f'Days {self.day:02} Hours {self.hour:02} Minutes {self.minutes:02}'
if __name__ == '__main__':
q1 = q_timer()
print(q1)
q1.tick(137)
print(q1)
q1.tick(60 * 34)
print(q1)
q1.tick(60)
print(q1)
|
# Copyright (C) 2020 Open Source Integrators
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
{
"name": "No Default Account",
"version": "14.0.1.0.0",
"development_status": "Beta",
"author": "Open Source Integrators, Odoo Community Association (OCA)",
"maintainers": ["dreispt"],
"summary": "Remove default expense account for vendor bills journal",
"website": "https://github.com/OCA/account-financial-tools",
"license": "AGPL-3",
"depends": ["account"],
"category": "Accounting/Accounting",
"data": [
"views/account_journal_views.xml",
],
"installable": True,
}
|
{'name': 'No Default Account', 'version': '14.0.1.0.0', 'development_status': 'Beta', 'author': 'Open Source Integrators, Odoo Community Association (OCA)', 'maintainers': ['dreispt'], 'summary': 'Remove default expense account for vendor bills journal', 'website': 'https://github.com/OCA/account-financial-tools', 'license': 'AGPL-3', 'depends': ['account'], 'category': 'Accounting/Accounting', 'data': ['views/account_journal_views.xml'], 'installable': True}
|
def swap_even_and_odd_bits(n):
'''Swaps the even and odd bits of an unsigned, 8-bits number.
>>> swap_even_and_odd_bits(0b10101010) == 0b01010101
True
>>> swap_even_and_odd_bits(0b11100010) == 0b11010001
True
'''
assert 0 <= n <= 0xFF, 'Not an 8-bit unsigned number'
return ((n & 0b10101010) >> 1) | ((n & 0b01010101) << 1)
|
def swap_even_and_odd_bits(n):
"""Swaps the even and odd bits of an unsigned, 8-bits number.
>>> swap_even_and_odd_bits(0b10101010) == 0b01010101
True
>>> swap_even_and_odd_bits(0b11100010) == 0b11010001
True
"""
assert 0 <= n <= 255, 'Not an 8-bit unsigned number'
return (n & 170) >> 1 | (n & 85) << 1
|
URLs = {
"ADULT_SAMPLE":[
"https://s3.amazonaws.com/fast-ai-sample/adult_sample.tgz",
968212,
"64eb9d7e23732de0b138f7372d15492f"
],
"AG_NEWS":[
"https://s3.amazonaws.com/fast-ai-nlp/ag_news_csv.tgz",
11784419,
"b86f328f4dbd072486591cb7a5644dcd"
],
"AMAZON_REVIEWS":[
"https://s3.amazonaws.com/fast-ai-nlp/amazon_review_full_csv.tgz",
643695014,
"4a1196cf0adaea22f4bc3f592cddde90"
],
"AMAZON_REVIEWS_POLARITY":[
"https://s3.amazonaws.com/fast-ai-nlp/amazon_review_polarity_csv.tgz",
688339454,
"676f7e5208ec343c8274b4bb085bc938"
],
"BIWI_HEAD_POSE":[
"https://s3.amazonaws.com/fast-ai-imagelocal/biwi_head_pose.tgz",
452316199,
"00f4ccf66e8cba184bc292fdc08fb237"
],
"BIWI_SAMPLE":[
"https://s3.amazonaws.com/fast-ai-sample/biwi_sample.tgz",
593774,
"9179f4c1435f4b291f0d5b072d60c2c9"
],
"CALTECH_101":[
"https://s3.amazonaws.com/fast-ai-imageclas/caltech_101.tgz",
131740031,
"d673425306e98ee4619fcdeef8a0e876"
],
"CAMVID":[
"https://s3.amazonaws.com/fast-ai-imagelocal/camvid.tgz",
598913237,
"648371e4f3a833682afb39b08a3ce2aa"
],
"CAMVID_TINY":[
"https://s3.amazonaws.com/fast-ai-sample/camvid_tiny.tgz",
2314212,
"2cf6daf91b7a2083ecfa3e9968e9d915"
],
"CARS":[
"https://s3.amazonaws.com/fast-ai-imageclas/stanford-cars.tgz",
1957803273,
"9045d6673c9ced0889f41816f6bf2f9f"
],
"CIFAR":[
"https://s3.amazonaws.com/fast-ai-sample/cifar10.tgz",
168168549,
"a5f8c31371b63a406b23368042812d3c"
],
"CIFAR_100":[
"https://s3.amazonaws.com/fast-ai-imageclas/cifar100.tgz",
169168619,
"e5e65dcb54b9d3913f7b8a9ad6607e62"
],
"COCO_SAMPLE":[
"https://s3.amazonaws.com/fast-ai-coco/coco_sample.tgz",
3245877008,
"006cd55d633d94b36ecaf661467830ec"
],
"COCO_TINY":[
"https://s3.amazonaws.com/fast-ai-coco/coco_tiny.tgz",
801038,
"367467451ac4fba79a647753c2c66d3a"
],
"CUB_200_2011":[
"https://s3.amazonaws.com/fast-ai-imageclas/CUB_200_2011.tgz",
1150585339,
"d2acaa99439dff0483c7bbac1bfe2a92"
],
"DBPEDIA":[
"https://s3.amazonaws.com/fast-ai-nlp/dbpedia_csv.tgz",
68341743,
"239c7837b9e79db34486f3de6a00e38e"
],
"DOGS":[
"https://s3.amazonaws.com/fast-ai-sample/dogscats.tgz",
839285364,
"3e483c8d6ef2175e9d395a6027eb92b7"
],
"FLOWERS":[
"https://s3.amazonaws.com/fast-ai-imageclas/oxford-102-flowers.tgz",
345236087,
"5666e01c1311b4c67fcf20d2b3850a88"
],
"FOOD":[
"https://s3.amazonaws.com/fast-ai-imageclas/food-101.tgz",
5686607260,
"1a540ebf1fb40b2bf3f2294234ba7907"
],
"HUMAN_NUMBERS":[
"https://s3.amazonaws.com/fast-ai-sample/human_numbers.tgz",
30252,
"8a19c3bfa2bcb08cd787e741261f3ea2"
],
"IMAGENETTE":[
"https://s3.amazonaws.com/fast-ai-imageclas/imagenette2.tgz",
1557161267,
"2c774ecb40005b35d7937d50f5d42336"
],
"IMAGENETTE_160":[
"https://s3.amazonaws.com/fast-ai-imageclas/imagenette2-160.tgz",
99003388,
"c475f8f7617a200ba35b9facc48443c3"
],
"IMAGENETTE_320":[
"https://s3.amazonaws.com/fast-ai-imageclas/imagenette2-320.tgz",
341553947,
"55496feff4562875a3246d819d094b2b"
],
"IMAGEWANG":[
"https://s3.amazonaws.com/fast-ai-imageclas/imagewang.tgz",
2900347689,
"2b7776bac0fc95db72ac8a3b091a3e30"
],
"IMAGEWANG_160":[
"https://s3.amazonaws.com/fast-ai-imageclas/imagewang-160.tgz",
191498213,
"dab9b1d97b95574ac64122a19bc74ca1"
],
"IMAGEWANG_320":[
"https://s3.amazonaws.com/fast-ai-imageclas/imagewang-320.tgz",
669826647,
"fff8ac034d60e14fcf7789845e625263"
],
"IMAGEWOOF":[
"https://s3.amazonaws.com/fast-ai-imageclas/imagewoof2.tgz",
1343715595,
"2cc1c1e36e20cb6fd24ffb978edcb487"
],
"IMAGEWOOF_160":[
"https://s3.amazonaws.com/fast-ai-imageclas/imagewoof2-160.tgz",
92612825,
"3559b194123981a540b87132dbda412f"
],
"IMAGEWOOF_320":[
"https://s3.amazonaws.com/fast-ai-imageclas/imagewoof2-320.tgz",
328387740,
"7a1fd92672a559a85de76e4810a20c21"
],
"IMDB":[
"https://s3.amazonaws.com/fast-ai-nlp/imdb.tgz",
144440600,
"90f9b1c4ff43a90d67553c9240dc0249"
],
"IMDB_SAMPLE":[
"https://s3.amazonaws.com/fast-ai-sample/imdb_sample.tgz",
571827,
"0842e61a9867caa2e6fbdb14fa703d61"
],
"LSUN_BEDROOMS":[
"https://s3.amazonaws.com/fast-ai-imageclas/bedroom.tgz",
4579163978,
"35d84f38f8a15fe47e66e460c8800d68"
],
"MACAQUES":[
"https://storage.googleapis.com/ml-animal-sounds-datasets/macaques.zip",
131604586,
"44fec3950e61d6a898f16fe30bc9c88d"
],
"ML_100k":[
"http://files.grouplens.org/datasets/movielens/ml-100k.zip",
4924029,
"39f6af2d7ea4e117f8838e4a302fec70"
],
"ML_SAMPLE":[
"https://s3.amazonaws.com/fast-ai-sample/movie_lens_sample.tgz",
51790,
"10961384dfe7c5181460390a460c1f77"
],
"MNIST":[
"https://s3.amazonaws.com/fast-ai-imageclas/mnist_png.tgz",
15683414,
"03639f83c4e3d19e0a3a53a8a997c487"
],
"MNIST_SAMPLE":[
"https://s3.amazonaws.com/fast-ai-sample/mnist_sample.tgz",
3214948,
"2dbc7ec6f9259b583af0072c55816a88"
],
"MNIST_TINY":[
"https://s3.amazonaws.com/fast-ai-sample/mnist_tiny.tgz",
342207,
"56143e8f24db90d925d82a5a74141875"
],
"MNIST_VAR_SIZE_TINY":[
"https://s3.amazonaws.com/fast-ai-imageclas/mnist_var_size_tiny.tgz",
565372,
"b71a930f4eb744a4a143a6c7ff7ed67f"
],
"MT_ENG_FRA":[
"https://s3.amazonaws.com/fast-ai-nlp/giga-fren.tgz",
2598183296,
"69573f58e2c850b90f2f954077041d8c"
],
"OPENAI_TRANSFORMER":[
"https://s3.amazonaws.com/fast-ai-modelzoo/transformer.tgz",
432848315,
"024b0d2203ebb0cd1fc64b27cf8af18e"
],
"PASCAL_2007":[
"https://s3.amazonaws.com/fast-ai-imagelocal/pascal_2007.tgz",
1637796771,
"433b4706eb7c42bd74e7f784e3fdf244"
],
"PASCAL_2012":[
"https://s3.amazonaws.com/fast-ai-imagelocal/pascal_2012.tgz",
2618908000,
"d90e29e54a4c76c0c6fba8355dcbaca5"
],
"PETS":[
"https://s3.amazonaws.com/fast-ai-imageclas/oxford-iiit-pet.tgz",
811706944,
"e4db5c768afd933bb91f5f594d7417a4"
],
"PLANET_SAMPLE":[
"https://s3.amazonaws.com/fast-ai-sample/planet_sample.tgz",
15523994,
"8bfb174b3162f07fbde09b54555bdb00"
],
"PLANET_TINY":[
"https://s3.amazonaws.com/fast-ai-sample/planet_tiny.tgz",
997569,
"490873c5683454d4b2611fb1f00a68a9"
],
"SIIM_SMALL":[
"https://s3.amazonaws.com/fast-ai-imagelocal/siim_small.tgz",
33276453,
"2f88ac350dce1d971ecbb5ec722da75f"
],
"SOGOU_NEWS":[
"https://s3.amazonaws.com/fast-ai-nlp/sogou_news_csv.tgz",
384269937,
"950f1366d33be52f5b944f8a8b680902"
],
"TCGA_SMALL":[
"https://s3.amazonaws.com/fast-ai-imagelocal/tcga_small.tgz",
14744474,
"3ceffe7cf522cb1c60e93dc555d8817f"
],
"WIKITEXT":[
"https://s3.amazonaws.com/fast-ai-nlp/wikitext-103.tgz",
190200704,
"2dd8cf8693b3d27e9c8f0a7df054b2c7"
],
"WIKITEXT_TINY":[
"https://s3.amazonaws.com/fast-ai-nlp/wikitext-2.tgz",
4070055,
"2a82d47a7b85c8b6a8e068dc4c1d37e7"
],
"WT103_BWD":[
"https://s3.amazonaws.com/fast-ai-modelzoo/wt103-bwd.tgz",
105205312,
'20b06f5830fd5a891d21044c28d3097f'
],
"WT103_FWD":[
"https://s3.amazonaws.com/fast-ai-modelzoo/wt103-fwd.tgz",
105067061,
'7d1114cd9684bf9d1ca3c9f6a54da6f9'
],
"YAHOO_ANSWERS":[
"https://s3.amazonaws.com/fast-ai-nlp/yahoo_answers_csv.tgz",
319476345,
"0632a0d236ef3a529c0fa4429b339f68"
],
"YELP_REVIEWS":[
"https://s3.amazonaws.com/fast-ai-nlp/yelp_review_full_csv.tgz",
196146755,
"1efd84215ea3e30d90e4c33764b889db"
],
"YELP_REVIEWS_POLARITY":[
"https://s3.amazonaws.com/fast-ai-nlp/yelp_review_polarity_csv.tgz",
166373201,
"48c8451c1ad30472334d856b5d294807"
],
"ZEBRA_FINCH":[
"https://storage.googleapis.com/ml-animal-sounds-datasets/zebra_finch.zip",
83886080,
"91fa9c4ebfc986b9babc2a805a10e281"
]
}
|
ur_ls = {'ADULT_SAMPLE': ['https://s3.amazonaws.com/fast-ai-sample/adult_sample.tgz', 968212, '64eb9d7e23732de0b138f7372d15492f'], 'AG_NEWS': ['https://s3.amazonaws.com/fast-ai-nlp/ag_news_csv.tgz', 11784419, 'b86f328f4dbd072486591cb7a5644dcd'], 'AMAZON_REVIEWS': ['https://s3.amazonaws.com/fast-ai-nlp/amazon_review_full_csv.tgz', 643695014, '4a1196cf0adaea22f4bc3f592cddde90'], 'AMAZON_REVIEWS_POLARITY': ['https://s3.amazonaws.com/fast-ai-nlp/amazon_review_polarity_csv.tgz', 688339454, '676f7e5208ec343c8274b4bb085bc938'], 'BIWI_HEAD_POSE': ['https://s3.amazonaws.com/fast-ai-imagelocal/biwi_head_pose.tgz', 452316199, '00f4ccf66e8cba184bc292fdc08fb237'], 'BIWI_SAMPLE': ['https://s3.amazonaws.com/fast-ai-sample/biwi_sample.tgz', 593774, '9179f4c1435f4b291f0d5b072d60c2c9'], 'CALTECH_101': ['https://s3.amazonaws.com/fast-ai-imageclas/caltech_101.tgz', 131740031, 'd673425306e98ee4619fcdeef8a0e876'], 'CAMVID': ['https://s3.amazonaws.com/fast-ai-imagelocal/camvid.tgz', 598913237, '648371e4f3a833682afb39b08a3ce2aa'], 'CAMVID_TINY': ['https://s3.amazonaws.com/fast-ai-sample/camvid_tiny.tgz', 2314212, '2cf6daf91b7a2083ecfa3e9968e9d915'], 'CARS': ['https://s3.amazonaws.com/fast-ai-imageclas/stanford-cars.tgz', 1957803273, '9045d6673c9ced0889f41816f6bf2f9f'], 'CIFAR': ['https://s3.amazonaws.com/fast-ai-sample/cifar10.tgz', 168168549, 'a5f8c31371b63a406b23368042812d3c'], 'CIFAR_100': ['https://s3.amazonaws.com/fast-ai-imageclas/cifar100.tgz', 169168619, 'e5e65dcb54b9d3913f7b8a9ad6607e62'], 'COCO_SAMPLE': ['https://s3.amazonaws.com/fast-ai-coco/coco_sample.tgz', 3245877008, '006cd55d633d94b36ecaf661467830ec'], 'COCO_TINY': ['https://s3.amazonaws.com/fast-ai-coco/coco_tiny.tgz', 801038, '367467451ac4fba79a647753c2c66d3a'], 'CUB_200_2011': ['https://s3.amazonaws.com/fast-ai-imageclas/CUB_200_2011.tgz', 1150585339, 'd2acaa99439dff0483c7bbac1bfe2a92'], 'DBPEDIA': ['https://s3.amazonaws.com/fast-ai-nlp/dbpedia_csv.tgz', 68341743, '239c7837b9e79db34486f3de6a00e38e'], 'DOGS': ['https://s3.amazonaws.com/fast-ai-sample/dogscats.tgz', 839285364, '3e483c8d6ef2175e9d395a6027eb92b7'], 'FLOWERS': ['https://s3.amazonaws.com/fast-ai-imageclas/oxford-102-flowers.tgz', 345236087, '5666e01c1311b4c67fcf20d2b3850a88'], 'FOOD': ['https://s3.amazonaws.com/fast-ai-imageclas/food-101.tgz', 5686607260, '1a540ebf1fb40b2bf3f2294234ba7907'], 'HUMAN_NUMBERS': ['https://s3.amazonaws.com/fast-ai-sample/human_numbers.tgz', 30252, '8a19c3bfa2bcb08cd787e741261f3ea2'], 'IMAGENETTE': ['https://s3.amazonaws.com/fast-ai-imageclas/imagenette2.tgz', 1557161267, '2c774ecb40005b35d7937d50f5d42336'], 'IMAGENETTE_160': ['https://s3.amazonaws.com/fast-ai-imageclas/imagenette2-160.tgz', 99003388, 'c475f8f7617a200ba35b9facc48443c3'], 'IMAGENETTE_320': ['https://s3.amazonaws.com/fast-ai-imageclas/imagenette2-320.tgz', 341553947, '55496feff4562875a3246d819d094b2b'], 'IMAGEWANG': ['https://s3.amazonaws.com/fast-ai-imageclas/imagewang.tgz', 2900347689, '2b7776bac0fc95db72ac8a3b091a3e30'], 'IMAGEWANG_160': ['https://s3.amazonaws.com/fast-ai-imageclas/imagewang-160.tgz', 191498213, 'dab9b1d97b95574ac64122a19bc74ca1'], 'IMAGEWANG_320': ['https://s3.amazonaws.com/fast-ai-imageclas/imagewang-320.tgz', 669826647, 'fff8ac034d60e14fcf7789845e625263'], 'IMAGEWOOF': ['https://s3.amazonaws.com/fast-ai-imageclas/imagewoof2.tgz', 1343715595, '2cc1c1e36e20cb6fd24ffb978edcb487'], 'IMAGEWOOF_160': ['https://s3.amazonaws.com/fast-ai-imageclas/imagewoof2-160.tgz', 92612825, '3559b194123981a540b87132dbda412f'], 'IMAGEWOOF_320': ['https://s3.amazonaws.com/fast-ai-imageclas/imagewoof2-320.tgz', 328387740, '7a1fd92672a559a85de76e4810a20c21'], 'IMDB': ['https://s3.amazonaws.com/fast-ai-nlp/imdb.tgz', 144440600, '90f9b1c4ff43a90d67553c9240dc0249'], 'IMDB_SAMPLE': ['https://s3.amazonaws.com/fast-ai-sample/imdb_sample.tgz', 571827, '0842e61a9867caa2e6fbdb14fa703d61'], 'LSUN_BEDROOMS': ['https://s3.amazonaws.com/fast-ai-imageclas/bedroom.tgz', 4579163978, '35d84f38f8a15fe47e66e460c8800d68'], 'MACAQUES': ['https://storage.googleapis.com/ml-animal-sounds-datasets/macaques.zip', 131604586, '44fec3950e61d6a898f16fe30bc9c88d'], 'ML_100k': ['http://files.grouplens.org/datasets/movielens/ml-100k.zip', 4924029, '39f6af2d7ea4e117f8838e4a302fec70'], 'ML_SAMPLE': ['https://s3.amazonaws.com/fast-ai-sample/movie_lens_sample.tgz', 51790, '10961384dfe7c5181460390a460c1f77'], 'MNIST': ['https://s3.amazonaws.com/fast-ai-imageclas/mnist_png.tgz', 15683414, '03639f83c4e3d19e0a3a53a8a997c487'], 'MNIST_SAMPLE': ['https://s3.amazonaws.com/fast-ai-sample/mnist_sample.tgz', 3214948, '2dbc7ec6f9259b583af0072c55816a88'], 'MNIST_TINY': ['https://s3.amazonaws.com/fast-ai-sample/mnist_tiny.tgz', 342207, '56143e8f24db90d925d82a5a74141875'], 'MNIST_VAR_SIZE_TINY': ['https://s3.amazonaws.com/fast-ai-imageclas/mnist_var_size_tiny.tgz', 565372, 'b71a930f4eb744a4a143a6c7ff7ed67f'], 'MT_ENG_FRA': ['https://s3.amazonaws.com/fast-ai-nlp/giga-fren.tgz', 2598183296, '69573f58e2c850b90f2f954077041d8c'], 'OPENAI_TRANSFORMER': ['https://s3.amazonaws.com/fast-ai-modelzoo/transformer.tgz', 432848315, '024b0d2203ebb0cd1fc64b27cf8af18e'], 'PASCAL_2007': ['https://s3.amazonaws.com/fast-ai-imagelocal/pascal_2007.tgz', 1637796771, '433b4706eb7c42bd74e7f784e3fdf244'], 'PASCAL_2012': ['https://s3.amazonaws.com/fast-ai-imagelocal/pascal_2012.tgz', 2618908000, 'd90e29e54a4c76c0c6fba8355dcbaca5'], 'PETS': ['https://s3.amazonaws.com/fast-ai-imageclas/oxford-iiit-pet.tgz', 811706944, 'e4db5c768afd933bb91f5f594d7417a4'], 'PLANET_SAMPLE': ['https://s3.amazonaws.com/fast-ai-sample/planet_sample.tgz', 15523994, '8bfb174b3162f07fbde09b54555bdb00'], 'PLANET_TINY': ['https://s3.amazonaws.com/fast-ai-sample/planet_tiny.tgz', 997569, '490873c5683454d4b2611fb1f00a68a9'], 'SIIM_SMALL': ['https://s3.amazonaws.com/fast-ai-imagelocal/siim_small.tgz', 33276453, '2f88ac350dce1d971ecbb5ec722da75f'], 'SOGOU_NEWS': ['https://s3.amazonaws.com/fast-ai-nlp/sogou_news_csv.tgz', 384269937, '950f1366d33be52f5b944f8a8b680902'], 'TCGA_SMALL': ['https://s3.amazonaws.com/fast-ai-imagelocal/tcga_small.tgz', 14744474, '3ceffe7cf522cb1c60e93dc555d8817f'], 'WIKITEXT': ['https://s3.amazonaws.com/fast-ai-nlp/wikitext-103.tgz', 190200704, '2dd8cf8693b3d27e9c8f0a7df054b2c7'], 'WIKITEXT_TINY': ['https://s3.amazonaws.com/fast-ai-nlp/wikitext-2.tgz', 4070055, '2a82d47a7b85c8b6a8e068dc4c1d37e7'], 'WT103_BWD': ['https://s3.amazonaws.com/fast-ai-modelzoo/wt103-bwd.tgz', 105205312, '20b06f5830fd5a891d21044c28d3097f'], 'WT103_FWD': ['https://s3.amazonaws.com/fast-ai-modelzoo/wt103-fwd.tgz', 105067061, '7d1114cd9684bf9d1ca3c9f6a54da6f9'], 'YAHOO_ANSWERS': ['https://s3.amazonaws.com/fast-ai-nlp/yahoo_answers_csv.tgz', 319476345, '0632a0d236ef3a529c0fa4429b339f68'], 'YELP_REVIEWS': ['https://s3.amazonaws.com/fast-ai-nlp/yelp_review_full_csv.tgz', 196146755, '1efd84215ea3e30d90e4c33764b889db'], 'YELP_REVIEWS_POLARITY': ['https://s3.amazonaws.com/fast-ai-nlp/yelp_review_polarity_csv.tgz', 166373201, '48c8451c1ad30472334d856b5d294807'], 'ZEBRA_FINCH': ['https://storage.googleapis.com/ml-animal-sounds-datasets/zebra_finch.zip', 83886080, '91fa9c4ebfc986b9babc2a805a10e281']}
|
n = 6
k = 3
keys = [i for i in range(int(n))]
values = [0] * n
a = dict(zip(keys, values))
result = []
def recur(s, n, was, result):
if len(s) == k:
result.append(s)
return
for i in range(0, n):
if was[i] == 0:
was[i] = 1
recur(s + str(i + 1), n, was, result)
was[i] = 0
recur("", n, a, result)
print(result)
|
n = 6
k = 3
keys = [i for i in range(int(n))]
values = [0] * n
a = dict(zip(keys, values))
result = []
def recur(s, n, was, result):
if len(s) == k:
result.append(s)
return
for i in range(0, n):
if was[i] == 0:
was[i] = 1
recur(s + str(i + 1), n, was, result)
was[i] = 0
recur('', n, a, result)
print(result)
|
"""Test utils for gourde."""
def setup(gourde, args=None):
"""Setup gourde for testing."""
args = args or []
parser = gourde.get_argparser()
# Make sure we don't use sys.argv.
args = parser.parse_args(args)
# Setup everything.
gourde.setup(args)
|
"""Test utils for gourde."""
def setup(gourde, args=None):
"""Setup gourde for testing."""
args = args or []
parser = gourde.get_argparser()
args = parser.parse_args(args)
gourde.setup(args)
|
#
# PySNMP MIB module DeltaUPS-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/DeltaUPS-MIB
# Produced by pysmi-0.3.4 at Mon Apr 29 18:43:21 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4
# Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15)
#
OctetString, ObjectIdentifier, Integer = mibBuilder.importSymbols("ASN1", "OctetString", "ObjectIdentifier", "Integer")
NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues")
SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ConstraintsUnion, ConstraintsIntersection = mibBuilder.importSymbols("ASN1-REFINEMENT", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint", "ConstraintsUnion", "ConstraintsIntersection")
NotificationGroup, ModuleCompliance = mibBuilder.importSymbols("SNMPv2-CONF", "NotificationGroup", "ModuleCompliance")
Gauge32, ObjectIdentity, Unsigned32, MibIdentifier, Bits, NotificationType, iso, Counter32, NotificationType, Counter64, enterprises, ModuleIdentity, IpAddress, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, Integer32 = mibBuilder.importSymbols("SNMPv2-SMI", "Gauge32", "ObjectIdentity", "Unsigned32", "MibIdentifier", "Bits", "NotificationType", "iso", "Counter32", "NotificationType", "Counter64", "enterprises", "ModuleIdentity", "IpAddress", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "Integer32")
DisplayString, TextualConvention = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString", "TextualConvention")
delta = MibIdentifier((1, 3, 6, 1, 4, 1, 2254))
ups = MibIdentifier((1, 3, 6, 1, 4, 1, 2254, 2))
upsv4 = MibIdentifier((1, 3, 6, 1, 4, 1, 2254, 2, 4))
dupsIdent = MibIdentifier((1, 3, 6, 1, 4, 1, 2254, 2, 4, 1))
dupsControl = MibIdentifier((1, 3, 6, 1, 4, 1, 2254, 2, 4, 2))
dupsConfig = MibIdentifier((1, 3, 6, 1, 4, 1, 2254, 2, 4, 3))
dupsInput = MibIdentifier((1, 3, 6, 1, 4, 1, 2254, 2, 4, 4))
dupsOutput = MibIdentifier((1, 3, 6, 1, 4, 1, 2254, 2, 4, 5))
dupsBypass = MibIdentifier((1, 3, 6, 1, 4, 1, 2254, 2, 4, 6))
dupsBattery = MibIdentifier((1, 3, 6, 1, 4, 1, 2254, 2, 4, 7))
dupsTest = MibIdentifier((1, 3, 6, 1, 4, 1, 2254, 2, 4, 8))
dupsAlarm = MibIdentifier((1, 3, 6, 1, 4, 1, 2254, 2, 4, 9))
dupsEnvironment = MibIdentifier((1, 3, 6, 1, 4, 1, 2254, 2, 4, 10))
dupsTraps = MibIdentifier((1, 3, 6, 1, 4, 1, 2254, 2, 4, 20))
dupsIdentManufacturer = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 1, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 20))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dupsIdentManufacturer.setStatus('mandatory')
dupsIdentModel = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 31))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dupsIdentModel.setStatus('mandatory')
dupsIdentUPSSoftwareVersion = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 1, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 15))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dupsIdentUPSSoftwareVersion.setStatus('mandatory')
dupsIdentAgentSoftwareVersion = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 1, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 15))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dupsIdentAgentSoftwareVersion.setStatus('mandatory')
dupsIdentName = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 1, 5), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 63))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: dupsIdentName.setStatus('mandatory')
dupsAttachedDevices = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 1, 6), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 63))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: dupsAttachedDevices.setStatus('mandatory')
dupsRatingOutputVA = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 1, 7), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: dupsRatingOutputVA.setStatus('mandatory')
dupsRatingOutputVoltage = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 1, 8), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: dupsRatingOutputVoltage.setStatus('mandatory')
dupsRatingOutputFrequency = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 1, 9), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: dupsRatingOutputFrequency.setStatus('mandatory')
dupsRatingInputVoltage = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 1, 10), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: dupsRatingInputVoltage.setStatus('mandatory')
dupsRatingInputFrequency = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 1, 11), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: dupsRatingInputFrequency.setStatus('mandatory')
dupsRatingBatteryVoltage = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 1, 12), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: dupsRatingBatteryVoltage.setStatus('mandatory')
dupsLowTransferVoltUpBound = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 1, 13), Integer32()).setUnits('Volt').setMaxAccess("readonly")
if mibBuilder.loadTexts: dupsLowTransferVoltUpBound.setStatus('mandatory')
dupsLowTransferVoltLowBound = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 1, 14), Integer32()).setUnits('Volt').setMaxAccess("readonly")
if mibBuilder.loadTexts: dupsLowTransferVoltLowBound.setStatus('mandatory')
dupsHighTransferVoltUpBound = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 1, 15), Integer32()).setUnits('Volt').setMaxAccess("readonly")
if mibBuilder.loadTexts: dupsHighTransferVoltUpBound.setStatus('mandatory')
dupsHighTransferVoltLowBound = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 1, 16), Integer32()).setUnits('Volt').setMaxAccess("readonly")
if mibBuilder.loadTexts: dupsHighTransferVoltLowBound.setStatus('mandatory')
dupsLowBattTime = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 1, 17), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: dupsLowBattTime.setStatus('mandatory')
dupsOutletRelays = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 1, 18), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: dupsOutletRelays.setStatus('mandatory')
dupsType = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 1, 19), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("on-line", 1), ("off-line", 2), ("line-interactive", 3), ("3phase", 4), ("splite-phase", 5)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dupsType.setStatus('mandatory')
dupsShutdownType = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 2, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("output", 1), ("system", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: dupsShutdownType.setStatus('mandatory')
dupsAutoReboot = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 2, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("on", 1), ("off", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: dupsAutoReboot.setStatus('mandatory')
dupsShutdownAction = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 2, 3), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: dupsShutdownAction.setStatus('mandatory')
dupsRestartAction = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 2, 4), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: dupsRestartAction.setStatus('mandatory')
dupsSetOutletRelay = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 2, 5), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: dupsSetOutletRelay.setStatus('mandatory')
dupsRelayOffDelay = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 2, 6), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: dupsRelayOffDelay.setStatus('mandatory')
dupsRelayOnDelay = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 2, 7), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: dupsRelayOnDelay.setStatus('mandatory')
dupsConfigBuzzerAlarm = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 3, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("alarm", 1), ("silence", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: dupsConfigBuzzerAlarm.setStatus('mandatory')
dupsConfigBuzzerState = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 3, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: dupsConfigBuzzerState.setStatus('mandatory')
dupsConfigSensitivity = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 3, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("normal", 0), ("reduced", 1), ("low", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: dupsConfigSensitivity.setStatus('mandatory')
dupsConfigLowVoltageTransferPoint = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 3, 4), Integer32()).setUnits('Volt').setMaxAccess("readwrite")
if mibBuilder.loadTexts: dupsConfigLowVoltageTransferPoint.setStatus('mandatory')
dupsConfigHighVoltageTransferPoint = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 3, 5), Integer32()).setUnits('Volt').setMaxAccess("readwrite")
if mibBuilder.loadTexts: dupsConfigHighVoltageTransferPoint.setStatus('mandatory')
dupsConfigShutdownOSDelay = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 3, 6), Integer32()).setUnits('Second').setMaxAccess("readwrite")
if mibBuilder.loadTexts: dupsConfigShutdownOSDelay.setStatus('mandatory')
dupsConfigUPSBootDelay = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 3, 7), Integer32()).setUnits('Second').setMaxAccess("readwrite")
if mibBuilder.loadTexts: dupsConfigUPSBootDelay.setStatus('mandatory')
dupsConfigExternalBatteryPack = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 3, 8), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: dupsConfigExternalBatteryPack.setStatus('mandatory')
dupsInputNumLines = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 4, 1), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: dupsInputNumLines.setStatus('mandatory')
dupsInputFrequency1 = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 4, 2), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: dupsInputFrequency1.setStatus('mandatory')
dupsInputVoltage1 = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 4, 3), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: dupsInputVoltage1.setStatus('mandatory')
dupsInputCurrent1 = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 4, 4), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: dupsInputCurrent1.setStatus('mandatory')
dupsInputFrequency2 = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 4, 5), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: dupsInputFrequency2.setStatus('mandatory')
dupsInputVoltage2 = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 4, 6), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: dupsInputVoltage2.setStatus('mandatory')
dupsInputCurrent2 = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 4, 7), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: dupsInputCurrent2.setStatus('mandatory')
dupsInputFrequency3 = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 4, 8), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: dupsInputFrequency3.setStatus('mandatory')
dupsInputVoltage3 = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 4, 9), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: dupsInputVoltage3.setStatus('mandatory')
dupsInputCurrent3 = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 4, 10), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: dupsInputCurrent3.setStatus('mandatory')
dupsOutputSource = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 5, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5, 6, 7))).clone(namedValues=NamedValues(("normal", 0), ("battery", 1), ("bypass", 2), ("reducing", 3), ("boosting", 4), ("manualBypass", 5), ("other", 6), ("none", 7)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dupsOutputSource.setStatus('mandatory')
dupsOutputFrequency = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 5, 2), Integer32()).setUnits('0.1 Hertz').setMaxAccess("readonly")
if mibBuilder.loadTexts: dupsOutputFrequency.setStatus('mandatory')
dupsOutputNumLines = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 5, 3), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: dupsOutputNumLines.setStatus('mandatory')
dupsOutputVoltage1 = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 5, 4), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: dupsOutputVoltage1.setStatus('mandatory')
dupsOutputCurrent1 = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 5, 5), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: dupsOutputCurrent1.setStatus('mandatory')
dupsOutputPower1 = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 5, 6), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: dupsOutputPower1.setStatus('mandatory')
dupsOutputLoad1 = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 5, 7), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: dupsOutputLoad1.setStatus('mandatory')
dupsOutputVoltage2 = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 5, 8), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: dupsOutputVoltage2.setStatus('mandatory')
dupsOutputCurrent2 = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 5, 9), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: dupsOutputCurrent2.setStatus('mandatory')
dupsOutputPower2 = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 5, 10), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: dupsOutputPower2.setStatus('mandatory')
dupsOutputLoad2 = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 5, 11), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: dupsOutputLoad2.setStatus('mandatory')
dupsOutputVoltage3 = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 5, 12), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: dupsOutputVoltage3.setStatus('mandatory')
dupsOutputCurrent3 = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 5, 13), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: dupsOutputCurrent3.setStatus('mandatory')
dupsOutputPower3 = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 5, 14), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: dupsOutputPower3.setStatus('mandatory')
dupsOutputLoad3 = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 5, 15), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: dupsOutputLoad3.setStatus('mandatory')
dupsBypassFrequency = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 6, 1), Integer32()).setUnits('0.1 Hertz').setMaxAccess("readonly")
if mibBuilder.loadTexts: dupsBypassFrequency.setStatus('mandatory')
dupsBypassNumLines = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 6, 2), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: dupsBypassNumLines.setStatus('mandatory')
dupsBypassVoltage1 = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 6, 3), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: dupsBypassVoltage1.setStatus('mandatory')
dupsBypassCurrent1 = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 6, 4), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: dupsBypassCurrent1.setStatus('mandatory')
dupsBypassPower1 = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 6, 5), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: dupsBypassPower1.setStatus('mandatory')
dupsBypassVoltage2 = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 6, 6), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: dupsBypassVoltage2.setStatus('mandatory')
dupsBypassCurrent2 = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 6, 7), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: dupsBypassCurrent2.setStatus('mandatory')
dupsBypassPower2 = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 6, 8), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: dupsBypassPower2.setStatus('mandatory')
dupsBypassVoltage3 = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 6, 9), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: dupsBypassVoltage3.setStatus('mandatory')
dupsBypassCurrent3 = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 6, 10), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: dupsBypassCurrent3.setStatus('mandatory')
dupsBypassPower3 = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 6, 11), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: dupsBypassPower3.setStatus('mandatory')
dupsBatteryCondiction = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 7, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("good", 0), ("weak", 1), ("replace", 2)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dupsBatteryCondiction.setStatus('mandatory')
dupsBatteryStatus = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 7, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("ok", 0), ("low", 1), ("depleted", 2)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dupsBatteryStatus.setStatus('mandatory')
dupsBatteryCharge = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 7, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3))).clone(namedValues=NamedValues(("floating", 0), ("charging", 1), ("resting", 2), ("discharging", 3)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dupsBatteryCharge.setStatus('mandatory')
dupsSecondsOnBattery = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 7, 4), Integer32()).setUnits('seconds').setMaxAccess("readonly")
if mibBuilder.loadTexts: dupsSecondsOnBattery.setStatus('mandatory')
dupsBatteryEstimatedTime = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 7, 5), Integer32()).setUnits('minutes').setMaxAccess("readonly")
if mibBuilder.loadTexts: dupsBatteryEstimatedTime.setStatus('mandatory')
dupsBatteryVoltage = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 7, 6), Integer32()).setUnits('0.1 Volt DC').setMaxAccess("readonly")
if mibBuilder.loadTexts: dupsBatteryVoltage.setStatus('mandatory')
dupsBatteryCurrent = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 7, 7), Integer32()).setUnits('0.1 Amp DC').setMaxAccess("readonly")
if mibBuilder.loadTexts: dupsBatteryCurrent.setStatus('mandatory')
dupsBatteryCapacity = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 7, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 100))).setUnits('percent').setMaxAccess("readonly")
if mibBuilder.loadTexts: dupsBatteryCapacity.setStatus('mandatory')
dupsTemperature = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 7, 9), Integer32()).setUnits('degrees Centigrade').setMaxAccess("readonly")
if mibBuilder.loadTexts: dupsTemperature.setStatus('mandatory')
dupsLastReplaceDate = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 7, 10), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 8))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dupsLastReplaceDate.setStatus('mandatory')
dupsNextReplaceDate = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 7, 11), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 8))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dupsNextReplaceDate.setStatus('mandatory')
dupsTestType = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 8, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4))).clone(namedValues=NamedValues(("abort", 0), ("generalTest", 1), ("batteryTest", 2), ("testFor10sec", 3), ("testUntilBattlow", 4)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: dupsTestType.setStatus('mandatory')
dupsTestResultsSummary = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 8, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("noTestsInitiated", 0), ("donePass", 1), ("inProgress", 2), ("generalTestFail", 3), ("batteryTestFail", 4), ("deepBatteryTestFail", 5)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dupsTestResultsSummary.setStatus('mandatory')
dupsTestResultsDetail = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 8, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dupsTestResultsDetail.setStatus('mandatory')
dupsAlarmDisconnect = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 9, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("off", 0), ("on", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dupsAlarmDisconnect.setStatus('mandatory')
dupsAlarmPowerFail = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 9, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("off", 0), ("on", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dupsAlarmPowerFail.setStatus('mandatory')
dupsAlarmBatteryLow = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 9, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("off", 0), ("on", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dupsAlarmBatteryLow.setStatus('mandatory')
dupsAlarmLoadWarning = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 9, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("off", 0), ("on", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dupsAlarmLoadWarning.setStatus('mandatory')
dupsAlarmLoadSeverity = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 9, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("off", 0), ("on", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dupsAlarmLoadSeverity.setStatus('mandatory')
dupsAlarmLoadOnBypass = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 9, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("off", 0), ("on", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dupsAlarmLoadOnBypass.setStatus('mandatory')
dupsAlarmUPSFault = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 9, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("off", 0), ("on", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dupsAlarmUPSFault.setStatus('mandatory')
dupsAlarmBatteryGroundFault = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 9, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("off", 0), ("on", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dupsAlarmBatteryGroundFault.setStatus('mandatory')
dupsAlarmTestInProgress = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 9, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("off", 0), ("on", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dupsAlarmTestInProgress.setStatus('mandatory')
dupsAlarmBatteryTestFail = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 9, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("off", 0), ("on", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dupsAlarmBatteryTestFail.setStatus('mandatory')
dupsAlarmFuseFailure = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 9, 11), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("off", 0), ("on", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dupsAlarmFuseFailure.setStatus('mandatory')
dupsAlarmOutputOverload = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 9, 12), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("off", 0), ("on", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dupsAlarmOutputOverload.setStatus('mandatory')
dupsAlarmOutputOverCurrent = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 9, 13), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("off", 0), ("on", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dupsAlarmOutputOverCurrent.setStatus('mandatory')
dupsAlarmInverterAbnormal = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 9, 14), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("off", 0), ("on", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dupsAlarmInverterAbnormal.setStatus('mandatory')
dupsAlarmRectifierAbnormal = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 9, 15), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("off", 0), ("on", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dupsAlarmRectifierAbnormal.setStatus('mandatory')
dupsAlarmReserveAbnormal = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 9, 16), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("off", 0), ("on", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dupsAlarmReserveAbnormal.setStatus('mandatory')
dupsAlarmLoadOnReserve = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 9, 17), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("off", 0), ("on", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dupsAlarmLoadOnReserve.setStatus('mandatory')
dupsAlarmOverTemperature = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 9, 18), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("off", 0), ("on", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dupsAlarmOverTemperature.setStatus('mandatory')
dupsAlarmOutputBad = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 9, 19), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("off", 0), ("on", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dupsAlarmOutputBad.setStatus('mandatory')
dupsAlarmBypassBad = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 9, 20), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("off", 0), ("on", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dupsAlarmBypassBad.setStatus('mandatory')
dupsAlarmUPSOff = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 9, 21), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("off", 0), ("on", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dupsAlarmUPSOff.setStatus('mandatory')
dupsAlarmChargerFail = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 9, 22), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("off", 0), ("on", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dupsAlarmChargerFail.setStatus('mandatory')
dupsAlarmFanFail = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 9, 23), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("off", 0), ("on", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dupsAlarmFanFail.setStatus('mandatory')
dupsAlarmEconomicMode = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 9, 24), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("off", 0), ("on", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dupsAlarmEconomicMode.setStatus('mandatory')
dupsAlarmOutputOff = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 9, 25), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("off", 0), ("on", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dupsAlarmOutputOff.setStatus('mandatory')
dupsAlarmSmartShutdown = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 9, 26), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("off", 0), ("on", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dupsAlarmSmartShutdown.setStatus('mandatory')
dupsAlarmEmergencyPowerOff = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 9, 27), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("off", 0), ("on", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dupsAlarmEmergencyPowerOff.setStatus('mandatory')
dupsAlarmUPSShutdown = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 9, 28), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("off", 0), ("on", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dupsAlarmUPSShutdown.setStatus('mandatory')
dupsEnvTemperature = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 10, 1), Integer32()).setUnits('degrees Centigrade').setMaxAccess("readonly")
if mibBuilder.loadTexts: dupsEnvTemperature.setStatus('mandatory')
dupsEnvHumidity = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 10, 2), Integer32()).setUnits('percentage').setMaxAccess("readonly")
if mibBuilder.loadTexts: dupsEnvHumidity.setStatus('mandatory')
dupsEnvSetTemperatureLimit = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 10, 3), Integer32()).setUnits('degrees Centigrade').setMaxAccess("readwrite")
if mibBuilder.loadTexts: dupsEnvSetTemperatureLimit.setStatus('mandatory')
dupsEnvSetHumidityLimit = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 10, 4), Integer32()).setUnits('percentage').setMaxAccess("readwrite")
if mibBuilder.loadTexts: dupsEnvSetHumidityLimit.setStatus('mandatory')
dupsEnvSetEnvRelay1 = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 10, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("normalOpen", 0), ("normalClose", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: dupsEnvSetEnvRelay1.setStatus('mandatory')
dupsEnvSetEnvRelay2 = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 10, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("normalOpen", 0), ("normalClose", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: dupsEnvSetEnvRelay2.setStatus('mandatory')
dupsEnvSetEnvRelay3 = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 10, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("normalOpen", 0), ("normalClose", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: dupsEnvSetEnvRelay3.setStatus('mandatory')
dupsEnvSetEnvRelay4 = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 10, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("normalOpen", 0), ("normalClose", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: dupsEnvSetEnvRelay4.setStatus('mandatory')
dupsAlarmOverEnvTemperature = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 10, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("off", 0), ("on", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dupsAlarmOverEnvTemperature.setStatus('mandatory')
dupsAlarmOverEnvHumidity = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 10, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("off", 0), ("on", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dupsAlarmOverEnvHumidity.setStatus('mandatory')
dupsAlarmEnvRelay1 = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 10, 11), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("off", 0), ("on", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dupsAlarmEnvRelay1.setStatus('mandatory')
dupsAlarmEnvRelay2 = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 10, 12), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("off", 0), ("on", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dupsAlarmEnvRelay2.setStatus('mandatory')
dupsAlarmEnvRelay3 = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 10, 13), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("off", 0), ("on", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dupsAlarmEnvRelay3.setStatus('mandatory')
dupsAlarmEnvRelay4 = MibScalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 10, 14), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("off", 0), ("on", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dupsAlarmEnvRelay4.setStatus('mandatory')
dupsCommunicationLost = NotificationType((1, 3, 6, 1, 4, 1, 2254, 2, 4, 20) + (0,1))
dupsCommunicationEstablished = NotificationType((1, 3, 6, 1, 4, 1, 2254, 2, 4, 20) + (0,2))
dupsPowerFail = NotificationType((1, 3, 6, 1, 4, 1, 2254, 2, 4, 20) + (0,3))
dupsPowerRestored = NotificationType((1, 3, 6, 1, 4, 1, 2254, 2, 4, 20) + (0,4))
dupsLowBattery = NotificationType((1, 3, 6, 1, 4, 1, 2254, 2, 4, 20) + (0,5))
dupsReturnFromLowBattery = NotificationType((1, 3, 6, 1, 4, 1, 2254, 2, 4, 20) + (0,6))
dupsLoadWarning = NotificationType((1, 3, 6, 1, 4, 1, 2254, 2, 4, 20) + (0,7))
dupsNoLongerLoadWarning = NotificationType((1, 3, 6, 1, 4, 1, 2254, 2, 4, 20) + (0,8))
dupsLoadSeverity = NotificationType((1, 3, 6, 1, 4, 1, 2254, 2, 4, 20) + (0,9))
dupsNoLongerLoadSeverity = NotificationType((1, 3, 6, 1, 4, 1, 2254, 2, 4, 20) + (0,10))
dupsLoadOnBypass = NotificationType((1, 3, 6, 1, 4, 1, 2254, 2, 4, 20) + (0,11))
dupsNoLongerLoadOnBypass = NotificationType((1, 3, 6, 1, 4, 1, 2254, 2, 4, 20) + (0,12))
dupsUPSFault = NotificationType((1, 3, 6, 1, 4, 1, 2254, 2, 4, 20) + (0,13))
dupsReturnFromUPSFault = NotificationType((1, 3, 6, 1, 4, 1, 2254, 2, 4, 20) + (0,14))
dupsBatteryGroundFault = NotificationType((1, 3, 6, 1, 4, 1, 2254, 2, 4, 20) + (0,15))
dupsNoLongerBatteryFault = NotificationType((1, 3, 6, 1, 4, 1, 2254, 2, 4, 20) + (0,16))
dupsTestInProgress = NotificationType((1, 3, 6, 1, 4, 1, 2254, 2, 4, 20) + (0,17))
dupsBatteryTestFail = NotificationType((1, 3, 6, 1, 4, 1, 2254, 2, 4, 20) + (0,18))
dupsFuseFailure = NotificationType((1, 3, 6, 1, 4, 1, 2254, 2, 4, 20) + (0,19))
dupsFuseRecovered = NotificationType((1, 3, 6, 1, 4, 1, 2254, 2, 4, 20) + (0,20))
dupsOutputOverload = NotificationType((1, 3, 6, 1, 4, 1, 2254, 2, 4, 20) + (0,21))
dupsNoLongerOverload = NotificationType((1, 3, 6, 1, 4, 1, 2254, 2, 4, 20) + (0,22))
dupsOutputOverCurrent = NotificationType((1, 3, 6, 1, 4, 1, 2254, 2, 4, 20) + (0,23))
dupsNoLongerOutputOverCurrent = NotificationType((1, 3, 6, 1, 4, 1, 2254, 2, 4, 20) + (0,24))
dupsInverterAbnormal = NotificationType((1, 3, 6, 1, 4, 1, 2254, 2, 4, 20) + (0,25))
dupsInverterRecovered = NotificationType((1, 3, 6, 1, 4, 1, 2254, 2, 4, 20) + (0,26))
dupsRectifierAbnormal = NotificationType((1, 3, 6, 1, 4, 1, 2254, 2, 4, 20) + (0,27))
dupsRectifierRecovered = NotificationType((1, 3, 6, 1, 4, 1, 2254, 2, 4, 20) + (0,28))
dupsReserveAbnormal = NotificationType((1, 3, 6, 1, 4, 1, 2254, 2, 4, 20) + (0,29))
dupsReserveRecovered = NotificationType((1, 3, 6, 1, 4, 1, 2254, 2, 4, 20) + (0,30))
dupsLoadOnReserve = NotificationType((1, 3, 6, 1, 4, 1, 2254, 2, 4, 20) + (0,31))
dupsNoLongerLoadOnReserve = NotificationType((1, 3, 6, 1, 4, 1, 2254, 2, 4, 20) + (0,32))
dupsEnvOverTemperature = NotificationType((1, 3, 6, 1, 4, 1, 2254, 2, 4, 20) + (0,33))
dupsNoLongerEnvOverTemperature = NotificationType((1, 3, 6, 1, 4, 1, 2254, 2, 4, 20) + (0,34))
dupsEnvOverHumidity = NotificationType((1, 3, 6, 1, 4, 1, 2254, 2, 4, 20) + (0,35))
dupsNoLongerEnvOverHumidity = NotificationType((1, 3, 6, 1, 4, 1, 2254, 2, 4, 20) + (0,36))
dupsEnvRelay1Alarm = NotificationType((1, 3, 6, 1, 4, 1, 2254, 2, 4, 20) + (0,37))
dupsEnvRelay1Normal = NotificationType((1, 3, 6, 1, 4, 1, 2254, 2, 4, 20) + (0,38))
dupsEnvRelay2Alarm = NotificationType((1, 3, 6, 1, 4, 1, 2254, 2, 4, 20) + (0,39))
dupsEnvRelay2Normal = NotificationType((1, 3, 6, 1, 4, 1, 2254, 2, 4, 20) + (0,40))
dupsEnvRelay3Alarm = NotificationType((1, 3, 6, 1, 4, 1, 2254, 2, 4, 20) + (0,41))
dupsEnvRelay3Normal = NotificationType((1, 3, 6, 1, 4, 1, 2254, 2, 4, 20) + (0,42))
dupsEnvRelay4Alarm = NotificationType((1, 3, 6, 1, 4, 1, 2254, 2, 4, 20) + (0,43))
dupsEnvRelay4Normal = NotificationType((1, 3, 6, 1, 4, 1, 2254, 2, 4, 20) + (0,44))
dupsSmartShutdown = NotificationType((1, 3, 6, 1, 4, 1, 2254, 2, 4, 20) + (0,45))
dupsCancelShutdown = NotificationType((1, 3, 6, 1, 4, 1, 2254, 2, 4, 20) + (0,46))
dupsTestCompleted = NotificationType((1, 3, 6, 1, 4, 1, 2254, 2, 4, 20) + (0,47))
dupsEPOON = NotificationType((1, 3, 6, 1, 4, 1, 2254, 2, 4, 20) + (0,48))
dupsEPOOFF = NotificationType((1, 3, 6, 1, 4, 1, 2254, 2, 4, 20) + (0,49))
dupsOverTemperature = NotificationType((1, 3, 6, 1, 4, 1, 2254, 2, 4, 20) + (0,50))
dupsNormalTemperature = NotificationType((1, 3, 6, 1, 4, 1, 2254, 2, 4, 20) + (0,51))
dupsBattReplace = NotificationType((1, 3, 6, 1, 4, 1, 2254, 2, 4, 20) + (0,52))
dupsReturnFromBattReplace = NotificationType((1, 3, 6, 1, 4, 1, 2254, 2, 4, 20) + (0,53))
mibBuilder.exportSymbols("DeltaUPS-MIB", dupsRatingBatteryVoltage=dupsRatingBatteryVoltage, dupsEnvHumidity=dupsEnvHumidity, dupsAlarmSmartShutdown=dupsAlarmSmartShutdown, dupsInputFrequency2=dupsInputFrequency2, dupsNoLongerOutputOverCurrent=dupsNoLongerOutputOverCurrent, dupsSetOutletRelay=dupsSetOutletRelay, dupsBatteryCondiction=dupsBatteryCondiction, dupsLoadWarning=dupsLoadWarning, dupsNoLongerLoadSeverity=dupsNoLongerLoadSeverity, dupsNoLongerEnvOverHumidity=dupsNoLongerEnvOverHumidity, dupsBattReplace=dupsBattReplace, dupsAlarmOutputBad=dupsAlarmOutputBad, delta=delta, dupsOutputOverCurrent=dupsOutputOverCurrent, dupsRatingInputVoltage=dupsRatingInputVoltage, dupsAlarmBatteryTestFail=dupsAlarmBatteryTestFail, dupsHighTransferVoltLowBound=dupsHighTransferVoltLowBound, dupsBatteryStatus=dupsBatteryStatus, dupsRatingOutputVA=dupsRatingOutputVA, dupsShutdownType=dupsShutdownType, dupsOutputOverload=dupsOutputOverload, dupsTestCompleted=dupsTestCompleted, dupsInputVoltage1=dupsInputVoltage1, dupsOutputLoad1=dupsOutputLoad1, dupsConfigSensitivity=dupsConfigSensitivity, dupsRectifierRecovered=dupsRectifierRecovered, dupsNoLongerLoadOnReserve=dupsNoLongerLoadOnReserve, dupsInputCurrent2=dupsInputCurrent2, dupsAlarmUPSFault=dupsAlarmUPSFault, dupsAlarm=dupsAlarm, dupsType=dupsType, dupsEPOON=dupsEPOON, dupsRestartAction=dupsRestartAction, dupsNoLongerEnvOverTemperature=dupsNoLongerEnvOverTemperature, dupsOutputPower3=dupsOutputPower3, dupsReturnFromLowBattery=dupsReturnFromLowBattery, dupsAlarmEmergencyPowerOff=dupsAlarmEmergencyPowerOff, dupsLowBattery=dupsLowBattery, dupsConfigBuzzerState=dupsConfigBuzzerState, dupsPowerRestored=dupsPowerRestored, dupsSmartShutdown=dupsSmartShutdown, dupsEnvSetEnvRelay4=dupsEnvSetEnvRelay4, dupsOutputFrequency=dupsOutputFrequency, dupsEnvSetEnvRelay1=dupsEnvSetEnvRelay1, dupsReserveAbnormal=dupsReserveAbnormal, dupsEnvRelay2Normal=dupsEnvRelay2Normal, dupsBypassCurrent2=dupsBypassCurrent2, dupsAlarmOutputOverCurrent=dupsAlarmOutputOverCurrent, dupsInputNumLines=dupsInputNumLines, dupsTest=dupsTest, dupsBatteryCharge=dupsBatteryCharge, dupsRelayOffDelay=dupsRelayOffDelay, dupsNormalTemperature=dupsNormalTemperature, upsv4=upsv4, ups=ups, dupsBatteryCapacity=dupsBatteryCapacity, dupsRectifierAbnormal=dupsRectifierAbnormal, dupsInputFrequency3=dupsInputFrequency3, dupsRatingOutputVoltage=dupsRatingOutputVoltage, dupsLastReplaceDate=dupsLastReplaceDate, dupsAlarmLoadOnReserve=dupsAlarmLoadOnReserve, dupsBypassVoltage3=dupsBypassVoltage3, dupsBypassPower2=dupsBypassPower2, dupsBatteryTestFail=dupsBatteryTestFail, dupsLowBattTime=dupsLowBattTime, dupsAlarmEnvRelay2=dupsAlarmEnvRelay2, dupsAlarmPowerFail=dupsAlarmPowerFail, dupsReserveRecovered=dupsReserveRecovered, dupsReturnFromBattReplace=dupsReturnFromBattReplace, dupsAlarmFuseFailure=dupsAlarmFuseFailure, dupsLoadOnReserve=dupsLoadOnReserve, dupsBypassNumLines=dupsBypassNumLines, dupsNoLongerBatteryFault=dupsNoLongerBatteryFault, dupsConfig=dupsConfig, dupsOutputNumLines=dupsOutputNumLines, dupsSecondsOnBattery=dupsSecondsOnBattery, dupsInputVoltage3=dupsInputVoltage3, dupsConfigHighVoltageTransferPoint=dupsConfigHighVoltageTransferPoint, dupsControl=dupsControl, dupsAlarmLoadOnBypass=dupsAlarmLoadOnBypass, dupsAlarmOutputOverload=dupsAlarmOutputOverload, dupsBypassFrequency=dupsBypassFrequency, dupsOutletRelays=dupsOutletRelays, dupsAlarmUPSShutdown=dupsAlarmUPSShutdown, dupsEnvTemperature=dupsEnvTemperature, dupsTemperature=dupsTemperature, dupsOutputSource=dupsOutputSource, dupsBypassPower1=dupsBypassPower1, dupsConfigLowVoltageTransferPoint=dupsConfigLowVoltageTransferPoint, dupsTestResultsDetail=dupsTestResultsDetail, dupsEnvironment=dupsEnvironment, dupsConfigExternalBatteryPack=dupsConfigExternalBatteryPack, dupsBypassVoltage1=dupsBypassVoltage1, dupsBypass=dupsBypass, dupsEnvOverHumidity=dupsEnvOverHumidity, dupsBatteryCurrent=dupsBatteryCurrent, dupsBatteryGroundFault=dupsBatteryGroundFault, dupsBypassCurrent3=dupsBypassCurrent3, dupsAlarmOverEnvHumidity=dupsAlarmOverEnvHumidity, dupsNoLongerOverload=dupsNoLongerOverload, dupsIdent=dupsIdent, dupsFuseRecovered=dupsFuseRecovered, dupsAutoReboot=dupsAutoReboot, dupsAlarmOutputOff=dupsAlarmOutputOff, dupsOutputLoad3=dupsOutputLoad3, dupsIdentName=dupsIdentName, dupsInverterRecovered=dupsInverterRecovered, dupsOutput=dupsOutput, dupsInputCurrent3=dupsInputCurrent3, dupsEnvRelay3Normal=dupsEnvRelay3Normal, dupsAlarmOverTemperature=dupsAlarmOverTemperature, dupsOutputLoad2=dupsOutputLoad2, dupsOutputCurrent2=dupsOutputCurrent2, dupsAlarmOverEnvTemperature=dupsAlarmOverEnvTemperature, dupsInputVoltage2=dupsInputVoltage2, dupsConfigShutdownOSDelay=dupsConfigShutdownOSDelay, dupsUPSFault=dupsUPSFault, dupsReturnFromUPSFault=dupsReturnFromUPSFault, dupsEnvSetEnvRelay2=dupsEnvSetEnvRelay2, dupsHighTransferVoltUpBound=dupsHighTransferVoltUpBound, dupsCancelShutdown=dupsCancelShutdown, dupsBatteryVoltage=dupsBatteryVoltage, dupsTraps=dupsTraps, dupsConfigUPSBootDelay=dupsConfigUPSBootDelay, dupsAlarmEnvRelay1=dupsAlarmEnvRelay1, dupsAlarmTestInProgress=dupsAlarmTestInProgress, dupsIdentUPSSoftwareVersion=dupsIdentUPSSoftwareVersion, dupsOutputPower1=dupsOutputPower1, dupsNoLongerLoadWarning=dupsNoLongerLoadWarning, dupsLowTransferVoltUpBound=dupsLowTransferVoltUpBound, dupsAlarmEnvRelay3=dupsAlarmEnvRelay3, dupsInputFrequency1=dupsInputFrequency1, dupsEnvRelay1Normal=dupsEnvRelay1Normal, dupsAlarmBypassBad=dupsAlarmBypassBad, dupsCommunicationLost=dupsCommunicationLost, dupsNoLongerLoadOnBypass=dupsNoLongerLoadOnBypass, dupsAlarmInverterAbnormal=dupsAlarmInverterAbnormal, dupsEnvRelay4Normal=dupsEnvRelay4Normal, dupsAlarmEconomicMode=dupsAlarmEconomicMode, dupsBatteryEstimatedTime=dupsBatteryEstimatedTime, dupsOverTemperature=dupsOverTemperature, dupsEnvSetTemperatureLimit=dupsEnvSetTemperatureLimit, dupsTestResultsSummary=dupsTestResultsSummary, dupsAlarmChargerFail=dupsAlarmChargerFail, dupsEnvRelay4Alarm=dupsEnvRelay4Alarm, dupsAlarmEnvRelay4=dupsAlarmEnvRelay4, dupsOutputCurrent1=dupsOutputCurrent1, dupsInput=dupsInput, dupsBypassPower3=dupsBypassPower3, dupsInputCurrent1=dupsInputCurrent1, dupsTestType=dupsTestType, dupsAlarmLoadSeverity=dupsAlarmLoadSeverity, dupsAlarmReserveAbnormal=dupsAlarmReserveAbnormal, dupsEnvSetHumidityLimit=dupsEnvSetHumidityLimit, dupsEnvRelay3Alarm=dupsEnvRelay3Alarm, dupsOutputCurrent3=dupsOutputCurrent3, dupsOutputVoltage3=dupsOutputVoltage3, dupsRelayOnDelay=dupsRelayOnDelay, dupsOutputVoltage2=dupsOutputVoltage2, dupsAlarmLoadWarning=dupsAlarmLoadWarning, dupsAttachedDevices=dupsAttachedDevices, dupsConfigBuzzerAlarm=dupsConfigBuzzerAlarm, dupsOutputPower2=dupsOutputPower2, dupsAlarmDisconnect=dupsAlarmDisconnect, dupsLoadOnBypass=dupsLoadOnBypass, dupsLowTransferVoltLowBound=dupsLowTransferVoltLowBound, dupsPowerFail=dupsPowerFail, dupsEnvRelay2Alarm=dupsEnvRelay2Alarm, dupsShutdownAction=dupsShutdownAction, dupsOutputVoltage1=dupsOutputVoltage1, dupsRatingOutputFrequency=dupsRatingOutputFrequency, dupsBypassVoltage2=dupsBypassVoltage2, dupsRatingInputFrequency=dupsRatingInputFrequency, dupsEPOOFF=dupsEPOOFF, dupsEnvSetEnvRelay3=dupsEnvSetEnvRelay3, dupsEnvOverTemperature=dupsEnvOverTemperature, dupsIdentManufacturer=dupsIdentManufacturer, dupsIdentAgentSoftwareVersion=dupsIdentAgentSoftwareVersion, dupsBattery=dupsBattery, dupsBypassCurrent1=dupsBypassCurrent1, dupsNextReplaceDate=dupsNextReplaceDate, dupsEnvRelay1Alarm=dupsEnvRelay1Alarm, dupsAlarmBatteryGroundFault=dupsAlarmBatteryGroundFault, dupsIdentModel=dupsIdentModel, dupsCommunicationEstablished=dupsCommunicationEstablished, dupsAlarmFanFail=dupsAlarmFanFail, dupsLoadSeverity=dupsLoadSeverity, dupsInverterAbnormal=dupsInverterAbnormal, dupsTestInProgress=dupsTestInProgress, dupsAlarmBatteryLow=dupsAlarmBatteryLow, dupsFuseFailure=dupsFuseFailure, dupsAlarmUPSOff=dupsAlarmUPSOff, dupsAlarmRectifierAbnormal=dupsAlarmRectifierAbnormal)
|
(octet_string, object_identifier, integer) = mibBuilder.importSymbols('ASN1', 'OctetString', 'ObjectIdentifier', 'Integer')
(named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues')
(single_value_constraint, value_range_constraint, value_size_constraint, constraints_union, constraints_intersection) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'SingleValueConstraint', 'ValueRangeConstraint', 'ValueSizeConstraint', 'ConstraintsUnion', 'ConstraintsIntersection')
(notification_group, module_compliance) = mibBuilder.importSymbols('SNMPv2-CONF', 'NotificationGroup', 'ModuleCompliance')
(gauge32, object_identity, unsigned32, mib_identifier, bits, notification_type, iso, counter32, notification_type, counter64, enterprises, module_identity, ip_address, mib_scalar, mib_table, mib_table_row, mib_table_column, time_ticks, integer32) = mibBuilder.importSymbols('SNMPv2-SMI', 'Gauge32', 'ObjectIdentity', 'Unsigned32', 'MibIdentifier', 'Bits', 'NotificationType', 'iso', 'Counter32', 'NotificationType', 'Counter64', 'enterprises', 'ModuleIdentity', 'IpAddress', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'TimeTicks', 'Integer32')
(display_string, textual_convention) = mibBuilder.importSymbols('SNMPv2-TC', 'DisplayString', 'TextualConvention')
delta = mib_identifier((1, 3, 6, 1, 4, 1, 2254))
ups = mib_identifier((1, 3, 6, 1, 4, 1, 2254, 2))
upsv4 = mib_identifier((1, 3, 6, 1, 4, 1, 2254, 2, 4))
dups_ident = mib_identifier((1, 3, 6, 1, 4, 1, 2254, 2, 4, 1))
dups_control = mib_identifier((1, 3, 6, 1, 4, 1, 2254, 2, 4, 2))
dups_config = mib_identifier((1, 3, 6, 1, 4, 1, 2254, 2, 4, 3))
dups_input = mib_identifier((1, 3, 6, 1, 4, 1, 2254, 2, 4, 4))
dups_output = mib_identifier((1, 3, 6, 1, 4, 1, 2254, 2, 4, 5))
dups_bypass = mib_identifier((1, 3, 6, 1, 4, 1, 2254, 2, 4, 6))
dups_battery = mib_identifier((1, 3, 6, 1, 4, 1, 2254, 2, 4, 7))
dups_test = mib_identifier((1, 3, 6, 1, 4, 1, 2254, 2, 4, 8))
dups_alarm = mib_identifier((1, 3, 6, 1, 4, 1, 2254, 2, 4, 9))
dups_environment = mib_identifier((1, 3, 6, 1, 4, 1, 2254, 2, 4, 10))
dups_traps = mib_identifier((1, 3, 6, 1, 4, 1, 2254, 2, 4, 20))
dups_ident_manufacturer = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 1, 1), display_string().subtype(subtypeSpec=value_size_constraint(0, 20))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dupsIdentManufacturer.setStatus('mandatory')
dups_ident_model = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 1, 2), display_string().subtype(subtypeSpec=value_size_constraint(0, 31))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dupsIdentModel.setStatus('mandatory')
dups_ident_ups_software_version = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 1, 3), display_string().subtype(subtypeSpec=value_size_constraint(0, 15))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dupsIdentUPSSoftwareVersion.setStatus('mandatory')
dups_ident_agent_software_version = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 1, 4), display_string().subtype(subtypeSpec=value_size_constraint(0, 15))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dupsIdentAgentSoftwareVersion.setStatus('mandatory')
dups_ident_name = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 1, 5), display_string().subtype(subtypeSpec=value_size_constraint(0, 63))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
dupsIdentName.setStatus('mandatory')
dups_attached_devices = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 1, 6), display_string().subtype(subtypeSpec=value_size_constraint(0, 63))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
dupsAttachedDevices.setStatus('mandatory')
dups_rating_output_va = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 1, 7), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dupsRatingOutputVA.setStatus('mandatory')
dups_rating_output_voltage = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 1, 8), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dupsRatingOutputVoltage.setStatus('mandatory')
dups_rating_output_frequency = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 1, 9), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dupsRatingOutputFrequency.setStatus('mandatory')
dups_rating_input_voltage = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 1, 10), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dupsRatingInputVoltage.setStatus('mandatory')
dups_rating_input_frequency = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 1, 11), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dupsRatingInputFrequency.setStatus('mandatory')
dups_rating_battery_voltage = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 1, 12), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dupsRatingBatteryVoltage.setStatus('mandatory')
dups_low_transfer_volt_up_bound = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 1, 13), integer32()).setUnits('Volt').setMaxAccess('readonly')
if mibBuilder.loadTexts:
dupsLowTransferVoltUpBound.setStatus('mandatory')
dups_low_transfer_volt_low_bound = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 1, 14), integer32()).setUnits('Volt').setMaxAccess('readonly')
if mibBuilder.loadTexts:
dupsLowTransferVoltLowBound.setStatus('mandatory')
dups_high_transfer_volt_up_bound = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 1, 15), integer32()).setUnits('Volt').setMaxAccess('readonly')
if mibBuilder.loadTexts:
dupsHighTransferVoltUpBound.setStatus('mandatory')
dups_high_transfer_volt_low_bound = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 1, 16), integer32()).setUnits('Volt').setMaxAccess('readonly')
if mibBuilder.loadTexts:
dupsHighTransferVoltLowBound.setStatus('mandatory')
dups_low_batt_time = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 1, 17), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dupsLowBattTime.setStatus('mandatory')
dups_outlet_relays = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 1, 18), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dupsOutletRelays.setStatus('mandatory')
dups_type = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 1, 19), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5))).clone(namedValues=named_values(('on-line', 1), ('off-line', 2), ('line-interactive', 3), ('3phase', 4), ('splite-phase', 5)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dupsType.setStatus('mandatory')
dups_shutdown_type = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 2, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('output', 1), ('system', 2)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
dupsShutdownType.setStatus('mandatory')
dups_auto_reboot = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 2, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('on', 1), ('off', 2)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
dupsAutoReboot.setStatus('mandatory')
dups_shutdown_action = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 2, 3), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
dupsShutdownAction.setStatus('mandatory')
dups_restart_action = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 2, 4), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
dupsRestartAction.setStatus('mandatory')
dups_set_outlet_relay = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 2, 5), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
dupsSetOutletRelay.setStatus('mandatory')
dups_relay_off_delay = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 2, 6), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
dupsRelayOffDelay.setStatus('mandatory')
dups_relay_on_delay = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 2, 7), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
dupsRelayOnDelay.setStatus('mandatory')
dups_config_buzzer_alarm = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 3, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('alarm', 1), ('silence', 2)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
dupsConfigBuzzerAlarm.setStatus('mandatory')
dups_config_buzzer_state = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 3, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
dupsConfigBuzzerState.setStatus('mandatory')
dups_config_sensitivity = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 3, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('normal', 0), ('reduced', 1), ('low', 2)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
dupsConfigSensitivity.setStatus('mandatory')
dups_config_low_voltage_transfer_point = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 3, 4), integer32()).setUnits('Volt').setMaxAccess('readwrite')
if mibBuilder.loadTexts:
dupsConfigLowVoltageTransferPoint.setStatus('mandatory')
dups_config_high_voltage_transfer_point = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 3, 5), integer32()).setUnits('Volt').setMaxAccess('readwrite')
if mibBuilder.loadTexts:
dupsConfigHighVoltageTransferPoint.setStatus('mandatory')
dups_config_shutdown_os_delay = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 3, 6), integer32()).setUnits('Second').setMaxAccess('readwrite')
if mibBuilder.loadTexts:
dupsConfigShutdownOSDelay.setStatus('mandatory')
dups_config_ups_boot_delay = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 3, 7), integer32()).setUnits('Second').setMaxAccess('readwrite')
if mibBuilder.loadTexts:
dupsConfigUPSBootDelay.setStatus('mandatory')
dups_config_external_battery_pack = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 3, 8), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
dupsConfigExternalBatteryPack.setStatus('mandatory')
dups_input_num_lines = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 4, 1), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dupsInputNumLines.setStatus('mandatory')
dups_input_frequency1 = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 4, 2), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dupsInputFrequency1.setStatus('mandatory')
dups_input_voltage1 = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 4, 3), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dupsInputVoltage1.setStatus('mandatory')
dups_input_current1 = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 4, 4), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dupsInputCurrent1.setStatus('mandatory')
dups_input_frequency2 = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 4, 5), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dupsInputFrequency2.setStatus('mandatory')
dups_input_voltage2 = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 4, 6), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dupsInputVoltage2.setStatus('mandatory')
dups_input_current2 = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 4, 7), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dupsInputCurrent2.setStatus('mandatory')
dups_input_frequency3 = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 4, 8), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dupsInputFrequency3.setStatus('mandatory')
dups_input_voltage3 = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 4, 9), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dupsInputVoltage3.setStatus('mandatory')
dups_input_current3 = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 4, 10), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dupsInputCurrent3.setStatus('mandatory')
dups_output_source = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 5, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4, 5, 6, 7))).clone(namedValues=named_values(('normal', 0), ('battery', 1), ('bypass', 2), ('reducing', 3), ('boosting', 4), ('manualBypass', 5), ('other', 6), ('none', 7)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dupsOutputSource.setStatus('mandatory')
dups_output_frequency = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 5, 2), integer32()).setUnits('0.1 Hertz').setMaxAccess('readonly')
if mibBuilder.loadTexts:
dupsOutputFrequency.setStatus('mandatory')
dups_output_num_lines = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 5, 3), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dupsOutputNumLines.setStatus('mandatory')
dups_output_voltage1 = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 5, 4), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dupsOutputVoltage1.setStatus('mandatory')
dups_output_current1 = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 5, 5), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dupsOutputCurrent1.setStatus('mandatory')
dups_output_power1 = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 5, 6), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dupsOutputPower1.setStatus('mandatory')
dups_output_load1 = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 5, 7), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dupsOutputLoad1.setStatus('mandatory')
dups_output_voltage2 = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 5, 8), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dupsOutputVoltage2.setStatus('mandatory')
dups_output_current2 = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 5, 9), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dupsOutputCurrent2.setStatus('mandatory')
dups_output_power2 = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 5, 10), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dupsOutputPower2.setStatus('mandatory')
dups_output_load2 = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 5, 11), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dupsOutputLoad2.setStatus('mandatory')
dups_output_voltage3 = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 5, 12), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dupsOutputVoltage3.setStatus('mandatory')
dups_output_current3 = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 5, 13), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dupsOutputCurrent3.setStatus('mandatory')
dups_output_power3 = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 5, 14), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dupsOutputPower3.setStatus('mandatory')
dups_output_load3 = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 5, 15), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dupsOutputLoad3.setStatus('mandatory')
dups_bypass_frequency = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 6, 1), integer32()).setUnits('0.1 Hertz').setMaxAccess('readonly')
if mibBuilder.loadTexts:
dupsBypassFrequency.setStatus('mandatory')
dups_bypass_num_lines = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 6, 2), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dupsBypassNumLines.setStatus('mandatory')
dups_bypass_voltage1 = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 6, 3), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dupsBypassVoltage1.setStatus('mandatory')
dups_bypass_current1 = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 6, 4), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dupsBypassCurrent1.setStatus('mandatory')
dups_bypass_power1 = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 6, 5), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dupsBypassPower1.setStatus('mandatory')
dups_bypass_voltage2 = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 6, 6), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dupsBypassVoltage2.setStatus('mandatory')
dups_bypass_current2 = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 6, 7), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dupsBypassCurrent2.setStatus('mandatory')
dups_bypass_power2 = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 6, 8), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dupsBypassPower2.setStatus('mandatory')
dups_bypass_voltage3 = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 6, 9), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dupsBypassVoltage3.setStatus('mandatory')
dups_bypass_current3 = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 6, 10), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dupsBypassCurrent3.setStatus('mandatory')
dups_bypass_power3 = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 6, 11), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dupsBypassPower3.setStatus('mandatory')
dups_battery_condiction = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 7, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('good', 0), ('weak', 1), ('replace', 2)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dupsBatteryCondiction.setStatus('mandatory')
dups_battery_status = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 7, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('ok', 0), ('low', 1), ('depleted', 2)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dupsBatteryStatus.setStatus('mandatory')
dups_battery_charge = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 7, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3))).clone(namedValues=named_values(('floating', 0), ('charging', 1), ('resting', 2), ('discharging', 3)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dupsBatteryCharge.setStatus('mandatory')
dups_seconds_on_battery = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 7, 4), integer32()).setUnits('seconds').setMaxAccess('readonly')
if mibBuilder.loadTexts:
dupsSecondsOnBattery.setStatus('mandatory')
dups_battery_estimated_time = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 7, 5), integer32()).setUnits('minutes').setMaxAccess('readonly')
if mibBuilder.loadTexts:
dupsBatteryEstimatedTime.setStatus('mandatory')
dups_battery_voltage = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 7, 6), integer32()).setUnits('0.1 Volt DC').setMaxAccess('readonly')
if mibBuilder.loadTexts:
dupsBatteryVoltage.setStatus('mandatory')
dups_battery_current = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 7, 7), integer32()).setUnits('0.1 Amp DC').setMaxAccess('readonly')
if mibBuilder.loadTexts:
dupsBatteryCurrent.setStatus('mandatory')
dups_battery_capacity = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 7, 8), integer32().subtype(subtypeSpec=value_range_constraint(0, 100))).setUnits('percent').setMaxAccess('readonly')
if mibBuilder.loadTexts:
dupsBatteryCapacity.setStatus('mandatory')
dups_temperature = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 7, 9), integer32()).setUnits('degrees Centigrade').setMaxAccess('readonly')
if mibBuilder.loadTexts:
dupsTemperature.setStatus('mandatory')
dups_last_replace_date = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 7, 10), display_string().subtype(subtypeSpec=value_size_constraint(0, 8))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dupsLastReplaceDate.setStatus('mandatory')
dups_next_replace_date = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 7, 11), display_string().subtype(subtypeSpec=value_size_constraint(0, 8))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dupsNextReplaceDate.setStatus('mandatory')
dups_test_type = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 8, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4))).clone(namedValues=named_values(('abort', 0), ('generalTest', 1), ('batteryTest', 2), ('testFor10sec', 3), ('testUntilBattlow', 4)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
dupsTestType.setStatus('mandatory')
dups_test_results_summary = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 8, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4, 5))).clone(namedValues=named_values(('noTestsInitiated', 0), ('donePass', 1), ('inProgress', 2), ('generalTestFail', 3), ('batteryTestFail', 4), ('deepBatteryTestFail', 5)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dupsTestResultsSummary.setStatus('mandatory')
dups_test_results_detail = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 8, 3), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dupsTestResultsDetail.setStatus('mandatory')
dups_alarm_disconnect = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 9, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('off', 0), ('on', 1)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dupsAlarmDisconnect.setStatus('mandatory')
dups_alarm_power_fail = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 9, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('off', 0), ('on', 1)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dupsAlarmPowerFail.setStatus('mandatory')
dups_alarm_battery_low = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 9, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('off', 0), ('on', 1)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dupsAlarmBatteryLow.setStatus('mandatory')
dups_alarm_load_warning = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 9, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('off', 0), ('on', 1)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dupsAlarmLoadWarning.setStatus('mandatory')
dups_alarm_load_severity = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 9, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('off', 0), ('on', 1)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dupsAlarmLoadSeverity.setStatus('mandatory')
dups_alarm_load_on_bypass = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 9, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('off', 0), ('on', 1)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dupsAlarmLoadOnBypass.setStatus('mandatory')
dups_alarm_ups_fault = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 9, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('off', 0), ('on', 1)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dupsAlarmUPSFault.setStatus('mandatory')
dups_alarm_battery_ground_fault = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 9, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('off', 0), ('on', 1)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dupsAlarmBatteryGroundFault.setStatus('mandatory')
dups_alarm_test_in_progress = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 9, 9), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('off', 0), ('on', 1)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dupsAlarmTestInProgress.setStatus('mandatory')
dups_alarm_battery_test_fail = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 9, 10), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('off', 0), ('on', 1)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dupsAlarmBatteryTestFail.setStatus('mandatory')
dups_alarm_fuse_failure = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 9, 11), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('off', 0), ('on', 1)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dupsAlarmFuseFailure.setStatus('mandatory')
dups_alarm_output_overload = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 9, 12), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('off', 0), ('on', 1)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dupsAlarmOutputOverload.setStatus('mandatory')
dups_alarm_output_over_current = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 9, 13), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('off', 0), ('on', 1)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dupsAlarmOutputOverCurrent.setStatus('mandatory')
dups_alarm_inverter_abnormal = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 9, 14), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('off', 0), ('on', 1)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dupsAlarmInverterAbnormal.setStatus('mandatory')
dups_alarm_rectifier_abnormal = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 9, 15), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('off', 0), ('on', 1)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dupsAlarmRectifierAbnormal.setStatus('mandatory')
dups_alarm_reserve_abnormal = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 9, 16), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('off', 0), ('on', 1)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dupsAlarmReserveAbnormal.setStatus('mandatory')
dups_alarm_load_on_reserve = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 9, 17), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('off', 0), ('on', 1)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dupsAlarmLoadOnReserve.setStatus('mandatory')
dups_alarm_over_temperature = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 9, 18), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('off', 0), ('on', 1)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dupsAlarmOverTemperature.setStatus('mandatory')
dups_alarm_output_bad = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 9, 19), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('off', 0), ('on', 1)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dupsAlarmOutputBad.setStatus('mandatory')
dups_alarm_bypass_bad = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 9, 20), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('off', 0), ('on', 1)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dupsAlarmBypassBad.setStatus('mandatory')
dups_alarm_ups_off = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 9, 21), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('off', 0), ('on', 1)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dupsAlarmUPSOff.setStatus('mandatory')
dups_alarm_charger_fail = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 9, 22), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('off', 0), ('on', 1)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dupsAlarmChargerFail.setStatus('mandatory')
dups_alarm_fan_fail = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 9, 23), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('off', 0), ('on', 1)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dupsAlarmFanFail.setStatus('mandatory')
dups_alarm_economic_mode = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 9, 24), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('off', 0), ('on', 1)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dupsAlarmEconomicMode.setStatus('mandatory')
dups_alarm_output_off = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 9, 25), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('off', 0), ('on', 1)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dupsAlarmOutputOff.setStatus('mandatory')
dups_alarm_smart_shutdown = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 9, 26), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('off', 0), ('on', 1)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dupsAlarmSmartShutdown.setStatus('mandatory')
dups_alarm_emergency_power_off = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 9, 27), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('off', 0), ('on', 1)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dupsAlarmEmergencyPowerOff.setStatus('mandatory')
dups_alarm_ups_shutdown = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 9, 28), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('off', 0), ('on', 1)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dupsAlarmUPSShutdown.setStatus('mandatory')
dups_env_temperature = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 10, 1), integer32()).setUnits('degrees Centigrade').setMaxAccess('readonly')
if mibBuilder.loadTexts:
dupsEnvTemperature.setStatus('mandatory')
dups_env_humidity = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 10, 2), integer32()).setUnits('percentage').setMaxAccess('readonly')
if mibBuilder.loadTexts:
dupsEnvHumidity.setStatus('mandatory')
dups_env_set_temperature_limit = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 10, 3), integer32()).setUnits('degrees Centigrade').setMaxAccess('readwrite')
if mibBuilder.loadTexts:
dupsEnvSetTemperatureLimit.setStatus('mandatory')
dups_env_set_humidity_limit = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 10, 4), integer32()).setUnits('percentage').setMaxAccess('readwrite')
if mibBuilder.loadTexts:
dupsEnvSetHumidityLimit.setStatus('mandatory')
dups_env_set_env_relay1 = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 10, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('normalOpen', 0), ('normalClose', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
dupsEnvSetEnvRelay1.setStatus('mandatory')
dups_env_set_env_relay2 = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 10, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('normalOpen', 0), ('normalClose', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
dupsEnvSetEnvRelay2.setStatus('mandatory')
dups_env_set_env_relay3 = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 10, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('normalOpen', 0), ('normalClose', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
dupsEnvSetEnvRelay3.setStatus('mandatory')
dups_env_set_env_relay4 = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 10, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('normalOpen', 0), ('normalClose', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
dupsEnvSetEnvRelay4.setStatus('mandatory')
dups_alarm_over_env_temperature = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 10, 9), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('off', 0), ('on', 1)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dupsAlarmOverEnvTemperature.setStatus('mandatory')
dups_alarm_over_env_humidity = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 10, 10), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('off', 0), ('on', 1)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dupsAlarmOverEnvHumidity.setStatus('mandatory')
dups_alarm_env_relay1 = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 10, 11), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('off', 0), ('on', 1)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dupsAlarmEnvRelay1.setStatus('mandatory')
dups_alarm_env_relay2 = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 10, 12), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('off', 0), ('on', 1)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dupsAlarmEnvRelay2.setStatus('mandatory')
dups_alarm_env_relay3 = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 10, 13), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('off', 0), ('on', 1)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dupsAlarmEnvRelay3.setStatus('mandatory')
dups_alarm_env_relay4 = mib_scalar((1, 3, 6, 1, 4, 1, 2254, 2, 4, 10, 14), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('off', 0), ('on', 1)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dupsAlarmEnvRelay4.setStatus('mandatory')
dups_communication_lost = notification_type((1, 3, 6, 1, 4, 1, 2254, 2, 4, 20) + (0, 1))
dups_communication_established = notification_type((1, 3, 6, 1, 4, 1, 2254, 2, 4, 20) + (0, 2))
dups_power_fail = notification_type((1, 3, 6, 1, 4, 1, 2254, 2, 4, 20) + (0, 3))
dups_power_restored = notification_type((1, 3, 6, 1, 4, 1, 2254, 2, 4, 20) + (0, 4))
dups_low_battery = notification_type((1, 3, 6, 1, 4, 1, 2254, 2, 4, 20) + (0, 5))
dups_return_from_low_battery = notification_type((1, 3, 6, 1, 4, 1, 2254, 2, 4, 20) + (0, 6))
dups_load_warning = notification_type((1, 3, 6, 1, 4, 1, 2254, 2, 4, 20) + (0, 7))
dups_no_longer_load_warning = notification_type((1, 3, 6, 1, 4, 1, 2254, 2, 4, 20) + (0, 8))
dups_load_severity = notification_type((1, 3, 6, 1, 4, 1, 2254, 2, 4, 20) + (0, 9))
dups_no_longer_load_severity = notification_type((1, 3, 6, 1, 4, 1, 2254, 2, 4, 20) + (0, 10))
dups_load_on_bypass = notification_type((1, 3, 6, 1, 4, 1, 2254, 2, 4, 20) + (0, 11))
dups_no_longer_load_on_bypass = notification_type((1, 3, 6, 1, 4, 1, 2254, 2, 4, 20) + (0, 12))
dups_ups_fault = notification_type((1, 3, 6, 1, 4, 1, 2254, 2, 4, 20) + (0, 13))
dups_return_from_ups_fault = notification_type((1, 3, 6, 1, 4, 1, 2254, 2, 4, 20) + (0, 14))
dups_battery_ground_fault = notification_type((1, 3, 6, 1, 4, 1, 2254, 2, 4, 20) + (0, 15))
dups_no_longer_battery_fault = notification_type((1, 3, 6, 1, 4, 1, 2254, 2, 4, 20) + (0, 16))
dups_test_in_progress = notification_type((1, 3, 6, 1, 4, 1, 2254, 2, 4, 20) + (0, 17))
dups_battery_test_fail = notification_type((1, 3, 6, 1, 4, 1, 2254, 2, 4, 20) + (0, 18))
dups_fuse_failure = notification_type((1, 3, 6, 1, 4, 1, 2254, 2, 4, 20) + (0, 19))
dups_fuse_recovered = notification_type((1, 3, 6, 1, 4, 1, 2254, 2, 4, 20) + (0, 20))
dups_output_overload = notification_type((1, 3, 6, 1, 4, 1, 2254, 2, 4, 20) + (0, 21))
dups_no_longer_overload = notification_type((1, 3, 6, 1, 4, 1, 2254, 2, 4, 20) + (0, 22))
dups_output_over_current = notification_type((1, 3, 6, 1, 4, 1, 2254, 2, 4, 20) + (0, 23))
dups_no_longer_output_over_current = notification_type((1, 3, 6, 1, 4, 1, 2254, 2, 4, 20) + (0, 24))
dups_inverter_abnormal = notification_type((1, 3, 6, 1, 4, 1, 2254, 2, 4, 20) + (0, 25))
dups_inverter_recovered = notification_type((1, 3, 6, 1, 4, 1, 2254, 2, 4, 20) + (0, 26))
dups_rectifier_abnormal = notification_type((1, 3, 6, 1, 4, 1, 2254, 2, 4, 20) + (0, 27))
dups_rectifier_recovered = notification_type((1, 3, 6, 1, 4, 1, 2254, 2, 4, 20) + (0, 28))
dups_reserve_abnormal = notification_type((1, 3, 6, 1, 4, 1, 2254, 2, 4, 20) + (0, 29))
dups_reserve_recovered = notification_type((1, 3, 6, 1, 4, 1, 2254, 2, 4, 20) + (0, 30))
dups_load_on_reserve = notification_type((1, 3, 6, 1, 4, 1, 2254, 2, 4, 20) + (0, 31))
dups_no_longer_load_on_reserve = notification_type((1, 3, 6, 1, 4, 1, 2254, 2, 4, 20) + (0, 32))
dups_env_over_temperature = notification_type((1, 3, 6, 1, 4, 1, 2254, 2, 4, 20) + (0, 33))
dups_no_longer_env_over_temperature = notification_type((1, 3, 6, 1, 4, 1, 2254, 2, 4, 20) + (0, 34))
dups_env_over_humidity = notification_type((1, 3, 6, 1, 4, 1, 2254, 2, 4, 20) + (0, 35))
dups_no_longer_env_over_humidity = notification_type((1, 3, 6, 1, 4, 1, 2254, 2, 4, 20) + (0, 36))
dups_env_relay1_alarm = notification_type((1, 3, 6, 1, 4, 1, 2254, 2, 4, 20) + (0, 37))
dups_env_relay1_normal = notification_type((1, 3, 6, 1, 4, 1, 2254, 2, 4, 20) + (0, 38))
dups_env_relay2_alarm = notification_type((1, 3, 6, 1, 4, 1, 2254, 2, 4, 20) + (0, 39))
dups_env_relay2_normal = notification_type((1, 3, 6, 1, 4, 1, 2254, 2, 4, 20) + (0, 40))
dups_env_relay3_alarm = notification_type((1, 3, 6, 1, 4, 1, 2254, 2, 4, 20) + (0, 41))
dups_env_relay3_normal = notification_type((1, 3, 6, 1, 4, 1, 2254, 2, 4, 20) + (0, 42))
dups_env_relay4_alarm = notification_type((1, 3, 6, 1, 4, 1, 2254, 2, 4, 20) + (0, 43))
dups_env_relay4_normal = notification_type((1, 3, 6, 1, 4, 1, 2254, 2, 4, 20) + (0, 44))
dups_smart_shutdown = notification_type((1, 3, 6, 1, 4, 1, 2254, 2, 4, 20) + (0, 45))
dups_cancel_shutdown = notification_type((1, 3, 6, 1, 4, 1, 2254, 2, 4, 20) + (0, 46))
dups_test_completed = notification_type((1, 3, 6, 1, 4, 1, 2254, 2, 4, 20) + (0, 47))
dups_epoon = notification_type((1, 3, 6, 1, 4, 1, 2254, 2, 4, 20) + (0, 48))
dups_epooff = notification_type((1, 3, 6, 1, 4, 1, 2254, 2, 4, 20) + (0, 49))
dups_over_temperature = notification_type((1, 3, 6, 1, 4, 1, 2254, 2, 4, 20) + (0, 50))
dups_normal_temperature = notification_type((1, 3, 6, 1, 4, 1, 2254, 2, 4, 20) + (0, 51))
dups_batt_replace = notification_type((1, 3, 6, 1, 4, 1, 2254, 2, 4, 20) + (0, 52))
dups_return_from_batt_replace = notification_type((1, 3, 6, 1, 4, 1, 2254, 2, 4, 20) + (0, 53))
mibBuilder.exportSymbols('DeltaUPS-MIB', dupsRatingBatteryVoltage=dupsRatingBatteryVoltage, dupsEnvHumidity=dupsEnvHumidity, dupsAlarmSmartShutdown=dupsAlarmSmartShutdown, dupsInputFrequency2=dupsInputFrequency2, dupsNoLongerOutputOverCurrent=dupsNoLongerOutputOverCurrent, dupsSetOutletRelay=dupsSetOutletRelay, dupsBatteryCondiction=dupsBatteryCondiction, dupsLoadWarning=dupsLoadWarning, dupsNoLongerLoadSeverity=dupsNoLongerLoadSeverity, dupsNoLongerEnvOverHumidity=dupsNoLongerEnvOverHumidity, dupsBattReplace=dupsBattReplace, dupsAlarmOutputBad=dupsAlarmOutputBad, delta=delta, dupsOutputOverCurrent=dupsOutputOverCurrent, dupsRatingInputVoltage=dupsRatingInputVoltage, dupsAlarmBatteryTestFail=dupsAlarmBatteryTestFail, dupsHighTransferVoltLowBound=dupsHighTransferVoltLowBound, dupsBatteryStatus=dupsBatteryStatus, dupsRatingOutputVA=dupsRatingOutputVA, dupsShutdownType=dupsShutdownType, dupsOutputOverload=dupsOutputOverload, dupsTestCompleted=dupsTestCompleted, dupsInputVoltage1=dupsInputVoltage1, dupsOutputLoad1=dupsOutputLoad1, dupsConfigSensitivity=dupsConfigSensitivity, dupsRectifierRecovered=dupsRectifierRecovered, dupsNoLongerLoadOnReserve=dupsNoLongerLoadOnReserve, dupsInputCurrent2=dupsInputCurrent2, dupsAlarmUPSFault=dupsAlarmUPSFault, dupsAlarm=dupsAlarm, dupsType=dupsType, dupsEPOON=dupsEPOON, dupsRestartAction=dupsRestartAction, dupsNoLongerEnvOverTemperature=dupsNoLongerEnvOverTemperature, dupsOutputPower3=dupsOutputPower3, dupsReturnFromLowBattery=dupsReturnFromLowBattery, dupsAlarmEmergencyPowerOff=dupsAlarmEmergencyPowerOff, dupsLowBattery=dupsLowBattery, dupsConfigBuzzerState=dupsConfigBuzzerState, dupsPowerRestored=dupsPowerRestored, dupsSmartShutdown=dupsSmartShutdown, dupsEnvSetEnvRelay4=dupsEnvSetEnvRelay4, dupsOutputFrequency=dupsOutputFrequency, dupsEnvSetEnvRelay1=dupsEnvSetEnvRelay1, dupsReserveAbnormal=dupsReserveAbnormal, dupsEnvRelay2Normal=dupsEnvRelay2Normal, dupsBypassCurrent2=dupsBypassCurrent2, dupsAlarmOutputOverCurrent=dupsAlarmOutputOverCurrent, dupsInputNumLines=dupsInputNumLines, dupsTest=dupsTest, dupsBatteryCharge=dupsBatteryCharge, dupsRelayOffDelay=dupsRelayOffDelay, dupsNormalTemperature=dupsNormalTemperature, upsv4=upsv4, ups=ups, dupsBatteryCapacity=dupsBatteryCapacity, dupsRectifierAbnormal=dupsRectifierAbnormal, dupsInputFrequency3=dupsInputFrequency3, dupsRatingOutputVoltage=dupsRatingOutputVoltage, dupsLastReplaceDate=dupsLastReplaceDate, dupsAlarmLoadOnReserve=dupsAlarmLoadOnReserve, dupsBypassVoltage3=dupsBypassVoltage3, dupsBypassPower2=dupsBypassPower2, dupsBatteryTestFail=dupsBatteryTestFail, dupsLowBattTime=dupsLowBattTime, dupsAlarmEnvRelay2=dupsAlarmEnvRelay2, dupsAlarmPowerFail=dupsAlarmPowerFail, dupsReserveRecovered=dupsReserveRecovered, dupsReturnFromBattReplace=dupsReturnFromBattReplace, dupsAlarmFuseFailure=dupsAlarmFuseFailure, dupsLoadOnReserve=dupsLoadOnReserve, dupsBypassNumLines=dupsBypassNumLines, dupsNoLongerBatteryFault=dupsNoLongerBatteryFault, dupsConfig=dupsConfig, dupsOutputNumLines=dupsOutputNumLines, dupsSecondsOnBattery=dupsSecondsOnBattery, dupsInputVoltage3=dupsInputVoltage3, dupsConfigHighVoltageTransferPoint=dupsConfigHighVoltageTransferPoint, dupsControl=dupsControl, dupsAlarmLoadOnBypass=dupsAlarmLoadOnBypass, dupsAlarmOutputOverload=dupsAlarmOutputOverload, dupsBypassFrequency=dupsBypassFrequency, dupsOutletRelays=dupsOutletRelays, dupsAlarmUPSShutdown=dupsAlarmUPSShutdown, dupsEnvTemperature=dupsEnvTemperature, dupsTemperature=dupsTemperature, dupsOutputSource=dupsOutputSource, dupsBypassPower1=dupsBypassPower1, dupsConfigLowVoltageTransferPoint=dupsConfigLowVoltageTransferPoint, dupsTestResultsDetail=dupsTestResultsDetail, dupsEnvironment=dupsEnvironment, dupsConfigExternalBatteryPack=dupsConfigExternalBatteryPack, dupsBypassVoltage1=dupsBypassVoltage1, dupsBypass=dupsBypass, dupsEnvOverHumidity=dupsEnvOverHumidity, dupsBatteryCurrent=dupsBatteryCurrent, dupsBatteryGroundFault=dupsBatteryGroundFault, dupsBypassCurrent3=dupsBypassCurrent3, dupsAlarmOverEnvHumidity=dupsAlarmOverEnvHumidity, dupsNoLongerOverload=dupsNoLongerOverload, dupsIdent=dupsIdent, dupsFuseRecovered=dupsFuseRecovered, dupsAutoReboot=dupsAutoReboot, dupsAlarmOutputOff=dupsAlarmOutputOff, dupsOutputLoad3=dupsOutputLoad3, dupsIdentName=dupsIdentName, dupsInverterRecovered=dupsInverterRecovered, dupsOutput=dupsOutput, dupsInputCurrent3=dupsInputCurrent3, dupsEnvRelay3Normal=dupsEnvRelay3Normal, dupsAlarmOverTemperature=dupsAlarmOverTemperature, dupsOutputLoad2=dupsOutputLoad2, dupsOutputCurrent2=dupsOutputCurrent2, dupsAlarmOverEnvTemperature=dupsAlarmOverEnvTemperature, dupsInputVoltage2=dupsInputVoltage2, dupsConfigShutdownOSDelay=dupsConfigShutdownOSDelay, dupsUPSFault=dupsUPSFault, dupsReturnFromUPSFault=dupsReturnFromUPSFault, dupsEnvSetEnvRelay2=dupsEnvSetEnvRelay2, dupsHighTransferVoltUpBound=dupsHighTransferVoltUpBound, dupsCancelShutdown=dupsCancelShutdown, dupsBatteryVoltage=dupsBatteryVoltage, dupsTraps=dupsTraps, dupsConfigUPSBootDelay=dupsConfigUPSBootDelay, dupsAlarmEnvRelay1=dupsAlarmEnvRelay1, dupsAlarmTestInProgress=dupsAlarmTestInProgress, dupsIdentUPSSoftwareVersion=dupsIdentUPSSoftwareVersion, dupsOutputPower1=dupsOutputPower1, dupsNoLongerLoadWarning=dupsNoLongerLoadWarning, dupsLowTransferVoltUpBound=dupsLowTransferVoltUpBound, dupsAlarmEnvRelay3=dupsAlarmEnvRelay3, dupsInputFrequency1=dupsInputFrequency1, dupsEnvRelay1Normal=dupsEnvRelay1Normal, dupsAlarmBypassBad=dupsAlarmBypassBad, dupsCommunicationLost=dupsCommunicationLost, dupsNoLongerLoadOnBypass=dupsNoLongerLoadOnBypass, dupsAlarmInverterAbnormal=dupsAlarmInverterAbnormal, dupsEnvRelay4Normal=dupsEnvRelay4Normal, dupsAlarmEconomicMode=dupsAlarmEconomicMode, dupsBatteryEstimatedTime=dupsBatteryEstimatedTime, dupsOverTemperature=dupsOverTemperature, dupsEnvSetTemperatureLimit=dupsEnvSetTemperatureLimit, dupsTestResultsSummary=dupsTestResultsSummary, dupsAlarmChargerFail=dupsAlarmChargerFail, dupsEnvRelay4Alarm=dupsEnvRelay4Alarm, dupsAlarmEnvRelay4=dupsAlarmEnvRelay4, dupsOutputCurrent1=dupsOutputCurrent1, dupsInput=dupsInput, dupsBypassPower3=dupsBypassPower3, dupsInputCurrent1=dupsInputCurrent1, dupsTestType=dupsTestType, dupsAlarmLoadSeverity=dupsAlarmLoadSeverity, dupsAlarmReserveAbnormal=dupsAlarmReserveAbnormal, dupsEnvSetHumidityLimit=dupsEnvSetHumidityLimit, dupsEnvRelay3Alarm=dupsEnvRelay3Alarm, dupsOutputCurrent3=dupsOutputCurrent3, dupsOutputVoltage3=dupsOutputVoltage3, dupsRelayOnDelay=dupsRelayOnDelay, dupsOutputVoltage2=dupsOutputVoltage2, dupsAlarmLoadWarning=dupsAlarmLoadWarning, dupsAttachedDevices=dupsAttachedDevices, dupsConfigBuzzerAlarm=dupsConfigBuzzerAlarm, dupsOutputPower2=dupsOutputPower2, dupsAlarmDisconnect=dupsAlarmDisconnect, dupsLoadOnBypass=dupsLoadOnBypass, dupsLowTransferVoltLowBound=dupsLowTransferVoltLowBound, dupsPowerFail=dupsPowerFail, dupsEnvRelay2Alarm=dupsEnvRelay2Alarm, dupsShutdownAction=dupsShutdownAction, dupsOutputVoltage1=dupsOutputVoltage1, dupsRatingOutputFrequency=dupsRatingOutputFrequency, dupsBypassVoltage2=dupsBypassVoltage2, dupsRatingInputFrequency=dupsRatingInputFrequency, dupsEPOOFF=dupsEPOOFF, dupsEnvSetEnvRelay3=dupsEnvSetEnvRelay3, dupsEnvOverTemperature=dupsEnvOverTemperature, dupsIdentManufacturer=dupsIdentManufacturer, dupsIdentAgentSoftwareVersion=dupsIdentAgentSoftwareVersion, dupsBattery=dupsBattery, dupsBypassCurrent1=dupsBypassCurrent1, dupsNextReplaceDate=dupsNextReplaceDate, dupsEnvRelay1Alarm=dupsEnvRelay1Alarm, dupsAlarmBatteryGroundFault=dupsAlarmBatteryGroundFault, dupsIdentModel=dupsIdentModel, dupsCommunicationEstablished=dupsCommunicationEstablished, dupsAlarmFanFail=dupsAlarmFanFail, dupsLoadSeverity=dupsLoadSeverity, dupsInverterAbnormal=dupsInverterAbnormal, dupsTestInProgress=dupsTestInProgress, dupsAlarmBatteryLow=dupsAlarmBatteryLow, dupsFuseFailure=dupsFuseFailure, dupsAlarmUPSOff=dupsAlarmUPSOff, dupsAlarmRectifierAbnormal=dupsAlarmRectifierAbnormal)
|
with open('trenutek.txt',"r") as datoteka:
i = 1
dat2 = open('trenutek1.txt',"w")
for vrstica in datoteka:
dat2.write(str(i) +","+ vrstica)
i += 1
dat2.close()
|
with open('trenutek.txt', 'r') as datoteka:
i = 1
dat2 = open('trenutek1.txt', 'w')
for vrstica in datoteka:
dat2.write(str(i) + ',' + vrstica)
i += 1
dat2.close()
|
x=[1,1]
for i in range(1000):
x=x+[x[-1]+x[-2]]
#iteration 1
#x=[1,1]+[1+1]
#x=[1,1]+[2]
#x=[1,1,2]
#iteration 2
#x=[1,1,2]+[1+2]
#x=[1,1,2]+[3]
#x=[1,1,2,3]
print(x)
print(x[-1]/x[-2])
|
x = [1, 1]
for i in range(1000):
x = x + [x[-1] + x[-2]]
print(x)
print(x[-1] / x[-2])
|
class Tablet :
def __init__(self,tablet_proxy):
self._tablet = tablet_proxy
def set_background(self,color):
self._tablet.setBackgroundColor(color)
def set_image(self,url):
self._tablet.showImage(url)
def load_image(self,url):
return self._table.preLoadImage(url)
|
class Tablet:
def __init__(self, tablet_proxy):
self._tablet = tablet_proxy
def set_background(self, color):
self._tablet.setBackgroundColor(color)
def set_image(self, url):
self._tablet.showImage(url)
def load_image(self, url):
return self._table.preLoadImage(url)
|
input = """
b(1).
a(X) :- b(X).
:- p(X).
"""
output = """
b(1).
a(X) :- b(X).
:- p(X).
"""
|
input = '\nb(1).\na(X) :- b(X).\n:- p(X).\n'
output = '\nb(1).\na(X) :- b(X).\n:- p(X).\n'
|
'''
lab 7
'''
#3.1
i = 0
while i <=5:
if i !=3:
print(i)
i = i+1
#3.2
i = 1
result = 1
while i <=5:
print()
i = i+1
print(result)
#3.3
i = 1
result = 0
while i <=5:
result = result +i
i = i+1
print(result)
#3.4
i = 3
result = 0
while i <=8:
result = result +i
i = i+1
print(result)
#3.5
i = 4
result = 0
while i <=8:
result = result +i
i = i+1
print(result)
#3.6
num_list = [12,32,43,35]
while num_list:
num_list.remove(num_list[0])
print(num_list)
|
"""
lab 7
"""
i = 0
while i <= 5:
if i != 3:
print(i)
i = i + 1
i = 1
result = 1
while i <= 5:
print()
i = i + 1
print(result)
i = 1
result = 0
while i <= 5:
result = result + i
i = i + 1
print(result)
i = 3
result = 0
while i <= 8:
result = result + i
i = i + 1
print(result)
i = 4
result = 0
while i <= 8:
result = result + i
i = i + 1
print(result)
num_list = [12, 32, 43, 35]
while num_list:
num_list.remove(num_list[0])
print(num_list)
|
lpu = "LPU"
speciality = "SPECIALLITY"
token = "TOKEN"
chat_id = "CHAT_NAME" # if u re planing to send
|
lpu = 'LPU'
speciality = 'SPECIALLITY'
token = 'TOKEN'
chat_id = 'CHAT_NAME'
|
"""
Super-Automation MySQL plugin-related exceptions.
Raising one of these in a test will cause the
test-state to be logged appropriately in the DB
for tests that use the Super-Automation MySQL plugin.
"""
class BlockedTest(Exception):
""" Raise this to mark a test as Blocked in the DB. """
pass
class SkipTest(Exception):
""" Raise this to mark a test as Skipped in the DB. """
pass
class DeprecatedTest(Exception):
""" Raise this to mark a test as Deprecated in the DB. """
pass
|
"""
Super-Automation MySQL plugin-related exceptions.
Raising one of these in a test will cause the
test-state to be logged appropriately in the DB
for tests that use the Super-Automation MySQL plugin.
"""
class Blockedtest(Exception):
""" Raise this to mark a test as Blocked in the DB. """
pass
class Skiptest(Exception):
""" Raise this to mark a test as Skipped in the DB. """
pass
class Deprecatedtest(Exception):
""" Raise this to mark a test as Deprecated in the DB. """
pass
|
class Event:
""""""
PINGED = 'ping'
PONGED = 'pong'
CONNECTED = 'connected'
"""
Called when the Websocket client has successfully connected to the server.
:param user: The twitch user that connected to the server
.. code-block:: python3
@client.event(twitch.Event.CONNECTED)
async def on_connected(user):
print(f'Bot username: {user.login}')
print(f'Bot id: {user.id}')
"""
DISCONNECT = 'disconnect'
"""
Called when the Websocket client connection to the server is closed
.. code-block:: python3
@client.event(twitch.Event.DISCONNECT)
async def on_disconnected():
print('Client disconnected')
"""
SOCKET_SEND = 'socket_send'
"""
Called when the Websocket client sends a message to the server.
:param raw_msg: The raw message sent to the server
.. code-block:: python3
@client.event(twitch.Event.SOCKET_SEND)
async def socket_send(raw_msg):
print(raw_msg)
"""
SOCKET_RECEIVE = 'socket_receive'
"""
Called when the Websocket client receives a message from the server.
:param raw_msg: The raw message received from the server
.. code-block:: python3
@client.event(twitch.Event.SOCKET_RECEIVE)
async def socket_recv(raw_msg):
print(raw_msg)
"""
MESSAGE = 'message'
"""
Called when a message is sent in any of the channels your client has joined
:param message: The message received from the server :class:`Message`
.. code-block:: python3
@client.event(twitch.Event.MESSAGE)
async def message_handler(message):
print(f'[#{message.channel.name}] '
f'{message.author.login}: '
f'{message.content}')
"""
USER_JOIN_CHANNEL = 'user_join_channel'
"""
"""
USER_LEFT_CHANNEL = 'user_leave_channel'
"""
"""
LIST_USERS = 'list_users'
"""
"""
MOD_STATUS_CHANGED = 'mod_status_updated'
"""
"""
CHAT_CLEARED = 'chat_cleared'
"""
Called when either all messages in a channel are deleted
:param channel: The channel where the messages were deleted/cleared
.. code-block:: python3
@client.event(twitch.Event.CHAT_CLEARED)
async def on_clear_chat(channel):
print(f'The messages in {channel.name}s chat we're just cleared!')
"""
MESSAGE_CLEARED = 'message_cleared'
"""
"""
USER_BANNED = 'user_banned'
"""
"""
USER_PERMANENT_BANNED = 'user_permanent_banned'
"""
"""
HOST_MODE_CHANGED = 'host_mode_updated'
"""
"""
CHANNELS_REJOINED = 'channels_rejoined'
"""
"""
CHANNEL_STATE_CHANGED = 'channel_state_update'
"""
"""
USER_NOTIFICATION = 'user_noitification'
"""
"""
USER_STATE_CHANGED = 'user_updated'
"""
"""
TAG_REQUEST_ACKED = 'tag_request_acked'
"""
Called after the client has requested the tags capability and the server
successfully acknowledges/includes the behaviour.
.. code-block:: python3
@client.event(twitch.Event.TAG_REQUEST_ACKED)
async def tags_acked(message):
print(f'We have the tags capability!')
"""
MEMBERSHIP_REQUEST_ACKED = 'membership_request_acked'
"""
Called after the client has requested the membership capability and the
server successfully acknowledges/includes the behaviour.
.. code-block:: python3
@client.event(twitch.Event.MEMBERSHIP_REQUEST_ACKED)
async def membership_acked(message):
print(f'We have the membership capability!')
"""
COMMANDS_REQUEST_ACKED = 'commands_request_acked'
"""
Called after the client has requested the commands capability and the
server successfully acknowledges/includes the behaviour.
.. code-block:: python3
@client.event(twitch.Event.COMMANDS_REQUEST_ACKED)
async def commands_acked(message):
print(f'We have the commands capability!')
"""
CHAT_ROOMS_REQUEST_ACKED = 'chat_rooms_request_acked'
"""
Called after the client has requested the chat rooms capability and the
server successfully acknowledges/includes the behaviour.
.. code-block:: python3
@client.event(twitch.Event.CHAT_ROOMS_REQUEST_ACKED)
async def chat_rooms_acked(message):
print(f'We have the chat rooms capability!')
"""
GLOBAL_USERSTATE_RECEIVED = 'global_userstate_received'
"""
"""
ROOMSTATE_RECEIVED = 'roomstate_received'
"""
"""
UNKNOWN = 'unknown'
_AUTHENTICATED = '_authenticated'
|
class Event:
""""""
pinged = 'ping'
ponged = 'pong'
connected = 'connected'
"\n Called when the Websocket client has successfully connected to the server.\n\n :param user: The twitch user that connected to the server\n\n .. code-block:: python3\n\n @client.event(twitch.Event.CONNECTED)\n async def on_connected(user):\n print(f'Bot username: {user.login}')\n print(f'Bot id: {user.id}')\n "
disconnect = 'disconnect'
"\n Called when the Websocket client connection to the server is closed\n\n .. code-block:: python3\n\n @client.event(twitch.Event.DISCONNECT)\n async def on_disconnected():\n print('Client disconnected')\n "
socket_send = 'socket_send'
'\n Called when the Websocket client sends a message to the server.\n\n :param raw_msg: The raw message sent to the server\n\n \n .. code-block:: python3\n\n @client.event(twitch.Event.SOCKET_SEND)\n async def socket_send(raw_msg):\n print(raw_msg)\n '
socket_receive = 'socket_receive'
'\n Called when the Websocket client receives a message from the server.\n\n :param raw_msg: The raw message received from the server\n\n\n .. code-block:: python3\n\n @client.event(twitch.Event.SOCKET_RECEIVE)\n async def socket_recv(raw_msg):\n print(raw_msg)\n '
message = 'message'
"\n Called when a message is sent in any of the channels your client has joined\n\n :param message: The message received from the server :class:`Message`\n\n\n .. code-block:: python3\n\n @client.event(twitch.Event.MESSAGE)\n async def message_handler(message):\n print(f'[#{message.channel.name}] '\n f'{message.author.login}: '\n f'{message.content}')\n "
user_join_channel = 'user_join_channel'
'\n '
user_left_channel = 'user_leave_channel'
'\n '
list_users = 'list_users'
'\n '
mod_status_changed = 'mod_status_updated'
'\n '
chat_cleared = 'chat_cleared'
"\n Called when either all messages in a channel are deleted\n\n :param channel: The channel where the messages were deleted/cleared\n\n .. code-block:: python3\n\n @client.event(twitch.Event.CHAT_CLEARED)\n async def on_clear_chat(channel):\n print(f'The messages in {channel.name}s chat we're just cleared!')\n "
message_cleared = 'message_cleared'
'\n '
user_banned = 'user_banned'
'\n '
user_permanent_banned = 'user_permanent_banned'
'\n '
host_mode_changed = 'host_mode_updated'
'\n '
channels_rejoined = 'channels_rejoined'
'\n '
channel_state_changed = 'channel_state_update'
'\n '
user_notification = 'user_noitification'
'\n '
user_state_changed = 'user_updated'
'\n '
tag_request_acked = 'tag_request_acked'
"\n Called after the client has requested the tags capability and the server\n successfully acknowledges/includes the behaviour.\n\n .. code-block:: python3\n\n @client.event(twitch.Event.TAG_REQUEST_ACKED)\n async def tags_acked(message):\n print(f'We have the tags capability!')\n "
membership_request_acked = 'membership_request_acked'
"\n Called after the client has requested the membership capability and the\n server successfully acknowledges/includes the behaviour.\n\n .. code-block:: python3\n\n @client.event(twitch.Event.MEMBERSHIP_REQUEST_ACKED)\n async def membership_acked(message):\n print(f'We have the membership capability!')\n "
commands_request_acked = 'commands_request_acked'
"\n Called after the client has requested the commands capability and the\n server successfully acknowledges/includes the behaviour.\n\n .. code-block:: python3\n\n @client.event(twitch.Event.COMMANDS_REQUEST_ACKED)\n async def commands_acked(message):\n print(f'We have the commands capability!')\n "
chat_rooms_request_acked = 'chat_rooms_request_acked'
"\n Called after the client has requested the chat rooms capability and the\n server successfully acknowledges/includes the behaviour.\n\n .. code-block:: python3\n\n @client.event(twitch.Event.CHAT_ROOMS_REQUEST_ACKED)\n async def chat_rooms_acked(message):\n print(f'We have the chat rooms capability!')\n "
global_userstate_received = 'global_userstate_received'
'\n '
roomstate_received = 'roomstate_received'
'\n '
unknown = 'unknown'
_authenticated = '_authenticated'
|
def time_difference(was_hours, was_minutes, was_seconds, now_hours, now_minutes, now_seconds):
now_hours -= was_hours
now_minutes -= was_minutes
now_seconds -= was_seconds
seconds_passed = 0
now_minutes = now_minutes * 60
now_hours = now_hours * 3600
seconds_passed += now_seconds
seconds_passed += now_minutes
seconds_passed += now_hours
print(seconds_passed)
time_difference(int(input()), int(input()), int(input()), int(input()), int(input()), int(input()))
|
def time_difference(was_hours, was_minutes, was_seconds, now_hours, now_minutes, now_seconds):
now_hours -= was_hours
now_minutes -= was_minutes
now_seconds -= was_seconds
seconds_passed = 0
now_minutes = now_minutes * 60
now_hours = now_hours * 3600
seconds_passed += now_seconds
seconds_passed += now_minutes
seconds_passed += now_hours
print(seconds_passed)
time_difference(int(input()), int(input()), int(input()), int(input()), int(input()), int(input()))
|
# Plot the raw data before setting the datetime index
df.plot()
plt.show()
# Convert the 'Date' column into a collection of datetime objects: df.Date
df.Date = pd.to_datetime(df.Date)
# Set the index to be the converted 'Date' column
df.set_index('Date', inplace=True)
# Re-plot the DataFrame to see that the axis is now datetime aware!
df.plot()
plt.show()
|
df.plot()
plt.show()
df.Date = pd.to_datetime(df.Date)
df.set_index('Date', inplace=True)
df.plot()
plt.show()
|
def binary(num):
s = ""
if num != 0:
while num >= 1:
if num % 2 == 0:
s = s + "0"
num = num/2
else:
s = s + "1"
num = num/2
else:
s="0"
return "".join(reversed(s))
print(binary(12))
|
def binary(num):
s = ''
if num != 0:
while num >= 1:
if num % 2 == 0:
s = s + '0'
num = num / 2
else:
s = s + '1'
num = num / 2
else:
s = '0'
return ''.join(reversed(s))
print(binary(12))
|
_lookup = {
# https://support.microsoft.com/en-us/kb/89879
'MS_ADPCM': 1,
'IMA_ADPCM': 1,
'PCM_S8': 1,
'PCM_U8': 1,
'PCM_16': 2,
'PCM_24': 3,
'PCM_32': 4,
'FLOAT': 4,
'DOUBLE': 8,
# this is a guess, erring on the side of caution
'VORBIS': 3
}
def chunk_size_samples(sf, buf):
"""
Black magic to account for the fact that libsndfile's behavior varies
depending on file format when using the virtual io api.
If you ask for more samples from an ogg or flac file than are available
at that moment, libsndfile will give you no more samples ever, even if
more bytes arrive in the buffer later.
"""
byte_depth = _lookup[sf.subtype]
channels = sf.channels
bytes_per_second = byte_depth * sf.samplerate * channels
secs = len(buf) / bytes_per_second
secs = max(1, secs - 6)
return int(secs * sf.samplerate)
|
_lookup = {'MS_ADPCM': 1, 'IMA_ADPCM': 1, 'PCM_S8': 1, 'PCM_U8': 1, 'PCM_16': 2, 'PCM_24': 3, 'PCM_32': 4, 'FLOAT': 4, 'DOUBLE': 8, 'VORBIS': 3}
def chunk_size_samples(sf, buf):
"""
Black magic to account for the fact that libsndfile's behavior varies
depending on file format when using the virtual io api.
If you ask for more samples from an ogg or flac file than are available
at that moment, libsndfile will give you no more samples ever, even if
more bytes arrive in the buffer later.
"""
byte_depth = _lookup[sf.subtype]
channels = sf.channels
bytes_per_second = byte_depth * sf.samplerate * channels
secs = len(buf) / bytes_per_second
secs = max(1, secs - 6)
return int(secs * sf.samplerate)
|
numbers = [int(s) for s in input().split()]
command = input()
while command != 'end':
command = command.split()
action = command[0]
if action == 'swap':
index_1 = int(command[1])
index_2 = int(command[2])
numbers[index_1], numbers[index_2] = numbers[index_2], numbers[index_1]
elif action == 'multiply':
index_1 = int(command[1])
index_2 = int(command[2])
numbers[index_1] = numbers[index_1] * numbers[index_2]
elif action == 'decrease':
numbers = [s - 1 for s in numbers]
command = input()
numbers = [str(s) for s in numbers]
print(', '.join(numbers))
|
numbers = [int(s) for s in input().split()]
command = input()
while command != 'end':
command = command.split()
action = command[0]
if action == 'swap':
index_1 = int(command[1])
index_2 = int(command[2])
(numbers[index_1], numbers[index_2]) = (numbers[index_2], numbers[index_1])
elif action == 'multiply':
index_1 = int(command[1])
index_2 = int(command[2])
numbers[index_1] = numbers[index_1] * numbers[index_2]
elif action == 'decrease':
numbers = [s - 1 for s in numbers]
command = input()
numbers = [str(s) for s in numbers]
print(', '.join(numbers))
|
_base_ = [
'../_base_/models/stylegan/stylegan3_base.py',
'../_base_/datasets/ffhq_flip.py', '../_base_/default_runtime.py'
]
batch_size = 32
magnitude_ema_beta = 0.5**(batch_size / (20 * 1e3))
synthesis_cfg = {
'type': 'SynthesisNetwork',
'channel_base': 32768,
'channel_max': 512,
'magnitude_ema_beta': 0.999
}
r1_gamma = 32.8
d_reg_interval = 16
model = dict(
type='StaticUnconditionalGAN',
generator=dict(out_size=1024, img_channels=3, synthesis_cfg=synthesis_cfg),
discriminator=dict(in_size=1024),
gan_loss=dict(type='GANLoss', gan_type='wgan-logistic-ns'),
disc_auxiliary_loss=dict(loss_weight=r1_gamma / 2.0 * d_reg_interval))
imgs_root = None # set by user
data = dict(
samples_per_gpu=4,
train=dict(dataset=dict(imgs_root=imgs_root)),
val=dict(imgs_root=imgs_root))
ema_half_life = 10. # G_smoothing_kimg
custom_hooks = [
dict(
type='VisualizeUnconditionalSamples',
output_dir='training_samples',
interval=5000),
dict(
type='ExponentialMovingAverageHook',
module_keys=('generator_ema', ),
interp_mode='lerp',
interval=1,
start_iter=0,
momentum_policy='rampup',
momentum_cfg=dict(
ema_kimg=10, ema_rampup=0.05, batch_size=batch_size, eps=1e-8),
priority='VERY_HIGH')
]
inception_pkl = 'work_dirs/inception_pkl/ffhq_noflip_1024x1024.pkl'
metrics = dict(
fid50k=dict(
type='FID',
num_images=50000,
inception_pkl=inception_pkl,
inception_args=dict(type='StyleGAN'),
bgr2rgb=True))
evaluation = dict(
type='GenerativeEvalHook',
interval=10000,
metrics=dict(
type='FID',
num_images=50000,
inception_pkl=inception_pkl,
inception_args=dict(type='StyleGAN'),
bgr2rgb=True),
sample_kwargs=dict(sample_model='ema'))
checkpoint_config = dict(interval=10000, by_epoch=False, max_keep_ckpts=30)
lr_config = None
total_iters = 800002
|
_base_ = ['../_base_/models/stylegan/stylegan3_base.py', '../_base_/datasets/ffhq_flip.py', '../_base_/default_runtime.py']
batch_size = 32
magnitude_ema_beta = 0.5 ** (batch_size / (20 * 1000.0))
synthesis_cfg = {'type': 'SynthesisNetwork', 'channel_base': 32768, 'channel_max': 512, 'magnitude_ema_beta': 0.999}
r1_gamma = 32.8
d_reg_interval = 16
model = dict(type='StaticUnconditionalGAN', generator=dict(out_size=1024, img_channels=3, synthesis_cfg=synthesis_cfg), discriminator=dict(in_size=1024), gan_loss=dict(type='GANLoss', gan_type='wgan-logistic-ns'), disc_auxiliary_loss=dict(loss_weight=r1_gamma / 2.0 * d_reg_interval))
imgs_root = None
data = dict(samples_per_gpu=4, train=dict(dataset=dict(imgs_root=imgs_root)), val=dict(imgs_root=imgs_root))
ema_half_life = 10.0
custom_hooks = [dict(type='VisualizeUnconditionalSamples', output_dir='training_samples', interval=5000), dict(type='ExponentialMovingAverageHook', module_keys=('generator_ema',), interp_mode='lerp', interval=1, start_iter=0, momentum_policy='rampup', momentum_cfg=dict(ema_kimg=10, ema_rampup=0.05, batch_size=batch_size, eps=1e-08), priority='VERY_HIGH')]
inception_pkl = 'work_dirs/inception_pkl/ffhq_noflip_1024x1024.pkl'
metrics = dict(fid50k=dict(type='FID', num_images=50000, inception_pkl=inception_pkl, inception_args=dict(type='StyleGAN'), bgr2rgb=True))
evaluation = dict(type='GenerativeEvalHook', interval=10000, metrics=dict(type='FID', num_images=50000, inception_pkl=inception_pkl, inception_args=dict(type='StyleGAN'), bgr2rgb=True), sample_kwargs=dict(sample_model='ema'))
checkpoint_config = dict(interval=10000, by_epoch=False, max_keep_ckpts=30)
lr_config = None
total_iters = 800002
|
potencia=int(input())
tempo=int(input())
calculo=(potencia/1000)*(tempo/60)
print(f'{calculo:.1f} kWh')
|
potencia = int(input())
tempo = int(input())
calculo = potencia / 1000 * (tempo / 60)
print(f'{calculo:.1f} kWh')
|
def is_palindrome(input_string):
"""Check if a string is a palindrome
irrespective of capitalisation
Returns:
True if string is a palindrome
e.g
>>> is_palindrome("kayak")
OUTPUT : True
False if string is not a palindrome
e.g
>>> is_palindrome("Boat")
OUTPUT : False
"""
# Create variables to hold new strings to be compared
new_string = ""
reversed_string = ""
# Ensure that the string is not empty
if input_string != '':
# Change input into lower case and loop through each letter
for char in input_string.lower():
# Remove all white spaces
# Add each letter to a string
# Reverse the string
if char != " ":
new_string += char
reversed_string = ''.join(reversed(new_string))
# Compare the strings
if new_string == reversed_string:
return True
return False
return "String is empty"
# Tests
print(is_palindrome("kayak")) # Return True
print(is_palindrome("Hold Your fire")) # Return False
print(is_palindrome("Never Odd or Even")) # Return True
print(is_palindrome("abc")) # Return False
print(is_palindrome("")) # Return "String is empty"
|
def is_palindrome(input_string):
"""Check if a string is a palindrome
irrespective of capitalisation
Returns:
True if string is a palindrome
e.g
>>> is_palindrome("kayak")
OUTPUT : True
False if string is not a palindrome
e.g
>>> is_palindrome("Boat")
OUTPUT : False
"""
new_string = ''
reversed_string = ''
if input_string != '':
for char in input_string.lower():
if char != ' ':
new_string += char
reversed_string = ''.join(reversed(new_string))
if new_string == reversed_string:
return True
return False
return 'String is empty'
print(is_palindrome('kayak'))
print(is_palindrome('Hold Your fire'))
print(is_palindrome('Never Odd or Even'))
print(is_palindrome('abc'))
print(is_palindrome(''))
|
# Complexity O(n)
def linear_search(array: list, elem):
for index, number in enumerate(array):
if number == elem:
print(f"The elem {elem} is present ind array, on index {index}.")
return index
print(f"The elem {elem} isn't on array.")
return -1
def linear_search_in(array: list, elem):
return elem in array # this return true or false
def linear_search_index(array: list, elem):
try:
return array.index(elem)
except ValueError:
return -1
array = list(range(1, 100))
print(linear_search(array, 101))
print(linear_search(array, 1))
|
def linear_search(array: list, elem):
for (index, number) in enumerate(array):
if number == elem:
print(f'The elem {elem} is present ind array, on index {index}.')
return index
print(f"The elem {elem} isn't on array.")
return -1
def linear_search_in(array: list, elem):
return elem in array
def linear_search_index(array: list, elem):
try:
return array.index(elem)
except ValueError:
return -1
array = list(range(1, 100))
print(linear_search(array, 101))
print(linear_search(array, 1))
|
# lcs = longest_consecutive_series
# ccn = count_of_consecutive_numbers
class Solution(object): #main function
def longestConsecutive(self, values): #sub funcction
lcs = 0 # Initializing
for i in values: # Iteration the given value
if i-1 not in values: # condition check
value = i
ccn = 0
while i in values:
i+=1 #increament
ccn+=1 #increment
lcs = max(lcs,ccn) #maximum finding
return lcs
print(" Length of LCS is ",Solution().longestConsecutive({13,15,19,16,21,17,18,23,1,4})) #Calling two function Solution and longestConsecutive
'''
longestConsecutive will be called and it will pass the value.
longest_consecutive_series value will be assign
loop will be called
for i = 1 (True ):-
if i-1 not in values ( True ):-
value = 1
count_of_consecutive_numbers = 0
for i =1 (True )
i +=1 , i=2
count_of_consecutive_numbers = 1
max will be find between longest_consecutive_series,count_of_consecutive_numbers
for i =2 ( False )
back to main loop.
for i = 4 ( True ) :-
if i-1 not in values ( True ):-
value = 4
count_of_consecutive_numbers = 0
for i = 4 (True )
i +=1 , i = 5
count_of_consecutive_numbers = 1
longest_consecutive_series =1
for i = 5 ( False )
back to main loop
for i = 5 (False ) :- The value of i will be iterate
for i = 13 (True ) :-
if i-1 not in values ( True ):-
value = 13
count_of_consecutive_numbers = 0
for i = 13 ( True )
i +=1 , i = 13
count_of_consecutive_numbers = 1
longest_consecutive_series =
for i = 14 (False)
back to main loop
for i = 14 (False ):-
if i-1 not in values ( False )
for i = 15 (True ):-
if i-1 not in values ( True ):-
value = 15
count_of_consecutive_numbers = 0
for i = 15 ( True )
i +=1 , i = 16
count_of_consecutive_numbers = 1
longest_consecutive_series =1
for i = 16 ( True )
i +=1 , i = 17
count_of_consecutive_numbers = 2
longest_consecutive_series =2
for i = 17 ( True )
i +=1 , i = 18
count_of_consecutive_numbers = 3
longest_consecutive_series =3
for i = 18 ( True )
i +=1 , i = 19
count_of_consecutive_numbers = 4
longest_consecutive_series =4
for i = 19 ( True )
i +=1 , i = 20
count_of_consecutive_numbers = 5
longest_consecutive_series =5
for i = 20 ( False )
back to main loop
for i = 16 ( True ):-
if i-1 not in values ( False ):-
back to main loop
for i = 17 ( True ):-
if i-1 not in values ( False ):-
back to main loop
for i = 18 ( True ):-
if i-1 not in values ( False ):-
back to main loo
for i = 19 ( True ):-
if i-1 not in values ( False ):-
back to main loo
for i = 21 ( True ):-
if i-1 not in values ( True ):-
value = 21
count_of_consecutive_numbers = 0
for i = 21 ( True )
i +=1 , i = 22
count_of_consecutive_numbers = 1
longest_consecutive_series =1
for i = 22 ( False ):-
back to main loop
for i = 23 ( True ):-
if i-1 not in values ( True ):-
value = 23
count_of_consecutive_numbers = 0
for i = 23 ( True )
i +=1 , i = 24
count_of_consecutive_numbers = 1
longest_consecutive_series = 1
for i = 24 (False ):-
back to main loop
'''
|
class Solution(object):
def longest_consecutive(self, values):
lcs = 0
for i in values:
if i - 1 not in values:
value = i
ccn = 0
while i in values:
i += 1
ccn += 1
lcs = max(lcs, ccn)
return lcs
print(' Length of LCS is ', solution().longestConsecutive({13, 15, 19, 16, 21, 17, 18, 23, 1, 4}))
' \n longestConsecutive will be called and it will pass the value.\n longest_consecutive_series value will be assign\n \n loop will be called \n for i = 1 (True ):- \n if i-1 not in values ( True ):-\n value = 1\n count_of_consecutive_numbers = 0 \n for i =1 (True )\n i +=1 , i=2\n count_of_consecutive_numbers = 1\n max will be find between longest_consecutive_series,count_of_consecutive_numbers\n\n for i =2 ( False )\n back to main loop. \n \n for i = 4 ( True ) :- \n if i-1 not in values ( True ):-\n value = 4\n count_of_consecutive_numbers = 0 \n for i = 4 (True )\n i +=1 , i = 5\n count_of_consecutive_numbers = 1\n longest_consecutive_series =1\n\n \n for i = 5 ( False )\n back to main loop\n \nfor i = 5 (False ) :- The value of i will be iterate\n\nfor i = 13 (True ) :- \n if i-1 not in values ( True ):-\n value = 13 \n count_of_consecutive_numbers = 0 \n for i = 13 ( True )\n i +=1 , i = 13\n count_of_consecutive_numbers = 1\n longest_consecutive_series =\n\n\n for i = 14 (False)\n back to main loop\n \n for i = 14 (False ):- \n if i-1 not in values ( False ) \n \n for i = 15 (True ):- \n if i-1 not in values ( True ):-\n value = 15\n count_of_consecutive_numbers = 0 \n for i = 15 ( True )\n i +=1 , i = 16\n count_of_consecutive_numbers = 1\n longest_consecutive_series =1\n\n\n for i = 16 ( True )\n i +=1 , i = 17\n count_of_consecutive_numbers = 2\n longest_consecutive_series =2\n\n \n for i = 17 ( True )\n i +=1 , i = 18\n count_of_consecutive_numbers = 3\n longest_consecutive_series =3\n \n\n for i = 18 ( True )\n i +=1 , i = 19\n count_of_consecutive_numbers = 4\n longest_consecutive_series =4\n \n\n for i = 19 ( True )\n i +=1 , i = 20\n count_of_consecutive_numbers = 5\n longest_consecutive_series =5\n\n for i = 20 ( False )\n back to main loop\n\nfor i = 16 ( True ):- \n if i-1 not in values ( False ):-\n back to main loop\n\n\nfor i = 17 ( True ):-\n if i-1 not in values ( False ):-\n back to main loop\n \nfor i = 18 ( True ):-\n if i-1 not in values ( False ):-\n back to main loo\n\nfor i = 19 ( True ):-\n if i-1 not in values ( False ):-\n back to main loo\n\n\nfor i = 21 ( True ):- \n if i-1 not in values ( True ):-\n value = 21\n count_of_consecutive_numbers = 0 \n for i = 21 ( True )\n i +=1 , i = 22\n count_of_consecutive_numbers = 1\n longest_consecutive_series =1\n\n \n for i = 22 ( False ):-\n back to main loop\n\nfor i = 23 ( True ):-\n if i-1 not in values ( True ):-\n value = 23\n count_of_consecutive_numbers = 0 \n for i = 23 ( True )\n i +=1 , i = 24\n count_of_consecutive_numbers = 1\n longest_consecutive_series = 1\n\n for i = 24 (False ):-\n back to main loop\n'
|
"""
This module contains some constants and utilities for converting between
stars and levels.
The EXP system works as follows:
- To advance to the next level, you need to acquare 8 banners.
- Banners can be bought with stars. A banner costs a single star at level one,
with the cost of a banner increasing by a single star for every three levels
after the fifth level.
The rules are implemented here mostly for reference since the EXP system is
rather freeform and does not have a lot of rules. These conversion functions
are also separately implemented in the front end to allow for easy display of
and modifications to a character's progress.
"""
# The number of banners needed to achieve a single level.
BANNERS_PER_LEVEL = 8
# The number stars needed to purchase a banner for a character of a certain
# level. These values are hardcoded here for convenience since there are only a
# few of them and it makes calculations a lot simpler and clearer.
#
# The TypeScript version includes some more levels after level 20, but those are
# purely for comestic purposes.
STARS_PER_BANNER = {
1: 1,
2: 1,
3: 1,
4: 1,
5: 2,
6: 2,
7: 2,
8: 3,
9: 3,
10: 3,
11: 4,
12: 4,
13: 4,
14: 5,
15: 5,
16: 5,
17: 6,
18: 6,
19: 6,
20: 6,
}
# We can use the above values to calculate how many stars we need to reach a
# certain level
STARS_FOR_LEVEL = {1: 0}
for level, banner_cost in STARS_PER_BANNER.items():
# There's no progression after level 20, only awesomeness
if level >= 20:
continue
last_level_requirement = STARS_FOR_LEVEL[level]
STARS_FOR_LEVEL[level + 1] = (
last_level_requirement + banner_cost * BANNERS_PER_LEVEL
)
LEVELS = list(sorted(STARS_FOR_LEVEL.keys()))
def stars_to_level(character_stars):
"""
Convert between stars and level progression.
Parameters
----------
character_stars : int
The number of stars a character has.
Returns
-------
level : int
The character's current level.
banners : int
The number of banners towards the next level the character currently
possesses.
stars : int
The number of stars towards the next banner the character currently
possesses.
"""
# We can determine a character's level from the leveling table above and
# calculate the rest from there
level, level_cost = next(
(
(level, STARS_FOR_LEVEL[level])
for level in reversed(LEVELS)
if character_stars >= STARS_FOR_LEVEL[level]
),
(0, STARS_FOR_LEVEL[2]),
)
banner_cost = STARS_PER_BANNER[level]
banners = (character_stars - level_cost) // banner_cost
remaining_stars = character_stars - level_cost - (banners * banner_cost)
return level, banners, remaining_stars
def level_to_stars(level):
"""
Calculate how many stars are needed to reach a certain level.
This is useful when adding new characters.
Parameters
----------
level : int
The character's level.
Returns
-------
int
The number of stars needed to reach this level.
"""
return STARS_FOR_LEVEL.get(level, 0)
|
"""
This module contains some constants and utilities for converting between
stars and levels.
The EXP system works as follows:
- To advance to the next level, you need to acquare 8 banners.
- Banners can be bought with stars. A banner costs a single star at level one,
with the cost of a banner increasing by a single star for every three levels
after the fifth level.
The rules are implemented here mostly for reference since the EXP system is
rather freeform and does not have a lot of rules. These conversion functions
are also separately implemented in the front end to allow for easy display of
and modifications to a character's progress.
"""
banners_per_level = 8
stars_per_banner = {1: 1, 2: 1, 3: 1, 4: 1, 5: 2, 6: 2, 7: 2, 8: 3, 9: 3, 10: 3, 11: 4, 12: 4, 13: 4, 14: 5, 15: 5, 16: 5, 17: 6, 18: 6, 19: 6, 20: 6}
stars_for_level = {1: 0}
for (level, banner_cost) in STARS_PER_BANNER.items():
if level >= 20:
continue
last_level_requirement = STARS_FOR_LEVEL[level]
STARS_FOR_LEVEL[level + 1] = last_level_requirement + banner_cost * BANNERS_PER_LEVEL
levels = list(sorted(STARS_FOR_LEVEL.keys()))
def stars_to_level(character_stars):
"""
Convert between stars and level progression.
Parameters
----------
character_stars : int
The number of stars a character has.
Returns
-------
level : int
The character's current level.
banners : int
The number of banners towards the next level the character currently
possesses.
stars : int
The number of stars towards the next banner the character currently
possesses.
"""
(level, level_cost) = next(((level, STARS_FOR_LEVEL[level]) for level in reversed(LEVELS) if character_stars >= STARS_FOR_LEVEL[level]), (0, STARS_FOR_LEVEL[2]))
banner_cost = STARS_PER_BANNER[level]
banners = (character_stars - level_cost) // banner_cost
remaining_stars = character_stars - level_cost - banners * banner_cost
return (level, banners, remaining_stars)
def level_to_stars(level):
"""
Calculate how many stars are needed to reach a certain level.
This is useful when adding new characters.
Parameters
----------
level : int
The character's level.
Returns
-------
int
The number of stars needed to reach this level.
"""
return STARS_FOR_LEVEL.get(level, 0)
|
# Uses python3
def lcm_naive(a, b):
for l in range(1, a*b + 1):
if l % a == 0 and l % b == 0:
return l
return a*b
def gcd(a, b):
while b:
a, b = b, a % b
return a
def lcm(a, b):
d = gcd(a, b)
return (a // d) * b
if __name__ == '__main__':
a, b = map(int, input().split())
print(lcm(a, b))
|
def lcm_naive(a, b):
for l in range(1, a * b + 1):
if l % a == 0 and l % b == 0:
return l
return a * b
def gcd(a, b):
while b:
(a, b) = (b, a % b)
return a
def lcm(a, b):
d = gcd(a, b)
return a // d * b
if __name__ == '__main__':
(a, b) = map(int, input().split())
print(lcm(a, b))
|
"""
app.py
the main file for launching the web dashboard.
By: Calacuda | MIT Licence | Epoch: Mar 25, 2021
"""
|
"""
app.py
the main file for launching the web dashboard.
By: Calacuda | MIT Licence | Epoch: Mar 25, 2021
"""
|
# french verb conjugation (present)
# greet the user
print('welcome to the french verb conjugator')
# user enter their word
word = str(input('please enter the word you want to conjugate: ')).lower()
# list of conjugated words
word_conjugate = []
# function (and conditional) to check word ending
def conjugate():
# create the conjugated word
if word.endswith('oir'):
word_oir = ['je ' + word.replace('oir', 'ois', 1),
'tu ' + word.replace('oir', 'ois', 1),
'il ' + word.replace('oir', 'oit', 1),
'nous ' + word.replace('oir', 'ons', 1),
'vous ' + word.replace('oir', 'ez', 1),
'ils ' + word.replace('oir', 'ent', 1)]
# append results to the list
word_conjugate.extend(word_oir)
elif word.endswith('dre'):
word_dre = ['je ' + word.replace('dre', 'ds', 1),
'tu ' + word.replace('dre', 'ds', 1),
'il ' + word.replace('dre', 'd', 1),
'nous ' + word.replace('dre', 'dons', 1),
'vous ' + word.replace('dre', 'dez', 1),
'ils ' + word.replace('dre', 'dent', 1)]
word_conjugate.extend(word_dre)
elif word.endswith('ir'):
word_ir = ['je ' + word.replace('ir', 'is', 1),
'tu ' + word.replace('ir', 'is', 1),
'il '+ word.replace('ir', 'it', 1),
'nous ' + word.replace('ir', 'issons', 1),
'vous ' + word.replace('ir', 'issez', 1),
'ils ' + word.replace('ir', 'issent', 1)]
word_conjugate.extend(word_ir)
elif word.endswith('er'):
word_er = ['je ' + word.replace('er', 'e', 1),
'tu ' + word.replace('er', 'es', 1),
'il ' + word.replace('er', 'e', 1),
'nous ' + word.replace('er', 'ons', 1),
'vous ' + word.replace('er', 'ez', 1),
'ils ' + word.replace('er', 'ent', 1)]
word_conjugate.extend(word_er)
else:
print('i can not handle exceptions yet.')
# format the list of conjugated words
def conjugate_format():
print(*word_conjugate, sep = '\n')
# call the functions
conjugate()
conjugate_format()
|
print('welcome to the french verb conjugator')
word = str(input('please enter the word you want to conjugate: ')).lower()
word_conjugate = []
def conjugate():
if word.endswith('oir'):
word_oir = ['je ' + word.replace('oir', 'ois', 1), 'tu ' + word.replace('oir', 'ois', 1), 'il ' + word.replace('oir', 'oit', 1), 'nous ' + word.replace('oir', 'ons', 1), 'vous ' + word.replace('oir', 'ez', 1), 'ils ' + word.replace('oir', 'ent', 1)]
word_conjugate.extend(word_oir)
elif word.endswith('dre'):
word_dre = ['je ' + word.replace('dre', 'ds', 1), 'tu ' + word.replace('dre', 'ds', 1), 'il ' + word.replace('dre', 'd', 1), 'nous ' + word.replace('dre', 'dons', 1), 'vous ' + word.replace('dre', 'dez', 1), 'ils ' + word.replace('dre', 'dent', 1)]
word_conjugate.extend(word_dre)
elif word.endswith('ir'):
word_ir = ['je ' + word.replace('ir', 'is', 1), 'tu ' + word.replace('ir', 'is', 1), 'il ' + word.replace('ir', 'it', 1), 'nous ' + word.replace('ir', 'issons', 1), 'vous ' + word.replace('ir', 'issez', 1), 'ils ' + word.replace('ir', 'issent', 1)]
word_conjugate.extend(word_ir)
elif word.endswith('er'):
word_er = ['je ' + word.replace('er', 'e', 1), 'tu ' + word.replace('er', 'es', 1), 'il ' + word.replace('er', 'e', 1), 'nous ' + word.replace('er', 'ons', 1), 'vous ' + word.replace('er', 'ez', 1), 'ils ' + word.replace('er', 'ent', 1)]
word_conjugate.extend(word_er)
else:
print('i can not handle exceptions yet.')
def conjugate_format():
print(*word_conjugate, sep='\n')
conjugate()
conjugate_format()
|
class payload:
def __init__(self):
self.name = "next"
self.description = "tell iTunes to play next track"
self.type = "applescript"
self.id = 121
def run(self,session,server,command):
payload = "tell application \"iTunes\" to next track"
server.sendCommand(self.name,payload,self.type,session.conn)
return ""
|
class Payload:
def __init__(self):
self.name = 'next'
self.description = 'tell iTunes to play next track'
self.type = 'applescript'
self.id = 121
def run(self, session, server, command):
payload = 'tell application "iTunes" to next track'
server.sendCommand(self.name, payload, self.type, session.conn)
return ''
|
def draw_polygons(self, pipes, gaps):
BLACK = (0, 0, 0)
danger = []
# upper left of pipe[0]
a = (0, 0)
b = (pipes['upper'][0]['x'], 0)
c = (pipes['upper'][0]['x'], gaps[0]['y'])
d = (0, gaps[0]['y'])
danger.append([a, b, c, d])
# lower left of pipe[0]
a = (0, pipes['lower'][0]['y'])
b = (pipes['lower'][0]['x'], pipes['lower'][0]['y'])
c = (pipes['lower'][0]['x'], BASE_Y)
d = (0, BASE_Y)
danger.append([a, b, c, d])
#between upper pipe[0] and pipe[1]
a = (pipes['upper'][0]['x'] + PIPE_W, 0)
b = (pipes['upper'][1]['x'], 0)
c = (pipes['upper'][1]['x'], gaps[1]['y'])
d = (pipes['upper'][0]['x'] + PIPE_W, gaps[0]['y'])
danger.append([a, b, c, d])
a = (pipes['lower'][0]['x'] + PIPE_W, pipes['lower'][0]['y'])
b = (pipes['lower'][1]['x'], pipes['lower'][1]['y'])
c = (pipes['lower'][1]['x'], BASE_Y)
d = (pipes['lower'][0]['x'] + PIPE_W, BASE_Y)
danger.append([a, b, c, d])
a = (pipes['upper'][1]['x'] + PIPE_W, 0)
b = (SCREEN_W, 0)
c = (SCREEN_W, gaps[1]['y'])
d = (pipes['upper'][1]['x'] + PIPE_W, gaps[1]['y'])
danger.append([a, b, c, d])
a = (pipes['lower'][1]['x'] + PIPE_W, pipes['lower'][1]['y'])
b = (SCREEN_W, pipes['lower'][1]['y'])
c = (SCREEN_W, BASE_Y)
d = (pipes['lower'][1]['x'] + PIPE_W, BASE_Y)
danger.append([a, b, c, d])
danger_zone = []
masks = []
for z in danger:
poly = [z[0], z[1], z[2], z[3]]
danger_zone.append(pygame.draw.polygon(SCREEN, BLACK, poly))
masks.append(fl.getHitmask(poly))
return danger_zone, masks
|
def draw_polygons(self, pipes, gaps):
black = (0, 0, 0)
danger = []
a = (0, 0)
b = (pipes['upper'][0]['x'], 0)
c = (pipes['upper'][0]['x'], gaps[0]['y'])
d = (0, gaps[0]['y'])
danger.append([a, b, c, d])
a = (0, pipes['lower'][0]['y'])
b = (pipes['lower'][0]['x'], pipes['lower'][0]['y'])
c = (pipes['lower'][0]['x'], BASE_Y)
d = (0, BASE_Y)
danger.append([a, b, c, d])
a = (pipes['upper'][0]['x'] + PIPE_W, 0)
b = (pipes['upper'][1]['x'], 0)
c = (pipes['upper'][1]['x'], gaps[1]['y'])
d = (pipes['upper'][0]['x'] + PIPE_W, gaps[0]['y'])
danger.append([a, b, c, d])
a = (pipes['lower'][0]['x'] + PIPE_W, pipes['lower'][0]['y'])
b = (pipes['lower'][1]['x'], pipes['lower'][1]['y'])
c = (pipes['lower'][1]['x'], BASE_Y)
d = (pipes['lower'][0]['x'] + PIPE_W, BASE_Y)
danger.append([a, b, c, d])
a = (pipes['upper'][1]['x'] + PIPE_W, 0)
b = (SCREEN_W, 0)
c = (SCREEN_W, gaps[1]['y'])
d = (pipes['upper'][1]['x'] + PIPE_W, gaps[1]['y'])
danger.append([a, b, c, d])
a = (pipes['lower'][1]['x'] + PIPE_W, pipes['lower'][1]['y'])
b = (SCREEN_W, pipes['lower'][1]['y'])
c = (SCREEN_W, BASE_Y)
d = (pipes['lower'][1]['x'] + PIPE_W, BASE_Y)
danger.append([a, b, c, d])
danger_zone = []
masks = []
for z in danger:
poly = [z[0], z[1], z[2], z[3]]
danger_zone.append(pygame.draw.polygon(SCREEN, BLACK, poly))
masks.append(fl.getHitmask(poly))
return (danger_zone, masks)
|
#!/usr/bin/env python
# -*- coding: utf-8 -*-
try:
f = open('myfile.txt')
s = f.readline()
i = int(s.strip())
except OSError as err:
print("OS error: ", err)
except ValueError:
print("Could not convert data to integer.")
raise
except:
print("Unexpected error!")
raise
|
try:
f = open('myfile.txt')
s = f.readline()
i = int(s.strip())
except OSError as err:
print('OS error: ', err)
except ValueError:
print('Could not convert data to integer.')
raise
except:
print('Unexpected error!')
raise
|
"""
########################################################################
The parameters.py module contains the Parameters class, which provides
I/O tools for defining input parameters, as required for FAO-56
calculations.
The parameters.py module contains the following:
Parameters - A class for managing input parameters for FAO-56
calculations
01/07/2016 Initial Python functions developed by Kelly Thorp
11/04/2021 Finalized updates for inclusion in the pyfao56 Python package
########################################################################
"""
class Parameters:
"""A class for managing input parameters for FAO-56 calculations
Attributes
----------
Kcbini : float
Kcb Initial (FAO-56 Table 17)
Kcbmid : float
Kcb Mid (FAO-56 Table 17)
Kcbend : float
Kcb End (FAO-56 Table 17)
Lini : int
Length Stage Initial (days) (FAO-56 Table 11)
Ldev : int
Length Stage Development (days) (FAO-56 Table 11)
Lmid : int
Length Stage Mid (days) (FAO-56 Table 11)
Lend : int
Length Stage End (days) (FAO-56 Table 11)
hini : float
Plant Height Initial (m)
hmax : float
Plant Height Maximum (m) (FAO-56 Table 12)
thetaFC : float
Volumetric Soil Water Content, Field Capacity (cm3/cm3)
thetaWP : float
Volumetric Soil Water Content, Wilting Point (cm3/cm3)
theta0 : float
Volumetric Soil Water Content, Initial (cm3/cm3)
Zrini : float
Rooting Depth Initial (m)
Zrmax : float
Rooting Depth Maximum (m) (FAO-56 Table 22)
pbase : float
Depletion Fraction (p) (FAO-56 Table 22)
Ze : float
Depth of surface evaporation layer (m) (FAO-56 Table 19 & p144)
REW : float
Total depth Stage 1 evaporation (mm) (FAO-56 Table 19)
Methods
-------
savefile(filepath='pyfao56.par')
Save the parameter data to a file
loadfile(filepath='pyfao56.par')
Load the parameter data from a file
"""
def __init__(self, Kcbini=0.15, Kcbmid=1.10, Kcbend=0.50, Lini=25,
Ldev=50, Lmid=50, Lend=25, hini=0.05, hmax=1.20,
thetaFC=0.250, thetaWP=0.100, theta0=0.100, Zrini=0.20,
Zrmax=1.40, pbase=0.50, Ze=0.10, REW=8.0):
"""Initialize the Parameters class attributes.
Default parameter values are given below. Users should update
the parameters with values for their specific crop and field
conditions based on FAO-56 documentation.
Parameters
----------
See Parameters class docstring for parameter definitions.
Kcbini : float, default = 0.15
Kcbmid : float, default = 1.10
Kcbend : float, default = 0.50
Lini : int , default = 25
Ldev : int , default = 50
Lmid : int , default = 50
Lend : int , default = 25
hini : float, default = 0.05
hmax : float, default = 1.20
thetaFC : float, default = 0.250
thetaWP : float, default = 0.100
theta0 : float, default = 0.100
Zrini : float, default = 0.20
Zrmax : float, default = 1.40
pbase : float, default = 0.50
Ze : float, default = 0.10
REW : float, default = 8.0
"""
self.Kcbini = Kcbini
self.Kcbmid = Kcbmid
self.Kcbend = Kcbend
self.Lini = Lini
self.Ldev = Ldev
self.Lmid = Lmid
self.Lend = Lend
self.hini = hini
self.hmax = hmax
self.thetaFC = thetaFC
self.thetaWP = thetaWP
self.theta0 = theta0
self.Zrini = Zrini
self.Zrmax = Zrmax
self.pbase = pbase
self.Ze = Ze
self.REW = REW
def __str__(self):
"""Represent the Parameter class variables as a string."""
ast='*'*72
s=('{:s}\n'
'pyfao56: FAO-56 in Python\n'
'Parameter Data\n'
'{:s}\n'
'{:9.4f} Kcbini, Kcb Initial (FAO-56 Table 17)\n'
'{:9.4f} Kcbmid, Kcb Mid (FAO-56 Table 17)\n'
'{:9.4f} Kcbend, Kcb End (FAO-56 Table 17)\n'
'{:9d} Lini, Length Stage Initial (days) (FAO-56 Table 11)\n'
'{:9d} Ldev, Length Stage Development (days) '
'(FAO-56 Table 11)\n'
'{:9d} Lmid, Length Stage Mid (days) (FAO-56 Table 11)\n'
'{:9d} Lend, Length Stage End (days) (FAO-56 Table 11)\n'
'{:9.4f} hini, Plant Height Initial (m)\n'
'{:9.4f} hmax, Plant Height Maximum (m) (FAO-56 Table 12)\n'
'{:9.4f} thetaFC, Vol. Soil Water Content, Field Capacity '
'(cm3/cm3)\n'
'{:9.4f} thetaWP, Vol. Soil Water Content, Wilting Point '
'(cm3/cm3)\n'
'{:9.4f} theta0, Vol. Soil Water Content, Initial '
'(cm3/cm3)\n'
'{:9.4f} Zrini, Rooting Depth Initial (m)\n'
'{:9.4f} Zrmax, Rooting Depth Maximum (m) '
'(FAO-56 Table 22)\n'
'{:9.4f} pbase, Depletion Fraction (p) (FAO-56 Table 22)\n'
'{:9.4f} Ze, Depth of surface evaporation layer (m) '
'(FAO-56 Table 19 and Page 144)\n'
'{:9.4f} REW, Total depth Stage 1 evaporation (mm) '
'(FAO-56 Table 19)\n'
).format(ast,ast,self.Kcbini,self.Kcbmid,self.Kcbend,
self.Lini,self.Ldev,self.Lmid,self.Lend,self.hini,
self.hmax,self.thetaFC,self.thetaWP,self.theta0,
self.Zrini,self.Zrmax,self.pbase,self.Ze,self.REW)
return s
def savefile(self,filepath='pyfao56.par'):
"""Save pyfao56 parameters to a file.
Parameters
----------
filepath : str, optional
Any valid filepath string (default = 'pyfao56.par')
Raises
------
FileNotFoundError
If filepath is not found.
"""
try:
f = open(filepath, 'w')
except FileNotFoundError:
print("The filepath for parameter data is not found.")
else:
f.write(self.__str__())
f.close()
def loadfile(self, filepath='pyfao56.par'):
"""Load pyfao56 parameters from a file.
Parameters
----------
filepath : str, optional
Any valid filepath string (default = 'pyfao56.par')
Raises
------
FileNotFoundError
If filepath is not found.
"""
try:
f = open(filepath, 'r')
except FileNotFoundError:
print("The filepath for parameter data is not found.")
else:
lines = f.readlines()
f.close()
self.Kcbini = float(lines[ 4][:9])
self.Kcbmid = float(lines[ 5][:9])
self.Kcbend = float(lines[ 6][:9])
self.Lini = int(lines[ 7][:9])
self.Ldev = int(lines[ 8][:9])
self.Lmid = int(lines[ 9][:9])
self.Lend = int(lines[10][:9])
self.hini = float(lines[11][:9])
self.hmax = float(lines[12][:9])
self.thetaFC = float(lines[13][:9])
self.thetaWP = float(lines[14][:9])
self.theta0 = float(lines[15][:9])
self.Zrini = float(lines[16][:9])
self.Zrmax = float(lines[17][:9])
self.pbase = float(lines[18][:9])
self.Ze = float(lines[19][:9])
self.REW = float(lines[20][:9])
|
"""
########################################################################
The parameters.py module contains the Parameters class, which provides
I/O tools for defining input parameters, as required for FAO-56
calculations.
The parameters.py module contains the following:
Parameters - A class for managing input parameters for FAO-56
calculations
01/07/2016 Initial Python functions developed by Kelly Thorp
11/04/2021 Finalized updates for inclusion in the pyfao56 Python package
########################################################################
"""
class Parameters:
"""A class for managing input parameters for FAO-56 calculations
Attributes
----------
Kcbini : float
Kcb Initial (FAO-56 Table 17)
Kcbmid : float
Kcb Mid (FAO-56 Table 17)
Kcbend : float
Kcb End (FAO-56 Table 17)
Lini : int
Length Stage Initial (days) (FAO-56 Table 11)
Ldev : int
Length Stage Development (days) (FAO-56 Table 11)
Lmid : int
Length Stage Mid (days) (FAO-56 Table 11)
Lend : int
Length Stage End (days) (FAO-56 Table 11)
hini : float
Plant Height Initial (m)
hmax : float
Plant Height Maximum (m) (FAO-56 Table 12)
thetaFC : float
Volumetric Soil Water Content, Field Capacity (cm3/cm3)
thetaWP : float
Volumetric Soil Water Content, Wilting Point (cm3/cm3)
theta0 : float
Volumetric Soil Water Content, Initial (cm3/cm3)
Zrini : float
Rooting Depth Initial (m)
Zrmax : float
Rooting Depth Maximum (m) (FAO-56 Table 22)
pbase : float
Depletion Fraction (p) (FAO-56 Table 22)
Ze : float
Depth of surface evaporation layer (m) (FAO-56 Table 19 & p144)
REW : float
Total depth Stage 1 evaporation (mm) (FAO-56 Table 19)
Methods
-------
savefile(filepath='pyfao56.par')
Save the parameter data to a file
loadfile(filepath='pyfao56.par')
Load the parameter data from a file
"""
def __init__(self, Kcbini=0.15, Kcbmid=1.1, Kcbend=0.5, Lini=25, Ldev=50, Lmid=50, Lend=25, hini=0.05, hmax=1.2, thetaFC=0.25, thetaWP=0.1, theta0=0.1, Zrini=0.2, Zrmax=1.4, pbase=0.5, Ze=0.1, REW=8.0):
"""Initialize the Parameters class attributes.
Default parameter values are given below. Users should update
the parameters with values for their specific crop and field
conditions based on FAO-56 documentation.
Parameters
----------
See Parameters class docstring for parameter definitions.
Kcbini : float, default = 0.15
Kcbmid : float, default = 1.10
Kcbend : float, default = 0.50
Lini : int , default = 25
Ldev : int , default = 50
Lmid : int , default = 50
Lend : int , default = 25
hini : float, default = 0.05
hmax : float, default = 1.20
thetaFC : float, default = 0.250
thetaWP : float, default = 0.100
theta0 : float, default = 0.100
Zrini : float, default = 0.20
Zrmax : float, default = 1.40
pbase : float, default = 0.50
Ze : float, default = 0.10
REW : float, default = 8.0
"""
self.Kcbini = Kcbini
self.Kcbmid = Kcbmid
self.Kcbend = Kcbend
self.Lini = Lini
self.Ldev = Ldev
self.Lmid = Lmid
self.Lend = Lend
self.hini = hini
self.hmax = hmax
self.thetaFC = thetaFC
self.thetaWP = thetaWP
self.theta0 = theta0
self.Zrini = Zrini
self.Zrmax = Zrmax
self.pbase = pbase
self.Ze = Ze
self.REW = REW
def __str__(self):
"""Represent the Parameter class variables as a string."""
ast = '*' * 72
s = '{:s}\npyfao56: FAO-56 in Python\nParameter Data\n{:s}\n{:9.4f} Kcbini, Kcb Initial (FAO-56 Table 17)\n{:9.4f} Kcbmid, Kcb Mid (FAO-56 Table 17)\n{:9.4f} Kcbend, Kcb End (FAO-56 Table 17)\n{:9d} Lini, Length Stage Initial (days) (FAO-56 Table 11)\n{:9d} Ldev, Length Stage Development (days) (FAO-56 Table 11)\n{:9d} Lmid, Length Stage Mid (days) (FAO-56 Table 11)\n{:9d} Lend, Length Stage End (days) (FAO-56 Table 11)\n{:9.4f} hini, Plant Height Initial (m)\n{:9.4f} hmax, Plant Height Maximum (m) (FAO-56 Table 12)\n{:9.4f} thetaFC, Vol. Soil Water Content, Field Capacity (cm3/cm3)\n{:9.4f} thetaWP, Vol. Soil Water Content, Wilting Point (cm3/cm3)\n{:9.4f} theta0, Vol. Soil Water Content, Initial (cm3/cm3)\n{:9.4f} Zrini, Rooting Depth Initial (m)\n{:9.4f} Zrmax, Rooting Depth Maximum (m) (FAO-56 Table 22)\n{:9.4f} pbase, Depletion Fraction (p) (FAO-56 Table 22)\n{:9.4f} Ze, Depth of surface evaporation layer (m) (FAO-56 Table 19 and Page 144)\n{:9.4f} REW, Total depth Stage 1 evaporation (mm) (FAO-56 Table 19)\n'.format(ast, ast, self.Kcbini, self.Kcbmid, self.Kcbend, self.Lini, self.Ldev, self.Lmid, self.Lend, self.hini, self.hmax, self.thetaFC, self.thetaWP, self.theta0, self.Zrini, self.Zrmax, self.pbase, self.Ze, self.REW)
return s
def savefile(self, filepath='pyfao56.par'):
"""Save pyfao56 parameters to a file.
Parameters
----------
filepath : str, optional
Any valid filepath string (default = 'pyfao56.par')
Raises
------
FileNotFoundError
If filepath is not found.
"""
try:
f = open(filepath, 'w')
except FileNotFoundError:
print('The filepath for parameter data is not found.')
else:
f.write(self.__str__())
f.close()
def loadfile(self, filepath='pyfao56.par'):
"""Load pyfao56 parameters from a file.
Parameters
----------
filepath : str, optional
Any valid filepath string (default = 'pyfao56.par')
Raises
------
FileNotFoundError
If filepath is not found.
"""
try:
f = open(filepath, 'r')
except FileNotFoundError:
print('The filepath for parameter data is not found.')
else:
lines = f.readlines()
f.close()
self.Kcbini = float(lines[4][:9])
self.Kcbmid = float(lines[5][:9])
self.Kcbend = float(lines[6][:9])
self.Lini = int(lines[7][:9])
self.Ldev = int(lines[8][:9])
self.Lmid = int(lines[9][:9])
self.Lend = int(lines[10][:9])
self.hini = float(lines[11][:9])
self.hmax = float(lines[12][:9])
self.thetaFC = float(lines[13][:9])
self.thetaWP = float(lines[14][:9])
self.theta0 = float(lines[15][:9])
self.Zrini = float(lines[16][:9])
self.Zrmax = float(lines[17][:9])
self.pbase = float(lines[18][:9])
self.Ze = float(lines[19][:9])
self.REW = float(lines[20][:9])
|
"""
Iterator in Python is simply an object that can be iterated upon.
An object which will return data, one element at a time.
Technically, Python 'iterator object' must implement two special methods, __iter__(), and __next__(),
collectively called the iterator protocol.
Most of built-in containers in python like list, tuple, string etc. are iterables.
The advantage of using iterators is that they save resources.
For example we could get all the odd numbers without storing the entire number system in memory
Concept/Code: Hem Raj Regmi ([email protected])
github repository: https://github.com/sangamsyabil/hemAutomation
Happy coding !!!
"""
print('#' * 50)
# define a list
my_list = [4, 3, 5, 4]
# get an iterator using iter()
my_iter = iter(my_list)
print(type(my_iter)) # <class 'list_iterator'>
# iterate through it using next()
print(next(my_iter)) # 4
# next(job) is same as obj.__next__()
print(my_iter.__next__()) # 3
print('#' * 50)
# An example that will give us next power of 2 in each iteration. Power exponent starts from zero upto a user set num.
class PowOfTwo:
"""
Class to implement an iterator of power of two
"""
def __init__(self, max=0):
self.max = max
def __iter__(self):
self.n = 0
return self
def __next__(self):
if self.n <= self.max:
result = 2 ** self.n
self.n += 1
return result
else:
raise StopIteration
# We can create an iterator and iterate through it
a = PowOfTwo(4)
i = iter(a)
print(next(i)) # 1
print(next(i)) # 2
print(next(i)) # 4
print('\n')
# We also can use a for lop to iterate over our iterator class
for i in PowOfTwo(4):
print(i)
|
"""
Iterator in Python is simply an object that can be iterated upon.
An object which will return data, one element at a time.
Technically, Python 'iterator object' must implement two special methods, __iter__(), and __next__(),
collectively called the iterator protocol.
Most of built-in containers in python like list, tuple, string etc. are iterables.
The advantage of using iterators is that they save resources.
For example we could get all the odd numbers without storing the entire number system in memory
Concept/Code: Hem Raj Regmi ([email protected])
github repository: https://github.com/sangamsyabil/hemAutomation
Happy coding !!!
"""
print('#' * 50)
my_list = [4, 3, 5, 4]
my_iter = iter(my_list)
print(type(my_iter))
print(next(my_iter))
print(my_iter.__next__())
print('#' * 50)
class Powoftwo:
"""
Class to implement an iterator of power of two
"""
def __init__(self, max=0):
self.max = max
def __iter__(self):
self.n = 0
return self
def __next__(self):
if self.n <= self.max:
result = 2 ** self.n
self.n += 1
return result
else:
raise StopIteration
a = pow_of_two(4)
i = iter(a)
print(next(i))
print(next(i))
print(next(i))
print('\n')
for i in pow_of_two(4):
print(i)
|
test = { 'name': 'q1.1',
'points': 1,
'suites': [ { 'cases': [ { 'code': '>>> assert abs(P[0] - 0.003819) < .1*0.003819;\n'
'>>> assert abs(P[1] - 0.016803) < .1*0.016803;\n'
'>>> assert abs(P[2] - 0.180881) < .1*0.180881;\n'
'>>> assert abs(P[3] - 0.631248) < .1*0.631248\n',
'hidden': False,
'locked': False}],
'scored': True,
'setup': '',
'teardown': '',
'type': 'doctest'}]}
|
test = {'name': 'q1.1', 'points': 1, 'suites': [{'cases': [{'code': '>>> assert abs(P[0] - 0.003819) < .1*0.003819;\n>>> assert abs(P[1] - 0.016803) < .1*0.016803;\n>>> assert abs(P[2] - 0.180881) < .1*0.180881;\n>>> assert abs(P[3] - 0.631248) < .1*0.631248\n', 'hidden': False, 'locked': False}], 'scored': True, 'setup': '', 'teardown': '', 'type': 'doctest'}]}
|
"""
This module contains a class for sharing information on the state of the ACC,
rover, and obstacle between the main process for the ACC and the listener
process. It allows for this information to be relayed to the user.
"""
UNKNOWN = "-" # An initial value given to all of the values, so that the user interface has something to show that the
# given value is currently unknown
class SystemInfo(object):
def __init__(self):
self.currentSpeed = UNKNOWN
self.obstacleDistance = UNKNOWN
self.obstacleRelSpeed = UNKNOWN
self.ticksLeft = UNKNOWN
self.ticksRight = UNKNOWN
self.safetyRange = UNKNOWN
self.startupVoltage = UNKNOWN
self.userSetSpeed = UNKNOWN
self.safeDistance = UNKNOWN
self.criticalDistance = UNKNOWN
self.alertDistance = UNKNOWN
self.power = True
def getPower(self):
return self.power
def getUserSetSpeed(self):
return self.userSetSpeed
def getCurrentSpeed(self):
return self.currentSpeed
def getSafeDistance(self):
return self.safeDistance
def getCriticalDistance(self):
return self.criticalDistance
def getAlertDistance(self):
return self.alertDistance
def getObstacleDistance(self):
return self.obstacleDistance
def getObstacleRelSpeed(self):
return self.obstacleRelSpeed
def getTicksLeft(self):
return self.ticksLeft
def getTicksRight(self):
return self.ticksRight
def getSafetyRange(self):
return self.safetyRange
def getStartupVoltage(self):
return self.startupVoltage
def setPower(self, power):
self.power = power
def setUserSetSpeed(self, speed):
self.userSetSpeed = speed
def setCurrentSpeed(self, speed):
self.currentSpeed = int(speed)
def setSafeDistance(self, distance):
self.safeDistance = distance
def setCriticalDistance(self, distance):
self.criticalDistance = distance
def setAlertDistance(self, distance):
self.alertDistance = distance
def setObstacleDistance(self, distance):
self.obstacleDistance = distance
def setObstacleRelSpeed(self, speed):
self.obstacleRelSpeed = speed
def setTicksLeft(self, ticks):
self.ticksLeft = ticks
def setTicksRight(self, ticks):
self.ticksRight = ticks
def setSafetyRange(self, s_range):
self.safetyRange = s_range
def setStartupVoltage(self, volt):
self.startupVoltage = volt
|
"""
This module contains a class for sharing information on the state of the ACC,
rover, and obstacle between the main process for the ACC and the listener
process. It allows for this information to be relayed to the user.
"""
unknown = '-'
class Systeminfo(object):
def __init__(self):
self.currentSpeed = UNKNOWN
self.obstacleDistance = UNKNOWN
self.obstacleRelSpeed = UNKNOWN
self.ticksLeft = UNKNOWN
self.ticksRight = UNKNOWN
self.safetyRange = UNKNOWN
self.startupVoltage = UNKNOWN
self.userSetSpeed = UNKNOWN
self.safeDistance = UNKNOWN
self.criticalDistance = UNKNOWN
self.alertDistance = UNKNOWN
self.power = True
def get_power(self):
return self.power
def get_user_set_speed(self):
return self.userSetSpeed
def get_current_speed(self):
return self.currentSpeed
def get_safe_distance(self):
return self.safeDistance
def get_critical_distance(self):
return self.criticalDistance
def get_alert_distance(self):
return self.alertDistance
def get_obstacle_distance(self):
return self.obstacleDistance
def get_obstacle_rel_speed(self):
return self.obstacleRelSpeed
def get_ticks_left(self):
return self.ticksLeft
def get_ticks_right(self):
return self.ticksRight
def get_safety_range(self):
return self.safetyRange
def get_startup_voltage(self):
return self.startupVoltage
def set_power(self, power):
self.power = power
def set_user_set_speed(self, speed):
self.userSetSpeed = speed
def set_current_speed(self, speed):
self.currentSpeed = int(speed)
def set_safe_distance(self, distance):
self.safeDistance = distance
def set_critical_distance(self, distance):
self.criticalDistance = distance
def set_alert_distance(self, distance):
self.alertDistance = distance
def set_obstacle_distance(self, distance):
self.obstacleDistance = distance
def set_obstacle_rel_speed(self, speed):
self.obstacleRelSpeed = speed
def set_ticks_left(self, ticks):
self.ticksLeft = ticks
def set_ticks_right(self, ticks):
self.ticksRight = ticks
def set_safety_range(self, s_range):
self.safetyRange = s_range
def set_startup_voltage(self, volt):
self.startupVoltage = volt
|
input = """
c num blocks = 1
c num vars = 250
c minblockids[0] = 1
c maxblockids[0] = 250
p cnf 250 1112
-32 148 249 0
169 -98 24 0
-122 -32 -128 0
-9 125 200 0
-216 193 138 0
196 54 31 0
-140 -121 -62 0
237 152 -122 0
91 -206 -247 0
172 -115 -101 0
220 -216 152 0
26 88 -69 0
-130 235 226 0
-96 -242 2 0
-184 -48 -190 0
-150 180 120 0
239 238 27 0
-238 -89 -37 0
49 -25 108 0
-9 82 96 0
87 -25 -161 0
-245 41 169 0
-113 -69 114 0
64 -188 -234 0
35 -56 -179 0
-156 85 162 0
-70 -216 -79 0
-201 37 146 0
197 -165 30 0
-189 -175 -130 0
-182 141 -146 0
215 -55 -44 0
179 -204 225 0
-194 17 203 0
-174 -218 -152 0
209 133 142 0
73 236 147 0
140 21 -10 0
224 152 -56 0
-59 -195 -167 0
12 -83 31 0
-204 191 -115 0
-144 -250 219 0
-150 180 -121 0
113 182 -183 0
-135 -155 -122 0
216 -182 -68 0
161 25 -52 0
-70 132 -133 0
-49 50 167 0
74 53 104 0
189 190 91 0
47 101 202 0
-23 241 216 0
97 -29 142 0
-247 57 34 0
-16 -249 -197 0
238 12 -115 0
-50 -1 -10 0
185 238 -144 0
-146 8 -219 0
-239 116 -108 0
-17 -151 -191 0
67 -154 -44 0
-173 -102 -105 0
-67 -34 -150 0
148 79 139 0
-185 94 -221 0
244 249 -138 0
103 213 130 0
-240 -74 -69 0
63 -184 224 0
-136 63 -88 0
-13 -39 -95 0
95 -153 -169 0
71 -226 236 0
-82 -102 20 0
173 118 -177 0
-200 33 146 0
-88 -22 -111 0
106 130 66 0
-199 212 -223 0
213 116 47 0
155 -167 172 0
42 -158 195 0
5 -185 65 0
66 -127 -92 0
-241 -24 147 0
215 -86 -130 0
-190 -85 225 0
-117 184 198 0
-18 -162 -160 0
26 -48 -220 0
-131 206 -66 0
-67 -114 -74 0
233 216 -38 0
-69 156 39 0
172 -52 -163 0
108 131 -198 0
-176 -239 -91 0
-13 114 -21 0
161 82 -242 0
-85 -47 -22 0
-62 4 218 0
-193 -179 -33 0
-202 156 -133 0
245 170 -220 0
-45 148 -219 0
-135 -117 -153 0
187 -244 -197 0
-45 154 -158 0
69 -239 203 0
44 36 -93 0
249 -49 -74 0
-99 205 177 0
-109 204 -207 0
-123 81 146 0
56 177 -171 0
-209 49 148 0
139 82 -152 0
131 -248 71 0
-94 170 137 0
236 88 -169 0
213 166 20 0
-81 19 77 0
-200 176 -43 0
-62 84 -32 0
-56 108 -93 0
8 -124 240 0
201 -147 -92 0
167 -12 212 0
49 114 -96 0
226 -230 62 0
31 -15 -171 0
168 180 -138 0
-117 -147 -28 0
-1 113 -18 0
-170 -201 -153 0
151 186 -170 0
-105 -239 -104 0
-89 173 171 0
-224 156 -215 0
58 149 27 0
-3 -229 -190 0
168 220 -203 0
6 -110 -166 0
129 -183 15 0
-27 137 208 0
23 86 3 0
-163 -218 -66 0
-161 138 89 0
51 168 193 0
37 54 -235 0
11 -16 86 0
-77 -147 159 0
-217 226 -214 0
34 -202 -215 0
200 198 185 0
-62 88 -21 0
232 122 244 0
103 36 -7 0
101 11 -212 0
72 28 -209 0
122 -56 -238 0
-201 -233 -71 0
85 102 132 0
53 -59 97 0
95 -68 205 0
-19 -121 150 0
-137 -120 -250 0
138 20 178 0
199 -183 142 0
-197 111 161 0
-92 144 -11 0
7 -16 61 0
-201 -249 50 0
-13 219 159 0
-147 -1 -126 0
245 -15 -107 0
-147 243 -176 0
96 -230 85 0
-224 219 136 0
72 -102 12 0
239 204 230 0
30 11 106 0
-135 -20 -118 0
168 -151 -211 0
133 -193 100 0
250 -234 -101 0
-45 -84 -34 0
-124 81 179 0
-238 -22 12 0
25 -66 244 0
-141 -87 199 0
-46 -172 124 0
155 -201 104 0
-213 -94 67 0
10 71 -154 0
30 -6 40 0
236 -13 -2 0
101 61 69 0
72 98 151 0
187 196 -158 0
203 -106 56 0
80 -157 -218 0
-26 -192 -24 0
-155 131 -195 0
-56 -14 -4 0
186 249 -133 0
139 243 183 0
-152 215 -80 0
-121 177 -166 0
167 42 -147 0
-105 -51 -245 0
194 205 -170 0
-174 -43 -197 0
11 18 -163 0
16 -219 -32 0
2 -211 97 0
206 -149 -244 0
-86 21 134 0
130 -13 -227 0
-128 134 -12 0
117 -220 240 0
119 142 -40 0
45 159 147 0
-15 -98 -79 0
-49 96 138 0
56 -80 128 0
-62 -74 -175 0
-39 41 126 0
52 173 95 0
-8 134 -184 0
10 62 -25 0
180 144 228 0
-189 -170 -163 0
-151 135 131 0
-51 69 -202 0
-2 31 -129 0
190 149 179 0
-4 -152 247 0
42 -58 103 0
75 -54 -175 0
-107 163 70 0
-214 112 -228 0
-208 21 241 0
48 -207 7 0
52 169 -38 0
225 232 -215 0
-84 241 55 0
-218 -111 200 0
-86 117 87 0
-34 -101 -11 0
-11 -141 97 0
41 126 75 0
-85 240 178 0
-83 137 4 0
50 -157 -41 0
-114 -229 -99 0
-84 169 225 0
136 12 51 0
23 -43 -107 0
124 -105 152 0
191 7 -16 0
-61 41 95 0
181 -196 79 0
204 -37 -83 0
-42 -17 -125 0
95 236 -229 0
15 -194 -250 0
89 151 195 0
189 -68 -162 0
-76 182 240 0
-222 104 -114 0
-199 -84 -207 0
-137 -122 55 0
213 120 -224 0
-162 234 -217 0
-163 -230 147 0
145 63 -170 0
247 62 185 0
-170 -211 -63 0
-66 106 -107 0
-220 111 -145 0
217 -240 -65 0
-114 205 -101 0
146 20 -242 0
-170 -110 -29 0
83 -86 -160 0
-62 -115 -198 0
-174 -125 187 0
-112 129 35 0
79 -61 197 0
178 18 157 0
-182 -97 -31 0
86 192 -155 0
-22 -240 1 0
-249 -8 -221 0
141 133 13 0
-146 -47 -183 0
-7 -162 -96 0
-160 105 -139 0
-16 -60 -74 0
-227 191 -103 0
5 -83 139 0
64 16 -113 0
-41 -43 90 0
-227 158 -64 0
-180 -100 -170 0
-156 -192 -174 0
-56 -245 -180 0
-110 -140 -63 0
-25 -38 77 0
-58 -101 185 0
184 178 -83 0
203 -157 -163 0
-204 -187 97 0
71 180 -69 0
244 -135 -89 0
35 -42 -227 0
-221 -187 55 0
43 125 68 0
75 136 -147 0
-182 174 -165 0
-136 168 -105 0
37 -195 120 0
-49 -229 -132 0
75 -198 180 0
68 -214 -211 0
-219 -29 -189 0
-113 -133 175 0
-112 12 69 0
-19 -180 -182 0
-1 -209 234 0
-102 148 -15 0
52 -156 -85 0
144 140 -73 0
-193 -38 -6 0
-67 182 60 0
-65 98 103 0
-226 -117 121 0
75 -27 148 0
77 -68 123 0
51 -127 157 0
98 230 195 0
28 139 -82 0
121 -7 23 0
-156 -34 65 0
-67 240 -163 0
184 199 -75 0
-74 -37 -108 0
50 -62 -243 0
-114 -35 -230 0
-245 123 22 0
152 248 -222 0
-56 -202 -130 0
-100 172 -15 0
-227 249 49 0
-136 -122 32 0
-143 194 18 0
-182 226 200 0
-210 237 122 0
-83 -180 -70 0
-91 19 -97 0
193 43 -85 0
-121 -214 -69 0
-235 132 105 0
157 -105 234 0
190 119 72 0
-201 42 -30 0
86 150 97 0
-242 49 -70 0
65 -176 212 0
40 -146 138 0
-12 -35 123 0
-22 175 71 0
-224 141 14 0
142 -172 9 0
24 51 168 0
-220 -26 -175 0
-114 54 245 0
204 242 -196 0
77 -204 248 0
102 117 -111 0
-175 208 -243 0
-107 37 -27 0
31 -29 193 0
-88 -131 106 0
135 -126 -11 0
239 179 45 0
-75 -112 -87 0
-14 -167 78 0
-95 -240 -175 0
-183 -118 -25 0
223 81 -89 0
-215 -98 -35 0
14 95 89 0
-82 145 -220 0
166 214 -32 0
15 173 11 0
-90 112 -75 0
-238 -241 22 0
-157 156 -109 0
221 -57 62 0
-105 194 89 0
119 -40 13 0
32 -179 213 0
-126 -4 -119 0
-16 183 10 0
68 -198 177 0
-164 53 -55 0
230 -77 45 0
77 19 -172 0
-189 -225 -226 0
-193 -95 229 0
-80 -199 96 0
-60 -193 123 0
202 172 -144 0
246 -2 103 0
-237 241 98 0
-12 -186 -214 0
-237 -160 -180 0
-163 -224 -72 0
-89 153 10 0
98 164 235 0
-235 72 190 0
-81 -233 -67 0
-136 -232 -98 0
-116 -29 72 0
-134 -126 -109 0
-226 -92 -238 0
-234 249 46 0
-24 214 44 0
-61 -245 -19 0
-180 29 -55 0
140 13 -71 0
245 184 -13 0
191 -130 -204 0
101 49 72 0
153 139 191 0
25 -80 112 0
-188 125 194 0
-19 -74 235 0
-2 -56 50 0
243 90 69 0
215 -29 145 0
-41 -146 -154 0
63 -214 207 0
168 -112 244 0
99 -152 -233 0
33 -143 -211 0
83 19 -155 0
183 -30 -200 0
-163 -89 -148 0
195 141 97 0
73 -138 -166 0
-91 121 -17 0
24 248 -1 0
117 234 -1 0
-139 149 56 0
187 -92 -120 0
-17 217 -13 0
222 -164 -56 0
-80 217 200 0
37 -14 173 0
-249 31 -138 0
-65 -95 -68 0
-85 38 -140 0
100 209 243 0
-148 -248 -33 0
-92 -220 115 0
-161 118 -74 0
182 -170 -118 0
105 -41 -227 0
-36 -137 -59 0
47 231 -75 0
-109 -238 -94 0
153 -110 -12 0
59 -161 -121 0
-188 47 -75 0
35 188 -216 0
-151 4 -85 0
186 -177 85 0
23 145 -83 0
-43 209 -229 0
-154 -71 -40 0
-118 -138 -19 0
-184 208 83 0
79 -156 -42 0
-98 -130 -80 0
154 136 -33 0
212 19 -129 0
80 182 17 0
-64 79 -244 0
-176 53 -165 0
-69 10 -235 0
-54 -38 177 0
83 125 128 0
183 -79 -110 0
-111 77 -104 0
205 65 125 0
230 66 -26 0
-72 156 -144 0
-19 -98 72 0
45 -249 -136 0
237 -145 240 0
65 18 215 0
-189 206 -91 0
164 225 -28 0
114 -9 121 0
224 205 81 0
-47 -98 -113 0
5 -192 70 0
-47 101 -58 0
-210 -112 -191 0
15 233 -134 0
-101 45 -161 0
163 56 -48 0
147 43 94 0
-189 -51 -95 0
-21 -208 87 0
-2 -210 246 0
206 -51 -32 0
-92 -105 -212 0
115 10 44 0
-18 130 4 0
233 11 -175 0
-180 -43 26 0
-113 -174 9 0
-168 201 -140 0
112 47 230 0
-58 134 -138 0
-57 -165 -197 0
-184 -139 201 0
-158 1 191 0
192 96 103 0
-142 -245 150 0
-153 213 -159 0
-74 -102 -177 0
-116 -206 37 0
-150 53 177 0
42 -145 -236 0
-98 -209 -40 0
90 113 105 0
-123 -208 -114 0
116 221 201 0
-85 49 -20 0
-49 146 115 0
39 -196 -151 0
199 205 75 0
-35 -14 -57 0
171 -156 27 0
133 -70 -217 0
72 24 -223 0
101 57 211 0
2 60 -103 0
174 248 -66 0
-156 128 137 0
-150 191 -210 0
181 -137 -210 0
-60 -188 230 0
-80 -12 210 0
19 -113 -250 0
124 -186 217 0
-16 -150 89 0
22 -66 200 0
-224 -77 -79 0
229 218 -121 0
102 45 -223 0
-153 216 -181 0
-106 215 76 0
-193 171 249 0
32 35 -134 0
173 242 -228 0
149 -51 61 0
230 115 101 0
46 232 -215 0
130 221 198 0
220 16 -47 0
-246 -36 168 0
191 -195 -219 0
234 -161 195 0
-186 231 -217 0
202 144 -221 0
-199 91 -35 0
-223 -87 -156 0
165 103 162 0
105 -213 -114 0
-72 183 -231 0
-108 204 25 0
155 194 -177 0
60 170 181 0
180 -120 28 0
-166 236 -18 0
120 -37 118 0
48 221 100 0
-116 236 93 0
-106 -195 167 0
176 110 -183 0
23 -219 189 0
-237 -57 15 0
11 162 128 0
-159 -155 153 0
-49 -155 247 0
106 -231 144 0
-68 -163 -157 0
108 133 -224 0
-18 -164 212 0
76 -102 -223 0
190 -60 -138 0
66 -29 127 0
-201 100 164 0
8 56 -133 0
-160 -246 -199 0
201 -136 -42 0
42 246 -69 0
189 -92 -115 0
-112 -218 -82 0
-213 82 250 0
-44 -68 233 0
231 79 -49 0
240 -248 -147 0
43 229 68 0
10 82 36 0
151 71 200 0
212 180 -103 0
57 -135 18 0
-21 -124 -171 0
140 233 2 0
36 -117 -35 0
48 244 20 0
29 -180 126 0
-103 193 -45 0
-125 224 180 0
-161 67 -55 0
51 -75 -192 0
-9 180 -66 0
161 -150 196 0
-58 188 -1 0
-147 90 -33 0
112 -170 3 0
95 -11 -193 0
-84 71 170 0
165 205 90 0
-249 94 156 0
119 36 -122 0
82 -182 -248 0
-51 200 -102 0
-193 87 37 0
29 74 81 0
-236 -69 -181 0
173 246 -219 0
-37 149 -232 0
205 98 182 0
-150 177 -9 0
9 146 -210 0
202 -214 -57 0
-158 -242 -211 0
122 -90 207 0
-67 -176 -27 0
173 -192 77 0
191 57 -230 0
197 -29 -178 0
-13 230 -99 0
242 46 -23 0
129 21 -11 0
-232 -19 228 0
-197 -133 102 0
169 12 239 0
-3 -85 77 0
-78 -1 102 0
-109 69 150 0
-18 68 37 0
-195 131 -199 0
-212 153 -113 0
-245 -32 -117 0
170 49 4 0
-159 46 -20 0
195 -19 -168 0
-152 -190 156 0
-146 145 223 0
241 -43 187 0
19 -204 178 0
202 -164 -237 0
86 108 47 0
9 243 -52 0
241 223 77 0
-148 82 217 0
13 171 -131 0
-69 111 -89 0
-44 130 -210 0
31 38 -54 0
-162 166 -18 0
223 -214 -232 0
93 -84 68 0
18 116 75 0
-75 85 94 0
-126 -17 209 0
28 -56 -21 0
93 5 219 0
63 -108 2 0
-103 81 85 0
-87 -122 -212 0
230 -217 -127 0
94 -48 108 0
-190 -19 -1 0
-96 22 -120 0
-239 -36 -163 0
-219 133 116 0
174 13 138 0
-26 5 148 0
9 -137 -236 0
38 -231 143 0
-46 -123 -60 0
-66 -77 -46 0
60 -2 -202 0
36 -200 180 0
193 -136 -231 0
249 -118 -191 0
-73 145 17 0
72 92 15 0
212 -166 -22 0
11 -237 65 0
111 -187 211 0
79 -190 -234 0
3 53 -224 0
48 -56 -125 0
152 -125 -71 0
6 -74 -184 0
236 -11 160 0
39 -81 -175 0
-81 74 -153 0
239 135 -226 0
105 73 243 0
171 -177 -161 0
-118 164 58 0
240 15 153 0
51 223 204 0
-84 217 96 0
-238 -231 64 0
-155 -45 41 0
79 -77 128 0
-218 -172 -6 0
96 8 -102 0
224 175 124 0
49 115 217 0
-144 -186 -231 0
112 -35 -58 0
-181 120 -105 0
-105 -177 -17 0
-245 -139 -113 0
-35 -243 1 0
-144 -185 7 0
74 -62 191 0
-70 130 -60 0
-44 51 -119 0
-165 174 -125 0
-202 175 3 0
-110 -41 -217 0
-172 31 -143 0
-58 51 71 0
-187 24 -62 0
222 65 2 0
211 -5 113 0
213 -138 214 0
-123 -164 184 0
138 176 -239 0
104 -122 150 0
81 -156 -247 0
-55 -47 -232 0
-88 135 -226 0
118 122 167 0
192 -30 -151 0
5 219 -34 0
-172 -85 45 0
-174 122 96 0
-126 179 -232 0
128 24 223 0
230 8 -3 0
-26 9 106 0
-181 -151 -25 0
41 61 26 0
246 90 -210 0
-122 -215 224 0
242 177 -12 0
-212 -101 132 0
-121 64 182 0
17 103 -99 0
-13 -82 -111 0
-58 -175 12 0
239 -61 -219 0
-121 198 40 0
-170 197 -124 0
-69 -131 -149 0
159 -193 -131 0
35 -28 -179 0
-120 -190 -239 0
166 -189 103 0
-250 -21 100 0
151 -110 -209 0
48 -168 -81 0
-168 -143 239 0
-9 216 -184 0
-96 230 40 0
-108 -77 -62 0
80 6 -113 0
-73 -1 -242 0
193 -220 -33 0
-74 78 129 0
142 -112 -167 0
11 -197 -89 0
7 231 150 0
130 145 -201 0
-128 47 116 0
-90 141 78 0
204 -22 -245 0
-105 -156 -28 0
218 -105 40 0
213 82 -220 0
209 -87 -198 0
-146 -186 147 0
-241 -181 43 0
-106 41 49 0
-214 92 -213 0
109 -218 60 0
30 102 21 0
161 133 178 0
-197 225 -38 0
226 -87 -122 0
-76 106 -208 0
-147 -124 -44 0
132 -115 67 0
191 151 28 0
236 142 -77 0
-164 187 -78 0
-185 -76 48 0
-145 -84 160 0
71 -160 -151 0
-39 -183 22 0
37 -159 209 0
46 81 -150 0
-89 -119 -165 0
-158 -29 -26 0
113 234 10 0
243 93 -3 0
61 -149 -207 0
-231 67 82 0
-172 -84 229 0
-2 182 213 0
-25 113 63 0
-182 189 171 0
-202 -4 -148 0
-209 166 -109 0
-113 -87 -210 0
38 -35 -232 0
-155 -191 192 0
-113 148 -232 0
-26 -106 -206 0
-149 211 94 0
223 -206 94 0
93 -23 40 0
22 191 157 0
5 198 -13 0
211 151 249 0
13 175 -229 0
126 -14 -227 0
250 -244 -239 0
64 127 176 0
140 -182 244 0
-183 -189 158 0
22 118 89 0
109 56 110 0
53 -48 206 0
64 131 -137 0
205 -219 -102 0
-6 -154 -116 0
-24 -249 77 0
-175 122 -26 0
-63 -183 -192 0
-178 -173 -165 0
6 -181 56 0
149 -218 -11 0
-160 -211 -115 0
-54 -242 -94 0
-103 12 56 0
-4 -144 -236 0
-195 1 -54 0
-157 192 50 0
237 -86 154 0
42 -110 33 0
-132 233 245 0
7 147 -250 0
195 64 238 0
-225 -2 129 0
-91 -154 -138 0
-51 -61 -43 0
-85 -136 -209 0
-24 -219 -45 0
37 -219 72 0
186 -106 -51 0
-151 -149 10 0
241 71 94 0
-146 155 236 0
41 -38 121 0
-250 119 -19 0
6 -91 -103 0
235 -21 184 0
-60 -9 -99 0
138 16 -141 0
230 19 98 0
-228 133 -24 0
190 118 186 0
-246 28 61 0
200 213 99 0
-132 15 -131 0
-105 233 -202 0
183 165 114 0
50 238 181 0
-117 -130 139 0
125 -110 24 0
-229 -114 -174 0
138 -93 -64 0
-176 153 58 0
-221 -244 62 0
-8 -83 -197 0
-158 36 -4 0
-96 -149 -81 0
119 142 -191 0
87 -6 -139 0
-118 102 3 0
-151 -58 -236 0
-135 -142 -75 0
-205 224 65 0
-59 63 -171 0
-219 -98 -14 0
-94 108 -66 0
-237 -94 113 0
184 183 -99 0
218 164 -181 0
-209 -11 -160 0
-68 -138 -235 0
-221 -41 180 0
63 73 -240 0
-185 -180 81 0
104 -181 161 0
120 -104 80 0
96 -184 168 0
245 210 208 0
240 -85 -114 0
-35 47 -180 0
-199 131 22 0
15 -227 170 0
99 -89 116 0
234 162 -15 0
48 145 192 0
56 -187 17 0
226 172 -75 0
-28 229 31 0
103 62 183 0
226 -79 -120 0
-73 110 65 0
223 -76 192 0
-126 -115 -234 0
122 -82 -226 0
-64 14 -204 0
191 -218 -208 0
172 -95 -14 0
146 -95 -187 0
-172 4 -240 0
66 63 -100 0
58 239 -117 0
-88 -175 -244 0
-195 -118 220 0
6 -91 -106 0
-49 158 -140 0
44 -39 231 0
50 -205 -221 0
-86 241 -126 0
55 73 241 0
-154 -144 -43 0
97 -56 149 0
-204 -75 55 0
17 -153 247 0
250 135 77 0
-205 -178 -43 0
-88 73 -8 0
-77 159 170 0
36 -153 -59 0
222 249 82 0
146 177 123 0
174 -49 -229 0
-37 -223 6 0
-146 24 -229 0
-216 -81 212 0
-8 -175 234 0
-153 6 221 0
243 88 -4 0
-241 165 36 0
-148 111 135 0
-129 -38 40 0
158 19 -149 0
48 163 -20 0
166 11 -126 0
-22 -244 214 0
163 -139 162 0
112 240 15 0
-199 -83 33 0
-132 -34 -9 0
221 246 121 0
-226 41 195 0
-88 140 14 0
237 -72 -228 0
-124 -44 153 0
-239 210 -246 0
29 -241 250 0
207 -152 132 0
3 -155 249 0
-170 189 -125 0
149 113 155 0
-207 249 36 0
124 -215 60 0
-131 -105 140 0
237 93 38 0
-244 96 21 0
-27 172 58 0
90 -63 -50 0
93 69 77 0
-96 74 -145 0
172 -99 73 0
170 -9 -97 0
-141 179 -34 0
62 -226 215 0
-230 72 -175 0
25 158 9 0
73 37 -245 0
-105 141 -82 0
88 -201 221 0
-27 58 -30 0
-194 235 -136 0
119 -133 129 0
-248 -190 164 0
65 197 -72 0
-203 -123 140 0
-142 -108 -86 0
228 240 -80 0
-154 -125 136 0
-88 -168 -34 0
-151 -62 122 0
-241 226 -142 0
161 229 -203 0
-182 -84 -29 0
26 -238 218 0
195 246 -225 0
-20 246 -203 0
-139 102 222 0
-194 -68 17 0
221 166 -26 0
238 -113 -150 0
98 139 -140 0
128 -117 -222 0
46 -83 171 0
-102 -116 -60 0
67 -124 234 0
-190 133 25 0
-98 -1 -104 0
-159 234 -106 0
-98 -142 80 0
32 83 10 0
4 89 109 0
53 101 -14 0
-66 -25 -141 0
-196 10 66 0
-250 -180 156 0
141 183 -98 0
72 -109 -20 0
166 138 -92 0
106 99 211 0
231 31 73 0
-175 -33 -143 0
82 -36 73 0
152 39 95 0
-135 139 -5 0
117 -241 3 0
145 -244 123 0
200 -147 -219 0
-51 247 79 0
-190 -175 183 0
203 -54 125 0
1 -203 -172 0
12 50 99 0
-248 81 217 0
-92 -250 54 0
-70 202 61 0
-210 179 20 0
119 -20 -59 0
238 -5 182 0
63 -241 141 0
51 -94 -105 0
36 -145 -143 0
217 -52 69 0
218 -99 105 0
36 -75 48 0
-99 41 189 0
111 -53 -51 0
161 -118 137 0
-132 -119 155 0
-98 244 134 0
235 171 -139 0
78 100 -45 0
200 -123 -43 0
-240 -48 -165 0
-249 -56 90 0
"""
output = "UNSAT"
|
input = '\nc num blocks = 1\nc num vars = 250\nc minblockids[0] = 1\nc maxblockids[0] = 250\np cnf 250 1112\n-32 148 249 0\n169 -98 24 0\n-122 -32 -128 0\n-9 125 200 0\n-216 193 138 0\n196 54 31 0\n-140 -121 -62 0\n237 152 -122 0\n91 -206 -247 0\n172 -115 -101 0\n220 -216 152 0\n26 88 -69 0\n-130 235 226 0\n-96 -242 2 0\n-184 -48 -190 0\n-150 180 120 0\n239 238 27 0\n-238 -89 -37 0\n49 -25 108 0\n-9 82 96 0\n87 -25 -161 0\n-245 41 169 0\n-113 -69 114 0\n64 -188 -234 0\n35 -56 -179 0\n-156 85 162 0\n-70 -216 -79 0\n-201 37 146 0\n197 -165 30 0\n-189 -175 -130 0\n-182 141 -146 0\n215 -55 -44 0\n179 -204 225 0\n-194 17 203 0\n-174 -218 -152 0\n209 133 142 0\n73 236 147 0\n140 21 -10 0\n224 152 -56 0\n-59 -195 -167 0\n12 -83 31 0\n-204 191 -115 0\n-144 -250 219 0\n-150 180 -121 0\n113 182 -183 0\n-135 -155 -122 0\n216 -182 -68 0\n161 25 -52 0\n-70 132 -133 0\n-49 50 167 0\n74 53 104 0\n189 190 91 0\n47 101 202 0\n-23 241 216 0\n97 -29 142 0\n-247 57 34 0\n-16 -249 -197 0\n238 12 -115 0\n-50 -1 -10 0\n185 238 -144 0\n-146 8 -219 0\n-239 116 -108 0\n-17 -151 -191 0\n67 -154 -44 0\n-173 -102 -105 0\n-67 -34 -150 0\n148 79 139 0\n-185 94 -221 0\n244 249 -138 0\n103 213 130 0\n-240 -74 -69 0\n63 -184 224 0\n-136 63 -88 0\n-13 -39 -95 0\n95 -153 -169 0\n71 -226 236 0\n-82 -102 20 0\n173 118 -177 0\n-200 33 146 0\n-88 -22 -111 0\n106 130 66 0\n-199 212 -223 0\n213 116 47 0\n155 -167 172 0\n42 -158 195 0\n5 -185 65 0\n66 -127 -92 0\n-241 -24 147 0\n215 -86 -130 0\n-190 -85 225 0\n-117 184 198 0\n-18 -162 -160 0\n26 -48 -220 0\n-131 206 -66 0\n-67 -114 -74 0\n233 216 -38 0\n-69 156 39 0\n172 -52 -163 0\n108 131 -198 0\n-176 -239 -91 0\n-13 114 -21 0\n161 82 -242 0\n-85 -47 -22 0\n-62 4 218 0\n-193 -179 -33 0\n-202 156 -133 0\n245 170 -220 0\n-45 148 -219 0\n-135 -117 -153 0\n187 -244 -197 0\n-45 154 -158 0\n69 -239 203 0\n44 36 -93 0\n249 -49 -74 0\n-99 205 177 0\n-109 204 -207 0\n-123 81 146 0\n56 177 -171 0\n-209 49 148 0\n139 82 -152 0\n131 -248 71 0\n-94 170 137 0\n236 88 -169 0\n213 166 20 0\n-81 19 77 0\n-200 176 -43 0\n-62 84 -32 0\n-56 108 -93 0\n8 -124 240 0\n201 -147 -92 0\n167 -12 212 0\n49 114 -96 0\n226 -230 62 0\n31 -15 -171 0\n168 180 -138 0\n-117 -147 -28 0\n-1 113 -18 0\n-170 -201 -153 0\n151 186 -170 0\n-105 -239 -104 0\n-89 173 171 0\n-224 156 -215 0\n58 149 27 0\n-3 -229 -190 0\n168 220 -203 0\n6 -110 -166 0\n129 -183 15 0\n-27 137 208 0\n23 86 3 0\n-163 -218 -66 0\n-161 138 89 0\n51 168 193 0\n37 54 -235 0\n11 -16 86 0\n-77 -147 159 0\n-217 226 -214 0\n34 -202 -215 0\n200 198 185 0\n-62 88 -21 0\n232 122 244 0\n103 36 -7 0\n101 11 -212 0\n72 28 -209 0\n122 -56 -238 0\n-201 -233 -71 0\n85 102 132 0\n53 -59 97 0\n95 -68 205 0\n-19 -121 150 0\n-137 -120 -250 0\n138 20 178 0\n199 -183 142 0\n-197 111 161 0\n-92 144 -11 0\n7 -16 61 0\n-201 -249 50 0\n-13 219 159 0\n-147 -1 -126 0\n245 -15 -107 0\n-147 243 -176 0\n96 -230 85 0\n-224 219 136 0\n72 -102 12 0\n239 204 230 0\n30 11 106 0\n-135 -20 -118 0\n168 -151 -211 0\n133 -193 100 0\n250 -234 -101 0\n-45 -84 -34 0\n-124 81 179 0\n-238 -22 12 0\n25 -66 244 0\n-141 -87 199 0\n-46 -172 124 0\n155 -201 104 0\n-213 -94 67 0\n10 71 -154 0\n30 -6 40 0\n236 -13 -2 0\n101 61 69 0\n72 98 151 0\n187 196 -158 0\n203 -106 56 0\n80 -157 -218 0\n-26 -192 -24 0\n-155 131 -195 0\n-56 -14 -4 0\n186 249 -133 0\n139 243 183 0\n-152 215 -80 0\n-121 177 -166 0\n167 42 -147 0\n-105 -51 -245 0\n194 205 -170 0\n-174 -43 -197 0\n11 18 -163 0\n16 -219 -32 0\n2 -211 97 0\n206 -149 -244 0\n-86 21 134 0\n130 -13 -227 0\n-128 134 -12 0\n117 -220 240 0\n119 142 -40 0\n45 159 147 0\n-15 -98 -79 0\n-49 96 138 0\n56 -80 128 0\n-62 -74 -175 0\n-39 41 126 0\n52 173 95 0\n-8 134 -184 0\n10 62 -25 0\n180 144 228 0\n-189 -170 -163 0\n-151 135 131 0\n-51 69 -202 0\n-2 31 -129 0\n190 149 179 0\n-4 -152 247 0\n42 -58 103 0\n75 -54 -175 0\n-107 163 70 0\n-214 112 -228 0\n-208 21 241 0\n48 -207 7 0\n52 169 -38 0\n225 232 -215 0\n-84 241 55 0\n-218 -111 200 0\n-86 117 87 0\n-34 -101 -11 0\n-11 -141 97 0\n41 126 75 0\n-85 240 178 0\n-83 137 4 0\n50 -157 -41 0\n-114 -229 -99 0\n-84 169 225 0\n136 12 51 0\n23 -43 -107 0\n124 -105 152 0\n191 7 -16 0\n-61 41 95 0\n181 -196 79 0\n204 -37 -83 0\n-42 -17 -125 0\n95 236 -229 0\n15 -194 -250 0\n89 151 195 0\n189 -68 -162 0\n-76 182 240 0\n-222 104 -114 0\n-199 -84 -207 0\n-137 -122 55 0\n213 120 -224 0\n-162 234 -217 0\n-163 -230 147 0\n145 63 -170 0\n247 62 185 0\n-170 -211 -63 0\n-66 106 -107 0\n-220 111 -145 0\n217 -240 -65 0\n-114 205 -101 0\n146 20 -242 0\n-170 -110 -29 0\n83 -86 -160 0\n-62 -115 -198 0\n-174 -125 187 0\n-112 129 35 0\n79 -61 197 0\n178 18 157 0\n-182 -97 -31 0\n86 192 -155 0\n-22 -240 1 0\n-249 -8 -221 0\n141 133 13 0\n-146 -47 -183 0\n-7 -162 -96 0\n-160 105 -139 0\n-16 -60 -74 0\n-227 191 -103 0\n5 -83 139 0\n64 16 -113 0\n-41 -43 90 0\n-227 158 -64 0\n-180 -100 -170 0\n-156 -192 -174 0\n-56 -245 -180 0\n-110 -140 -63 0\n-25 -38 77 0\n-58 -101 185 0\n184 178 -83 0\n203 -157 -163 0\n-204 -187 97 0\n71 180 -69 0\n244 -135 -89 0\n35 -42 -227 0\n-221 -187 55 0\n43 125 68 0\n75 136 -147 0\n-182 174 -165 0\n-136 168 -105 0\n37 -195 120 0\n-49 -229 -132 0\n75 -198 180 0\n68 -214 -211 0\n-219 -29 -189 0\n-113 -133 175 0\n-112 12 69 0\n-19 -180 -182 0\n-1 -209 234 0\n-102 148 -15 0\n52 -156 -85 0\n144 140 -73 0\n-193 -38 -6 0\n-67 182 60 0\n-65 98 103 0\n-226 -117 121 0\n75 -27 148 0\n77 -68 123 0\n51 -127 157 0\n98 230 195 0\n28 139 -82 0\n121 -7 23 0\n-156 -34 65 0\n-67 240 -163 0\n184 199 -75 0\n-74 -37 -108 0\n50 -62 -243 0\n-114 -35 -230 0\n-245 123 22 0\n152 248 -222 0\n-56 -202 -130 0\n-100 172 -15 0\n-227 249 49 0\n-136 -122 32 0\n-143 194 18 0\n-182 226 200 0\n-210 237 122 0\n-83 -180 -70 0\n-91 19 -97 0\n193 43 -85 0\n-121 -214 -69 0\n-235 132 105 0\n157 -105 234 0\n190 119 72 0\n-201 42 -30 0\n86 150 97 0\n-242 49 -70 0\n65 -176 212 0\n40 -146 138 0\n-12 -35 123 0\n-22 175 71 0\n-224 141 14 0\n142 -172 9 0\n24 51 168 0\n-220 -26 -175 0\n-114 54 245 0\n204 242 -196 0\n77 -204 248 0\n102 117 -111 0\n-175 208 -243 0\n-107 37 -27 0\n31 -29 193 0\n-88 -131 106 0\n135 -126 -11 0\n239 179 45 0\n-75 -112 -87 0\n-14 -167 78 0\n-95 -240 -175 0\n-183 -118 -25 0\n223 81 -89 0\n-215 -98 -35 0\n14 95 89 0\n-82 145 -220 0\n166 214 -32 0\n15 173 11 0\n-90 112 -75 0\n-238 -241 22 0\n-157 156 -109 0\n221 -57 62 0\n-105 194 89 0\n119 -40 13 0\n32 -179 213 0\n-126 -4 -119 0\n-16 183 10 0\n68 -198 177 0\n-164 53 -55 0\n230 -77 45 0\n77 19 -172 0\n-189 -225 -226 0\n-193 -95 229 0\n-80 -199 96 0\n-60 -193 123 0\n202 172 -144 0\n246 -2 103 0\n-237 241 98 0\n-12 -186 -214 0\n-237 -160 -180 0\n-163 -224 -72 0\n-89 153 10 0\n98 164 235 0\n-235 72 190 0\n-81 -233 -67 0\n-136 -232 -98 0\n-116 -29 72 0\n-134 -126 -109 0\n-226 -92 -238 0\n-234 249 46 0\n-24 214 44 0\n-61 -245 -19 0\n-180 29 -55 0\n140 13 -71 0\n245 184 -13 0\n191 -130 -204 0\n101 49 72 0\n153 139 191 0\n25 -80 112 0\n-188 125 194 0\n-19 -74 235 0\n-2 -56 50 0\n243 90 69 0\n215 -29 145 0\n-41 -146 -154 0\n63 -214 207 0\n168 -112 244 0\n99 -152 -233 0\n33 -143 -211 0\n83 19 -155 0\n183 -30 -200 0\n-163 -89 -148 0\n195 141 97 0\n73 -138 -166 0\n-91 121 -17 0\n24 248 -1 0\n117 234 -1 0\n-139 149 56 0\n187 -92 -120 0\n-17 217 -13 0\n222 -164 -56 0\n-80 217 200 0\n37 -14 173 0\n-249 31 -138 0\n-65 -95 -68 0\n-85 38 -140 0\n100 209 243 0\n-148 -248 -33 0\n-92 -220 115 0\n-161 118 -74 0\n182 -170 -118 0\n105 -41 -227 0\n-36 -137 -59 0\n47 231 -75 0\n-109 -238 -94 0\n153 -110 -12 0\n59 -161 -121 0\n-188 47 -75 0\n35 188 -216 0\n-151 4 -85 0\n186 -177 85 0\n23 145 -83 0\n-43 209 -229 0\n-154 -71 -40 0\n-118 -138 -19 0\n-184 208 83 0\n79 -156 -42 0\n-98 -130 -80 0\n154 136 -33 0\n212 19 -129 0\n80 182 17 0\n-64 79 -244 0\n-176 53 -165 0\n-69 10 -235 0\n-54 -38 177 0\n83 125 128 0\n183 -79 -110 0\n-111 77 -104 0\n205 65 125 0\n230 66 -26 0\n-72 156 -144 0\n-19 -98 72 0\n45 -249 -136 0\n237 -145 240 0\n65 18 215 0\n-189 206 -91 0\n164 225 -28 0\n114 -9 121 0\n224 205 81 0\n-47 -98 -113 0\n5 -192 70 0\n-47 101 -58 0\n-210 -112 -191 0\n15 233 -134 0\n-101 45 -161 0\n163 56 -48 0\n147 43 94 0\n-189 -51 -95 0\n-21 -208 87 0\n-2 -210 246 0\n206 -51 -32 0\n-92 -105 -212 0\n115 10 44 0\n-18 130 4 0\n233 11 -175 0\n-180 -43 26 0\n-113 -174 9 0\n-168 201 -140 0\n112 47 230 0\n-58 134 -138 0\n-57 -165 -197 0\n-184 -139 201 0\n-158 1 191 0\n192 96 103 0\n-142 -245 150 0\n-153 213 -159 0\n-74 -102 -177 0\n-116 -206 37 0\n-150 53 177 0\n42 -145 -236 0\n-98 -209 -40 0\n90 113 105 0\n-123 -208 -114 0\n116 221 201 0\n-85 49 -20 0\n-49 146 115 0\n39 -196 -151 0\n199 205 75 0\n-35 -14 -57 0\n171 -156 27 0\n133 -70 -217 0\n72 24 -223 0\n101 57 211 0\n2 60 -103 0\n174 248 -66 0\n-156 128 137 0\n-150 191 -210 0\n181 -137 -210 0\n-60 -188 230 0\n-80 -12 210 0\n19 -113 -250 0\n124 -186 217 0\n-16 -150 89 0\n22 -66 200 0\n-224 -77 -79 0\n229 218 -121 0\n102 45 -223 0\n-153 216 -181 0\n-106 215 76 0\n-193 171 249 0\n32 35 -134 0\n173 242 -228 0\n149 -51 61 0\n230 115 101 0\n46 232 -215 0\n130 221 198 0\n220 16 -47 0\n-246 -36 168 0\n191 -195 -219 0\n234 -161 195 0\n-186 231 -217 0\n202 144 -221 0\n-199 91 -35 0\n-223 -87 -156 0\n165 103 162 0\n105 -213 -114 0\n-72 183 -231 0\n-108 204 25 0\n155 194 -177 0\n60 170 181 0\n180 -120 28 0\n-166 236 -18 0\n120 -37 118 0\n48 221 100 0\n-116 236 93 0\n-106 -195 167 0\n176 110 -183 0\n23 -219 189 0\n-237 -57 15 0\n11 162 128 0\n-159 -155 153 0\n-49 -155 247 0\n106 -231 144 0\n-68 -163 -157 0\n108 133 -224 0\n-18 -164 212 0\n76 -102 -223 0\n190 -60 -138 0\n66 -29 127 0\n-201 100 164 0\n8 56 -133 0\n-160 -246 -199 0\n201 -136 -42 0\n42 246 -69 0\n189 -92 -115 0\n-112 -218 -82 0\n-213 82 250 0\n-44 -68 233 0\n231 79 -49 0\n240 -248 -147 0\n43 229 68 0\n10 82 36 0\n151 71 200 0\n212 180 -103 0\n57 -135 18 0\n-21 -124 -171 0\n140 233 2 0\n36 -117 -35 0\n48 244 20 0\n29 -180 126 0\n-103 193 -45 0\n-125 224 180 0\n-161 67 -55 0\n51 -75 -192 0\n-9 180 -66 0\n161 -150 196 0\n-58 188 -1 0\n-147 90 -33 0\n112 -170 3 0\n95 -11 -193 0\n-84 71 170 0\n165 205 90 0\n-249 94 156 0\n119 36 -122 0\n82 -182 -248 0\n-51 200 -102 0\n-193 87 37 0\n29 74 81 0\n-236 -69 -181 0\n173 246 -219 0\n-37 149 -232 0\n205 98 182 0\n-150 177 -9 0\n9 146 -210 0\n202 -214 -57 0\n-158 -242 -211 0\n122 -90 207 0\n-67 -176 -27 0\n173 -192 77 0\n191 57 -230 0\n197 -29 -178 0\n-13 230 -99 0\n242 46 -23 0\n129 21 -11 0\n-232 -19 228 0\n-197 -133 102 0\n169 12 239 0\n-3 -85 77 0\n-78 -1 102 0\n-109 69 150 0\n-18 68 37 0\n-195 131 -199 0\n-212 153 -113 0\n-245 -32 -117 0\n170 49 4 0\n-159 46 -20 0\n195 -19 -168 0\n-152 -190 156 0\n-146 145 223 0\n241 -43 187 0\n19 -204 178 0\n202 -164 -237 0\n86 108 47 0\n9 243 -52 0\n241 223 77 0\n-148 82 217 0\n13 171 -131 0\n-69 111 -89 0\n-44 130 -210 0\n31 38 -54 0\n-162 166 -18 0\n223 -214 -232 0\n93 -84 68 0\n18 116 75 0\n-75 85 94 0\n-126 -17 209 0\n28 -56 -21 0\n93 5 219 0\n63 -108 2 0\n-103 81 85 0\n-87 -122 -212 0\n230 -217 -127 0\n94 -48 108 0\n-190 -19 -1 0\n-96 22 -120 0\n-239 -36 -163 0\n-219 133 116 0\n174 13 138 0\n-26 5 148 0\n9 -137 -236 0\n38 -231 143 0\n-46 -123 -60 0\n-66 -77 -46 0\n60 -2 -202 0\n36 -200 180 0\n193 -136 -231 0\n249 -118 -191 0\n-73 145 17 0\n72 92 15 0\n212 -166 -22 0\n11 -237 65 0\n111 -187 211 0\n79 -190 -234 0\n3 53 -224 0\n48 -56 -125 0\n152 -125 -71 0\n6 -74 -184 0\n236 -11 160 0\n39 -81 -175 0\n-81 74 -153 0\n239 135 -226 0\n105 73 243 0\n171 -177 -161 0\n-118 164 58 0\n240 15 153 0\n51 223 204 0\n-84 217 96 0\n-238 -231 64 0\n-155 -45 41 0\n79 -77 128 0\n-218 -172 -6 0\n96 8 -102 0\n224 175 124 0\n49 115 217 0\n-144 -186 -231 0\n112 -35 -58 0\n-181 120 -105 0\n-105 -177 -17 0\n-245 -139 -113 0\n-35 -243 1 0\n-144 -185 7 0\n74 -62 191 0\n-70 130 -60 0\n-44 51 -119 0\n-165 174 -125 0\n-202 175 3 0\n-110 -41 -217 0\n-172 31 -143 0\n-58 51 71 0\n-187 24 -62 0\n222 65 2 0\n211 -5 113 0\n213 -138 214 0\n-123 -164 184 0\n138 176 -239 0\n104 -122 150 0\n81 -156 -247 0\n-55 -47 -232 0\n-88 135 -226 0\n118 122 167 0\n192 -30 -151 0\n5 219 -34 0\n-172 -85 45 0\n-174 122 96 0\n-126 179 -232 0\n128 24 223 0\n230 8 -3 0\n-26 9 106 0\n-181 -151 -25 0\n41 61 26 0\n246 90 -210 0\n-122 -215 224 0\n242 177 -12 0\n-212 -101 132 0\n-121 64 182 0\n17 103 -99 0\n-13 -82 -111 0\n-58 -175 12 0\n239 -61 -219 0\n-121 198 40 0\n-170 197 -124 0\n-69 -131 -149 0\n159 -193 -131 0\n35 -28 -179 0\n-120 -190 -239 0\n166 -189 103 0\n-250 -21 100 0\n151 -110 -209 0\n48 -168 -81 0\n-168 -143 239 0\n-9 216 -184 0\n-96 230 40 0\n-108 -77 -62 0\n80 6 -113 0\n-73 -1 -242 0\n193 -220 -33 0\n-74 78 129 0\n142 -112 -167 0\n11 -197 -89 0\n7 231 150 0\n130 145 -201 0\n-128 47 116 0\n-90 141 78 0\n204 -22 -245 0\n-105 -156 -28 0\n218 -105 40 0\n213 82 -220 0\n209 -87 -198 0\n-146 -186 147 0\n-241 -181 43 0\n-106 41 49 0\n-214 92 -213 0\n109 -218 60 0\n30 102 21 0\n161 133 178 0\n-197 225 -38 0\n226 -87 -122 0\n-76 106 -208 0\n-147 -124 -44 0\n132 -115 67 0\n191 151 28 0\n236 142 -77 0\n-164 187 -78 0\n-185 -76 48 0\n-145 -84 160 0\n71 -160 -151 0\n-39 -183 22 0\n37 -159 209 0\n46 81 -150 0\n-89 -119 -165 0\n-158 -29 -26 0\n113 234 10 0\n243 93 -3 0\n61 -149 -207 0\n-231 67 82 0\n-172 -84 229 0\n-2 182 213 0\n-25 113 63 0\n-182 189 171 0\n-202 -4 -148 0\n-209 166 -109 0\n-113 -87 -210 0\n38 -35 -232 0\n-155 -191 192 0\n-113 148 -232 0\n-26 -106 -206 0\n-149 211 94 0\n223 -206 94 0\n93 -23 40 0\n22 191 157 0\n5 198 -13 0\n211 151 249 0\n13 175 -229 0\n126 -14 -227 0\n250 -244 -239 0\n64 127 176 0\n140 -182 244 0\n-183 -189 158 0\n22 118 89 0\n109 56 110 0\n53 -48 206 0\n64 131 -137 0\n205 -219 -102 0\n-6 -154 -116 0\n-24 -249 77 0\n-175 122 -26 0\n-63 -183 -192 0\n-178 -173 -165 0\n6 -181 56 0\n149 -218 -11 0\n-160 -211 -115 0\n-54 -242 -94 0\n-103 12 56 0\n-4 -144 -236 0\n-195 1 -54 0\n-157 192 50 0\n237 -86 154 0\n42 -110 33 0\n-132 233 245 0\n7 147 -250 0\n195 64 238 0\n-225 -2 129 0\n-91 -154 -138 0\n-51 -61 -43 0\n-85 -136 -209 0\n-24 -219 -45 0\n37 -219 72 0\n186 -106 -51 0\n-151 -149 10 0\n241 71 94 0\n-146 155 236 0\n41 -38 121 0\n-250 119 -19 0\n6 -91 -103 0\n235 -21 184 0\n-60 -9 -99 0\n138 16 -141 0\n230 19 98 0\n-228 133 -24 0\n190 118 186 0\n-246 28 61 0\n200 213 99 0\n-132 15 -131 0\n-105 233 -202 0\n183 165 114 0\n50 238 181 0\n-117 -130 139 0\n125 -110 24 0\n-229 -114 -174 0\n138 -93 -64 0\n-176 153 58 0\n-221 -244 62 0\n-8 -83 -197 0\n-158 36 -4 0\n-96 -149 -81 0\n119 142 -191 0\n87 -6 -139 0\n-118 102 3 0\n-151 -58 -236 0\n-135 -142 -75 0\n-205 224 65 0\n-59 63 -171 0\n-219 -98 -14 0\n-94 108 -66 0\n-237 -94 113 0\n184 183 -99 0\n218 164 -181 0\n-209 -11 -160 0\n-68 -138 -235 0\n-221 -41 180 0\n63 73 -240 0\n-185 -180 81 0\n104 -181 161 0\n120 -104 80 0\n96 -184 168 0\n245 210 208 0\n240 -85 -114 0\n-35 47 -180 0\n-199 131 22 0\n15 -227 170 0\n99 -89 116 0\n234 162 -15 0\n48 145 192 0\n56 -187 17 0\n226 172 -75 0\n-28 229 31 0\n103 62 183 0\n226 -79 -120 0\n-73 110 65 0\n223 -76 192 0\n-126 -115 -234 0\n122 -82 -226 0\n-64 14 -204 0\n191 -218 -208 0\n172 -95 -14 0\n146 -95 -187 0\n-172 4 -240 0\n66 63 -100 0\n58 239 -117 0\n-88 -175 -244 0\n-195 -118 220 0\n6 -91 -106 0\n-49 158 -140 0\n44 -39 231 0\n50 -205 -221 0\n-86 241 -126 0\n55 73 241 0\n-154 -144 -43 0\n97 -56 149 0\n-204 -75 55 0\n17 -153 247 0\n250 135 77 0\n-205 -178 -43 0\n-88 73 -8 0\n-77 159 170 0\n36 -153 -59 0\n222 249 82 0\n146 177 123 0\n174 -49 -229 0\n-37 -223 6 0\n-146 24 -229 0\n-216 -81 212 0\n-8 -175 234 0\n-153 6 221 0\n243 88 -4 0\n-241 165 36 0\n-148 111 135 0\n-129 -38 40 0\n158 19 -149 0\n48 163 -20 0\n166 11 -126 0\n-22 -244 214 0\n163 -139 162 0\n112 240 15 0\n-199 -83 33 0\n-132 -34 -9 0\n221 246 121 0\n-226 41 195 0\n-88 140 14 0\n237 -72 -228 0\n-124 -44 153 0\n-239 210 -246 0\n29 -241 250 0\n207 -152 132 0\n3 -155 249 0\n-170 189 -125 0\n149 113 155 0\n-207 249 36 0\n124 -215 60 0\n-131 -105 140 0\n237 93 38 0\n-244 96 21 0\n-27 172 58 0\n90 -63 -50 0\n93 69 77 0\n-96 74 -145 0\n172 -99 73 0\n170 -9 -97 0\n-141 179 -34 0\n62 -226 215 0\n-230 72 -175 0\n25 158 9 0\n73 37 -245 0\n-105 141 -82 0\n88 -201 221 0\n-27 58 -30 0\n-194 235 -136 0\n119 -133 129 0\n-248 -190 164 0\n65 197 -72 0\n-203 -123 140 0\n-142 -108 -86 0\n228 240 -80 0\n-154 -125 136 0\n-88 -168 -34 0\n-151 -62 122 0\n-241 226 -142 0\n161 229 -203 0\n-182 -84 -29 0\n26 -238 218 0\n195 246 -225 0\n-20 246 -203 0\n-139 102 222 0\n-194 -68 17 0\n221 166 -26 0\n238 -113 -150 0\n98 139 -140 0\n128 -117 -222 0\n46 -83 171 0\n-102 -116 -60 0\n67 -124 234 0\n-190 133 25 0\n-98 -1 -104 0\n-159 234 -106 0\n-98 -142 80 0\n32 83 10 0\n4 89 109 0\n53 101 -14 0\n-66 -25 -141 0\n-196 10 66 0\n-250 -180 156 0\n141 183 -98 0\n72 -109 -20 0\n166 138 -92 0\n106 99 211 0\n231 31 73 0\n-175 -33 -143 0\n82 -36 73 0\n152 39 95 0\n-135 139 -5 0\n117 -241 3 0\n145 -244 123 0\n200 -147 -219 0\n-51 247 79 0\n-190 -175 183 0\n203 -54 125 0\n1 -203 -172 0\n12 50 99 0\n-248 81 217 0\n-92 -250 54 0\n-70 202 61 0\n-210 179 20 0\n119 -20 -59 0\n238 -5 182 0\n63 -241 141 0\n51 -94 -105 0\n36 -145 -143 0\n217 -52 69 0\n218 -99 105 0\n36 -75 48 0\n-99 41 189 0\n111 -53 -51 0\n161 -118 137 0\n-132 -119 155 0\n-98 244 134 0\n235 171 -139 0\n78 100 -45 0\n200 -123 -43 0\n-240 -48 -165 0\n-249 -56 90 0\n'
output = 'UNSAT'
|
'''
Write a Python program to make a chain of function decorators (bold, italic, underline etc.).
'''
def make_bold(fn):
def wrapped():
return "<b>" + fn() + "</b>"
return wrapped
def make_italic(fn):
def wrapped():
return "<i>" + fn() + "</i>"
return wrapped
def make_underline(fn):
def wrapped():
return "<u>" + fn() + "</u>"
return wrapped
@make_bold
@make_italic
@make_underline
def hello():
return "hello world"
fp = open("xyz.html", 'w')
mod_string = hello() ## returns "<b><i><u>hello world</u></i></b>"
fp.write("<html>")
fp.write("<br>")
fp.write(mod_string)
fp.write("</html>")
|
"""
Write a Python program to make a chain of function decorators (bold, italic, underline etc.).
"""
def make_bold(fn):
def wrapped():
return '<b>' + fn() + '</b>'
return wrapped
def make_italic(fn):
def wrapped():
return '<i>' + fn() + '</i>'
return wrapped
def make_underline(fn):
def wrapped():
return '<u>' + fn() + '</u>'
return wrapped
@make_bold
@make_italic
@make_underline
def hello():
return 'hello world'
fp = open('xyz.html', 'w')
mod_string = hello()
fp.write('<html>')
fp.write('<br>')
fp.write(mod_string)
fp.write('</html>')
|
"""Run module."""
class Run:
"""Class describing a TRNSYS simulation.
- convention: left (00:00 is [00:00;01:00[ for an hourly series)
- clock: tzt
"""
def __init__(self):
"""Initialize object."""
pass
|
"""Run module."""
class Run:
"""Class describing a TRNSYS simulation.
- convention: left (00:00 is [00:00;01:00[ for an hourly series)
- clock: tzt
"""
def __init__(self):
"""Initialize object."""
pass
|
# Program to calcualte LCM of two numbers
# function to calculate LCM
def lcm(x,y):
if x > y:
greater = x
else:
greater = y
while True:
if (greater % x) == 0 and (greater % y) == 0:
lcm = greater
break
greater+=1
return lcm
a = int(input("Enter first number:"))
b = int(input("Enter second number:"))
print("The LCM of",a,"&",b,"is:",lcm(a,b))
|
def lcm(x, y):
if x > y:
greater = x
else:
greater = y
while True:
if greater % x == 0 and greater % y == 0:
lcm = greater
break
greater += 1
return lcm
a = int(input('Enter first number:'))
b = int(input('Enter second number:'))
print('The LCM of', a, '&', b, 'is:', lcm(a, b))
|
def processRecord(RecordClass, row):
record = RecordClass('mphillips')
record.mapping('basic', 'title', row['title'],
qualifier='officialtitle')
record.mapping('agent', 'creator', row['author'],
qualifier='aut', agent_type='per', info='born somewhere')
record.mapping('basic', 'date', row['date'],
qualifier='creation', required=False)
record.setBaseDirectory('records')
record.setFolderName(row['isbn'])
return record
|
def process_record(RecordClass, row):
record = record_class('mphillips')
record.mapping('basic', 'title', row['title'], qualifier='officialtitle')
record.mapping('agent', 'creator', row['author'], qualifier='aut', agent_type='per', info='born somewhere')
record.mapping('basic', 'date', row['date'], qualifier='creation', required=False)
record.setBaseDirectory('records')
record.setFolderName(row['isbn'])
return record
|
#!/usr/bin/env python
# coding: utf-8
# In[1]:
# assignment No 1 {day 3}
# In[2]:
# you all are pilots, & we have to land a plane, the altitiude required to land a plane is 1000ft. if its less than that ask the pilot to land
#if its more than 1000ft but less than 5000ft ask the pilot to reduce the altitude to 1000ft.
#if its more than 5000ft then ask the pilot to try again later
# In[4]:
# taking the variable for altitude
at=int(input("inter the altitude"))
#ptint("at is "at)
# In[5]:
if (at<=1000):
print("its safe to land the plane")
elif (at>1000 and at<5000):
print("reduce the altitude to 1000ft")
else:
print ("try later")
# In[ ]:
|
at = int(input('inter the altitude'))
if at <= 1000:
print('its safe to land the plane')
elif at > 1000 and at < 5000:
print('reduce the altitude to 1000ft')
else:
print('try later')
|
#=========================================================================
# test_timing.py
#=========================================================================
# Additional timing assertions for special paths (e.g., feedthroughs)
#
#-------------------------------------------------------------------------
# tests
#-------------------------------------------------------------------------
def test_clk_pass_through_arrival():
rpt = 'reports/time-clock-passthrough.rpt'
#assert arrival( rpt ) >= 0.030 # clock must pass through >= 0.030 ns
#assert arrival( rpt ) <= 0.052 # clock must pass through <= 0.052 ns
#-------------------------------------------------------------------------
# slack
#-------------------------------------------------------------------------
# Reads a timing report (dc or innovus) and returns the slack (for the
# first path) as a float.
#
def slack( rpt ):
# Read the timing report
with open( rpt ) as f:
lines = [ l for l in f.readlines() if 'slack' in l.lower() ]
# Extract the slack
#
# Get the first line with a slack number, which looks like this for DC:
#
# slack (MET) 0.0195
#
# It looks like this for Innovus:
#
# = Slack Time 0.020
#
output = float( lines[0].split()[-1] )
return output
#-------------------------------------------------------------------------
# arrival
#-------------------------------------------------------------------------
# Reads a timing report and returns the arrival time (for the first path)
# as a float.
#
def arrival( rpt ):
# Read the timing report
with open( rpt ) as f:
lines = [ l for l in f.readlines() if 'arrival time' in l.lower() ]
# To allow us to use this function to extract the arrival times in both
# DC/Innovus timing reports, we filter out certain kinds of lines from
# the Innovus timing report, which would normally look like this:
#
# Other End Arrival Time 0.000
# = Beginpoint Arrival Time 10.009
#
lines = [ l for l in lines if 'Other End' not in l ]
lines = [ l for l in lines if 'Beginpoint' not in l ]
# Extract the arrival time
#
# Get the first line with an arrival time, which looks like this for
# DC:
#
# data arrival time 0.0305
#
# > Note that there is usually another "negative" version of this
# number just below, where the report shows its math:
#
# data required time 0.0500
# data arrival time -0.0305
#
# > We want the first number, not this one.
#
# It looks like this for Innovus:
#
# - Arrival Time 0.031
#
output = float( lines[0].split()[-1] )
return output
|
def test_clk_pass_through_arrival():
rpt = 'reports/time-clock-passthrough.rpt'
def slack(rpt):
with open(rpt) as f:
lines = [l for l in f.readlines() if 'slack' in l.lower()]
output = float(lines[0].split()[-1])
return output
def arrival(rpt):
with open(rpt) as f:
lines = [l for l in f.readlines() if 'arrival time' in l.lower()]
lines = [l for l in lines if 'Other End' not in l]
lines = [l for l in lines if 'Beginpoint' not in l]
output = float(lines[0].split()[-1])
return output
|
NAME_PREFIX_SEPARATOR = "_"
ENDPOINTS_SEPARATOR = ", "
CSI_CONTROLLER_SERVER_WORKERS = 10
# array types
ARRAY_TYPE_XIV = 'A9000'
ARRAY_TYPE_SVC = 'SVC'
ARRAY_TYPE_DS8K = 'DS8K'
|
name_prefix_separator = '_'
endpoints_separator = ', '
csi_controller_server_workers = 10
array_type_xiv = 'A9000'
array_type_svc = 'SVC'
array_type_ds8_k = 'DS8K'
|
# optimizer
optimizer = dict(type="SGD", lr=0.04, momentum=0.9, weight_decay=0.0001)
optimizer_config = dict(grad_clip=None)
# learning policy
lr_config = dict(policy="step", warmup="linear", warmup_iters=100, warmup_ratio=0.001, step=[7, 11])
total_epochs = 12
|
optimizer = dict(type='SGD', lr=0.04, momentum=0.9, weight_decay=0.0001)
optimizer_config = dict(grad_clip=None)
lr_config = dict(policy='step', warmup='linear', warmup_iters=100, warmup_ratio=0.001, step=[7, 11])
total_epochs = 12
|
class SplitEnd:
"""Event used when the separation of a request into several files is completed"""
NAME = "SPLIT_END"
def __init__(self, directory):
self.directory = directory
def serialize(self):
return {
"name": self.NAME,
"data": {
"directory": self.directory
}
}
@staticmethod
def deserialize(serializedHook):
data = serializedHook["data"]
directory = data["directory"] if "directory" in data else None
return SplitEnd(directory)
|
class Splitend:
"""Event used when the separation of a request into several files is completed"""
name = 'SPLIT_END'
def __init__(self, directory):
self.directory = directory
def serialize(self):
return {'name': self.NAME, 'data': {'directory': self.directory}}
@staticmethod
def deserialize(serializedHook):
data = serializedHook['data']
directory = data['directory'] if 'directory' in data else None
return split_end(directory)
|
def pattern(n):
s = ''
for i in range(n):
s += str(n)
for ni in range(n-1,i,-1):
s += str(ni)
if n-1 == i:
pass
else:
s += '\n'
return s
|
def pattern(n):
s = ''
for i in range(n):
s += str(n)
for ni in range(n - 1, i, -1):
s += str(ni)
if n - 1 == i:
pass
else:
s += '\n'
return s
|
class AlignmentState(basestring):
"""
aligned|misaligned|partial-writes|indeterminate
Possible values:
<ul>
<li> "aligned" - All or most of the IO to the LUN
is aligned to the underlying file,
<li> "misaligned" - A significant amount of IO to the
LUN is not aligned to the underlying file,
<li> "partial_writes" - A significant amount of IO to the
LUN is partial,
<li> "indeterminate" - There is not enough IO to
determine the LUN's alignment state
</ul>
"""
@staticmethod
def get_api_name():
return "alignment-state"
|
class Alignmentstate(basestring):
"""
aligned|misaligned|partial-writes|indeterminate
Possible values:
<ul>
<li> "aligned" - All or most of the IO to the LUN
is aligned to the underlying file,
<li> "misaligned" - A significant amount of IO to the
LUN is not aligned to the underlying file,
<li> "partial_writes" - A significant amount of IO to the
LUN is partial,
<li> "indeterminate" - There is not enough IO to
determine the LUN's alignment state
</ul>
"""
@staticmethod
def get_api_name():
return 'alignment-state'
|
print("/"*20)
# lol
stlist = ["qwev", "kleb", "lew", "fvb", "eivf", "igsi", "ycgbayg"]
for s in stlist:
if s.startswith("A"):
print("Found!")
break
else:
print("Not found")
print("/"*20)
answer = 42
guess = 0
while answer != guess:
guess = int(input("Guess the number: "))
else:
pass
# print("no")
print("Ok")
|
print('/' * 20)
stlist = ['qwev', 'kleb', 'lew', 'fvb', 'eivf', 'igsi', 'ycgbayg']
for s in stlist:
if s.startswith('A'):
print('Found!')
break
else:
print('Not found')
print('/' * 20)
answer = 42
guess = 0
while answer != guess:
guess = int(input('Guess the number: '))
else:
pass
print('Ok')
|
# coding: utf-8
class Task:
pass
|
class Task:
pass
|
class ProtoConverter:
@classmethod
def proto_to_dict(cls, proto_message):
proto_dict = {}
desc = proto_message.DESCRIPTOR
for field in desc.fields:
field_name = field.name
proto_dict[field_name] = getattr(proto_message, field_name)
return proto_dict
|
class Protoconverter:
@classmethod
def proto_to_dict(cls, proto_message):
proto_dict = {}
desc = proto_message.DESCRIPTOR
for field in desc.fields:
field_name = field.name
proto_dict[field_name] = getattr(proto_message, field_name)
return proto_dict
|
report = []
with open('input') as file:
report = list(map(lambda x: x.strip(), file))
gamma = ''
epsilon = ''
for bits in zip(*report[::1]):
zero = 0
one = 0
for bit in bits:
if bit == '1':
one += 1
else:
zero += 1
if one > zero:
gamma += '1'
epsilon += '0'
elif zero > one:
gamma += '0'
epsilon += '1'
print('part 1')
print(int(gamma, 2) * int(epsilon, 2))
def get_rating(initial, weight):
p = initial
for i in range(len(p[0])):
one = []
zero = []
for row in p:
if row[i] == '1':
one.append(row)
else:
zero.append(row)
if len(one) > len(zero):
if weight == '1':
p = one
else:
p = zero
elif len(zero) > len(one):
if weight == '1':
p = zero
else:
p = one
else:
if weight == '1':
p = one
else:
p = zero
if len(p) == 1:
return p[0]
o2 = get_rating(report, '1')
co2 = get_rating(report, '0')
print('part 2')
print(int(o2, 2) * int(co2, 2))
|
report = []
with open('input') as file:
report = list(map(lambda x: x.strip(), file))
gamma = ''
epsilon = ''
for bits in zip(*report[::1]):
zero = 0
one = 0
for bit in bits:
if bit == '1':
one += 1
else:
zero += 1
if one > zero:
gamma += '1'
epsilon += '0'
elif zero > one:
gamma += '0'
epsilon += '1'
print('part 1')
print(int(gamma, 2) * int(epsilon, 2))
def get_rating(initial, weight):
p = initial
for i in range(len(p[0])):
one = []
zero = []
for row in p:
if row[i] == '1':
one.append(row)
else:
zero.append(row)
if len(one) > len(zero):
if weight == '1':
p = one
else:
p = zero
elif len(zero) > len(one):
if weight == '1':
p = zero
else:
p = one
elif weight == '1':
p = one
else:
p = zero
if len(p) == 1:
return p[0]
o2 = get_rating(report, '1')
co2 = get_rating(report, '0')
print('part 2')
print(int(o2, 2) * int(co2, 2))
|
"""
Write a function to delete a node (except the tail) in a singly linked list, given only access to that node.
Given linked list -- head = [4,5,1,9], which looks like following:
4 -> 5 -> 1 -> 9
Example 1:
Input: head = [4,5,1,9], node = 5
Output: [4,1,9]
Explanation: You are given the second node with value 5, the linked list
should become 4 -> 1 -> 9 after calling your function.
Example 2:
Input: head = [4,5,1,9], node = 1
Output: [4,5,9]
Explanation: You are given the third node with value 1, the linked list
should become 4 -> 5 -> 9 after calling your function.
Note:
The linked list will have at least two elements.
All of the nodes' values will be unique.
The given node will not be the tail and it will always be a valid node of the linked list.
Do not return anything from your function.
"""
# Definition for singly-linked list.
class ListNode:
def __init__(self, x):
self.val = x
self.next = None
class Solution:
@staticmethod
def deleteNode(node):
"""
:type node: ListNode
:rtype: void Do not return anything, modify node in-place instead.
"""
while node.next:
node.val = node.next.val
if not node.next.next:
node.next = None
else:
node = node.next
if __name__ == '__main__':
linked_list = ListNode(4)
linked_list.next = ListNode(5)
to_delete = linked_list.next
linked_list.next.next = ListNode(1)
linked_list.next.next.next = ListNode(9)
Solution.deleteNode(to_delete)
|
"""
Write a function to delete a node (except the tail) in a singly linked list, given only access to that node.
Given linked list -- head = [4,5,1,9], which looks like following:
4 -> 5 -> 1 -> 9
Example 1:
Input: head = [4,5,1,9], node = 5
Output: [4,1,9]
Explanation: You are given the second node with value 5, the linked list
should become 4 -> 1 -> 9 after calling your function.
Example 2:
Input: head = [4,5,1,9], node = 1
Output: [4,5,9]
Explanation: You are given the third node with value 1, the linked list
should become 4 -> 5 -> 9 after calling your function.
Note:
The linked list will have at least two elements.
All of the nodes' values will be unique.
The given node will not be the tail and it will always be a valid node of the linked list.
Do not return anything from your function.
"""
class Listnode:
def __init__(self, x):
self.val = x
self.next = None
class Solution:
@staticmethod
def delete_node(node):
"""
:type node: ListNode
:rtype: void Do not return anything, modify node in-place instead.
"""
while node.next:
node.val = node.next.val
if not node.next.next:
node.next = None
else:
node = node.next
if __name__ == '__main__':
linked_list = list_node(4)
linked_list.next = list_node(5)
to_delete = linked_list.next
linked_list.next.next = list_node(1)
linked_list.next.next.next = list_node(9)
Solution.deleteNode(to_delete)
|
# make a player object
health = 100
max_health = 100
level = 1
experience = 0
gold = 0
attack = 10
defense = 8
heal = 5
|
health = 100
max_health = 100
level = 1
experience = 0
gold = 0
attack = 10
defense = 8
heal = 5
|
"""Mapping of recipe options to celery configuration directives.
"""
STRING_OPTIONS = {
'broker-url' : 'BROKER_URL',
'broker-password': 'BROKER_PASSWORD',
'broker-transport': 'BROKER_TRANSPORT',
'broker-user': 'BROKER_USER',
'broker-vhost': 'BROKER_VHOST',
'celeryd-log-file': 'CELERYD_LOG_FILE',
'celeryd-log-level': 'CELERYD_LOG_LEVEL',
'result-backend': 'CELERY_RESULT_BACKEND',
'result-dburi': 'CELERY_RESULT_DBURI',
'broker-host': 'BROKER_HOST',
}
NUMERIC_OPTIONS = {
'broker-port': 'BROKER_PORT',
'celeryd-concurrency': 'CELERYD_CONCURRENCY',
}
SEQUENCE_OPTIONS = {
'imports': 'CELERY_IMPORTS',
}
|
"""Mapping of recipe options to celery configuration directives.
"""
string_options = {'broker-url': 'BROKER_URL', 'broker-password': 'BROKER_PASSWORD', 'broker-transport': 'BROKER_TRANSPORT', 'broker-user': 'BROKER_USER', 'broker-vhost': 'BROKER_VHOST', 'celeryd-log-file': 'CELERYD_LOG_FILE', 'celeryd-log-level': 'CELERYD_LOG_LEVEL', 'result-backend': 'CELERY_RESULT_BACKEND', 'result-dburi': 'CELERY_RESULT_DBURI', 'broker-host': 'BROKER_HOST'}
numeric_options = {'broker-port': 'BROKER_PORT', 'celeryd-concurrency': 'CELERYD_CONCURRENCY'}
sequence_options = {'imports': 'CELERY_IMPORTS'}
|
f_1 = open("C:/repos/voc2coco/sample/valid.txt", "r")
#f_2 = open("sample_ouput.txt", "r")
f_3 = open("C:/repos/voc2coco/sample/annpaths_list.txt", "w")
for l_1 in f_1:
result = "./sample/Annotations/" + l_1.replace("\n", "") + ".xml\n"
f_3.writelines(result)
f_1.close()
#f_2.close()
f_3.close()
|
f_1 = open('C:/repos/voc2coco/sample/valid.txt', 'r')
f_3 = open('C:/repos/voc2coco/sample/annpaths_list.txt', 'w')
for l_1 in f_1:
result = './sample/Annotations/' + l_1.replace('\n', '') + '.xml\n'
f_3.writelines(result)
f_1.close()
f_3.close()
|
MAGIC = 'NICKNAME' # used for 3 way handshake
ENCODING = 'utf-8'
"""
Localhost and port to be used for testing the server
"""
HOST_NAME = '127.0.0.1'
PORT_NUM = 55555
|
magic = 'NICKNAME'
encoding = 'utf-8'
'\nLocalhost and port to be used for testing the server\n'
host_name = '127.0.0.1'
port_num = 55555
|
"""
General IaC constants
"""
PARAMETER_OVERRIDES = "parameter_overrides"
GLOBAL_PARAMETER_OVERRIDES = "global_parameter_overrides"
|
"""
General IaC constants
"""
parameter_overrides = 'parameter_overrides'
global_parameter_overrides = 'global_parameter_overrides'
|
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
ConsumedThing and related entities.
.. autosummary::
:toctree: _consumed
wotpy.wot.consumed.interaction_map
wotpy.wot.consumed.thing
"""
|
"""
ConsumedThing and related entities.
.. autosummary::
:toctree: _consumed
wotpy.wot.consumed.interaction_map
wotpy.wot.consumed.thing
"""
|
'''
9. Write a Python program to display the examination schedule. (extract the date from exam_st_date).
exam_st_date = (11, 12, 2014)
Sample Output : The examination will start from : 11 / 12 / 2014
Tools:slicing,indexing
'''
#9
exam_st_date = (11, 12, 2014)
x = exam_st_date[0]
y = exam_st_date[1]
z = exam_st_date[2]
a = (x,y,z,)
print('The examination will start from : %s / %s / %s' %(a) )
|
"""
9. Write a Python program to display the examination schedule. (extract the date from exam_st_date).
exam_st_date = (11, 12, 2014)
Sample Output : The examination will start from : 11 / 12 / 2014
Tools:slicing,indexing
"""
exam_st_date = (11, 12, 2014)
x = exam_st_date[0]
y = exam_st_date[1]
z = exam_st_date[2]
a = (x, y, z)
print('The examination will start from : %s / %s / %s' % a)
|
"""
Given two strings str1 and str2,
find the length of the smallest string which has both, str1 and str2 as its sub-sequences.
Example:
Input:
2
abcd xycd
efgh jghi
Output:
6
6
SOLUTION:
if str[i] == str[j], then dp[i][j] = dp[i-1][j-1] + 1
else, dp[i][j] = min(dp[i-1][j], dp[i][j-1]) + 1
Be careful when i-1 or j-1 is less than 0!
ALTERNATE:
Answer = len1 + len2 - (Length of LCS of two given strings)
"""
def shortest_common_supersequence(string1, string2):
len1 = len(string1)
len2 = len(string2)
dp_array = [[0] * (len2) for row in range(len1)]
for i in range(0, len(dp_array)):
for j in range(0, len(dp_array[0])):
if string1[i] == string2[j]:
# CAREFUL: Note the `else max(i, j)`.
# Also `j+1` and `i+1` in the next lines.
dp_array[i][j] = (
dp_array[i - 1][j - 1] if (i >= 1 and j >= 1) else max(i, j)
)
else:
up = dp_array[i - 1][j] if i >= 1 else j + 1
left = dp_array[i][j - 1] if j >= 1 else i + 1
dp_array[i][j] = min(left, up)
dp_array[i][j] += 1
return dp_array[len1 - 1][len2 - 1]
def main():
str1 = "abcd"
str2 = "xycd"
ans = shortest_common_supersequence(str1, str2)
print(ans)
main()
|
"""
Given two strings str1 and str2,
find the length of the smallest string which has both, str1 and str2 as its sub-sequences.
Example:
Input:
2
abcd xycd
efgh jghi
Output:
6
6
SOLUTION:
if str[i] == str[j], then dp[i][j] = dp[i-1][j-1] + 1
else, dp[i][j] = min(dp[i-1][j], dp[i][j-1]) + 1
Be careful when i-1 or j-1 is less than 0!
ALTERNATE:
Answer = len1 + len2 - (Length of LCS of two given strings)
"""
def shortest_common_supersequence(string1, string2):
len1 = len(string1)
len2 = len(string2)
dp_array = [[0] * len2 for row in range(len1)]
for i in range(0, len(dp_array)):
for j in range(0, len(dp_array[0])):
if string1[i] == string2[j]:
dp_array[i][j] = dp_array[i - 1][j - 1] if i >= 1 and j >= 1 else max(i, j)
else:
up = dp_array[i - 1][j] if i >= 1 else j + 1
left = dp_array[i][j - 1] if j >= 1 else i + 1
dp_array[i][j] = min(left, up)
dp_array[i][j] += 1
return dp_array[len1 - 1][len2 - 1]
def main():
str1 = 'abcd'
str2 = 'xycd'
ans = shortest_common_supersequence(str1, str2)
print(ans)
main()
|
#!/usr/bin/env python
# encoding: utf-8
"""
@author:nikan
@file: Request.py
@time: 28/02/2018 12:19 PM
"""
|
"""
@author:nikan
@file: Request.py
@time: 28/02/2018 12:19 PM
"""
|
VERSION = 1
SERVICE_URL_BASE = "/api/v" + VERSION + "/"
PG_HOST = "localhost"
PG_USER = "postgres"
PG_PASSWORD = "postgres"
PG_DB = "postgres"
PG_CONNECTION = "host=" + PG_HOST + " user=" + PG_USER + " password=" + PG_PASSWORD + " dbname=" + PG_DB
|
version = 1
service_url_base = '/api/v' + VERSION + '/'
pg_host = 'localhost'
pg_user = 'postgres'
pg_password = 'postgres'
pg_db = 'postgres'
pg_connection = 'host=' + PG_HOST + ' user=' + PG_USER + ' password=' + PG_PASSWORD + ' dbname=' + PG_DB
|
def findAllSubset(nums):
if len(nums) == 0:
return []
results = []
cur_num = nums[0]
results.append({cur_num})
rest_set = nums[1:]
tmp = findAllSubset(rest_set)
for ele in tmp:
results.append({cur_num} | ele)
results = results + tmp
return results
def findAllSubset_bit(nums):
length = len(nums)
L = 1 << length # 2 ^ len
result = []
for i in range(L):
temp = []
for j in range(length):
if (i & (1 << j)) != 0:
temp.append(nums[j])
result.append(temp)
return result
a = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13]
result = findAllSubset_bit(a)
print(len(result))
print(result)
|
def find_all_subset(nums):
if len(nums) == 0:
return []
results = []
cur_num = nums[0]
results.append({cur_num})
rest_set = nums[1:]
tmp = find_all_subset(rest_set)
for ele in tmp:
results.append({cur_num} | ele)
results = results + tmp
return results
def find_all_subset_bit(nums):
length = len(nums)
l = 1 << length
result = []
for i in range(L):
temp = []
for j in range(length):
if i & 1 << j != 0:
temp.append(nums[j])
result.append(temp)
return result
a = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13]
result = find_all_subset_bit(a)
print(len(result))
print(result)
|
class Queue:
def __init__(self) -> None:
self.items = []
def push(self, item):
self.items.append(item)
def pop(self):
if self.size() > 0:
return self.items.pop(0)
return None
def peek(self):
if self.size() > 0:
return self.items[0]
return None
def size(self):
return len(self.items)
def print(self):
print("Contents of Queue(Right is open) are: ")
for i in self.items:
print(i, end=' ')
print()
if __name__=='__main__':
queue = Queue()
queue.push(2)
queue.push(5)
queue.push(4)
queue.print()
print("Peeked element: " + str(queue.peek()))
print("Popped element: " + str(queue.pop()))
print("Popped element: " + str(queue.pop()))
queue.print()
|
class Queue:
def __init__(self) -> None:
self.items = []
def push(self, item):
self.items.append(item)
def pop(self):
if self.size() > 0:
return self.items.pop(0)
return None
def peek(self):
if self.size() > 0:
return self.items[0]
return None
def size(self):
return len(self.items)
def print(self):
print('Contents of Queue(Right is open) are: ')
for i in self.items:
print(i, end=' ')
print()
if __name__ == '__main__':
queue = queue()
queue.push(2)
queue.push(5)
queue.push(4)
queue.print()
print('Peeked element: ' + str(queue.peek()))
print('Popped element: ' + str(queue.pop()))
print('Popped element: ' + str(queue.pop()))
queue.print()
|
class Maths:
"""Math methods akin to fractions"""
def mdc(self, x, y):
"""Greatest Common Divisor"""
while y != 0:
resto = x % y
x = y
y = resto
return x
def controlador(op,x,y):
"""controls the calculation based on operator"""
if op=="+":
return x+y
elif op=="-":
return x-y
elif op=="/":
return x/y
elif op=="*":
return x*y
|
class Maths:
"""Math methods akin to fractions"""
def mdc(self, x, y):
"""Greatest Common Divisor"""
while y != 0:
resto = x % y
x = y
y = resto
return x
def controlador(op, x, y):
"""controls the calculation based on operator"""
if op == '+':
return x + y
elif op == '-':
return x - y
elif op == '/':
return x / y
elif op == '*':
return x * y
|
t=int(input())
while(t):
t-=1
b,s,m=map(int,input().split())
print(b+s-m)
|
t = int(input())
while t:
t -= 1
(b, s, m) = map(int, input().split())
print(b + s - m)
|
# Example 1 - names.py: Output three names to the console.
names = ['Issac Newton', 'Marie Curie', 'Albert Einstein']
for name in names:
print(name)
|
names = ['Issac Newton', 'Marie Curie', 'Albert Einstein']
for name in names:
print(name)
|
# Definition for singly-linked list.
# class ListNode:
# def __init__(self, x):
# self.val = x
# self.next = None
class Solution:
def isPalindrome(self, head: ListNode) -> bool:
def reverseList(head: ListNode) -> ListNode:
if head == None:
return
prev = head
curr = head.next
head.next = None
while curr != None:
nextNode = curr.next
curr.next = prev
prev = curr
curr = nextNode
return prev
if head == None:
return True
l = 0
start = head
# First we find length of list
while start != None:
l += 1
start = start.next
# Now we try two pointer approach
secondStart, secondHead = l//2, head
count = 0
while count < secondStart:
count += 1
secondHead = secondHead.next
# if l is odd, we skip the center
secondHead = secondHead.next if l % 2 != 0 else secondHead
# Finally check for palindrome
first, second = head, reverseList(secondHead)
while second != None:
if first.val == second.val:
first = first.next
second = second.next
else:
return False
return True
|
class Solution:
def is_palindrome(self, head: ListNode) -> bool:
def reverse_list(head: ListNode) -> ListNode:
if head == None:
return
prev = head
curr = head.next
head.next = None
while curr != None:
next_node = curr.next
curr.next = prev
prev = curr
curr = nextNode
return prev
if head == None:
return True
l = 0
start = head
while start != None:
l += 1
start = start.next
(second_start, second_head) = (l // 2, head)
count = 0
while count < secondStart:
count += 1
second_head = secondHead.next
second_head = secondHead.next if l % 2 != 0 else secondHead
(first, second) = (head, reverse_list(secondHead))
while second != None:
if first.val == second.val:
first = first.next
second = second.next
else:
return False
return True
|
# Copyright 2021 Edoardo Riggio
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# Complexity: O(2^n)
# This algorithm checks if s can be obtained by adding a subset
# of the elements of A together in a set A with n elements there
# are 2^n subsets. The worst case is where the number is never
# found, which means that the entire set of subsets has to be
# checked. The best case is the one in which the len(A) == 0 or
# s == 0 in both cases the answer is found immediately.
def sum_a(A, s):
return sum_r(A, s, 0, len(A)-1)
def sum_r(A, s, b, e):
if b > e and s == 0:
return True
elif b <= e and sum_r(A, s, b + 1, e):
return True
elif b <= e and sum_r(A, s-A[b], b+1, e):
return True
else:
return False
arr = [1, 1, 1, 1, 1, 5, 4, 8, 6, 3, 10, 4, 8]
print(sum_a(arr, 0))
|
def sum_a(A, s):
return sum_r(A, s, 0, len(A) - 1)
def sum_r(A, s, b, e):
if b > e and s == 0:
return True
elif b <= e and sum_r(A, s, b + 1, e):
return True
elif b <= e and sum_r(A, s - A[b], b + 1, e):
return True
else:
return False
arr = [1, 1, 1, 1, 1, 5, 4, 8, 6, 3, 10, 4, 8]
print(sum_a(arr, 0))
|
"""External dependencies for Dossier."""
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
load("@bazel_tools//tools/build_defs/repo:jvm.bzl", "jvm_maven_import_external")
def dossier_repositories(
omit_aopalliance_aopalliance = False,
omit_args4j_args4j = False,
omit_com_google_auto_auto_common = False,
omit_com_google_auto_factory_auto_factory = False,
omit_com_google_auto_service_auto_service = False,
omit_com_google_auto_value_auto_value = False,
omit_com_google_auto_value_auto_value_annotations = False,
omit_com_google_googlejavaformat_google_java_format = False,
omit_com_squareup_javapoet = False,
omit_com_google_javascript_closure_compiler_unshaded = False,
omit_com_google_javascript_closure_compiler_externs = False,
omit_com_google_template_soy = False,
omit_com_atlassian_commonmark_commonmark = False,
omit_com_google_code_gson_gson = False,
omit_com_google_errorprone_error_prone_annotations = False,
omit_com_google_errorprone_javac_shaded = False,
omit_com_google_guava_guava = False,
omit_com_google_guava_failureaccess_jar = False,
omit_com_google_inject_guice = False,
omit_com_google_inject_extensions_guice_assistedinject = False,
omit_com_google_inject_extensions_guice_multibindings = False,
omit_com_ibm_icu_icu4j = False,
omit_org_hamcrest_hamcrest_core = False,
omit_javax_inject_javax_inject = False,
omit_com_google_jimfs_jimfs = False,
omit_org_jsoup_jsoup = False,
omit_com_google_code_findbugs_jsr305 = False,
omit_junit_junit = False,
omit_org_mockito_mockito_all = False,
omit_com_googlecode_owasp_java_html_sanitizer_owasp_java_html_sanitizer = False,
omit_com_google_common_html_types_types = False,
omit_com_google_truth_truth = False,
omit_com_google_truth_extensions_truth_proto_extension = False,
omit_com_google_truth_extensions_truth_liteproto_extension = False,
omit_com_googlecode_java_diff_utils_diffutils = False):
"""Imports dependencies for Doessier rules"""
if not omit_aopalliance_aopalliance:
aopalliance_aopalliance()
if not omit_args4j_args4j:
args4j_args4j()
if not omit_com_google_auto_auto_common:
com_google_auto_auto_common()
if not omit_com_google_auto_factory_auto_factory:
com_google_auto_factory_auto_factory()
if not omit_com_google_auto_service_auto_service:
com_google_auto_service_auto_service()
if not omit_com_google_auto_value_auto_value:
com_google_auto_value_auto_value()
if not omit_com_google_auto_value_auto_value_annotations:
com_google_auto_value_auto_value_annotations()
if not omit_com_google_googlejavaformat_google_java_format:
com_google_googlejavaformat_google_java_format()
if not omit_com_squareup_javapoet:
com_squareup_javapoet()
if not omit_com_google_javascript_closure_compiler_unshaded:
com_google_javascript_closure_compiler_unshaded()
if not omit_com_google_javascript_closure_compiler_externs:
com_google_javascript_closure_compiler_externs()
if not omit_com_google_template_soy:
com_google_template_soy()
if not omit_com_atlassian_commonmark_commonmark:
com_atlassian_commonmark_commonmark()
if not omit_com_google_code_gson_gson:
com_google_code_gson_gson()
if not omit_com_google_errorprone_error_prone_annotations:
com_google_errorprone_error_prone_annotations()
if not omit_com_google_errorprone_javac_shaded:
com_google_errorprone_javac_shaded()
if not omit_com_google_guava_guava:
com_google_guava_guava()
if not omit_com_google_guava_failureaccess_jar:
com_google_guava_failureaccess_jar()
if not omit_com_google_inject_guice:
com_google_inject_guice()
if not omit_com_google_inject_extensions_guice_assistedinject:
com_google_inject_extensions_guice_assistedinject()
if not omit_com_google_inject_extensions_guice_multibindings:
com_google_inject_extensions_guice_multibindings()
if not omit_com_ibm_icu_icu4j:
com_ibm_icu_icu4j()
if not omit_org_hamcrest_hamcrest_core:
org_hamcrest_hamcrest_core()
if not omit_javax_inject_javax_inject:
javax_inject_javax_inject()
if not omit_com_google_jimfs_jimfs:
com_google_jimfs_jimfs()
if not omit_org_jsoup_jsoup:
org_jsoup_jsoup()
if not omit_com_google_code_findbugs_jsr305:
com_google_code_findbugs_jsr305()
if not omit_junit_junit:
junit_junit()
if not omit_org_mockito_mockito_all:
org_mockito_mockito_all()
if not omit_com_googlecode_owasp_java_html_sanitizer_owasp_java_html_sanitizer:
com_googlecode_owasp_java_html_sanitizer_owasp_java_html_sanitizer()
if not omit_com_google_common_html_types_types:
com_google_common_html_types_types()
if not omit_com_google_truth_truth:
com_google_truth_truth()
if not omit_com_google_truth_extensions_truth_proto_extension:
com_google_truth_extensions_truth_proto_extension()
if not omit_com_google_truth_extensions_truth_liteproto_extension:
com_google_truth_extensions_truth_liteproto_extension()
if not omit_com_googlecode_java_diff_utils_diffutils:
com_googlecode_java_diff_utils_diffutils()
def aopalliance_aopalliance():
jvm_maven_import_external(
name = "aopalliance_aopalliance",
artifact = "aopalliance:aopalliance:1.0",
artifact_sha256 = "0addec670fedcd3f113c5c8091d783280d23f75e3acb841b61a9cdb079376a08",
server_urls = ["http://central.maven.org/maven2"],
)
def args4j_args4j():
jvm_maven_import_external(
name = "args4j_args4j",
artifact = "args4j:args4j:2.0.26",
artifact_sha256 = "989bda2321ea073a03686e9d4437ea4928c72c99f993f9ca6fab24615f0771a4",
server_urls = ["http://central.maven.org/maven2"],
)
def com_google_auto_auto_common():
jvm_maven_import_external(
name = "com_google_auto_auto_common",
artifact = "com.google.auto:auto-common:0.10",
artifact_sha256 = "b876b5fddaceeba7d359667f6c4fb8c6f8658da1ab902ffb79ec9a415deede5f",
server_urls = ["http://central.maven.org/maven2"],
)
def com_google_auto_factory_auto_factory():
jvm_maven_import_external(
name = "com_google_auto_factory_auto_factory",
artifact = "com.google.auto.factory:auto-factory:1.0-beta6",
artifact_sha256 = "bd26a49f93e5de5fcc8507e1a6554814adc9d5cb682f9df9057f8aadf60d2c91",
server_urls = ["http://central.maven.org/maven2"],
)
def com_google_auto_service_auto_service():
jvm_maven_import_external(
name = "com_google_auto_service_auto_service",
artifact = "com.google.auto.service:auto-service:1.0-rc4",
artifact_sha256 = "e422d49c312fd2031222e7306e8108c1b4118eb9c049f1b51eca280bed87e924",
server_urls = ["http://central.maven.org/maven2"],
)
def com_google_auto_value_auto_value():
jvm_maven_import_external(
name = "com_google_auto_value_auto_value",
artifact = "com.google.auto.value:auto-value:1.6.3",
artifact_sha256 = "0aa5463f85a210aacecbebaa45e61b79ec17e903218d79f8db9e1efde06b3c7f",
server_urls = ["http://central.maven.org/maven2"],
)
def com_google_auto_value_auto_value_annotations():
jvm_maven_import_external(
name = "com_google_auto_value_auto_value_annotations",
artifact = "com.google.auto.value:auto-value-annotations:1.6.3",
artifact_sha256 = "0e951fee8c31f60270bc46553a8586001b7b93dbb12aec06373aa99a150392c0",
server_urls = ["http://central.maven.org/maven2"],
)
def com_google_googlejavaformat_google_java_format():
jvm_maven_import_external(
name = "com_google_googlejavaformat_google_java_format",
artifact = "com.google.googlejavaformat:google-java-format:1.7",
artifact_sha256 = "0e13edfb91fc373075790beb1dc1f36e0b7ddd11865696f928ef63e328781cc2",
server_urls = ["http://central.maven.org/maven2"],
)
def com_squareup_javapoet():
jvm_maven_import_external(
name = "com_squareup_javapoet",
artifact = "com.squareup:javapoet:1.11.1",
artifact_sha256 = "9cbf2107be499ec6e95afd36b58e3ca122a24166cdd375732e51267d64058e90",
server_urls = ["http://central.maven.org/maven2"],
)
def com_google_javascript_closure_compiler_unshaded():
jvm_maven_import_external(
name = "com_google_javascript_closure_compiler_unshaded",
artifact = "com.google.javascript:closure-compiler-unshaded:v20190819",
artifact_sha256 = "d8e74a9b26ada0bd190c7946fcdbcc2e342c5144d7fe37a9278688ff3a36241d",
server_urls = ["http://central.maven.org/maven2"],
)
def com_google_javascript_closure_compiler_externs():
jvm_maven_import_external(
name = "com_google_javascript_closure_compiler_externs",
artifact = "com.google.javascript:closure-compiler-externs:v20190819",
artifact_sha256 = "84a40e90d3252ea3b19f1c5d2c8a17b33f92566479c62a38848ae4f9d332914f",
server_urls = ["http://central.maven.org/maven2"],
)
def com_google_template_soy():
jvm_maven_import_external(
name = "com_google_template_soy",
artifact = "com.google.template:soy:2019-08-22",
artifact_sha256 = "417107a07db1324769ac9fc381846ef3b7723309f55a1229502c4323235f453a",
server_urls = ["http://central.maven.org/maven2"],
)
def com_atlassian_commonmark_commonmark():
jvm_maven_import_external(
name = "com_atlassian_commonmark_commonmark",
artifact = "com.atlassian.commonmark:commonmark:0.12.1",
artifact_sha256 = "3ebc3a3ee06f6b5b17f449e28a0c2ae6f60aa25dcf6b10b69d9dce42ed00b024",
server_urls = ["http://central.maven.org/maven2"],
)
def com_google_code_gson_gson():
jvm_maven_import_external(
name = "com_google_code_gson_gson",
artifact = "com.google.code.gson:gson:2.8.5",
artifact_sha256 = "233a0149fc365c9f6edbd683cfe266b19bdc773be98eabdaf6b3c924b48e7d81",
server_urls = ["http://central.maven.org/maven2"],
)
def com_google_errorprone_error_prone_annotations():
jvm_maven_import_external(
name = "com_google_errorprone_error_prone_annotations",
artifact = "com.google.errorprone:error_prone_annotations:2.3.3",
artifact_sha256 = "ec59f1b702d9afc09e8c3929f5c42777dec623a6ea2731ac694332c7d7680f5a",
server_urls = ["http://central.maven.org/maven2"],
)
def com_google_errorprone_javac_shaded():
jvm_maven_import_external(
name = "com_google_errorprone_javac_shaded",
artifact = "com.google.errorprone:javac-shaded:9-dev-r4023-3",
artifact_sha256 = "65bfccf60986c47fbc17c9ebab0be626afc41741e0a6ec7109e0768817a36f30",
server_urls = ["http://central.maven.org/maven2"],
)
def com_google_guava_guava():
jvm_maven_import_external(
name = "com_google_guava_guava",
artifact = "com.google.guava:guava:27.0.1-jre",
artifact_sha256 = "e1c814fd04492a27c38e0317eabeaa1b3e950ec8010239e400fe90ad6c9107b4",
server_urls = ["http://central.maven.org/maven2"],
)
def com_google_guava_failureaccess_jar():
jvm_maven_import_external(
name = "com_google_guava_failureaccess_jar",
artifact = "com.google.guava:failureaccess:jar:1.0.1",
artifact_sha256 = "a171ee4c734dd2da837e4b16be9df4661afab72a41adaf31eb84dfdaf936ca26",
server_urls = ["http://central.maven.org/maven2"],
)
def com_google_inject_guice():
jvm_maven_import_external(
name = "com_google_inject_guice",
artifact = "com.google.inject:guice:4.1.0",
artifact_sha256 = "9b9df27a5b8c7864112b4137fd92b36c3f1395bfe57be42fedf2f520ead1a93e",
server_urls = ["http://central.maven.org/maven2"],
)
def com_google_inject_extensions_guice_assistedinject():
jvm_maven_import_external(
name = "com_google_inject_extensions_guice_assistedinject",
artifact = "com.google.inject.extensions:guice-assistedinject:4.1.0",
artifact_sha256 = "663728123fb9a6b79ea39ae289e5d56b4113e1b8e9413eb792f91e53a6dd5868",
server_urls = ["http://central.maven.org/maven2"],
)
def com_google_inject_extensions_guice_multibindings():
jvm_maven_import_external(
name = "com_google_inject_extensions_guice_multibindings",
artifact = "com.google.inject.extensions:guice-multibindings:4.1.0",
artifact_sha256 = "592773a4c745cc87ba37fa0647fed8126c7e474349c603c9f229aa25d3ef5448",
server_urls = ["http://central.maven.org/maven2"],
)
def com_ibm_icu_icu4j():
jvm_maven_import_external(
name = "com_ibm_icu_icu4j",
artifact = "com.ibm.icu:icu4j:51.1",
artifact_sha256 = "0df1166825c48007b163569e28a8e4121c95bc33c5dcfa83e167be5d20482212",
server_urls = ["http://central.maven.org/maven2"],
)
def org_hamcrest_hamcrest_core():
jvm_maven_import_external(
name = "org_hamcrest_hamcrest_core",
artifact = "org.hamcrest:hamcrest-core:1.3",
artifact_sha256 = "66fdef91e9739348df7a096aa384a5685f4e875584cce89386a7a47251c4d8e9",
server_urls = ["http://central.maven.org/maven2"],
)
def javax_inject_javax_inject():
jvm_maven_import_external(
name = "javax_inject_javax_inject",
artifact = "javax.inject:javax.inject:1",
artifact_sha256 = "91c77044a50c481636c32d916fd89c9118a72195390452c81065080f957de7ff",
server_urls = ["http://central.maven.org/maven2"],
)
def com_google_jimfs_jimfs():
jvm_maven_import_external(
name = "com_google_jimfs_jimfs",
artifact = "com.google.jimfs:jimfs:1.0",
artifact_sha256 = "b1d8bd55390b8859933e099ef3298b589081aa185c71645f4c7666982f10b714",
server_urls = ["http://central.maven.org/maven2"],
)
def org_jsoup_jsoup():
jvm_maven_import_external(
name = "org_jsoup_jsoup",
artifact = "org.jsoup:jsoup:1.8.3",
artifact_sha256 = "abeaf34795a4de70f72aed6de5966d2955ec7eb348eeb813324f23c999575473",
server_urls = ["http://central.maven.org/maven2"],
)
def com_google_code_findbugs_jsr305():
jvm_maven_import_external(
name = "com_google_code_findbugs_jsr305",
artifact = "com.google.code.findbugs:jsr305:1.3.9",
artifact_sha256 = "905721a0eea90a81534abb7ee6ef4ea2e5e645fa1def0a5cd88402df1b46c9ed",
server_urls = ["http://central.maven.org/maven2"],
)
def junit_junit():
jvm_maven_import_external(
name = "junit_junit",
artifact = "junit:junit:4.12",
artifact_sha256 = "59721f0805e223d84b90677887d9ff567dc534d7c502ca903c0c2b17f05c116a",
server_urls = ["http://central.maven.org/maven2"],
)
def org_mockito_mockito_all():
jvm_maven_import_external(
name = "org_mockito_mockito_all",
artifact = "org.mockito:mockito-all:1.10.19",
artifact_sha256 = "d1a7a7ef14b3db5c0fc3e0a63a81b374b510afe85add9f7984b97911f4c70605",
server_urls = ["http://central.maven.org/maven2"],
)
def com_googlecode_owasp_java_html_sanitizer_owasp_java_html_sanitizer():
jvm_maven_import_external(
name = "com_googlecode_owasp_java_html_sanitizer_owasp_java_html_sanitizer",
artifact = "com.googlecode.owasp-java-html-sanitizer:owasp-java-html-sanitizer:r239",
artifact_sha256 = "a3270c26f4b77925665773234e5d70642269a1127a39623f7535ed597dc10f69",
server_urls = ["http://central.maven.org/maven2"],
)
def com_google_common_html_types_types():
jvm_maven_import_external(
name = "com_google_common_html_types_types",
artifact = "com.google.common.html.types:types:1.0.8",
artifact_sha256 = "7d81d47117284457c8760f9372a47d6cdf45398d9e9a3dfbfd108fc57937aebe",
server_urls = ["http://central.maven.org/maven2"],
)
def com_google_truth_truth():
jvm_maven_import_external(
name = "com_google_truth_truth",
artifact = "com.google.truth:truth:0.42",
artifact_sha256 = "dd652bdf0c4427c59848ac0340fd6b6d20c2cbfaa3c569a8366604dbcda5214c",
server_urls = ["http://central.maven.org/maven2"],
)
def com_google_truth_extensions_truth_proto_extension():
jvm_maven_import_external(
name = "com_google_truth_extensions_truth_proto_extension",
artifact = "com.google.truth.extensions:truth-proto-extension:0.42",
artifact_sha256 = "017fc2fa836a4d90fb7cbf10a42d7065f0ca58901dbe52c91b8a371556e99776",
server_urls = ["http://central.maven.org/maven2"],
)
def com_google_truth_extensions_truth_liteproto_extension():
jvm_maven_import_external(
name = "com_google_truth_extensions_truth_liteproto_extension",
artifact = "com.google.truth.extensions:truth-liteproto-extension:0.42",
artifact_sha256 = "5f9e2ac1004cd782159b0407f633bebbedc580968bcbb9d0e0b165bbe81f4b80",
server_urls = ["http://central.maven.org/maven2"],
)
def com_googlecode_java_diff_utils_diffutils():
jvm_maven_import_external(
name = "com_googlecode_java_diff_utils_diffutils",
artifact = "com.googlecode.java-diff-utils:diffutils:1.3.0",
artifact_sha256 = "61ba4dc49adca95243beaa0569adc2a23aedb5292ae78aa01186fa782ebdc5c2",
server_urls = ["http://central.maven.org/maven2"],
)
|
"""External dependencies for Dossier."""
load('@bazel_tools//tools/build_defs/repo:http.bzl', 'http_archive')
load('@bazel_tools//tools/build_defs/repo:jvm.bzl', 'jvm_maven_import_external')
def dossier_repositories(omit_aopalliance_aopalliance=False, omit_args4j_args4j=False, omit_com_google_auto_auto_common=False, omit_com_google_auto_factory_auto_factory=False, omit_com_google_auto_service_auto_service=False, omit_com_google_auto_value_auto_value=False, omit_com_google_auto_value_auto_value_annotations=False, omit_com_google_googlejavaformat_google_java_format=False, omit_com_squareup_javapoet=False, omit_com_google_javascript_closure_compiler_unshaded=False, omit_com_google_javascript_closure_compiler_externs=False, omit_com_google_template_soy=False, omit_com_atlassian_commonmark_commonmark=False, omit_com_google_code_gson_gson=False, omit_com_google_errorprone_error_prone_annotations=False, omit_com_google_errorprone_javac_shaded=False, omit_com_google_guava_guava=False, omit_com_google_guava_failureaccess_jar=False, omit_com_google_inject_guice=False, omit_com_google_inject_extensions_guice_assistedinject=False, omit_com_google_inject_extensions_guice_multibindings=False, omit_com_ibm_icu_icu4j=False, omit_org_hamcrest_hamcrest_core=False, omit_javax_inject_javax_inject=False, omit_com_google_jimfs_jimfs=False, omit_org_jsoup_jsoup=False, omit_com_google_code_findbugs_jsr305=False, omit_junit_junit=False, omit_org_mockito_mockito_all=False, omit_com_googlecode_owasp_java_html_sanitizer_owasp_java_html_sanitizer=False, omit_com_google_common_html_types_types=False, omit_com_google_truth_truth=False, omit_com_google_truth_extensions_truth_proto_extension=False, omit_com_google_truth_extensions_truth_liteproto_extension=False, omit_com_googlecode_java_diff_utils_diffutils=False):
"""Imports dependencies for Doessier rules"""
if not omit_aopalliance_aopalliance:
aopalliance_aopalliance()
if not omit_args4j_args4j:
args4j_args4j()
if not omit_com_google_auto_auto_common:
com_google_auto_auto_common()
if not omit_com_google_auto_factory_auto_factory:
com_google_auto_factory_auto_factory()
if not omit_com_google_auto_service_auto_service:
com_google_auto_service_auto_service()
if not omit_com_google_auto_value_auto_value:
com_google_auto_value_auto_value()
if not omit_com_google_auto_value_auto_value_annotations:
com_google_auto_value_auto_value_annotations()
if not omit_com_google_googlejavaformat_google_java_format:
com_google_googlejavaformat_google_java_format()
if not omit_com_squareup_javapoet:
com_squareup_javapoet()
if not omit_com_google_javascript_closure_compiler_unshaded:
com_google_javascript_closure_compiler_unshaded()
if not omit_com_google_javascript_closure_compiler_externs:
com_google_javascript_closure_compiler_externs()
if not omit_com_google_template_soy:
com_google_template_soy()
if not omit_com_atlassian_commonmark_commonmark:
com_atlassian_commonmark_commonmark()
if not omit_com_google_code_gson_gson:
com_google_code_gson_gson()
if not omit_com_google_errorprone_error_prone_annotations:
com_google_errorprone_error_prone_annotations()
if not omit_com_google_errorprone_javac_shaded:
com_google_errorprone_javac_shaded()
if not omit_com_google_guava_guava:
com_google_guava_guava()
if not omit_com_google_guava_failureaccess_jar:
com_google_guava_failureaccess_jar()
if not omit_com_google_inject_guice:
com_google_inject_guice()
if not omit_com_google_inject_extensions_guice_assistedinject:
com_google_inject_extensions_guice_assistedinject()
if not omit_com_google_inject_extensions_guice_multibindings:
com_google_inject_extensions_guice_multibindings()
if not omit_com_ibm_icu_icu4j:
com_ibm_icu_icu4j()
if not omit_org_hamcrest_hamcrest_core:
org_hamcrest_hamcrest_core()
if not omit_javax_inject_javax_inject:
javax_inject_javax_inject()
if not omit_com_google_jimfs_jimfs:
com_google_jimfs_jimfs()
if not omit_org_jsoup_jsoup:
org_jsoup_jsoup()
if not omit_com_google_code_findbugs_jsr305:
com_google_code_findbugs_jsr305()
if not omit_junit_junit:
junit_junit()
if not omit_org_mockito_mockito_all:
org_mockito_mockito_all()
if not omit_com_googlecode_owasp_java_html_sanitizer_owasp_java_html_sanitizer:
com_googlecode_owasp_java_html_sanitizer_owasp_java_html_sanitizer()
if not omit_com_google_common_html_types_types:
com_google_common_html_types_types()
if not omit_com_google_truth_truth:
com_google_truth_truth()
if not omit_com_google_truth_extensions_truth_proto_extension:
com_google_truth_extensions_truth_proto_extension()
if not omit_com_google_truth_extensions_truth_liteproto_extension:
com_google_truth_extensions_truth_liteproto_extension()
if not omit_com_googlecode_java_diff_utils_diffutils:
com_googlecode_java_diff_utils_diffutils()
def aopalliance_aopalliance():
jvm_maven_import_external(name='aopalliance_aopalliance', artifact='aopalliance:aopalliance:1.0', artifact_sha256='0addec670fedcd3f113c5c8091d783280d23f75e3acb841b61a9cdb079376a08', server_urls=['http://central.maven.org/maven2'])
def args4j_args4j():
jvm_maven_import_external(name='args4j_args4j', artifact='args4j:args4j:2.0.26', artifact_sha256='989bda2321ea073a03686e9d4437ea4928c72c99f993f9ca6fab24615f0771a4', server_urls=['http://central.maven.org/maven2'])
def com_google_auto_auto_common():
jvm_maven_import_external(name='com_google_auto_auto_common', artifact='com.google.auto:auto-common:0.10', artifact_sha256='b876b5fddaceeba7d359667f6c4fb8c6f8658da1ab902ffb79ec9a415deede5f', server_urls=['http://central.maven.org/maven2'])
def com_google_auto_factory_auto_factory():
jvm_maven_import_external(name='com_google_auto_factory_auto_factory', artifact='com.google.auto.factory:auto-factory:1.0-beta6', artifact_sha256='bd26a49f93e5de5fcc8507e1a6554814adc9d5cb682f9df9057f8aadf60d2c91', server_urls=['http://central.maven.org/maven2'])
def com_google_auto_service_auto_service():
jvm_maven_import_external(name='com_google_auto_service_auto_service', artifact='com.google.auto.service:auto-service:1.0-rc4', artifact_sha256='e422d49c312fd2031222e7306e8108c1b4118eb9c049f1b51eca280bed87e924', server_urls=['http://central.maven.org/maven2'])
def com_google_auto_value_auto_value():
jvm_maven_import_external(name='com_google_auto_value_auto_value', artifact='com.google.auto.value:auto-value:1.6.3', artifact_sha256='0aa5463f85a210aacecbebaa45e61b79ec17e903218d79f8db9e1efde06b3c7f', server_urls=['http://central.maven.org/maven2'])
def com_google_auto_value_auto_value_annotations():
jvm_maven_import_external(name='com_google_auto_value_auto_value_annotations', artifact='com.google.auto.value:auto-value-annotations:1.6.3', artifact_sha256='0e951fee8c31f60270bc46553a8586001b7b93dbb12aec06373aa99a150392c0', server_urls=['http://central.maven.org/maven2'])
def com_google_googlejavaformat_google_java_format():
jvm_maven_import_external(name='com_google_googlejavaformat_google_java_format', artifact='com.google.googlejavaformat:google-java-format:1.7', artifact_sha256='0e13edfb91fc373075790beb1dc1f36e0b7ddd11865696f928ef63e328781cc2', server_urls=['http://central.maven.org/maven2'])
def com_squareup_javapoet():
jvm_maven_import_external(name='com_squareup_javapoet', artifact='com.squareup:javapoet:1.11.1', artifact_sha256='9cbf2107be499ec6e95afd36b58e3ca122a24166cdd375732e51267d64058e90', server_urls=['http://central.maven.org/maven2'])
def com_google_javascript_closure_compiler_unshaded():
jvm_maven_import_external(name='com_google_javascript_closure_compiler_unshaded', artifact='com.google.javascript:closure-compiler-unshaded:v20190819', artifact_sha256='d8e74a9b26ada0bd190c7946fcdbcc2e342c5144d7fe37a9278688ff3a36241d', server_urls=['http://central.maven.org/maven2'])
def com_google_javascript_closure_compiler_externs():
jvm_maven_import_external(name='com_google_javascript_closure_compiler_externs', artifact='com.google.javascript:closure-compiler-externs:v20190819', artifact_sha256='84a40e90d3252ea3b19f1c5d2c8a17b33f92566479c62a38848ae4f9d332914f', server_urls=['http://central.maven.org/maven2'])
def com_google_template_soy():
jvm_maven_import_external(name='com_google_template_soy', artifact='com.google.template:soy:2019-08-22', artifact_sha256='417107a07db1324769ac9fc381846ef3b7723309f55a1229502c4323235f453a', server_urls=['http://central.maven.org/maven2'])
def com_atlassian_commonmark_commonmark():
jvm_maven_import_external(name='com_atlassian_commonmark_commonmark', artifact='com.atlassian.commonmark:commonmark:0.12.1', artifact_sha256='3ebc3a3ee06f6b5b17f449e28a0c2ae6f60aa25dcf6b10b69d9dce42ed00b024', server_urls=['http://central.maven.org/maven2'])
def com_google_code_gson_gson():
jvm_maven_import_external(name='com_google_code_gson_gson', artifact='com.google.code.gson:gson:2.8.5', artifact_sha256='233a0149fc365c9f6edbd683cfe266b19bdc773be98eabdaf6b3c924b48e7d81', server_urls=['http://central.maven.org/maven2'])
def com_google_errorprone_error_prone_annotations():
jvm_maven_import_external(name='com_google_errorprone_error_prone_annotations', artifact='com.google.errorprone:error_prone_annotations:2.3.3', artifact_sha256='ec59f1b702d9afc09e8c3929f5c42777dec623a6ea2731ac694332c7d7680f5a', server_urls=['http://central.maven.org/maven2'])
def com_google_errorprone_javac_shaded():
jvm_maven_import_external(name='com_google_errorprone_javac_shaded', artifact='com.google.errorprone:javac-shaded:9-dev-r4023-3', artifact_sha256='65bfccf60986c47fbc17c9ebab0be626afc41741e0a6ec7109e0768817a36f30', server_urls=['http://central.maven.org/maven2'])
def com_google_guava_guava():
jvm_maven_import_external(name='com_google_guava_guava', artifact='com.google.guava:guava:27.0.1-jre', artifact_sha256='e1c814fd04492a27c38e0317eabeaa1b3e950ec8010239e400fe90ad6c9107b4', server_urls=['http://central.maven.org/maven2'])
def com_google_guava_failureaccess_jar():
jvm_maven_import_external(name='com_google_guava_failureaccess_jar', artifact='com.google.guava:failureaccess:jar:1.0.1', artifact_sha256='a171ee4c734dd2da837e4b16be9df4661afab72a41adaf31eb84dfdaf936ca26', server_urls=['http://central.maven.org/maven2'])
def com_google_inject_guice():
jvm_maven_import_external(name='com_google_inject_guice', artifact='com.google.inject:guice:4.1.0', artifact_sha256='9b9df27a5b8c7864112b4137fd92b36c3f1395bfe57be42fedf2f520ead1a93e', server_urls=['http://central.maven.org/maven2'])
def com_google_inject_extensions_guice_assistedinject():
jvm_maven_import_external(name='com_google_inject_extensions_guice_assistedinject', artifact='com.google.inject.extensions:guice-assistedinject:4.1.0', artifact_sha256='663728123fb9a6b79ea39ae289e5d56b4113e1b8e9413eb792f91e53a6dd5868', server_urls=['http://central.maven.org/maven2'])
def com_google_inject_extensions_guice_multibindings():
jvm_maven_import_external(name='com_google_inject_extensions_guice_multibindings', artifact='com.google.inject.extensions:guice-multibindings:4.1.0', artifact_sha256='592773a4c745cc87ba37fa0647fed8126c7e474349c603c9f229aa25d3ef5448', server_urls=['http://central.maven.org/maven2'])
def com_ibm_icu_icu4j():
jvm_maven_import_external(name='com_ibm_icu_icu4j', artifact='com.ibm.icu:icu4j:51.1', artifact_sha256='0df1166825c48007b163569e28a8e4121c95bc33c5dcfa83e167be5d20482212', server_urls=['http://central.maven.org/maven2'])
def org_hamcrest_hamcrest_core():
jvm_maven_import_external(name='org_hamcrest_hamcrest_core', artifact='org.hamcrest:hamcrest-core:1.3', artifact_sha256='66fdef91e9739348df7a096aa384a5685f4e875584cce89386a7a47251c4d8e9', server_urls=['http://central.maven.org/maven2'])
def javax_inject_javax_inject():
jvm_maven_import_external(name='javax_inject_javax_inject', artifact='javax.inject:javax.inject:1', artifact_sha256='91c77044a50c481636c32d916fd89c9118a72195390452c81065080f957de7ff', server_urls=['http://central.maven.org/maven2'])
def com_google_jimfs_jimfs():
jvm_maven_import_external(name='com_google_jimfs_jimfs', artifact='com.google.jimfs:jimfs:1.0', artifact_sha256='b1d8bd55390b8859933e099ef3298b589081aa185c71645f4c7666982f10b714', server_urls=['http://central.maven.org/maven2'])
def org_jsoup_jsoup():
jvm_maven_import_external(name='org_jsoup_jsoup', artifact='org.jsoup:jsoup:1.8.3', artifact_sha256='abeaf34795a4de70f72aed6de5966d2955ec7eb348eeb813324f23c999575473', server_urls=['http://central.maven.org/maven2'])
def com_google_code_findbugs_jsr305():
jvm_maven_import_external(name='com_google_code_findbugs_jsr305', artifact='com.google.code.findbugs:jsr305:1.3.9', artifact_sha256='905721a0eea90a81534abb7ee6ef4ea2e5e645fa1def0a5cd88402df1b46c9ed', server_urls=['http://central.maven.org/maven2'])
def junit_junit():
jvm_maven_import_external(name='junit_junit', artifact='junit:junit:4.12', artifact_sha256='59721f0805e223d84b90677887d9ff567dc534d7c502ca903c0c2b17f05c116a', server_urls=['http://central.maven.org/maven2'])
def org_mockito_mockito_all():
jvm_maven_import_external(name='org_mockito_mockito_all', artifact='org.mockito:mockito-all:1.10.19', artifact_sha256='d1a7a7ef14b3db5c0fc3e0a63a81b374b510afe85add9f7984b97911f4c70605', server_urls=['http://central.maven.org/maven2'])
def com_googlecode_owasp_java_html_sanitizer_owasp_java_html_sanitizer():
jvm_maven_import_external(name='com_googlecode_owasp_java_html_sanitizer_owasp_java_html_sanitizer', artifact='com.googlecode.owasp-java-html-sanitizer:owasp-java-html-sanitizer:r239', artifact_sha256='a3270c26f4b77925665773234e5d70642269a1127a39623f7535ed597dc10f69', server_urls=['http://central.maven.org/maven2'])
def com_google_common_html_types_types():
jvm_maven_import_external(name='com_google_common_html_types_types', artifact='com.google.common.html.types:types:1.0.8', artifact_sha256='7d81d47117284457c8760f9372a47d6cdf45398d9e9a3dfbfd108fc57937aebe', server_urls=['http://central.maven.org/maven2'])
def com_google_truth_truth():
jvm_maven_import_external(name='com_google_truth_truth', artifact='com.google.truth:truth:0.42', artifact_sha256='dd652bdf0c4427c59848ac0340fd6b6d20c2cbfaa3c569a8366604dbcda5214c', server_urls=['http://central.maven.org/maven2'])
def com_google_truth_extensions_truth_proto_extension():
jvm_maven_import_external(name='com_google_truth_extensions_truth_proto_extension', artifact='com.google.truth.extensions:truth-proto-extension:0.42', artifact_sha256='017fc2fa836a4d90fb7cbf10a42d7065f0ca58901dbe52c91b8a371556e99776', server_urls=['http://central.maven.org/maven2'])
def com_google_truth_extensions_truth_liteproto_extension():
jvm_maven_import_external(name='com_google_truth_extensions_truth_liteproto_extension', artifact='com.google.truth.extensions:truth-liteproto-extension:0.42', artifact_sha256='5f9e2ac1004cd782159b0407f633bebbedc580968bcbb9d0e0b165bbe81f4b80', server_urls=['http://central.maven.org/maven2'])
def com_googlecode_java_diff_utils_diffutils():
jvm_maven_import_external(name='com_googlecode_java_diff_utils_diffutils', artifact='com.googlecode.java-diff-utils:diffutils:1.3.0', artifact_sha256='61ba4dc49adca95243beaa0569adc2a23aedb5292ae78aa01186fa782ebdc5c2', server_urls=['http://central.maven.org/maven2'])
|
def previously_valid_data(data: list, invalid_data: set):
"""
Return a list of valid data from a input list. When an element is in the
invalid data set, is must be replaced with the previous valid data.
>>> previously_valid_data(['0', '2', None, '1', None, '0', None, '2'], {None})
['0', '2', '2', '1', '1', '0', '0', '2']
>>> previously_valid_data(['0', '2', 'None', '1', None, '0', None, '2'], {None, 'None'})
['0', '2', '2', '1', '1', '0', '0', '2']
"""
last_valid_data = None
result = list()
for elem in data:
if elem not in invalid_data:
last_valid_data = elem
result.append(last_valid_data)
return result
if __name__ == '__main__':
input()
input()
data_ = input().split()
print(' '.join(previously_valid_data(data_, {'-1'})))
|
def previously_valid_data(data: list, invalid_data: set):
"""
Return a list of valid data from a input list. When an element is in the
invalid data set, is must be replaced with the previous valid data.
>>> previously_valid_data(['0', '2', None, '1', None, '0', None, '2'], {None})
['0', '2', '2', '1', '1', '0', '0', '2']
>>> previously_valid_data(['0', '2', 'None', '1', None, '0', None, '2'], {None, 'None'})
['0', '2', '2', '1', '1', '0', '0', '2']
"""
last_valid_data = None
result = list()
for elem in data:
if elem not in invalid_data:
last_valid_data = elem
result.append(last_valid_data)
return result
if __name__ == '__main__':
input()
input()
data_ = input().split()
print(' '.join(previously_valid_data(data_, {'-1'})))
|
class My_Rectangle:
def __init__(self, region, is_white=False, model=(None, None)):
self.region = region
self.is_white = is_white
self.model = model
def is_white(self):
return self.is_white
def get_model(self):
return self.model
|
class My_Rectangle:
def __init__(self, region, is_white=False, model=(None, None)):
self.region = region
self.is_white = is_white
self.model = model
def is_white(self):
return self.is_white
def get_model(self):
return self.model
|
i=0
arr=[65, 0, 0, 0, 66, 0, 0, 0, 67, 0, 0, 0, 68, 0, 0, 0, 69, 0, 0, 0, 0, 0, 0, 0, 70, 0, 0, 0, 71, 0, 0, 0, 72, 0, 0, 0, 73, 0, 0, 0, 75, 0, 0, 0, 0, 0, 0, 0, 76, 0, 0, 0, 77, 0, 0, 0, 78, 0, 0, 0, 79, 0, 0, 0, 80, 0, 0, 0, 0, 0, 0, 0, 81, 0, 0, 0, 82, 0, 0, 0, 83, 0, 0, 0, 84, 0, 0, 0, 85, 0, 0, 0, 0, 0, 0, 0, 86, 0, 0, 0, 87, 0, 0, 0, 88, 0, 0, 0, 89, 0, 0, 0, 90]
password=['a']*14
newarr="B1A1A3A5A2C4C4B5B4D3A5E1B4C1"
while(i<28):
for j in range(5):
for k in range(5):
if((newarr[i] == chr(j+65)) and (newarr[i+1] == chr(k+49))):
password[i//2]=chr(arr[(j*6+k)*4])
i+=2
password="".join(password)
print(password)
|
i = 0
arr = [65, 0, 0, 0, 66, 0, 0, 0, 67, 0, 0, 0, 68, 0, 0, 0, 69, 0, 0, 0, 0, 0, 0, 0, 70, 0, 0, 0, 71, 0, 0, 0, 72, 0, 0, 0, 73, 0, 0, 0, 75, 0, 0, 0, 0, 0, 0, 0, 76, 0, 0, 0, 77, 0, 0, 0, 78, 0, 0, 0, 79, 0, 0, 0, 80, 0, 0, 0, 0, 0, 0, 0, 81, 0, 0, 0, 82, 0, 0, 0, 83, 0, 0, 0, 84, 0, 0, 0, 85, 0, 0, 0, 0, 0, 0, 0, 86, 0, 0, 0, 87, 0, 0, 0, 88, 0, 0, 0, 89, 0, 0, 0, 90]
password = ['a'] * 14
newarr = 'B1A1A3A5A2C4C4B5B4D3A5E1B4C1'
while i < 28:
for j in range(5):
for k in range(5):
if newarr[i] == chr(j + 65) and newarr[i + 1] == chr(k + 49):
password[i // 2] = chr(arr[(j * 6 + k) * 4])
i += 2
password = ''.join(password)
print(password)
|
class Hand:
# poker hand
__POINTS = {
'2': 2,
'3': 3,
'4': 4,
'5': 5,
'6': 6,
'7': 7,
'8': 8,
'9': 9,
'10': 10,
'J': 11,
'Q': 12,
'K': 13,
'A': 14
}
__RANKING = {
'straightflush': 9,
'quads': 8,
'fullhouse': 7,
'flush': 6,
'straight': 5,
'trips': 4,
'twopair': 3,
'pair': 2,
'highcard': 1
}
def __init__(self, deck, players):
self.__deck = deck
self.__players = players
self.__board = []
self.__hands = []
self.__inprogress = False
self.__playerlimit = playerlimit - 1
self.__bettingengine = Betting(self.__players, blindinterval)
self.__blinds = (0, 0)
self.__allowedactions = ()
def addplayer(self, player):
# limit to 8 players
if self.__inprogress == True:
raise GameException('Cannot add players, game in progress')
if len(self.__players) > self.__playerlimit:
raise GameException('Cannot add players, game is full')
for p in self.__players:
if p.name() == player.name():
raise GameException('Cannot add player, already a player with that name')
if p.getid() == player.getid():
raise GameException('Cannot add player, you are already registered')
self.__players.append(player)
def players(self):
return self.__players
def newhand(self):
for player in self.__players:
player.reset()
self.__deck.reset()
self.__deck.shuffle()
self.__board = []
self.__hands = []
self.__inprogress = True
self.__blinds = self.__bettingengine.newhand()
self.__allowedactions = ()
def getblinds(self):
return self.__blinds
def hands(self):
return self.__hands
def setboard(self, board):
self.__board = board[:]
def deal(self):
for i in range(0, 2):
for player in self.__players:
player.deal(self.__deck.card())
self.__bettingengine.newround(Betting.PREFLOP)
def flop(self):
if self.playersinhand() < 2:
raise GameOverException('Hand is won already')
for i in range (0, 3):
self.__board.append(self.__deck.card())
self.__bettingengine.newround(Betting.FLOP)
def showboard(self):
return self.__board
def burnandturn(self):
self.__deck.card() # burn one
self.__board.append(self.__deck.card()) # turn one
def turn(self):
if self.playersinhand() < 2:
raise GameOverException('Hand is won already')
self.__bettingengine.newround(Betting.TURN)
self.burnandturn()
def river(self):
if self.playersinhand() < 2:
raise GameOverException('Hand is won already')
self.__bettingengine.newround(Betting.RIVER)
self.burnandturn()
def rotatedealer(self):
player = self.__players.pop(0)
self.__players.append(player)
def nextbet(self):
if self.playersinhand() <= 1:
return None
nextbet = self.__bettingengine.nextbet()
if nextbet == None:
self.__allowedactions = ()
return None
self.__allowedactions = nextbet[1]
return nextbet
def playeract(self, player, action, amount=0):
if action not in self.__allowedactions:
raise GameException('Action not allowed')
self.__bettingengine.act(player, action, amount)
def getcurrentbet(self):
return self.__bettingengine.currentbet()
def playersinhand(self):
no_of_players = 0
for player in self.__players:
if player.isactive():
no_of_players = no_of_players + 1
return no_of_players
def getpot(self):
return self.__bettingengine.getpot()
def winner(self):
hands = []
for player in self.__players:
if player.isactive() == False:
continue
hands.append(self.makehand(player))
self.__hands = hands[:]
winners = []
for hand in hands:
if winners and hand[1] > winners[0][1]: # pick the biggest ranking
winners = []
winners.append(hand)
elif winners and hand[1] < winners[0][1]:
pass
else:
winners.append(hand)
if len(winners) > 1: # equal rank, look for high card
dedup = []
i = 0
highvalue = 0
while i < 5:
for hand in winners:
cards = hand[2]
if cards[i].points() > highvalue:
dedup = []
dedup.append(hand)
highvalue = cards[i].points()
elif cards[i].points() == highvalue:
dedup.append(hand)
winners = dedup[:]
if len(winners) == 1:
break
dedup = []
highvalue = 0
i = i + 1
the_pot = self.__bettingengine.getpot()
while the_pot > 0:
for winner in winners:
for player in self.__players:
if player.name() == winner[0]:
player.addchips(1)
the_pot = the_pot - 1
if the_pot < 1:
break
if the_pot < 1:
break
return winners
def makehand(self, player):
hand = self.__board + player.hand()
sortedhand = []
for card in hand:
card.setpoints(self.__POINTS[card.value()])
sortedhand.append(card)
sortedhand = sorted(sortedhand, key=lambda card: (14 - card.points()))
flushhand = self.isflush(sortedhand)
if flushhand:
straighthand = self.isstraight(flushhand)
if straighthand:
return (player.name(), self.__RANKING['straightflush'], straighthand)
else:
return (player.name(), self.__RANKING['flush'], flushhand[0:5])
quadshand = self.isquads(sortedhand)
if quadshand:
return (player.name(), self.__RANKING['quads'], quadshand)
fullhousehand = self.isfullhouse(sortedhand)
if fullhousehand:
return (player.name(), self.__RANKING['fullhouse'], fullhousehand)
straighthand = self.isstraight(sortedhand)
if straighthand:
return (player.name(), self.__RANKING['straight'], straighthand)
tripshand = self.istrips(sortedhand)
if tripshand:
return (player.name(), self.__RANKING['trips'], tripshand)
twopairhand = self.istwopair(sortedhand)
if twopairhand:
return (player.name(), self.__RANKING['twopair'], twopairhand)
pairhand = self.ispair(sortedhand)
if pairhand:
return (player.name(), self.__RANKING['pair'], pairhand)
return (player.name(), self.__RANKING['highcard'], sortedhand[0:5])
def isquads(self, hand):
count = {}
quadhand = False
for card in hand:
if card.points() not in count:
count[card.points()] = []
count[card.points()].append(card)
for k, v in count.items():
if len(v) > 3:
quadhand = v
break
if quadhand:
for k in sorted(count, reverse=True):
if len(count[k]) < 4:
quadhand.append(count[k][0])
break
return quadhand
def isfullhouse(self, hand):
count = {}
fhhand = False
for card in hand:
if card.points() not in count:
count[card.points()] = []
count[card.points()].append(card)
sortedcount = sorted(count, reverse=True)
for k in sortedcount:
if len(count[k]) == 3:
fhhand = count[k]
break
if fhhand:
for k in sortedcount:
if len(count[k]) == 2:
fhhand = fhhand + count[k]
break
if fhhand and len(fhhand) == 5:
return fhhand
else:
return False
def isflush(self, hand):
clubs = []
diamonds = []
hearts = []
spades = []
for card in hand:
if card.suit() == 'C':
clubs.append(card)
elif card.suit() == 'D':
diamonds.append(card)
elif card.suit() == 'H':
hearts.append(card)
else:
spades.append(card)
# got a flush?
if len(clubs) > 4:
return clubs
elif len(diamonds) > 4:
return diamonds
elif len(hearts) > 4:
return hearts
elif len(spades) > 4:
return spades
return False
def isstraight(self, hand):
topcard = hand[0]
newhand = hand[:]
if topcard.value() == 'A':
# ace can be low too
bottomcard = Card(topcard.value(), topcard.suit())
bottomcard.setpoints(1)
newhand.append(bottomcard)
straight = []
lastvalue = 0
for card in newhand:
if straight == [] or card.points() == (lastvalue - 1):
straight.append(card)
elif card.points() == lastvalue:
continue
else:
straight = []
straight.append(card)
if len(straight) > 4:
return straight
lastvalue = card.points()
return False
def istrips(self, hand):
count = {}
tripshand = False
for card in hand:
if card.points() not in count:
count[card.points()] = []
count[card.points()].append(card)
for k in sorted(count, reverse=True):
if len(count[k]) == 3:
tripshand = count[k]
break
if tripshand:
for card in hand:
if card not in tripshand:
tripshand.append(card);
if len(tripshand) > 4:
break
return tripshand
def istwopair(self, hand):
count = {}
tphand = []
for card in hand:
if card.points() not in count:
count[card.points()] = []
count[card.points()].append(card)
for k in sorted(count, reverse=True):
if len(count[k]) == 2:
tphand = tphand + count[k]
if len(tphand) == 4:
break
if len(tphand) == 4:
for card in hand:
if card not in tphand:
tphand.append(card);
break
else:
tphand = []
return tphand
def ispair(self, hand):
count = {}
pairhand = []
for card in hand:
if card.points() not in count:
count[card.points()] = []
count[card.points()].append(card)
for k in sorted(count, reverse=True):
if len(count[k]) == 2:
pairhand = count[k]
break
if pairhand:
for card in hand:
if card not in pairhand:
pairhand.append(card);
if len(pairhand) > 4:
break
return pairhand
|
class Hand:
__points = {'2': 2, '3': 3, '4': 4, '5': 5, '6': 6, '7': 7, '8': 8, '9': 9, '10': 10, 'J': 11, 'Q': 12, 'K': 13, 'A': 14}
__ranking = {'straightflush': 9, 'quads': 8, 'fullhouse': 7, 'flush': 6, 'straight': 5, 'trips': 4, 'twopair': 3, 'pair': 2, 'highcard': 1}
def __init__(self, deck, players):
self.__deck = deck
self.__players = players
self.__board = []
self.__hands = []
self.__inprogress = False
self.__playerlimit = playerlimit - 1
self.__bettingengine = betting(self.__players, blindinterval)
self.__blinds = (0, 0)
self.__allowedactions = ()
def addplayer(self, player):
if self.__inprogress == True:
raise game_exception('Cannot add players, game in progress')
if len(self.__players) > self.__playerlimit:
raise game_exception('Cannot add players, game is full')
for p in self.__players:
if p.name() == player.name():
raise game_exception('Cannot add player, already a player with that name')
if p.getid() == player.getid():
raise game_exception('Cannot add player, you are already registered')
self.__players.append(player)
def players(self):
return self.__players
def newhand(self):
for player in self.__players:
player.reset()
self.__deck.reset()
self.__deck.shuffle()
self.__board = []
self.__hands = []
self.__inprogress = True
self.__blinds = self.__bettingengine.newhand()
self.__allowedactions = ()
def getblinds(self):
return self.__blinds
def hands(self):
return self.__hands
def setboard(self, board):
self.__board = board[:]
def deal(self):
for i in range(0, 2):
for player in self.__players:
player.deal(self.__deck.card())
self.__bettingengine.newround(Betting.PREFLOP)
def flop(self):
if self.playersinhand() < 2:
raise game_over_exception('Hand is won already')
for i in range(0, 3):
self.__board.append(self.__deck.card())
self.__bettingengine.newround(Betting.FLOP)
def showboard(self):
return self.__board
def burnandturn(self):
self.__deck.card()
self.__board.append(self.__deck.card())
def turn(self):
if self.playersinhand() < 2:
raise game_over_exception('Hand is won already')
self.__bettingengine.newround(Betting.TURN)
self.burnandturn()
def river(self):
if self.playersinhand() < 2:
raise game_over_exception('Hand is won already')
self.__bettingengine.newround(Betting.RIVER)
self.burnandturn()
def rotatedealer(self):
player = self.__players.pop(0)
self.__players.append(player)
def nextbet(self):
if self.playersinhand() <= 1:
return None
nextbet = self.__bettingengine.nextbet()
if nextbet == None:
self.__allowedactions = ()
return None
self.__allowedactions = nextbet[1]
return nextbet
def playeract(self, player, action, amount=0):
if action not in self.__allowedactions:
raise game_exception('Action not allowed')
self.__bettingengine.act(player, action, amount)
def getcurrentbet(self):
return self.__bettingengine.currentbet()
def playersinhand(self):
no_of_players = 0
for player in self.__players:
if player.isactive():
no_of_players = no_of_players + 1
return no_of_players
def getpot(self):
return self.__bettingengine.getpot()
def winner(self):
hands = []
for player in self.__players:
if player.isactive() == False:
continue
hands.append(self.makehand(player))
self.__hands = hands[:]
winners = []
for hand in hands:
if winners and hand[1] > winners[0][1]:
winners = []
winners.append(hand)
elif winners and hand[1] < winners[0][1]:
pass
else:
winners.append(hand)
if len(winners) > 1:
dedup = []
i = 0
highvalue = 0
while i < 5:
for hand in winners:
cards = hand[2]
if cards[i].points() > highvalue:
dedup = []
dedup.append(hand)
highvalue = cards[i].points()
elif cards[i].points() == highvalue:
dedup.append(hand)
winners = dedup[:]
if len(winners) == 1:
break
dedup = []
highvalue = 0
i = i + 1
the_pot = self.__bettingengine.getpot()
while the_pot > 0:
for winner in winners:
for player in self.__players:
if player.name() == winner[0]:
player.addchips(1)
the_pot = the_pot - 1
if the_pot < 1:
break
if the_pot < 1:
break
return winners
def makehand(self, player):
hand = self.__board + player.hand()
sortedhand = []
for card in hand:
card.setpoints(self.__POINTS[card.value()])
sortedhand.append(card)
sortedhand = sorted(sortedhand, key=lambda card: 14 - card.points())
flushhand = self.isflush(sortedhand)
if flushhand:
straighthand = self.isstraight(flushhand)
if straighthand:
return (player.name(), self.__RANKING['straightflush'], straighthand)
else:
return (player.name(), self.__RANKING['flush'], flushhand[0:5])
quadshand = self.isquads(sortedhand)
if quadshand:
return (player.name(), self.__RANKING['quads'], quadshand)
fullhousehand = self.isfullhouse(sortedhand)
if fullhousehand:
return (player.name(), self.__RANKING['fullhouse'], fullhousehand)
straighthand = self.isstraight(sortedhand)
if straighthand:
return (player.name(), self.__RANKING['straight'], straighthand)
tripshand = self.istrips(sortedhand)
if tripshand:
return (player.name(), self.__RANKING['trips'], tripshand)
twopairhand = self.istwopair(sortedhand)
if twopairhand:
return (player.name(), self.__RANKING['twopair'], twopairhand)
pairhand = self.ispair(sortedhand)
if pairhand:
return (player.name(), self.__RANKING['pair'], pairhand)
return (player.name(), self.__RANKING['highcard'], sortedhand[0:5])
def isquads(self, hand):
count = {}
quadhand = False
for card in hand:
if card.points() not in count:
count[card.points()] = []
count[card.points()].append(card)
for (k, v) in count.items():
if len(v) > 3:
quadhand = v
break
if quadhand:
for k in sorted(count, reverse=True):
if len(count[k]) < 4:
quadhand.append(count[k][0])
break
return quadhand
def isfullhouse(self, hand):
count = {}
fhhand = False
for card in hand:
if card.points() not in count:
count[card.points()] = []
count[card.points()].append(card)
sortedcount = sorted(count, reverse=True)
for k in sortedcount:
if len(count[k]) == 3:
fhhand = count[k]
break
if fhhand:
for k in sortedcount:
if len(count[k]) == 2:
fhhand = fhhand + count[k]
break
if fhhand and len(fhhand) == 5:
return fhhand
else:
return False
def isflush(self, hand):
clubs = []
diamonds = []
hearts = []
spades = []
for card in hand:
if card.suit() == 'C':
clubs.append(card)
elif card.suit() == 'D':
diamonds.append(card)
elif card.suit() == 'H':
hearts.append(card)
else:
spades.append(card)
if len(clubs) > 4:
return clubs
elif len(diamonds) > 4:
return diamonds
elif len(hearts) > 4:
return hearts
elif len(spades) > 4:
return spades
return False
def isstraight(self, hand):
topcard = hand[0]
newhand = hand[:]
if topcard.value() == 'A':
bottomcard = card(topcard.value(), topcard.suit())
bottomcard.setpoints(1)
newhand.append(bottomcard)
straight = []
lastvalue = 0
for card in newhand:
if straight == [] or card.points() == lastvalue - 1:
straight.append(card)
elif card.points() == lastvalue:
continue
else:
straight = []
straight.append(card)
if len(straight) > 4:
return straight
lastvalue = card.points()
return False
def istrips(self, hand):
count = {}
tripshand = False
for card in hand:
if card.points() not in count:
count[card.points()] = []
count[card.points()].append(card)
for k in sorted(count, reverse=True):
if len(count[k]) == 3:
tripshand = count[k]
break
if tripshand:
for card in hand:
if card not in tripshand:
tripshand.append(card)
if len(tripshand) > 4:
break
return tripshand
def istwopair(self, hand):
count = {}
tphand = []
for card in hand:
if card.points() not in count:
count[card.points()] = []
count[card.points()].append(card)
for k in sorted(count, reverse=True):
if len(count[k]) == 2:
tphand = tphand + count[k]
if len(tphand) == 4:
break
if len(tphand) == 4:
for card in hand:
if card not in tphand:
tphand.append(card)
break
else:
tphand = []
return tphand
def ispair(self, hand):
count = {}
pairhand = []
for card in hand:
if card.points() not in count:
count[card.points()] = []
count[card.points()].append(card)
for k in sorted(count, reverse=True):
if len(count[k]) == 2:
pairhand = count[k]
break
if pairhand:
for card in hand:
if card not in pairhand:
pairhand.append(card)
if len(pairhand) > 4:
break
return pairhand
|
# Copyright 2019 The Bazel Authors. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
"""Defines the emulator_toolchain rule to allow configuring emulator binaries to use."""
EmulatorInfo = provider(
doc = "Information used to launch a specific version of the emulator.",
fields = {
"emulator": "A label for the emulator launcher executable at stable version.",
"emulator_deps": "Additional files required to launch the stable version of emulator.",
"emulator_head": "A label for the emulator launcher executable at head version.",
"emulator_head_deps": "Additional files required to launch the head version of emulator.",
},
)
def _emulator_toolchain_impl(ctx):
toolchain_info = platform_common.ToolchainInfo(
info = EmulatorInfo(
emulator = ctx.attr.emulator,
emulator_deps = ctx.attr.emulator_deps,
emulator_head = ctx.attr.emulator_head,
emulator_head_deps = ctx.attr.emulator_head_deps,
),
)
return [toolchain_info]
emulator_toolchain = rule(
implementation = _emulator_toolchain_impl,
attrs = {
"emulator": attr.label(
allow_files = True,
cfg = "host",
executable = True,
mandatory = True,
),
"emulator_deps": attr.label_list(
allow_files = True,
cfg = "host",
),
"emulator_head": attr.label(
allow_files = True,
cfg = "host",
executable = True,
),
"emulator_head_deps": attr.label_list(
allow_files = True,
cfg = "host",
),
},
)
|
"""Defines the emulator_toolchain rule to allow configuring emulator binaries to use."""
emulator_info = provider(doc='Information used to launch a specific version of the emulator.', fields={'emulator': 'A label for the emulator launcher executable at stable version.', 'emulator_deps': 'Additional files required to launch the stable version of emulator.', 'emulator_head': 'A label for the emulator launcher executable at head version.', 'emulator_head_deps': 'Additional files required to launch the head version of emulator.'})
def _emulator_toolchain_impl(ctx):
toolchain_info = platform_common.ToolchainInfo(info=emulator_info(emulator=ctx.attr.emulator, emulator_deps=ctx.attr.emulator_deps, emulator_head=ctx.attr.emulator_head, emulator_head_deps=ctx.attr.emulator_head_deps))
return [toolchain_info]
emulator_toolchain = rule(implementation=_emulator_toolchain_impl, attrs={'emulator': attr.label(allow_files=True, cfg='host', executable=True, mandatory=True), 'emulator_deps': attr.label_list(allow_files=True, cfg='host'), 'emulator_head': attr.label(allow_files=True, cfg='host', executable=True), 'emulator_head_deps': attr.label_list(allow_files=True, cfg='host')})
|
GlobalMarketCommandSchema = """
{
"namespace": "confluent.io.examples.serialization.avro",
"name": "CBPCommand",
"type": "record",
"fields": [
{"name": "timestamp", "type": "long", "logicalType": "timestamp-millis"},
{"name": "pair", "type": "string"},
{"name": "command", "type": {
"type": "enum",
"name": "Command",
"symbols": ["Tick", "OrderBook"]
}
}
]
}
"""
|
global_market_command_schema = '\n{\n "namespace": "confluent.io.examples.serialization.avro",\n "name": "CBPCommand",\n "type": "record",\n "fields": [ \n {"name": "timestamp", "type": "long", "logicalType": "timestamp-millis"}, \n {"name": "pair", "type": "string"},\n {"name": "command", "type": {\n "type": "enum",\n "name": "Command",\n "symbols": ["Tick", "OrderBook"]\n }\n }\n ]\n}\n'
|
a = [1, 2, 3]
b = [*a, 4, 5, 6]
print(b)
|
a = [1, 2, 3]
b = [*a, 4, 5, 6]
print(b)
|
EXPECTED = {'EUTRA-InterNodeDefinitions': {'extensibility-implied': False,
'imports': {'EUTRA-RRC-Definitions': ['ARFCN-ValueEUTRA',
'AntennaInfoCommon',
'C-RNTI',
'CellIdentity',
'DL-DCCH-Message',
'MasterInformationBlock',
'MeasConfig',
'PhysCellId',
'RadioResourceConfigDedicated',
'SecurityAlgorithmConfig',
'ShortMAC-I',
'SystemInformationBlockType1',
'SystemInformationBlockType2',
'UE-CapabilityRAT-ContainerList',
'UECapabilityInformation']},
'object-classes': {},
'object-sets': {},
'tags': 'AUTOMATIC',
'types': {'AS-Config': {'members': [{'name': 'sourceMeasConfig',
'type': 'MeasConfig'},
{'name': 'sourceRadioResourceConfig',
'type': 'RadioResourceConfigDedicated'},
{'name': 'sourceSecurityAlgorithmConfig',
'type': 'SecurityAlgorithmConfig'},
{'name': 'sourceUE-Identity',
'type': 'C-RNTI'},
{'name': 'sourceMasterInformationBlock',
'type': 'MasterInformationBlock'},
{'name': 'sourceSystemInformationBlockType1',
'type': 'SystemInformationBlockType1'},
{'name': 'sourceSystemInformationBlockType2',
'type': 'SystemInformationBlockType2'},
{'name': 'antennaInfoCommon',
'type': 'AntennaInfoCommon'},
{'name': 'sourceDl-CarrierFreq',
'type': 'ARFCN-ValueEUTRA'},
None],
'type': 'SEQUENCE'},
'AS-Context': {'members': [{'name': 'reestablishmentInfo',
'optional': True,
'type': 'ReestablishmentInfo'}],
'type': 'SEQUENCE'},
'AdditionalReestabInfo': {'members': [{'name': 'cellIdentity',
'type': 'CellIdentity'},
{'name': 'key-eNodeB-Star',
'type': 'Key-eNodeB-Star'},
{'name': 'shortMAC-I',
'type': 'ShortMAC-I'}],
'type': 'SEQUENCE'},
'AdditionalReestabInfoList': {'element': {'type': 'AdditionalReestabInfo'},
'size': [(1,
'maxReestabInfo')],
'type': 'SEQUENCE '
'OF'},
'HandoverCommand': {'members': [{'members': [{'members': [{'name': 'handoverCommand-r8',
'type': 'HandoverCommand-r8-IEs'},
{'name': 'spare7',
'type': 'NULL'},
{'name': 'spare6',
'type': 'NULL'},
{'name': 'spare5',
'type': 'NULL'},
{'name': 'spare4',
'type': 'NULL'},
{'name': 'spare3',
'type': 'NULL'},
{'name': 'spare2',
'type': 'NULL'},
{'name': 'spare1',
'type': 'NULL'}],
'name': 'c1',
'type': 'CHOICE'},
{'members': [],
'name': 'criticalExtensionsFuture',
'type': 'SEQUENCE'}],
'name': 'criticalExtensions',
'type': 'CHOICE'}],
'type': 'SEQUENCE'},
'HandoverCommand-r8-IEs': {'members': [{'name': 'handoverCommandMessage',
'type': 'OCTET '
'STRING'},
{'members': [],
'name': 'nonCriticalExtension',
'optional': True,
'type': 'SEQUENCE'}],
'type': 'SEQUENCE'},
'HandoverPreparationInformation': {'members': [{'members': [{'members': [{'name': 'handoverPreparationInformation-r8',
'type': 'HandoverPreparationInformation-r8-IEs'},
{'name': 'spare7',
'type': 'NULL'},
{'name': 'spare6',
'type': 'NULL'},
{'name': 'spare5',
'type': 'NULL'},
{'name': 'spare4',
'type': 'NULL'},
{'name': 'spare3',
'type': 'NULL'},
{'name': 'spare2',
'type': 'NULL'},
{'name': 'spare1',
'type': 'NULL'}],
'name': 'c1',
'type': 'CHOICE'},
{'members': [],
'name': 'criticalExtensionsFuture',
'type': 'SEQUENCE'}],
'name': 'criticalExtensions',
'type': 'CHOICE'}],
'type': 'SEQUENCE'},
'HandoverPreparationInformation-r8-IEs': {'members': [{'name': 'ue-RadioAccessCapabilityInfo',
'type': 'UE-CapabilityRAT-ContainerList'},
{'name': 'as-Config',
'optional': True,
'type': 'AS-Config'},
{'name': 'rrm-Config',
'optional': True,
'type': 'RRM-Config'},
{'name': 'as-Context',
'optional': True,
'type': 'AS-Context'},
{'members': [],
'name': 'nonCriticalExtension',
'optional': True,
'type': 'SEQUENCE'}],
'type': 'SEQUENCE'},
'Key-eNodeB-Star': {'size': [256],
'type': 'BIT '
'STRING'},
'RRM-Config': {'members': [{'name': 'ue-InactiveTime',
'optional': True,
'type': 'ENUMERATED',
'values': [('s1',
0),
('s2',
1),
('s3',
2),
('s5',
3),
('s7',
4),
('s10',
5),
('s15',
6),
('s20',
7),
('s25',
8),
('s30',
9),
('s40',
10),
('s50',
11),
('min1',
12),
('min1s20c',
13),
('min1s40',
14),
('min2',
15),
('min2s30',
16),
('min3',
17),
('min3s30',
18),
('min4',
19),
('min5',
20),
('min6',
21),
('min7',
22),
('min8',
23),
('min9',
24),
('min10',
25),
('min12',
26),
('min14',
27),
('min17',
28),
('min20',
29),
('min24',
30),
('min28',
31),
('min33',
32),
('min38',
33),
('min44',
34),
('min50',
35),
('hr1',
36),
('hr1min30',
37),
('hr2',
38),
('hr2min30',
39),
('hr3',
40),
('hr3min30',
41),
('hr4',
42),
('hr5',
43),
('hr6',
44),
('hr8',
45),
('hr10',
46),
('hr13',
47),
('hr16',
48),
('hr20',
49),
('day1',
50),
('day1hr12',
51),
('day2',
52),
('day2hr12',
53),
('day3',
54),
('day4',
55),
('day5',
56),
('day7',
57),
('day10',
58),
('day14',
59),
('day19',
60),
('day24',
61),
('day30',
62),
('dayMoreThan30',
63)]},
None],
'type': 'SEQUENCE'},
'ReestablishmentInfo': {'members': [{'name': 'sourcePhysCellId',
'type': 'PhysCellId'},
{'name': 'targetCellShortMAC-I',
'type': 'ShortMAC-I'},
{'name': 'additionalReestabInfoList',
'optional': True,
'type': 'AdditionalReestabInfoList'},
None],
'type': 'SEQUENCE'},
'UERadioAccessCapabilityInformation': {'members': [{'members': [{'members': [{'name': 'ueRadioAccessCapabilityInformation-r8',
'type': 'UERadioAccessCapabilityInformation-r8-IEs'},
{'name': 'spare7',
'type': 'NULL'},
{'name': 'spare6',
'type': 'NULL'},
{'name': 'spare5',
'type': 'NULL'},
{'name': 'spare4',
'type': 'NULL'},
{'name': 'spare3',
'type': 'NULL'},
{'name': 'spare2',
'type': 'NULL'},
{'name': 'spare1',
'type': 'NULL'}],
'name': 'c1',
'type': 'CHOICE'},
{'members': [],
'name': 'criticalExtensionsFuture',
'type': 'SEQUENCE'}],
'name': 'criticalExtensions',
'type': 'CHOICE'}],
'type': 'SEQUENCE'},
'UERadioAccessCapabilityInformation-r8-IEs': {'members': [{'name': 'ue-RadioAccessCapabilityInfo',
'type': 'OCTET '
'STRING'},
{'members': [],
'name': 'nonCriticalExtension',
'optional': True,
'type': 'SEQUENCE'}],
'type': 'SEQUENCE'}},
'values': {'maxReestabInfo': {'type': 'INTEGER',
'value': 32}}},
'EUTRA-RRC-Definitions': {'extensibility-implied': False,
'imports': {},
'object-classes': {},
'object-sets': {},
'tags': 'AUTOMATIC',
'types': {'AC-BarringConfig': {'members': [{'name': 'ac-BarringFactor',
'type': 'ENUMERATED',
'values': [('p00',
0),
('p05',
1),
('p10',
2),
('p15',
3),
('p20',
4),
('p25',
5),
('p30',
6),
('p40',
7),
('p50',
8),
('p60',
9),
('p70',
10),
('p75',
11),
('p80',
12),
('p85',
13),
('p90',
14),
('p95',
15)]},
{'name': 'ac-BarringTime',
'type': 'ENUMERATED',
'values': [('s4',
0),
('s8',
1),
('s16',
2),
('s32',
3),
('s64',
4),
('s128',
5),
('s256',
6),
('s512',
7)]},
{'name': 'ac-BarringForSpecialAC',
'size': [5],
'type': 'BIT '
'STRING'}],
'type': 'SEQUENCE'},
'ARFCN-ValueCDMA2000': {'restricted-to': [(0,
2047)],
'type': 'INTEGER'},
'ARFCN-ValueEUTRA': {'restricted-to': [(0,
'maxEARFCN')],
'type': 'INTEGER'},
'ARFCN-ValueGERAN': {'restricted-to': [(0,
1023)],
'type': 'INTEGER'},
'ARFCN-ValueUTRA': {'restricted-to': [(0,
16383)],
'type': 'INTEGER'},
'AccessStratumRelease': {'type': 'ENUMERATED',
'values': [('rel8',
0),
('spare7',
1),
('spare6',
2),
('spare5',
3),
('spare4',
4),
('spare3',
5),
('spare2',
6),
('spare1',
7),
None]},
'AdditionalSpectrumEmission': {'restricted-to': [(1,
32)],
'type': 'INTEGER'},
'AllowedMeasBandwidth': {'type': 'ENUMERATED',
'values': [('mbw6',
0),
('mbw15',
1),
('mbw25',
2),
('mbw50',
3),
('mbw75',
4),
('mbw100',
5)]},
'AntennaInfoCommon': {'members': [{'name': 'antennaPortsCount',
'type': 'ENUMERATED',
'values': [('an1',
0),
('an2',
1),
('an4',
2),
('spare1',
3)]}],
'type': 'SEQUENCE'},
'AntennaInfoDedicated': {'members': [{'name': 'transmissionMode',
'type': 'ENUMERATED',
'values': [('tm1',
0),
('tm2',
1),
('tm3',
2),
('tm4',
3),
('tm5',
4),
('tm6',
5),
('tm7',
6),
('spare1',
7)]},
{'members': [{'name': 'n2TxAntenna-tm3',
'size': [2],
'type': 'BIT '
'STRING'},
{'name': 'n4TxAntenna-tm3',
'size': [4],
'type': 'BIT '
'STRING'},
{'name': 'n2TxAntenna-tm4',
'size': [6],
'type': 'BIT '
'STRING'},
{'name': 'n4TxAntenna-tm4',
'size': [64],
'type': 'BIT '
'STRING'},
{'name': 'n2TxAntenna-tm5',
'size': [4],
'type': 'BIT '
'STRING'},
{'name': 'n4TxAntenna-tm5',
'size': [16],
'type': 'BIT '
'STRING'},
{'name': 'n2TxAntenna-tm6',
'size': [4],
'type': 'BIT '
'STRING'},
{'name': 'n4TxAntenna-tm6',
'size': [16],
'type': 'BIT '
'STRING'}],
'name': 'codebookSubsetRestriction',
'optional': True,
'type': 'CHOICE'},
{'members': [{'name': 'release',
'type': 'NULL'},
{'name': 'setup',
'type': 'ENUMERATED',
'values': [('closedLoop',
0),
('openLoop',
1)]}],
'name': 'ue-TransmitAntennaSelection',
'type': 'CHOICE'}],
'type': 'SEQUENCE'},
'BCCH-BCH-Message': {'members': [{'name': 'message',
'type': 'BCCH-BCH-MessageType'}],
'type': 'SEQUENCE'},
'BCCH-BCH-MessageType': {'type': 'MasterInformationBlock'},
'BCCH-Config': {'members': [{'name': 'modificationPeriodCoeff',
'type': 'ENUMERATED',
'values': [('n2',
0),
('n4',
1),
('n8',
2),
('n16',
3)]}],
'type': 'SEQUENCE'},
'BCCH-DL-SCH-Message': {'members': [{'name': 'message',
'type': 'BCCH-DL-SCH-MessageType'}],
'type': 'SEQUENCE'},
'BCCH-DL-SCH-MessageType': {'members': [{'members': [{'name': 'systemInformation',
'type': 'SystemInformation'},
{'name': 'systemInformationBlockType1',
'type': 'SystemInformationBlockType1'}],
'name': 'c1',
'type': 'CHOICE'},
{'members': [],
'name': 'messageClassExtension',
'type': 'SEQUENCE'}],
'type': 'CHOICE'},
'BandClassInfoCDMA2000': {'members': [{'name': 'bandClass',
'type': 'BandclassCDMA2000'},
{'name': 'cellReselectionPriority',
'optional': True,
'type': 'CellReselectionPriority'},
{'name': 'threshX-High',
'restricted-to': [(0,
63)],
'type': 'INTEGER'},
{'name': 'threshX-Low',
'restricted-to': [(0,
63)],
'type': 'INTEGER'},
None],
'type': 'SEQUENCE'},
'BandClassListCDMA2000': {'element': {'type': 'BandClassInfoCDMA2000'},
'size': [(1,
'maxCDMA-BandClass')],
'type': 'SEQUENCE '
'OF'},
'BandClassPriority1XRTT': {'members': [{'name': 'bandClass',
'type': 'BandclassCDMA2000'},
{'name': 'cellReselectionPriority',
'type': 'CellReselectionPriority'}],
'type': 'SEQUENCE'},
'BandClassPriorityHRPD': {'members': [{'name': 'bandClass',
'type': 'BandclassCDMA2000'},
{'name': 'cellReselectionPriority',
'type': 'CellReselectionPriority'}],
'type': 'SEQUENCE'},
'BandClassPriorityList1XRTT': {'element': {'type': 'BandClassPriority1XRTT'},
'size': [(1,
'maxCDMA-BandClass')],
'type': 'SEQUENCE '
'OF'},
'BandClassPriorityListHRPD': {'element': {'type': 'BandClassPriorityHRPD'},
'size': [(1,
'maxCDMA-BandClass')],
'type': 'SEQUENCE '
'OF'},
'BandIndicatorGERAN': {'type': 'ENUMERATED',
'values': [('dcs1800',
0),
('pcs1900',
1)]},
'BandInfoEUTRA': {'members': [{'name': 'interFreqBandList',
'type': 'InterFreqBandList'},
{'name': 'interRAT-BandList',
'optional': True,
'type': 'InterRAT-BandList'}],
'type': 'SEQUENCE'},
'BandListEUTRA': {'element': {'type': 'BandInfoEUTRA'},
'size': [(1,
'maxBands')],
'type': 'SEQUENCE OF'},
'BandclassCDMA2000': {'type': 'ENUMERATED',
'values': [('bc0',
0),
('bc1',
1),
('bc2',
2),
('bc3',
3),
('bc4',
4),
('bc5',
5),
('bc6',
6),
('bc7',
7),
('bc8',
8),
('bc9',
9),
('bc10',
10),
('bc11',
11),
('bc12',
12),
('bc13',
13),
('bc14',
14),
('bc15',
15),
('bc16',
16),
('bc17',
17),
('spare14',
18),
('spare13',
19),
('spare12',
20),
('spare11',
21),
('spare10',
22),
('spare9',
23),
('spare8',
24),
('spare7',
25),
('spare6',
26),
('spare5',
27),
('spare4',
28),
('spare3',
29),
('spare2',
30),
('spare1',
31),
None]},
'BlackCellsToAddMod': {'members': [{'name': 'cellIndex',
'restricted-to': [(1,
'maxCellMeas')],
'type': 'INTEGER'},
{'name': 'physCellIdRange',
'type': 'PhysCellIdRange'}],
'type': 'SEQUENCE'},
'BlackCellsToAddModList': {'element': {'type': 'BlackCellsToAddMod'},
'size': [(1,
'maxCellMeas')],
'type': 'SEQUENCE '
'OF'},
'C-RNTI': {'size': [16],
'type': 'BIT STRING'},
'CDMA2000-Type': {'type': 'ENUMERATED',
'values': [('type1XRTT',
0),
('typeHRPD',
1)]},
'CQI-ReportConfig': {'members': [{'name': 'cqi-ReportModeAperiodic',
'optional': True,
'type': 'ENUMERATED',
'values': [('rm12',
0),
('rm20',
1),
('rm22',
2),
('rm30',
3),
('rm31',
4),
('spare3',
5),
('spare2',
6),
('spare1',
7)]},
{'name': 'nomPDSCH-RS-EPRE-Offset',
'restricted-to': [(-1,
6)],
'type': 'INTEGER'},
{'name': 'cqi-ReportPeriodic',
'optional': True,
'type': 'CQI-ReportPeriodic'}],
'type': 'SEQUENCE'},
'CQI-ReportPeriodic': {'members': [{'name': 'release',
'type': 'NULL'},
{'members': [{'name': 'cqi-PUCCH-ResourceIndex',
'restricted-to': [(0,
1185)],
'type': 'INTEGER'},
{'name': 'cqi-pmi-ConfigIndex',
'restricted-to': [(0,
1023)],
'type': 'INTEGER'},
{'members': [{'name': 'widebandCQI',
'type': 'NULL'},
{'members': [{'name': 'k',
'restricted-to': [(1,
4)],
'type': 'INTEGER'}],
'name': 'subbandCQI',
'type': 'SEQUENCE'}],
'name': 'cqi-FormatIndicatorPeriodic',
'type': 'CHOICE'},
{'name': 'ri-ConfigIndex',
'optional': True,
'restricted-to': [(0,
1023)],
'type': 'INTEGER'},
{'name': 'simultaneousAckNackAndCQI',
'type': 'BOOLEAN'}],
'name': 'setup',
'type': 'SEQUENCE'}],
'type': 'CHOICE'},
'CSFB-RegistrationParam1XRTT': {'members': [{'name': 'sid',
'size': [15],
'type': 'BIT '
'STRING'},
{'name': 'nid',
'size': [16],
'type': 'BIT '
'STRING'},
{'name': 'multipleSID',
'type': 'BOOLEAN'},
{'name': 'multipleNID',
'type': 'BOOLEAN'},
{'name': 'homeReg',
'type': 'BOOLEAN'},
{'name': 'foreignSIDReg',
'type': 'BOOLEAN'},
{'name': 'foreignNIDReg',
'type': 'BOOLEAN'},
{'name': 'parameterReg',
'type': 'BOOLEAN'},
{'name': 'powerUpReg',
'type': 'BOOLEAN'},
{'name': 'registrationPeriod',
'size': [7],
'type': 'BIT '
'STRING'},
{'name': 'registrationZone',
'size': [12],
'type': 'BIT '
'STRING'},
{'name': 'totalZone',
'size': [3],
'type': 'BIT '
'STRING'},
{'name': 'zoneTimer',
'size': [3],
'type': 'BIT '
'STRING'}],
'type': 'SEQUENCE'},
'CSFBParametersRequestCDMA2000': {'members': [{'members': [{'name': 'csfbParametersRequestCDMA2000-r8',
'type': 'CSFBParametersRequestCDMA2000-r8-IEs'},
{'members': [],
'name': 'criticalExtensionsFuture',
'type': 'SEQUENCE'}],
'name': 'criticalExtensions',
'type': 'CHOICE'}],
'type': 'SEQUENCE'},
'CSFBParametersRequestCDMA2000-r8-IEs': {'members': [{'members': [],
'name': 'nonCriticalExtension',
'optional': True,
'type': 'SEQUENCE'}],
'type': 'SEQUENCE'},
'CSFBParametersResponseCDMA2000': {'members': [{'name': 'rrc-TransactionIdentifier',
'type': 'RRC-TransactionIdentifier'},
{'members': [{'name': 'csfbParametersResponseCDMA2000-r8',
'type': 'CSFBParametersResponseCDMA2000-r8-IEs'},
{'members': [],
'name': 'criticalExtensionsFuture',
'type': 'SEQUENCE'}],
'name': 'criticalExtensions',
'type': 'CHOICE'}],
'type': 'SEQUENCE'},
'CSFBParametersResponseCDMA2000-r8-IEs': {'members': [{'name': 'rand',
'type': 'RAND-CDMA2000'},
{'name': 'mobilityParameters',
'type': 'MobilityParametersCDMA2000'},
{'members': [],
'name': 'nonCriticalExtension',
'optional': True,
'type': 'SEQUENCE'}],
'type': 'SEQUENCE'},
'CarrierBandwidthEUTRA': {'members': [{'name': 'dl-Bandwidth',
'type': 'ENUMERATED',
'values': [('n6',
0),
('n15',
1),
('n25',
2),
('n50',
3),
('n75',
4),
('n100',
5),
('spare10',
6),
('spare9',
7),
('spare8',
8),
('spare7',
9),
('spare6',
10),
('spare5',
11),
('spare4',
12),
('spare3',
13),
('spare2',
14),
('spare1',
15)]},
{'name': 'ul-Bandwidth',
'optional': True,
'type': 'ENUMERATED',
'values': [('n6',
0),
('n15',
1),
('n25',
2),
('n50',
3),
('n75',
4),
('n100',
5),
('spare10',
6),
('spare9',
7),
('spare8',
8),
('spare7',
9),
('spare6',
10),
('spare5',
11),
('spare4',
12),
('spare3',
13),
('spare2',
14),
('spare1',
15)]}],
'type': 'SEQUENCE'},
'CarrierFreqCDMA2000': {'members': [{'name': 'bandClass',
'type': 'BandclassCDMA2000'},
{'name': 'arfcn',
'type': 'ARFCN-ValueCDMA2000'}],
'type': 'SEQUENCE'},
'CarrierFreqEUTRA': {'members': [{'name': 'dl-CarrierFreq',
'type': 'ARFCN-ValueEUTRA'},
{'name': 'ul-CarrierFreq',
'optional': True,
'type': 'ARFCN-ValueEUTRA'}],
'type': 'SEQUENCE'},
'CarrierFreqGERAN': {'members': [{'name': 'arfcn',
'type': 'ARFCN-ValueGERAN'},
{'name': 'bandIndicator',
'type': 'BandIndicatorGERAN'}],
'type': 'SEQUENCE'},
'CarrierFreqListUTRA-FDD': {'element': {'type': 'CarrierFreqUTRA-FDD'},
'size': [(1,
'maxUTRA-FDD-Carrier')],
'type': 'SEQUENCE '
'OF'},
'CarrierFreqListUTRA-TDD': {'element': {'type': 'CarrierFreqUTRA-TDD'},
'size': [(1,
'maxUTRA-TDD-Carrier')],
'type': 'SEQUENCE '
'OF'},
'CarrierFreqUTRA-FDD': {'members': [{'name': 'carrierFreq',
'type': 'ARFCN-ValueUTRA'},
{'name': 'cellReselectionPriority',
'optional': True,
'type': 'CellReselectionPriority'},
{'name': 'threshX-High',
'type': 'ReselectionThreshold'},
{'name': 'threshX-Low',
'type': 'ReselectionThreshold'},
{'name': 'q-RxLevMin',
'restricted-to': [(-60,
-13)],
'type': 'INTEGER'},
{'name': 'p-MaxUTRA',
'restricted-to': [(-50,
33)],
'type': 'INTEGER'},
{'name': 'q-QualMin',
'restricted-to': [(-24,
0)],
'type': 'INTEGER'},
None],
'type': 'SEQUENCE'},
'CarrierFreqUTRA-TDD': {'members': [{'name': 'carrierFreq',
'type': 'ARFCN-ValueUTRA'},
{'name': 'cellReselectionPriority',
'optional': True,
'type': 'CellReselectionPriority'},
{'name': 'threshX-High',
'type': 'ReselectionThreshold'},
{'name': 'threshX-Low',
'type': 'ReselectionThreshold'},
{'name': 'q-RxLevMin',
'restricted-to': [(-60,
-13)],
'type': 'INTEGER'},
{'name': 'p-MaxUTRA',
'restricted-to': [(-50,
33)],
'type': 'INTEGER'},
None],
'type': 'SEQUENCE'},
'CarrierFreqsGERAN': {'members': [{'name': 'startingARFCN',
'type': 'ARFCN-ValueGERAN'},
{'name': 'bandIndicator',
'type': 'BandIndicatorGERAN'},
{'members': [{'name': 'explicitListOfARFCNs',
'type': 'ExplicitListOfARFCNs'},
{'members': [{'name': 'arfcn-Spacing',
'restricted-to': [(1,
8)],
'type': 'INTEGER'},
{'name': 'numberOfFollowingARFCNs',
'restricted-to': [(0,
31)],
'type': 'INTEGER'}],
'name': 'equallySpacedARFCNs',
'type': 'SEQUENCE'},
{'name': 'variableBitMapOfARFCNs',
'size': [(1,
16)],
'type': 'OCTET '
'STRING'}],
'name': 'followingARFCNs',
'type': 'CHOICE'}],
'type': 'SEQUENCE'},
'CarrierFreqsInfoGERAN': {'members': [{'name': 'carrierFreqs',
'type': 'CarrierFreqsGERAN'},
{'members': [{'name': 'cellReselectionPriority',
'optional': True,
'type': 'CellReselectionPriority'},
{'name': 'ncc-Permitted',
'size': [8],
'type': 'BIT '
'STRING'},
{'name': 'q-RxLevMin',
'restricted-to': [(0,
45)],
'type': 'INTEGER'},
{'name': 'p-MaxGERAN',
'optional': True,
'restricted-to': [(0,
39)],
'type': 'INTEGER'},
{'name': 'threshX-High',
'type': 'ReselectionThreshold'},
{'name': 'threshX-Low',
'type': 'ReselectionThreshold'}],
'name': 'commonInfo',
'type': 'SEQUENCE'},
None],
'type': 'SEQUENCE'},
'CarrierFreqsInfoListGERAN': {'element': {'type': 'CarrierFreqsInfoGERAN'},
'size': [(1,
'maxGNFG')],
'type': 'SEQUENCE '
'OF'},
'CellChangeOrder': {'members': [{'name': 't304',
'type': 'ENUMERATED',
'values': [('ms100',
0),
('ms200',
1),
('ms500',
2),
('ms1000',
3),
('ms2000',
4),
('ms4000',
5),
('ms8000',
6),
('spare1',
7)]},
{'members': [{'members': [{'name': 'physCellId',
'type': 'PhysCellIdGERAN'},
{'name': 'carrierFreq',
'type': 'CarrierFreqGERAN'},
{'name': 'networkControlOrder',
'optional': True,
'size': [2],
'type': 'BIT '
'STRING'},
{'name': 'systemInformation',
'optional': True,
'type': 'SI-OrPSI-GERAN'}],
'name': 'geran',
'type': 'SEQUENCE'},
None],
'name': 'targetRAT-Type',
'type': 'CHOICE'}],
'type': 'SEQUENCE'},
'CellGlobalIdCDMA2000': {'members': [{'name': 'cellGlobalId1XRTT',
'size': [47],
'type': 'BIT '
'STRING'},
{'name': 'cellGlobalIdHRPD',
'size': [128],
'type': 'BIT '
'STRING'}],
'type': 'CHOICE'},
'CellGlobalIdEUTRA': {'members': [{'name': 'plmn-Identity',
'type': 'PLMN-Identity'},
{'name': 'cellIdentity',
'type': 'CellIdentity'}],
'type': 'SEQUENCE'},
'CellGlobalIdGERAN': {'members': [{'name': 'plmn-Identity',
'type': 'PLMN-Identity'},
{'name': 'locationAreaCode',
'size': [16],
'type': 'BIT '
'STRING'},
{'name': 'cellIdentity',
'size': [16],
'type': 'BIT '
'STRING'}],
'type': 'SEQUENCE'},
'CellGlobalIdUTRA': {'members': [{'name': 'plmn-Identity',
'type': 'PLMN-Identity'},
{'name': 'cellIdentity',
'size': [28],
'type': 'BIT '
'STRING'}],
'type': 'SEQUENCE'},
'CellIdentity': {'size': [28],
'type': 'BIT STRING'},
'CellIndex': {'restricted-to': [(1,
'maxCellMeas')],
'type': 'INTEGER'},
'CellIndexList': {'element': {'type': 'CellIndex'},
'size': [(1,
'maxCellMeas')],
'type': 'SEQUENCE OF'},
'CellReselectionParametersCDMA2000': {'members': [{'name': 'bandClassList',
'type': 'BandClassListCDMA2000'},
{'name': 'neighCellList',
'type': 'NeighCellListCDMA2000'},
{'name': 't-ReselectionCDMA2000',
'type': 'T-Reselection'},
{'name': 't-ReselectionCDMA2000-SF',
'optional': True,
'type': 'SpeedStateScaleFactors'}],
'type': 'SEQUENCE'},
'CellReselectionPriority': {'restricted-to': [(0,
7)],
'type': 'INTEGER'},
'CellsToAddMod': {'members': [{'name': 'cellIndex',
'restricted-to': [(1,
'maxCellMeas')],
'type': 'INTEGER'},
{'name': 'physCellId',
'type': 'PhysCellId'},
{'name': 'cellIndividualOffset',
'type': 'Q-OffsetRange'}],
'type': 'SEQUENCE'},
'CellsToAddModCDMA2000': {'members': [{'name': 'cellIndex',
'restricted-to': [(1,
'maxCellMeas')],
'type': 'INTEGER'},
{'name': 'physCellId',
'type': 'PhysCellIdCDMA2000'}],
'type': 'SEQUENCE'},
'CellsToAddModList': {'element': {'type': 'CellsToAddMod'},
'size': [(1,
'maxCellMeas')],
'type': 'SEQUENCE '
'OF'},
'CellsToAddModListCDMA2000': {'element': {'type': 'CellsToAddModCDMA2000'},
'size': [(1,
'maxCellMeas')],
'type': 'SEQUENCE '
'OF'},
'CellsToAddModListUTRA-FDD': {'element': {'type': 'CellsToAddModUTRA-FDD'},
'size': [(1,
'maxCellMeas')],
'type': 'SEQUENCE '
'OF'},
'CellsToAddModListUTRA-TDD': {'element': {'type': 'CellsToAddModUTRA-TDD'},
'size': [(1,
'maxCellMeas')],
'type': 'SEQUENCE '
'OF'},
'CellsToAddModUTRA-FDD': {'members': [{'name': 'cellIndex',
'restricted-to': [(1,
'maxCellMeas')],
'type': 'INTEGER'},
{'name': 'physCellId',
'type': 'PhysCellIdUTRA-FDD'}],
'type': 'SEQUENCE'},
'CellsToAddModUTRA-TDD': {'members': [{'name': 'cellIndex',
'restricted-to': [(1,
'maxCellMeas')],
'type': 'INTEGER'},
{'name': 'physCellId',
'type': 'PhysCellIdUTRA-TDD'}],
'type': 'SEQUENCE'},
'CounterCheck': {'members': [{'name': 'rrc-TransactionIdentifier',
'type': 'RRC-TransactionIdentifier'},
{'members': [{'members': [{'name': 'counterCheck-r8',
'type': 'CounterCheck-r8-IEs'},
{'name': 'spare3',
'type': 'NULL'},
{'name': 'spare2',
'type': 'NULL'},
{'name': 'spare1',
'type': 'NULL'}],
'name': 'c1',
'type': 'CHOICE'},
{'members': [],
'name': 'criticalExtensionsFuture',
'type': 'SEQUENCE'}],
'name': 'criticalExtensions',
'type': 'CHOICE'}],
'type': 'SEQUENCE'},
'CounterCheck-r8-IEs': {'members': [{'name': 'drb-CountMSB-InfoList',
'type': 'DRB-CountMSB-InfoList'},
{'members': [],
'name': 'nonCriticalExtension',
'optional': True,
'type': 'SEQUENCE'}],
'type': 'SEQUENCE'},
'CounterCheckResponse': {'members': [{'name': 'rrc-TransactionIdentifier',
'type': 'RRC-TransactionIdentifier'},
{'members': [{'name': 'counterCheckResponse-r8',
'type': 'CounterCheckResponse-r8-IEs'},
{'members': [],
'name': 'criticalExtensionsFuture',
'type': 'SEQUENCE'}],
'name': 'criticalExtensions',
'type': 'CHOICE'}],
'type': 'SEQUENCE'},
'CounterCheckResponse-r8-IEs': {'members': [{'name': 'drb-CountInfoList',
'type': 'DRB-CountInfoList'},
{'members': [],
'name': 'nonCriticalExtension',
'optional': True,
'type': 'SEQUENCE'}],
'type': 'SEQUENCE'},
'DL-AM-RLC': {'members': [{'name': 't-Reordering',
'type': 'T-Reordering'},
{'name': 't-StatusProhibit',
'type': 'T-StatusProhibit'}],
'type': 'SEQUENCE'},
'DL-CCCH-Message': {'members': [{'name': 'message',
'type': 'DL-CCCH-MessageType'}],
'type': 'SEQUENCE'},
'DL-CCCH-MessageType': {'members': [{'members': [{'name': 'rrcConnectionReestablishment',
'type': 'RRCConnectionReestablishment'},
{'name': 'rrcConnectionReestablishmentReject',
'type': 'RRCConnectionReestablishmentReject'},
{'name': 'rrcConnectionReject',
'type': 'RRCConnectionReject'},
{'name': 'rrcConnectionSetup',
'type': 'RRCConnectionSetup'}],
'name': 'c1',
'type': 'CHOICE'},
{'members': [],
'name': 'messageClassExtension',
'type': 'SEQUENCE'}],
'type': 'CHOICE'},
'DL-DCCH-Message': {'members': [{'name': 'message',
'type': 'DL-DCCH-MessageType'}],
'type': 'SEQUENCE'},
'DL-DCCH-MessageType': {'members': [{'members': [{'name': 'csfbParametersResponseCDMA2000',
'type': 'CSFBParametersResponseCDMA2000'},
{'name': 'dlInformationTransfer',
'type': 'DLInformationTransfer'},
{'name': 'handoverFromEUTRAPreparationRequest',
'type': 'HandoverFromEUTRAPreparationRequest'},
{'name': 'mobilityFromEUTRACommand',
'type': 'MobilityFromEUTRACommand'},
{'name': 'rrcConnectionReconfiguration',
'type': 'RRCConnectionReconfiguration'},
{'name': 'rrcConnectionRelease',
'type': 'RRCConnectionRelease'},
{'name': 'securityModeCommand',
'type': 'SecurityModeCommand'},
{'name': 'ueCapabilityEnquiry',
'type': 'UECapabilityEnquiry'},
{'name': 'counterCheck',
'type': 'CounterCheck'},
{'name': 'spare7',
'type': 'NULL'},
{'name': 'spare6',
'type': 'NULL'},
{'name': 'spare5',
'type': 'NULL'},
{'name': 'spare4',
'type': 'NULL'},
{'name': 'spare3',
'type': 'NULL'},
{'name': 'spare2',
'type': 'NULL'},
{'name': 'spare1',
'type': 'NULL'}],
'name': 'c1',
'type': 'CHOICE'},
{'members': [],
'name': 'messageClassExtension',
'type': 'SEQUENCE'}],
'type': 'CHOICE'},
'DL-UM-RLC': {'members': [{'name': 'sn-FieldLength',
'type': 'SN-FieldLength'},
{'name': 't-Reordering',
'type': 'T-Reordering'}],
'type': 'SEQUENCE'},
'DLInformationTransfer': {'members': [{'name': 'rrc-TransactionIdentifier',
'type': 'RRC-TransactionIdentifier'},
{'members': [{'members': [{'name': 'dlInformationTransfer-r8',
'type': 'DLInformationTransfer-r8-IEs'},
{'name': 'spare3',
'type': 'NULL'},
{'name': 'spare2',
'type': 'NULL'},
{'name': 'spare1',
'type': 'NULL'}],
'name': 'c1',
'type': 'CHOICE'},
{'members': [],
'name': 'criticalExtensionsFuture',
'type': 'SEQUENCE'}],
'name': 'criticalExtensions',
'type': 'CHOICE'}],
'type': 'SEQUENCE'},
'DLInformationTransfer-r8-IEs': {'members': [{'members': [{'name': 'dedicatedInfoNAS',
'type': 'DedicatedInfoNAS'},
{'name': 'dedicatedInfoCDMA2000-1XRTT',
'type': 'DedicatedInfoCDMA2000'},
{'name': 'dedicatedInfoCDMA2000-HRPD',
'type': 'DedicatedInfoCDMA2000'}],
'name': 'dedicatedInfoType',
'type': 'CHOICE'},
{'members': [],
'name': 'nonCriticalExtension',
'optional': True,
'type': 'SEQUENCE'}],
'type': 'SEQUENCE'},
'DRB-CountInfo': {'members': [{'name': 'drb-Identity',
'type': 'DRB-Identity'},
{'name': 'count-Uplink',
'restricted-to': [(0,
4294967295)],
'type': 'INTEGER'},
{'name': 'count-Downlink',
'restricted-to': [(0,
4294967295)],
'type': 'INTEGER'}],
'type': 'SEQUENCE'},
'DRB-CountInfoList': {'element': {'type': 'DRB-CountInfo'},
'size': [(0,
'maxDRB')],
'type': 'SEQUENCE '
'OF'},
'DRB-CountMSB-Info': {'members': [{'name': 'drb-Identity',
'type': 'DRB-Identity'},
{'name': 'countMSB-Uplink',
'restricted-to': [(0,
33554431)],
'type': 'INTEGER'},
{'name': 'countMSB-Downlink',
'restricted-to': [(0,
33554431)],
'type': 'INTEGER'}],
'type': 'SEQUENCE'},
'DRB-CountMSB-InfoList': {'element': {'type': 'DRB-CountMSB-Info'},
'size': [(1,
'maxDRB')],
'type': 'SEQUENCE '
'OF'},
'DRB-Identity': {'restricted-to': [(1,
32)],
'type': 'INTEGER'},
'DRB-ToAddMod': {'members': [{'name': 'eps-BearerIdentity',
'optional': True,
'restricted-to': [(0,
15)],
'type': 'INTEGER'},
{'name': 'drb-Identity',
'type': 'DRB-Identity'},
{'name': 'pdcp-Config',
'optional': True,
'type': 'PDCP-Config'},
{'name': 'rlc-Config',
'optional': True,
'type': 'RLC-Config'},
{'name': 'logicalChannelIdentity',
'optional': True,
'restricted-to': [(3,
10)],
'type': 'INTEGER'},
{'name': 'logicalChannelConfig',
'optional': True,
'type': 'LogicalChannelConfig'},
None],
'type': 'SEQUENCE'},
'DRB-ToAddModList': {'element': {'type': 'DRB-ToAddMod'},
'size': [(1,
'maxDRB')],
'type': 'SEQUENCE '
'OF'},
'DRB-ToReleaseList': {'element': {'type': 'DRB-Identity'},
'size': [(1,
'maxDRB')],
'type': 'SEQUENCE '
'OF'},
'DRX-Config': {'members': [{'name': 'release',
'type': 'NULL'},
{'members': [{'name': 'onDurationTimer',
'type': 'ENUMERATED',
'values': [('psf1',
0),
('psf2',
1),
('psf3',
2),
('psf4',
3),
('psf5',
4),
('psf6',
5),
('psf8',
6),
('psf10',
7),
('psf20',
8),
('psf30',
9),
('psf40',
10),
('psf50',
11),
('psf60',
12),
('psf80',
13),
('psf100',
14),
('psf200',
15)]},
{'name': 'drx-InactivityTimer',
'type': 'ENUMERATED',
'values': [('psf1',
0),
('psf2',
1),
('psf3',
2),
('psf4',
3),
('psf5',
4),
('psf6',
5),
('psf8',
6),
('psf10',
7),
('psf20',
8),
('psf30',
9),
('psf40',
10),
('psf50',
11),
('psf60',
12),
('psf80',
13),
('psf100',
14),
('psf200',
15),
('psf300',
16),
('psf500',
17),
('psf750',
18),
('psf1280',
19),
('psf1920',
20),
('psf2560',
21),
('spare10',
22),
('spare9',
23),
('spare8',
24),
('spare7',
25),
('spare6',
26),
('spare5',
27),
('spare4',
28),
('spare3',
29),
('spare2',
30),
('spare1',
31)]},
{'name': 'drx-RetransmissionTimer',
'type': 'ENUMERATED',
'values': [('psf1',
0),
('psf2',
1),
('psf4',
2),
('psf6',
3),
('psf8',
4),
('psf16',
5),
('psf24',
6),
('psf33',
7)]},
{'members': [{'name': 'sf10',
'restricted-to': [(0,
9)],
'type': 'INTEGER'},
{'name': 'sf20',
'restricted-to': [(0,
19)],
'type': 'INTEGER'},
{'name': 'sf32',
'restricted-to': [(0,
31)],
'type': 'INTEGER'},
{'name': 'sf40',
'restricted-to': [(0,
39)],
'type': 'INTEGER'},
{'name': 'sf64',
'restricted-to': [(0,
63)],
'type': 'INTEGER'},
{'name': 'sf80',
'restricted-to': [(0,
79)],
'type': 'INTEGER'},
{'name': 'sf128',
'restricted-to': [(0,
127)],
'type': 'INTEGER'},
{'name': 'sf160',
'restricted-to': [(0,
159)],
'type': 'INTEGER'},
{'name': 'sf256',
'restricted-to': [(0,
255)],
'type': 'INTEGER'},
{'name': 'sf320',
'restricted-to': [(0,
319)],
'type': 'INTEGER'},
{'name': 'sf512',
'restricted-to': [(0,
511)],
'type': 'INTEGER'},
{'name': 'sf640',
'restricted-to': [(0,
639)],
'type': 'INTEGER'},
{'name': 'sf1024',
'restricted-to': [(0,
1023)],
'type': 'INTEGER'},
{'name': 'sf1280',
'restricted-to': [(0,
1279)],
'type': 'INTEGER'},
{'name': 'sf2048',
'restricted-to': [(0,
2047)],
'type': 'INTEGER'},
{'name': 'sf2560',
'restricted-to': [(0,
2559)],
'type': 'INTEGER'}],
'name': 'longDRX-CycleStartOffset',
'type': 'CHOICE'},
{'members': [{'name': 'shortDRX-Cycle',
'type': 'ENUMERATED',
'values': [('sf2',
0),
('sf5',
1),
('sf8',
2),
('sf10',
3),
('sf16',
4),
('sf20',
5),
('sf32',
6),
('sf40',
7),
('sf64',
8),
('sf80',
9),
('sf128',
10),
('sf160',
11),
('sf256',
12),
('sf320',
13),
('sf512',
14),
('sf640',
15)]},
{'name': 'drxShortCycleTimer',
'restricted-to': [(1,
16)],
'type': 'INTEGER'}],
'name': 'shortDRX',
'optional': True,
'type': 'SEQUENCE'}],
'name': 'setup',
'type': 'SEQUENCE'}],
'type': 'CHOICE'},
'DedicatedInfoCDMA2000': {'type': 'OCTET '
'STRING'},
'DedicatedInfoNAS': {'type': 'OCTET '
'STRING'},
'DeltaFList-PUCCH': {'members': [{'name': 'deltaF-PUCCH-Format1',
'type': 'ENUMERATED',
'values': [('deltaF-2',
0),
('deltaF0',
1),
('deltaF2',
2)]},
{'name': 'deltaF-PUCCH-Format1b',
'type': 'ENUMERATED',
'values': [('deltaF1',
0),
('deltaF3',
1),
('deltaF5',
2)]},
{'name': 'deltaF-PUCCH-Format2',
'type': 'ENUMERATED',
'values': [('deltaF-2',
0),
('deltaF0',
1),
('deltaF1',
2),
('deltaF2',
3)]},
{'name': 'deltaF-PUCCH-Format2a',
'type': 'ENUMERATED',
'values': [('deltaF-2',
0),
('deltaF0',
1),
('deltaF2',
2)]},
{'name': 'deltaF-PUCCH-Format2b',
'type': 'ENUMERATED',
'values': [('deltaF-2',
0),
('deltaF0',
1),
('deltaF2',
2)]}],
'type': 'SEQUENCE'},
'EstablishmentCause': {'type': 'ENUMERATED',
'values': [('emergency',
0),
('highPriorityAccess',
1),
('mt-Access',
2),
('mo-Signalling',
3),
('mo-Data',
4),
('spare3',
5),
('spare2',
6),
('spare1',
7)]},
'ExplicitListOfARFCNs': {'element': {'type': 'ARFCN-ValueGERAN'},
'size': [(0, 31)],
'type': 'SEQUENCE '
'OF'},
'FilterCoefficient': {'type': 'ENUMERATED',
'values': [('fc0',
0),
('fc1',
1),
('fc2',
2),
('fc3',
3),
('fc4',
4),
('fc5',
5),
('fc6',
6),
('fc7',
7),
('fc8',
8),
('fc9',
9),
('fc11',
10),
('fc13',
11),
('fc15',
12),
('fc17',
13),
('fc19',
14),
('spare1',
15),
None]},
'FreqPriorityEUTRA': {'members': [{'name': 'carrierFreq',
'type': 'ARFCN-ValueEUTRA'},
{'name': 'cellReselectionPriority',
'type': 'CellReselectionPriority'}],
'type': 'SEQUENCE'},
'FreqPriorityListEUTRA': {'element': {'type': 'FreqPriorityEUTRA'},
'size': [(1,
'maxFreq')],
'type': 'SEQUENCE '
'OF'},
'FreqPriorityListUTRA-FDD': {'element': {'type': 'FreqPriorityUTRA-FDD'},
'size': [(1,
'maxUTRA-FDD-Carrier')],
'type': 'SEQUENCE '
'OF'},
'FreqPriorityListUTRA-TDD': {'element': {'type': 'FreqPriorityUTRA-TDD'},
'size': [(1,
'maxUTRA-TDD-Carrier')],
'type': 'SEQUENCE '
'OF'},
'FreqPriorityUTRA-FDD': {'members': [{'name': 'carrierFreq',
'type': 'ARFCN-ValueUTRA'},
{'name': 'cellReselectionPriority',
'type': 'CellReselectionPriority'}],
'type': 'SEQUENCE'},
'FreqPriorityUTRA-TDD': {'members': [{'name': 'carrierFreq',
'type': 'ARFCN-ValueUTRA'},
{'name': 'cellReselectionPriority',
'type': 'CellReselectionPriority'}],
'type': 'SEQUENCE'},
'FreqsPriorityGERAN': {'members': [{'name': 'carrierFreqs',
'type': 'CarrierFreqsGERAN'},
{'name': 'cellReselectionPriority',
'type': 'CellReselectionPriority'}],
'type': 'SEQUENCE'},
'FreqsPriorityListGERAN': {'element': {'type': 'FreqsPriorityGERAN'},
'size': [(1,
'maxGNFG')],
'type': 'SEQUENCE '
'OF'},
'Handover': {'members': [{'name': 'targetRAT-Type',
'type': 'ENUMERATED',
'values': [('utra',
0),
('geran',
1),
('cdma2000-1XRTT',
2),
('cdma2000-HRPD',
3),
('spare4',
4),
('spare3',
5),
('spare2',
6),
('spare1',
7),
None]},
{'name': 'targetRAT-MessageContainer',
'type': 'OCTET '
'STRING'},
{'name': 'nas-SecurityParamFromEUTRA',
'optional': True,
'size': [1],
'type': 'OCTET '
'STRING'},
{'name': 'systemInformation',
'optional': True,
'type': 'SI-OrPSI-GERAN'}],
'type': 'SEQUENCE'},
'HandoverFromEUTRAPreparationRequest': {'members': [{'name': 'rrc-TransactionIdentifier',
'type': 'RRC-TransactionIdentifier'},
{'members': [{'members': [{'name': 'handoverFromEUTRAPreparationRequest-r8',
'type': 'HandoverFromEUTRAPreparationRequest-r8-IEs'},
{'name': 'spare3',
'type': 'NULL'},
{'name': 'spare2',
'type': 'NULL'},
{'name': 'spare1',
'type': 'NULL'}],
'name': 'c1',
'type': 'CHOICE'},
{'members': [],
'name': 'criticalExtensionsFuture',
'type': 'SEQUENCE'}],
'name': 'criticalExtensions',
'type': 'CHOICE'}],
'type': 'SEQUENCE'},
'HandoverFromEUTRAPreparationRequest-r8-IEs': {'members': [{'name': 'cdma2000-Type',
'type': 'CDMA2000-Type'},
{'name': 'rand',
'optional': True,
'type': 'RAND-CDMA2000'},
{'name': 'mobilityParameters',
'optional': True,
'type': 'MobilityParametersCDMA2000'},
{'members': [],
'name': 'nonCriticalExtension',
'optional': True,
'type': 'SEQUENCE'}],
'type': 'SEQUENCE'},
'Hysteresis': {'restricted-to': [(0, 30)],
'type': 'INTEGER'},
'IMSI': {'element': {'type': 'IMSI-Digit'},
'size': [(6, 21)],
'type': 'SEQUENCE OF'},
'IMSI-Digit': {'restricted-to': [(0, 9)],
'type': 'INTEGER'},
'IRAT-ParametersCDMA2000-1XRTT': {'members': [{'name': 'supportedBandList1XRTT',
'type': 'SupportedBandList1XRTT'},
{'name': 'tx-Config1XRTT',
'type': 'ENUMERATED',
'values': [('single',
0),
('dual',
1)]},
{'name': 'rx-Config1XRTT',
'type': 'ENUMERATED',
'values': [('single',
0),
('dual',
1)]}],
'type': 'SEQUENCE'},
'IRAT-ParametersCDMA2000-HRPD': {'members': [{'name': 'supportedBandListHRPD',
'type': 'SupportedBandListHRPD'},
{'name': 'tx-ConfigHRPD',
'type': 'ENUMERATED',
'values': [('single',
0),
('dual',
1)]},
{'name': 'rx-ConfigHRPD',
'type': 'ENUMERATED',
'values': [('single',
0),
('dual',
1)]}],
'type': 'SEQUENCE'},
'IRAT-ParametersGERAN': {'members': [{'name': 'supportedBandListGERAN',
'type': 'SupportedBandListGERAN'},
{'name': 'interRAT-PS-HO-ToGERAN',
'type': 'BOOLEAN'}],
'type': 'SEQUENCE'},
'IRAT-ParametersUTRA-FDD': {'members': [{'name': 'supportedBandListUTRA-FDD',
'type': 'SupportedBandListUTRA-FDD'}],
'type': 'SEQUENCE'},
'IRAT-ParametersUTRA-TDD128': {'members': [{'name': 'supportedBandListUTRA-TDD128',
'type': 'SupportedBandListUTRA-TDD128'}],
'type': 'SEQUENCE'},
'IRAT-ParametersUTRA-TDD384': {'members': [{'name': 'supportedBandListUTRA-TDD384',
'type': 'SupportedBandListUTRA-TDD384'}],
'type': 'SEQUENCE'},
'IRAT-ParametersUTRA-TDD768': {'members': [{'name': 'supportedBandListUTRA-TDD768',
'type': 'SupportedBandListUTRA-TDD768'}],
'type': 'SEQUENCE'},
'IdleModeMobilityControlInfo': {'members': [{'name': 'freqPriorityListEUTRA',
'optional': True,
'type': 'FreqPriorityListEUTRA'},
{'name': 'freqPriorityListGERAN',
'optional': True,
'type': 'FreqsPriorityListGERAN'},
{'name': 'freqPriorityListUTRA-FDD',
'optional': True,
'type': 'FreqPriorityListUTRA-FDD'},
{'name': 'freqPriorityListUTRA-TDD',
'optional': True,
'type': 'FreqPriorityListUTRA-TDD'},
{'name': 'bandClassPriorityListHRPD',
'optional': True,
'type': 'BandClassPriorityListHRPD'},
{'name': 'bandClassPriorityList1XRTT',
'optional': True,
'type': 'BandClassPriorityList1XRTT'},
{'name': 't320',
'optional': True,
'type': 'ENUMERATED',
'values': [('min5',
0),
('min10',
1),
('min20',
2),
('min30',
3),
('min60',
4),
('min120',
5),
('min180',
6),
('spare1',
7)]},
None],
'type': 'SEQUENCE'},
'InitialUE-Identity': {'members': [{'name': 's-TMSI',
'type': 'S-TMSI'},
{'name': 'randomValue',
'size': [40],
'type': 'BIT '
'STRING'}],
'type': 'CHOICE'},
'InterFreqBandInfo': {'members': [{'name': 'interFreqNeedForGaps',
'type': 'BOOLEAN'}],
'type': 'SEQUENCE'},
'InterFreqBandList': {'element': {'type': 'InterFreqBandInfo'},
'size': [(1,
'maxBands')],
'type': 'SEQUENCE '
'OF'},
'InterFreqBlackCellList': {'element': {'type': 'PhysCellIdRange'},
'size': [(1,
'maxCellBlack')],
'type': 'SEQUENCE '
'OF'},
'InterFreqCarrierFreqInfo': {'members': [{'name': 'dl-CarrierFreq',
'type': 'ARFCN-ValueEUTRA'},
{'name': 'q-RxLevMin',
'type': 'Q-RxLevMin'},
{'name': 'p-Max',
'optional': True,
'type': 'P-Max'},
{'name': 't-ReselectionEUTRA',
'type': 'T-Reselection'},
{'name': 't-ReselectionEUTRA-SF',
'optional': True,
'type': 'SpeedStateScaleFactors'},
{'name': 'threshX-High',
'type': 'ReselectionThreshold'},
{'name': 'threshX-Low',
'type': 'ReselectionThreshold'},
{'name': 'allowedMeasBandwidth',
'type': 'AllowedMeasBandwidth'},
{'name': 'presenceAntennaPort1',
'type': 'PresenceAntennaPort1'},
{'name': 'cellReselectionPriority',
'optional': True,
'type': 'CellReselectionPriority'},
{'name': 'neighCellConfig',
'type': 'NeighCellConfig'},
{'default': 'dB0',
'name': 'q-OffsetFreq',
'type': 'Q-OffsetRange'},
{'name': 'interFreqNeighCellList',
'optional': True,
'type': 'InterFreqNeighCellList'},
{'name': 'interFreqBlackCellList',
'optional': True,
'type': 'InterFreqBlackCellList'},
None],
'type': 'SEQUENCE'},
'InterFreqCarrierFreqList': {'element': {'type': 'InterFreqCarrierFreqInfo'},
'size': [(1,
'maxFreq')],
'type': 'SEQUENCE '
'OF'},
'InterFreqNeighCellInfo': {'members': [{'name': 'physCellId',
'type': 'PhysCellId'},
{'name': 'q-OffsetCell',
'type': 'Q-OffsetRange'}],
'type': 'SEQUENCE'},
'InterFreqNeighCellList': {'element': {'type': 'InterFreqNeighCellInfo'},
'size': [(1,
'maxCellInter')],
'type': 'SEQUENCE '
'OF'},
'InterRAT-BandInfo': {'members': [{'name': 'interRAT-NeedForGaps',
'type': 'BOOLEAN'}],
'type': 'SEQUENCE'},
'InterRAT-BandList': {'element': {'type': 'InterRAT-BandInfo'},
'size': [(1,
'maxBands')],
'type': 'SEQUENCE '
'OF'},
'IntraFreqBlackCellList': {'element': {'type': 'PhysCellIdRange'},
'size': [(1,
'maxCellBlack')],
'type': 'SEQUENCE '
'OF'},
'IntraFreqNeighCellInfo': {'members': [{'name': 'physCellId',
'type': 'PhysCellId'},
{'name': 'q-OffsetCell',
'type': 'Q-OffsetRange'},
None],
'type': 'SEQUENCE'},
'IntraFreqNeighCellList': {'element': {'type': 'IntraFreqNeighCellInfo'},
'size': [(1,
'maxCellIntra')],
'type': 'SEQUENCE '
'OF'},
'LogicalChannelConfig': {'members': [{'members': [{'name': 'priority',
'restricted-to': [(1,
16)],
'type': 'INTEGER'},
{'name': 'prioritisedBitRate',
'type': 'ENUMERATED',
'values': [('kBps0',
0),
('kBps8',
1),
('kBps16',
2),
('kBps32',
3),
('kBps64',
4),
('kBps128',
5),
('kBps256',
6),
('infinity',
7),
('spare8',
8),
('spare7',
9),
('spare6',
10),
('spare5',
11),
('spare4',
12),
('spare3',
13),
('spare2',
14),
('spare1',
15)]},
{'name': 'bucketSizeDuration',
'type': 'ENUMERATED',
'values': [('ms50',
0),
('ms100',
1),
('ms150',
2),
('ms300',
3),
('ms500',
4),
('ms1000',
5),
('spare2',
6),
('spare1',
7)]},
{'name': 'logicalChannelGroup',
'optional': True,
'restricted-to': [(0,
3)],
'type': 'INTEGER'}],
'name': 'ul-SpecificParameters',
'optional': True,
'type': 'SEQUENCE'},
None],
'type': 'SEQUENCE'},
'MAC-MainConfig': {'members': [{'members': [{'name': 'maxHARQ-Tx',
'optional': True,
'type': 'ENUMERATED',
'values': [('n1',
0),
('n2',
1),
('n3',
2),
('n4',
3),
('n5',
4),
('n6',
5),
('n7',
6),
('n8',
7),
('n10',
8),
('n12',
9),
('n16',
10),
('n20',
11),
('n24',
12),
('n28',
13),
('spare2',
14),
('spare1',
15)]},
{'name': 'periodicBSR-Timer',
'optional': True,
'type': 'ENUMERATED',
'values': [('sf5',
0),
('sf10',
1),
('sf16',
2),
('sf20',
3),
('sf32',
4),
('sf40',
5),
('sf64',
6),
('sf80',
7),
('sf128',
8),
('sf160',
9),
('sf320',
10),
('sf640',
11),
('sf1280',
12),
('sf2560',
13),
('infinity',
14),
('spare1',
15)]},
{'name': 'retxBSR-Timer',
'type': 'ENUMERATED',
'values': [('sf320',
0),
('sf640',
1),
('sf1280',
2),
('sf2560',
3),
('sf5120',
4),
('sf10240',
5),
('spare2',
6),
('spare1',
7)]},
{'name': 'ttiBundling',
'type': 'BOOLEAN'}],
'name': 'ul-SCH-Config',
'optional': True,
'type': 'SEQUENCE'},
{'name': 'drx-Config',
'optional': True,
'type': 'DRX-Config'},
{'name': 'timeAlignmentTimerDedicated',
'type': 'TimeAlignmentTimer'},
{'members': [{'name': 'release',
'type': 'NULL'},
{'members': [{'name': 'periodicPHR-Timer',
'type': 'ENUMERATED',
'values': [('sf10',
0),
('sf20',
1),
('sf50',
2),
('sf100',
3),
('sf200',
4),
('sf500',
5),
('sf1000',
6),
('infinity',
7)]},
{'name': 'prohibitPHR-Timer',
'type': 'ENUMERATED',
'values': [('sf0',
0),
('sf10',
1),
('sf20',
2),
('sf50',
3),
('sf100',
4),
('sf200',
5),
('sf500',
6),
('sf1000',
7)]},
{'name': 'dl-PathlossChange',
'type': 'ENUMERATED',
'values': [('dB1',
0),
('dB3',
1),
('dB6',
2),
('infinity',
3)]}],
'name': 'setup',
'type': 'SEQUENCE'}],
'name': 'phr-Config',
'optional': True,
'type': 'CHOICE'},
None],
'type': 'SEQUENCE'},
'MBSFN-SubframeConfig': {'members': [{'name': 'radioframeAllocationPeriod',
'type': 'ENUMERATED',
'values': [('n1',
0),
('n2',
1),
('n4',
2),
('n8',
3),
('n16',
4),
('n32',
5)]},
{'name': 'radioframeAllocationOffset',
'restricted-to': [(0,
7)],
'type': 'INTEGER'},
{'members': [{'name': 'oneFrame',
'size': [6],
'type': 'BIT '
'STRING'},
{'name': 'fourFrames',
'size': [24],
'type': 'BIT '
'STRING'}],
'name': 'subframeAllocation',
'type': 'CHOICE'}],
'type': 'SEQUENCE'},
'MBSFN-SubframeConfigList': {'element': {'type': 'MBSFN-SubframeConfig'},
'size': [(1,
'maxMBSFN-Allocations')],
'type': 'SEQUENCE '
'OF'},
'MCC': {'element': {'type': 'MCC-MNC-Digit'},
'size': [3],
'type': 'SEQUENCE OF'},
'MCC-MNC-Digit': {'restricted-to': [(0,
9)],
'type': 'INTEGER'},
'MMEC': {'size': [8],
'type': 'BIT STRING'},
'MNC': {'element': {'type': 'MCC-MNC-Digit'},
'size': [(2, 3)],
'type': 'SEQUENCE OF'},
'MasterInformationBlock': {'members': [{'name': 'dl-Bandwidth',
'type': 'ENUMERATED',
'values': [('n6',
0),
('n15',
1),
('n25',
2),
('n50',
3),
('n75',
4),
('n100',
5)]},
{'name': 'phich-Config',
'type': 'PHICH-Config'},
{'name': 'systemFrameNumber',
'size': [8],
'type': 'BIT '
'STRING'},
{'name': 'spare',
'size': [10],
'type': 'BIT '
'STRING'}],
'type': 'SEQUENCE'},
'MeasConfig': {'members': [{'name': 'measObjectToRemoveList',
'optional': True,
'type': 'MeasObjectToRemoveList'},
{'name': 'measObjectToAddModList',
'optional': True,
'type': 'MeasObjectToAddModList'},
{'name': 'reportConfigToRemoveList',
'optional': True,
'type': 'ReportConfigToRemoveList'},
{'name': 'reportConfigToAddModList',
'optional': True,
'type': 'ReportConfigToAddModList'},
{'name': 'measIdToRemoveList',
'optional': True,
'type': 'MeasIdToRemoveList'},
{'name': 'measIdToAddModList',
'optional': True,
'type': 'MeasIdToAddModList'},
{'name': 'quantityConfig',
'optional': True,
'type': 'QuantityConfig'},
{'name': 'measGapConfig',
'optional': True,
'type': 'MeasGapConfig'},
{'name': 's-Measure',
'optional': True,
'type': 'RSRP-Range'},
{'name': 'preRegistrationInfoHRPD',
'optional': True,
'type': 'PreRegistrationInfoHRPD'},
{'members': [{'name': 'release',
'type': 'NULL'},
{'members': [{'name': 'mobilityStateParameters',
'type': 'MobilityStateParameters'},
{'name': 'timeToTrigger-SF',
'type': 'SpeedStateScaleFactors'}],
'name': 'setup',
'type': 'SEQUENCE'}],
'name': 'speedStatePars',
'optional': True,
'type': 'CHOICE'},
None],
'type': 'SEQUENCE'},
'MeasGapConfig': {'members': [{'name': 'release',
'type': 'NULL'},
{'members': [{'members': [{'name': 'gp0',
'restricted-to': [(0,
39)],
'type': 'INTEGER'},
{'name': 'gp1',
'restricted-to': [(0,
79)],
'type': 'INTEGER'},
None],
'name': 'gapOffset',
'type': 'CHOICE'}],
'name': 'setup',
'type': 'SEQUENCE'}],
'type': 'CHOICE'},
'MeasId': {'restricted-to': [(1,
'maxMeasId')],
'type': 'INTEGER'},
'MeasIdToAddMod': {'members': [{'name': 'measId',
'type': 'MeasId'},
{'name': 'measObjectId',
'type': 'MeasObjectId'},
{'name': 'reportConfigId',
'type': 'ReportConfigId'}],
'type': 'SEQUENCE'},
'MeasIdToAddModList': {'element': {'type': 'MeasIdToAddMod'},
'size': [(1,
'maxMeasId')],
'type': 'SEQUENCE '
'OF'},
'MeasIdToRemoveList': {'element': {'type': 'MeasId'},
'size': [(1,
'maxMeasId')],
'type': 'SEQUENCE '
'OF'},
'MeasObjectCDMA2000': {'members': [{'name': 'cdma2000-Type',
'type': 'CDMA2000-Type'},
{'name': 'carrierFreq',
'type': 'CarrierFreqCDMA2000'},
{'name': 'searchWindowSize',
'optional': True,
'restricted-to': [(0,
15)],
'type': 'INTEGER'},
{'default': 0,
'name': 'offsetFreq',
'type': 'Q-OffsetRangeInterRAT'},
{'name': 'cellsToRemoveList',
'optional': True,
'type': 'CellIndexList'},
{'name': 'cellsToAddModList',
'optional': True,
'type': 'CellsToAddModListCDMA2000'},
{'name': 'cellForWhichToReportCGI',
'optional': True,
'type': 'PhysCellIdCDMA2000'},
None],
'type': 'SEQUENCE'},
'MeasObjectEUTRA': {'members': [{'name': 'carrierFreq',
'type': 'ARFCN-ValueEUTRA'},
{'name': 'allowedMeasBandwidth',
'type': 'AllowedMeasBandwidth'},
{'name': 'presenceAntennaPort1',
'type': 'PresenceAntennaPort1'},
{'name': 'neighCellConfig',
'type': 'NeighCellConfig'},
{'default': 'dB0',
'name': 'offsetFreq',
'type': 'Q-OffsetRange'},
{'name': 'cellsToRemoveList',
'optional': True,
'type': 'CellIndexList'},
{'name': 'cellsToAddModList',
'optional': True,
'type': 'CellsToAddModList'},
{'name': 'blackCellsToRemoveList',
'optional': True,
'type': 'CellIndexList'},
{'name': 'blackCellsToAddModList',
'optional': True,
'type': 'BlackCellsToAddModList'},
{'name': 'cellForWhichToReportCGI',
'optional': True,
'type': 'PhysCellId'},
None],
'type': 'SEQUENCE'},
'MeasObjectGERAN': {'members': [{'name': 'carrierFreqs',
'type': 'CarrierFreqsGERAN'},
{'default': 0,
'name': 'offsetFreq',
'type': 'Q-OffsetRangeInterRAT'},
{'default': '0b11111111',
'name': 'ncc-Permitted',
'size': [8],
'type': 'BIT '
'STRING'},
{'name': 'cellForWhichToReportCGI',
'optional': True,
'type': 'PhysCellIdGERAN'},
None],
'type': 'SEQUENCE'},
'MeasObjectId': {'restricted-to': [(1,
'maxObjectId')],
'type': 'INTEGER'},
'MeasObjectToAddMod': {'members': [{'name': 'measObjectId',
'type': 'MeasObjectId'},
{'members': [{'name': 'measObjectEUTRA',
'type': 'MeasObjectEUTRA'},
{'name': 'measObjectUTRA',
'type': 'MeasObjectUTRA'},
{'name': 'measObjectGERAN',
'type': 'MeasObjectGERAN'},
{'name': 'measObjectCDMA2000',
'type': 'MeasObjectCDMA2000'},
None],
'name': 'measObject',
'type': 'CHOICE'}],
'type': 'SEQUENCE'},
'MeasObjectToAddModList': {'element': {'type': 'MeasObjectToAddMod'},
'size': [(1,
'maxObjectId')],
'type': 'SEQUENCE '
'OF'},
'MeasObjectToRemoveList': {'element': {'type': 'MeasObjectId'},
'size': [(1,
'maxObjectId')],
'type': 'SEQUENCE '
'OF'},
'MeasObjectUTRA': {'members': [{'name': 'carrierFreq',
'type': 'ARFCN-ValueUTRA'},
{'default': 0,
'name': 'offsetFreq',
'type': 'Q-OffsetRangeInterRAT'},
{'name': 'cellsToRemoveList',
'optional': True,
'type': 'CellIndexList'},
{'members': [{'name': 'cellsToAddModListUTRA-FDD',
'type': 'CellsToAddModListUTRA-FDD'},
{'name': 'cellsToAddModListUTRA-TDD',
'type': 'CellsToAddModListUTRA-TDD'}],
'name': 'cellsToAddModList',
'optional': True,
'type': 'CHOICE'},
{'members': [{'name': 'utra-FDD',
'type': 'PhysCellIdUTRA-FDD'},
{'name': 'utra-TDD',
'type': 'PhysCellIdUTRA-TDD'}],
'name': 'cellForWhichToReportCGI',
'optional': True,
'type': 'CHOICE'},
None],
'type': 'SEQUENCE'},
'MeasParameters': {'members': [{'name': 'bandListEUTRA',
'type': 'BandListEUTRA'}],
'type': 'SEQUENCE'},
'MeasResultCDMA2000': {'members': [{'name': 'physCellId',
'type': 'PhysCellIdCDMA2000'},
{'name': 'cgi-Info',
'optional': True,
'type': 'CellGlobalIdCDMA2000'},
{'members': [{'name': 'pilotPnPhase',
'optional': True,
'restricted-to': [(0,
32767)],
'type': 'INTEGER'},
{'name': 'pilotStrength',
'restricted-to': [(0,
63)],
'type': 'INTEGER'},
None],
'name': 'measResult',
'type': 'SEQUENCE'}],
'type': 'SEQUENCE'},
'MeasResultEUTRA': {'members': [{'name': 'physCellId',
'type': 'PhysCellId'},
{'members': [{'name': 'cellGlobalId',
'type': 'CellGlobalIdEUTRA'},
{'name': 'trackingAreaCode',
'type': 'TrackingAreaCode'},
{'name': 'plmn-IdentityList',
'optional': True,
'type': 'PLMN-IdentityList2'}],
'name': 'cgi-Info',
'optional': True,
'type': 'SEQUENCE'},
{'members': [{'name': 'rsrpResult',
'optional': True,
'type': 'RSRP-Range'},
{'name': 'rsrqResult',
'optional': True,
'type': 'RSRQ-Range'},
None],
'name': 'measResult',
'type': 'SEQUENCE'}],
'type': 'SEQUENCE'},
'MeasResultGERAN': {'members': [{'name': 'carrierFreq',
'type': 'CarrierFreqGERAN'},
{'name': 'physCellId',
'type': 'PhysCellIdGERAN'},
{'members': [{'name': 'cellGlobalId',
'type': 'CellGlobalIdGERAN'},
{'name': 'routingAreaCode',
'optional': True,
'size': [8],
'type': 'BIT '
'STRING'}],
'name': 'cgi-Info',
'optional': True,
'type': 'SEQUENCE'},
{'members': [{'name': 'rssi',
'restricted-to': [(0,
63)],
'type': 'INTEGER'},
None],
'name': 'measResult',
'type': 'SEQUENCE'}],
'type': 'SEQUENCE'},
'MeasResultListCDMA2000': {'element': {'type': 'MeasResultCDMA2000'},
'size': [(1,
'maxCellReport')],
'type': 'SEQUENCE '
'OF'},
'MeasResultListEUTRA': {'element': {'type': 'MeasResultEUTRA'},
'size': [(1,
'maxCellReport')],
'type': 'SEQUENCE '
'OF'},
'MeasResultListGERAN': {'element': {'type': 'MeasResultGERAN'},
'size': [(1,
'maxCellReport')],
'type': 'SEQUENCE '
'OF'},
'MeasResultListUTRA': {'element': {'type': 'MeasResultUTRA'},
'size': [(1,
'maxCellReport')],
'type': 'SEQUENCE '
'OF'},
'MeasResultUTRA': {'members': [{'members': [{'name': 'fdd',
'type': 'PhysCellIdUTRA-FDD'},
{'name': 'tdd',
'type': 'PhysCellIdUTRA-TDD'}],
'name': 'physCellId',
'type': 'CHOICE'},
{'members': [{'name': 'cellGlobalId',
'type': 'CellGlobalIdUTRA'},
{'name': 'locationAreaCode',
'optional': True,
'size': [16],
'type': 'BIT '
'STRING'},
{'name': 'routingAreaCode',
'optional': True,
'size': [8],
'type': 'BIT '
'STRING'},
{'name': 'plmn-IdentityList',
'optional': True,
'type': 'PLMN-IdentityList2'}],
'name': 'cgi-Info',
'optional': True,
'type': 'SEQUENCE'},
{'members': [{'name': 'utra-RSCP',
'optional': True,
'restricted-to': [(-5,
91)],
'type': 'INTEGER'},
{'name': 'utra-EcN0',
'optional': True,
'restricted-to': [(0,
49)],
'type': 'INTEGER'},
None],
'name': 'measResult',
'type': 'SEQUENCE'}],
'type': 'SEQUENCE'},
'MeasResults': {'members': [{'name': 'measId',
'type': 'MeasId'},
{'members': [{'name': 'rsrpResult',
'type': 'RSRP-Range'},
{'name': 'rsrqResult',
'type': 'RSRQ-Range'}],
'name': 'measResultServCell',
'type': 'SEQUENCE'},
{'members': [{'name': 'measResultListEUTRA',
'type': 'MeasResultListEUTRA'},
{'name': 'measResultListUTRA',
'type': 'MeasResultListUTRA'},
{'name': 'measResultListGERAN',
'type': 'MeasResultListGERAN'},
{'name': 'measResultsCDMA2000',
'type': 'MeasResultsCDMA2000'},
None],
'name': 'measResultNeighCells',
'optional': True,
'type': 'CHOICE'},
None],
'type': 'SEQUENCE'},
'MeasResultsCDMA2000': {'members': [{'name': 'preRegistrationStatusHRPD',
'type': 'BOOLEAN'},
{'name': 'measResultListCDMA2000',
'type': 'MeasResultListCDMA2000'}],
'type': 'SEQUENCE'},
'MeasurementReport': {'members': [{'members': [{'members': [{'name': 'measurementReport-r8',
'type': 'MeasurementReport-r8-IEs'},
{'name': 'spare7',
'type': 'NULL'},
{'name': 'spare6',
'type': 'NULL'},
{'name': 'spare5',
'type': 'NULL'},
{'name': 'spare4',
'type': 'NULL'},
{'name': 'spare3',
'type': 'NULL'},
{'name': 'spare2',
'type': 'NULL'},
{'name': 'spare1',
'type': 'NULL'}],
'name': 'c1',
'type': 'CHOICE'},
{'members': [],
'name': 'criticalExtensionsFuture',
'type': 'SEQUENCE'}],
'name': 'criticalExtensions',
'type': 'CHOICE'}],
'type': 'SEQUENCE'},
'MeasurementReport-r8-IEs': {'members': [{'name': 'measResults',
'type': 'MeasResults'},
{'members': [],
'name': 'nonCriticalExtension',
'optional': True,
'type': 'SEQUENCE'}],
'type': 'SEQUENCE'},
'MobilityControlInfo': {'members': [{'name': 'targetPhysCellId',
'type': 'PhysCellId'},
{'name': 'carrierFreq',
'optional': True,
'type': 'CarrierFreqEUTRA'},
{'name': 'carrierBandwidth',
'optional': True,
'type': 'CarrierBandwidthEUTRA'},
{'name': 'additionalSpectrumEmission',
'optional': True,
'type': 'AdditionalSpectrumEmission'},
{'name': 't304',
'type': 'ENUMERATED',
'values': [('ms50',
0),
('ms100',
1),
('ms150',
2),
('ms200',
3),
('ms500',
4),
('ms1000',
5),
('ms2000',
6),
('spare1',
7)]},
{'name': 'newUE-Identity',
'type': 'C-RNTI'},
{'name': 'radioResourceConfigCommon',
'type': 'RadioResourceConfigCommon'},
{'name': 'rach-ConfigDedicated',
'optional': True,
'type': 'RACH-ConfigDedicated'},
None],
'type': 'SEQUENCE'},
'MobilityFromEUTRACommand': {'members': [{'name': 'rrc-TransactionIdentifier',
'type': 'RRC-TransactionIdentifier'},
{'members': [{'members': [{'name': 'mobilityFromEUTRACommand-r8',
'type': 'MobilityFromEUTRACommand-r8-IEs'},
{'name': 'spare3',
'type': 'NULL'},
{'name': 'spare2',
'type': 'NULL'},
{'name': 'spare1',
'type': 'NULL'}],
'name': 'c1',
'type': 'CHOICE'},
{'members': [],
'name': 'criticalExtensionsFuture',
'type': 'SEQUENCE'}],
'name': 'criticalExtensions',
'type': 'CHOICE'}],
'type': 'SEQUENCE'},
'MobilityFromEUTRACommand-r8-IEs': {'members': [{'name': 'cs-FallbackIndicator',
'type': 'BOOLEAN'},
{'members': [{'name': 'handover',
'type': 'Handover'},
{'name': 'cellChangeOrder',
'type': 'CellChangeOrder'}],
'name': 'purpose',
'type': 'CHOICE'},
{'members': [],
'name': 'nonCriticalExtension',
'optional': True,
'type': 'SEQUENCE'}],
'type': 'SEQUENCE'},
'MobilityParametersCDMA2000': {'type': 'OCTET '
'STRING'},
'MobilityStateParameters': {'members': [{'name': 't-Evaluation',
'type': 'ENUMERATED',
'values': [('s30',
0),
('s60',
1),
('s120',
2),
('s180',
3),
('s240',
4),
('spare3',
5),
('spare2',
6),
('spare1',
7)]},
{'name': 't-HystNormal',
'type': 'ENUMERATED',
'values': [('s30',
0),
('s60',
1),
('s120',
2),
('s180',
3),
('s240',
4),
('spare3',
5),
('spare2',
6),
('spare1',
7)]},
{'name': 'n-CellChangeMedium',
'restricted-to': [(1,
16)],
'type': 'INTEGER'},
{'name': 'n-CellChangeHigh',
'restricted-to': [(1,
16)],
'type': 'INTEGER'}],
'type': 'SEQUENCE'},
'N1-PUCCH-AN-PersistentList': {'element': {'restricted-to': [(0,
2047)],
'type': 'INTEGER'},
'size': [(1,
4)],
'type': 'SEQUENCE '
'OF'},
'NeighCellCDMA2000': {'members': [{'name': 'bandClass',
'type': 'BandclassCDMA2000'},
{'name': 'neighCellsPerFreqList',
'type': 'NeighCellsPerBandclassListCDMA2000'}],
'type': 'SEQUENCE'},
'NeighCellConfig': {'size': [2],
'type': 'BIT STRING'},
'NeighCellListCDMA2000': {'element': {'type': 'NeighCellCDMA2000'},
'size': [(1,
16)],
'type': 'SEQUENCE '
'OF'},
'NeighCellsPerBandclassCDMA2000': {'members': [{'name': 'arfcn',
'type': 'ARFCN-ValueCDMA2000'},
{'name': 'physCellIdList',
'type': 'PhysCellIdListCDMA2000'}],
'type': 'SEQUENCE'},
'NeighCellsPerBandclassListCDMA2000': {'element': {'type': 'NeighCellsPerBandclassCDMA2000'},
'size': [(1,
16)],
'type': 'SEQUENCE '
'OF'},
'NextHopChainingCount': {'restricted-to': [(0,
7)],
'type': 'INTEGER'},
'P-Max': {'restricted-to': [(-30, 33)],
'type': 'INTEGER'},
'PCCH-Config': {'members': [{'name': 'defaultPagingCycle',
'type': 'ENUMERATED',
'values': [('rf32',
0),
('rf64',
1),
('rf128',
2),
('rf256',
3)]},
{'name': 'nB',
'type': 'ENUMERATED',
'values': [('fourT',
0),
('twoT',
1),
('oneT',
2),
('halfT',
3),
('quarterT',
4),
('oneEighthT',
5),
('oneSixteenthT',
6),
('oneThirtySecondT',
7)]}],
'type': 'SEQUENCE'},
'PCCH-Message': {'members': [{'name': 'message',
'type': 'PCCH-MessageType'}],
'type': 'SEQUENCE'},
'PCCH-MessageType': {'members': [{'members': [{'name': 'paging',
'type': 'Paging'}],
'name': 'c1',
'type': 'CHOICE'},
{'members': [],
'name': 'messageClassExtension',
'type': 'SEQUENCE'}],
'type': 'CHOICE'},
'PDCP-Config': {'members': [{'name': 'discardTimer',
'optional': True,
'type': 'ENUMERATED',
'values': [('ms50',
0),
('ms100',
1),
('ms150',
2),
('ms300',
3),
('ms500',
4),
('ms750',
5),
('ms1500',
6),
('infinity',
7)]},
{'members': [{'name': 'statusReportRequired',
'type': 'BOOLEAN'}],
'name': 'rlc-AM',
'optional': True,
'type': 'SEQUENCE'},
{'members': [{'name': 'pdcp-SN-Size',
'type': 'ENUMERATED',
'values': [('len7bits',
0),
('len12bits',
1)]}],
'name': 'rlc-UM',
'optional': True,
'type': 'SEQUENCE'},
{'members': [{'name': 'notUsed',
'type': 'NULL'},
{'members': [{'default': 15,
'name': 'maxCID',
'restricted-to': [(1,
16383)],
'type': 'INTEGER'},
{'members': [{'name': 'profile0x0001',
'type': 'BOOLEAN'},
{'name': 'profile0x0002',
'type': 'BOOLEAN'},
{'name': 'profile0x0003',
'type': 'BOOLEAN'},
{'name': 'profile0x0004',
'type': 'BOOLEAN'},
{'name': 'profile0x0006',
'type': 'BOOLEAN'},
{'name': 'profile0x0101',
'type': 'BOOLEAN'},
{'name': 'profile0x0102',
'type': 'BOOLEAN'},
{'name': 'profile0x0103',
'type': 'BOOLEAN'},
{'name': 'profile0x0104',
'type': 'BOOLEAN'}],
'name': 'profiles',
'type': 'SEQUENCE'},
None],
'name': 'rohc',
'type': 'SEQUENCE'}],
'name': 'headerCompression',
'type': 'CHOICE'},
None],
'type': 'SEQUENCE'},
'PDCP-Parameters': {'members': [{'members': [{'name': 'profile0x0001',
'type': 'BOOLEAN'},
{'name': 'profile0x0002',
'type': 'BOOLEAN'},
{'name': 'profile0x0003',
'type': 'BOOLEAN'},
{'name': 'profile0x0004',
'type': 'BOOLEAN'},
{'name': 'profile0x0006',
'type': 'BOOLEAN'},
{'name': 'profile0x0101',
'type': 'BOOLEAN'},
{'name': 'profile0x0102',
'type': 'BOOLEAN'},
{'name': 'profile0x0103',
'type': 'BOOLEAN'},
{'name': 'profile0x0104',
'type': 'BOOLEAN'}],
'name': 'supportedROHC-Profiles',
'type': 'SEQUENCE'},
{'default': 'cs16',
'name': 'maxNumberROHC-ContextSessions',
'type': 'ENUMERATED',
'values': [('cs2',
0),
('cs4',
1),
('cs8',
2),
('cs12',
3),
('cs16',
4),
('cs24',
5),
('cs32',
6),
('cs48',
7),
('cs64',
8),
('cs128',
9),
('cs256',
10),
('cs512',
11),
('cs1024',
12),
('cs16384',
13),
('spare2',
14),
('spare1',
15)]},
None],
'type': 'SEQUENCE'},
'PDSCH-ConfigCommon': {'members': [{'name': 'referenceSignalPower',
'restricted-to': [(-60,
50)],
'type': 'INTEGER'},
{'name': 'p-b',
'restricted-to': [(0,
3)],
'type': 'INTEGER'}],
'type': 'SEQUENCE'},
'PDSCH-ConfigDedicated': {'members': [{'name': 'p-a',
'type': 'ENUMERATED',
'values': [('dB-6',
0),
('dB-4dot77',
1),
('dB-3',
2),
('dB-1dot77',
3),
('dB0',
4),
('dB1',
5),
('dB2',
6),
('dB3',
7)]}],
'type': 'SEQUENCE'},
'PHICH-Config': {'members': [{'name': 'phich-Duration',
'type': 'ENUMERATED',
'values': [('normal',
0),
('extended',
1)]},
{'name': 'phich-Resource',
'type': 'ENUMERATED',
'values': [('oneSixth',
0),
('half',
1),
('one',
2),
('two',
3)]}],
'type': 'SEQUENCE'},
'PLMN-Identity': {'members': [{'name': 'mcc',
'optional': True,
'type': 'MCC'},
{'name': 'mnc',
'type': 'MNC'}],
'type': 'SEQUENCE'},
'PLMN-IdentityInfo': {'members': [{'name': 'plmn-Identity',
'type': 'PLMN-Identity'},
{'name': 'cellReservedForOperatorUse',
'type': 'ENUMERATED',
'values': [('reserved',
0),
('notReserved',
1)]}],
'type': 'SEQUENCE'},
'PLMN-IdentityList': {'element': {'type': 'PLMN-IdentityInfo'},
'size': [(1, 6)],
'type': 'SEQUENCE '
'OF'},
'PLMN-IdentityList2': {'element': {'type': 'PLMN-Identity'},
'size': [(1, 5)],
'type': 'SEQUENCE '
'OF'},
'PRACH-Config': {'members': [{'name': 'rootSequenceIndex',
'restricted-to': [(0,
837)],
'type': 'INTEGER'},
{'name': 'prach-ConfigInfo',
'optional': True,
'type': 'PRACH-ConfigInfo'}],
'type': 'SEQUENCE'},
'PRACH-ConfigInfo': {'members': [{'name': 'prach-ConfigIndex',
'restricted-to': [(0,
63)],
'type': 'INTEGER'},
{'name': 'highSpeedFlag',
'type': 'BOOLEAN'},
{'name': 'zeroCorrelationZoneConfig',
'restricted-to': [(0,
15)],
'type': 'INTEGER'},
{'name': 'prach-FreqOffset',
'restricted-to': [(0,
94)],
'type': 'INTEGER'}],
'type': 'SEQUENCE'},
'PRACH-ConfigSIB': {'members': [{'name': 'rootSequenceIndex',
'restricted-to': [(0,
837)],
'type': 'INTEGER'},
{'name': 'prach-ConfigInfo',
'type': 'PRACH-ConfigInfo'}],
'type': 'SEQUENCE'},
'PUCCH-ConfigCommon': {'members': [{'name': 'deltaPUCCH-Shift',
'type': 'ENUMERATED',
'values': [('ds1',
0),
('ds2',
1),
('ds3',
2)]},
{'name': 'nRB-CQI',
'restricted-to': [(0,
98)],
'type': 'INTEGER'},
{'name': 'nCS-AN',
'restricted-to': [(0,
7)],
'type': 'INTEGER'},
{'name': 'n1PUCCH-AN',
'restricted-to': [(0,
2047)],
'type': 'INTEGER'}],
'type': 'SEQUENCE'},
'PUCCH-ConfigDedicated': {'members': [{'members': [{'name': 'release',
'type': 'NULL'},
{'members': [{'name': 'repetitionFactor',
'type': 'ENUMERATED',
'values': [('n2',
0),
('n4',
1),
('n6',
2),
('spare1',
3)]},
{'name': 'n1PUCCH-AN-Rep',
'restricted-to': [(0,
2047)],
'type': 'INTEGER'}],
'name': 'setup',
'type': 'SEQUENCE'}],
'name': 'ackNackRepetition',
'type': 'CHOICE'},
{'name': 'tdd-AckNackFeedbackMode',
'optional': True,
'type': 'ENUMERATED',
'values': [('bundling',
0),
('multiplexing',
1)]}],
'type': 'SEQUENCE'},
'PUSCH-ConfigCommon': {'members': [{'members': [{'name': 'n-SB',
'restricted-to': [(1,
4)],
'type': 'INTEGER'},
{'name': 'hoppingMode',
'type': 'ENUMERATED',
'values': [('interSubFrame',
0),
('intraAndInterSubFrame',
1)]},
{'name': 'pusch-HoppingOffset',
'restricted-to': [(0,
98)],
'type': 'INTEGER'},
{'name': 'enable64QAM',
'type': 'BOOLEAN'}],
'name': 'pusch-ConfigBasic',
'type': 'SEQUENCE'},
{'name': 'ul-ReferenceSignalsPUSCH',
'type': 'UL-ReferenceSignalsPUSCH'}],
'type': 'SEQUENCE'},
'PUSCH-ConfigDedicated': {'members': [{'name': 'betaOffset-ACK-Index',
'restricted-to': [(0,
15)],
'type': 'INTEGER'},
{'name': 'betaOffset-RI-Index',
'restricted-to': [(0,
15)],
'type': 'INTEGER'},
{'name': 'betaOffset-CQI-Index',
'restricted-to': [(0,
15)],
'type': 'INTEGER'}],
'type': 'SEQUENCE'},
'Paging': {'members': [{'name': 'pagingRecordList',
'optional': True,
'type': 'PagingRecordList'},
{'name': 'systemInfoModification',
'optional': True,
'type': 'ENUMERATED',
'values': [('true',
0)]},
{'name': 'etws-Indication',
'optional': True,
'type': 'ENUMERATED',
'values': [('true',
0)]},
{'members': [],
'name': 'nonCriticalExtension',
'optional': True,
'type': 'SEQUENCE'}],
'type': 'SEQUENCE'},
'PagingRecord': {'members': [{'name': 'ue-Identity',
'type': 'PagingUE-Identity'},
{'name': 'cn-Domain',
'type': 'ENUMERATED',
'values': [('ps',
0),
('cs',
1)]},
None],
'type': 'SEQUENCE'},
'PagingRecordList': {'element': {'type': 'PagingRecord'},
'size': [(1,
'maxPageRec')],
'type': 'SEQUENCE '
'OF'},
'PagingUE-Identity': {'members': [{'name': 's-TMSI',
'type': 'S-TMSI'},
{'name': 'imsi',
'type': 'IMSI'},
None],
'type': 'CHOICE'},
'PhyLayerParameters': {'members': [{'name': 'ue-TxAntennaSelectionSupported',
'type': 'BOOLEAN'},
{'name': 'ue-SpecificRefSigsSupported',
'type': 'BOOLEAN'}],
'type': 'SEQUENCE'},
'PhysCellId': {'restricted-to': [(0, 503)],
'type': 'INTEGER'},
'PhysCellIdCDMA2000': {'restricted-to': [(0,
'maxPNOffset')],
'type': 'INTEGER'},
'PhysCellIdGERAN': {'members': [{'name': 'networkColourCode',
'size': [3],
'type': 'BIT '
'STRING'},
{'name': 'baseStationColourCode',
'size': [3],
'type': 'BIT '
'STRING'}],
'type': 'SEQUENCE'},
'PhysCellIdListCDMA2000': {'element': {'type': 'PhysCellIdCDMA2000'},
'size': [(1,
16)],
'type': 'SEQUENCE '
'OF'},
'PhysCellIdRange': {'members': [{'name': 'start',
'type': 'PhysCellId'},
{'name': 'range',
'optional': True,
'type': 'ENUMERATED',
'values': [('n4',
0),
('n8',
1),
('n12',
2),
('n16',
3),
('n24',
4),
('n32',
5),
('n48',
6),
('n64',
7),
('n84',
8),
('n96',
9),
('n128',
10),
('n168',
11),
('n252',
12),
('n504',
13),
('spare2',
14),
('spare1',
15)]}],
'type': 'SEQUENCE'},
'PhysCellIdUTRA-FDD': {'restricted-to': [(0,
511)],
'type': 'INTEGER'},
'PhysCellIdUTRA-TDD': {'restricted-to': [(0,
127)],
'type': 'INTEGER'},
'PhysicalConfigDedicated': {'members': [{'name': 'pdsch-ConfigDedicated',
'optional': True,
'type': 'PDSCH-ConfigDedicated'},
{'name': 'pucch-ConfigDedicated',
'optional': True,
'type': 'PUCCH-ConfigDedicated'},
{'name': 'pusch-ConfigDedicated',
'optional': True,
'type': 'PUSCH-ConfigDedicated'},
{'name': 'uplinkPowerControlDedicated',
'optional': True,
'type': 'UplinkPowerControlDedicated'},
{'name': 'tpc-PDCCH-ConfigPUCCH',
'optional': True,
'type': 'TPC-PDCCH-Config'},
{'name': 'tpc-PDCCH-ConfigPUSCH',
'optional': True,
'type': 'TPC-PDCCH-Config'},
{'name': 'cqi-ReportConfig',
'optional': True,
'type': 'CQI-ReportConfig'},
{'name': 'soundingRS-UL-ConfigDedicated',
'optional': True,
'type': 'SoundingRS-UL-ConfigDedicated'},
{'members': [{'name': 'explicitValue',
'type': 'AntennaInfoDedicated'},
{'name': 'defaultValue',
'type': 'NULL'}],
'name': 'antennaInfo',
'optional': True,
'type': 'CHOICE'},
{'name': 'schedulingRequestConfig',
'optional': True,
'type': 'SchedulingRequestConfig'},
None],
'type': 'SEQUENCE'},
'PollByte': {'type': 'ENUMERATED',
'values': [('kB25', 0),
('kB50', 1),
('kB75', 2),
('kB100', 3),
('kB125', 4),
('kB250', 5),
('kB375', 6),
('kB500', 7),
('kB750', 8),
('kB1000', 9),
('kB1250', 10),
('kB1500', 11),
('kB2000', 12),
('kB3000', 13),
('kBinfinity', 14),
('spare1', 15)]},
'PollPDU': {'type': 'ENUMERATED',
'values': [('p4', 0),
('p8', 1),
('p16', 2),
('p32', 3),
('p64', 4),
('p128', 5),
('p256', 6),
('pInfinity', 7)]},
'PreRegistrationInfoHRPD': {'members': [{'name': 'preRegistrationAllowed',
'type': 'BOOLEAN'},
{'name': 'preRegistrationZoneId',
'optional': True,
'type': 'PreRegistrationZoneIdHRPD'},
{'name': 'secondaryPreRegistrationZoneIdList',
'optional': True,
'type': 'SecondaryPreRegistrationZoneIdListHRPD'}],
'type': 'SEQUENCE'},
'PreRegistrationZoneIdHRPD': {'restricted-to': [(0,
255)],
'type': 'INTEGER'},
'PresenceAntennaPort1': {'type': 'BOOLEAN'},
'Q-OffsetRange': {'type': 'ENUMERATED',
'values': [('dB-24', 0),
('dB-22', 1),
('dB-20', 2),
('dB-18', 3),
('dB-16', 4),
('dB-14', 5),
('dB-12', 6),
('dB-10', 7),
('dB-8', 8),
('dB-6', 9),
('dB-5', 10),
('dB-4', 11),
('dB-3', 12),
('dB-2', 13),
('dB-1', 14),
('dB0', 15),
('dB1', 16),
('dB2', 17),
('dB3', 18),
('dB4', 19),
('dB5', 20),
('dB6', 21),
('dB8', 22),
('dB10', 23),
('dB12', 24),
('dB14', 25),
('dB16', 26),
('dB18', 27),
('dB20', 28),
('dB22', 29),
('dB24',
30)]},
'Q-OffsetRangeInterRAT': {'restricted-to': [(-15,
15)],
'type': 'INTEGER'},
'Q-RxLevMin': {'restricted-to': [(-70,
-22)],
'type': 'INTEGER'},
'QuantityConfig': {'members': [{'name': 'quantityConfigEUTRA',
'optional': True,
'type': 'QuantityConfigEUTRA'},
{'name': 'quantityConfigUTRA',
'optional': True,
'type': 'QuantityConfigUTRA'},
{'name': 'quantityConfigGERAN',
'optional': True,
'type': 'QuantityConfigGERAN'},
{'name': 'quantityConfigCDMA2000',
'optional': True,
'type': 'QuantityConfigCDMA2000'},
None],
'type': 'SEQUENCE'},
'QuantityConfigCDMA2000': {'members': [{'name': 'measQuantityCDMA2000',
'type': 'ENUMERATED',
'values': [('pilotStrength',
0),
('pilotPnPhaseAndPilotStrength',
1)]}],
'type': 'SEQUENCE'},
'QuantityConfigEUTRA': {'members': [{'default': 'fc4',
'name': 'filterCoefficientRSRP',
'type': 'FilterCoefficient'},
{'default': 'fc4',
'name': 'filterCoefficientRSRQ',
'type': 'FilterCoefficient'}],
'type': 'SEQUENCE'},
'QuantityConfigGERAN': {'members': [{'name': 'measQuantityGERAN',
'type': 'ENUMERATED',
'values': [('rssi',
0)]},
{'default': 'fc2',
'name': 'filterCoefficient',
'type': 'FilterCoefficient'}],
'type': 'SEQUENCE'},
'QuantityConfigUTRA': {'members': [{'name': 'measQuantityUTRA-FDD',
'type': 'ENUMERATED',
'values': [('cpich-RSCP',
0),
('cpich-EcN0',
1)]},
{'name': 'measQuantityUTRA-TDD',
'type': 'ENUMERATED',
'values': [('pccpch-RSCP',
0)]},
{'default': 'fc4',
'name': 'filterCoefficient',
'type': 'FilterCoefficient'}],
'type': 'SEQUENCE'},
'RACH-ConfigCommon': {'members': [{'members': [{'name': 'numberOfRA-Preambles',
'type': 'ENUMERATED',
'values': [('n4',
0),
('n8',
1),
('n12',
2),
('n16',
3),
('n20',
4),
('n24',
5),
('n28',
6),
('n32',
7),
('n36',
8),
('n40',
9),
('n44',
10),
('n48',
11),
('n52',
12),
('n56',
13),
('n60',
14),
('n64',
15)]},
{'members': [{'name': 'sizeOfRA-PreamblesGroupA',
'type': 'ENUMERATED',
'values': [('n4',
0),
('n8',
1),
('n12',
2),
('n16',
3),
('n20',
4),
('n24',
5),
('n28',
6),
('n32',
7),
('n36',
8),
('n40',
9),
('n44',
10),
('n48',
11),
('n52',
12),
('n56',
13),
('n60',
14)]},
{'name': 'messageSizeGroupA',
'type': 'ENUMERATED',
'values': [('b56',
0),
('b144',
1),
('b208',
2),
('b256',
3)]},
{'name': 'messagePowerOffsetGroupB',
'type': 'ENUMERATED',
'values': [('minusinfinity',
0),
('dB0',
1),
('dB5',
2),
('dB8',
3),
('dB10',
4),
('dB12',
5),
('dB15',
6),
('dB18',
7)]},
None],
'name': 'preamblesGroupAConfig',
'optional': True,
'type': 'SEQUENCE'}],
'name': 'preambleInfo',
'type': 'SEQUENCE'},
{'members': [{'name': 'powerRampingStep',
'type': 'ENUMERATED',
'values': [('dB0',
0),
('dB2',
1),
('dB4',
2),
('dB6',
3)]},
{'name': 'preambleInitialReceivedTargetPower',
'type': 'ENUMERATED',
'values': [('dBm-120',
0),
('dBm-118',
1),
('dBm-116',
2),
('dBm-114',
3),
('dBm-112',
4),
('dBm-110',
5),
('dBm-108',
6),
('dBm-106',
7),
('dBm-104',
8),
('dBm-102',
9),
('dBm-100',
10),
('dBm-98',
11),
('dBm-96',
12),
('dBm-94',
13),
('dBm-92',
14),
('dBm-90',
15)]}],
'name': 'powerRampingParameters',
'type': 'SEQUENCE'},
{'members': [{'name': 'preambleTransMax',
'type': 'ENUMERATED',
'values': [('n3',
0),
('n4',
1),
('n5',
2),
('n6',
3),
('n7',
4),
('n8',
5),
('n10',
6),
('n20',
7),
('n50',
8),
('n100',
9),
('n200',
10)]},
{'name': 'ra-ResponseWindowSize',
'type': 'ENUMERATED',
'values': [('sf2',
0),
('sf3',
1),
('sf4',
2),
('sf5',
3),
('sf6',
4),
('sf7',
5),
('sf8',
6),
('sf10',
7)]},
{'name': 'mac-ContentionResolutionTimer',
'type': 'ENUMERATED',
'values': [('sf8',
0),
('sf16',
1),
('sf24',
2),
('sf32',
3),
('sf40',
4),
('sf48',
5),
('sf56',
6),
('sf64',
7)]}],
'name': 'ra-SupervisionInfo',
'type': 'SEQUENCE'},
{'name': 'maxHARQ-Msg3Tx',
'restricted-to': [(1,
8)],
'type': 'INTEGER'},
None],
'type': 'SEQUENCE'},
'RACH-ConfigDedicated': {'members': [{'name': 'ra-PreambleIndex',
'restricted-to': [(0,
63)],
'type': 'INTEGER'},
{'name': 'ra-PRACH-MaskIndex',
'restricted-to': [(0,
15)],
'type': 'INTEGER'}],
'type': 'SEQUENCE'},
'RAND-CDMA2000': {'size': [32],
'type': 'BIT STRING'},
'RAT-Type': {'type': 'ENUMERATED',
'values': [('eutra', 0),
('utra', 1),
('geran-cs', 2),
('geran-ps', 3),
('cdma2000-1XRTT',
4),
('spare3', 5),
('spare2', 6),
('spare1', 7),
None]},
'RF-Parameters': {'members': [{'name': 'supportedBandListEUTRA',
'type': 'SupportedBandListEUTRA'}],
'type': 'SEQUENCE'},
'RLC-Config': {'members': [{'members': [{'name': 'ul-AM-RLC',
'type': 'UL-AM-RLC'},
{'name': 'dl-AM-RLC',
'type': 'DL-AM-RLC'}],
'name': 'am',
'type': 'SEQUENCE'},
{'members': [{'name': 'ul-UM-RLC',
'type': 'UL-UM-RLC'},
{'name': 'dl-UM-RLC',
'type': 'DL-UM-RLC'}],
'name': 'um-Bi-Directional',
'type': 'SEQUENCE'},
{'members': [{'name': 'ul-UM-RLC',
'type': 'UL-UM-RLC'}],
'name': 'um-Uni-Directional-UL',
'type': 'SEQUENCE'},
{'members': [{'name': 'dl-UM-RLC',
'type': 'DL-UM-RLC'}],
'name': 'um-Uni-Directional-DL',
'type': 'SEQUENCE'},
None],
'type': 'CHOICE'},
'RRC-TransactionIdentifier': {'restricted-to': [(0,
3)],
'type': 'INTEGER'},
'RRCConnectionReconfiguration': {'members': [{'name': 'rrc-TransactionIdentifier',
'type': 'RRC-TransactionIdentifier'},
{'members': [{'members': [{'name': 'rrcConnectionReconfiguration-r8',
'type': 'RRCConnectionReconfiguration-r8-IEs'},
{'name': 'spare7',
'type': 'NULL'},
{'name': 'spare6',
'type': 'NULL'},
{'name': 'spare5',
'type': 'NULL'},
{'name': 'spare4',
'type': 'NULL'},
{'name': 'spare3',
'type': 'NULL'},
{'name': 'spare2',
'type': 'NULL'},
{'name': 'spare1',
'type': 'NULL'}],
'name': 'c1',
'type': 'CHOICE'},
{'members': [],
'name': 'criticalExtensionsFuture',
'type': 'SEQUENCE'}],
'name': 'criticalExtensions',
'type': 'CHOICE'}],
'type': 'SEQUENCE'},
'RRCConnectionReconfiguration-r8-IEs': {'members': [{'name': 'measConfig',
'optional': True,
'type': 'MeasConfig'},
{'name': 'mobilityControlInfo',
'optional': True,
'type': 'MobilityControlInfo'},
{'element': {'type': 'DedicatedInfoNAS'},
'name': 'dedicatedInfoNASList',
'optional': True,
'size': [(1,
'maxDRB')],
'type': 'SEQUENCE '
'OF'},
{'name': 'radioResourceConfigDedicated',
'optional': True,
'type': 'RadioResourceConfigDedicated'},
{'name': 'securityConfigHO',
'optional': True,
'type': 'SecurityConfigHO'},
{'members': [],
'name': 'nonCriticalExtension',
'optional': True,
'type': 'SEQUENCE'}],
'type': 'SEQUENCE'},
'RRCConnectionReconfigurationComplete': {'members': [{'name': 'rrc-TransactionIdentifier',
'type': 'RRC-TransactionIdentifier'},
{'members': [{'name': 'rrcConnectionReconfigurationComplete-r8',
'type': 'RRCConnectionReconfigurationComplete-r8-IEs'},
{'members': [],
'name': 'criticalExtensionsFuture',
'type': 'SEQUENCE'}],
'name': 'criticalExtensions',
'type': 'CHOICE'}],
'type': 'SEQUENCE'},
'RRCConnectionReconfigurationComplete-r8-IEs': {'members': [{'members': [],
'name': 'nonCriticalExtension',
'optional': True,
'type': 'SEQUENCE'}],
'type': 'SEQUENCE'},
'RRCConnectionReestablishment': {'members': [{'name': 'rrc-TransactionIdentifier',
'type': 'RRC-TransactionIdentifier'},
{'members': [{'members': [{'name': 'rrcConnectionReestablishment-r8',
'type': 'RRCConnectionReestablishment-r8-IEs'},
{'name': 'spare7',
'type': 'NULL'},
{'name': 'spare6',
'type': 'NULL'},
{'name': 'spare5',
'type': 'NULL'},
{'name': 'spare4',
'type': 'NULL'},
{'name': 'spare3',
'type': 'NULL'},
{'name': 'spare2',
'type': 'NULL'},
{'name': 'spare1',
'type': 'NULL'}],
'name': 'c1',
'type': 'CHOICE'},
{'members': [],
'name': 'criticalExtensionsFuture',
'type': 'SEQUENCE'}],
'name': 'criticalExtensions',
'type': 'CHOICE'}],
'type': 'SEQUENCE'},
'RRCConnectionReestablishment-r8-IEs': {'members': [{'name': 'radioResourceConfigDedicated',
'type': 'RadioResourceConfigDedicated'},
{'name': 'nextHopChainingCount',
'type': 'NextHopChainingCount'},
{'members': [],
'name': 'nonCriticalExtension',
'optional': True,
'type': 'SEQUENCE'}],
'type': 'SEQUENCE'},
'RRCConnectionReestablishmentComplete': {'members': [{'name': 'rrc-TransactionIdentifier',
'type': 'RRC-TransactionIdentifier'},
{'members': [{'name': 'rrcConnectionReestablishmentComplete-r8',
'type': 'RRCConnectionReestablishmentComplete-r8-IEs'},
{'members': [],
'name': 'criticalExtensionsFuture',
'type': 'SEQUENCE'}],
'name': 'criticalExtensions',
'type': 'CHOICE'}],
'type': 'SEQUENCE'},
'RRCConnectionReestablishmentComplete-r8-IEs': {'members': [{'members': [],
'name': 'nonCriticalExtension',
'optional': True,
'type': 'SEQUENCE'}],
'type': 'SEQUENCE'},
'RRCConnectionReestablishmentReject': {'members': [{'members': [{'name': 'rrcConnectionReestablishmentReject-r8',
'type': 'RRCConnectionReestablishmentReject-r8-IEs'},
{'members': [],
'name': 'criticalExtensionsFuture',
'type': 'SEQUENCE'}],
'name': 'criticalExtensions',
'type': 'CHOICE'}],
'type': 'SEQUENCE'},
'RRCConnectionReestablishmentReject-r8-IEs': {'members': [{'members': [],
'name': 'nonCriticalExtension',
'optional': True,
'type': 'SEQUENCE'}],
'type': 'SEQUENCE'},
'RRCConnectionReestablishmentRequest': {'members': [{'members': [{'name': 'rrcConnectionReestablishmentRequest-r8',
'type': 'RRCConnectionReestablishmentRequest-r8-IEs'},
{'members': [],
'name': 'criticalExtensionsFuture',
'type': 'SEQUENCE'}],
'name': 'criticalExtensions',
'type': 'CHOICE'}],
'type': 'SEQUENCE'},
'RRCConnectionReestablishmentRequest-r8-IEs': {'members': [{'name': 'ue-Identity',
'type': 'ReestabUE-Identity'},
{'name': 'reestablishmentCause',
'type': 'ReestablishmentCause'},
{'name': 'spare',
'size': [2],
'type': 'BIT '
'STRING'}],
'type': 'SEQUENCE'},
'RRCConnectionReject': {'members': [{'members': [{'members': [{'name': 'rrcConnectionReject-r8',
'type': 'RRCConnectionReject-r8-IEs'},
{'name': 'spare3',
'type': 'NULL'},
{'name': 'spare2',
'type': 'NULL'},
{'name': 'spare1',
'type': 'NULL'}],
'name': 'c1',
'type': 'CHOICE'},
{'members': [],
'name': 'criticalExtensionsFuture',
'type': 'SEQUENCE'}],
'name': 'criticalExtensions',
'type': 'CHOICE'}],
'type': 'SEQUENCE'},
'RRCConnectionReject-r8-IEs': {'members': [{'name': 'waitTime',
'restricted-to': [(1,
16)],
'type': 'INTEGER'},
{'members': [],
'name': 'nonCriticalExtension',
'optional': True,
'type': 'SEQUENCE'}],
'type': 'SEQUENCE'},
'RRCConnectionRelease': {'members': [{'name': 'rrc-TransactionIdentifier',
'type': 'RRC-TransactionIdentifier'},
{'members': [{'members': [{'name': 'rrcConnectionRelease-r8',
'type': 'RRCConnectionRelease-r8-IEs'},
{'name': 'spare3',
'type': 'NULL'},
{'name': 'spare2',
'type': 'NULL'},
{'name': 'spare1',
'type': 'NULL'}],
'name': 'c1',
'type': 'CHOICE'},
{'members': [],
'name': 'criticalExtensionsFuture',
'type': 'SEQUENCE'}],
'name': 'criticalExtensions',
'type': 'CHOICE'}],
'type': 'SEQUENCE'},
'RRCConnectionRelease-r8-IEs': {'members': [{'name': 'releaseCause',
'type': 'ReleaseCause'},
{'name': 'redirectedCarrierInfo',
'optional': True,
'type': 'RedirectedCarrierInfo'},
{'name': 'idleModeMobilityControlInfo',
'optional': True,
'type': 'IdleModeMobilityControlInfo'},
{'members': [],
'name': 'nonCriticalExtension',
'optional': True,
'type': 'SEQUENCE'}],
'type': 'SEQUENCE'},
'RRCConnectionRequest': {'members': [{'members': [{'name': 'rrcConnectionRequest-r8',
'type': 'RRCConnectionRequest-r8-IEs'},
{'members': [],
'name': 'criticalExtensionsFuture',
'type': 'SEQUENCE'}],
'name': 'criticalExtensions',
'type': 'CHOICE'}],
'type': 'SEQUENCE'},
'RRCConnectionRequest-r8-IEs': {'members': [{'name': 'ue-Identity',
'type': 'InitialUE-Identity'},
{'name': 'establishmentCause',
'type': 'EstablishmentCause'},
{'name': 'spare',
'size': [1],
'type': 'BIT '
'STRING'}],
'type': 'SEQUENCE'},
'RRCConnectionSetup': {'members': [{'name': 'rrc-TransactionIdentifier',
'type': 'RRC-TransactionIdentifier'},
{'members': [{'members': [{'name': 'rrcConnectionSetup-r8',
'type': 'RRCConnectionSetup-r8-IEs'},
{'name': 'spare7',
'type': 'NULL'},
{'name': 'spare6',
'type': 'NULL'},
{'name': 'spare5',
'type': 'NULL'},
{'name': 'spare4',
'type': 'NULL'},
{'name': 'spare3',
'type': 'NULL'},
{'name': 'spare2',
'type': 'NULL'},
{'name': 'spare1',
'type': 'NULL'}],
'name': 'c1',
'type': 'CHOICE'},
{'members': [],
'name': 'criticalExtensionsFuture',
'type': 'SEQUENCE'}],
'name': 'criticalExtensions',
'type': 'CHOICE'}],
'type': 'SEQUENCE'},
'RRCConnectionSetup-r8-IEs': {'members': [{'name': 'radioResourceConfigDedicated',
'type': 'RadioResourceConfigDedicated'},
{'members': [],
'name': 'nonCriticalExtension',
'optional': True,
'type': 'SEQUENCE'}],
'type': 'SEQUENCE'},
'RRCConnectionSetupComplete': {'members': [{'name': 'rrc-TransactionIdentifier',
'type': 'RRC-TransactionIdentifier'},
{'members': [{'members': [{'name': 'rrcConnectionSetupComplete-r8',
'type': 'RRCConnectionSetupComplete-r8-IEs'},
{'name': 'spare3',
'type': 'NULL'},
{'name': 'spare2',
'type': 'NULL'},
{'name': 'spare1',
'type': 'NULL'}],
'name': 'c1',
'type': 'CHOICE'},
{'members': [],
'name': 'criticalExtensionsFuture',
'type': 'SEQUENCE'}],
'name': 'criticalExtensions',
'type': 'CHOICE'}],
'type': 'SEQUENCE'},
'RRCConnectionSetupComplete-r8-IEs': {'members': [{'name': 'selectedPLMN-Identity',
'restricted-to': [(1,
6)],
'type': 'INTEGER'},
{'name': 'registeredMME',
'optional': True,
'type': 'RegisteredMME'},
{'name': 'dedicatedInfoNAS',
'type': 'DedicatedInfoNAS'},
{'members': [],
'name': 'nonCriticalExtension',
'optional': True,
'type': 'SEQUENCE'}],
'type': 'SEQUENCE'},
'RSRP-Range': {'restricted-to': [(0, 97)],
'type': 'INTEGER'},
'RSRQ-Range': {'restricted-to': [(0, 34)],
'type': 'INTEGER'},
'RadioResourceConfigCommon': {'members': [{'name': 'rach-ConfigCommon',
'optional': True,
'type': 'RACH-ConfigCommon'},
{'name': 'prach-Config',
'type': 'PRACH-Config'},
{'name': 'pdsch-ConfigCommon',
'optional': True,
'type': 'PDSCH-ConfigCommon'},
{'name': 'pusch-ConfigCommon',
'type': 'PUSCH-ConfigCommon'},
{'name': 'phich-Config',
'optional': True,
'type': 'PHICH-Config'},
{'name': 'pucch-ConfigCommon',
'optional': True,
'type': 'PUCCH-ConfigCommon'},
{'name': 'soundingRS-UL-ConfigCommon',
'optional': True,
'type': 'SoundingRS-UL-ConfigCommon'},
{'name': 'uplinkPowerControlCommon',
'optional': True,
'type': 'UplinkPowerControlCommon'},
{'name': 'antennaInfoCommon',
'optional': True,
'type': 'AntennaInfoCommon'},
{'name': 'p-Max',
'optional': True,
'type': 'P-Max'},
{'name': 'tdd-Config',
'optional': True,
'type': 'TDD-Config'},
{'name': 'ul-CyclicPrefixLength',
'type': 'UL-CyclicPrefixLength'},
None],
'type': 'SEQUENCE'},
'RadioResourceConfigCommonSIB': {'members': [{'name': 'rach-ConfigCommon',
'type': 'RACH-ConfigCommon'},
{'name': 'bcch-Config',
'type': 'BCCH-Config'},
{'name': 'pcch-Config',
'type': 'PCCH-Config'},
{'name': 'prach-Config',
'type': 'PRACH-ConfigSIB'},
{'name': 'pdsch-ConfigCommon',
'type': 'PDSCH-ConfigCommon'},
{'name': 'pusch-ConfigCommon',
'type': 'PUSCH-ConfigCommon'},
{'name': 'pucch-ConfigCommon',
'type': 'PUCCH-ConfigCommon'},
{'name': 'soundingRS-UL-ConfigCommon',
'type': 'SoundingRS-UL-ConfigCommon'},
{'name': 'uplinkPowerControlCommon',
'type': 'UplinkPowerControlCommon'},
{'name': 'ul-CyclicPrefixLength',
'type': 'UL-CyclicPrefixLength'},
None],
'type': 'SEQUENCE'},
'RadioResourceConfigDedicated': {'members': [{'name': 'srb-ToAddModList',
'optional': True,
'type': 'SRB-ToAddModList'},
{'name': 'drb-ToAddModList',
'optional': True,
'type': 'DRB-ToAddModList'},
{'name': 'drb-ToReleaseList',
'optional': True,
'type': 'DRB-ToReleaseList'},
{'members': [{'name': 'explicitValue',
'type': 'MAC-MainConfig'},
{'name': 'defaultValue',
'type': 'NULL'}],
'name': 'mac-MainConfig',
'optional': True,
'type': 'CHOICE'},
{'name': 'sps-Config',
'optional': True,
'type': 'SPS-Config'},
{'name': 'physicalConfigDedicated',
'optional': True,
'type': 'PhysicalConfigDedicated'},
None],
'type': 'SEQUENCE'},
'RedirectedCarrierInfo': {'members': [{'name': 'eutra',
'type': 'ARFCN-ValueEUTRA'},
{'name': 'geran',
'type': 'CarrierFreqsGERAN'},
{'name': 'utra-FDD',
'type': 'ARFCN-ValueUTRA'},
{'name': 'utra-TDD',
'type': 'ARFCN-ValueUTRA'},
{'name': 'cdma2000-HRPD',
'type': 'CarrierFreqCDMA2000'},
{'name': 'cdma2000-1xRTT',
'type': 'CarrierFreqCDMA2000'},
None],
'type': 'CHOICE'},
'ReestabUE-Identity': {'members': [{'name': 'c-RNTI',
'type': 'C-RNTI'},
{'name': 'physCellId',
'type': 'PhysCellId'},
{'name': 'shortMAC-I',
'type': 'ShortMAC-I'}],
'type': 'SEQUENCE'},
'ReestablishmentCause': {'type': 'ENUMERATED',
'values': [('reconfigurationFailure',
0),
('handoverFailure',
1),
('otherFailure',
2),
('spare1',
3)]},
'RegisteredMME': {'members': [{'name': 'plmn-Identity',
'optional': True,
'type': 'PLMN-Identity'},
{'name': 'mmegi',
'size': [16],
'type': 'BIT '
'STRING'},
{'name': 'mmec',
'type': 'MMEC'}],
'type': 'SEQUENCE'},
'ReleaseCause': {'type': 'ENUMERATED',
'values': [('loadBalancingTAUrequired',
0),
('other', 1),
('spare2', 2),
('spare1',
3)]},
'ReportConfigEUTRA': {'members': [{'members': [{'members': [{'members': [{'members': [{'name': 'a1-Threshold',
'type': 'ThresholdEUTRA'}],
'name': 'eventA1',
'type': 'SEQUENCE'},
{'members': [{'name': 'a2-Threshold',
'type': 'ThresholdEUTRA'}],
'name': 'eventA2',
'type': 'SEQUENCE'},
{'members': [{'name': 'a3-Offset',
'restricted-to': [(-30,
30)],
'type': 'INTEGER'},
{'name': 'reportOnLeave',
'type': 'BOOLEAN'}],
'name': 'eventA3',
'type': 'SEQUENCE'},
{'members': [{'name': 'a4-Threshold',
'type': 'ThresholdEUTRA'}],
'name': 'eventA4',
'type': 'SEQUENCE'},
{'members': [{'name': 'a5-Threshold1',
'type': 'ThresholdEUTRA'},
{'name': 'a5-Threshold2',
'type': 'ThresholdEUTRA'}],
'name': 'eventA5',
'type': 'SEQUENCE'},
None],
'name': 'eventId',
'type': 'CHOICE'},
{'name': 'hysteresis',
'type': 'Hysteresis'},
{'name': 'timeToTrigger',
'type': 'TimeToTrigger'}],
'name': 'event',
'type': 'SEQUENCE'},
{'members': [{'name': 'purpose',
'type': 'ENUMERATED',
'values': [('reportStrongestCells',
0),
('reportCGI',
1)]}],
'name': 'periodical',
'type': 'SEQUENCE'}],
'name': 'triggerType',
'type': 'CHOICE'},
{'name': 'triggerQuantity',
'type': 'ENUMERATED',
'values': [('rsrp',
0),
('rsrq',
1)]},
{'name': 'reportQuantity',
'type': 'ENUMERATED',
'values': [('sameAsTriggerQuantity',
0),
('both',
1)]},
{'name': 'maxReportCells',
'restricted-to': [(1,
'maxCellReport')],
'type': 'INTEGER'},
{'name': 'reportInterval',
'type': 'ReportInterval'},
{'name': 'reportAmount',
'type': 'ENUMERATED',
'values': [('r1',
0),
('r2',
1),
('r4',
2),
('r8',
3),
('r16',
4),
('r32',
5),
('r64',
6),
('infinity',
7)]},
None],
'type': 'SEQUENCE'},
'ReportConfigId': {'restricted-to': [(1,
'maxReportConfigId')],
'type': 'INTEGER'},
'ReportConfigInterRAT': {'members': [{'members': [{'members': [{'members': [{'members': [{'members': [{'name': 'b1-ThresholdUTRA',
'type': 'ThresholdUTRA'},
{'name': 'b1-ThresholdGERAN',
'type': 'ThresholdGERAN'},
{'name': 'b1-ThresholdCDMA2000',
'type': 'ThresholdCDMA2000'}],
'name': 'b1-Threshold',
'type': 'CHOICE'}],
'name': 'eventB1',
'type': 'SEQUENCE'},
{'members': [{'name': 'b2-Threshold1',
'type': 'ThresholdEUTRA'},
{'members': [{'name': 'b2-Threshold2UTRA',
'type': 'ThresholdUTRA'},
{'name': 'b2-Threshold2GERAN',
'type': 'ThresholdGERAN'},
{'name': 'b2-Threshold2CDMA2000',
'type': 'ThresholdCDMA2000'}],
'name': 'b2-Threshold2',
'type': 'CHOICE'}],
'name': 'eventB2',
'type': 'SEQUENCE'},
None],
'name': 'eventId',
'type': 'CHOICE'},
{'name': 'hysteresis',
'type': 'Hysteresis'},
{'name': 'timeToTrigger',
'type': 'TimeToTrigger'}],
'name': 'event',
'type': 'SEQUENCE'},
{'members': [{'name': 'purpose',
'type': 'ENUMERATED',
'values': [('reportStrongestCells',
0),
('reportStrongestCellsForSON',
1),
('reportCGI',
2)]}],
'name': 'periodical',
'type': 'SEQUENCE'}],
'name': 'triggerType',
'type': 'CHOICE'},
{'name': 'maxReportCells',
'restricted-to': [(1,
'maxCellReport')],
'type': 'INTEGER'},
{'name': 'reportInterval',
'type': 'ReportInterval'},
{'name': 'reportAmount',
'type': 'ENUMERATED',
'values': [('r1',
0),
('r2',
1),
('r4',
2),
('r8',
3),
('r16',
4),
('r32',
5),
('r64',
6),
('infinity',
7)]},
None],
'type': 'SEQUENCE'},
'ReportConfigToAddMod': {'members': [{'name': 'reportConfigId',
'type': 'ReportConfigId'},
{'members': [{'name': 'reportConfigEUTRA',
'type': 'ReportConfigEUTRA'},
{'name': 'reportConfigInterRAT',
'type': 'ReportConfigInterRAT'}],
'name': 'reportConfig',
'type': 'CHOICE'}],
'type': 'SEQUENCE'},
'ReportConfigToAddModList': {'element': {'type': 'ReportConfigToAddMod'},
'size': [(1,
'maxReportConfigId')],
'type': 'SEQUENCE '
'OF'},
'ReportConfigToRemoveList': {'element': {'type': 'ReportConfigId'},
'size': [(1,
'maxReportConfigId')],
'type': 'SEQUENCE '
'OF'},
'ReportInterval': {'type': 'ENUMERATED',
'values': [('ms120', 0),
('ms240', 1),
('ms480', 2),
('ms640', 3),
('ms1024',
4),
('ms2048',
5),
('ms5120',
6),
('ms10240',
7),
('min1', 8),
('min6', 9),
('min12',
10),
('min30',
11),
('min60',
12),
('spare3',
13),
('spare2',
14),
('spare1',
15)]},
'ReselectionThreshold': {'restricted-to': [(0,
31)],
'type': 'INTEGER'},
'S-TMSI': {'members': [{'name': 'mmec',
'type': 'MMEC'},
{'name': 'm-TMSI',
'size': [32],
'type': 'BIT '
'STRING'}],
'type': 'SEQUENCE'},
'SI-OrPSI-GERAN': {'members': [{'name': 'si',
'type': 'SystemInfoListGERAN'},
{'name': 'psi',
'type': 'SystemInfoListGERAN'}],
'type': 'CHOICE'},
'SIB-MappingInfo': {'element': {'type': 'SIB-Type'},
'size': [(0,
'maxSIB-1')],
'type': 'SEQUENCE OF'},
'SIB-Type': {'type': 'ENUMERATED',
'values': [('sibType3', 0),
('sibType4', 1),
('sibType5', 2),
('sibType6', 3),
('sibType7', 4),
('sibType8', 5),
('sibType9', 6),
('sibType10', 7),
('sibType11', 8),
('spare7', 9),
('spare6', 10),
('spare5', 11),
('spare4', 12),
('spare3', 13),
('spare2', 14),
('spare1', 15),
None]},
'SN-FieldLength': {'type': 'ENUMERATED',
'values': [('size5', 0),
('size10',
1)]},
'SPS-Config': {'members': [{'name': 'semiPersistSchedC-RNTI',
'optional': True,
'type': 'C-RNTI'},
{'name': 'sps-ConfigDL',
'optional': True,
'type': 'SPS-ConfigDL'},
{'name': 'sps-ConfigUL',
'optional': True,
'type': 'SPS-ConfigUL'}],
'type': 'SEQUENCE'},
'SPS-ConfigDL': {'members': [{'name': 'release',
'type': 'NULL'},
{'members': [{'name': 'semiPersistSchedIntervalDL',
'type': 'ENUMERATED',
'values': [('sf10',
0),
('sf20',
1),
('sf32',
2),
('sf40',
3),
('sf64',
4),
('sf80',
5),
('sf128',
6),
('sf160',
7),
('sf320',
8),
('sf640',
9),
('spare6',
10),
('spare5',
11),
('spare4',
12),
('spare3',
13),
('spare2',
14),
('spare1',
15)]},
{'name': 'numberOfConfSPS-Processes',
'restricted-to': [(1,
8)],
'type': 'INTEGER'},
{'name': 'n1-PUCCH-AN-PersistentList',
'type': 'N1-PUCCH-AN-PersistentList'},
None],
'name': 'setup',
'type': 'SEQUENCE'}],
'type': 'CHOICE'},
'SPS-ConfigUL': {'members': [{'name': 'release',
'type': 'NULL'},
{'members': [{'name': 'semiPersistSchedIntervalUL',
'type': 'ENUMERATED',
'values': [('sf10',
0),
('sf20',
1),
('sf32',
2),
('sf40',
3),
('sf64',
4),
('sf80',
5),
('sf128',
6),
('sf160',
7),
('sf320',
8),
('sf640',
9),
('spare6',
10),
('spare5',
11),
('spare4',
12),
('spare3',
13),
('spare2',
14),
('spare1',
15)]},
{'name': 'implicitReleaseAfter',
'type': 'ENUMERATED',
'values': [('e2',
0),
('e3',
1),
('e4',
2),
('e8',
3)]},
{'members': [{'name': 'p0-NominalPUSCH-Persistent',
'restricted-to': [(-126,
24)],
'type': 'INTEGER'},
{'name': 'p0-UE-PUSCH-Persistent',
'restricted-to': [(-8,
7)],
'type': 'INTEGER'}],
'name': 'p0-Persistent',
'optional': True,
'type': 'SEQUENCE'},
{'name': 'twoIntervalsConfig',
'optional': True,
'type': 'ENUMERATED',
'values': [('true',
0)]},
None],
'name': 'setup',
'type': 'SEQUENCE'}],
'type': 'CHOICE'},
'SRB-ToAddMod': {'members': [{'name': 'srb-Identity',
'restricted-to': [(1,
2)],
'type': 'INTEGER'},
{'members': [{'name': 'explicitValue',
'type': 'RLC-Config'},
{'name': 'defaultValue',
'type': 'NULL'}],
'name': 'rlc-Config',
'optional': True,
'type': 'CHOICE'},
{'members': [{'name': 'explicitValue',
'type': 'LogicalChannelConfig'},
{'name': 'defaultValue',
'type': 'NULL'}],
'name': 'logicalChannelConfig',
'optional': True,
'type': 'CHOICE'},
None],
'type': 'SEQUENCE'},
'SRB-ToAddModList': {'element': {'type': 'SRB-ToAddMod'},
'size': [(1, 2)],
'type': 'SEQUENCE '
'OF'},
'SchedulingInfo': {'members': [{'name': 'si-Periodicity',
'type': 'ENUMERATED',
'values': [('rf8',
0),
('rf16',
1),
('rf32',
2),
('rf64',
3),
('rf128',
4),
('rf256',
5),
('rf512',
6)]},
{'name': 'sib-MappingInfo',
'type': 'SIB-MappingInfo'}],
'type': 'SEQUENCE'},
'SchedulingInfoList': {'element': {'type': 'SchedulingInfo'},
'size': [(1,
'maxSI-Message')],
'type': 'SEQUENCE '
'OF'},
'SchedulingRequestConfig': {'members': [{'name': 'release',
'type': 'NULL'},
{'members': [{'name': 'sr-PUCCH-ResourceIndex',
'restricted-to': [(0,
2047)],
'type': 'INTEGER'},
{'name': 'sr-ConfigIndex',
'restricted-to': [(0,
155)],
'type': 'INTEGER'},
{'name': 'dsr-TransMax',
'type': 'ENUMERATED',
'values': [('n4',
0),
('n8',
1),
('n16',
2),
('n32',
3),
('n64',
4),
('spare3',
5),
('spare2',
6),
('spare1',
7)]}],
'name': 'setup',
'type': 'SEQUENCE'}],
'type': 'CHOICE'},
'SecondaryPreRegistrationZoneIdListHRPD': {'element': {'type': 'PreRegistrationZoneIdHRPD'},
'size': [(1,
2)],
'type': 'SEQUENCE '
'OF'},
'SecurityAlgorithmConfig': {'members': [{'name': 'cipheringAlgorithm',
'type': 'ENUMERATED',
'values': [('eea0',
0),
('eea1',
1),
('eea2',
2),
('spare5',
3),
('spare4',
4),
('spare3',
5),
('spare2',
6),
('spare1',
7),
None]},
{'name': 'integrityProtAlgorithm',
'type': 'ENUMERATED',
'values': [('reserved',
0),
('eia1',
1),
('eia2',
2),
('spare5',
3),
('spare4',
4),
('spare3',
5),
('spare2',
6),
('spare1',
7),
None]}],
'type': 'SEQUENCE'},
'SecurityConfigHO': {'members': [{'members': [{'members': [{'name': 'securityAlgorithmConfig',
'optional': True,
'type': 'SecurityAlgorithmConfig'},
{'name': 'keyChangeIndicator',
'type': 'BOOLEAN'},
{'name': 'nextHopChainingCount',
'type': 'NextHopChainingCount'}],
'name': 'intraLTE',
'type': 'SEQUENCE'},
{'members': [{'name': 'securityAlgorithmConfig',
'type': 'SecurityAlgorithmConfig'},
{'name': 'nas-SecurityParamToEUTRA',
'size': [6],
'type': 'OCTET '
'STRING'}],
'name': 'interRAT',
'type': 'SEQUENCE'}],
'name': 'handoverType',
'type': 'CHOICE'},
None],
'type': 'SEQUENCE'},
'SecurityConfigSMC': {'members': [{'name': 'securityAlgorithmConfig',
'type': 'SecurityAlgorithmConfig'},
None],
'type': 'SEQUENCE'},
'SecurityModeCommand': {'members': [{'name': 'rrc-TransactionIdentifier',
'type': 'RRC-TransactionIdentifier'},
{'members': [{'members': [{'name': 'securityModeCommand-r8',
'type': 'SecurityModeCommand-r8-IEs'},
{'name': 'spare3',
'type': 'NULL'},
{'name': 'spare2',
'type': 'NULL'},
{'name': 'spare1',
'type': 'NULL'}],
'name': 'c1',
'type': 'CHOICE'},
{'members': [],
'name': 'criticalExtensionsFuture',
'type': 'SEQUENCE'}],
'name': 'criticalExtensions',
'type': 'CHOICE'}],
'type': 'SEQUENCE'},
'SecurityModeCommand-r8-IEs': {'members': [{'name': 'securityConfigSMC',
'type': 'SecurityConfigSMC'},
{'members': [],
'name': 'nonCriticalExtension',
'optional': True,
'type': 'SEQUENCE'}],
'type': 'SEQUENCE'},
'SecurityModeComplete': {'members': [{'name': 'rrc-TransactionIdentifier',
'type': 'RRC-TransactionIdentifier'},
{'members': [{'name': 'securityModeComplete-r8',
'type': 'SecurityModeComplete-r8-IEs'},
{'members': [],
'name': 'criticalExtensionsFuture',
'type': 'SEQUENCE'}],
'name': 'criticalExtensions',
'type': 'CHOICE'}],
'type': 'SEQUENCE'},
'SecurityModeComplete-r8-IEs': {'members': [{'members': [],
'name': 'nonCriticalExtension',
'optional': True,
'type': 'SEQUENCE'}],
'type': 'SEQUENCE'},
'SecurityModeFailure': {'members': [{'name': 'rrc-TransactionIdentifier',
'type': 'RRC-TransactionIdentifier'},
{'members': [{'name': 'securityModeFailure-r8',
'type': 'SecurityModeFailure-r8-IEs'},
{'members': [],
'name': 'criticalExtensionsFuture',
'type': 'SEQUENCE'}],
'name': 'criticalExtensions',
'type': 'CHOICE'}],
'type': 'SEQUENCE'},
'SecurityModeFailure-r8-IEs': {'members': [{'members': [],
'name': 'nonCriticalExtension',
'optional': True,
'type': 'SEQUENCE'}],
'type': 'SEQUENCE'},
'ShortMAC-I': {'size': [16],
'type': 'BIT STRING'},
'SoundingRS-UL-ConfigCommon': {'members': [{'name': 'release',
'type': 'NULL'},
{'members': [{'name': 'srs-BandwidthConfig',
'type': 'ENUMERATED',
'values': [('bw0',
0),
('bw1',
1),
('bw2',
2),
('bw3',
3),
('bw4',
4),
('bw5',
5),
('bw6',
6),
('bw7',
7)]},
{'name': 'srs-SubframeConfig',
'type': 'ENUMERATED',
'values': [('sc0',
0),
('sc1',
1),
('sc2',
2),
('sc3',
3),
('sc4',
4),
('sc5',
5),
('sc6',
6),
('sc7',
7),
('sc8',
8),
('sc9',
9),
('sc10',
10),
('sc11',
11),
('sc12',
12),
('sc13',
13),
('sc14',
14),
('sc15',
15)]},
{'name': 'ackNackSRS-SimultaneousTransmission',
'type': 'BOOLEAN'},
{'name': 'srs-MaxUpPts',
'optional': True,
'type': 'ENUMERATED',
'values': [('true',
0)]}],
'name': 'setup',
'type': 'SEQUENCE'}],
'type': 'CHOICE'},
'SoundingRS-UL-ConfigDedicated': {'members': [{'name': 'release',
'type': 'NULL'},
{'members': [{'name': 'srs-Bandwidth',
'type': 'ENUMERATED',
'values': [('bw0',
0),
('bw1',
1),
('bw2',
2),
('bw3',
3)]},
{'name': 'srs-HoppingBandwidth',
'type': 'ENUMERATED',
'values': [('hbw0',
0),
('hbw1',
1),
('hbw2',
2),
('hbw3',
3)]},
{'name': 'freqDomainPosition',
'restricted-to': [(0,
23)],
'type': 'INTEGER'},
{'name': 'duration',
'type': 'BOOLEAN'},
{'name': 'srs-ConfigIndex',
'restricted-to': [(0,
1023)],
'type': 'INTEGER'},
{'name': 'transmissionComb',
'restricted-to': [(0,
1)],
'type': 'INTEGER'},
{'name': 'cyclicShift',
'type': 'ENUMERATED',
'values': [('cs0',
0),
('cs1',
1),
('cs2',
2),
('cs3',
3),
('cs4',
4),
('cs5',
5),
('cs6',
6),
('cs7',
7)]}],
'name': 'setup',
'type': 'SEQUENCE'}],
'type': 'CHOICE'},
'SpeedStateScaleFactors': {'members': [{'name': 'sf-Medium',
'type': 'ENUMERATED',
'values': [('oDot25',
0),
('oDot5',
1),
('oDot75',
2),
('lDot0',
3)]},
{'name': 'sf-High',
'type': 'ENUMERATED',
'values': [('oDot25',
0),
('oDot5',
1),
('oDot75',
2),
('lDot0',
3)]}],
'type': 'SEQUENCE'},
'SupportedBandEUTRA': {'members': [{'name': 'bandEUTRA',
'restricted-to': [(1,
64)],
'type': 'INTEGER'},
{'name': 'halfDuplex',
'type': 'BOOLEAN'}],
'type': 'SEQUENCE'},
'SupportedBandGERAN': {'type': 'ENUMERATED',
'values': [('gsm450',
0),
('gsm480',
1),
('gsm710',
2),
('gsm750',
3),
('gsm810',
4),
('gsm850',
5),
('gsm900P',
6),
('gsm900E',
7),
('gsm900R',
8),
('gsm1800',
9),
('gsm1900',
10),
('spare5',
11),
('spare4',
12),
('spare3',
13),
('spare2',
14),
('spare1',
15),
None]},
'SupportedBandList1XRTT': {'element': {'type': 'BandclassCDMA2000'},
'size': [(1,
'maxCDMA-BandClass')],
'type': 'SEQUENCE '
'OF'},
'SupportedBandListEUTRA': {'element': {'type': 'SupportedBandEUTRA'},
'size': [(1,
'maxBands')],
'type': 'SEQUENCE '
'OF'},
'SupportedBandListGERAN': {'element': {'type': 'SupportedBandGERAN'},
'size': [(1,
'maxBands')],
'type': 'SEQUENCE '
'OF'},
'SupportedBandListHRPD': {'element': {'type': 'BandclassCDMA2000'},
'size': [(1,
'maxCDMA-BandClass')],
'type': 'SEQUENCE '
'OF'},
'SupportedBandListUTRA-FDD': {'element': {'type': 'SupportedBandUTRA-FDD'},
'size': [(1,
'maxBands')],
'type': 'SEQUENCE '
'OF'},
'SupportedBandListUTRA-TDD128': {'element': {'type': 'SupportedBandUTRA-TDD128'},
'size': [(1,
'maxBands')],
'type': 'SEQUENCE '
'OF'},
'SupportedBandListUTRA-TDD384': {'element': {'type': 'SupportedBandUTRA-TDD384'},
'size': [(1,
'maxBands')],
'type': 'SEQUENCE '
'OF'},
'SupportedBandListUTRA-TDD768': {'element': {'type': 'SupportedBandUTRA-TDD768'},
'size': [(1,
'maxBands')],
'type': 'SEQUENCE '
'OF'},
'SupportedBandUTRA-FDD': {'type': 'ENUMERATED',
'values': [('bandI',
0),
('bandII',
1),
('bandIII',
2),
('bandIV',
3),
('bandV',
4),
('bandVI',
5),
('bandVII',
6),
('bandVIII',
7),
('bandIX',
8),
('bandX',
9),
('bandXI',
10),
('bandXII',
11),
('bandXIII',
12),
('bandXIV',
13),
('bandXV',
14),
('bandXVI',
15),
None,
('bandXVII-8a0',
16),
('bandXVIII-8a0',
17),
('bandXIX-8a0',
18),
('bandXX-8a0',
19),
('bandXXI-8a0',
20),
('bandXXII-8a0',
21),
('bandXXIII-8a0',
22),
('bandXXIV-8a0',
23),
('bandXXV-8a0',
24),
('bandXXVI-8a0',
25),
('bandXXVII-8a0',
26),
('bandXXVIII-8a0',
27),
('bandXXIX-8a0',
28),
('bandXXX-8a0',
29),
('bandXXXI-8a0',
30),
('bandXXXII-8a0',
31)]},
'SupportedBandUTRA-TDD128': {'type': 'ENUMERATED',
'values': [('a',
0),
('b',
1),
('c',
2),
('d',
3),
('e',
4),
('f',
5),
('g',
6),
('h',
7),
('i',
8),
('j',
9),
('k',
10),
('l',
11),
('m',
12),
('n',
13),
('o',
14),
('p',
15),
None]},
'SupportedBandUTRA-TDD384': {'type': 'ENUMERATED',
'values': [('a',
0),
('b',
1),
('c',
2),
('d',
3),
('e',
4),
('f',
5),
('g',
6),
('h',
7),
('i',
8),
('j',
9),
('k',
10),
('l',
11),
('m',
12),
('n',
13),
('o',
14),
('p',
15),
None]},
'SupportedBandUTRA-TDD768': {'type': 'ENUMERATED',
'values': [('a',
0),
('b',
1),
('c',
2),
('d',
3),
('e',
4),
('f',
5),
('g',
6),
('h',
7),
('i',
8),
('j',
9),
('k',
10),
('l',
11),
('m',
12),
('n',
13),
('o',
14),
('p',
15),
None]},
'SystemInfoListGERAN': {'element': {'size': [(1,
23)],
'type': 'OCTET '
'STRING'},
'size': [(1,
'maxGERAN-SI')],
'type': 'SEQUENCE '
'OF'},
'SystemInformation': {'members': [{'members': [{'name': 'systemInformation-r8',
'type': 'SystemInformation-r8-IEs'},
{'members': [],
'name': 'criticalExtensionsFuture',
'type': 'SEQUENCE'}],
'name': 'criticalExtensions',
'type': 'CHOICE'}],
'type': 'SEQUENCE'},
'SystemInformation-r8-IEs': {'members': [{'element': {'members': [{'name': 'sib2',
'type': 'SystemInformationBlockType2'},
{'name': 'sib3',
'type': 'SystemInformationBlockType3'},
{'name': 'sib4',
'type': 'SystemInformationBlockType4'},
{'name': 'sib5',
'type': 'SystemInformationBlockType5'},
{'name': 'sib6',
'type': 'SystemInformationBlockType6'},
{'name': 'sib7',
'type': 'SystemInformationBlockType7'},
{'name': 'sib8',
'type': 'SystemInformationBlockType8'},
{'name': 'sib9',
'type': 'SystemInformationBlockType9'},
{'name': 'sib10',
'type': 'SystemInformationBlockType10'},
{'name': 'sib11',
'type': 'SystemInformationBlockType11'},
None],
'type': 'CHOICE'},
'name': 'sib-TypeAndInfo',
'size': [(1,
'maxSIB')],
'type': 'SEQUENCE '
'OF'},
{'members': [],
'name': 'nonCriticalExtension',
'optional': True,
'type': 'SEQUENCE'}],
'type': 'SEQUENCE'},
'SystemInformationBlockType1': {'members': [{'members': [{'name': 'plmn-IdentityList',
'type': 'PLMN-IdentityList'},
{'name': 'trackingAreaCode',
'type': 'TrackingAreaCode'},
{'name': 'cellIdentity',
'type': 'CellIdentity'},
{'name': 'cellBarred',
'type': 'ENUMERATED',
'values': [('barred',
0),
('notBarred',
1)]},
{'name': 'intraFreqReselection',
'type': 'ENUMERATED',
'values': [('allowed',
0),
('notAllowed',
1)]},
{'name': 'csg-Indication',
'type': 'BOOLEAN'},
{'name': 'csg-Identity',
'optional': True,
'size': [27],
'type': 'BIT '
'STRING'}],
'name': 'cellAccessRelatedInfo',
'type': 'SEQUENCE'},
{'members': [{'name': 'q-RxLevMin',
'type': 'Q-RxLevMin'},
{'name': 'q-RxLevMinOffset',
'optional': True,
'restricted-to': [(1,
8)],
'type': 'INTEGER'}],
'name': 'cellSelectionInfo',
'type': 'SEQUENCE'},
{'name': 'p-Max',
'optional': True,
'type': 'P-Max'},
{'name': 'freqBandIndicator',
'restricted-to': [(1,
64)],
'type': 'INTEGER'},
{'name': 'schedulingInfoList',
'type': 'SchedulingInfoList'},
{'name': 'tdd-Config',
'optional': True,
'type': 'TDD-Config'},
{'name': 'si-WindowLength',
'type': 'ENUMERATED',
'values': [('ms1',
0),
('ms2',
1),
('ms5',
2),
('ms10',
3),
('ms15',
4),
('ms20',
5),
('ms40',
6)]},
{'name': 'systemInfoValueTag',
'restricted-to': [(0,
31)],
'type': 'INTEGER'},
{'members': [],
'name': 'nonCriticalExtension',
'optional': True,
'type': 'SEQUENCE'}],
'type': 'SEQUENCE'},
'SystemInformationBlockType10': {'members': [{'name': 'messageIdentifier',
'size': [16],
'type': 'BIT '
'STRING'},
{'name': 'serialNumber',
'size': [16],
'type': 'BIT '
'STRING'},
{'name': 'warningType',
'size': [2],
'type': 'OCTET '
'STRING'},
{'name': 'warningSecurityInfo',
'optional': True,
'size': [50],
'type': 'OCTET '
'STRING'},
None],
'type': 'SEQUENCE'},
'SystemInformationBlockType11': {'members': [{'name': 'messageIdentifier',
'size': [16],
'type': 'BIT '
'STRING'},
{'name': 'serialNumber',
'size': [16],
'type': 'BIT '
'STRING'},
{'name': 'warningMessageSegmentType',
'type': 'ENUMERATED',
'values': [('notLastSegment',
0),
('lastSegment',
1)]},
{'name': 'warningMessageSegmentNumber',
'restricted-to': [(0,
63)],
'type': 'INTEGER'},
{'name': 'warningMessageSegment',
'type': 'OCTET '
'STRING'},
{'name': 'dataCodingScheme',
'optional': True,
'size': [1],
'type': 'OCTET '
'STRING'},
None],
'type': 'SEQUENCE'},
'SystemInformationBlockType2': {'members': [{'members': [{'name': 'ac-BarringForEmergency',
'type': 'BOOLEAN'},
{'name': 'ac-BarringForMO-Signalling',
'optional': True,
'type': 'AC-BarringConfig'},
{'name': 'ac-BarringForMO-Data',
'optional': True,
'type': 'AC-BarringConfig'}],
'name': 'ac-BarringInfo',
'optional': True,
'type': 'SEQUENCE'},
{'name': 'radioResourceConfigCommon',
'type': 'RadioResourceConfigCommonSIB'},
{'name': 'ue-TimersAndConstants',
'type': 'UE-TimersAndConstants'},
{'members': [{'name': 'ul-CarrierFreq',
'optional': True,
'type': 'ARFCN-ValueEUTRA'},
{'name': 'ul-Bandwidth',
'optional': True,
'type': 'ENUMERATED',
'values': [('n6',
0),
('n15',
1),
('n25',
2),
('n50',
3),
('n75',
4),
('n100',
5)]},
{'name': 'additionalSpectrumEmission',
'type': 'AdditionalSpectrumEmission'}],
'name': 'freqInfo',
'type': 'SEQUENCE'},
{'name': 'mbsfn-SubframeConfigList',
'optional': True,
'type': 'MBSFN-SubframeConfigList'},
{'name': 'timeAlignmentTimerCommon',
'type': 'TimeAlignmentTimer'},
None],
'type': 'SEQUENCE'},
'SystemInformationBlockType3': {'members': [{'members': [{'name': 'q-Hyst',
'type': 'ENUMERATED',
'values': [('dB0',
0),
('dB1',
1),
('dB2',
2),
('dB3',
3),
('dB4',
4),
('dB5',
5),
('dB6',
6),
('dB8',
7),
('dB10',
8),
('dB12',
9),
('dB14',
10),
('dB16',
11),
('dB18',
12),
('dB20',
13),
('dB22',
14),
('dB24',
15)]},
{'members': [{'name': 'mobilityStateParameters',
'type': 'MobilityStateParameters'},
{'members': [{'name': 'sf-Medium',
'type': 'ENUMERATED',
'values': [('dB-6',
0),
('dB-4',
1),
('dB-2',
2),
('dB0',
3)]},
{'name': 'sf-High',
'type': 'ENUMERATED',
'values': [('dB-6',
0),
('dB-4',
1),
('dB-2',
2),
('dB0',
3)]}],
'name': 'q-HystSF',
'type': 'SEQUENCE'}],
'name': 'speedStateReselectionPars',
'optional': True,
'type': 'SEQUENCE'}],
'name': 'cellReselectionInfoCommon',
'type': 'SEQUENCE'},
{'members': [{'name': 's-NonIntraSearch',
'optional': True,
'type': 'ReselectionThreshold'},
{'name': 'threshServingLow',
'type': 'ReselectionThreshold'},
{'name': 'cellReselectionPriority',
'type': 'CellReselectionPriority'}],
'name': 'cellReselectionServingFreqInfo',
'type': 'SEQUENCE'},
{'members': [{'name': 'q-RxLevMin',
'type': 'Q-RxLevMin'},
{'name': 'p-Max',
'optional': True,
'type': 'P-Max'},
{'name': 's-IntraSearch',
'optional': True,
'type': 'ReselectionThreshold'},
{'name': 'allowedMeasBandwidth',
'optional': True,
'type': 'AllowedMeasBandwidth'},
{'name': 'presenceAntennaPort1',
'type': 'PresenceAntennaPort1'},
{'name': 'neighCellConfig',
'type': 'NeighCellConfig'},
{'name': 't-ReselectionEUTRA',
'type': 'T-Reselection'},
{'name': 't-ReselectionEUTRA-SF',
'optional': True,
'type': 'SpeedStateScaleFactors'}],
'name': 'intraFreqCellReselectionInfo',
'type': 'SEQUENCE'},
None],
'type': 'SEQUENCE'},
'SystemInformationBlockType4': {'members': [{'name': 'intraFreqNeighCellList',
'optional': True,
'type': 'IntraFreqNeighCellList'},
{'name': 'intraFreqBlackCellList',
'optional': True,
'type': 'IntraFreqBlackCellList'},
{'name': 'csg-PhysCellIdRange',
'optional': True,
'type': 'PhysCellIdRange'},
None],
'type': 'SEQUENCE'},
'SystemInformationBlockType5': {'members': [{'name': 'interFreqCarrierFreqList',
'type': 'InterFreqCarrierFreqList'},
None],
'type': 'SEQUENCE'},
'SystemInformationBlockType6': {'members': [{'name': 'carrierFreqListUTRA-FDD',
'optional': True,
'type': 'CarrierFreqListUTRA-FDD'},
{'name': 'carrierFreqListUTRA-TDD',
'optional': True,
'type': 'CarrierFreqListUTRA-TDD'},
{'name': 't-ReselectionUTRA',
'type': 'T-Reselection'},
{'name': 't-ReselectionUTRA-SF',
'optional': True,
'type': 'SpeedStateScaleFactors'},
None],
'type': 'SEQUENCE'},
'SystemInformationBlockType7': {'members': [{'name': 't-ReselectionGERAN',
'type': 'T-Reselection'},
{'name': 't-ReselectionGERAN-SF',
'optional': True,
'type': 'SpeedStateScaleFactors'},
{'name': 'carrierFreqsInfoList',
'optional': True,
'type': 'CarrierFreqsInfoListGERAN'},
None],
'type': 'SEQUENCE'},
'SystemInformationBlockType8': {'members': [{'name': 'systemTimeInfo',
'optional': True,
'type': 'SystemTimeInfoCDMA2000'},
{'name': 'searchWindowSize',
'optional': True,
'restricted-to': [(0,
15)],
'type': 'INTEGER'},
{'members': [{'name': 'preRegistrationInfoHRPD',
'type': 'PreRegistrationInfoHRPD'},
{'name': 'cellReselectionParametersHRPD',
'optional': True,
'type': 'CellReselectionParametersCDMA2000'}],
'name': 'parametersHRPD',
'optional': True,
'type': 'SEQUENCE'},
{'members': [{'name': 'csfb-RegistrationParam1XRTT',
'optional': True,
'type': 'CSFB-RegistrationParam1XRTT'},
{'name': 'longCodeState1XRTT',
'optional': True,
'size': [42],
'type': 'BIT '
'STRING'},
{'name': 'cellReselectionParameters1XRTT',
'optional': True,
'type': 'CellReselectionParametersCDMA2000'}],
'name': 'parameters1XRTT',
'optional': True,
'type': 'SEQUENCE'},
None],
'type': 'SEQUENCE'},
'SystemInformationBlockType9': {'members': [{'name': 'hnb-Name',
'optional': True,
'size': [(1,
48)],
'type': 'OCTET '
'STRING'},
None],
'type': 'SEQUENCE'},
'SystemTimeInfoCDMA2000': {'members': [{'name': 'cdma-EUTRA-Synchronisation',
'type': 'BOOLEAN'},
{'members': [{'name': 'synchronousSystemTime',
'size': [39],
'type': 'BIT '
'STRING'},
{'name': 'asynchronousSystemTime',
'size': [49],
'type': 'BIT '
'STRING'}],
'name': 'cdma-SystemTime',
'type': 'CHOICE'}],
'type': 'SEQUENCE'},
'T-PollRetransmit': {'type': 'ENUMERATED',
'values': [('ms5', 0),
('ms10',
1),
('ms15',
2),
('ms20',
3),
('ms25',
4),
('ms30',
5),
('ms35',
6),
('ms40',
7),
('ms45',
8),
('ms50',
9),
('ms55',
10),
('ms60',
11),
('ms65',
12),
('ms70',
13),
('ms75',
14),
('ms80',
15),
('ms85',
16),
('ms90',
17),
('ms95',
18),
('ms100',
19),
('ms105',
20),
('ms110',
21),
('ms115',
22),
('ms120',
23),
('ms125',
24),
('ms130',
25),
('ms135',
26),
('ms140',
27),
('ms145',
28),
('ms150',
29),
('ms155',
30),
('ms160',
31),
('ms165',
32),
('ms170',
33),
('ms175',
34),
('ms180',
35),
('ms185',
36),
('ms190',
37),
('ms195',
38),
('ms200',
39),
('ms205',
40),
('ms210',
41),
('ms215',
42),
('ms220',
43),
('ms225',
44),
('ms230',
45),
('ms235',
46),
('ms240',
47),
('ms245',
48),
('ms250',
49),
('ms300',
50),
('ms350',
51),
('ms400',
52),
('ms450',
53),
('ms500',
54),
('spare9',
55),
('spare8',
56),
('spare7',
57),
('spare6',
58),
('spare5',
59),
('spare4',
60),
('spare3',
61),
('spare2',
62),
('spare1',
63)]},
'T-Reordering': {'type': 'ENUMERATED',
'values': [('ms0', 0),
('ms5', 1),
('ms10', 2),
('ms15', 3),
('ms20', 4),
('ms25', 5),
('ms30', 6),
('ms35', 7),
('ms40', 8),
('ms45', 9),
('ms50', 10),
('ms55', 11),
('ms60', 12),
('ms65', 13),
('ms70', 14),
('ms75', 15),
('ms80', 16),
('ms85', 17),
('ms90', 18),
('ms95', 19),
('ms100', 20),
('ms110', 21),
('ms120', 22),
('ms130', 23),
('ms140', 24),
('ms150', 25),
('ms160', 26),
('ms170', 27),
('ms180', 28),
('ms190', 29),
('ms200', 30),
('spare1',
31)]},
'T-Reselection': {'restricted-to': [(0,
7)],
'type': 'INTEGER'},
'T-StatusProhibit': {'type': 'ENUMERATED',
'values': [('ms0', 0),
('ms5', 1),
('ms10',
2),
('ms15',
3),
('ms20',
4),
('ms25',
5),
('ms30',
6),
('ms35',
7),
('ms40',
8),
('ms45',
9),
('ms50',
10),
('ms55',
11),
('ms60',
12),
('ms65',
13),
('ms70',
14),
('ms75',
15),
('ms80',
16),
('ms85',
17),
('ms90',
18),
('ms95',
19),
('ms100',
20),
('ms105',
21),
('ms110',
22),
('ms115',
23),
('ms120',
24),
('ms125',
25),
('ms130',
26),
('ms135',
27),
('ms140',
28),
('ms145',
29),
('ms150',
30),
('ms155',
31),
('ms160',
32),
('ms165',
33),
('ms170',
34),
('ms175',
35),
('ms180',
36),
('ms185',
37),
('ms190',
38),
('ms195',
39),
('ms200',
40),
('ms205',
41),
('ms210',
42),
('ms215',
43),
('ms220',
44),
('ms225',
45),
('ms230',
46),
('ms235',
47),
('ms240',
48),
('ms245',
49),
('ms250',
50),
('ms300',
51),
('ms350',
52),
('ms400',
53),
('ms450',
54),
('ms500',
55),
('spare8',
56),
('spare7',
57),
('spare6',
58),
('spare5',
59),
('spare4',
60),
('spare3',
61),
('spare2',
62),
('spare1',
63)]},
'TDD-Config': {'members': [{'name': 'subframeAssignment',
'type': 'ENUMERATED',
'values': [('sa0',
0),
('sa1',
1),
('sa2',
2),
('sa3',
3),
('sa4',
4),
('sa5',
5),
('sa6',
6)]},
{'name': 'specialSubframePatterns',
'type': 'ENUMERATED',
'values': [('ssp0',
0),
('ssp1',
1),
('ssp2',
2),
('ssp3',
3),
('ssp4',
4),
('ssp5',
5),
('ssp6',
6),
('ssp7',
7),
('ssp8',
8)]}],
'type': 'SEQUENCE'},
'TPC-Index': {'members': [{'name': 'indexOfFormat3',
'restricted-to': [(1,
15)],
'type': 'INTEGER'},
{'name': 'indexOfFormat3A',
'restricted-to': [(1,
31)],
'type': 'INTEGER'}],
'type': 'CHOICE'},
'TPC-PDCCH-Config': {'members': [{'name': 'release',
'type': 'NULL'},
{'members': [{'name': 'tpc-RNTI',
'size': [16],
'type': 'BIT '
'STRING'},
{'name': 'tpc-Index',
'type': 'TPC-Index'}],
'name': 'setup',
'type': 'SEQUENCE'}],
'type': 'CHOICE'},
'ThresholdCDMA2000': {'restricted-to': [(0,
63)],
'type': 'INTEGER'},
'ThresholdEUTRA': {'members': [{'name': 'threshold-RSRP',
'type': 'RSRP-Range'},
{'name': 'threshold-RSRQ',
'type': 'RSRQ-Range'}],
'type': 'CHOICE'},
'ThresholdGERAN': {'restricted-to': [(0,
63)],
'type': 'INTEGER'},
'ThresholdUTRA': {'members': [{'name': 'utra-RSCP',
'restricted-to': [(-5,
91)],
'type': 'INTEGER'},
{'name': 'utra-EcN0',
'restricted-to': [(0,
49)],
'type': 'INTEGER'}],
'type': 'CHOICE'},
'TimeAlignmentTimer': {'type': 'ENUMERATED',
'values': [('sf500',
0),
('sf750',
1),
('sf1280',
2),
('sf1920',
3),
('sf2560',
4),
('sf5120',
5),
('sf10240',
6),
('infinity',
7)]},
'TimeToTrigger': {'type': 'ENUMERATED',
'values': [('ms0', 0),
('ms40', 1),
('ms64', 2),
('ms80', 3),
('ms100', 4),
('ms128', 5),
('ms160', 6),
('ms256', 7),
('ms320', 8),
('ms480', 9),
('ms512', 10),
('ms640', 11),
('ms1024',
12),
('ms1280',
13),
('ms2560',
14),
('ms5120',
15)]},
'TrackingAreaCode': {'size': [16],
'type': 'BIT STRING'},
'UE-CapabilityRAT-Container': {'members': [{'name': 'rat-Type',
'type': 'RAT-Type'},
{'name': 'ueCapabilityRAT-Container',
'type': 'OCTET '
'STRING'}],
'type': 'SEQUENCE'},
'UE-CapabilityRAT-ContainerList': {'element': {'type': 'UE-CapabilityRAT-Container'},
'size': [(0,
'maxRAT-Capabilities')],
'type': 'SEQUENCE '
'OF'},
'UE-CapabilityRequest': {'element': {'type': 'RAT-Type'},
'size': [(1,
'maxRAT-Capabilities')],
'type': 'SEQUENCE '
'OF'},
'UE-EUTRA-Capability': {'members': [{'name': 'accessStratumRelease',
'type': 'AccessStratumRelease'},
{'name': 'ue-Category',
'restricted-to': [(1,
5)],
'type': 'INTEGER'},
{'name': 'pdcp-Parameters',
'type': 'PDCP-Parameters'},
{'name': 'phyLayerParameters',
'type': 'PhyLayerParameters'},
{'name': 'rf-Parameters',
'type': 'RF-Parameters'},
{'name': 'measParameters',
'type': 'MeasParameters'},
{'name': 'featureGroupIndicators',
'optional': True,
'size': [32],
'type': 'BIT '
'STRING'},
{'members': [{'name': 'utraFDD',
'optional': True,
'type': 'IRAT-ParametersUTRA-FDD'},
{'name': 'utraTDD128',
'optional': True,
'type': 'IRAT-ParametersUTRA-TDD128'},
{'name': 'utraTDD384',
'optional': True,
'type': 'IRAT-ParametersUTRA-TDD384'},
{'name': 'utraTDD768',
'optional': True,
'type': 'IRAT-ParametersUTRA-TDD768'},
{'name': 'geran',
'optional': True,
'type': 'IRAT-ParametersGERAN'},
{'name': 'cdma2000-HRPD',
'optional': True,
'type': 'IRAT-ParametersCDMA2000-HRPD'},
{'name': 'cdma2000-1xRTT',
'optional': True,
'type': 'IRAT-ParametersCDMA2000-1XRTT'}],
'name': 'interRAT-Parameters',
'type': 'SEQUENCE'},
{'members': [],
'name': 'nonCriticalExtension',
'optional': True,
'type': 'SEQUENCE'}],
'type': 'SEQUENCE'},
'UE-TimersAndConstants': {'members': [{'name': 't300',
'type': 'ENUMERATED',
'values': [('ms100',
0),
('ms200',
1),
('ms300',
2),
('ms400',
3),
('ms600',
4),
('ms1000',
5),
('ms1500',
6),
('ms2000',
7)]},
{'name': 't301',
'type': 'ENUMERATED',
'values': [('ms100',
0),
('ms200',
1),
('ms300',
2),
('ms400',
3),
('ms600',
4),
('ms1000',
5),
('ms1500',
6),
('ms2000',
7)]},
{'name': 't310',
'type': 'ENUMERATED',
'values': [('ms0',
0),
('ms50',
1),
('ms100',
2),
('ms200',
3),
('ms500',
4),
('ms1000',
5),
('ms2000',
6)]},
{'name': 'n310',
'type': 'ENUMERATED',
'values': [('n1',
0),
('n2',
1),
('n3',
2),
('n4',
3),
('n6',
4),
('n8',
5),
('n10',
6),
('n20',
7)]},
{'name': 't311',
'type': 'ENUMERATED',
'values': [('ms1000',
0),
('ms3000',
1),
('ms5000',
2),
('ms10000',
3),
('ms15000',
4),
('ms20000',
5),
('ms30000',
6)]},
{'name': 'n311',
'type': 'ENUMERATED',
'values': [('n1',
0),
('n2',
1),
('n3',
2),
('n4',
3),
('n5',
4),
('n6',
5),
('n8',
6),
('n10',
7)]},
None],
'type': 'SEQUENCE'},
'UECapabilityEnquiry': {'members': [{'name': 'rrc-TransactionIdentifier',
'type': 'RRC-TransactionIdentifier'},
{'members': [{'members': [{'name': 'ueCapabilityEnquiry-r8',
'type': 'UECapabilityEnquiry-r8-IEs'},
{'name': 'spare3',
'type': 'NULL'},
{'name': 'spare2',
'type': 'NULL'},
{'name': 'spare1',
'type': 'NULL'}],
'name': 'c1',
'type': 'CHOICE'},
{'members': [],
'name': 'criticalExtensionsFuture',
'type': 'SEQUENCE'}],
'name': 'criticalExtensions',
'type': 'CHOICE'}],
'type': 'SEQUENCE'},
'UECapabilityEnquiry-r8-IEs': {'members': [{'name': 'ue-CapabilityRequest',
'type': 'UE-CapabilityRequest'},
{'members': [],
'name': 'nonCriticalExtension',
'optional': True,
'type': 'SEQUENCE'}],
'type': 'SEQUENCE'},
'UECapabilityInformation': {'members': [{'name': 'rrc-TransactionIdentifier',
'type': 'RRC-TransactionIdentifier'},
{'members': [{'members': [{'name': 'ueCapabilityInformation-r8',
'type': 'UECapabilityInformation-r8-IEs'},
{'name': 'spare7',
'type': 'NULL'},
{'name': 'spare6',
'type': 'NULL'},
{'name': 'spare5',
'type': 'NULL'},
{'name': 'spare4',
'type': 'NULL'},
{'name': 'spare3',
'type': 'NULL'},
{'name': 'spare2',
'type': 'NULL'},
{'name': 'spare1',
'type': 'NULL'}],
'name': 'c1',
'type': 'CHOICE'},
{'members': [],
'name': 'criticalExtensionsFuture',
'type': 'SEQUENCE'}],
'name': 'criticalExtensions',
'type': 'CHOICE'}],
'type': 'SEQUENCE'},
'UECapabilityInformation-r8-IEs': {'members': [{'name': 'ue-CapabilityRAT-ContainerList',
'type': 'UE-CapabilityRAT-ContainerList'},
{'members': [],
'name': 'nonCriticalExtension',
'optional': True,
'type': 'SEQUENCE'}],
'type': 'SEQUENCE'},
'UL-AM-RLC': {'members': [{'name': 't-PollRetransmit',
'type': 'T-PollRetransmit'},
{'name': 'pollPDU',
'type': 'PollPDU'},
{'name': 'pollByte',
'type': 'PollByte'},
{'name': 'maxRetxThreshold',
'type': 'ENUMERATED',
'values': [('t1',
0),
('t2',
1),
('t3',
2),
('t4',
3),
('t6',
4),
('t8',
5),
('t16',
6),
('t32',
7)]}],
'type': 'SEQUENCE'},
'UL-CCCH-Message': {'members': [{'name': 'message',
'type': 'UL-CCCH-MessageType'}],
'type': 'SEQUENCE'},
'UL-CCCH-MessageType': {'members': [{'members': [{'name': 'rrcConnectionReestablishmentRequest',
'type': 'RRCConnectionReestablishmentRequest'},
{'name': 'rrcConnectionRequest',
'type': 'RRCConnectionRequest'}],
'name': 'c1',
'type': 'CHOICE'},
{'members': [],
'name': 'messageClassExtension',
'type': 'SEQUENCE'}],
'type': 'CHOICE'},
'UL-CyclicPrefixLength': {'type': 'ENUMERATED',
'values': [('len1',
0),
('len2',
1)]},
'UL-DCCH-Message': {'members': [{'name': 'message',
'type': 'UL-DCCH-MessageType'}],
'type': 'SEQUENCE'},
'UL-DCCH-MessageType': {'members': [{'members': [{'name': 'csfbParametersRequestCDMA2000',
'type': 'CSFBParametersRequestCDMA2000'},
{'name': 'measurementReport',
'type': 'MeasurementReport'},
{'name': 'rrcConnectionReconfigurationComplete',
'type': 'RRCConnectionReconfigurationComplete'},
{'name': 'rrcConnectionReestablishmentComplete',
'type': 'RRCConnectionReestablishmentComplete'},
{'name': 'rrcConnectionSetupComplete',
'type': 'RRCConnectionSetupComplete'},
{'name': 'securityModeComplete',
'type': 'SecurityModeComplete'},
{'name': 'securityModeFailure',
'type': 'SecurityModeFailure'},
{'name': 'ueCapabilityInformation',
'type': 'UECapabilityInformation'},
{'name': 'ulHandoverPreparationTransfer',
'type': 'ULHandoverPreparationTransfer'},
{'name': 'ulInformationTransfer',
'type': 'ULInformationTransfer'},
{'name': 'counterCheckResponse',
'type': 'CounterCheckResponse'},
{'name': 'spare5',
'type': 'NULL'},
{'name': 'spare4',
'type': 'NULL'},
{'name': 'spare3',
'type': 'NULL'},
{'name': 'spare2',
'type': 'NULL'},
{'name': 'spare1',
'type': 'NULL'}],
'name': 'c1',
'type': 'CHOICE'},
{'members': [],
'name': 'messageClassExtension',
'type': 'SEQUENCE'}],
'type': 'CHOICE'},
'UL-ReferenceSignalsPUSCH': {'members': [{'name': 'groupHoppingEnabled',
'type': 'BOOLEAN'},
{'name': 'groupAssignmentPUSCH',
'restricted-to': [(0,
29)],
'type': 'INTEGER'},
{'name': 'sequenceHoppingEnabled',
'type': 'BOOLEAN'},
{'name': 'cyclicShift',
'restricted-to': [(0,
7)],
'type': 'INTEGER'}],
'type': 'SEQUENCE'},
'UL-UM-RLC': {'members': [{'name': 'sn-FieldLength',
'type': 'SN-FieldLength'}],
'type': 'SEQUENCE'},
'ULHandoverPreparationTransfer': {'members': [{'members': [{'members': [{'name': 'ulHandoverPreparationTransfer-r8',
'type': 'ULHandoverPreparationTransfer-r8-IEs'},
{'name': 'spare3',
'type': 'NULL'},
{'name': 'spare2',
'type': 'NULL'},
{'name': 'spare1',
'type': 'NULL'}],
'name': 'c1',
'type': 'CHOICE'},
{'members': [],
'name': 'criticalExtensionsFuture',
'type': 'SEQUENCE'}],
'name': 'criticalExtensions',
'type': 'CHOICE'}],
'type': 'SEQUENCE'},
'ULHandoverPreparationTransfer-r8-IEs': {'members': [{'name': 'cdma2000-Type',
'type': 'CDMA2000-Type'},
{'name': 'meid',
'optional': True,
'size': [56],
'type': 'BIT '
'STRING'},
{'name': 'dedicatedInfo',
'type': 'DedicatedInfoCDMA2000'},
{'members': [],
'name': 'nonCriticalExtension',
'optional': True,
'type': 'SEQUENCE'}],
'type': 'SEQUENCE'},
'ULInformationTransfer': {'members': [{'members': [{'members': [{'name': 'ulInformationTransfer-r8',
'type': 'ULInformationTransfer-r8-IEs'},
{'name': 'spare3',
'type': 'NULL'},
{'name': 'spare2',
'type': 'NULL'},
{'name': 'spare1',
'type': 'NULL'}],
'name': 'c1',
'type': 'CHOICE'},
{'members': [],
'name': 'criticalExtensionsFuture',
'type': 'SEQUENCE'}],
'name': 'criticalExtensions',
'type': 'CHOICE'}],
'type': 'SEQUENCE'},
'ULInformationTransfer-r8-IEs': {'members': [{'members': [{'name': 'dedicatedInfoNAS',
'type': 'DedicatedInfoNAS'},
{'name': 'dedicatedInfoCDMA2000-1XRTT',
'type': 'DedicatedInfoCDMA2000'},
{'name': 'dedicatedInfoCDMA2000-HRPD',
'type': 'DedicatedInfoCDMA2000'}],
'name': 'dedicatedInfoType',
'type': 'CHOICE'},
{'members': [],
'name': 'nonCriticalExtension',
'optional': True,
'type': 'SEQUENCE'}],
'type': 'SEQUENCE'},
'UplinkPowerControlCommon': {'members': [{'name': 'p0-NominalPUSCH',
'restricted-to': [(-126,
24)],
'type': 'INTEGER'},
{'name': 'alpha',
'type': 'ENUMERATED',
'values': [('al0',
0),
('al04',
1),
('al05',
2),
('al06',
3),
('al07',
4),
('al08',
5),
('al09',
6),
('al1',
7)]},
{'name': 'p0-NominalPUCCH',
'restricted-to': [(-127,
-96)],
'type': 'INTEGER'},
{'name': 'deltaFList-PUCCH',
'type': 'DeltaFList-PUCCH'},
{'name': 'deltaPreambleMsg3',
'restricted-to': [(-1,
6)],
'type': 'INTEGER'}],
'type': 'SEQUENCE'},
'UplinkPowerControlDedicated': {'members': [{'name': 'p0-UE-PUSCH',
'restricted-to': [(-8,
7)],
'type': 'INTEGER'},
{'name': 'deltaMCS-Enabled',
'type': 'ENUMERATED',
'values': [('en0',
0),
('en1',
1)]},
{'name': 'accumulationEnabled',
'type': 'BOOLEAN'},
{'name': 'p0-UE-PUCCH',
'restricted-to': [(-8,
7)],
'type': 'INTEGER'},
{'name': 'pSRS-Offset',
'restricted-to': [(0,
15)],
'type': 'INTEGER'},
{'default': 'fc4',
'name': 'filterCoefficient',
'type': 'FilterCoefficient'}],
'type': 'SEQUENCE'}},
'values': {'maxBands': {'type': 'INTEGER',
'value': 64},
'maxCDMA-BandClass': {'type': 'INTEGER',
'value': 32},
'maxCellBlack': {'type': 'INTEGER',
'value': 16},
'maxCellInter': {'type': 'INTEGER',
'value': 16},
'maxCellIntra': {'type': 'INTEGER',
'value': 16},
'maxCellMeas': {'type': 'INTEGER',
'value': 32},
'maxCellReport': {'type': 'INTEGER',
'value': 8},
'maxDRB': {'type': 'INTEGER',
'value': 11},
'maxEARFCN': {'type': 'INTEGER',
'value': 65535},
'maxFreq': {'type': 'INTEGER',
'value': 8},
'maxGERAN-SI': {'type': 'INTEGER',
'value': 10},
'maxGNFG': {'type': 'INTEGER',
'value': 16},
'maxMBSFN-Allocations': {'type': 'INTEGER',
'value': 8},
'maxMCS-1': {'type': 'INTEGER',
'value': 16},
'maxMeasId': {'type': 'INTEGER',
'value': 32},
'maxObjectId': {'type': 'INTEGER',
'value': 32},
'maxPNOffset': {'type': 'INTEGER',
'value': 511},
'maxPageRec': {'type': 'INTEGER',
'value': 16},
'maxRAT-Capabilities': {'type': 'INTEGER',
'value': 8},
'maxReportConfigId': {'type': 'INTEGER',
'value': 32},
'maxSI-Message': {'type': 'INTEGER',
'value': 32},
'maxSIB': {'type': 'INTEGER',
'value': 32},
'maxSIB-1': {'type': 'INTEGER',
'value': 31},
'maxUTRA-FDD-Carrier': {'type': 'INTEGER',
'value': 16},
'maxUTRA-TDD-Carrier': {'type': 'INTEGER',
'value': 16}}},
'EUTRA-UE-Variables': {'extensibility-implied': False,
'imports': {'EUTRA-RRC-Definitions': ['C-RNTI',
'CellIdentity',
'MeasId',
'MeasIdToAddModList',
'MeasObjectToAddModList',
'MobilityStateParameters',
'NeighCellConfig',
'PhysCellId',
'QuantityConfig',
'RSRP-Range',
'ReportConfigToAddModList',
'SpeedStateScaleFactors',
'maxCellMeas',
'maxMeasId']},
'object-classes': {},
'object-sets': {},
'tags': 'AUTOMATIC',
'types': {'CellsTriggeredList': {'element': {'type': 'PhysCellId'},
'size': [(1,
'maxCellMeas')],
'type': 'SEQUENCE OF'},
'VarMeasConfig': {'members': [{'name': 'measIdList',
'optional': True,
'type': 'MeasIdToAddModList'},
{'name': 'measObjectList',
'optional': True,
'type': 'MeasObjectToAddModList'},
{'name': 'reportConfigList',
'optional': True,
'type': 'ReportConfigToAddModList'},
{'name': 'quantityConfig',
'optional': True,
'type': 'QuantityConfig'},
{'name': 's-Measure',
'optional': True,
'type': 'RSRP-Range'},
{'members': [{'name': 'release',
'type': 'NULL'},
{'members': [{'name': 'mobilityStateParameters',
'type': 'MobilityStateParameters'},
{'name': 'timeToTrigger-SF',
'type': 'SpeedStateScaleFactors'}],
'name': 'setup',
'type': 'SEQUENCE'}],
'name': 'speedStatePars',
'optional': True,
'type': 'CHOICE'}],
'type': 'SEQUENCE'},
'VarMeasReport': {'members': [{'name': 'measId',
'type': 'MeasId'},
{'name': 'cellsTriggeredList',
'optional': True,
'type': 'CellsTriggeredList'},
{'name': 'numberOfReportsSent',
'type': 'INTEGER'}],
'type': 'SEQUENCE'},
'VarMeasReportList': {'element': {'type': 'VarMeasReport'},
'size': [(1,
'maxMeasId')],
'type': 'SEQUENCE OF'},
'VarShortMAC-Input': {'members': [{'name': 'cellIdentity',
'type': 'CellIdentity'},
{'name': 'physCellId',
'type': 'PhysCellId'},
{'name': 'c-RNTI',
'type': 'C-RNTI'}],
'type': 'SEQUENCE'}},
'values': {}}}
|
expected = {'EUTRA-InterNodeDefinitions': {'extensibility-implied': False, 'imports': {'EUTRA-RRC-Definitions': ['ARFCN-ValueEUTRA', 'AntennaInfoCommon', 'C-RNTI', 'CellIdentity', 'DL-DCCH-Message', 'MasterInformationBlock', 'MeasConfig', 'PhysCellId', 'RadioResourceConfigDedicated', 'SecurityAlgorithmConfig', 'ShortMAC-I', 'SystemInformationBlockType1', 'SystemInformationBlockType2', 'UE-CapabilityRAT-ContainerList', 'UECapabilityInformation']}, 'object-classes': {}, 'object-sets': {}, 'tags': 'AUTOMATIC', 'types': {'AS-Config': {'members': [{'name': 'sourceMeasConfig', 'type': 'MeasConfig'}, {'name': 'sourceRadioResourceConfig', 'type': 'RadioResourceConfigDedicated'}, {'name': 'sourceSecurityAlgorithmConfig', 'type': 'SecurityAlgorithmConfig'}, {'name': 'sourceUE-Identity', 'type': 'C-RNTI'}, {'name': 'sourceMasterInformationBlock', 'type': 'MasterInformationBlock'}, {'name': 'sourceSystemInformationBlockType1', 'type': 'SystemInformationBlockType1'}, {'name': 'sourceSystemInformationBlockType2', 'type': 'SystemInformationBlockType2'}, {'name': 'antennaInfoCommon', 'type': 'AntennaInfoCommon'}, {'name': 'sourceDl-CarrierFreq', 'type': 'ARFCN-ValueEUTRA'}, None], 'type': 'SEQUENCE'}, 'AS-Context': {'members': [{'name': 'reestablishmentInfo', 'optional': True, 'type': 'ReestablishmentInfo'}], 'type': 'SEQUENCE'}, 'AdditionalReestabInfo': {'members': [{'name': 'cellIdentity', 'type': 'CellIdentity'}, {'name': 'key-eNodeB-Star', 'type': 'Key-eNodeB-Star'}, {'name': 'shortMAC-I', 'type': 'ShortMAC-I'}], 'type': 'SEQUENCE'}, 'AdditionalReestabInfoList': {'element': {'type': 'AdditionalReestabInfo'}, 'size': [(1, 'maxReestabInfo')], 'type': 'SEQUENCE OF'}, 'HandoverCommand': {'members': [{'members': [{'members': [{'name': 'handoverCommand-r8', 'type': 'HandoverCommand-r8-IEs'}, {'name': 'spare7', 'type': 'NULL'}, {'name': 'spare6', 'type': 'NULL'}, {'name': 'spare5', 'type': 'NULL'}, {'name': 'spare4', 'type': 'NULL'}, {'name': 'spare3', 'type': 'NULL'}, {'name': 'spare2', 'type': 'NULL'}, {'name': 'spare1', 'type': 'NULL'}], 'name': 'c1', 'type': 'CHOICE'}, {'members': [], 'name': 'criticalExtensionsFuture', 'type': 'SEQUENCE'}], 'name': 'criticalExtensions', 'type': 'CHOICE'}], 'type': 'SEQUENCE'}, 'HandoverCommand-r8-IEs': {'members': [{'name': 'handoverCommandMessage', 'type': 'OCTET STRING'}, {'members': [], 'name': 'nonCriticalExtension', 'optional': True, 'type': 'SEQUENCE'}], 'type': 'SEQUENCE'}, 'HandoverPreparationInformation': {'members': [{'members': [{'members': [{'name': 'handoverPreparationInformation-r8', 'type': 'HandoverPreparationInformation-r8-IEs'}, {'name': 'spare7', 'type': 'NULL'}, {'name': 'spare6', 'type': 'NULL'}, {'name': 'spare5', 'type': 'NULL'}, {'name': 'spare4', 'type': 'NULL'}, {'name': 'spare3', 'type': 'NULL'}, {'name': 'spare2', 'type': 'NULL'}, {'name': 'spare1', 'type': 'NULL'}], 'name': 'c1', 'type': 'CHOICE'}, {'members': [], 'name': 'criticalExtensionsFuture', 'type': 'SEQUENCE'}], 'name': 'criticalExtensions', 'type': 'CHOICE'}], 'type': 'SEQUENCE'}, 'HandoverPreparationInformation-r8-IEs': {'members': [{'name': 'ue-RadioAccessCapabilityInfo', 'type': 'UE-CapabilityRAT-ContainerList'}, {'name': 'as-Config', 'optional': True, 'type': 'AS-Config'}, {'name': 'rrm-Config', 'optional': True, 'type': 'RRM-Config'}, {'name': 'as-Context', 'optional': True, 'type': 'AS-Context'}, {'members': [], 'name': 'nonCriticalExtension', 'optional': True, 'type': 'SEQUENCE'}], 'type': 'SEQUENCE'}, 'Key-eNodeB-Star': {'size': [256], 'type': 'BIT STRING'}, 'RRM-Config': {'members': [{'name': 'ue-InactiveTime', 'optional': True, 'type': 'ENUMERATED', 'values': [('s1', 0), ('s2', 1), ('s3', 2), ('s5', 3), ('s7', 4), ('s10', 5), ('s15', 6), ('s20', 7), ('s25', 8), ('s30', 9), ('s40', 10), ('s50', 11), ('min1', 12), ('min1s20c', 13), ('min1s40', 14), ('min2', 15), ('min2s30', 16), ('min3', 17), ('min3s30', 18), ('min4', 19), ('min5', 20), ('min6', 21), ('min7', 22), ('min8', 23), ('min9', 24), ('min10', 25), ('min12', 26), ('min14', 27), ('min17', 28), ('min20', 29), ('min24', 30), ('min28', 31), ('min33', 32), ('min38', 33), ('min44', 34), ('min50', 35), ('hr1', 36), ('hr1min30', 37), ('hr2', 38), ('hr2min30', 39), ('hr3', 40), ('hr3min30', 41), ('hr4', 42), ('hr5', 43), ('hr6', 44), ('hr8', 45), ('hr10', 46), ('hr13', 47), ('hr16', 48), ('hr20', 49), ('day1', 50), ('day1hr12', 51), ('day2', 52), ('day2hr12', 53), ('day3', 54), ('day4', 55), ('day5', 56), ('day7', 57), ('day10', 58), ('day14', 59), ('day19', 60), ('day24', 61), ('day30', 62), ('dayMoreThan30', 63)]}, None], 'type': 'SEQUENCE'}, 'ReestablishmentInfo': {'members': [{'name': 'sourcePhysCellId', 'type': 'PhysCellId'}, {'name': 'targetCellShortMAC-I', 'type': 'ShortMAC-I'}, {'name': 'additionalReestabInfoList', 'optional': True, 'type': 'AdditionalReestabInfoList'}, None], 'type': 'SEQUENCE'}, 'UERadioAccessCapabilityInformation': {'members': [{'members': [{'members': [{'name': 'ueRadioAccessCapabilityInformation-r8', 'type': 'UERadioAccessCapabilityInformation-r8-IEs'}, {'name': 'spare7', 'type': 'NULL'}, {'name': 'spare6', 'type': 'NULL'}, {'name': 'spare5', 'type': 'NULL'}, {'name': 'spare4', 'type': 'NULL'}, {'name': 'spare3', 'type': 'NULL'}, {'name': 'spare2', 'type': 'NULL'}, {'name': 'spare1', 'type': 'NULL'}], 'name': 'c1', 'type': 'CHOICE'}, {'members': [], 'name': 'criticalExtensionsFuture', 'type': 'SEQUENCE'}], 'name': 'criticalExtensions', 'type': 'CHOICE'}], 'type': 'SEQUENCE'}, 'UERadioAccessCapabilityInformation-r8-IEs': {'members': [{'name': 'ue-RadioAccessCapabilityInfo', 'type': 'OCTET STRING'}, {'members': [], 'name': 'nonCriticalExtension', 'optional': True, 'type': 'SEQUENCE'}], 'type': 'SEQUENCE'}}, 'values': {'maxReestabInfo': {'type': 'INTEGER', 'value': 32}}}, 'EUTRA-RRC-Definitions': {'extensibility-implied': False, 'imports': {}, 'object-classes': {}, 'object-sets': {}, 'tags': 'AUTOMATIC', 'types': {'AC-BarringConfig': {'members': [{'name': 'ac-BarringFactor', 'type': 'ENUMERATED', 'values': [('p00', 0), ('p05', 1), ('p10', 2), ('p15', 3), ('p20', 4), ('p25', 5), ('p30', 6), ('p40', 7), ('p50', 8), ('p60', 9), ('p70', 10), ('p75', 11), ('p80', 12), ('p85', 13), ('p90', 14), ('p95', 15)]}, {'name': 'ac-BarringTime', 'type': 'ENUMERATED', 'values': [('s4', 0), ('s8', 1), ('s16', 2), ('s32', 3), ('s64', 4), ('s128', 5), ('s256', 6), ('s512', 7)]}, {'name': 'ac-BarringForSpecialAC', 'size': [5], 'type': 'BIT STRING'}], 'type': 'SEQUENCE'}, 'ARFCN-ValueCDMA2000': {'restricted-to': [(0, 2047)], 'type': 'INTEGER'}, 'ARFCN-ValueEUTRA': {'restricted-to': [(0, 'maxEARFCN')], 'type': 'INTEGER'}, 'ARFCN-ValueGERAN': {'restricted-to': [(0, 1023)], 'type': 'INTEGER'}, 'ARFCN-ValueUTRA': {'restricted-to': [(0, 16383)], 'type': 'INTEGER'}, 'AccessStratumRelease': {'type': 'ENUMERATED', 'values': [('rel8', 0), ('spare7', 1), ('spare6', 2), ('spare5', 3), ('spare4', 4), ('spare3', 5), ('spare2', 6), ('spare1', 7), None]}, 'AdditionalSpectrumEmission': {'restricted-to': [(1, 32)], 'type': 'INTEGER'}, 'AllowedMeasBandwidth': {'type': 'ENUMERATED', 'values': [('mbw6', 0), ('mbw15', 1), ('mbw25', 2), ('mbw50', 3), ('mbw75', 4), ('mbw100', 5)]}, 'AntennaInfoCommon': {'members': [{'name': 'antennaPortsCount', 'type': 'ENUMERATED', 'values': [('an1', 0), ('an2', 1), ('an4', 2), ('spare1', 3)]}], 'type': 'SEQUENCE'}, 'AntennaInfoDedicated': {'members': [{'name': 'transmissionMode', 'type': 'ENUMERATED', 'values': [('tm1', 0), ('tm2', 1), ('tm3', 2), ('tm4', 3), ('tm5', 4), ('tm6', 5), ('tm7', 6), ('spare1', 7)]}, {'members': [{'name': 'n2TxAntenna-tm3', 'size': [2], 'type': 'BIT STRING'}, {'name': 'n4TxAntenna-tm3', 'size': [4], 'type': 'BIT STRING'}, {'name': 'n2TxAntenna-tm4', 'size': [6], 'type': 'BIT STRING'}, {'name': 'n4TxAntenna-tm4', 'size': [64], 'type': 'BIT STRING'}, {'name': 'n2TxAntenna-tm5', 'size': [4], 'type': 'BIT STRING'}, {'name': 'n4TxAntenna-tm5', 'size': [16], 'type': 'BIT STRING'}, {'name': 'n2TxAntenna-tm6', 'size': [4], 'type': 'BIT STRING'}, {'name': 'n4TxAntenna-tm6', 'size': [16], 'type': 'BIT STRING'}], 'name': 'codebookSubsetRestriction', 'optional': True, 'type': 'CHOICE'}, {'members': [{'name': 'release', 'type': 'NULL'}, {'name': 'setup', 'type': 'ENUMERATED', 'values': [('closedLoop', 0), ('openLoop', 1)]}], 'name': 'ue-TransmitAntennaSelection', 'type': 'CHOICE'}], 'type': 'SEQUENCE'}, 'BCCH-BCH-Message': {'members': [{'name': 'message', 'type': 'BCCH-BCH-MessageType'}], 'type': 'SEQUENCE'}, 'BCCH-BCH-MessageType': {'type': 'MasterInformationBlock'}, 'BCCH-Config': {'members': [{'name': 'modificationPeriodCoeff', 'type': 'ENUMERATED', 'values': [('n2', 0), ('n4', 1), ('n8', 2), ('n16', 3)]}], 'type': 'SEQUENCE'}, 'BCCH-DL-SCH-Message': {'members': [{'name': 'message', 'type': 'BCCH-DL-SCH-MessageType'}], 'type': 'SEQUENCE'}, 'BCCH-DL-SCH-MessageType': {'members': [{'members': [{'name': 'systemInformation', 'type': 'SystemInformation'}, {'name': 'systemInformationBlockType1', 'type': 'SystemInformationBlockType1'}], 'name': 'c1', 'type': 'CHOICE'}, {'members': [], 'name': 'messageClassExtension', 'type': 'SEQUENCE'}], 'type': 'CHOICE'}, 'BandClassInfoCDMA2000': {'members': [{'name': 'bandClass', 'type': 'BandclassCDMA2000'}, {'name': 'cellReselectionPriority', 'optional': True, 'type': 'CellReselectionPriority'}, {'name': 'threshX-High', 'restricted-to': [(0, 63)], 'type': 'INTEGER'}, {'name': 'threshX-Low', 'restricted-to': [(0, 63)], 'type': 'INTEGER'}, None], 'type': 'SEQUENCE'}, 'BandClassListCDMA2000': {'element': {'type': 'BandClassInfoCDMA2000'}, 'size': [(1, 'maxCDMA-BandClass')], 'type': 'SEQUENCE OF'}, 'BandClassPriority1XRTT': {'members': [{'name': 'bandClass', 'type': 'BandclassCDMA2000'}, {'name': 'cellReselectionPriority', 'type': 'CellReselectionPriority'}], 'type': 'SEQUENCE'}, 'BandClassPriorityHRPD': {'members': [{'name': 'bandClass', 'type': 'BandclassCDMA2000'}, {'name': 'cellReselectionPriority', 'type': 'CellReselectionPriority'}], 'type': 'SEQUENCE'}, 'BandClassPriorityList1XRTT': {'element': {'type': 'BandClassPriority1XRTT'}, 'size': [(1, 'maxCDMA-BandClass')], 'type': 'SEQUENCE OF'}, 'BandClassPriorityListHRPD': {'element': {'type': 'BandClassPriorityHRPD'}, 'size': [(1, 'maxCDMA-BandClass')], 'type': 'SEQUENCE OF'}, 'BandIndicatorGERAN': {'type': 'ENUMERATED', 'values': [('dcs1800', 0), ('pcs1900', 1)]}, 'BandInfoEUTRA': {'members': [{'name': 'interFreqBandList', 'type': 'InterFreqBandList'}, {'name': 'interRAT-BandList', 'optional': True, 'type': 'InterRAT-BandList'}], 'type': 'SEQUENCE'}, 'BandListEUTRA': {'element': {'type': 'BandInfoEUTRA'}, 'size': [(1, 'maxBands')], 'type': 'SEQUENCE OF'}, 'BandclassCDMA2000': {'type': 'ENUMERATED', 'values': [('bc0', 0), ('bc1', 1), ('bc2', 2), ('bc3', 3), ('bc4', 4), ('bc5', 5), ('bc6', 6), ('bc7', 7), ('bc8', 8), ('bc9', 9), ('bc10', 10), ('bc11', 11), ('bc12', 12), ('bc13', 13), ('bc14', 14), ('bc15', 15), ('bc16', 16), ('bc17', 17), ('spare14', 18), ('spare13', 19), ('spare12', 20), ('spare11', 21), ('spare10', 22), ('spare9', 23), ('spare8', 24), ('spare7', 25), ('spare6', 26), ('spare5', 27), ('spare4', 28), ('spare3', 29), ('spare2', 30), ('spare1', 31), None]}, 'BlackCellsToAddMod': {'members': [{'name': 'cellIndex', 'restricted-to': [(1, 'maxCellMeas')], 'type': 'INTEGER'}, {'name': 'physCellIdRange', 'type': 'PhysCellIdRange'}], 'type': 'SEQUENCE'}, 'BlackCellsToAddModList': {'element': {'type': 'BlackCellsToAddMod'}, 'size': [(1, 'maxCellMeas')], 'type': 'SEQUENCE OF'}, 'C-RNTI': {'size': [16], 'type': 'BIT STRING'}, 'CDMA2000-Type': {'type': 'ENUMERATED', 'values': [('type1XRTT', 0), ('typeHRPD', 1)]}, 'CQI-ReportConfig': {'members': [{'name': 'cqi-ReportModeAperiodic', 'optional': True, 'type': 'ENUMERATED', 'values': [('rm12', 0), ('rm20', 1), ('rm22', 2), ('rm30', 3), ('rm31', 4), ('spare3', 5), ('spare2', 6), ('spare1', 7)]}, {'name': 'nomPDSCH-RS-EPRE-Offset', 'restricted-to': [(-1, 6)], 'type': 'INTEGER'}, {'name': 'cqi-ReportPeriodic', 'optional': True, 'type': 'CQI-ReportPeriodic'}], 'type': 'SEQUENCE'}, 'CQI-ReportPeriodic': {'members': [{'name': 'release', 'type': 'NULL'}, {'members': [{'name': 'cqi-PUCCH-ResourceIndex', 'restricted-to': [(0, 1185)], 'type': 'INTEGER'}, {'name': 'cqi-pmi-ConfigIndex', 'restricted-to': [(0, 1023)], 'type': 'INTEGER'}, {'members': [{'name': 'widebandCQI', 'type': 'NULL'}, {'members': [{'name': 'k', 'restricted-to': [(1, 4)], 'type': 'INTEGER'}], 'name': 'subbandCQI', 'type': 'SEQUENCE'}], 'name': 'cqi-FormatIndicatorPeriodic', 'type': 'CHOICE'}, {'name': 'ri-ConfigIndex', 'optional': True, 'restricted-to': [(0, 1023)], 'type': 'INTEGER'}, {'name': 'simultaneousAckNackAndCQI', 'type': 'BOOLEAN'}], 'name': 'setup', 'type': 'SEQUENCE'}], 'type': 'CHOICE'}, 'CSFB-RegistrationParam1XRTT': {'members': [{'name': 'sid', 'size': [15], 'type': 'BIT STRING'}, {'name': 'nid', 'size': [16], 'type': 'BIT STRING'}, {'name': 'multipleSID', 'type': 'BOOLEAN'}, {'name': 'multipleNID', 'type': 'BOOLEAN'}, {'name': 'homeReg', 'type': 'BOOLEAN'}, {'name': 'foreignSIDReg', 'type': 'BOOLEAN'}, {'name': 'foreignNIDReg', 'type': 'BOOLEAN'}, {'name': 'parameterReg', 'type': 'BOOLEAN'}, {'name': 'powerUpReg', 'type': 'BOOLEAN'}, {'name': 'registrationPeriod', 'size': [7], 'type': 'BIT STRING'}, {'name': 'registrationZone', 'size': [12], 'type': 'BIT STRING'}, {'name': 'totalZone', 'size': [3], 'type': 'BIT STRING'}, {'name': 'zoneTimer', 'size': [3], 'type': 'BIT STRING'}], 'type': 'SEQUENCE'}, 'CSFBParametersRequestCDMA2000': {'members': [{'members': [{'name': 'csfbParametersRequestCDMA2000-r8', 'type': 'CSFBParametersRequestCDMA2000-r8-IEs'}, {'members': [], 'name': 'criticalExtensionsFuture', 'type': 'SEQUENCE'}], 'name': 'criticalExtensions', 'type': 'CHOICE'}], 'type': 'SEQUENCE'}, 'CSFBParametersRequestCDMA2000-r8-IEs': {'members': [{'members': [], 'name': 'nonCriticalExtension', 'optional': True, 'type': 'SEQUENCE'}], 'type': 'SEQUENCE'}, 'CSFBParametersResponseCDMA2000': {'members': [{'name': 'rrc-TransactionIdentifier', 'type': 'RRC-TransactionIdentifier'}, {'members': [{'name': 'csfbParametersResponseCDMA2000-r8', 'type': 'CSFBParametersResponseCDMA2000-r8-IEs'}, {'members': [], 'name': 'criticalExtensionsFuture', 'type': 'SEQUENCE'}], 'name': 'criticalExtensions', 'type': 'CHOICE'}], 'type': 'SEQUENCE'}, 'CSFBParametersResponseCDMA2000-r8-IEs': {'members': [{'name': 'rand', 'type': 'RAND-CDMA2000'}, {'name': 'mobilityParameters', 'type': 'MobilityParametersCDMA2000'}, {'members': [], 'name': 'nonCriticalExtension', 'optional': True, 'type': 'SEQUENCE'}], 'type': 'SEQUENCE'}, 'CarrierBandwidthEUTRA': {'members': [{'name': 'dl-Bandwidth', 'type': 'ENUMERATED', 'values': [('n6', 0), ('n15', 1), ('n25', 2), ('n50', 3), ('n75', 4), ('n100', 5), ('spare10', 6), ('spare9', 7), ('spare8', 8), ('spare7', 9), ('spare6', 10), ('spare5', 11), ('spare4', 12), ('spare3', 13), ('spare2', 14), ('spare1', 15)]}, {'name': 'ul-Bandwidth', 'optional': True, 'type': 'ENUMERATED', 'values': [('n6', 0), ('n15', 1), ('n25', 2), ('n50', 3), ('n75', 4), ('n100', 5), ('spare10', 6), ('spare9', 7), ('spare8', 8), ('spare7', 9), ('spare6', 10), ('spare5', 11), ('spare4', 12), ('spare3', 13), ('spare2', 14), ('spare1', 15)]}], 'type': 'SEQUENCE'}, 'CarrierFreqCDMA2000': {'members': [{'name': 'bandClass', 'type': 'BandclassCDMA2000'}, {'name': 'arfcn', 'type': 'ARFCN-ValueCDMA2000'}], 'type': 'SEQUENCE'}, 'CarrierFreqEUTRA': {'members': [{'name': 'dl-CarrierFreq', 'type': 'ARFCN-ValueEUTRA'}, {'name': 'ul-CarrierFreq', 'optional': True, 'type': 'ARFCN-ValueEUTRA'}], 'type': 'SEQUENCE'}, 'CarrierFreqGERAN': {'members': [{'name': 'arfcn', 'type': 'ARFCN-ValueGERAN'}, {'name': 'bandIndicator', 'type': 'BandIndicatorGERAN'}], 'type': 'SEQUENCE'}, 'CarrierFreqListUTRA-FDD': {'element': {'type': 'CarrierFreqUTRA-FDD'}, 'size': [(1, 'maxUTRA-FDD-Carrier')], 'type': 'SEQUENCE OF'}, 'CarrierFreqListUTRA-TDD': {'element': {'type': 'CarrierFreqUTRA-TDD'}, 'size': [(1, 'maxUTRA-TDD-Carrier')], 'type': 'SEQUENCE OF'}, 'CarrierFreqUTRA-FDD': {'members': [{'name': 'carrierFreq', 'type': 'ARFCN-ValueUTRA'}, {'name': 'cellReselectionPriority', 'optional': True, 'type': 'CellReselectionPriority'}, {'name': 'threshX-High', 'type': 'ReselectionThreshold'}, {'name': 'threshX-Low', 'type': 'ReselectionThreshold'}, {'name': 'q-RxLevMin', 'restricted-to': [(-60, -13)], 'type': 'INTEGER'}, {'name': 'p-MaxUTRA', 'restricted-to': [(-50, 33)], 'type': 'INTEGER'}, {'name': 'q-QualMin', 'restricted-to': [(-24, 0)], 'type': 'INTEGER'}, None], 'type': 'SEQUENCE'}, 'CarrierFreqUTRA-TDD': {'members': [{'name': 'carrierFreq', 'type': 'ARFCN-ValueUTRA'}, {'name': 'cellReselectionPriority', 'optional': True, 'type': 'CellReselectionPriority'}, {'name': 'threshX-High', 'type': 'ReselectionThreshold'}, {'name': 'threshX-Low', 'type': 'ReselectionThreshold'}, {'name': 'q-RxLevMin', 'restricted-to': [(-60, -13)], 'type': 'INTEGER'}, {'name': 'p-MaxUTRA', 'restricted-to': [(-50, 33)], 'type': 'INTEGER'}, None], 'type': 'SEQUENCE'}, 'CarrierFreqsGERAN': {'members': [{'name': 'startingARFCN', 'type': 'ARFCN-ValueGERAN'}, {'name': 'bandIndicator', 'type': 'BandIndicatorGERAN'}, {'members': [{'name': 'explicitListOfARFCNs', 'type': 'ExplicitListOfARFCNs'}, {'members': [{'name': 'arfcn-Spacing', 'restricted-to': [(1, 8)], 'type': 'INTEGER'}, {'name': 'numberOfFollowingARFCNs', 'restricted-to': [(0, 31)], 'type': 'INTEGER'}], 'name': 'equallySpacedARFCNs', 'type': 'SEQUENCE'}, {'name': 'variableBitMapOfARFCNs', 'size': [(1, 16)], 'type': 'OCTET STRING'}], 'name': 'followingARFCNs', 'type': 'CHOICE'}], 'type': 'SEQUENCE'}, 'CarrierFreqsInfoGERAN': {'members': [{'name': 'carrierFreqs', 'type': 'CarrierFreqsGERAN'}, {'members': [{'name': 'cellReselectionPriority', 'optional': True, 'type': 'CellReselectionPriority'}, {'name': 'ncc-Permitted', 'size': [8], 'type': 'BIT STRING'}, {'name': 'q-RxLevMin', 'restricted-to': [(0, 45)], 'type': 'INTEGER'}, {'name': 'p-MaxGERAN', 'optional': True, 'restricted-to': [(0, 39)], 'type': 'INTEGER'}, {'name': 'threshX-High', 'type': 'ReselectionThreshold'}, {'name': 'threshX-Low', 'type': 'ReselectionThreshold'}], 'name': 'commonInfo', 'type': 'SEQUENCE'}, None], 'type': 'SEQUENCE'}, 'CarrierFreqsInfoListGERAN': {'element': {'type': 'CarrierFreqsInfoGERAN'}, 'size': [(1, 'maxGNFG')], 'type': 'SEQUENCE OF'}, 'CellChangeOrder': {'members': [{'name': 't304', 'type': 'ENUMERATED', 'values': [('ms100', 0), ('ms200', 1), ('ms500', 2), ('ms1000', 3), ('ms2000', 4), ('ms4000', 5), ('ms8000', 6), ('spare1', 7)]}, {'members': [{'members': [{'name': 'physCellId', 'type': 'PhysCellIdGERAN'}, {'name': 'carrierFreq', 'type': 'CarrierFreqGERAN'}, {'name': 'networkControlOrder', 'optional': True, 'size': [2], 'type': 'BIT STRING'}, {'name': 'systemInformation', 'optional': True, 'type': 'SI-OrPSI-GERAN'}], 'name': 'geran', 'type': 'SEQUENCE'}, None], 'name': 'targetRAT-Type', 'type': 'CHOICE'}], 'type': 'SEQUENCE'}, 'CellGlobalIdCDMA2000': {'members': [{'name': 'cellGlobalId1XRTT', 'size': [47], 'type': 'BIT STRING'}, {'name': 'cellGlobalIdHRPD', 'size': [128], 'type': 'BIT STRING'}], 'type': 'CHOICE'}, 'CellGlobalIdEUTRA': {'members': [{'name': 'plmn-Identity', 'type': 'PLMN-Identity'}, {'name': 'cellIdentity', 'type': 'CellIdentity'}], 'type': 'SEQUENCE'}, 'CellGlobalIdGERAN': {'members': [{'name': 'plmn-Identity', 'type': 'PLMN-Identity'}, {'name': 'locationAreaCode', 'size': [16], 'type': 'BIT STRING'}, {'name': 'cellIdentity', 'size': [16], 'type': 'BIT STRING'}], 'type': 'SEQUENCE'}, 'CellGlobalIdUTRA': {'members': [{'name': 'plmn-Identity', 'type': 'PLMN-Identity'}, {'name': 'cellIdentity', 'size': [28], 'type': 'BIT STRING'}], 'type': 'SEQUENCE'}, 'CellIdentity': {'size': [28], 'type': 'BIT STRING'}, 'CellIndex': {'restricted-to': [(1, 'maxCellMeas')], 'type': 'INTEGER'}, 'CellIndexList': {'element': {'type': 'CellIndex'}, 'size': [(1, 'maxCellMeas')], 'type': 'SEQUENCE OF'}, 'CellReselectionParametersCDMA2000': {'members': [{'name': 'bandClassList', 'type': 'BandClassListCDMA2000'}, {'name': 'neighCellList', 'type': 'NeighCellListCDMA2000'}, {'name': 't-ReselectionCDMA2000', 'type': 'T-Reselection'}, {'name': 't-ReselectionCDMA2000-SF', 'optional': True, 'type': 'SpeedStateScaleFactors'}], 'type': 'SEQUENCE'}, 'CellReselectionPriority': {'restricted-to': [(0, 7)], 'type': 'INTEGER'}, 'CellsToAddMod': {'members': [{'name': 'cellIndex', 'restricted-to': [(1, 'maxCellMeas')], 'type': 'INTEGER'}, {'name': 'physCellId', 'type': 'PhysCellId'}, {'name': 'cellIndividualOffset', 'type': 'Q-OffsetRange'}], 'type': 'SEQUENCE'}, 'CellsToAddModCDMA2000': {'members': [{'name': 'cellIndex', 'restricted-to': [(1, 'maxCellMeas')], 'type': 'INTEGER'}, {'name': 'physCellId', 'type': 'PhysCellIdCDMA2000'}], 'type': 'SEQUENCE'}, 'CellsToAddModList': {'element': {'type': 'CellsToAddMod'}, 'size': [(1, 'maxCellMeas')], 'type': 'SEQUENCE OF'}, 'CellsToAddModListCDMA2000': {'element': {'type': 'CellsToAddModCDMA2000'}, 'size': [(1, 'maxCellMeas')], 'type': 'SEQUENCE OF'}, 'CellsToAddModListUTRA-FDD': {'element': {'type': 'CellsToAddModUTRA-FDD'}, 'size': [(1, 'maxCellMeas')], 'type': 'SEQUENCE OF'}, 'CellsToAddModListUTRA-TDD': {'element': {'type': 'CellsToAddModUTRA-TDD'}, 'size': [(1, 'maxCellMeas')], 'type': 'SEQUENCE OF'}, 'CellsToAddModUTRA-FDD': {'members': [{'name': 'cellIndex', 'restricted-to': [(1, 'maxCellMeas')], 'type': 'INTEGER'}, {'name': 'physCellId', 'type': 'PhysCellIdUTRA-FDD'}], 'type': 'SEQUENCE'}, 'CellsToAddModUTRA-TDD': {'members': [{'name': 'cellIndex', 'restricted-to': [(1, 'maxCellMeas')], 'type': 'INTEGER'}, {'name': 'physCellId', 'type': 'PhysCellIdUTRA-TDD'}], 'type': 'SEQUENCE'}, 'CounterCheck': {'members': [{'name': 'rrc-TransactionIdentifier', 'type': 'RRC-TransactionIdentifier'}, {'members': [{'members': [{'name': 'counterCheck-r8', 'type': 'CounterCheck-r8-IEs'}, {'name': 'spare3', 'type': 'NULL'}, {'name': 'spare2', 'type': 'NULL'}, {'name': 'spare1', 'type': 'NULL'}], 'name': 'c1', 'type': 'CHOICE'}, {'members': [], 'name': 'criticalExtensionsFuture', 'type': 'SEQUENCE'}], 'name': 'criticalExtensions', 'type': 'CHOICE'}], 'type': 'SEQUENCE'}, 'CounterCheck-r8-IEs': {'members': [{'name': 'drb-CountMSB-InfoList', 'type': 'DRB-CountMSB-InfoList'}, {'members': [], 'name': 'nonCriticalExtension', 'optional': True, 'type': 'SEQUENCE'}], 'type': 'SEQUENCE'}, 'CounterCheckResponse': {'members': [{'name': 'rrc-TransactionIdentifier', 'type': 'RRC-TransactionIdentifier'}, {'members': [{'name': 'counterCheckResponse-r8', 'type': 'CounterCheckResponse-r8-IEs'}, {'members': [], 'name': 'criticalExtensionsFuture', 'type': 'SEQUENCE'}], 'name': 'criticalExtensions', 'type': 'CHOICE'}], 'type': 'SEQUENCE'}, 'CounterCheckResponse-r8-IEs': {'members': [{'name': 'drb-CountInfoList', 'type': 'DRB-CountInfoList'}, {'members': [], 'name': 'nonCriticalExtension', 'optional': True, 'type': 'SEQUENCE'}], 'type': 'SEQUENCE'}, 'DL-AM-RLC': {'members': [{'name': 't-Reordering', 'type': 'T-Reordering'}, {'name': 't-StatusProhibit', 'type': 'T-StatusProhibit'}], 'type': 'SEQUENCE'}, 'DL-CCCH-Message': {'members': [{'name': 'message', 'type': 'DL-CCCH-MessageType'}], 'type': 'SEQUENCE'}, 'DL-CCCH-MessageType': {'members': [{'members': [{'name': 'rrcConnectionReestablishment', 'type': 'RRCConnectionReestablishment'}, {'name': 'rrcConnectionReestablishmentReject', 'type': 'RRCConnectionReestablishmentReject'}, {'name': 'rrcConnectionReject', 'type': 'RRCConnectionReject'}, {'name': 'rrcConnectionSetup', 'type': 'RRCConnectionSetup'}], 'name': 'c1', 'type': 'CHOICE'}, {'members': [], 'name': 'messageClassExtension', 'type': 'SEQUENCE'}], 'type': 'CHOICE'}, 'DL-DCCH-Message': {'members': [{'name': 'message', 'type': 'DL-DCCH-MessageType'}], 'type': 'SEQUENCE'}, 'DL-DCCH-MessageType': {'members': [{'members': [{'name': 'csfbParametersResponseCDMA2000', 'type': 'CSFBParametersResponseCDMA2000'}, {'name': 'dlInformationTransfer', 'type': 'DLInformationTransfer'}, {'name': 'handoverFromEUTRAPreparationRequest', 'type': 'HandoverFromEUTRAPreparationRequest'}, {'name': 'mobilityFromEUTRACommand', 'type': 'MobilityFromEUTRACommand'}, {'name': 'rrcConnectionReconfiguration', 'type': 'RRCConnectionReconfiguration'}, {'name': 'rrcConnectionRelease', 'type': 'RRCConnectionRelease'}, {'name': 'securityModeCommand', 'type': 'SecurityModeCommand'}, {'name': 'ueCapabilityEnquiry', 'type': 'UECapabilityEnquiry'}, {'name': 'counterCheck', 'type': 'CounterCheck'}, {'name': 'spare7', 'type': 'NULL'}, {'name': 'spare6', 'type': 'NULL'}, {'name': 'spare5', 'type': 'NULL'}, {'name': 'spare4', 'type': 'NULL'}, {'name': 'spare3', 'type': 'NULL'}, {'name': 'spare2', 'type': 'NULL'}, {'name': 'spare1', 'type': 'NULL'}], 'name': 'c1', 'type': 'CHOICE'}, {'members': [], 'name': 'messageClassExtension', 'type': 'SEQUENCE'}], 'type': 'CHOICE'}, 'DL-UM-RLC': {'members': [{'name': 'sn-FieldLength', 'type': 'SN-FieldLength'}, {'name': 't-Reordering', 'type': 'T-Reordering'}], 'type': 'SEQUENCE'}, 'DLInformationTransfer': {'members': [{'name': 'rrc-TransactionIdentifier', 'type': 'RRC-TransactionIdentifier'}, {'members': [{'members': [{'name': 'dlInformationTransfer-r8', 'type': 'DLInformationTransfer-r8-IEs'}, {'name': 'spare3', 'type': 'NULL'}, {'name': 'spare2', 'type': 'NULL'}, {'name': 'spare1', 'type': 'NULL'}], 'name': 'c1', 'type': 'CHOICE'}, {'members': [], 'name': 'criticalExtensionsFuture', 'type': 'SEQUENCE'}], 'name': 'criticalExtensions', 'type': 'CHOICE'}], 'type': 'SEQUENCE'}, 'DLInformationTransfer-r8-IEs': {'members': [{'members': [{'name': 'dedicatedInfoNAS', 'type': 'DedicatedInfoNAS'}, {'name': 'dedicatedInfoCDMA2000-1XRTT', 'type': 'DedicatedInfoCDMA2000'}, {'name': 'dedicatedInfoCDMA2000-HRPD', 'type': 'DedicatedInfoCDMA2000'}], 'name': 'dedicatedInfoType', 'type': 'CHOICE'}, {'members': [], 'name': 'nonCriticalExtension', 'optional': True, 'type': 'SEQUENCE'}], 'type': 'SEQUENCE'}, 'DRB-CountInfo': {'members': [{'name': 'drb-Identity', 'type': 'DRB-Identity'}, {'name': 'count-Uplink', 'restricted-to': [(0, 4294967295)], 'type': 'INTEGER'}, {'name': 'count-Downlink', 'restricted-to': [(0, 4294967295)], 'type': 'INTEGER'}], 'type': 'SEQUENCE'}, 'DRB-CountInfoList': {'element': {'type': 'DRB-CountInfo'}, 'size': [(0, 'maxDRB')], 'type': 'SEQUENCE OF'}, 'DRB-CountMSB-Info': {'members': [{'name': 'drb-Identity', 'type': 'DRB-Identity'}, {'name': 'countMSB-Uplink', 'restricted-to': [(0, 33554431)], 'type': 'INTEGER'}, {'name': 'countMSB-Downlink', 'restricted-to': [(0, 33554431)], 'type': 'INTEGER'}], 'type': 'SEQUENCE'}, 'DRB-CountMSB-InfoList': {'element': {'type': 'DRB-CountMSB-Info'}, 'size': [(1, 'maxDRB')], 'type': 'SEQUENCE OF'}, 'DRB-Identity': {'restricted-to': [(1, 32)], 'type': 'INTEGER'}, 'DRB-ToAddMod': {'members': [{'name': 'eps-BearerIdentity', 'optional': True, 'restricted-to': [(0, 15)], 'type': 'INTEGER'}, {'name': 'drb-Identity', 'type': 'DRB-Identity'}, {'name': 'pdcp-Config', 'optional': True, 'type': 'PDCP-Config'}, {'name': 'rlc-Config', 'optional': True, 'type': 'RLC-Config'}, {'name': 'logicalChannelIdentity', 'optional': True, 'restricted-to': [(3, 10)], 'type': 'INTEGER'}, {'name': 'logicalChannelConfig', 'optional': True, 'type': 'LogicalChannelConfig'}, None], 'type': 'SEQUENCE'}, 'DRB-ToAddModList': {'element': {'type': 'DRB-ToAddMod'}, 'size': [(1, 'maxDRB')], 'type': 'SEQUENCE OF'}, 'DRB-ToReleaseList': {'element': {'type': 'DRB-Identity'}, 'size': [(1, 'maxDRB')], 'type': 'SEQUENCE OF'}, 'DRX-Config': {'members': [{'name': 'release', 'type': 'NULL'}, {'members': [{'name': 'onDurationTimer', 'type': 'ENUMERATED', 'values': [('psf1', 0), ('psf2', 1), ('psf3', 2), ('psf4', 3), ('psf5', 4), ('psf6', 5), ('psf8', 6), ('psf10', 7), ('psf20', 8), ('psf30', 9), ('psf40', 10), ('psf50', 11), ('psf60', 12), ('psf80', 13), ('psf100', 14), ('psf200', 15)]}, {'name': 'drx-InactivityTimer', 'type': 'ENUMERATED', 'values': [('psf1', 0), ('psf2', 1), ('psf3', 2), ('psf4', 3), ('psf5', 4), ('psf6', 5), ('psf8', 6), ('psf10', 7), ('psf20', 8), ('psf30', 9), ('psf40', 10), ('psf50', 11), ('psf60', 12), ('psf80', 13), ('psf100', 14), ('psf200', 15), ('psf300', 16), ('psf500', 17), ('psf750', 18), ('psf1280', 19), ('psf1920', 20), ('psf2560', 21), ('spare10', 22), ('spare9', 23), ('spare8', 24), ('spare7', 25), ('spare6', 26), ('spare5', 27), ('spare4', 28), ('spare3', 29), ('spare2', 30), ('spare1', 31)]}, {'name': 'drx-RetransmissionTimer', 'type': 'ENUMERATED', 'values': [('psf1', 0), ('psf2', 1), ('psf4', 2), ('psf6', 3), ('psf8', 4), ('psf16', 5), ('psf24', 6), ('psf33', 7)]}, {'members': [{'name': 'sf10', 'restricted-to': [(0, 9)], 'type': 'INTEGER'}, {'name': 'sf20', 'restricted-to': [(0, 19)], 'type': 'INTEGER'}, {'name': 'sf32', 'restricted-to': [(0, 31)], 'type': 'INTEGER'}, {'name': 'sf40', 'restricted-to': [(0, 39)], 'type': 'INTEGER'}, {'name': 'sf64', 'restricted-to': [(0, 63)], 'type': 'INTEGER'}, {'name': 'sf80', 'restricted-to': [(0, 79)], 'type': 'INTEGER'}, {'name': 'sf128', 'restricted-to': [(0, 127)], 'type': 'INTEGER'}, {'name': 'sf160', 'restricted-to': [(0, 159)], 'type': 'INTEGER'}, {'name': 'sf256', 'restricted-to': [(0, 255)], 'type': 'INTEGER'}, {'name': 'sf320', 'restricted-to': [(0, 319)], 'type': 'INTEGER'}, {'name': 'sf512', 'restricted-to': [(0, 511)], 'type': 'INTEGER'}, {'name': 'sf640', 'restricted-to': [(0, 639)], 'type': 'INTEGER'}, {'name': 'sf1024', 'restricted-to': [(0, 1023)], 'type': 'INTEGER'}, {'name': 'sf1280', 'restricted-to': [(0, 1279)], 'type': 'INTEGER'}, {'name': 'sf2048', 'restricted-to': [(0, 2047)], 'type': 'INTEGER'}, {'name': 'sf2560', 'restricted-to': [(0, 2559)], 'type': 'INTEGER'}], 'name': 'longDRX-CycleStartOffset', 'type': 'CHOICE'}, {'members': [{'name': 'shortDRX-Cycle', 'type': 'ENUMERATED', 'values': [('sf2', 0), ('sf5', 1), ('sf8', 2), ('sf10', 3), ('sf16', 4), ('sf20', 5), ('sf32', 6), ('sf40', 7), ('sf64', 8), ('sf80', 9), ('sf128', 10), ('sf160', 11), ('sf256', 12), ('sf320', 13), ('sf512', 14), ('sf640', 15)]}, {'name': 'drxShortCycleTimer', 'restricted-to': [(1, 16)], 'type': 'INTEGER'}], 'name': 'shortDRX', 'optional': True, 'type': 'SEQUENCE'}], 'name': 'setup', 'type': 'SEQUENCE'}], 'type': 'CHOICE'}, 'DedicatedInfoCDMA2000': {'type': 'OCTET STRING'}, 'DedicatedInfoNAS': {'type': 'OCTET STRING'}, 'DeltaFList-PUCCH': {'members': [{'name': 'deltaF-PUCCH-Format1', 'type': 'ENUMERATED', 'values': [('deltaF-2', 0), ('deltaF0', 1), ('deltaF2', 2)]}, {'name': 'deltaF-PUCCH-Format1b', 'type': 'ENUMERATED', 'values': [('deltaF1', 0), ('deltaF3', 1), ('deltaF5', 2)]}, {'name': 'deltaF-PUCCH-Format2', 'type': 'ENUMERATED', 'values': [('deltaF-2', 0), ('deltaF0', 1), ('deltaF1', 2), ('deltaF2', 3)]}, {'name': 'deltaF-PUCCH-Format2a', 'type': 'ENUMERATED', 'values': [('deltaF-2', 0), ('deltaF0', 1), ('deltaF2', 2)]}, {'name': 'deltaF-PUCCH-Format2b', 'type': 'ENUMERATED', 'values': [('deltaF-2', 0), ('deltaF0', 1), ('deltaF2', 2)]}], 'type': 'SEQUENCE'}, 'EstablishmentCause': {'type': 'ENUMERATED', 'values': [('emergency', 0), ('highPriorityAccess', 1), ('mt-Access', 2), ('mo-Signalling', 3), ('mo-Data', 4), ('spare3', 5), ('spare2', 6), ('spare1', 7)]}, 'ExplicitListOfARFCNs': {'element': {'type': 'ARFCN-ValueGERAN'}, 'size': [(0, 31)], 'type': 'SEQUENCE OF'}, 'FilterCoefficient': {'type': 'ENUMERATED', 'values': [('fc0', 0), ('fc1', 1), ('fc2', 2), ('fc3', 3), ('fc4', 4), ('fc5', 5), ('fc6', 6), ('fc7', 7), ('fc8', 8), ('fc9', 9), ('fc11', 10), ('fc13', 11), ('fc15', 12), ('fc17', 13), ('fc19', 14), ('spare1', 15), None]}, 'FreqPriorityEUTRA': {'members': [{'name': 'carrierFreq', 'type': 'ARFCN-ValueEUTRA'}, {'name': 'cellReselectionPriority', 'type': 'CellReselectionPriority'}], 'type': 'SEQUENCE'}, 'FreqPriorityListEUTRA': {'element': {'type': 'FreqPriorityEUTRA'}, 'size': [(1, 'maxFreq')], 'type': 'SEQUENCE OF'}, 'FreqPriorityListUTRA-FDD': {'element': {'type': 'FreqPriorityUTRA-FDD'}, 'size': [(1, 'maxUTRA-FDD-Carrier')], 'type': 'SEQUENCE OF'}, 'FreqPriorityListUTRA-TDD': {'element': {'type': 'FreqPriorityUTRA-TDD'}, 'size': [(1, 'maxUTRA-TDD-Carrier')], 'type': 'SEQUENCE OF'}, 'FreqPriorityUTRA-FDD': {'members': [{'name': 'carrierFreq', 'type': 'ARFCN-ValueUTRA'}, {'name': 'cellReselectionPriority', 'type': 'CellReselectionPriority'}], 'type': 'SEQUENCE'}, 'FreqPriorityUTRA-TDD': {'members': [{'name': 'carrierFreq', 'type': 'ARFCN-ValueUTRA'}, {'name': 'cellReselectionPriority', 'type': 'CellReselectionPriority'}], 'type': 'SEQUENCE'}, 'FreqsPriorityGERAN': {'members': [{'name': 'carrierFreqs', 'type': 'CarrierFreqsGERAN'}, {'name': 'cellReselectionPriority', 'type': 'CellReselectionPriority'}], 'type': 'SEQUENCE'}, 'FreqsPriorityListGERAN': {'element': {'type': 'FreqsPriorityGERAN'}, 'size': [(1, 'maxGNFG')], 'type': 'SEQUENCE OF'}, 'Handover': {'members': [{'name': 'targetRAT-Type', 'type': 'ENUMERATED', 'values': [('utra', 0), ('geran', 1), ('cdma2000-1XRTT', 2), ('cdma2000-HRPD', 3), ('spare4', 4), ('spare3', 5), ('spare2', 6), ('spare1', 7), None]}, {'name': 'targetRAT-MessageContainer', 'type': 'OCTET STRING'}, {'name': 'nas-SecurityParamFromEUTRA', 'optional': True, 'size': [1], 'type': 'OCTET STRING'}, {'name': 'systemInformation', 'optional': True, 'type': 'SI-OrPSI-GERAN'}], 'type': 'SEQUENCE'}, 'HandoverFromEUTRAPreparationRequest': {'members': [{'name': 'rrc-TransactionIdentifier', 'type': 'RRC-TransactionIdentifier'}, {'members': [{'members': [{'name': 'handoverFromEUTRAPreparationRequest-r8', 'type': 'HandoverFromEUTRAPreparationRequest-r8-IEs'}, {'name': 'spare3', 'type': 'NULL'}, {'name': 'spare2', 'type': 'NULL'}, {'name': 'spare1', 'type': 'NULL'}], 'name': 'c1', 'type': 'CHOICE'}, {'members': [], 'name': 'criticalExtensionsFuture', 'type': 'SEQUENCE'}], 'name': 'criticalExtensions', 'type': 'CHOICE'}], 'type': 'SEQUENCE'}, 'HandoverFromEUTRAPreparationRequest-r8-IEs': {'members': [{'name': 'cdma2000-Type', 'type': 'CDMA2000-Type'}, {'name': 'rand', 'optional': True, 'type': 'RAND-CDMA2000'}, {'name': 'mobilityParameters', 'optional': True, 'type': 'MobilityParametersCDMA2000'}, {'members': [], 'name': 'nonCriticalExtension', 'optional': True, 'type': 'SEQUENCE'}], 'type': 'SEQUENCE'}, 'Hysteresis': {'restricted-to': [(0, 30)], 'type': 'INTEGER'}, 'IMSI': {'element': {'type': 'IMSI-Digit'}, 'size': [(6, 21)], 'type': 'SEQUENCE OF'}, 'IMSI-Digit': {'restricted-to': [(0, 9)], 'type': 'INTEGER'}, 'IRAT-ParametersCDMA2000-1XRTT': {'members': [{'name': 'supportedBandList1XRTT', 'type': 'SupportedBandList1XRTT'}, {'name': 'tx-Config1XRTT', 'type': 'ENUMERATED', 'values': [('single', 0), ('dual', 1)]}, {'name': 'rx-Config1XRTT', 'type': 'ENUMERATED', 'values': [('single', 0), ('dual', 1)]}], 'type': 'SEQUENCE'}, 'IRAT-ParametersCDMA2000-HRPD': {'members': [{'name': 'supportedBandListHRPD', 'type': 'SupportedBandListHRPD'}, {'name': 'tx-ConfigHRPD', 'type': 'ENUMERATED', 'values': [('single', 0), ('dual', 1)]}, {'name': 'rx-ConfigHRPD', 'type': 'ENUMERATED', 'values': [('single', 0), ('dual', 1)]}], 'type': 'SEQUENCE'}, 'IRAT-ParametersGERAN': {'members': [{'name': 'supportedBandListGERAN', 'type': 'SupportedBandListGERAN'}, {'name': 'interRAT-PS-HO-ToGERAN', 'type': 'BOOLEAN'}], 'type': 'SEQUENCE'}, 'IRAT-ParametersUTRA-FDD': {'members': [{'name': 'supportedBandListUTRA-FDD', 'type': 'SupportedBandListUTRA-FDD'}], 'type': 'SEQUENCE'}, 'IRAT-ParametersUTRA-TDD128': {'members': [{'name': 'supportedBandListUTRA-TDD128', 'type': 'SupportedBandListUTRA-TDD128'}], 'type': 'SEQUENCE'}, 'IRAT-ParametersUTRA-TDD384': {'members': [{'name': 'supportedBandListUTRA-TDD384', 'type': 'SupportedBandListUTRA-TDD384'}], 'type': 'SEQUENCE'}, 'IRAT-ParametersUTRA-TDD768': {'members': [{'name': 'supportedBandListUTRA-TDD768', 'type': 'SupportedBandListUTRA-TDD768'}], 'type': 'SEQUENCE'}, 'IdleModeMobilityControlInfo': {'members': [{'name': 'freqPriorityListEUTRA', 'optional': True, 'type': 'FreqPriorityListEUTRA'}, {'name': 'freqPriorityListGERAN', 'optional': True, 'type': 'FreqsPriorityListGERAN'}, {'name': 'freqPriorityListUTRA-FDD', 'optional': True, 'type': 'FreqPriorityListUTRA-FDD'}, {'name': 'freqPriorityListUTRA-TDD', 'optional': True, 'type': 'FreqPriorityListUTRA-TDD'}, {'name': 'bandClassPriorityListHRPD', 'optional': True, 'type': 'BandClassPriorityListHRPD'}, {'name': 'bandClassPriorityList1XRTT', 'optional': True, 'type': 'BandClassPriorityList1XRTT'}, {'name': 't320', 'optional': True, 'type': 'ENUMERATED', 'values': [('min5', 0), ('min10', 1), ('min20', 2), ('min30', 3), ('min60', 4), ('min120', 5), ('min180', 6), ('spare1', 7)]}, None], 'type': 'SEQUENCE'}, 'InitialUE-Identity': {'members': [{'name': 's-TMSI', 'type': 'S-TMSI'}, {'name': 'randomValue', 'size': [40], 'type': 'BIT STRING'}], 'type': 'CHOICE'}, 'InterFreqBandInfo': {'members': [{'name': 'interFreqNeedForGaps', 'type': 'BOOLEAN'}], 'type': 'SEQUENCE'}, 'InterFreqBandList': {'element': {'type': 'InterFreqBandInfo'}, 'size': [(1, 'maxBands')], 'type': 'SEQUENCE OF'}, 'InterFreqBlackCellList': {'element': {'type': 'PhysCellIdRange'}, 'size': [(1, 'maxCellBlack')], 'type': 'SEQUENCE OF'}, 'InterFreqCarrierFreqInfo': {'members': [{'name': 'dl-CarrierFreq', 'type': 'ARFCN-ValueEUTRA'}, {'name': 'q-RxLevMin', 'type': 'Q-RxLevMin'}, {'name': 'p-Max', 'optional': True, 'type': 'P-Max'}, {'name': 't-ReselectionEUTRA', 'type': 'T-Reselection'}, {'name': 't-ReselectionEUTRA-SF', 'optional': True, 'type': 'SpeedStateScaleFactors'}, {'name': 'threshX-High', 'type': 'ReselectionThreshold'}, {'name': 'threshX-Low', 'type': 'ReselectionThreshold'}, {'name': 'allowedMeasBandwidth', 'type': 'AllowedMeasBandwidth'}, {'name': 'presenceAntennaPort1', 'type': 'PresenceAntennaPort1'}, {'name': 'cellReselectionPriority', 'optional': True, 'type': 'CellReselectionPriority'}, {'name': 'neighCellConfig', 'type': 'NeighCellConfig'}, {'default': 'dB0', 'name': 'q-OffsetFreq', 'type': 'Q-OffsetRange'}, {'name': 'interFreqNeighCellList', 'optional': True, 'type': 'InterFreqNeighCellList'}, {'name': 'interFreqBlackCellList', 'optional': True, 'type': 'InterFreqBlackCellList'}, None], 'type': 'SEQUENCE'}, 'InterFreqCarrierFreqList': {'element': {'type': 'InterFreqCarrierFreqInfo'}, 'size': [(1, 'maxFreq')], 'type': 'SEQUENCE OF'}, 'InterFreqNeighCellInfo': {'members': [{'name': 'physCellId', 'type': 'PhysCellId'}, {'name': 'q-OffsetCell', 'type': 'Q-OffsetRange'}], 'type': 'SEQUENCE'}, 'InterFreqNeighCellList': {'element': {'type': 'InterFreqNeighCellInfo'}, 'size': [(1, 'maxCellInter')], 'type': 'SEQUENCE OF'}, 'InterRAT-BandInfo': {'members': [{'name': 'interRAT-NeedForGaps', 'type': 'BOOLEAN'}], 'type': 'SEQUENCE'}, 'InterRAT-BandList': {'element': {'type': 'InterRAT-BandInfo'}, 'size': [(1, 'maxBands')], 'type': 'SEQUENCE OF'}, 'IntraFreqBlackCellList': {'element': {'type': 'PhysCellIdRange'}, 'size': [(1, 'maxCellBlack')], 'type': 'SEQUENCE OF'}, 'IntraFreqNeighCellInfo': {'members': [{'name': 'physCellId', 'type': 'PhysCellId'}, {'name': 'q-OffsetCell', 'type': 'Q-OffsetRange'}, None], 'type': 'SEQUENCE'}, 'IntraFreqNeighCellList': {'element': {'type': 'IntraFreqNeighCellInfo'}, 'size': [(1, 'maxCellIntra')], 'type': 'SEQUENCE OF'}, 'LogicalChannelConfig': {'members': [{'members': [{'name': 'priority', 'restricted-to': [(1, 16)], 'type': 'INTEGER'}, {'name': 'prioritisedBitRate', 'type': 'ENUMERATED', 'values': [('kBps0', 0), ('kBps8', 1), ('kBps16', 2), ('kBps32', 3), ('kBps64', 4), ('kBps128', 5), ('kBps256', 6), ('infinity', 7), ('spare8', 8), ('spare7', 9), ('spare6', 10), ('spare5', 11), ('spare4', 12), ('spare3', 13), ('spare2', 14), ('spare1', 15)]}, {'name': 'bucketSizeDuration', 'type': 'ENUMERATED', 'values': [('ms50', 0), ('ms100', 1), ('ms150', 2), ('ms300', 3), ('ms500', 4), ('ms1000', 5), ('spare2', 6), ('spare1', 7)]}, {'name': 'logicalChannelGroup', 'optional': True, 'restricted-to': [(0, 3)], 'type': 'INTEGER'}], 'name': 'ul-SpecificParameters', 'optional': True, 'type': 'SEQUENCE'}, None], 'type': 'SEQUENCE'}, 'MAC-MainConfig': {'members': [{'members': [{'name': 'maxHARQ-Tx', 'optional': True, 'type': 'ENUMERATED', 'values': [('n1', 0), ('n2', 1), ('n3', 2), ('n4', 3), ('n5', 4), ('n6', 5), ('n7', 6), ('n8', 7), ('n10', 8), ('n12', 9), ('n16', 10), ('n20', 11), ('n24', 12), ('n28', 13), ('spare2', 14), ('spare1', 15)]}, {'name': 'periodicBSR-Timer', 'optional': True, 'type': 'ENUMERATED', 'values': [('sf5', 0), ('sf10', 1), ('sf16', 2), ('sf20', 3), ('sf32', 4), ('sf40', 5), ('sf64', 6), ('sf80', 7), ('sf128', 8), ('sf160', 9), ('sf320', 10), ('sf640', 11), ('sf1280', 12), ('sf2560', 13), ('infinity', 14), ('spare1', 15)]}, {'name': 'retxBSR-Timer', 'type': 'ENUMERATED', 'values': [('sf320', 0), ('sf640', 1), ('sf1280', 2), ('sf2560', 3), ('sf5120', 4), ('sf10240', 5), ('spare2', 6), ('spare1', 7)]}, {'name': 'ttiBundling', 'type': 'BOOLEAN'}], 'name': 'ul-SCH-Config', 'optional': True, 'type': 'SEQUENCE'}, {'name': 'drx-Config', 'optional': True, 'type': 'DRX-Config'}, {'name': 'timeAlignmentTimerDedicated', 'type': 'TimeAlignmentTimer'}, {'members': [{'name': 'release', 'type': 'NULL'}, {'members': [{'name': 'periodicPHR-Timer', 'type': 'ENUMERATED', 'values': [('sf10', 0), ('sf20', 1), ('sf50', 2), ('sf100', 3), ('sf200', 4), ('sf500', 5), ('sf1000', 6), ('infinity', 7)]}, {'name': 'prohibitPHR-Timer', 'type': 'ENUMERATED', 'values': [('sf0', 0), ('sf10', 1), ('sf20', 2), ('sf50', 3), ('sf100', 4), ('sf200', 5), ('sf500', 6), ('sf1000', 7)]}, {'name': 'dl-PathlossChange', 'type': 'ENUMERATED', 'values': [('dB1', 0), ('dB3', 1), ('dB6', 2), ('infinity', 3)]}], 'name': 'setup', 'type': 'SEQUENCE'}], 'name': 'phr-Config', 'optional': True, 'type': 'CHOICE'}, None], 'type': 'SEQUENCE'}, 'MBSFN-SubframeConfig': {'members': [{'name': 'radioframeAllocationPeriod', 'type': 'ENUMERATED', 'values': [('n1', 0), ('n2', 1), ('n4', 2), ('n8', 3), ('n16', 4), ('n32', 5)]}, {'name': 'radioframeAllocationOffset', 'restricted-to': [(0, 7)], 'type': 'INTEGER'}, {'members': [{'name': 'oneFrame', 'size': [6], 'type': 'BIT STRING'}, {'name': 'fourFrames', 'size': [24], 'type': 'BIT STRING'}], 'name': 'subframeAllocation', 'type': 'CHOICE'}], 'type': 'SEQUENCE'}, 'MBSFN-SubframeConfigList': {'element': {'type': 'MBSFN-SubframeConfig'}, 'size': [(1, 'maxMBSFN-Allocations')], 'type': 'SEQUENCE OF'}, 'MCC': {'element': {'type': 'MCC-MNC-Digit'}, 'size': [3], 'type': 'SEQUENCE OF'}, 'MCC-MNC-Digit': {'restricted-to': [(0, 9)], 'type': 'INTEGER'}, 'MMEC': {'size': [8], 'type': 'BIT STRING'}, 'MNC': {'element': {'type': 'MCC-MNC-Digit'}, 'size': [(2, 3)], 'type': 'SEQUENCE OF'}, 'MasterInformationBlock': {'members': [{'name': 'dl-Bandwidth', 'type': 'ENUMERATED', 'values': [('n6', 0), ('n15', 1), ('n25', 2), ('n50', 3), ('n75', 4), ('n100', 5)]}, {'name': 'phich-Config', 'type': 'PHICH-Config'}, {'name': 'systemFrameNumber', 'size': [8], 'type': 'BIT STRING'}, {'name': 'spare', 'size': [10], 'type': 'BIT STRING'}], 'type': 'SEQUENCE'}, 'MeasConfig': {'members': [{'name': 'measObjectToRemoveList', 'optional': True, 'type': 'MeasObjectToRemoveList'}, {'name': 'measObjectToAddModList', 'optional': True, 'type': 'MeasObjectToAddModList'}, {'name': 'reportConfigToRemoveList', 'optional': True, 'type': 'ReportConfigToRemoveList'}, {'name': 'reportConfigToAddModList', 'optional': True, 'type': 'ReportConfigToAddModList'}, {'name': 'measIdToRemoveList', 'optional': True, 'type': 'MeasIdToRemoveList'}, {'name': 'measIdToAddModList', 'optional': True, 'type': 'MeasIdToAddModList'}, {'name': 'quantityConfig', 'optional': True, 'type': 'QuantityConfig'}, {'name': 'measGapConfig', 'optional': True, 'type': 'MeasGapConfig'}, {'name': 's-Measure', 'optional': True, 'type': 'RSRP-Range'}, {'name': 'preRegistrationInfoHRPD', 'optional': True, 'type': 'PreRegistrationInfoHRPD'}, {'members': [{'name': 'release', 'type': 'NULL'}, {'members': [{'name': 'mobilityStateParameters', 'type': 'MobilityStateParameters'}, {'name': 'timeToTrigger-SF', 'type': 'SpeedStateScaleFactors'}], 'name': 'setup', 'type': 'SEQUENCE'}], 'name': 'speedStatePars', 'optional': True, 'type': 'CHOICE'}, None], 'type': 'SEQUENCE'}, 'MeasGapConfig': {'members': [{'name': 'release', 'type': 'NULL'}, {'members': [{'members': [{'name': 'gp0', 'restricted-to': [(0, 39)], 'type': 'INTEGER'}, {'name': 'gp1', 'restricted-to': [(0, 79)], 'type': 'INTEGER'}, None], 'name': 'gapOffset', 'type': 'CHOICE'}], 'name': 'setup', 'type': 'SEQUENCE'}], 'type': 'CHOICE'}, 'MeasId': {'restricted-to': [(1, 'maxMeasId')], 'type': 'INTEGER'}, 'MeasIdToAddMod': {'members': [{'name': 'measId', 'type': 'MeasId'}, {'name': 'measObjectId', 'type': 'MeasObjectId'}, {'name': 'reportConfigId', 'type': 'ReportConfigId'}], 'type': 'SEQUENCE'}, 'MeasIdToAddModList': {'element': {'type': 'MeasIdToAddMod'}, 'size': [(1, 'maxMeasId')], 'type': 'SEQUENCE OF'}, 'MeasIdToRemoveList': {'element': {'type': 'MeasId'}, 'size': [(1, 'maxMeasId')], 'type': 'SEQUENCE OF'}, 'MeasObjectCDMA2000': {'members': [{'name': 'cdma2000-Type', 'type': 'CDMA2000-Type'}, {'name': 'carrierFreq', 'type': 'CarrierFreqCDMA2000'}, {'name': 'searchWindowSize', 'optional': True, 'restricted-to': [(0, 15)], 'type': 'INTEGER'}, {'default': 0, 'name': 'offsetFreq', 'type': 'Q-OffsetRangeInterRAT'}, {'name': 'cellsToRemoveList', 'optional': True, 'type': 'CellIndexList'}, {'name': 'cellsToAddModList', 'optional': True, 'type': 'CellsToAddModListCDMA2000'}, {'name': 'cellForWhichToReportCGI', 'optional': True, 'type': 'PhysCellIdCDMA2000'}, None], 'type': 'SEQUENCE'}, 'MeasObjectEUTRA': {'members': [{'name': 'carrierFreq', 'type': 'ARFCN-ValueEUTRA'}, {'name': 'allowedMeasBandwidth', 'type': 'AllowedMeasBandwidth'}, {'name': 'presenceAntennaPort1', 'type': 'PresenceAntennaPort1'}, {'name': 'neighCellConfig', 'type': 'NeighCellConfig'}, {'default': 'dB0', 'name': 'offsetFreq', 'type': 'Q-OffsetRange'}, {'name': 'cellsToRemoveList', 'optional': True, 'type': 'CellIndexList'}, {'name': 'cellsToAddModList', 'optional': True, 'type': 'CellsToAddModList'}, {'name': 'blackCellsToRemoveList', 'optional': True, 'type': 'CellIndexList'}, {'name': 'blackCellsToAddModList', 'optional': True, 'type': 'BlackCellsToAddModList'}, {'name': 'cellForWhichToReportCGI', 'optional': True, 'type': 'PhysCellId'}, None], 'type': 'SEQUENCE'}, 'MeasObjectGERAN': {'members': [{'name': 'carrierFreqs', 'type': 'CarrierFreqsGERAN'}, {'default': 0, 'name': 'offsetFreq', 'type': 'Q-OffsetRangeInterRAT'}, {'default': '0b11111111', 'name': 'ncc-Permitted', 'size': [8], 'type': 'BIT STRING'}, {'name': 'cellForWhichToReportCGI', 'optional': True, 'type': 'PhysCellIdGERAN'}, None], 'type': 'SEQUENCE'}, 'MeasObjectId': {'restricted-to': [(1, 'maxObjectId')], 'type': 'INTEGER'}, 'MeasObjectToAddMod': {'members': [{'name': 'measObjectId', 'type': 'MeasObjectId'}, {'members': [{'name': 'measObjectEUTRA', 'type': 'MeasObjectEUTRA'}, {'name': 'measObjectUTRA', 'type': 'MeasObjectUTRA'}, {'name': 'measObjectGERAN', 'type': 'MeasObjectGERAN'}, {'name': 'measObjectCDMA2000', 'type': 'MeasObjectCDMA2000'}, None], 'name': 'measObject', 'type': 'CHOICE'}], 'type': 'SEQUENCE'}, 'MeasObjectToAddModList': {'element': {'type': 'MeasObjectToAddMod'}, 'size': [(1, 'maxObjectId')], 'type': 'SEQUENCE OF'}, 'MeasObjectToRemoveList': {'element': {'type': 'MeasObjectId'}, 'size': [(1, 'maxObjectId')], 'type': 'SEQUENCE OF'}, 'MeasObjectUTRA': {'members': [{'name': 'carrierFreq', 'type': 'ARFCN-ValueUTRA'}, {'default': 0, 'name': 'offsetFreq', 'type': 'Q-OffsetRangeInterRAT'}, {'name': 'cellsToRemoveList', 'optional': True, 'type': 'CellIndexList'}, {'members': [{'name': 'cellsToAddModListUTRA-FDD', 'type': 'CellsToAddModListUTRA-FDD'}, {'name': 'cellsToAddModListUTRA-TDD', 'type': 'CellsToAddModListUTRA-TDD'}], 'name': 'cellsToAddModList', 'optional': True, 'type': 'CHOICE'}, {'members': [{'name': 'utra-FDD', 'type': 'PhysCellIdUTRA-FDD'}, {'name': 'utra-TDD', 'type': 'PhysCellIdUTRA-TDD'}], 'name': 'cellForWhichToReportCGI', 'optional': True, 'type': 'CHOICE'}, None], 'type': 'SEQUENCE'}, 'MeasParameters': {'members': [{'name': 'bandListEUTRA', 'type': 'BandListEUTRA'}], 'type': 'SEQUENCE'}, 'MeasResultCDMA2000': {'members': [{'name': 'physCellId', 'type': 'PhysCellIdCDMA2000'}, {'name': 'cgi-Info', 'optional': True, 'type': 'CellGlobalIdCDMA2000'}, {'members': [{'name': 'pilotPnPhase', 'optional': True, 'restricted-to': [(0, 32767)], 'type': 'INTEGER'}, {'name': 'pilotStrength', 'restricted-to': [(0, 63)], 'type': 'INTEGER'}, None], 'name': 'measResult', 'type': 'SEQUENCE'}], 'type': 'SEQUENCE'}, 'MeasResultEUTRA': {'members': [{'name': 'physCellId', 'type': 'PhysCellId'}, {'members': [{'name': 'cellGlobalId', 'type': 'CellGlobalIdEUTRA'}, {'name': 'trackingAreaCode', 'type': 'TrackingAreaCode'}, {'name': 'plmn-IdentityList', 'optional': True, 'type': 'PLMN-IdentityList2'}], 'name': 'cgi-Info', 'optional': True, 'type': 'SEQUENCE'}, {'members': [{'name': 'rsrpResult', 'optional': True, 'type': 'RSRP-Range'}, {'name': 'rsrqResult', 'optional': True, 'type': 'RSRQ-Range'}, None], 'name': 'measResult', 'type': 'SEQUENCE'}], 'type': 'SEQUENCE'}, 'MeasResultGERAN': {'members': [{'name': 'carrierFreq', 'type': 'CarrierFreqGERAN'}, {'name': 'physCellId', 'type': 'PhysCellIdGERAN'}, {'members': [{'name': 'cellGlobalId', 'type': 'CellGlobalIdGERAN'}, {'name': 'routingAreaCode', 'optional': True, 'size': [8], 'type': 'BIT STRING'}], 'name': 'cgi-Info', 'optional': True, 'type': 'SEQUENCE'}, {'members': [{'name': 'rssi', 'restricted-to': [(0, 63)], 'type': 'INTEGER'}, None], 'name': 'measResult', 'type': 'SEQUENCE'}], 'type': 'SEQUENCE'}, 'MeasResultListCDMA2000': {'element': {'type': 'MeasResultCDMA2000'}, 'size': [(1, 'maxCellReport')], 'type': 'SEQUENCE OF'}, 'MeasResultListEUTRA': {'element': {'type': 'MeasResultEUTRA'}, 'size': [(1, 'maxCellReport')], 'type': 'SEQUENCE OF'}, 'MeasResultListGERAN': {'element': {'type': 'MeasResultGERAN'}, 'size': [(1, 'maxCellReport')], 'type': 'SEQUENCE OF'}, 'MeasResultListUTRA': {'element': {'type': 'MeasResultUTRA'}, 'size': [(1, 'maxCellReport')], 'type': 'SEQUENCE OF'}, 'MeasResultUTRA': {'members': [{'members': [{'name': 'fdd', 'type': 'PhysCellIdUTRA-FDD'}, {'name': 'tdd', 'type': 'PhysCellIdUTRA-TDD'}], 'name': 'physCellId', 'type': 'CHOICE'}, {'members': [{'name': 'cellGlobalId', 'type': 'CellGlobalIdUTRA'}, {'name': 'locationAreaCode', 'optional': True, 'size': [16], 'type': 'BIT STRING'}, {'name': 'routingAreaCode', 'optional': True, 'size': [8], 'type': 'BIT STRING'}, {'name': 'plmn-IdentityList', 'optional': True, 'type': 'PLMN-IdentityList2'}], 'name': 'cgi-Info', 'optional': True, 'type': 'SEQUENCE'}, {'members': [{'name': 'utra-RSCP', 'optional': True, 'restricted-to': [(-5, 91)], 'type': 'INTEGER'}, {'name': 'utra-EcN0', 'optional': True, 'restricted-to': [(0, 49)], 'type': 'INTEGER'}, None], 'name': 'measResult', 'type': 'SEQUENCE'}], 'type': 'SEQUENCE'}, 'MeasResults': {'members': [{'name': 'measId', 'type': 'MeasId'}, {'members': [{'name': 'rsrpResult', 'type': 'RSRP-Range'}, {'name': 'rsrqResult', 'type': 'RSRQ-Range'}], 'name': 'measResultServCell', 'type': 'SEQUENCE'}, {'members': [{'name': 'measResultListEUTRA', 'type': 'MeasResultListEUTRA'}, {'name': 'measResultListUTRA', 'type': 'MeasResultListUTRA'}, {'name': 'measResultListGERAN', 'type': 'MeasResultListGERAN'}, {'name': 'measResultsCDMA2000', 'type': 'MeasResultsCDMA2000'}, None], 'name': 'measResultNeighCells', 'optional': True, 'type': 'CHOICE'}, None], 'type': 'SEQUENCE'}, 'MeasResultsCDMA2000': {'members': [{'name': 'preRegistrationStatusHRPD', 'type': 'BOOLEAN'}, {'name': 'measResultListCDMA2000', 'type': 'MeasResultListCDMA2000'}], 'type': 'SEQUENCE'}, 'MeasurementReport': {'members': [{'members': [{'members': [{'name': 'measurementReport-r8', 'type': 'MeasurementReport-r8-IEs'}, {'name': 'spare7', 'type': 'NULL'}, {'name': 'spare6', 'type': 'NULL'}, {'name': 'spare5', 'type': 'NULL'}, {'name': 'spare4', 'type': 'NULL'}, {'name': 'spare3', 'type': 'NULL'}, {'name': 'spare2', 'type': 'NULL'}, {'name': 'spare1', 'type': 'NULL'}], 'name': 'c1', 'type': 'CHOICE'}, {'members': [], 'name': 'criticalExtensionsFuture', 'type': 'SEQUENCE'}], 'name': 'criticalExtensions', 'type': 'CHOICE'}], 'type': 'SEQUENCE'}, 'MeasurementReport-r8-IEs': {'members': [{'name': 'measResults', 'type': 'MeasResults'}, {'members': [], 'name': 'nonCriticalExtension', 'optional': True, 'type': 'SEQUENCE'}], 'type': 'SEQUENCE'}, 'MobilityControlInfo': {'members': [{'name': 'targetPhysCellId', 'type': 'PhysCellId'}, {'name': 'carrierFreq', 'optional': True, 'type': 'CarrierFreqEUTRA'}, {'name': 'carrierBandwidth', 'optional': True, 'type': 'CarrierBandwidthEUTRA'}, {'name': 'additionalSpectrumEmission', 'optional': True, 'type': 'AdditionalSpectrumEmission'}, {'name': 't304', 'type': 'ENUMERATED', 'values': [('ms50', 0), ('ms100', 1), ('ms150', 2), ('ms200', 3), ('ms500', 4), ('ms1000', 5), ('ms2000', 6), ('spare1', 7)]}, {'name': 'newUE-Identity', 'type': 'C-RNTI'}, {'name': 'radioResourceConfigCommon', 'type': 'RadioResourceConfigCommon'}, {'name': 'rach-ConfigDedicated', 'optional': True, 'type': 'RACH-ConfigDedicated'}, None], 'type': 'SEQUENCE'}, 'MobilityFromEUTRACommand': {'members': [{'name': 'rrc-TransactionIdentifier', 'type': 'RRC-TransactionIdentifier'}, {'members': [{'members': [{'name': 'mobilityFromEUTRACommand-r8', 'type': 'MobilityFromEUTRACommand-r8-IEs'}, {'name': 'spare3', 'type': 'NULL'}, {'name': 'spare2', 'type': 'NULL'}, {'name': 'spare1', 'type': 'NULL'}], 'name': 'c1', 'type': 'CHOICE'}, {'members': [], 'name': 'criticalExtensionsFuture', 'type': 'SEQUENCE'}], 'name': 'criticalExtensions', 'type': 'CHOICE'}], 'type': 'SEQUENCE'}, 'MobilityFromEUTRACommand-r8-IEs': {'members': [{'name': 'cs-FallbackIndicator', 'type': 'BOOLEAN'}, {'members': [{'name': 'handover', 'type': 'Handover'}, {'name': 'cellChangeOrder', 'type': 'CellChangeOrder'}], 'name': 'purpose', 'type': 'CHOICE'}, {'members': [], 'name': 'nonCriticalExtension', 'optional': True, 'type': 'SEQUENCE'}], 'type': 'SEQUENCE'}, 'MobilityParametersCDMA2000': {'type': 'OCTET STRING'}, 'MobilityStateParameters': {'members': [{'name': 't-Evaluation', 'type': 'ENUMERATED', 'values': [('s30', 0), ('s60', 1), ('s120', 2), ('s180', 3), ('s240', 4), ('spare3', 5), ('spare2', 6), ('spare1', 7)]}, {'name': 't-HystNormal', 'type': 'ENUMERATED', 'values': [('s30', 0), ('s60', 1), ('s120', 2), ('s180', 3), ('s240', 4), ('spare3', 5), ('spare2', 6), ('spare1', 7)]}, {'name': 'n-CellChangeMedium', 'restricted-to': [(1, 16)], 'type': 'INTEGER'}, {'name': 'n-CellChangeHigh', 'restricted-to': [(1, 16)], 'type': 'INTEGER'}], 'type': 'SEQUENCE'}, 'N1-PUCCH-AN-PersistentList': {'element': {'restricted-to': [(0, 2047)], 'type': 'INTEGER'}, 'size': [(1, 4)], 'type': 'SEQUENCE OF'}, 'NeighCellCDMA2000': {'members': [{'name': 'bandClass', 'type': 'BandclassCDMA2000'}, {'name': 'neighCellsPerFreqList', 'type': 'NeighCellsPerBandclassListCDMA2000'}], 'type': 'SEQUENCE'}, 'NeighCellConfig': {'size': [2], 'type': 'BIT STRING'}, 'NeighCellListCDMA2000': {'element': {'type': 'NeighCellCDMA2000'}, 'size': [(1, 16)], 'type': 'SEQUENCE OF'}, 'NeighCellsPerBandclassCDMA2000': {'members': [{'name': 'arfcn', 'type': 'ARFCN-ValueCDMA2000'}, {'name': 'physCellIdList', 'type': 'PhysCellIdListCDMA2000'}], 'type': 'SEQUENCE'}, 'NeighCellsPerBandclassListCDMA2000': {'element': {'type': 'NeighCellsPerBandclassCDMA2000'}, 'size': [(1, 16)], 'type': 'SEQUENCE OF'}, 'NextHopChainingCount': {'restricted-to': [(0, 7)], 'type': 'INTEGER'}, 'P-Max': {'restricted-to': [(-30, 33)], 'type': 'INTEGER'}, 'PCCH-Config': {'members': [{'name': 'defaultPagingCycle', 'type': 'ENUMERATED', 'values': [('rf32', 0), ('rf64', 1), ('rf128', 2), ('rf256', 3)]}, {'name': 'nB', 'type': 'ENUMERATED', 'values': [('fourT', 0), ('twoT', 1), ('oneT', 2), ('halfT', 3), ('quarterT', 4), ('oneEighthT', 5), ('oneSixteenthT', 6), ('oneThirtySecondT', 7)]}], 'type': 'SEQUENCE'}, 'PCCH-Message': {'members': [{'name': 'message', 'type': 'PCCH-MessageType'}], 'type': 'SEQUENCE'}, 'PCCH-MessageType': {'members': [{'members': [{'name': 'paging', 'type': 'Paging'}], 'name': 'c1', 'type': 'CHOICE'}, {'members': [], 'name': 'messageClassExtension', 'type': 'SEQUENCE'}], 'type': 'CHOICE'}, 'PDCP-Config': {'members': [{'name': 'discardTimer', 'optional': True, 'type': 'ENUMERATED', 'values': [('ms50', 0), ('ms100', 1), ('ms150', 2), ('ms300', 3), ('ms500', 4), ('ms750', 5), ('ms1500', 6), ('infinity', 7)]}, {'members': [{'name': 'statusReportRequired', 'type': 'BOOLEAN'}], 'name': 'rlc-AM', 'optional': True, 'type': 'SEQUENCE'}, {'members': [{'name': 'pdcp-SN-Size', 'type': 'ENUMERATED', 'values': [('len7bits', 0), ('len12bits', 1)]}], 'name': 'rlc-UM', 'optional': True, 'type': 'SEQUENCE'}, {'members': [{'name': 'notUsed', 'type': 'NULL'}, {'members': [{'default': 15, 'name': 'maxCID', 'restricted-to': [(1, 16383)], 'type': 'INTEGER'}, {'members': [{'name': 'profile0x0001', 'type': 'BOOLEAN'}, {'name': 'profile0x0002', 'type': 'BOOLEAN'}, {'name': 'profile0x0003', 'type': 'BOOLEAN'}, {'name': 'profile0x0004', 'type': 'BOOLEAN'}, {'name': 'profile0x0006', 'type': 'BOOLEAN'}, {'name': 'profile0x0101', 'type': 'BOOLEAN'}, {'name': 'profile0x0102', 'type': 'BOOLEAN'}, {'name': 'profile0x0103', 'type': 'BOOLEAN'}, {'name': 'profile0x0104', 'type': 'BOOLEAN'}], 'name': 'profiles', 'type': 'SEQUENCE'}, None], 'name': 'rohc', 'type': 'SEQUENCE'}], 'name': 'headerCompression', 'type': 'CHOICE'}, None], 'type': 'SEQUENCE'}, 'PDCP-Parameters': {'members': [{'members': [{'name': 'profile0x0001', 'type': 'BOOLEAN'}, {'name': 'profile0x0002', 'type': 'BOOLEAN'}, {'name': 'profile0x0003', 'type': 'BOOLEAN'}, {'name': 'profile0x0004', 'type': 'BOOLEAN'}, {'name': 'profile0x0006', 'type': 'BOOLEAN'}, {'name': 'profile0x0101', 'type': 'BOOLEAN'}, {'name': 'profile0x0102', 'type': 'BOOLEAN'}, {'name': 'profile0x0103', 'type': 'BOOLEAN'}, {'name': 'profile0x0104', 'type': 'BOOLEAN'}], 'name': 'supportedROHC-Profiles', 'type': 'SEQUENCE'}, {'default': 'cs16', 'name': 'maxNumberROHC-ContextSessions', 'type': 'ENUMERATED', 'values': [('cs2', 0), ('cs4', 1), ('cs8', 2), ('cs12', 3), ('cs16', 4), ('cs24', 5), ('cs32', 6), ('cs48', 7), ('cs64', 8), ('cs128', 9), ('cs256', 10), ('cs512', 11), ('cs1024', 12), ('cs16384', 13), ('spare2', 14), ('spare1', 15)]}, None], 'type': 'SEQUENCE'}, 'PDSCH-ConfigCommon': {'members': [{'name': 'referenceSignalPower', 'restricted-to': [(-60, 50)], 'type': 'INTEGER'}, {'name': 'p-b', 'restricted-to': [(0, 3)], 'type': 'INTEGER'}], 'type': 'SEQUENCE'}, 'PDSCH-ConfigDedicated': {'members': [{'name': 'p-a', 'type': 'ENUMERATED', 'values': [('dB-6', 0), ('dB-4dot77', 1), ('dB-3', 2), ('dB-1dot77', 3), ('dB0', 4), ('dB1', 5), ('dB2', 6), ('dB3', 7)]}], 'type': 'SEQUENCE'}, 'PHICH-Config': {'members': [{'name': 'phich-Duration', 'type': 'ENUMERATED', 'values': [('normal', 0), ('extended', 1)]}, {'name': 'phich-Resource', 'type': 'ENUMERATED', 'values': [('oneSixth', 0), ('half', 1), ('one', 2), ('two', 3)]}], 'type': 'SEQUENCE'}, 'PLMN-Identity': {'members': [{'name': 'mcc', 'optional': True, 'type': 'MCC'}, {'name': 'mnc', 'type': 'MNC'}], 'type': 'SEQUENCE'}, 'PLMN-IdentityInfo': {'members': [{'name': 'plmn-Identity', 'type': 'PLMN-Identity'}, {'name': 'cellReservedForOperatorUse', 'type': 'ENUMERATED', 'values': [('reserved', 0), ('notReserved', 1)]}], 'type': 'SEQUENCE'}, 'PLMN-IdentityList': {'element': {'type': 'PLMN-IdentityInfo'}, 'size': [(1, 6)], 'type': 'SEQUENCE OF'}, 'PLMN-IdentityList2': {'element': {'type': 'PLMN-Identity'}, 'size': [(1, 5)], 'type': 'SEQUENCE OF'}, 'PRACH-Config': {'members': [{'name': 'rootSequenceIndex', 'restricted-to': [(0, 837)], 'type': 'INTEGER'}, {'name': 'prach-ConfigInfo', 'optional': True, 'type': 'PRACH-ConfigInfo'}], 'type': 'SEQUENCE'}, 'PRACH-ConfigInfo': {'members': [{'name': 'prach-ConfigIndex', 'restricted-to': [(0, 63)], 'type': 'INTEGER'}, {'name': 'highSpeedFlag', 'type': 'BOOLEAN'}, {'name': 'zeroCorrelationZoneConfig', 'restricted-to': [(0, 15)], 'type': 'INTEGER'}, {'name': 'prach-FreqOffset', 'restricted-to': [(0, 94)], 'type': 'INTEGER'}], 'type': 'SEQUENCE'}, 'PRACH-ConfigSIB': {'members': [{'name': 'rootSequenceIndex', 'restricted-to': [(0, 837)], 'type': 'INTEGER'}, {'name': 'prach-ConfigInfo', 'type': 'PRACH-ConfigInfo'}], 'type': 'SEQUENCE'}, 'PUCCH-ConfigCommon': {'members': [{'name': 'deltaPUCCH-Shift', 'type': 'ENUMERATED', 'values': [('ds1', 0), ('ds2', 1), ('ds3', 2)]}, {'name': 'nRB-CQI', 'restricted-to': [(0, 98)], 'type': 'INTEGER'}, {'name': 'nCS-AN', 'restricted-to': [(0, 7)], 'type': 'INTEGER'}, {'name': 'n1PUCCH-AN', 'restricted-to': [(0, 2047)], 'type': 'INTEGER'}], 'type': 'SEQUENCE'}, 'PUCCH-ConfigDedicated': {'members': [{'members': [{'name': 'release', 'type': 'NULL'}, {'members': [{'name': 'repetitionFactor', 'type': 'ENUMERATED', 'values': [('n2', 0), ('n4', 1), ('n6', 2), ('spare1', 3)]}, {'name': 'n1PUCCH-AN-Rep', 'restricted-to': [(0, 2047)], 'type': 'INTEGER'}], 'name': 'setup', 'type': 'SEQUENCE'}], 'name': 'ackNackRepetition', 'type': 'CHOICE'}, {'name': 'tdd-AckNackFeedbackMode', 'optional': True, 'type': 'ENUMERATED', 'values': [('bundling', 0), ('multiplexing', 1)]}], 'type': 'SEQUENCE'}, 'PUSCH-ConfigCommon': {'members': [{'members': [{'name': 'n-SB', 'restricted-to': [(1, 4)], 'type': 'INTEGER'}, {'name': 'hoppingMode', 'type': 'ENUMERATED', 'values': [('interSubFrame', 0), ('intraAndInterSubFrame', 1)]}, {'name': 'pusch-HoppingOffset', 'restricted-to': [(0, 98)], 'type': 'INTEGER'}, {'name': 'enable64QAM', 'type': 'BOOLEAN'}], 'name': 'pusch-ConfigBasic', 'type': 'SEQUENCE'}, {'name': 'ul-ReferenceSignalsPUSCH', 'type': 'UL-ReferenceSignalsPUSCH'}], 'type': 'SEQUENCE'}, 'PUSCH-ConfigDedicated': {'members': [{'name': 'betaOffset-ACK-Index', 'restricted-to': [(0, 15)], 'type': 'INTEGER'}, {'name': 'betaOffset-RI-Index', 'restricted-to': [(0, 15)], 'type': 'INTEGER'}, {'name': 'betaOffset-CQI-Index', 'restricted-to': [(0, 15)], 'type': 'INTEGER'}], 'type': 'SEQUENCE'}, 'Paging': {'members': [{'name': 'pagingRecordList', 'optional': True, 'type': 'PagingRecordList'}, {'name': 'systemInfoModification', 'optional': True, 'type': 'ENUMERATED', 'values': [('true', 0)]}, {'name': 'etws-Indication', 'optional': True, 'type': 'ENUMERATED', 'values': [('true', 0)]}, {'members': [], 'name': 'nonCriticalExtension', 'optional': True, 'type': 'SEQUENCE'}], 'type': 'SEQUENCE'}, 'PagingRecord': {'members': [{'name': 'ue-Identity', 'type': 'PagingUE-Identity'}, {'name': 'cn-Domain', 'type': 'ENUMERATED', 'values': [('ps', 0), ('cs', 1)]}, None], 'type': 'SEQUENCE'}, 'PagingRecordList': {'element': {'type': 'PagingRecord'}, 'size': [(1, 'maxPageRec')], 'type': 'SEQUENCE OF'}, 'PagingUE-Identity': {'members': [{'name': 's-TMSI', 'type': 'S-TMSI'}, {'name': 'imsi', 'type': 'IMSI'}, None], 'type': 'CHOICE'}, 'PhyLayerParameters': {'members': [{'name': 'ue-TxAntennaSelectionSupported', 'type': 'BOOLEAN'}, {'name': 'ue-SpecificRefSigsSupported', 'type': 'BOOLEAN'}], 'type': 'SEQUENCE'}, 'PhysCellId': {'restricted-to': [(0, 503)], 'type': 'INTEGER'}, 'PhysCellIdCDMA2000': {'restricted-to': [(0, 'maxPNOffset')], 'type': 'INTEGER'}, 'PhysCellIdGERAN': {'members': [{'name': 'networkColourCode', 'size': [3], 'type': 'BIT STRING'}, {'name': 'baseStationColourCode', 'size': [3], 'type': 'BIT STRING'}], 'type': 'SEQUENCE'}, 'PhysCellIdListCDMA2000': {'element': {'type': 'PhysCellIdCDMA2000'}, 'size': [(1, 16)], 'type': 'SEQUENCE OF'}, 'PhysCellIdRange': {'members': [{'name': 'start', 'type': 'PhysCellId'}, {'name': 'range', 'optional': True, 'type': 'ENUMERATED', 'values': [('n4', 0), ('n8', 1), ('n12', 2), ('n16', 3), ('n24', 4), ('n32', 5), ('n48', 6), ('n64', 7), ('n84', 8), ('n96', 9), ('n128', 10), ('n168', 11), ('n252', 12), ('n504', 13), ('spare2', 14), ('spare1', 15)]}], 'type': 'SEQUENCE'}, 'PhysCellIdUTRA-FDD': {'restricted-to': [(0, 511)], 'type': 'INTEGER'}, 'PhysCellIdUTRA-TDD': {'restricted-to': [(0, 127)], 'type': 'INTEGER'}, 'PhysicalConfigDedicated': {'members': [{'name': 'pdsch-ConfigDedicated', 'optional': True, 'type': 'PDSCH-ConfigDedicated'}, {'name': 'pucch-ConfigDedicated', 'optional': True, 'type': 'PUCCH-ConfigDedicated'}, {'name': 'pusch-ConfigDedicated', 'optional': True, 'type': 'PUSCH-ConfigDedicated'}, {'name': 'uplinkPowerControlDedicated', 'optional': True, 'type': 'UplinkPowerControlDedicated'}, {'name': 'tpc-PDCCH-ConfigPUCCH', 'optional': True, 'type': 'TPC-PDCCH-Config'}, {'name': 'tpc-PDCCH-ConfigPUSCH', 'optional': True, 'type': 'TPC-PDCCH-Config'}, {'name': 'cqi-ReportConfig', 'optional': True, 'type': 'CQI-ReportConfig'}, {'name': 'soundingRS-UL-ConfigDedicated', 'optional': True, 'type': 'SoundingRS-UL-ConfigDedicated'}, {'members': [{'name': 'explicitValue', 'type': 'AntennaInfoDedicated'}, {'name': 'defaultValue', 'type': 'NULL'}], 'name': 'antennaInfo', 'optional': True, 'type': 'CHOICE'}, {'name': 'schedulingRequestConfig', 'optional': True, 'type': 'SchedulingRequestConfig'}, None], 'type': 'SEQUENCE'}, 'PollByte': {'type': 'ENUMERATED', 'values': [('kB25', 0), ('kB50', 1), ('kB75', 2), ('kB100', 3), ('kB125', 4), ('kB250', 5), ('kB375', 6), ('kB500', 7), ('kB750', 8), ('kB1000', 9), ('kB1250', 10), ('kB1500', 11), ('kB2000', 12), ('kB3000', 13), ('kBinfinity', 14), ('spare1', 15)]}, 'PollPDU': {'type': 'ENUMERATED', 'values': [('p4', 0), ('p8', 1), ('p16', 2), ('p32', 3), ('p64', 4), ('p128', 5), ('p256', 6), ('pInfinity', 7)]}, 'PreRegistrationInfoHRPD': {'members': [{'name': 'preRegistrationAllowed', 'type': 'BOOLEAN'}, {'name': 'preRegistrationZoneId', 'optional': True, 'type': 'PreRegistrationZoneIdHRPD'}, {'name': 'secondaryPreRegistrationZoneIdList', 'optional': True, 'type': 'SecondaryPreRegistrationZoneIdListHRPD'}], 'type': 'SEQUENCE'}, 'PreRegistrationZoneIdHRPD': {'restricted-to': [(0, 255)], 'type': 'INTEGER'}, 'PresenceAntennaPort1': {'type': 'BOOLEAN'}, 'Q-OffsetRange': {'type': 'ENUMERATED', 'values': [('dB-24', 0), ('dB-22', 1), ('dB-20', 2), ('dB-18', 3), ('dB-16', 4), ('dB-14', 5), ('dB-12', 6), ('dB-10', 7), ('dB-8', 8), ('dB-6', 9), ('dB-5', 10), ('dB-4', 11), ('dB-3', 12), ('dB-2', 13), ('dB-1', 14), ('dB0', 15), ('dB1', 16), ('dB2', 17), ('dB3', 18), ('dB4', 19), ('dB5', 20), ('dB6', 21), ('dB8', 22), ('dB10', 23), ('dB12', 24), ('dB14', 25), ('dB16', 26), ('dB18', 27), ('dB20', 28), ('dB22', 29), ('dB24', 30)]}, 'Q-OffsetRangeInterRAT': {'restricted-to': [(-15, 15)], 'type': 'INTEGER'}, 'Q-RxLevMin': {'restricted-to': [(-70, -22)], 'type': 'INTEGER'}, 'QuantityConfig': {'members': [{'name': 'quantityConfigEUTRA', 'optional': True, 'type': 'QuantityConfigEUTRA'}, {'name': 'quantityConfigUTRA', 'optional': True, 'type': 'QuantityConfigUTRA'}, {'name': 'quantityConfigGERAN', 'optional': True, 'type': 'QuantityConfigGERAN'}, {'name': 'quantityConfigCDMA2000', 'optional': True, 'type': 'QuantityConfigCDMA2000'}, None], 'type': 'SEQUENCE'}, 'QuantityConfigCDMA2000': {'members': [{'name': 'measQuantityCDMA2000', 'type': 'ENUMERATED', 'values': [('pilotStrength', 0), ('pilotPnPhaseAndPilotStrength', 1)]}], 'type': 'SEQUENCE'}, 'QuantityConfigEUTRA': {'members': [{'default': 'fc4', 'name': 'filterCoefficientRSRP', 'type': 'FilterCoefficient'}, {'default': 'fc4', 'name': 'filterCoefficientRSRQ', 'type': 'FilterCoefficient'}], 'type': 'SEQUENCE'}, 'QuantityConfigGERAN': {'members': [{'name': 'measQuantityGERAN', 'type': 'ENUMERATED', 'values': [('rssi', 0)]}, {'default': 'fc2', 'name': 'filterCoefficient', 'type': 'FilterCoefficient'}], 'type': 'SEQUENCE'}, 'QuantityConfigUTRA': {'members': [{'name': 'measQuantityUTRA-FDD', 'type': 'ENUMERATED', 'values': [('cpich-RSCP', 0), ('cpich-EcN0', 1)]}, {'name': 'measQuantityUTRA-TDD', 'type': 'ENUMERATED', 'values': [('pccpch-RSCP', 0)]}, {'default': 'fc4', 'name': 'filterCoefficient', 'type': 'FilterCoefficient'}], 'type': 'SEQUENCE'}, 'RACH-ConfigCommon': {'members': [{'members': [{'name': 'numberOfRA-Preambles', 'type': 'ENUMERATED', 'values': [('n4', 0), ('n8', 1), ('n12', 2), ('n16', 3), ('n20', 4), ('n24', 5), ('n28', 6), ('n32', 7), ('n36', 8), ('n40', 9), ('n44', 10), ('n48', 11), ('n52', 12), ('n56', 13), ('n60', 14), ('n64', 15)]}, {'members': [{'name': 'sizeOfRA-PreamblesGroupA', 'type': 'ENUMERATED', 'values': [('n4', 0), ('n8', 1), ('n12', 2), ('n16', 3), ('n20', 4), ('n24', 5), ('n28', 6), ('n32', 7), ('n36', 8), ('n40', 9), ('n44', 10), ('n48', 11), ('n52', 12), ('n56', 13), ('n60', 14)]}, {'name': 'messageSizeGroupA', 'type': 'ENUMERATED', 'values': [('b56', 0), ('b144', 1), ('b208', 2), ('b256', 3)]}, {'name': 'messagePowerOffsetGroupB', 'type': 'ENUMERATED', 'values': [('minusinfinity', 0), ('dB0', 1), ('dB5', 2), ('dB8', 3), ('dB10', 4), ('dB12', 5), ('dB15', 6), ('dB18', 7)]}, None], 'name': 'preamblesGroupAConfig', 'optional': True, 'type': 'SEQUENCE'}], 'name': 'preambleInfo', 'type': 'SEQUENCE'}, {'members': [{'name': 'powerRampingStep', 'type': 'ENUMERATED', 'values': [('dB0', 0), ('dB2', 1), ('dB4', 2), ('dB6', 3)]}, {'name': 'preambleInitialReceivedTargetPower', 'type': 'ENUMERATED', 'values': [('dBm-120', 0), ('dBm-118', 1), ('dBm-116', 2), ('dBm-114', 3), ('dBm-112', 4), ('dBm-110', 5), ('dBm-108', 6), ('dBm-106', 7), ('dBm-104', 8), ('dBm-102', 9), ('dBm-100', 10), ('dBm-98', 11), ('dBm-96', 12), ('dBm-94', 13), ('dBm-92', 14), ('dBm-90', 15)]}], 'name': 'powerRampingParameters', 'type': 'SEQUENCE'}, {'members': [{'name': 'preambleTransMax', 'type': 'ENUMERATED', 'values': [('n3', 0), ('n4', 1), ('n5', 2), ('n6', 3), ('n7', 4), ('n8', 5), ('n10', 6), ('n20', 7), ('n50', 8), ('n100', 9), ('n200', 10)]}, {'name': 'ra-ResponseWindowSize', 'type': 'ENUMERATED', 'values': [('sf2', 0), ('sf3', 1), ('sf4', 2), ('sf5', 3), ('sf6', 4), ('sf7', 5), ('sf8', 6), ('sf10', 7)]}, {'name': 'mac-ContentionResolutionTimer', 'type': 'ENUMERATED', 'values': [('sf8', 0), ('sf16', 1), ('sf24', 2), ('sf32', 3), ('sf40', 4), ('sf48', 5), ('sf56', 6), ('sf64', 7)]}], 'name': 'ra-SupervisionInfo', 'type': 'SEQUENCE'}, {'name': 'maxHARQ-Msg3Tx', 'restricted-to': [(1, 8)], 'type': 'INTEGER'}, None], 'type': 'SEQUENCE'}, 'RACH-ConfigDedicated': {'members': [{'name': 'ra-PreambleIndex', 'restricted-to': [(0, 63)], 'type': 'INTEGER'}, {'name': 'ra-PRACH-MaskIndex', 'restricted-to': [(0, 15)], 'type': 'INTEGER'}], 'type': 'SEQUENCE'}, 'RAND-CDMA2000': {'size': [32], 'type': 'BIT STRING'}, 'RAT-Type': {'type': 'ENUMERATED', 'values': [('eutra', 0), ('utra', 1), ('geran-cs', 2), ('geran-ps', 3), ('cdma2000-1XRTT', 4), ('spare3', 5), ('spare2', 6), ('spare1', 7), None]}, 'RF-Parameters': {'members': [{'name': 'supportedBandListEUTRA', 'type': 'SupportedBandListEUTRA'}], 'type': 'SEQUENCE'}, 'RLC-Config': {'members': [{'members': [{'name': 'ul-AM-RLC', 'type': 'UL-AM-RLC'}, {'name': 'dl-AM-RLC', 'type': 'DL-AM-RLC'}], 'name': 'am', 'type': 'SEQUENCE'}, {'members': [{'name': 'ul-UM-RLC', 'type': 'UL-UM-RLC'}, {'name': 'dl-UM-RLC', 'type': 'DL-UM-RLC'}], 'name': 'um-Bi-Directional', 'type': 'SEQUENCE'}, {'members': [{'name': 'ul-UM-RLC', 'type': 'UL-UM-RLC'}], 'name': 'um-Uni-Directional-UL', 'type': 'SEQUENCE'}, {'members': [{'name': 'dl-UM-RLC', 'type': 'DL-UM-RLC'}], 'name': 'um-Uni-Directional-DL', 'type': 'SEQUENCE'}, None], 'type': 'CHOICE'}, 'RRC-TransactionIdentifier': {'restricted-to': [(0, 3)], 'type': 'INTEGER'}, 'RRCConnectionReconfiguration': {'members': [{'name': 'rrc-TransactionIdentifier', 'type': 'RRC-TransactionIdentifier'}, {'members': [{'members': [{'name': 'rrcConnectionReconfiguration-r8', 'type': 'RRCConnectionReconfiguration-r8-IEs'}, {'name': 'spare7', 'type': 'NULL'}, {'name': 'spare6', 'type': 'NULL'}, {'name': 'spare5', 'type': 'NULL'}, {'name': 'spare4', 'type': 'NULL'}, {'name': 'spare3', 'type': 'NULL'}, {'name': 'spare2', 'type': 'NULL'}, {'name': 'spare1', 'type': 'NULL'}], 'name': 'c1', 'type': 'CHOICE'}, {'members': [], 'name': 'criticalExtensionsFuture', 'type': 'SEQUENCE'}], 'name': 'criticalExtensions', 'type': 'CHOICE'}], 'type': 'SEQUENCE'}, 'RRCConnectionReconfiguration-r8-IEs': {'members': [{'name': 'measConfig', 'optional': True, 'type': 'MeasConfig'}, {'name': 'mobilityControlInfo', 'optional': True, 'type': 'MobilityControlInfo'}, {'element': {'type': 'DedicatedInfoNAS'}, 'name': 'dedicatedInfoNASList', 'optional': True, 'size': [(1, 'maxDRB')], 'type': 'SEQUENCE OF'}, {'name': 'radioResourceConfigDedicated', 'optional': True, 'type': 'RadioResourceConfigDedicated'}, {'name': 'securityConfigHO', 'optional': True, 'type': 'SecurityConfigHO'}, {'members': [], 'name': 'nonCriticalExtension', 'optional': True, 'type': 'SEQUENCE'}], 'type': 'SEQUENCE'}, 'RRCConnectionReconfigurationComplete': {'members': [{'name': 'rrc-TransactionIdentifier', 'type': 'RRC-TransactionIdentifier'}, {'members': [{'name': 'rrcConnectionReconfigurationComplete-r8', 'type': 'RRCConnectionReconfigurationComplete-r8-IEs'}, {'members': [], 'name': 'criticalExtensionsFuture', 'type': 'SEQUENCE'}], 'name': 'criticalExtensions', 'type': 'CHOICE'}], 'type': 'SEQUENCE'}, 'RRCConnectionReconfigurationComplete-r8-IEs': {'members': [{'members': [], 'name': 'nonCriticalExtension', 'optional': True, 'type': 'SEQUENCE'}], 'type': 'SEQUENCE'}, 'RRCConnectionReestablishment': {'members': [{'name': 'rrc-TransactionIdentifier', 'type': 'RRC-TransactionIdentifier'}, {'members': [{'members': [{'name': 'rrcConnectionReestablishment-r8', 'type': 'RRCConnectionReestablishment-r8-IEs'}, {'name': 'spare7', 'type': 'NULL'}, {'name': 'spare6', 'type': 'NULL'}, {'name': 'spare5', 'type': 'NULL'}, {'name': 'spare4', 'type': 'NULL'}, {'name': 'spare3', 'type': 'NULL'}, {'name': 'spare2', 'type': 'NULL'}, {'name': 'spare1', 'type': 'NULL'}], 'name': 'c1', 'type': 'CHOICE'}, {'members': [], 'name': 'criticalExtensionsFuture', 'type': 'SEQUENCE'}], 'name': 'criticalExtensions', 'type': 'CHOICE'}], 'type': 'SEQUENCE'}, 'RRCConnectionReestablishment-r8-IEs': {'members': [{'name': 'radioResourceConfigDedicated', 'type': 'RadioResourceConfigDedicated'}, {'name': 'nextHopChainingCount', 'type': 'NextHopChainingCount'}, {'members': [], 'name': 'nonCriticalExtension', 'optional': True, 'type': 'SEQUENCE'}], 'type': 'SEQUENCE'}, 'RRCConnectionReestablishmentComplete': {'members': [{'name': 'rrc-TransactionIdentifier', 'type': 'RRC-TransactionIdentifier'}, {'members': [{'name': 'rrcConnectionReestablishmentComplete-r8', 'type': 'RRCConnectionReestablishmentComplete-r8-IEs'}, {'members': [], 'name': 'criticalExtensionsFuture', 'type': 'SEQUENCE'}], 'name': 'criticalExtensions', 'type': 'CHOICE'}], 'type': 'SEQUENCE'}, 'RRCConnectionReestablishmentComplete-r8-IEs': {'members': [{'members': [], 'name': 'nonCriticalExtension', 'optional': True, 'type': 'SEQUENCE'}], 'type': 'SEQUENCE'}, 'RRCConnectionReestablishmentReject': {'members': [{'members': [{'name': 'rrcConnectionReestablishmentReject-r8', 'type': 'RRCConnectionReestablishmentReject-r8-IEs'}, {'members': [], 'name': 'criticalExtensionsFuture', 'type': 'SEQUENCE'}], 'name': 'criticalExtensions', 'type': 'CHOICE'}], 'type': 'SEQUENCE'}, 'RRCConnectionReestablishmentReject-r8-IEs': {'members': [{'members': [], 'name': 'nonCriticalExtension', 'optional': True, 'type': 'SEQUENCE'}], 'type': 'SEQUENCE'}, 'RRCConnectionReestablishmentRequest': {'members': [{'members': [{'name': 'rrcConnectionReestablishmentRequest-r8', 'type': 'RRCConnectionReestablishmentRequest-r8-IEs'}, {'members': [], 'name': 'criticalExtensionsFuture', 'type': 'SEQUENCE'}], 'name': 'criticalExtensions', 'type': 'CHOICE'}], 'type': 'SEQUENCE'}, 'RRCConnectionReestablishmentRequest-r8-IEs': {'members': [{'name': 'ue-Identity', 'type': 'ReestabUE-Identity'}, {'name': 'reestablishmentCause', 'type': 'ReestablishmentCause'}, {'name': 'spare', 'size': [2], 'type': 'BIT STRING'}], 'type': 'SEQUENCE'}, 'RRCConnectionReject': {'members': [{'members': [{'members': [{'name': 'rrcConnectionReject-r8', 'type': 'RRCConnectionReject-r8-IEs'}, {'name': 'spare3', 'type': 'NULL'}, {'name': 'spare2', 'type': 'NULL'}, {'name': 'spare1', 'type': 'NULL'}], 'name': 'c1', 'type': 'CHOICE'}, {'members': [], 'name': 'criticalExtensionsFuture', 'type': 'SEQUENCE'}], 'name': 'criticalExtensions', 'type': 'CHOICE'}], 'type': 'SEQUENCE'}, 'RRCConnectionReject-r8-IEs': {'members': [{'name': 'waitTime', 'restricted-to': [(1, 16)], 'type': 'INTEGER'}, {'members': [], 'name': 'nonCriticalExtension', 'optional': True, 'type': 'SEQUENCE'}], 'type': 'SEQUENCE'}, 'RRCConnectionRelease': {'members': [{'name': 'rrc-TransactionIdentifier', 'type': 'RRC-TransactionIdentifier'}, {'members': [{'members': [{'name': 'rrcConnectionRelease-r8', 'type': 'RRCConnectionRelease-r8-IEs'}, {'name': 'spare3', 'type': 'NULL'}, {'name': 'spare2', 'type': 'NULL'}, {'name': 'spare1', 'type': 'NULL'}], 'name': 'c1', 'type': 'CHOICE'}, {'members': [], 'name': 'criticalExtensionsFuture', 'type': 'SEQUENCE'}], 'name': 'criticalExtensions', 'type': 'CHOICE'}], 'type': 'SEQUENCE'}, 'RRCConnectionRelease-r8-IEs': {'members': [{'name': 'releaseCause', 'type': 'ReleaseCause'}, {'name': 'redirectedCarrierInfo', 'optional': True, 'type': 'RedirectedCarrierInfo'}, {'name': 'idleModeMobilityControlInfo', 'optional': True, 'type': 'IdleModeMobilityControlInfo'}, {'members': [], 'name': 'nonCriticalExtension', 'optional': True, 'type': 'SEQUENCE'}], 'type': 'SEQUENCE'}, 'RRCConnectionRequest': {'members': [{'members': [{'name': 'rrcConnectionRequest-r8', 'type': 'RRCConnectionRequest-r8-IEs'}, {'members': [], 'name': 'criticalExtensionsFuture', 'type': 'SEQUENCE'}], 'name': 'criticalExtensions', 'type': 'CHOICE'}], 'type': 'SEQUENCE'}, 'RRCConnectionRequest-r8-IEs': {'members': [{'name': 'ue-Identity', 'type': 'InitialUE-Identity'}, {'name': 'establishmentCause', 'type': 'EstablishmentCause'}, {'name': 'spare', 'size': [1], 'type': 'BIT STRING'}], 'type': 'SEQUENCE'}, 'RRCConnectionSetup': {'members': [{'name': 'rrc-TransactionIdentifier', 'type': 'RRC-TransactionIdentifier'}, {'members': [{'members': [{'name': 'rrcConnectionSetup-r8', 'type': 'RRCConnectionSetup-r8-IEs'}, {'name': 'spare7', 'type': 'NULL'}, {'name': 'spare6', 'type': 'NULL'}, {'name': 'spare5', 'type': 'NULL'}, {'name': 'spare4', 'type': 'NULL'}, {'name': 'spare3', 'type': 'NULL'}, {'name': 'spare2', 'type': 'NULL'}, {'name': 'spare1', 'type': 'NULL'}], 'name': 'c1', 'type': 'CHOICE'}, {'members': [], 'name': 'criticalExtensionsFuture', 'type': 'SEQUENCE'}], 'name': 'criticalExtensions', 'type': 'CHOICE'}], 'type': 'SEQUENCE'}, 'RRCConnectionSetup-r8-IEs': {'members': [{'name': 'radioResourceConfigDedicated', 'type': 'RadioResourceConfigDedicated'}, {'members': [], 'name': 'nonCriticalExtension', 'optional': True, 'type': 'SEQUENCE'}], 'type': 'SEQUENCE'}, 'RRCConnectionSetupComplete': {'members': [{'name': 'rrc-TransactionIdentifier', 'type': 'RRC-TransactionIdentifier'}, {'members': [{'members': [{'name': 'rrcConnectionSetupComplete-r8', 'type': 'RRCConnectionSetupComplete-r8-IEs'}, {'name': 'spare3', 'type': 'NULL'}, {'name': 'spare2', 'type': 'NULL'}, {'name': 'spare1', 'type': 'NULL'}], 'name': 'c1', 'type': 'CHOICE'}, {'members': [], 'name': 'criticalExtensionsFuture', 'type': 'SEQUENCE'}], 'name': 'criticalExtensions', 'type': 'CHOICE'}], 'type': 'SEQUENCE'}, 'RRCConnectionSetupComplete-r8-IEs': {'members': [{'name': 'selectedPLMN-Identity', 'restricted-to': [(1, 6)], 'type': 'INTEGER'}, {'name': 'registeredMME', 'optional': True, 'type': 'RegisteredMME'}, {'name': 'dedicatedInfoNAS', 'type': 'DedicatedInfoNAS'}, {'members': [], 'name': 'nonCriticalExtension', 'optional': True, 'type': 'SEQUENCE'}], 'type': 'SEQUENCE'}, 'RSRP-Range': {'restricted-to': [(0, 97)], 'type': 'INTEGER'}, 'RSRQ-Range': {'restricted-to': [(0, 34)], 'type': 'INTEGER'}, 'RadioResourceConfigCommon': {'members': [{'name': 'rach-ConfigCommon', 'optional': True, 'type': 'RACH-ConfigCommon'}, {'name': 'prach-Config', 'type': 'PRACH-Config'}, {'name': 'pdsch-ConfigCommon', 'optional': True, 'type': 'PDSCH-ConfigCommon'}, {'name': 'pusch-ConfigCommon', 'type': 'PUSCH-ConfigCommon'}, {'name': 'phich-Config', 'optional': True, 'type': 'PHICH-Config'}, {'name': 'pucch-ConfigCommon', 'optional': True, 'type': 'PUCCH-ConfigCommon'}, {'name': 'soundingRS-UL-ConfigCommon', 'optional': True, 'type': 'SoundingRS-UL-ConfigCommon'}, {'name': 'uplinkPowerControlCommon', 'optional': True, 'type': 'UplinkPowerControlCommon'}, {'name': 'antennaInfoCommon', 'optional': True, 'type': 'AntennaInfoCommon'}, {'name': 'p-Max', 'optional': True, 'type': 'P-Max'}, {'name': 'tdd-Config', 'optional': True, 'type': 'TDD-Config'}, {'name': 'ul-CyclicPrefixLength', 'type': 'UL-CyclicPrefixLength'}, None], 'type': 'SEQUENCE'}, 'RadioResourceConfigCommonSIB': {'members': [{'name': 'rach-ConfigCommon', 'type': 'RACH-ConfigCommon'}, {'name': 'bcch-Config', 'type': 'BCCH-Config'}, {'name': 'pcch-Config', 'type': 'PCCH-Config'}, {'name': 'prach-Config', 'type': 'PRACH-ConfigSIB'}, {'name': 'pdsch-ConfigCommon', 'type': 'PDSCH-ConfigCommon'}, {'name': 'pusch-ConfigCommon', 'type': 'PUSCH-ConfigCommon'}, {'name': 'pucch-ConfigCommon', 'type': 'PUCCH-ConfigCommon'}, {'name': 'soundingRS-UL-ConfigCommon', 'type': 'SoundingRS-UL-ConfigCommon'}, {'name': 'uplinkPowerControlCommon', 'type': 'UplinkPowerControlCommon'}, {'name': 'ul-CyclicPrefixLength', 'type': 'UL-CyclicPrefixLength'}, None], 'type': 'SEQUENCE'}, 'RadioResourceConfigDedicated': {'members': [{'name': 'srb-ToAddModList', 'optional': True, 'type': 'SRB-ToAddModList'}, {'name': 'drb-ToAddModList', 'optional': True, 'type': 'DRB-ToAddModList'}, {'name': 'drb-ToReleaseList', 'optional': True, 'type': 'DRB-ToReleaseList'}, {'members': [{'name': 'explicitValue', 'type': 'MAC-MainConfig'}, {'name': 'defaultValue', 'type': 'NULL'}], 'name': 'mac-MainConfig', 'optional': True, 'type': 'CHOICE'}, {'name': 'sps-Config', 'optional': True, 'type': 'SPS-Config'}, {'name': 'physicalConfigDedicated', 'optional': True, 'type': 'PhysicalConfigDedicated'}, None], 'type': 'SEQUENCE'}, 'RedirectedCarrierInfo': {'members': [{'name': 'eutra', 'type': 'ARFCN-ValueEUTRA'}, {'name': 'geran', 'type': 'CarrierFreqsGERAN'}, {'name': 'utra-FDD', 'type': 'ARFCN-ValueUTRA'}, {'name': 'utra-TDD', 'type': 'ARFCN-ValueUTRA'}, {'name': 'cdma2000-HRPD', 'type': 'CarrierFreqCDMA2000'}, {'name': 'cdma2000-1xRTT', 'type': 'CarrierFreqCDMA2000'}, None], 'type': 'CHOICE'}, 'ReestabUE-Identity': {'members': [{'name': 'c-RNTI', 'type': 'C-RNTI'}, {'name': 'physCellId', 'type': 'PhysCellId'}, {'name': 'shortMAC-I', 'type': 'ShortMAC-I'}], 'type': 'SEQUENCE'}, 'ReestablishmentCause': {'type': 'ENUMERATED', 'values': [('reconfigurationFailure', 0), ('handoverFailure', 1), ('otherFailure', 2), ('spare1', 3)]}, 'RegisteredMME': {'members': [{'name': 'plmn-Identity', 'optional': True, 'type': 'PLMN-Identity'}, {'name': 'mmegi', 'size': [16], 'type': 'BIT STRING'}, {'name': 'mmec', 'type': 'MMEC'}], 'type': 'SEQUENCE'}, 'ReleaseCause': {'type': 'ENUMERATED', 'values': [('loadBalancingTAUrequired', 0), ('other', 1), ('spare2', 2), ('spare1', 3)]}, 'ReportConfigEUTRA': {'members': [{'members': [{'members': [{'members': [{'members': [{'name': 'a1-Threshold', 'type': 'ThresholdEUTRA'}], 'name': 'eventA1', 'type': 'SEQUENCE'}, {'members': [{'name': 'a2-Threshold', 'type': 'ThresholdEUTRA'}], 'name': 'eventA2', 'type': 'SEQUENCE'}, {'members': [{'name': 'a3-Offset', 'restricted-to': [(-30, 30)], 'type': 'INTEGER'}, {'name': 'reportOnLeave', 'type': 'BOOLEAN'}], 'name': 'eventA3', 'type': 'SEQUENCE'}, {'members': [{'name': 'a4-Threshold', 'type': 'ThresholdEUTRA'}], 'name': 'eventA4', 'type': 'SEQUENCE'}, {'members': [{'name': 'a5-Threshold1', 'type': 'ThresholdEUTRA'}, {'name': 'a5-Threshold2', 'type': 'ThresholdEUTRA'}], 'name': 'eventA5', 'type': 'SEQUENCE'}, None], 'name': 'eventId', 'type': 'CHOICE'}, {'name': 'hysteresis', 'type': 'Hysteresis'}, {'name': 'timeToTrigger', 'type': 'TimeToTrigger'}], 'name': 'event', 'type': 'SEQUENCE'}, {'members': [{'name': 'purpose', 'type': 'ENUMERATED', 'values': [('reportStrongestCells', 0), ('reportCGI', 1)]}], 'name': 'periodical', 'type': 'SEQUENCE'}], 'name': 'triggerType', 'type': 'CHOICE'}, {'name': 'triggerQuantity', 'type': 'ENUMERATED', 'values': [('rsrp', 0), ('rsrq', 1)]}, {'name': 'reportQuantity', 'type': 'ENUMERATED', 'values': [('sameAsTriggerQuantity', 0), ('both', 1)]}, {'name': 'maxReportCells', 'restricted-to': [(1, 'maxCellReport')], 'type': 'INTEGER'}, {'name': 'reportInterval', 'type': 'ReportInterval'}, {'name': 'reportAmount', 'type': 'ENUMERATED', 'values': [('r1', 0), ('r2', 1), ('r4', 2), ('r8', 3), ('r16', 4), ('r32', 5), ('r64', 6), ('infinity', 7)]}, None], 'type': 'SEQUENCE'}, 'ReportConfigId': {'restricted-to': [(1, 'maxReportConfigId')], 'type': 'INTEGER'}, 'ReportConfigInterRAT': {'members': [{'members': [{'members': [{'members': [{'members': [{'members': [{'name': 'b1-ThresholdUTRA', 'type': 'ThresholdUTRA'}, {'name': 'b1-ThresholdGERAN', 'type': 'ThresholdGERAN'}, {'name': 'b1-ThresholdCDMA2000', 'type': 'ThresholdCDMA2000'}], 'name': 'b1-Threshold', 'type': 'CHOICE'}], 'name': 'eventB1', 'type': 'SEQUENCE'}, {'members': [{'name': 'b2-Threshold1', 'type': 'ThresholdEUTRA'}, {'members': [{'name': 'b2-Threshold2UTRA', 'type': 'ThresholdUTRA'}, {'name': 'b2-Threshold2GERAN', 'type': 'ThresholdGERAN'}, {'name': 'b2-Threshold2CDMA2000', 'type': 'ThresholdCDMA2000'}], 'name': 'b2-Threshold2', 'type': 'CHOICE'}], 'name': 'eventB2', 'type': 'SEQUENCE'}, None], 'name': 'eventId', 'type': 'CHOICE'}, {'name': 'hysteresis', 'type': 'Hysteresis'}, {'name': 'timeToTrigger', 'type': 'TimeToTrigger'}], 'name': 'event', 'type': 'SEQUENCE'}, {'members': [{'name': 'purpose', 'type': 'ENUMERATED', 'values': [('reportStrongestCells', 0), ('reportStrongestCellsForSON', 1), ('reportCGI', 2)]}], 'name': 'periodical', 'type': 'SEQUENCE'}], 'name': 'triggerType', 'type': 'CHOICE'}, {'name': 'maxReportCells', 'restricted-to': [(1, 'maxCellReport')], 'type': 'INTEGER'}, {'name': 'reportInterval', 'type': 'ReportInterval'}, {'name': 'reportAmount', 'type': 'ENUMERATED', 'values': [('r1', 0), ('r2', 1), ('r4', 2), ('r8', 3), ('r16', 4), ('r32', 5), ('r64', 6), ('infinity', 7)]}, None], 'type': 'SEQUENCE'}, 'ReportConfigToAddMod': {'members': [{'name': 'reportConfigId', 'type': 'ReportConfigId'}, {'members': [{'name': 'reportConfigEUTRA', 'type': 'ReportConfigEUTRA'}, {'name': 'reportConfigInterRAT', 'type': 'ReportConfigInterRAT'}], 'name': 'reportConfig', 'type': 'CHOICE'}], 'type': 'SEQUENCE'}, 'ReportConfigToAddModList': {'element': {'type': 'ReportConfigToAddMod'}, 'size': [(1, 'maxReportConfigId')], 'type': 'SEQUENCE OF'}, 'ReportConfigToRemoveList': {'element': {'type': 'ReportConfigId'}, 'size': [(1, 'maxReportConfigId')], 'type': 'SEQUENCE OF'}, 'ReportInterval': {'type': 'ENUMERATED', 'values': [('ms120', 0), ('ms240', 1), ('ms480', 2), ('ms640', 3), ('ms1024', 4), ('ms2048', 5), ('ms5120', 6), ('ms10240', 7), ('min1', 8), ('min6', 9), ('min12', 10), ('min30', 11), ('min60', 12), ('spare3', 13), ('spare2', 14), ('spare1', 15)]}, 'ReselectionThreshold': {'restricted-to': [(0, 31)], 'type': 'INTEGER'}, 'S-TMSI': {'members': [{'name': 'mmec', 'type': 'MMEC'}, {'name': 'm-TMSI', 'size': [32], 'type': 'BIT STRING'}], 'type': 'SEQUENCE'}, 'SI-OrPSI-GERAN': {'members': [{'name': 'si', 'type': 'SystemInfoListGERAN'}, {'name': 'psi', 'type': 'SystemInfoListGERAN'}], 'type': 'CHOICE'}, 'SIB-MappingInfo': {'element': {'type': 'SIB-Type'}, 'size': [(0, 'maxSIB-1')], 'type': 'SEQUENCE OF'}, 'SIB-Type': {'type': 'ENUMERATED', 'values': [('sibType3', 0), ('sibType4', 1), ('sibType5', 2), ('sibType6', 3), ('sibType7', 4), ('sibType8', 5), ('sibType9', 6), ('sibType10', 7), ('sibType11', 8), ('spare7', 9), ('spare6', 10), ('spare5', 11), ('spare4', 12), ('spare3', 13), ('spare2', 14), ('spare1', 15), None]}, 'SN-FieldLength': {'type': 'ENUMERATED', 'values': [('size5', 0), ('size10', 1)]}, 'SPS-Config': {'members': [{'name': 'semiPersistSchedC-RNTI', 'optional': True, 'type': 'C-RNTI'}, {'name': 'sps-ConfigDL', 'optional': True, 'type': 'SPS-ConfigDL'}, {'name': 'sps-ConfigUL', 'optional': True, 'type': 'SPS-ConfigUL'}], 'type': 'SEQUENCE'}, 'SPS-ConfigDL': {'members': [{'name': 'release', 'type': 'NULL'}, {'members': [{'name': 'semiPersistSchedIntervalDL', 'type': 'ENUMERATED', 'values': [('sf10', 0), ('sf20', 1), ('sf32', 2), ('sf40', 3), ('sf64', 4), ('sf80', 5), ('sf128', 6), ('sf160', 7), ('sf320', 8), ('sf640', 9), ('spare6', 10), ('spare5', 11), ('spare4', 12), ('spare3', 13), ('spare2', 14), ('spare1', 15)]}, {'name': 'numberOfConfSPS-Processes', 'restricted-to': [(1, 8)], 'type': 'INTEGER'}, {'name': 'n1-PUCCH-AN-PersistentList', 'type': 'N1-PUCCH-AN-PersistentList'}, None], 'name': 'setup', 'type': 'SEQUENCE'}], 'type': 'CHOICE'}, 'SPS-ConfigUL': {'members': [{'name': 'release', 'type': 'NULL'}, {'members': [{'name': 'semiPersistSchedIntervalUL', 'type': 'ENUMERATED', 'values': [('sf10', 0), ('sf20', 1), ('sf32', 2), ('sf40', 3), ('sf64', 4), ('sf80', 5), ('sf128', 6), ('sf160', 7), ('sf320', 8), ('sf640', 9), ('spare6', 10), ('spare5', 11), ('spare4', 12), ('spare3', 13), ('spare2', 14), ('spare1', 15)]}, {'name': 'implicitReleaseAfter', 'type': 'ENUMERATED', 'values': [('e2', 0), ('e3', 1), ('e4', 2), ('e8', 3)]}, {'members': [{'name': 'p0-NominalPUSCH-Persistent', 'restricted-to': [(-126, 24)], 'type': 'INTEGER'}, {'name': 'p0-UE-PUSCH-Persistent', 'restricted-to': [(-8, 7)], 'type': 'INTEGER'}], 'name': 'p0-Persistent', 'optional': True, 'type': 'SEQUENCE'}, {'name': 'twoIntervalsConfig', 'optional': True, 'type': 'ENUMERATED', 'values': [('true', 0)]}, None], 'name': 'setup', 'type': 'SEQUENCE'}], 'type': 'CHOICE'}, 'SRB-ToAddMod': {'members': [{'name': 'srb-Identity', 'restricted-to': [(1, 2)], 'type': 'INTEGER'}, {'members': [{'name': 'explicitValue', 'type': 'RLC-Config'}, {'name': 'defaultValue', 'type': 'NULL'}], 'name': 'rlc-Config', 'optional': True, 'type': 'CHOICE'}, {'members': [{'name': 'explicitValue', 'type': 'LogicalChannelConfig'}, {'name': 'defaultValue', 'type': 'NULL'}], 'name': 'logicalChannelConfig', 'optional': True, 'type': 'CHOICE'}, None], 'type': 'SEQUENCE'}, 'SRB-ToAddModList': {'element': {'type': 'SRB-ToAddMod'}, 'size': [(1, 2)], 'type': 'SEQUENCE OF'}, 'SchedulingInfo': {'members': [{'name': 'si-Periodicity', 'type': 'ENUMERATED', 'values': [('rf8', 0), ('rf16', 1), ('rf32', 2), ('rf64', 3), ('rf128', 4), ('rf256', 5), ('rf512', 6)]}, {'name': 'sib-MappingInfo', 'type': 'SIB-MappingInfo'}], 'type': 'SEQUENCE'}, 'SchedulingInfoList': {'element': {'type': 'SchedulingInfo'}, 'size': [(1, 'maxSI-Message')], 'type': 'SEQUENCE OF'}, 'SchedulingRequestConfig': {'members': [{'name': 'release', 'type': 'NULL'}, {'members': [{'name': 'sr-PUCCH-ResourceIndex', 'restricted-to': [(0, 2047)], 'type': 'INTEGER'}, {'name': 'sr-ConfigIndex', 'restricted-to': [(0, 155)], 'type': 'INTEGER'}, {'name': 'dsr-TransMax', 'type': 'ENUMERATED', 'values': [('n4', 0), ('n8', 1), ('n16', 2), ('n32', 3), ('n64', 4), ('spare3', 5), ('spare2', 6), ('spare1', 7)]}], 'name': 'setup', 'type': 'SEQUENCE'}], 'type': 'CHOICE'}, 'SecondaryPreRegistrationZoneIdListHRPD': {'element': {'type': 'PreRegistrationZoneIdHRPD'}, 'size': [(1, 2)], 'type': 'SEQUENCE OF'}, 'SecurityAlgorithmConfig': {'members': [{'name': 'cipheringAlgorithm', 'type': 'ENUMERATED', 'values': [('eea0', 0), ('eea1', 1), ('eea2', 2), ('spare5', 3), ('spare4', 4), ('spare3', 5), ('spare2', 6), ('spare1', 7), None]}, {'name': 'integrityProtAlgorithm', 'type': 'ENUMERATED', 'values': [('reserved', 0), ('eia1', 1), ('eia2', 2), ('spare5', 3), ('spare4', 4), ('spare3', 5), ('spare2', 6), ('spare1', 7), None]}], 'type': 'SEQUENCE'}, 'SecurityConfigHO': {'members': [{'members': [{'members': [{'name': 'securityAlgorithmConfig', 'optional': True, 'type': 'SecurityAlgorithmConfig'}, {'name': 'keyChangeIndicator', 'type': 'BOOLEAN'}, {'name': 'nextHopChainingCount', 'type': 'NextHopChainingCount'}], 'name': 'intraLTE', 'type': 'SEQUENCE'}, {'members': [{'name': 'securityAlgorithmConfig', 'type': 'SecurityAlgorithmConfig'}, {'name': 'nas-SecurityParamToEUTRA', 'size': [6], 'type': 'OCTET STRING'}], 'name': 'interRAT', 'type': 'SEQUENCE'}], 'name': 'handoverType', 'type': 'CHOICE'}, None], 'type': 'SEQUENCE'}, 'SecurityConfigSMC': {'members': [{'name': 'securityAlgorithmConfig', 'type': 'SecurityAlgorithmConfig'}, None], 'type': 'SEQUENCE'}, 'SecurityModeCommand': {'members': [{'name': 'rrc-TransactionIdentifier', 'type': 'RRC-TransactionIdentifier'}, {'members': [{'members': [{'name': 'securityModeCommand-r8', 'type': 'SecurityModeCommand-r8-IEs'}, {'name': 'spare3', 'type': 'NULL'}, {'name': 'spare2', 'type': 'NULL'}, {'name': 'spare1', 'type': 'NULL'}], 'name': 'c1', 'type': 'CHOICE'}, {'members': [], 'name': 'criticalExtensionsFuture', 'type': 'SEQUENCE'}], 'name': 'criticalExtensions', 'type': 'CHOICE'}], 'type': 'SEQUENCE'}, 'SecurityModeCommand-r8-IEs': {'members': [{'name': 'securityConfigSMC', 'type': 'SecurityConfigSMC'}, {'members': [], 'name': 'nonCriticalExtension', 'optional': True, 'type': 'SEQUENCE'}], 'type': 'SEQUENCE'}, 'SecurityModeComplete': {'members': [{'name': 'rrc-TransactionIdentifier', 'type': 'RRC-TransactionIdentifier'}, {'members': [{'name': 'securityModeComplete-r8', 'type': 'SecurityModeComplete-r8-IEs'}, {'members': [], 'name': 'criticalExtensionsFuture', 'type': 'SEQUENCE'}], 'name': 'criticalExtensions', 'type': 'CHOICE'}], 'type': 'SEQUENCE'}, 'SecurityModeComplete-r8-IEs': {'members': [{'members': [], 'name': 'nonCriticalExtension', 'optional': True, 'type': 'SEQUENCE'}], 'type': 'SEQUENCE'}, 'SecurityModeFailure': {'members': [{'name': 'rrc-TransactionIdentifier', 'type': 'RRC-TransactionIdentifier'}, {'members': [{'name': 'securityModeFailure-r8', 'type': 'SecurityModeFailure-r8-IEs'}, {'members': [], 'name': 'criticalExtensionsFuture', 'type': 'SEQUENCE'}], 'name': 'criticalExtensions', 'type': 'CHOICE'}], 'type': 'SEQUENCE'}, 'SecurityModeFailure-r8-IEs': {'members': [{'members': [], 'name': 'nonCriticalExtension', 'optional': True, 'type': 'SEQUENCE'}], 'type': 'SEQUENCE'}, 'ShortMAC-I': {'size': [16], 'type': 'BIT STRING'}, 'SoundingRS-UL-ConfigCommon': {'members': [{'name': 'release', 'type': 'NULL'}, {'members': [{'name': 'srs-BandwidthConfig', 'type': 'ENUMERATED', 'values': [('bw0', 0), ('bw1', 1), ('bw2', 2), ('bw3', 3), ('bw4', 4), ('bw5', 5), ('bw6', 6), ('bw7', 7)]}, {'name': 'srs-SubframeConfig', 'type': 'ENUMERATED', 'values': [('sc0', 0), ('sc1', 1), ('sc2', 2), ('sc3', 3), ('sc4', 4), ('sc5', 5), ('sc6', 6), ('sc7', 7), ('sc8', 8), ('sc9', 9), ('sc10', 10), ('sc11', 11), ('sc12', 12), ('sc13', 13), ('sc14', 14), ('sc15', 15)]}, {'name': 'ackNackSRS-SimultaneousTransmission', 'type': 'BOOLEAN'}, {'name': 'srs-MaxUpPts', 'optional': True, 'type': 'ENUMERATED', 'values': [('true', 0)]}], 'name': 'setup', 'type': 'SEQUENCE'}], 'type': 'CHOICE'}, 'SoundingRS-UL-ConfigDedicated': {'members': [{'name': 'release', 'type': 'NULL'}, {'members': [{'name': 'srs-Bandwidth', 'type': 'ENUMERATED', 'values': [('bw0', 0), ('bw1', 1), ('bw2', 2), ('bw3', 3)]}, {'name': 'srs-HoppingBandwidth', 'type': 'ENUMERATED', 'values': [('hbw0', 0), ('hbw1', 1), ('hbw2', 2), ('hbw3', 3)]}, {'name': 'freqDomainPosition', 'restricted-to': [(0, 23)], 'type': 'INTEGER'}, {'name': 'duration', 'type': 'BOOLEAN'}, {'name': 'srs-ConfigIndex', 'restricted-to': [(0, 1023)], 'type': 'INTEGER'}, {'name': 'transmissionComb', 'restricted-to': [(0, 1)], 'type': 'INTEGER'}, {'name': 'cyclicShift', 'type': 'ENUMERATED', 'values': [('cs0', 0), ('cs1', 1), ('cs2', 2), ('cs3', 3), ('cs4', 4), ('cs5', 5), ('cs6', 6), ('cs7', 7)]}], 'name': 'setup', 'type': 'SEQUENCE'}], 'type': 'CHOICE'}, 'SpeedStateScaleFactors': {'members': [{'name': 'sf-Medium', 'type': 'ENUMERATED', 'values': [('oDot25', 0), ('oDot5', 1), ('oDot75', 2), ('lDot0', 3)]}, {'name': 'sf-High', 'type': 'ENUMERATED', 'values': [('oDot25', 0), ('oDot5', 1), ('oDot75', 2), ('lDot0', 3)]}], 'type': 'SEQUENCE'}, 'SupportedBandEUTRA': {'members': [{'name': 'bandEUTRA', 'restricted-to': [(1, 64)], 'type': 'INTEGER'}, {'name': 'halfDuplex', 'type': 'BOOLEAN'}], 'type': 'SEQUENCE'}, 'SupportedBandGERAN': {'type': 'ENUMERATED', 'values': [('gsm450', 0), ('gsm480', 1), ('gsm710', 2), ('gsm750', 3), ('gsm810', 4), ('gsm850', 5), ('gsm900P', 6), ('gsm900E', 7), ('gsm900R', 8), ('gsm1800', 9), ('gsm1900', 10), ('spare5', 11), ('spare4', 12), ('spare3', 13), ('spare2', 14), ('spare1', 15), None]}, 'SupportedBandList1XRTT': {'element': {'type': 'BandclassCDMA2000'}, 'size': [(1, 'maxCDMA-BandClass')], 'type': 'SEQUENCE OF'}, 'SupportedBandListEUTRA': {'element': {'type': 'SupportedBandEUTRA'}, 'size': [(1, 'maxBands')], 'type': 'SEQUENCE OF'}, 'SupportedBandListGERAN': {'element': {'type': 'SupportedBandGERAN'}, 'size': [(1, 'maxBands')], 'type': 'SEQUENCE OF'}, 'SupportedBandListHRPD': {'element': {'type': 'BandclassCDMA2000'}, 'size': [(1, 'maxCDMA-BandClass')], 'type': 'SEQUENCE OF'}, 'SupportedBandListUTRA-FDD': {'element': {'type': 'SupportedBandUTRA-FDD'}, 'size': [(1, 'maxBands')], 'type': 'SEQUENCE OF'}, 'SupportedBandListUTRA-TDD128': {'element': {'type': 'SupportedBandUTRA-TDD128'}, 'size': [(1, 'maxBands')], 'type': 'SEQUENCE OF'}, 'SupportedBandListUTRA-TDD384': {'element': {'type': 'SupportedBandUTRA-TDD384'}, 'size': [(1, 'maxBands')], 'type': 'SEQUENCE OF'}, 'SupportedBandListUTRA-TDD768': {'element': {'type': 'SupportedBandUTRA-TDD768'}, 'size': [(1, 'maxBands')], 'type': 'SEQUENCE OF'}, 'SupportedBandUTRA-FDD': {'type': 'ENUMERATED', 'values': [('bandI', 0), ('bandII', 1), ('bandIII', 2), ('bandIV', 3), ('bandV', 4), ('bandVI', 5), ('bandVII', 6), ('bandVIII', 7), ('bandIX', 8), ('bandX', 9), ('bandXI', 10), ('bandXII', 11), ('bandXIII', 12), ('bandXIV', 13), ('bandXV', 14), ('bandXVI', 15), None, ('bandXVII-8a0', 16), ('bandXVIII-8a0', 17), ('bandXIX-8a0', 18), ('bandXX-8a0', 19), ('bandXXI-8a0', 20), ('bandXXII-8a0', 21), ('bandXXIII-8a0', 22), ('bandXXIV-8a0', 23), ('bandXXV-8a0', 24), ('bandXXVI-8a0', 25), ('bandXXVII-8a0', 26), ('bandXXVIII-8a0', 27), ('bandXXIX-8a0', 28), ('bandXXX-8a0', 29), ('bandXXXI-8a0', 30), ('bandXXXII-8a0', 31)]}, 'SupportedBandUTRA-TDD128': {'type': 'ENUMERATED', 'values': [('a', 0), ('b', 1), ('c', 2), ('d', 3), ('e', 4), ('f', 5), ('g', 6), ('h', 7), ('i', 8), ('j', 9), ('k', 10), ('l', 11), ('m', 12), ('n', 13), ('o', 14), ('p', 15), None]}, 'SupportedBandUTRA-TDD384': {'type': 'ENUMERATED', 'values': [('a', 0), ('b', 1), ('c', 2), ('d', 3), ('e', 4), ('f', 5), ('g', 6), ('h', 7), ('i', 8), ('j', 9), ('k', 10), ('l', 11), ('m', 12), ('n', 13), ('o', 14), ('p', 15), None]}, 'SupportedBandUTRA-TDD768': {'type': 'ENUMERATED', 'values': [('a', 0), ('b', 1), ('c', 2), ('d', 3), ('e', 4), ('f', 5), ('g', 6), ('h', 7), ('i', 8), ('j', 9), ('k', 10), ('l', 11), ('m', 12), ('n', 13), ('o', 14), ('p', 15), None]}, 'SystemInfoListGERAN': {'element': {'size': [(1, 23)], 'type': 'OCTET STRING'}, 'size': [(1, 'maxGERAN-SI')], 'type': 'SEQUENCE OF'}, 'SystemInformation': {'members': [{'members': [{'name': 'systemInformation-r8', 'type': 'SystemInformation-r8-IEs'}, {'members': [], 'name': 'criticalExtensionsFuture', 'type': 'SEQUENCE'}], 'name': 'criticalExtensions', 'type': 'CHOICE'}], 'type': 'SEQUENCE'}, 'SystemInformation-r8-IEs': {'members': [{'element': {'members': [{'name': 'sib2', 'type': 'SystemInformationBlockType2'}, {'name': 'sib3', 'type': 'SystemInformationBlockType3'}, {'name': 'sib4', 'type': 'SystemInformationBlockType4'}, {'name': 'sib5', 'type': 'SystemInformationBlockType5'}, {'name': 'sib6', 'type': 'SystemInformationBlockType6'}, {'name': 'sib7', 'type': 'SystemInformationBlockType7'}, {'name': 'sib8', 'type': 'SystemInformationBlockType8'}, {'name': 'sib9', 'type': 'SystemInformationBlockType9'}, {'name': 'sib10', 'type': 'SystemInformationBlockType10'}, {'name': 'sib11', 'type': 'SystemInformationBlockType11'}, None], 'type': 'CHOICE'}, 'name': 'sib-TypeAndInfo', 'size': [(1, 'maxSIB')], 'type': 'SEQUENCE OF'}, {'members': [], 'name': 'nonCriticalExtension', 'optional': True, 'type': 'SEQUENCE'}], 'type': 'SEQUENCE'}, 'SystemInformationBlockType1': {'members': [{'members': [{'name': 'plmn-IdentityList', 'type': 'PLMN-IdentityList'}, {'name': 'trackingAreaCode', 'type': 'TrackingAreaCode'}, {'name': 'cellIdentity', 'type': 'CellIdentity'}, {'name': 'cellBarred', 'type': 'ENUMERATED', 'values': [('barred', 0), ('notBarred', 1)]}, {'name': 'intraFreqReselection', 'type': 'ENUMERATED', 'values': [('allowed', 0), ('notAllowed', 1)]}, {'name': 'csg-Indication', 'type': 'BOOLEAN'}, {'name': 'csg-Identity', 'optional': True, 'size': [27], 'type': 'BIT STRING'}], 'name': 'cellAccessRelatedInfo', 'type': 'SEQUENCE'}, {'members': [{'name': 'q-RxLevMin', 'type': 'Q-RxLevMin'}, {'name': 'q-RxLevMinOffset', 'optional': True, 'restricted-to': [(1, 8)], 'type': 'INTEGER'}], 'name': 'cellSelectionInfo', 'type': 'SEQUENCE'}, {'name': 'p-Max', 'optional': True, 'type': 'P-Max'}, {'name': 'freqBandIndicator', 'restricted-to': [(1, 64)], 'type': 'INTEGER'}, {'name': 'schedulingInfoList', 'type': 'SchedulingInfoList'}, {'name': 'tdd-Config', 'optional': True, 'type': 'TDD-Config'}, {'name': 'si-WindowLength', 'type': 'ENUMERATED', 'values': [('ms1', 0), ('ms2', 1), ('ms5', 2), ('ms10', 3), ('ms15', 4), ('ms20', 5), ('ms40', 6)]}, {'name': 'systemInfoValueTag', 'restricted-to': [(0, 31)], 'type': 'INTEGER'}, {'members': [], 'name': 'nonCriticalExtension', 'optional': True, 'type': 'SEQUENCE'}], 'type': 'SEQUENCE'}, 'SystemInformationBlockType10': {'members': [{'name': 'messageIdentifier', 'size': [16], 'type': 'BIT STRING'}, {'name': 'serialNumber', 'size': [16], 'type': 'BIT STRING'}, {'name': 'warningType', 'size': [2], 'type': 'OCTET STRING'}, {'name': 'warningSecurityInfo', 'optional': True, 'size': [50], 'type': 'OCTET STRING'}, None], 'type': 'SEQUENCE'}, 'SystemInformationBlockType11': {'members': [{'name': 'messageIdentifier', 'size': [16], 'type': 'BIT STRING'}, {'name': 'serialNumber', 'size': [16], 'type': 'BIT STRING'}, {'name': 'warningMessageSegmentType', 'type': 'ENUMERATED', 'values': [('notLastSegment', 0), ('lastSegment', 1)]}, {'name': 'warningMessageSegmentNumber', 'restricted-to': [(0, 63)], 'type': 'INTEGER'}, {'name': 'warningMessageSegment', 'type': 'OCTET STRING'}, {'name': 'dataCodingScheme', 'optional': True, 'size': [1], 'type': 'OCTET STRING'}, None], 'type': 'SEQUENCE'}, 'SystemInformationBlockType2': {'members': [{'members': [{'name': 'ac-BarringForEmergency', 'type': 'BOOLEAN'}, {'name': 'ac-BarringForMO-Signalling', 'optional': True, 'type': 'AC-BarringConfig'}, {'name': 'ac-BarringForMO-Data', 'optional': True, 'type': 'AC-BarringConfig'}], 'name': 'ac-BarringInfo', 'optional': True, 'type': 'SEQUENCE'}, {'name': 'radioResourceConfigCommon', 'type': 'RadioResourceConfigCommonSIB'}, {'name': 'ue-TimersAndConstants', 'type': 'UE-TimersAndConstants'}, {'members': [{'name': 'ul-CarrierFreq', 'optional': True, 'type': 'ARFCN-ValueEUTRA'}, {'name': 'ul-Bandwidth', 'optional': True, 'type': 'ENUMERATED', 'values': [('n6', 0), ('n15', 1), ('n25', 2), ('n50', 3), ('n75', 4), ('n100', 5)]}, {'name': 'additionalSpectrumEmission', 'type': 'AdditionalSpectrumEmission'}], 'name': 'freqInfo', 'type': 'SEQUENCE'}, {'name': 'mbsfn-SubframeConfigList', 'optional': True, 'type': 'MBSFN-SubframeConfigList'}, {'name': 'timeAlignmentTimerCommon', 'type': 'TimeAlignmentTimer'}, None], 'type': 'SEQUENCE'}, 'SystemInformationBlockType3': {'members': [{'members': [{'name': 'q-Hyst', 'type': 'ENUMERATED', 'values': [('dB0', 0), ('dB1', 1), ('dB2', 2), ('dB3', 3), ('dB4', 4), ('dB5', 5), ('dB6', 6), ('dB8', 7), ('dB10', 8), ('dB12', 9), ('dB14', 10), ('dB16', 11), ('dB18', 12), ('dB20', 13), ('dB22', 14), ('dB24', 15)]}, {'members': [{'name': 'mobilityStateParameters', 'type': 'MobilityStateParameters'}, {'members': [{'name': 'sf-Medium', 'type': 'ENUMERATED', 'values': [('dB-6', 0), ('dB-4', 1), ('dB-2', 2), ('dB0', 3)]}, {'name': 'sf-High', 'type': 'ENUMERATED', 'values': [('dB-6', 0), ('dB-4', 1), ('dB-2', 2), ('dB0', 3)]}], 'name': 'q-HystSF', 'type': 'SEQUENCE'}], 'name': 'speedStateReselectionPars', 'optional': True, 'type': 'SEQUENCE'}], 'name': 'cellReselectionInfoCommon', 'type': 'SEQUENCE'}, {'members': [{'name': 's-NonIntraSearch', 'optional': True, 'type': 'ReselectionThreshold'}, {'name': 'threshServingLow', 'type': 'ReselectionThreshold'}, {'name': 'cellReselectionPriority', 'type': 'CellReselectionPriority'}], 'name': 'cellReselectionServingFreqInfo', 'type': 'SEQUENCE'}, {'members': [{'name': 'q-RxLevMin', 'type': 'Q-RxLevMin'}, {'name': 'p-Max', 'optional': True, 'type': 'P-Max'}, {'name': 's-IntraSearch', 'optional': True, 'type': 'ReselectionThreshold'}, {'name': 'allowedMeasBandwidth', 'optional': True, 'type': 'AllowedMeasBandwidth'}, {'name': 'presenceAntennaPort1', 'type': 'PresenceAntennaPort1'}, {'name': 'neighCellConfig', 'type': 'NeighCellConfig'}, {'name': 't-ReselectionEUTRA', 'type': 'T-Reselection'}, {'name': 't-ReselectionEUTRA-SF', 'optional': True, 'type': 'SpeedStateScaleFactors'}], 'name': 'intraFreqCellReselectionInfo', 'type': 'SEQUENCE'}, None], 'type': 'SEQUENCE'}, 'SystemInformationBlockType4': {'members': [{'name': 'intraFreqNeighCellList', 'optional': True, 'type': 'IntraFreqNeighCellList'}, {'name': 'intraFreqBlackCellList', 'optional': True, 'type': 'IntraFreqBlackCellList'}, {'name': 'csg-PhysCellIdRange', 'optional': True, 'type': 'PhysCellIdRange'}, None], 'type': 'SEQUENCE'}, 'SystemInformationBlockType5': {'members': [{'name': 'interFreqCarrierFreqList', 'type': 'InterFreqCarrierFreqList'}, None], 'type': 'SEQUENCE'}, 'SystemInformationBlockType6': {'members': [{'name': 'carrierFreqListUTRA-FDD', 'optional': True, 'type': 'CarrierFreqListUTRA-FDD'}, {'name': 'carrierFreqListUTRA-TDD', 'optional': True, 'type': 'CarrierFreqListUTRA-TDD'}, {'name': 't-ReselectionUTRA', 'type': 'T-Reselection'}, {'name': 't-ReselectionUTRA-SF', 'optional': True, 'type': 'SpeedStateScaleFactors'}, None], 'type': 'SEQUENCE'}, 'SystemInformationBlockType7': {'members': [{'name': 't-ReselectionGERAN', 'type': 'T-Reselection'}, {'name': 't-ReselectionGERAN-SF', 'optional': True, 'type': 'SpeedStateScaleFactors'}, {'name': 'carrierFreqsInfoList', 'optional': True, 'type': 'CarrierFreqsInfoListGERAN'}, None], 'type': 'SEQUENCE'}, 'SystemInformationBlockType8': {'members': [{'name': 'systemTimeInfo', 'optional': True, 'type': 'SystemTimeInfoCDMA2000'}, {'name': 'searchWindowSize', 'optional': True, 'restricted-to': [(0, 15)], 'type': 'INTEGER'}, {'members': [{'name': 'preRegistrationInfoHRPD', 'type': 'PreRegistrationInfoHRPD'}, {'name': 'cellReselectionParametersHRPD', 'optional': True, 'type': 'CellReselectionParametersCDMA2000'}], 'name': 'parametersHRPD', 'optional': True, 'type': 'SEQUENCE'}, {'members': [{'name': 'csfb-RegistrationParam1XRTT', 'optional': True, 'type': 'CSFB-RegistrationParam1XRTT'}, {'name': 'longCodeState1XRTT', 'optional': True, 'size': [42], 'type': 'BIT STRING'}, {'name': 'cellReselectionParameters1XRTT', 'optional': True, 'type': 'CellReselectionParametersCDMA2000'}], 'name': 'parameters1XRTT', 'optional': True, 'type': 'SEQUENCE'}, None], 'type': 'SEQUENCE'}, 'SystemInformationBlockType9': {'members': [{'name': 'hnb-Name', 'optional': True, 'size': [(1, 48)], 'type': 'OCTET STRING'}, None], 'type': 'SEQUENCE'}, 'SystemTimeInfoCDMA2000': {'members': [{'name': 'cdma-EUTRA-Synchronisation', 'type': 'BOOLEAN'}, {'members': [{'name': 'synchronousSystemTime', 'size': [39], 'type': 'BIT STRING'}, {'name': 'asynchronousSystemTime', 'size': [49], 'type': 'BIT STRING'}], 'name': 'cdma-SystemTime', 'type': 'CHOICE'}], 'type': 'SEQUENCE'}, 'T-PollRetransmit': {'type': 'ENUMERATED', 'values': [('ms5', 0), ('ms10', 1), ('ms15', 2), ('ms20', 3), ('ms25', 4), ('ms30', 5), ('ms35', 6), ('ms40', 7), ('ms45', 8), ('ms50', 9), ('ms55', 10), ('ms60', 11), ('ms65', 12), ('ms70', 13), ('ms75', 14), ('ms80', 15), ('ms85', 16), ('ms90', 17), ('ms95', 18), ('ms100', 19), ('ms105', 20), ('ms110', 21), ('ms115', 22), ('ms120', 23), ('ms125', 24), ('ms130', 25), ('ms135', 26), ('ms140', 27), ('ms145', 28), ('ms150', 29), ('ms155', 30), ('ms160', 31), ('ms165', 32), ('ms170', 33), ('ms175', 34), ('ms180', 35), ('ms185', 36), ('ms190', 37), ('ms195', 38), ('ms200', 39), ('ms205', 40), ('ms210', 41), ('ms215', 42), ('ms220', 43), ('ms225', 44), ('ms230', 45), ('ms235', 46), ('ms240', 47), ('ms245', 48), ('ms250', 49), ('ms300', 50), ('ms350', 51), ('ms400', 52), ('ms450', 53), ('ms500', 54), ('spare9', 55), ('spare8', 56), ('spare7', 57), ('spare6', 58), ('spare5', 59), ('spare4', 60), ('spare3', 61), ('spare2', 62), ('spare1', 63)]}, 'T-Reordering': {'type': 'ENUMERATED', 'values': [('ms0', 0), ('ms5', 1), ('ms10', 2), ('ms15', 3), ('ms20', 4), ('ms25', 5), ('ms30', 6), ('ms35', 7), ('ms40', 8), ('ms45', 9), ('ms50', 10), ('ms55', 11), ('ms60', 12), ('ms65', 13), ('ms70', 14), ('ms75', 15), ('ms80', 16), ('ms85', 17), ('ms90', 18), ('ms95', 19), ('ms100', 20), ('ms110', 21), ('ms120', 22), ('ms130', 23), ('ms140', 24), ('ms150', 25), ('ms160', 26), ('ms170', 27), ('ms180', 28), ('ms190', 29), ('ms200', 30), ('spare1', 31)]}, 'T-Reselection': {'restricted-to': [(0, 7)], 'type': 'INTEGER'}, 'T-StatusProhibit': {'type': 'ENUMERATED', 'values': [('ms0', 0), ('ms5', 1), ('ms10', 2), ('ms15', 3), ('ms20', 4), ('ms25', 5), ('ms30', 6), ('ms35', 7), ('ms40', 8), ('ms45', 9), ('ms50', 10), ('ms55', 11), ('ms60', 12), ('ms65', 13), ('ms70', 14), ('ms75', 15), ('ms80', 16), ('ms85', 17), ('ms90', 18), ('ms95', 19), ('ms100', 20), ('ms105', 21), ('ms110', 22), ('ms115', 23), ('ms120', 24), ('ms125', 25), ('ms130', 26), ('ms135', 27), ('ms140', 28), ('ms145', 29), ('ms150', 30), ('ms155', 31), ('ms160', 32), ('ms165', 33), ('ms170', 34), ('ms175', 35), ('ms180', 36), ('ms185', 37), ('ms190', 38), ('ms195', 39), ('ms200', 40), ('ms205', 41), ('ms210', 42), ('ms215', 43), ('ms220', 44), ('ms225', 45), ('ms230', 46), ('ms235', 47), ('ms240', 48), ('ms245', 49), ('ms250', 50), ('ms300', 51), ('ms350', 52), ('ms400', 53), ('ms450', 54), ('ms500', 55), ('spare8', 56), ('spare7', 57), ('spare6', 58), ('spare5', 59), ('spare4', 60), ('spare3', 61), ('spare2', 62), ('spare1', 63)]}, 'TDD-Config': {'members': [{'name': 'subframeAssignment', 'type': 'ENUMERATED', 'values': [('sa0', 0), ('sa1', 1), ('sa2', 2), ('sa3', 3), ('sa4', 4), ('sa5', 5), ('sa6', 6)]}, {'name': 'specialSubframePatterns', 'type': 'ENUMERATED', 'values': [('ssp0', 0), ('ssp1', 1), ('ssp2', 2), ('ssp3', 3), ('ssp4', 4), ('ssp5', 5), ('ssp6', 6), ('ssp7', 7), ('ssp8', 8)]}], 'type': 'SEQUENCE'}, 'TPC-Index': {'members': [{'name': 'indexOfFormat3', 'restricted-to': [(1, 15)], 'type': 'INTEGER'}, {'name': 'indexOfFormat3A', 'restricted-to': [(1, 31)], 'type': 'INTEGER'}], 'type': 'CHOICE'}, 'TPC-PDCCH-Config': {'members': [{'name': 'release', 'type': 'NULL'}, {'members': [{'name': 'tpc-RNTI', 'size': [16], 'type': 'BIT STRING'}, {'name': 'tpc-Index', 'type': 'TPC-Index'}], 'name': 'setup', 'type': 'SEQUENCE'}], 'type': 'CHOICE'}, 'ThresholdCDMA2000': {'restricted-to': [(0, 63)], 'type': 'INTEGER'}, 'ThresholdEUTRA': {'members': [{'name': 'threshold-RSRP', 'type': 'RSRP-Range'}, {'name': 'threshold-RSRQ', 'type': 'RSRQ-Range'}], 'type': 'CHOICE'}, 'ThresholdGERAN': {'restricted-to': [(0, 63)], 'type': 'INTEGER'}, 'ThresholdUTRA': {'members': [{'name': 'utra-RSCP', 'restricted-to': [(-5, 91)], 'type': 'INTEGER'}, {'name': 'utra-EcN0', 'restricted-to': [(0, 49)], 'type': 'INTEGER'}], 'type': 'CHOICE'}, 'TimeAlignmentTimer': {'type': 'ENUMERATED', 'values': [('sf500', 0), ('sf750', 1), ('sf1280', 2), ('sf1920', 3), ('sf2560', 4), ('sf5120', 5), ('sf10240', 6), ('infinity', 7)]}, 'TimeToTrigger': {'type': 'ENUMERATED', 'values': [('ms0', 0), ('ms40', 1), ('ms64', 2), ('ms80', 3), ('ms100', 4), ('ms128', 5), ('ms160', 6), ('ms256', 7), ('ms320', 8), ('ms480', 9), ('ms512', 10), ('ms640', 11), ('ms1024', 12), ('ms1280', 13), ('ms2560', 14), ('ms5120', 15)]}, 'TrackingAreaCode': {'size': [16], 'type': 'BIT STRING'}, 'UE-CapabilityRAT-Container': {'members': [{'name': 'rat-Type', 'type': 'RAT-Type'}, {'name': 'ueCapabilityRAT-Container', 'type': 'OCTET STRING'}], 'type': 'SEQUENCE'}, 'UE-CapabilityRAT-ContainerList': {'element': {'type': 'UE-CapabilityRAT-Container'}, 'size': [(0, 'maxRAT-Capabilities')], 'type': 'SEQUENCE OF'}, 'UE-CapabilityRequest': {'element': {'type': 'RAT-Type'}, 'size': [(1, 'maxRAT-Capabilities')], 'type': 'SEQUENCE OF'}, 'UE-EUTRA-Capability': {'members': [{'name': 'accessStratumRelease', 'type': 'AccessStratumRelease'}, {'name': 'ue-Category', 'restricted-to': [(1, 5)], 'type': 'INTEGER'}, {'name': 'pdcp-Parameters', 'type': 'PDCP-Parameters'}, {'name': 'phyLayerParameters', 'type': 'PhyLayerParameters'}, {'name': 'rf-Parameters', 'type': 'RF-Parameters'}, {'name': 'measParameters', 'type': 'MeasParameters'}, {'name': 'featureGroupIndicators', 'optional': True, 'size': [32], 'type': 'BIT STRING'}, {'members': [{'name': 'utraFDD', 'optional': True, 'type': 'IRAT-ParametersUTRA-FDD'}, {'name': 'utraTDD128', 'optional': True, 'type': 'IRAT-ParametersUTRA-TDD128'}, {'name': 'utraTDD384', 'optional': True, 'type': 'IRAT-ParametersUTRA-TDD384'}, {'name': 'utraTDD768', 'optional': True, 'type': 'IRAT-ParametersUTRA-TDD768'}, {'name': 'geran', 'optional': True, 'type': 'IRAT-ParametersGERAN'}, {'name': 'cdma2000-HRPD', 'optional': True, 'type': 'IRAT-ParametersCDMA2000-HRPD'}, {'name': 'cdma2000-1xRTT', 'optional': True, 'type': 'IRAT-ParametersCDMA2000-1XRTT'}], 'name': 'interRAT-Parameters', 'type': 'SEQUENCE'}, {'members': [], 'name': 'nonCriticalExtension', 'optional': True, 'type': 'SEQUENCE'}], 'type': 'SEQUENCE'}, 'UE-TimersAndConstants': {'members': [{'name': 't300', 'type': 'ENUMERATED', 'values': [('ms100', 0), ('ms200', 1), ('ms300', 2), ('ms400', 3), ('ms600', 4), ('ms1000', 5), ('ms1500', 6), ('ms2000', 7)]}, {'name': 't301', 'type': 'ENUMERATED', 'values': [('ms100', 0), ('ms200', 1), ('ms300', 2), ('ms400', 3), ('ms600', 4), ('ms1000', 5), ('ms1500', 6), ('ms2000', 7)]}, {'name': 't310', 'type': 'ENUMERATED', 'values': [('ms0', 0), ('ms50', 1), ('ms100', 2), ('ms200', 3), ('ms500', 4), ('ms1000', 5), ('ms2000', 6)]}, {'name': 'n310', 'type': 'ENUMERATED', 'values': [('n1', 0), ('n2', 1), ('n3', 2), ('n4', 3), ('n6', 4), ('n8', 5), ('n10', 6), ('n20', 7)]}, {'name': 't311', 'type': 'ENUMERATED', 'values': [('ms1000', 0), ('ms3000', 1), ('ms5000', 2), ('ms10000', 3), ('ms15000', 4), ('ms20000', 5), ('ms30000', 6)]}, {'name': 'n311', 'type': 'ENUMERATED', 'values': [('n1', 0), ('n2', 1), ('n3', 2), ('n4', 3), ('n5', 4), ('n6', 5), ('n8', 6), ('n10', 7)]}, None], 'type': 'SEQUENCE'}, 'UECapabilityEnquiry': {'members': [{'name': 'rrc-TransactionIdentifier', 'type': 'RRC-TransactionIdentifier'}, {'members': [{'members': [{'name': 'ueCapabilityEnquiry-r8', 'type': 'UECapabilityEnquiry-r8-IEs'}, {'name': 'spare3', 'type': 'NULL'}, {'name': 'spare2', 'type': 'NULL'}, {'name': 'spare1', 'type': 'NULL'}], 'name': 'c1', 'type': 'CHOICE'}, {'members': [], 'name': 'criticalExtensionsFuture', 'type': 'SEQUENCE'}], 'name': 'criticalExtensions', 'type': 'CHOICE'}], 'type': 'SEQUENCE'}, 'UECapabilityEnquiry-r8-IEs': {'members': [{'name': 'ue-CapabilityRequest', 'type': 'UE-CapabilityRequest'}, {'members': [], 'name': 'nonCriticalExtension', 'optional': True, 'type': 'SEQUENCE'}], 'type': 'SEQUENCE'}, 'UECapabilityInformation': {'members': [{'name': 'rrc-TransactionIdentifier', 'type': 'RRC-TransactionIdentifier'}, {'members': [{'members': [{'name': 'ueCapabilityInformation-r8', 'type': 'UECapabilityInformation-r8-IEs'}, {'name': 'spare7', 'type': 'NULL'}, {'name': 'spare6', 'type': 'NULL'}, {'name': 'spare5', 'type': 'NULL'}, {'name': 'spare4', 'type': 'NULL'}, {'name': 'spare3', 'type': 'NULL'}, {'name': 'spare2', 'type': 'NULL'}, {'name': 'spare1', 'type': 'NULL'}], 'name': 'c1', 'type': 'CHOICE'}, {'members': [], 'name': 'criticalExtensionsFuture', 'type': 'SEQUENCE'}], 'name': 'criticalExtensions', 'type': 'CHOICE'}], 'type': 'SEQUENCE'}, 'UECapabilityInformation-r8-IEs': {'members': [{'name': 'ue-CapabilityRAT-ContainerList', 'type': 'UE-CapabilityRAT-ContainerList'}, {'members': [], 'name': 'nonCriticalExtension', 'optional': True, 'type': 'SEQUENCE'}], 'type': 'SEQUENCE'}, 'UL-AM-RLC': {'members': [{'name': 't-PollRetransmit', 'type': 'T-PollRetransmit'}, {'name': 'pollPDU', 'type': 'PollPDU'}, {'name': 'pollByte', 'type': 'PollByte'}, {'name': 'maxRetxThreshold', 'type': 'ENUMERATED', 'values': [('t1', 0), ('t2', 1), ('t3', 2), ('t4', 3), ('t6', 4), ('t8', 5), ('t16', 6), ('t32', 7)]}], 'type': 'SEQUENCE'}, 'UL-CCCH-Message': {'members': [{'name': 'message', 'type': 'UL-CCCH-MessageType'}], 'type': 'SEQUENCE'}, 'UL-CCCH-MessageType': {'members': [{'members': [{'name': 'rrcConnectionReestablishmentRequest', 'type': 'RRCConnectionReestablishmentRequest'}, {'name': 'rrcConnectionRequest', 'type': 'RRCConnectionRequest'}], 'name': 'c1', 'type': 'CHOICE'}, {'members': [], 'name': 'messageClassExtension', 'type': 'SEQUENCE'}], 'type': 'CHOICE'}, 'UL-CyclicPrefixLength': {'type': 'ENUMERATED', 'values': [('len1', 0), ('len2', 1)]}, 'UL-DCCH-Message': {'members': [{'name': 'message', 'type': 'UL-DCCH-MessageType'}], 'type': 'SEQUENCE'}, 'UL-DCCH-MessageType': {'members': [{'members': [{'name': 'csfbParametersRequestCDMA2000', 'type': 'CSFBParametersRequestCDMA2000'}, {'name': 'measurementReport', 'type': 'MeasurementReport'}, {'name': 'rrcConnectionReconfigurationComplete', 'type': 'RRCConnectionReconfigurationComplete'}, {'name': 'rrcConnectionReestablishmentComplete', 'type': 'RRCConnectionReestablishmentComplete'}, {'name': 'rrcConnectionSetupComplete', 'type': 'RRCConnectionSetupComplete'}, {'name': 'securityModeComplete', 'type': 'SecurityModeComplete'}, {'name': 'securityModeFailure', 'type': 'SecurityModeFailure'}, {'name': 'ueCapabilityInformation', 'type': 'UECapabilityInformation'}, {'name': 'ulHandoverPreparationTransfer', 'type': 'ULHandoverPreparationTransfer'}, {'name': 'ulInformationTransfer', 'type': 'ULInformationTransfer'}, {'name': 'counterCheckResponse', 'type': 'CounterCheckResponse'}, {'name': 'spare5', 'type': 'NULL'}, {'name': 'spare4', 'type': 'NULL'}, {'name': 'spare3', 'type': 'NULL'}, {'name': 'spare2', 'type': 'NULL'}, {'name': 'spare1', 'type': 'NULL'}], 'name': 'c1', 'type': 'CHOICE'}, {'members': [], 'name': 'messageClassExtension', 'type': 'SEQUENCE'}], 'type': 'CHOICE'}, 'UL-ReferenceSignalsPUSCH': {'members': [{'name': 'groupHoppingEnabled', 'type': 'BOOLEAN'}, {'name': 'groupAssignmentPUSCH', 'restricted-to': [(0, 29)], 'type': 'INTEGER'}, {'name': 'sequenceHoppingEnabled', 'type': 'BOOLEAN'}, {'name': 'cyclicShift', 'restricted-to': [(0, 7)], 'type': 'INTEGER'}], 'type': 'SEQUENCE'}, 'UL-UM-RLC': {'members': [{'name': 'sn-FieldLength', 'type': 'SN-FieldLength'}], 'type': 'SEQUENCE'}, 'ULHandoverPreparationTransfer': {'members': [{'members': [{'members': [{'name': 'ulHandoverPreparationTransfer-r8', 'type': 'ULHandoverPreparationTransfer-r8-IEs'}, {'name': 'spare3', 'type': 'NULL'}, {'name': 'spare2', 'type': 'NULL'}, {'name': 'spare1', 'type': 'NULL'}], 'name': 'c1', 'type': 'CHOICE'}, {'members': [], 'name': 'criticalExtensionsFuture', 'type': 'SEQUENCE'}], 'name': 'criticalExtensions', 'type': 'CHOICE'}], 'type': 'SEQUENCE'}, 'ULHandoverPreparationTransfer-r8-IEs': {'members': [{'name': 'cdma2000-Type', 'type': 'CDMA2000-Type'}, {'name': 'meid', 'optional': True, 'size': [56], 'type': 'BIT STRING'}, {'name': 'dedicatedInfo', 'type': 'DedicatedInfoCDMA2000'}, {'members': [], 'name': 'nonCriticalExtension', 'optional': True, 'type': 'SEQUENCE'}], 'type': 'SEQUENCE'}, 'ULInformationTransfer': {'members': [{'members': [{'members': [{'name': 'ulInformationTransfer-r8', 'type': 'ULInformationTransfer-r8-IEs'}, {'name': 'spare3', 'type': 'NULL'}, {'name': 'spare2', 'type': 'NULL'}, {'name': 'spare1', 'type': 'NULL'}], 'name': 'c1', 'type': 'CHOICE'}, {'members': [], 'name': 'criticalExtensionsFuture', 'type': 'SEQUENCE'}], 'name': 'criticalExtensions', 'type': 'CHOICE'}], 'type': 'SEQUENCE'}, 'ULInformationTransfer-r8-IEs': {'members': [{'members': [{'name': 'dedicatedInfoNAS', 'type': 'DedicatedInfoNAS'}, {'name': 'dedicatedInfoCDMA2000-1XRTT', 'type': 'DedicatedInfoCDMA2000'}, {'name': 'dedicatedInfoCDMA2000-HRPD', 'type': 'DedicatedInfoCDMA2000'}], 'name': 'dedicatedInfoType', 'type': 'CHOICE'}, {'members': [], 'name': 'nonCriticalExtension', 'optional': True, 'type': 'SEQUENCE'}], 'type': 'SEQUENCE'}, 'UplinkPowerControlCommon': {'members': [{'name': 'p0-NominalPUSCH', 'restricted-to': [(-126, 24)], 'type': 'INTEGER'}, {'name': 'alpha', 'type': 'ENUMERATED', 'values': [('al0', 0), ('al04', 1), ('al05', 2), ('al06', 3), ('al07', 4), ('al08', 5), ('al09', 6), ('al1', 7)]}, {'name': 'p0-NominalPUCCH', 'restricted-to': [(-127, -96)], 'type': 'INTEGER'}, {'name': 'deltaFList-PUCCH', 'type': 'DeltaFList-PUCCH'}, {'name': 'deltaPreambleMsg3', 'restricted-to': [(-1, 6)], 'type': 'INTEGER'}], 'type': 'SEQUENCE'}, 'UplinkPowerControlDedicated': {'members': [{'name': 'p0-UE-PUSCH', 'restricted-to': [(-8, 7)], 'type': 'INTEGER'}, {'name': 'deltaMCS-Enabled', 'type': 'ENUMERATED', 'values': [('en0', 0), ('en1', 1)]}, {'name': 'accumulationEnabled', 'type': 'BOOLEAN'}, {'name': 'p0-UE-PUCCH', 'restricted-to': [(-8, 7)], 'type': 'INTEGER'}, {'name': 'pSRS-Offset', 'restricted-to': [(0, 15)], 'type': 'INTEGER'}, {'default': 'fc4', 'name': 'filterCoefficient', 'type': 'FilterCoefficient'}], 'type': 'SEQUENCE'}}, 'values': {'maxBands': {'type': 'INTEGER', 'value': 64}, 'maxCDMA-BandClass': {'type': 'INTEGER', 'value': 32}, 'maxCellBlack': {'type': 'INTEGER', 'value': 16}, 'maxCellInter': {'type': 'INTEGER', 'value': 16}, 'maxCellIntra': {'type': 'INTEGER', 'value': 16}, 'maxCellMeas': {'type': 'INTEGER', 'value': 32}, 'maxCellReport': {'type': 'INTEGER', 'value': 8}, 'maxDRB': {'type': 'INTEGER', 'value': 11}, 'maxEARFCN': {'type': 'INTEGER', 'value': 65535}, 'maxFreq': {'type': 'INTEGER', 'value': 8}, 'maxGERAN-SI': {'type': 'INTEGER', 'value': 10}, 'maxGNFG': {'type': 'INTEGER', 'value': 16}, 'maxMBSFN-Allocations': {'type': 'INTEGER', 'value': 8}, 'maxMCS-1': {'type': 'INTEGER', 'value': 16}, 'maxMeasId': {'type': 'INTEGER', 'value': 32}, 'maxObjectId': {'type': 'INTEGER', 'value': 32}, 'maxPNOffset': {'type': 'INTEGER', 'value': 511}, 'maxPageRec': {'type': 'INTEGER', 'value': 16}, 'maxRAT-Capabilities': {'type': 'INTEGER', 'value': 8}, 'maxReportConfigId': {'type': 'INTEGER', 'value': 32}, 'maxSI-Message': {'type': 'INTEGER', 'value': 32}, 'maxSIB': {'type': 'INTEGER', 'value': 32}, 'maxSIB-1': {'type': 'INTEGER', 'value': 31}, 'maxUTRA-FDD-Carrier': {'type': 'INTEGER', 'value': 16}, 'maxUTRA-TDD-Carrier': {'type': 'INTEGER', 'value': 16}}}, 'EUTRA-UE-Variables': {'extensibility-implied': False, 'imports': {'EUTRA-RRC-Definitions': ['C-RNTI', 'CellIdentity', 'MeasId', 'MeasIdToAddModList', 'MeasObjectToAddModList', 'MobilityStateParameters', 'NeighCellConfig', 'PhysCellId', 'QuantityConfig', 'RSRP-Range', 'ReportConfigToAddModList', 'SpeedStateScaleFactors', 'maxCellMeas', 'maxMeasId']}, 'object-classes': {}, 'object-sets': {}, 'tags': 'AUTOMATIC', 'types': {'CellsTriggeredList': {'element': {'type': 'PhysCellId'}, 'size': [(1, 'maxCellMeas')], 'type': 'SEQUENCE OF'}, 'VarMeasConfig': {'members': [{'name': 'measIdList', 'optional': True, 'type': 'MeasIdToAddModList'}, {'name': 'measObjectList', 'optional': True, 'type': 'MeasObjectToAddModList'}, {'name': 'reportConfigList', 'optional': True, 'type': 'ReportConfigToAddModList'}, {'name': 'quantityConfig', 'optional': True, 'type': 'QuantityConfig'}, {'name': 's-Measure', 'optional': True, 'type': 'RSRP-Range'}, {'members': [{'name': 'release', 'type': 'NULL'}, {'members': [{'name': 'mobilityStateParameters', 'type': 'MobilityStateParameters'}, {'name': 'timeToTrigger-SF', 'type': 'SpeedStateScaleFactors'}], 'name': 'setup', 'type': 'SEQUENCE'}], 'name': 'speedStatePars', 'optional': True, 'type': 'CHOICE'}], 'type': 'SEQUENCE'}, 'VarMeasReport': {'members': [{'name': 'measId', 'type': 'MeasId'}, {'name': 'cellsTriggeredList', 'optional': True, 'type': 'CellsTriggeredList'}, {'name': 'numberOfReportsSent', 'type': 'INTEGER'}], 'type': 'SEQUENCE'}, 'VarMeasReportList': {'element': {'type': 'VarMeasReport'}, 'size': [(1, 'maxMeasId')], 'type': 'SEQUENCE OF'}, 'VarShortMAC-Input': {'members': [{'name': 'cellIdentity', 'type': 'CellIdentity'}, {'name': 'physCellId', 'type': 'PhysCellId'}, {'name': 'c-RNTI', 'type': 'C-RNTI'}], 'type': 'SEQUENCE'}}, 'values': {}}}
|
#!/usr/bin/python
# ==============================================================================
# Author: Tao Li ([email protected])
# Date: Jul 7, 2015
# Question: 121-Best-Time-to-Buy-and-Sell-Stock
# Link: https://leetcode.com/problems/best-time-to-buy-and-sell-stock/
# ==============================================================================
# Say you have an array for which the ith element is the price of a given stock
# on day i.
#
# If you were only permitted to complete at most one transaction (ie, buy one
# and sell one share of the stock), design an algorithm to find the maximum
# profit.
# ==============================================================================
# Method: DP
# Time Complexity: O(n)
# Space Complexity: O(n)
# ==============================================================================
class Solution:
# @param {integer[]} prices
# @return {integer}
def maxProfit(self, prices):
size = len(prices)
if size <= 1:
return 0
dp = [0] * size
minVal = prices[0]
for i in xrange(1, size):
dp[i] = max(dp[i-1], prices[i]-minVal)
minVal = prices[i] if prices[i] < minVal else minVal
return dp[-1]
|
class Solution:
def max_profit(self, prices):
size = len(prices)
if size <= 1:
return 0
dp = [0] * size
min_val = prices[0]
for i in xrange(1, size):
dp[i] = max(dp[i - 1], prices[i] - minVal)
min_val = prices[i] if prices[i] < minVal else minVal
return dp[-1]
|
mandado=["naranja","manzana","pina"]
for fruta in mandado:
print(fruta)
i=1
while i<=15:
print(i)
i=i+1
a=-3
while a<=3:
print(a)
a=a+1
#Imprimir los primeros 20 numeros pares
iterador=0
print("Tope")
#while iterador<40:
# iterador+=2
# print(iterador)
palabra="el elefante negro"
#for caracter in palabra:
#print(caracter)
#Hacer un programa que me imprima cada fruta de mi mandado pero sin la letra a
#for fruta in mandado:
# for caracter in fruta:
# if caracter=="a":
# continue
# else:
# print(caracter, end=" ")
#print("\n")
#i=0
#while i<=10:
# print(i)
# i+=1
#i=0
carros=["bmw","mercedes","chevy"]
saludo="hola"
numero=123456
print(len(str(numero)))
print(len(saludo))
print(len(carros))
for elemento in carros:
print(elemento)
i=0
while i<len(carros):
print(carros[i])
i=i+1
|
mandado = ['naranja', 'manzana', 'pina']
for fruta in mandado:
print(fruta)
i = 1
while i <= 15:
print(i)
i = i + 1
a = -3
while a <= 3:
print(a)
a = a + 1
iterador = 0
print('Tope')
palabra = 'el elefante negro'
carros = ['bmw', 'mercedes', 'chevy']
saludo = 'hola'
numero = 123456
print(len(str(numero)))
print(len(saludo))
print(len(carros))
for elemento in carros:
print(elemento)
i = 0
while i < len(carros):
print(carros[i])
i = i + 1
|
STATUS_TO_ERROR = {
# basic server errors
0: 'AS_OK',
1: 'AS_ERR_UNKNOWN',
2: 'AS_ERR_NOT_FOUND',
3: 'AS_ERR_GENERATION',
4: 'AS_ERR_PARAMETER',
5: 'AS_ERR_RECORD_EXISTS',
6: 'AS_ERR_BIN_EXISTS',
7: 'AS_ERR_CLUSTER_KEY_MISMATCH',
8: 'AS_ERR_OUT_OF_SPACE',
9: 'AS_ERR_TIMEOUT',
10: 'AS_ERR_ALWAYS_FORBIDDEN',
11: 'AS_ERR_UNAVAILABLE',
12: 'AS_ERR_INCOMPATIBLE_TYPE',
13: 'AS_ERR_RECORD_TOO_BIG',
14: 'AS_ERR_KEY_BUSY',
15: 'AS_ERR_SCAN_ABORT',
16: 'AS_ERR_UNSUPPORTED_FEATURE',
17: 'AS_ERR_BIN_NOT_FOUND',
18: 'AS_ERR_DEVICE_OVERLOAD',
19: 'AS_ERR_KEY_MISMATCH',
20: 'AS_ERR_NAMESPACE',
21: 'AS_ERR_BIN_NAME',
22: 'AS_ERR_FORBIDDEN',
23: 'AS_ERR_ELEMENT_NOT_FOUND',
24: 'AS_ERR_ELEMENT_EXISTS',
25: 'AS_ERR_ENTERPRISE_ONLY',
26: 'AS_ERR_OP_NOT_APPLICABLE',
27: 'AS_ERR_LOST_CONFLICT',
# security specific errors
50: 'AS_SEC_OK_LAST',
51: 'AS_SEC_ERR_NOT_SUPPORTED',
52: 'AS_SEC_ERR_NOT_ENABLED',
53: 'AS_SEC_ERR_SCHEME',
54: 'AS_SEC_ERR_COMMAND',
55: 'AS_SEC_ERR_FIELD',
56: 'AS_SEC_ERR_STATE',
60: 'AS_SEC_ERR_USER',
61: 'AS_SEC_ERR_USER_EXISTS',
62: 'AS_SEC_ERR_PASSWORD',
63: 'AS_SEC_ERR_EXPIRED_PASSWORD',
64: 'AS_SEC_ERR_FORBIDDEN_PASSWORD',
65: 'AS_SEC_ERR_CREDENTIAL',
66: 'AS_SEC_ERR_EXPIRED_SESSION',
70: 'AS_SEC_ERR_ROLE',
71: 'AS_SEC_ERR_ROLE_EXISTS',
72: 'AS_SEC_ERR_PRIVILEGE',
73: 'AS_SEC_ERR_WHITELIST',
80: 'AS_SEC_ERR_NOT_AUTHENTICATED',
81: 'AS_SEC_ERR_ROLE_VIOLATION',
82: 'AS_SEC_ERR_NOT_WHITELISTED',
90: 'AS_SEC_ERR_LDAP_NOT_ENABLED',
91: 'AS_SEC_ERR_LDAP_SETUP',
92: 'AS_SEC_ERR_LDAP_TLS_SETUP',
93: 'AS_SEC_ERR_LDAP_AUTHENTICATION',
94: 'AS_SEC_ERR_LDAP_QUERY',
# UDF specific errors
100: 'AS_ERR_UDF_EXECUTION',
# batch specific errors
150: 'AS_ERR_BATCH_DISABLED',
151: 'AS_ERR_BATCH_MAX_REQUESTS',
152: 'AS_ERR_BATCH_QUEUES_FULL',
# GEO specific errors
160: 'AS_ERR_GEO_INVALID_GEOJSON',
# secondary index specific errors
200: 'AS_ERR_SINDEX_FOUND',
201: 'AS_ERR_SINDEX_NOT_FOUND',
202: 'AS_ERR_SINDEX_OOM',
203: 'AS_ERR_SINDEX_NOT_READABLE',
204: 'AS_ERR_SINDEX_GENERIC',
205: 'AS_ERR_SINDEX_NAME',
206: 'AS_ERR_SINDEX_MAX_COUNT',
210: 'AS_ERR_QUERY_USER_ABORT',
211: 'AS_ERR_QUERY_QUEUE_FULL',
212: 'AS_ERR_QUERY_TIMEOUT',
213: 'AS_ERR_QUERY_CB',
214: 'AS_ERR_QUERY_NET_IO',
215: 'AS_ERR_QUERY_DUPLICATE'
}
class AerospikeError(Exception):
"""Base Aerospike Error"""
def __init__(self, status_code, message):
self.status_code = status_code
self.message = message
super().__init__(self.message)
|
status_to_error = {0: 'AS_OK', 1: 'AS_ERR_UNKNOWN', 2: 'AS_ERR_NOT_FOUND', 3: 'AS_ERR_GENERATION', 4: 'AS_ERR_PARAMETER', 5: 'AS_ERR_RECORD_EXISTS', 6: 'AS_ERR_BIN_EXISTS', 7: 'AS_ERR_CLUSTER_KEY_MISMATCH', 8: 'AS_ERR_OUT_OF_SPACE', 9: 'AS_ERR_TIMEOUT', 10: 'AS_ERR_ALWAYS_FORBIDDEN', 11: 'AS_ERR_UNAVAILABLE', 12: 'AS_ERR_INCOMPATIBLE_TYPE', 13: 'AS_ERR_RECORD_TOO_BIG', 14: 'AS_ERR_KEY_BUSY', 15: 'AS_ERR_SCAN_ABORT', 16: 'AS_ERR_UNSUPPORTED_FEATURE', 17: 'AS_ERR_BIN_NOT_FOUND', 18: 'AS_ERR_DEVICE_OVERLOAD', 19: 'AS_ERR_KEY_MISMATCH', 20: 'AS_ERR_NAMESPACE', 21: 'AS_ERR_BIN_NAME', 22: 'AS_ERR_FORBIDDEN', 23: 'AS_ERR_ELEMENT_NOT_FOUND', 24: 'AS_ERR_ELEMENT_EXISTS', 25: 'AS_ERR_ENTERPRISE_ONLY', 26: 'AS_ERR_OP_NOT_APPLICABLE', 27: 'AS_ERR_LOST_CONFLICT', 50: 'AS_SEC_OK_LAST', 51: 'AS_SEC_ERR_NOT_SUPPORTED', 52: 'AS_SEC_ERR_NOT_ENABLED', 53: 'AS_SEC_ERR_SCHEME', 54: 'AS_SEC_ERR_COMMAND', 55: 'AS_SEC_ERR_FIELD', 56: 'AS_SEC_ERR_STATE', 60: 'AS_SEC_ERR_USER', 61: 'AS_SEC_ERR_USER_EXISTS', 62: 'AS_SEC_ERR_PASSWORD', 63: 'AS_SEC_ERR_EXPIRED_PASSWORD', 64: 'AS_SEC_ERR_FORBIDDEN_PASSWORD', 65: 'AS_SEC_ERR_CREDENTIAL', 66: 'AS_SEC_ERR_EXPIRED_SESSION', 70: 'AS_SEC_ERR_ROLE', 71: 'AS_SEC_ERR_ROLE_EXISTS', 72: 'AS_SEC_ERR_PRIVILEGE', 73: 'AS_SEC_ERR_WHITELIST', 80: 'AS_SEC_ERR_NOT_AUTHENTICATED', 81: 'AS_SEC_ERR_ROLE_VIOLATION', 82: 'AS_SEC_ERR_NOT_WHITELISTED', 90: 'AS_SEC_ERR_LDAP_NOT_ENABLED', 91: 'AS_SEC_ERR_LDAP_SETUP', 92: 'AS_SEC_ERR_LDAP_TLS_SETUP', 93: 'AS_SEC_ERR_LDAP_AUTHENTICATION', 94: 'AS_SEC_ERR_LDAP_QUERY', 100: 'AS_ERR_UDF_EXECUTION', 150: 'AS_ERR_BATCH_DISABLED', 151: 'AS_ERR_BATCH_MAX_REQUESTS', 152: 'AS_ERR_BATCH_QUEUES_FULL', 160: 'AS_ERR_GEO_INVALID_GEOJSON', 200: 'AS_ERR_SINDEX_FOUND', 201: 'AS_ERR_SINDEX_NOT_FOUND', 202: 'AS_ERR_SINDEX_OOM', 203: 'AS_ERR_SINDEX_NOT_READABLE', 204: 'AS_ERR_SINDEX_GENERIC', 205: 'AS_ERR_SINDEX_NAME', 206: 'AS_ERR_SINDEX_MAX_COUNT', 210: 'AS_ERR_QUERY_USER_ABORT', 211: 'AS_ERR_QUERY_QUEUE_FULL', 212: 'AS_ERR_QUERY_TIMEOUT', 213: 'AS_ERR_QUERY_CB', 214: 'AS_ERR_QUERY_NET_IO', 215: 'AS_ERR_QUERY_DUPLICATE'}
class Aerospikeerror(Exception):
"""Base Aerospike Error"""
def __init__(self, status_code, message):
self.status_code = status_code
self.message = message
super().__init__(self.message)
|
"""Handles import of external/third-party repositories.
"""
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe")
def optimus_repositories():
maybe(
http_archive,
name = "bazel_skylib",
urls = ["https://github.com/bazelbuild/bazel-skylib/releases/download/1.0.3/bazel-skylib-1.0.3.tar.gz"],
sha256 = "1c531376ac7e5a180e0237938a2536de0c54d93f5c278634818e0efc952dd56c",
)
maybe(
http_archive,
name = "eigen",
build_file = "@com_github_mvukov_optimus//repositories:eigen.BUILD.bazel",
sha256 = "7985975b787340124786f092b3a07d594b2e9cd53bbfe5f3d9b1daee7d55f56f",
strip_prefix = "eigen-3.3.9",
urls = ["https://gitlab.com/libeigen/eigen/-/archive/3.3.9/eigen-3.3.9.tar.gz"],
)
maybe(
http_archive,
name = "com_github_mvukov_qpoases_embedded",
sha256 = "8834df1bbd12c21a69d8f2de6e6a2066e8ebd91f91371f7eeb72fe415934cb34",
strip_prefix = "qpoases_embedded-0.1.0",
urls = ["https://github.com/mvukov/qpoases_embedded/archive/refs/tags/v0.1.0.tar.gz"],
)
|
"""Handles import of external/third-party repositories.
"""
load('@bazel_tools//tools/build_defs/repo:http.bzl', 'http_archive')
load('@bazel_tools//tools/build_defs/repo:utils.bzl', 'maybe')
def optimus_repositories():
maybe(http_archive, name='bazel_skylib', urls=['https://github.com/bazelbuild/bazel-skylib/releases/download/1.0.3/bazel-skylib-1.0.3.tar.gz'], sha256='1c531376ac7e5a180e0237938a2536de0c54d93f5c278634818e0efc952dd56c')
maybe(http_archive, name='eigen', build_file='@com_github_mvukov_optimus//repositories:eigen.BUILD.bazel', sha256='7985975b787340124786f092b3a07d594b2e9cd53bbfe5f3d9b1daee7d55f56f', strip_prefix='eigen-3.3.9', urls=['https://gitlab.com/libeigen/eigen/-/archive/3.3.9/eigen-3.3.9.tar.gz'])
maybe(http_archive, name='com_github_mvukov_qpoases_embedded', sha256='8834df1bbd12c21a69d8f2de6e6a2066e8ebd91f91371f7eeb72fe415934cb34', strip_prefix='qpoases_embedded-0.1.0', urls=['https://github.com/mvukov/qpoases_embedded/archive/refs/tags/v0.1.0.tar.gz'])
|
'''
6 kyu Convert string to camel case.py
https://www.codewars.com/kata/517abf86da9663f1d2000003/train/python
Complete the method/function so that it converts dash/underscore delimited words into camel casing. The first word within the output should be capitalized only if the original word was capitalized (known as Upper Camel Case, also often referred to as Pascal case).
Examples
to_camel_case("the-stealth-warrior") # returns "theStealthWarrior"
to_camel_case("The_Stealth_Warrior") # returns "TheStealthWarrior"
'''
def to_camel_case(text):
return text[:1] + text.title()[1:].replace('_', '').replace('-', '')
|
"""
6 kyu Convert string to camel case.py
https://www.codewars.com/kata/517abf86da9663f1d2000003/train/python
Complete the method/function so that it converts dash/underscore delimited words into camel casing. The first word within the output should be capitalized only if the original word was capitalized (known as Upper Camel Case, also often referred to as Pascal case).
Examples
to_camel_case("the-stealth-warrior") # returns "theStealthWarrior"
to_camel_case("The_Stealth_Warrior") # returns "TheStealthWarrior"
"""
def to_camel_case(text):
return text[:1] + text.title()[1:].replace('_', '').replace('-', '')
|
class FrankaArmCommException(Exception):
''' Communication failure. Usually occurs due to timeouts.
'''
def __init__(self, message, *args, **kwargs):
Exception.__init__(self, *args, **kwargs)
self.message = message
def __str__(self):
return "Communication w/ FrankaInterface ran into a problem: {}. FrankaInterface is probably not ready.".format(self.message)
class FrankaArmFrankaInterfaceNotReadyException(Exception):
''' Exception for when franka_interface is not ready
'''
def __init__(self, *args, **kwargs):
Exception.__init__(self, *args, **kwargs)
def __str__(self):
return 'FrankaInterface was not ready!'
class FrankaArmException(Exception):
''' Failure of control, typically due to a kinematically unreachable pose.
'''
def __init__(self, message, *args, **kwargs):
Exception.__init__(self, *args, **kwargs)
self.message = message
def __str__(self):
return "FrankaInterface ran into a problem: {}".format(self.message)
|
class Frankaarmcommexception(Exception):
""" Communication failure. Usually occurs due to timeouts.
"""
def __init__(self, message, *args, **kwargs):
Exception.__init__(self, *args, **kwargs)
self.message = message
def __str__(self):
return 'Communication w/ FrankaInterface ran into a problem: {}. FrankaInterface is probably not ready.'.format(self.message)
class Frankaarmfrankainterfacenotreadyexception(Exception):
""" Exception for when franka_interface is not ready
"""
def __init__(self, *args, **kwargs):
Exception.__init__(self, *args, **kwargs)
def __str__(self):
return 'FrankaInterface was not ready!'
class Frankaarmexception(Exception):
""" Failure of control, typically due to a kinematically unreachable pose.
"""
def __init__(self, message, *args, **kwargs):
Exception.__init__(self, *args, **kwargs)
self.message = message
def __str__(self):
return 'FrankaInterface ran into a problem: {}'.format(self.message)
|
""" This module contains all the exceptions that are specific
to BGD. """
# errors.py
# author : Antoine Passemiers, Robin Petit
__all__ = [
'RequiredComponentError', 'WrongComponentTypeError',
'NonLearnableLayerError'
]
class RequiredComponentError(Exception):
""" Exception raised when a :class:`bgd.nn.NeuralStack`
hasn't been setup properly and at least a component is missing.
"""
pass
class WrongComponentTypeError(Exception):
""" Exception raised when a component of unrecognized type is
attempted to be added to a :class:`bgd.nn.NeuralStack`.
"""
pass
class NonLearnableLayerError(Exception):
""" Exception raised to warn that an attempt to update
parameter of a non-parametric layer has been attempted.
"""
pass
|
""" This module contains all the exceptions that are specific
to BGD. """
__all__ = ['RequiredComponentError', 'WrongComponentTypeError', 'NonLearnableLayerError']
class Requiredcomponenterror(Exception):
""" Exception raised when a :class:`bgd.nn.NeuralStack`
hasn't been setup properly and at least a component is missing.
"""
pass
class Wrongcomponenttypeerror(Exception):
""" Exception raised when a component of unrecognized type is
attempted to be added to a :class:`bgd.nn.NeuralStack`.
"""
pass
class Nonlearnablelayererror(Exception):
""" Exception raised to warn that an attempt to update
parameter of a non-parametric layer has been attempted.
"""
pass
|
class Solution(object):
def getRow(self, rowIndex):
"""
:type rowIndex: int
:rtype: List[int]
"""
row = [1]
for _ in range(rowIndex):
# pad 0, perform element-wise addition
row = [x + y for x, y in zip([0] + row, row + [0])]
return row
# row = [1]
# for i in range(rowIndex):
# row = [1] + [row[j] + row[j + 1] for j in range(len(row) - 1)] + [1]
# return row
|
class Solution(object):
def get_row(self, rowIndex):
"""
:type rowIndex: int
:rtype: List[int]
"""
row = [1]
for _ in range(rowIndex):
row = [x + y for (x, y) in zip([0] + row, row + [0])]
return row
|
def created(data_json):
# A user creates an issue for a repository.
repository = data_json['repository']
# repository_scm = repository['scm']
repository_name = repository['name']
repository_link = repository['links']['html']['href']
# actor = data_json['actor']
# actor_name = actor['display_name']
# actor_profile = actor['links']['html']['href']
issue = data_json['issue']
issue_title = issue['title']
issue_priority = issue['priority']
if 'assignee' in issue:
if issue['assignee']:
issue_assignee_name = issue['assignee']['display_name']
issue_assignee_link = issue['assignee']['links']['html']['href']
else:
issue_assignee_name = "' '"
issue_assignee_link = "' '"
else:
issue_assignee_name = "' '"
issue_assignee_link = "' '"
issue_reporter_name = issue['reporter']['display_name']
issue_reporter_link = issue['reporter']['links']['html']['href']
issue_description = issue['content']['raw']
issue_created_on = issue['created_on']
issue_link = issue['links']['html']['href']
message = "Issue Created in [{}]({}) " \
" \nTitle: [{}]({}) " \
"\nPriority: *{}* " \
"\nReporter: [{}]({}) " \
"\nAssignee: [{}]({}) " \
"\nCreated On: {}" \
"\nDescription: {}".format(repository_name, repository_link, issue_title, issue_link, issue_priority,
issue_reporter_name, issue_reporter_link, issue_assignee_name,
issue_assignee_link, issue_created_on,
issue_description)
return message
|
def created(data_json):
repository = data_json['repository']
repository_name = repository['name']
repository_link = repository['links']['html']['href']
issue = data_json['issue']
issue_title = issue['title']
issue_priority = issue['priority']
if 'assignee' in issue:
if issue['assignee']:
issue_assignee_name = issue['assignee']['display_name']
issue_assignee_link = issue['assignee']['links']['html']['href']
else:
issue_assignee_name = "' '"
issue_assignee_link = "' '"
else:
issue_assignee_name = "' '"
issue_assignee_link = "' '"
issue_reporter_name = issue['reporter']['display_name']
issue_reporter_link = issue['reporter']['links']['html']['href']
issue_description = issue['content']['raw']
issue_created_on = issue['created_on']
issue_link = issue['links']['html']['href']
message = 'Issue Created in [{}]({}) \nTitle: [{}]({}) \nPriority: *{}* \nReporter: [{}]({}) \nAssignee: [{}]({}) \nCreated On: {}\nDescription: {}'.format(repository_name, repository_link, issue_title, issue_link, issue_priority, issue_reporter_name, issue_reporter_link, issue_assignee_name, issue_assignee_link, issue_created_on, issue_description)
return message
|
class CheckPosture:
def __init__(self, scale=1, key_points={}):
self.key_points = key_points
self.scale = scale
self.message = ""
def set_key_points(self, key_points):
self.key_points = key_points
def get_key_points(self):
return self.key_points
def set_message(self, message):
self.message = message
def get_message(self):
return self.message
def set_scale(self, scale):
self.scale = scale
def get_scale(self):
return self.scale
def check_lean_forward(self):
if self.key_points['Left Shoulder'].x != -1 and self.key_points['Left Ear'].x != -1 \
and self.key_points['Left Shoulder'].x >= (self.key_points['Left Ear'].x +
(self.scale * 150)):
return False
if self.key_points['Right Shoulder'].x != -1 and self.key_points['Right Ear'].x != -1 \
and self.key_points['Right Shoulder'].x >= (self.key_points['Right Ear'].x +
(self.scale * 160)):
return False
return True
def check_slump(self):
if self.key_points['Neck'].y != -1 and self.key_points['Nose'].y != -1 and (self.key_points['Nose'].y >= self.key_points['Neck'].y - (self.scale * 150)):
return False
return True
def check_head_drop(self):
if self.key_points['Left Eye'].y != -1 and self.key_points['Left Ear'].y != -1 and self.key_points['Left Eye'].y > (self.key_points['Left Ear'].y + (self.scale * 15)):
return False
if self.key_points['Right Eye'].y != -1 and self.key_points['Right Ear'].y != -1 and self.key_points['Right Eye'].y > (self.key_points['Right Ear'].y + (self.scale * 15)):
return False
return True
def correct_posture(self):
return all([self.check_slump(), self.check_head_drop(), self.check_lean_forward()])
def build_message(self):
current_message = ""
if not self.check_head_drop():
current_message += "Lift up your head!\n"
if not self.check_lean_forward():
current_message += "Lean back!\n"
if not self.check_slump():
current_message += "Sit up in your chair, you're slumping!\n"
self.message = current_message
return current_message
|
class Checkposture:
def __init__(self, scale=1, key_points={}):
self.key_points = key_points
self.scale = scale
self.message = ''
def set_key_points(self, key_points):
self.key_points = key_points
def get_key_points(self):
return self.key_points
def set_message(self, message):
self.message = message
def get_message(self):
return self.message
def set_scale(self, scale):
self.scale = scale
def get_scale(self):
return self.scale
def check_lean_forward(self):
if self.key_points['Left Shoulder'].x != -1 and self.key_points['Left Ear'].x != -1 and (self.key_points['Left Shoulder'].x >= self.key_points['Left Ear'].x + self.scale * 150):
return False
if self.key_points['Right Shoulder'].x != -1 and self.key_points['Right Ear'].x != -1 and (self.key_points['Right Shoulder'].x >= self.key_points['Right Ear'].x + self.scale * 160):
return False
return True
def check_slump(self):
if self.key_points['Neck'].y != -1 and self.key_points['Nose'].y != -1 and (self.key_points['Nose'].y >= self.key_points['Neck'].y - self.scale * 150):
return False
return True
def check_head_drop(self):
if self.key_points['Left Eye'].y != -1 and self.key_points['Left Ear'].y != -1 and (self.key_points['Left Eye'].y > self.key_points['Left Ear'].y + self.scale * 15):
return False
if self.key_points['Right Eye'].y != -1 and self.key_points['Right Ear'].y != -1 and (self.key_points['Right Eye'].y > self.key_points['Right Ear'].y + self.scale * 15):
return False
return True
def correct_posture(self):
return all([self.check_slump(), self.check_head_drop(), self.check_lean_forward()])
def build_message(self):
current_message = ''
if not self.check_head_drop():
current_message += 'Lift up your head!\n'
if not self.check_lean_forward():
current_message += 'Lean back!\n'
if not self.check_slump():
current_message += "Sit up in your chair, you're slumping!\n"
self.message = current_message
return current_message
|
#! python3
# __author__ = "YangJiaHao"
# date: 2018/2/23
class Solution:
def groupAnagrams(self, strs):
"""
:type strs: List[str]
:rtype: List[List[str]]
"""
result = {}
for s in strs:
# key = tuple(sorted(s))
# result[key] = result.get(key, []) + [s]
if tuple(sorted(s)) in result:
result[tuple(sorted(s))].append(s)
else:
result[tuple(sorted(s))] = [s]
return list(result.values())
if __name__ == '__main__':
so = Solution()
res = so.groupAnagrams(["eat", "tea", "tan", "ate", "nat", "bat"])
print(res)
|
class Solution:
def group_anagrams(self, strs):
"""
:type strs: List[str]
:rtype: List[List[str]]
"""
result = {}
for s in strs:
if tuple(sorted(s)) in result:
result[tuple(sorted(s))].append(s)
else:
result[tuple(sorted(s))] = [s]
return list(result.values())
if __name__ == '__main__':
so = solution()
res = so.groupAnagrams(['eat', 'tea', 'tan', 'ate', 'nat', 'bat'])
print(res)
|
# Defining rule for gdrive command and config.
def _gdrive(ctx):
gdrive_cmd = ctx.attr.gdrive_cmd
gdrive_cfg = ctx.attr.gdrive_config
return struct(command=gdrive_cmd,
config=gdrive_cfg)
gdrive = rule(
implementation=_gdrive,
attrs={
"gdrive_cmd": attr.string(mandatory=True),
"gdrive_config": attr.string(mandatory=True),
},
)
# Defining rule to export using gdrive.
def _gdrive_export(ctx):
doc_id = ctx.attr.doc_id
gdrive_cmd = ctx.attr.gdrive.command
mime = ctx.attr.mime
gdrive_config = ctx.attr.gdrive.config
output = ctx.outputs.out
ctx.action(
outputs=[output],
command="""x=`%s export --force --mime %s --config %s %s`; \
x=${x#*\\'}; x=${x%%\\' with*} ; \
mv \"${x}\" %s""" % (gdrive_cmd,
mime,
gdrive_config,
doc_id,
output.path))
return struct(output_file=output)
gdrive_export = rule(
implementation=_gdrive_export,
attrs={
"doc_id": attr.string(mandatory=True),
"mime": attr.string(mandatory=False,
default="text/plain"),
"gdrive": attr.label(mandatory=False,
providers=["config","command"]),
"output": attr.string(mandatory=True),
},
outputs={"out":"%{output}"},
)
# Defining rule to download using gdrive.
def _gdrive_download(ctx):
folder_id = ctx.attr.folder_id
gdrive_cmd = ctx.attr.gdrive.command
gdrive_config = ctx.attr.gdrive.config
output = ctx.outputs.out
ctx.action(
outputs=[output],
command="""x=`%s download --recursive --force --config %s %s`; \
x=${x##*-> }; x=${x%%/*}; \
mv \"${x}\" %s""" % (gdrive_cmd,
gdrive_config,
folder_id,
output.path))
return struct(output_file=output)
gdrive_download = rule(
implementation=_gdrive_download,
attrs={
"folder_id": attr.string(mandatory=True),
"gdrive": attr.label(mandatory=False,
providers=["config","command"]),
"output": attr.string(mandatory=True),
},
outputs={"out":"%{output}"},
)
# Defining rule to update using gdrive.
def _gdrive_update(ctx):
doc_id = ctx.attr.doc_id
gdrive_cmd = ctx.attr.gdrive.command
gdrive_config = ctx.attr.gdrive.config
file_to_update = ctx.attr.output_file.output_file
output = ctx.outputs.out
ctx.action(
inputs=[file_to_update],
outputs=[output],
command="""cp %s %s;\
%s update --config %s %s %s""" % (file_to_update.path,
output.path,
gdrive_cmd,
gdrive_config,
doc_id,
output.path))
return struct(output_file=output)
gdrive_update = rule(
implementation=_gdrive_update,
attrs={
"doc_id": attr.string(mandatory=True),
"gdrive_name": attr.string(mandatory=True),
"gdrive": attr.label(mandatory=False,
providers=["config","command"]),
"output_file": attr.label(mandatory=True,
providers=["output_file"]),
},
outputs={"out":"%{gdrive_name}"},
)
|
def _gdrive(ctx):
gdrive_cmd = ctx.attr.gdrive_cmd
gdrive_cfg = ctx.attr.gdrive_config
return struct(command=gdrive_cmd, config=gdrive_cfg)
gdrive = rule(implementation=_gdrive, attrs={'gdrive_cmd': attr.string(mandatory=True), 'gdrive_config': attr.string(mandatory=True)})
def _gdrive_export(ctx):
doc_id = ctx.attr.doc_id
gdrive_cmd = ctx.attr.gdrive.command
mime = ctx.attr.mime
gdrive_config = ctx.attr.gdrive.config
output = ctx.outputs.out
ctx.action(outputs=[output], command='x=`%s export --force --mime %s --config %s %s`; x=${x#*\\\'}; x=${x%%\\\' with*} ; mv "${x}" %s' % (gdrive_cmd, mime, gdrive_config, doc_id, output.path))
return struct(output_file=output)
gdrive_export = rule(implementation=_gdrive_export, attrs={'doc_id': attr.string(mandatory=True), 'mime': attr.string(mandatory=False, default='text/plain'), 'gdrive': attr.label(mandatory=False, providers=['config', 'command']), 'output': attr.string(mandatory=True)}, outputs={'out': '%{output}'})
def _gdrive_download(ctx):
folder_id = ctx.attr.folder_id
gdrive_cmd = ctx.attr.gdrive.command
gdrive_config = ctx.attr.gdrive.config
output = ctx.outputs.out
ctx.action(outputs=[output], command='x=`%s download --recursive --force --config %s %s`; x=${x##*-> }; x=${x%%/*}; mv "${x}" %s' % (gdrive_cmd, gdrive_config, folder_id, output.path))
return struct(output_file=output)
gdrive_download = rule(implementation=_gdrive_download, attrs={'folder_id': attr.string(mandatory=True), 'gdrive': attr.label(mandatory=False, providers=['config', 'command']), 'output': attr.string(mandatory=True)}, outputs={'out': '%{output}'})
def _gdrive_update(ctx):
doc_id = ctx.attr.doc_id
gdrive_cmd = ctx.attr.gdrive.command
gdrive_config = ctx.attr.gdrive.config
file_to_update = ctx.attr.output_file.output_file
output = ctx.outputs.out
ctx.action(inputs=[file_to_update], outputs=[output], command='cp %s %s; %s update --config %s %s %s' % (file_to_update.path, output.path, gdrive_cmd, gdrive_config, doc_id, output.path))
return struct(output_file=output)
gdrive_update = rule(implementation=_gdrive_update, attrs={'doc_id': attr.string(mandatory=True), 'gdrive_name': attr.string(mandatory=True), 'gdrive': attr.label(mandatory=False, providers=['config', 'command']), 'output_file': attr.label(mandatory=True, providers=['output_file'])}, outputs={'out': '%{gdrive_name}'})
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.