max_stars_repo_path
stringlengths
4
261
max_stars_repo_name
stringlengths
6
106
max_stars_count
int64
0
38.8k
id
stringlengths
1
6
text
stringlengths
7
1.05M
src/clic-config-info.adb
alire-project/clic
9
14788
with Ada.Strings.Unbounded; use Ada.Strings.Unbounded; with GNAT.Regpat; package body CLIC.Config.Info is ---------- -- List -- ---------- function List (This : CLIC.Config.Instance; Filter : String := ".*"; Show_Origin : Boolean := False) return AAA.Strings.Vector is Result : AAA.Strings.Vector; begin for Key of List_Keys (This, Filter) loop declare Val : constant Config_Value := This.Config_Map (+Key); Line : Unbounded_String; begin if Show_Origin then Line := Val.Origin & ": "; end if; Append (Line, Key & "="); Append (Line, Image (Val.Value)); Result.Append (To_String (Line)); end; end loop; return Result; end List; --------------- -- List_Keys -- --------------- function List_Keys (This : CLIC.Config.Instance; Filter : String := ".*") return AAA.Strings.Vector is use GNAT.Regpat; Re : constant Pattern_Matcher := Compile (Filter); Result : AAA.Strings.Vector; begin for C in This.Config_Map.Iterate loop declare Key : constant String := To_String (Config_Maps.Key (C)); begin if Match (Re, Key) then Result.Append (Key); end if; end; end loop; return Result; end List_Keys; end CLIC.Config.Info;
Transynther/x86/_processed/AVXALIGN/_st_/i7-7700_9_0xca_notsx.log_21829_311.asm
ljhsiun2/medusa
9
9835
.global s_prepare_buffers s_prepare_buffers: push %r13 push %r14 push %rbp push %rcx lea addresses_normal_ht+0x53b2, %r14 add $61244, %r13 movb $0x61, (%r14) nop nop nop nop nop cmp $26583, %rbp pop %rcx pop %rbp pop %r14 pop %r13 ret .global s_faulty_load s_faulty_load: push %r11 push %r12 push %r15 push %r9 push %rax // Faulty Load lea addresses_normal+0x14792, %rax dec %r12 mov (%rax), %r9 lea oracles, %r11 and $0xff, %r9 shlq $12, %r9 mov (%r11,%r9,1), %r9 pop %rax pop %r9 pop %r15 pop %r12 pop %r11 ret /* <gen_faulty_load> [REF] {'src': {'NT': False, 'AVXalign': False, 'size': 1, 'congruent': 0, 'same': False, 'type': 'addresses_normal'}, 'OP': 'LOAD'} [Faulty Load] {'src': {'NT': True, 'AVXalign': False, 'size': 8, 'congruent': 0, 'same': True, 'type': 'addresses_normal'}, 'OP': 'LOAD'} <gen_prepare_buffer> {'dst': {'NT': False, 'AVXalign': False, 'size': 1, 'congruent': 2, 'same': False, 'type': 'addresses_normal_ht'}, 'OP': 'STOR'} {'34': 21829} 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 */
src/svd/sam_svd-itm.ads
Fabien-Chouteau/samd51-hal
1
20961
pragma Style_Checks (Off); -- This spec has been automatically generated from ATSAMD51G19A.svd pragma Restrictions (No_Elaboration_Code); with HAL; with System; package SAM_SVD.ITM is pragma Preelaborate; --------------- -- Registers -- --------------- -- ITM Stimulus Port Registers -- ITM Stimulus Port Registers type ITM_PORT_WORD_MODE_Registers is array (0 .. 31) of HAL.UInt32; subtype ITM_PORT_BYTE_MODE_PORT_Field is HAL.UInt8; -- ITM Stimulus Port Registers type ITM_PORT_BYTE_MODE_Register is record -- Write-only. PORT : ITM_PORT_BYTE_MODE_PORT_Field := 16#0#; -- unspecified Reserved_8_31 : HAL.UInt24 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for ITM_PORT_BYTE_MODE_Register use record PORT at 0 range 0 .. 7; Reserved_8_31 at 0 range 8 .. 31; end record; -- ITM Stimulus Port Registers type ITM_PORT_BYTE_MODE_Registers is array (0 .. 31) of ITM_PORT_BYTE_MODE_Register; subtype ITM_PORT_HWORD_MODE_PORT_Field is HAL.UInt16; -- ITM Stimulus Port Registers type ITM_PORT_HWORD_MODE_Register is record -- Write-only. PORT : ITM_PORT_HWORD_MODE_PORT_Field := 16#0#; -- unspecified Reserved_16_31 : HAL.UInt16 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for ITM_PORT_HWORD_MODE_Register use record PORT at 0 range 0 .. 15; Reserved_16_31 at 0 range 16 .. 31; end record; -- ITM Stimulus Port Registers type ITM_PORT_HWORD_MODE_Registers is array (0 .. 31) of ITM_PORT_HWORD_MODE_Register; subtype ITM_TPR_PRIVMASK_Field is HAL.UInt4; -- ITM Trace Privilege Register type ITM_TPR_Register is record PRIVMASK : ITM_TPR_PRIVMASK_Field := 16#0#; -- unspecified Reserved_4_31 : HAL.UInt28 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for ITM_TPR_Register use record PRIVMASK at 0 range 0 .. 3; Reserved_4_31 at 0 range 4 .. 31; end record; subtype ITM_TCR_TSPrescale_Field is HAL.UInt2; subtype ITM_TCR_GTSFREQ_Field is HAL.UInt2; subtype ITM_TCR_TraceBusID_Field is HAL.UInt7; -- ITM Trace Control Register type ITM_TCR_Register is record ITMENA : Boolean := False; TSENA : Boolean := False; SYNCENA : Boolean := False; DWTENA : Boolean := False; SWOENA : Boolean := False; STALLENA : Boolean := False; -- unspecified Reserved_6_7 : HAL.UInt2 := 16#0#; TSPrescale : ITM_TCR_TSPrescale_Field := 16#0#; GTSFREQ : ITM_TCR_GTSFREQ_Field := 16#0#; -- unspecified Reserved_12_15 : HAL.UInt4 := 16#0#; TraceBusID : ITM_TCR_TraceBusID_Field := 16#0#; BUSY : Boolean := False; -- unspecified Reserved_24_31 : HAL.UInt8 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for ITM_TCR_Register use record ITMENA at 0 range 0 .. 0; TSENA at 0 range 1 .. 1; SYNCENA at 0 range 2 .. 2; DWTENA at 0 range 3 .. 3; SWOENA at 0 range 4 .. 4; STALLENA at 0 range 5 .. 5; Reserved_6_7 at 0 range 6 .. 7; TSPrescale at 0 range 8 .. 9; GTSFREQ at 0 range 10 .. 11; Reserved_12_15 at 0 range 12 .. 15; TraceBusID at 0 range 16 .. 22; BUSY at 0 range 23 .. 23; Reserved_24_31 at 0 range 24 .. 31; end record; -- ITM Integration Write Register type ITM_IWR_Register is record -- Write-only. ATVALIDM : Boolean := False; -- unspecified Reserved_1_31 : HAL.UInt31 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for ITM_IWR_Register use record ATVALIDM at 0 range 0 .. 0; Reserved_1_31 at 0 range 1 .. 31; end record; -- ITM Integration Read Register type ITM_IRR_Register is record -- Read-only. ATREADYM : Boolean; -- unspecified Reserved_1_31 : HAL.UInt31; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for ITM_IRR_Register use record ATREADYM at 0 range 0 .. 0; Reserved_1_31 at 0 range 1 .. 31; end record; ----------------- -- Peripherals -- ----------------- type ITM_Disc is (WORD_MODE, BYTE_MODE, HWORD_MODE); -- Instrumentation Trace Macrocell type ITM_Peripheral (Discriminent : ITM_Disc := WORD_MODE) is record -- ITM Trace Enable Register TER : aliased HAL.UInt32; -- ITM Trace Privilege Register TPR : aliased ITM_TPR_Register; -- ITM Trace Control Register TCR : aliased ITM_TCR_Register; -- ITM Integration Write Register IWR : aliased ITM_IWR_Register; -- ITM Integration Read Register IRR : aliased ITM_IRR_Register; case Discriminent is when WORD_MODE => -- ITM Stimulus Port Registers PORT_WORD_MODE : aliased ITM_PORT_WORD_MODE_Registers; when BYTE_MODE => -- ITM Stimulus Port Registers PORT_BYTE_MODE : aliased ITM_PORT_BYTE_MODE_Registers; when HWORD_MODE => -- ITM Stimulus Port Registers PORT_HWORD_MODE : aliased ITM_PORT_HWORD_MODE_Registers; end case; end record with Unchecked_Union, Volatile; for ITM_Peripheral use record TER at 16#E00# range 0 .. 31; TPR at 16#E40# range 0 .. 31; TCR at 16#E80# range 0 .. 31; IWR at 16#EF8# range 0 .. 31; IRR at 16#EFC# range 0 .. 31; PORT_WORD_MODE at 16#0# range 0 .. 1023; PORT_BYTE_MODE at 16#0# range 0 .. 1023; PORT_HWORD_MODE at 16#0# range 0 .. 1023; end record; -- Instrumentation Trace Macrocell ITM_Periph : aliased ITM_Peripheral with Import, Address => ITM_Base; end SAM_SVD.ITM;
hilo.adb
Entomy/letscode-cards
4
12872
<reponame>Entomy/letscode-cards<filename>hilo.adb with Ada.Text_IO, Cards, Deck; use Ada.Text_IO, Cards, Deck; procedure HiLo is Old_Card : Card; New_Card : Card; First_Draw : Boolean := True; type Choice_Type is (Higher, Lower); Choice : Choice_Type; Input : Character; begin Old_Card := Deck.Draw; loop New_Card := Deck.Draw; if First_Draw then First_Draw := False; else if Choice = Higher and then New_Card.Face > Old_Card.Face then Put_Line("You were right!"); elsif Choice = Lower and then New_Card.Face < Old_Card.Face then Put_Line("You were right!"); else Put_Line("You were wrong!"); end if; end if; Put_Line("Drew: " & Image(New_Card)); <<EnterChoice>> Put("[H]igher or [L]ower? "); Get_Immediate(Input); case Input is when 'h' | 'H' => Choice := Higher; when 'l' | 'L' => Choice := Lower; when 'q' | 'Q' => return; when others => New_Line; goto EnterChoice; end case; New_Line; Old_Card := New_Card; end loop; end HiLo;
bank0.asm
sanderzegers/PlantBoy
0
28519
<filename>bank0.asm<gh_stars>0 ;------------- ; PlantBoy - bank0.asm ;------------- ; Includes ;------------- INCLUDE "hardware.asm" INCLUDE "header.asm" INCLUDE "tiles.asm" INCLUDE "map.asm" ;------------- ; Start ;------------- ; Section syntax: Section name, type [start addr] SECTION "Program Start",ROM0[$150] START: ei ;enable interrupts ld sp,$FFFE ;set stack pointer to $FFEE ld a,IEF_VBLANK ;enable vblank interrupt = %00000001 ld [rIE],a ;rIE = $FFFF: Interrupt Enable call INIT_TIMERS call WAIT_VBLANK ld a,$0 ldh [rLCDC],a ;LCD off / rLCDC $FF40 ldh [rSTAT],a ;rstat $FF41 LCDC Stat ld a,%11100100 ;shade palette (11 10 01 00) ldh [rBGP],a ;setup palettes / rBGP = $FF47 ldh [rOCPD],a ; rOCPD = $FF6B, object color palette (GBC) ldh [rOBP0],a call CLEAR_DMA_SOURCE_WRAM call CLEAR_MAP call LOAD_TILES call LOAD_MAP call INIT_PLAYER call INIT_RABBITS ld a,%11010011 ;turn on LCD, BG0, OBJ0, etc ldh [rLCDC],a ;load LCD flags call DMA_COPY ;move DMA routine to HRAM LOOP: call READ_JOYPAD call MOVE_PLAYER call PLAYER_SHOOT call UPDATE_BULLET call SPAWN_RABBITS call ANIMATE_RABBITS call UPDATE_RABBITS call UPDATE_PLAYER call PLAYER_WATER call WAIT_VBLANK call _HRAM ;call DMA routine from HRAM jp LOOP ;------------- ; Subroutines ;------------- WAIT_VBLANK: ld hl,vblank_flag .wait_vblank_loop halt nop ;Hardware bug ld a,$0 cp [hl] jr z,.wait_vblank_loop ld [hl],a ld a,[vblank_count] inc a ld [vblank_count],a ld a,[player_frame_time] inc a ld [player_frame_time],a ld a,[rabbit_spawn_time] inc a ld [rabbit_spawn_time],a ld a,[rabbit_y_spawn] inc a ld [rabbit_y_spawn],a ld a,[rabbit_move_time] inc a ld [rabbit_move_time],a ld a,[player_update_time] inc a ld [player_update_time],a ld a,[rabbit_frame_time] inc a ld [rabbit_frame_time],a ret ; Apparently RAM is zeroed on the hardware (gbc & gba tested), BGB has random data in WRAM. ; Set area which is used by DMA to all zero CLEAR_DMA_SOURCE_WRAM: ld hl,$c100 ;graphics location ld bc,$9F ;oam size .clear_oam_loop ld a, $0 ld [hli], a ;set memory at [hl] to 0, inc hl +1 dec bc ld a, b or c jr nz,.clear_oam_loop ret ; DMA_COPY routine: ; first we load $C1 into the DMA register at $FF46 ; ld a, $C1 ; ld [$FF46], a ; DMA transfer begins, we need to wait 160 microseconds while it transfers ; the following loop takes exactly that long ;ld a, $28 ;.loop: ; dec a ; jr nz, .loop ; ret DMA_COPY: ld de,_HRAM ;DMA routine, gets placed in HRAM rst $28 DB $00,$0D DB $F5, $3E, $C1, $EA, $46, $FF, $3E, $28, $3D, $20, $FD, $F1, $D9 ret CLEAR_MAP: ld hl,_SCRN0 ;load map0 ram ld bc,$400 .clear_map_loop ld a,$0 ld [hli],a ;clear tile, increment hl dec bc ld a,b or c jr nz,.clear_map_loop ret LOAD_TILES: ld hl,TILE_DATA ld de,_VRAM ld bc,TILE_COUNT .load_tiles_loop ld a,[hli] ;grab a byte ld [de],a ;store the byte in VRAM inc de dec bc ld a,b or c jr nz,.load_tiles_loop ret LOAD_MAP: ld hl,MAP_DATA ;same as LOAD_TILES ld de,_SCRN0 ld bc,$400 .load_map_loop ld a,[hli] ld [de],a inc de dec bc ld a,b or c jr nz,.load_map_loop ret INIT_TIMERS: ld a,$0 ld [vblank_count],a ld [rabbit_spawn_time],a ld [blood_count],a ld [rabbit_move_time],a ld [rabbit_spawn_side],a ld [player_frame_time],a ld [crop_count],a ld [rabbit_y_spawn],a ld [player_update_time],a ld [rabbit_frame_time],a ld a,$9 ld [rabbit_frame],a ret ; Joypad description ; Bit 7 - Not used ; Bit 6 - Not used ; Bit 5 - P15 Select Button Keys (0=Select) ; Bit 4 - P14 Select Direction Keys (0=Select) ; Bit 3 - P13 Input Down or Start (0=Pressed) (Read Only) ; Bit 2 - P12 Input Up or Select (0=Pressed) (Read Only) ; Bit 1 - P11 Input Left or Button B (0=Pressed) (Read Only) ; Bit 0 - P10 Input Right or Button A (0=Pressed) (Read Only) ; Button UP: 1110 1011 ; complement: 0001 0100 ; and %00001111: 0000 0100 ; swap a: 0100 0000 ; Button B: 1101 1101 ; complement: 0010 0010 ; and %00001111: 0000 0010 ; a OR B: 0100 0010 READ_JOYPAD: ld a,P1F_5 ;select dpad (p15) ld [rP1],a ;rP1 / Joypad / FF00 ld a,[rP1] ;takes a few cycles to get accurate reading ld a,[rP1] ld a,[rP1] ld a,[rP1] cpl ;complement a / flip all bits and %00001111 ;select dpad buttons swap a ; ld b,a ld a,P1F_4 ;select other buttons (p14) ld [rP1],a ld a,[rP1] ld a,[rP1] ld a,[rP1] ld a,[rP1] cpl and %00001111 or b ; higher nibble are dpad buttons, lower nibble is other buttons ld b,a ld a,[joypad_pressed_dpad] cpl and b ld [joypad_pressed_action],a ;upper nybble is dpad ld a,b ld [joypad_pressed_dpad],a ret JOY_RIGHT: and %00010000 cp %00010000 jp nz,JOY_FALSE ld a,$1 ret JOY_LEFT: and %00100000 cp %00100000 jp nz,JOY_FALSE ld a,$1 ret JOY_UP: and %01000000 cp %01000000 jp nz,JOY_FALSE ld a,$1 ret JOY_DOWN: and %10000000 cp %10000000 jp nz,JOY_FALSE ld a,$1 ret JOY_A: and %00000001 cp %00000001 jp nz,JOY_FALSE ld a,$1 ret JOY_B: and %00000010 cp %00000010 jp nz,JOY_FALSE ld a,$1 ret JOY_SELECT: and %00000100 cp %00000100 jp nz,JOY_FALSE ld a,$1 ret JOY_START: and %00001000 cp %00001000 jp nz,JOY_FALSE ld a,$1 ret JOY_FALSE: ld a,$0 ret INIT_RABBITS: ld hl,rabbit_sprites ld b,8 ;8 sprites, 4 bytes each .init_rabbit_loop ld a,$0 ;off position ld [hli],a ;y ld [hli],a ;x ld a,$9 ;default tile ld [hli],a ;tile ld a,$0 ;default flags ld [hli],a ;flags dec b jr nz,.init_rabbit_loop ret SPAWN_RABBITS: ld a,[rabbit_spawn_time] cp $10 jr nz,.end ;spawn every x vblanks ld a,[rabbit_spawn_side] inc a ld [rabbit_spawn_side],a ld a,$0 ld [rabbit_spawn_time],a ld b,$8 ;8 rabbits, 4 byte each ld hl,rabbit_sprites .find_idle_rabbit ;find a rabbit not currently used ld a,[hl] cp $0 jr nz,.next jp .spawn .next inc hl ;y->x inc hl ;x->tile inc hl ;tile->flags inc hl ;flags->next y dec b jr nz,.find_idle_rabbit jp .end .spawn ld a,[rabbit_spawn_side] cp $1 jr nz,.right ld c,$0 ld e,%00000000 jp .spawn_now .right ld a,$0 ld [rabbit_spawn_side],a ld c,$A4 ld e,%00100000 .spawn_now ld a,[rabbit_y_spawn] ;y spawn ld [hli],a ;y->x ld a,c ;x spawn ld [hli],a ;x->tile inc hl ;tile->flags ld [hl],e .end ret ANIMATE_RABBITS: ld a,[rabbit_frame_time] cp $10 jr z,.animate ret .animate ld a,$0 ld [rabbit_frame_time],a ld a,[rabbit_frame] inc a cp $B jr z,.reset ld [rabbit_frame],a ret .reset ld a,$9 ld [rabbit_frame],a ld a,$0 ld [rabbit_frame_time],a ret UPDATE_RABBITS: ld a,[rabbit_move_time] ;update every 4 vblanks cp $4 jr nz,.end ld a,$0 ld [rabbit_move_time],a ld a,[rabbit_y_spawn] cp $90 jr nz,.loop_start ld a,$0 ld [rabbit_y_spawn],a .loop_start ld hl,rabbit_sprites ld b,$8 .loop ld a,[hli] ;y->x cp $0 jr z,.next .check ld a,[hli] ;x->tile cp $AF jr nz,.move dec hl ;x<-tile dec hl ;y<-x ld a,$0 ;despawn when off screen ld [hl],a inc hl ;y->x jp .next .move inc hl ;tile->flags ld a,[hl] dec hl ;tile<-flags dec hl ;x<-tile and %00100000 jr z,.right .left ld a,[hl] dec a dec a ld [hl],a jp .coll_up .right ld a,[hl] inc a inc a ld [hl],a ;below is basic AABB collision .coll_up dec hl ;y ld a,[bullet_y] add $4 sub [hl] jr nc,.coll_down jp .con_next .coll_down ld a,[bullet_y] sub $4 sub [hl] jr nc,.con_next jp .coll_left .coll_left inc hl ;x ld a,[bullet_x] add $6 sub [hl] jr nc,.coll_right dec hl ;y jp .con_next .coll_right ld a,[bullet_x] sub $4 sub [hl] dec hl ;y jr nc,.con_next jp .die .con_next inc hl ;x jp .next .next inc hl ;x->tile ld a,[rabbit_frame] ld [hl],a inc hl ;tile->flags inc hl ;flags->next y dec b jr nz,.loop .end ret .die ld a,$0 ld [hl],a ld [bullet_x],a ld [bullet_y],a ld [bullet_reset],a call PLAY_SWEEP ld a,$1 ld [blood_count],a ret INIT_PLAYER: ld a,$50 ld [player_x],a ld [player_y],a ld [crop_x],a ld [crop_y],a ld a,$4 ld [player_tile],a ld a,$6 ld [bullet_tile],a ld a,$0 ld [player_sprite_flags],a ld [bullet_sprite_flags],a ld [bullet_x],a ld [bullet_y],a ld [bullet_reset],a ld [blood_count_flags],a ; ld [crop_flags],a ld [crop_count_flags],a ld a,$B ld [crop_tile],a ld a,$98 ld [crop_count_y],a ld a,$69 ld [crop_count_x],a ld a,$98 ld [blood_count_y],a ld a,$31 ld [blood_count_x],a ld a,$15 ld [blood_count_tile],a ld [crop_count_tile],a ret MOVE_PLAYER: ld a,[player_frame_time] ;animate player tile cp $8 jr nz,.move_speed ld a,$0 ld [player_frame_time],a ld a,[player_tile] inc a cp $6 jr z,.tile_reset ld b,a ld a,[joypad_pressed_dpad] ;dpad pressed? and %11110000 jr z,.tile_reset ld a,b ld [player_tile],a .move_speed ld a,[vblank_count] cp $2 jp nz,.move_done ld a,$0 ld [vblank_count],a jp .move_right .tile_reset ld a,$4 ld [player_tile],a jp .move_speed .move_right ld a,[player_x] ;right bound cp $A0 jr z,.move_left ld a,[joypad_pressed_dpad] call JOY_RIGHT jr nz,.move_left ld a,[player_x] inc a ld [player_x],a ld a,[player_sprite_flags] ;flip tile res 5,a ;set bit 5 to 0 ld [player_sprite_flags],a .move_left ld a,[player_x] ;left bound cp $8 jr z,.move_up ld a,[joypad_pressed_dpad] call JOY_LEFT jr nz,.move_up ld a,[player_x] dec a ld [player_x],a ld a,[player_sprite_flags] ;flip tile set 5,a ld [player_sprite_flags],a .move_up ld a,[player_y] ;up bound cp $10 jr z,.move_down ld a,[joypad_pressed_dpad] call JOY_UP jr nz,.move_down ld a,[player_y] dec a ld [player_y],a .move_down ld a,[player_y] ;left bound cp $90 jr z,.move_done ld a,[joypad_pressed_dpad] call JOY_DOWN jr nz,.move_done ld a,[player_y] inc a ld [player_y],a .move_done ret PLAYER_SHOOT: ld a,[joypad_pressed_action] call JOY_A cp $1 jr z,.shoot ;a pressed? .end ret .shoot ld a,[bullet_reset] cp $0 jr nz,.end ;bullet at 0x0? ld a,[player_x] ;set bullet to player pos ld [bullet_x],a ld a,[player_y] ld [bullet_y],a ld a,[player_sprite_flags] ld [bullet_sprite_flags],a ld a,$1 ld [bullet_reset],a call PLAY_NOISE ret UPDATE_PLAYER: ld a,[blood_count] cp $1 jr z,.blood_1 ld a,$15 ld [blood_count_tile],a jp .loop_start .blood_1 ld a,$16 ld [blood_count_tile],a .loop_start ld hl,rabbit_sprites ld b,$8 .loop ld a,[hli] ;y->x cp $0 jr z,.next .coll_up dec hl ;y ld a,[player_y] add $4 sub [hl] jr nc,.coll_down jp .con_next .coll_down ld a,[player_y] sub $4 sub [hl] jr nc,.con_next jp .coll_left .coll_left inc hl ;x ld a,[player_x] add $6 sub [hl] jr nc,.coll_right dec hl ;y jp .con_next .coll_right ld a,[player_x] sub $4 sub [hl] dec hl ;y jr nc,.con_next jp .die .con_next inc hl ;x jp .next .next inc hl ;tile inc hl ;flags inc hl ;next y dec b jr nz,.loop .end ret .die call START ret PLAYER_WATER: ld a,[joypad_pressed_action] call JOY_B jr nz,.done ld a,[blood_count] cp $1 jr z,.has_blood jp .done .has_blood call PLAY_WATER ld a,$0 ld [blood_count],a .coll_up ld hl,crop_y ld a,[player_y] add $4 sub [hl] jr nc,.coll_down jp .done .coll_down ld a,[player_y] sub $4 sub [hl] jr nc,.done jp .coll_left .coll_left ld hl,crop_x ld a,[player_x] add $6 sub [hl] jr nc,.coll_right jp .done .coll_right ld a,[player_x] sub $4 sub [hl] jr nc,.done .con ld a,[crop_tile] inc a cp $E jr z,.reset ld [crop_tile],a jp .done .reset ld a,[crop_count] inc a ld [crop_count],a add $15 ld [crop_count_tile],a ld a,$B ld [crop_tile],a .done ret UPDATE_BULLET: ld a,[bullet_sprite_flags] and %00100000 ld a,[bullet_x] jr z,.right .left dec a dec a jp .check_collision .right inc a inc a .check_collision ld [bullet_x],a cp $0 jr z,.reset cp $1 jr z,.reset cp $A4 jr z,.reset cp $A3 jr z,.reset .end ret .reset ld a,$0 ld [bullet_x],a ld [bullet_y],a ld [bullet_reset],a ret PLAY_NOISE: ld a,%01000101 ld [rNR42],a ld a,%01111001 ld [rNR43],a ld a,%11111111 ld [rNR50],a ld [rNR51],a ld a,%10000000 ld [rNR44],a ret PLAY_SWEEP: ld a,%10000001 ld [rNR42],a ld a,%01111001 ld [rNR43],a ld a,%11111111 ld [rNR50],a ld [rNR51],a ld a,%10000000 ld [rNR44],a ret PLAY_WATER: ld a,%10000001 ld [rNR42],a ld a,%01111011 ld [rNR43],a ld a,%11111111 ld [rNR50],a ld [rNR51],a ld a,%10000000 ld [rNR44],a ret ;------------- ; RAM Vars ;------------- ; DB = Byte ; DW = Word / 2 byte ; DL = DoubleWord / 4 byte SECTION "RAM Vars",WRAM0[$C000] vblank_flag: db rabbit_spawn_time: db vblank_count: db joypad_pressed_dpad: db ;down/up/left/right joypad_pressed_action: db ;start/select/a/b player_frame_time: db player_update_time: db bullet_reset: db rabbit_y_spawn: db rabbit_move_time: db rabbit_spawn_side: db rabbit_frame_time: db rabbit_frame: db blood_count: db crop_count: db SECTION "RAM OAM Vars",WRAM0[$C100] player_y: db player_x: db player_tile: db player_sprite_flags: db bullet_y: db bullet_x: db bullet_tile: db bullet_sprite_flags: db crop_y: db crop_x: db crop_tile: db crop_flags: db blood_count_y: db blood_count_x: db blood_count_tile: db blood_count_flags: db crop_count_y: db crop_count_x: db crop_count_tile: db crop_count_flags: db rabbit_sprites: db ;8 wabbits ;------------- ; End of file ;-------------
libsrc/graphics/zx81/hr/invhrg_arx.asm
jpoikela/z88dk
640
80937
;-------------------------------------------------------------- ; ARX816 style Graphics ; for the ZX81 ;-------------------------------------------------------------- ; ; Invert screen output ; ; Stefano - Oct 2011 ; ; ; $Id: invhrg_arx.asm,v 1.3 2016-06-27 20:26:33 dom Exp $ ; SECTION code_clib PUBLIC invhrg PUBLIC _invhrg EXTERN HRG_LineStart invhrg: _invhrg: ld hl,HRG_LineStart ld c,2 invhrg2: ld b,32 invloop: ld a,(hl) xor 128 ld (hl),a inc hl djnz invloop inc hl ld b,32 dec c jr nz,invhrg2 ret
oeis/201/A201203.asm
neoneye/loda-programs
11
179519
<filename>oeis/201/A201203.asm ; A201203: Alternating row sums of triangle A201201: first associated monic Laguerre-Sonin(e) polynomials with parameter alpha=1 evaluated at x=-1. ; Submitted by <NAME> ; 1,-5,29,-201,1631,-15173,159093,-1854893,23788271,-332613321,5033396573,-81929955953,1426898945343,-26468817431501,520884561854501,-10836674357638293,237603001692915983,-5475288709200573713,132276033079845108621,-3342707646777431442521,88180494917894606407583,-2423791338494083961896533,69298862480767275366900053,-2057711442708862146011216381,63363966089691604226432003631,-2020777764992894629093605544793,66661272879645698433193038414653,-2271984563805176471097237397771713 add $0,1 mov $3,1 lpb $0 sub $0,1 sub $2,1 mul $3,$2 add $3,$1 mul $1,$2 sub $1,$3 lpe mov $0,$1
oeis/152/A152873.asm
neoneye/loda-programs
11
80277
; A152873: Number of permutations of {1,2,...,n} (n>=2) having a single run of even entries. For example, the permutation 513284679 has a single run of even entries: 2846. ; Submitted by <NAME>(m3) ; 2,6,12,48,144,720,2880,17280,86400,604800,3628800,29030400,203212800,1828915200,14631321600,146313216000,1316818944000,14485008384000,144850083840000,1738201006080000,19120211066880000,248562743869440000 mov $1,3 mov $2,1 lpb $0 mov $3,$2 lpb $3 mov $2,$0 add $2,1 sub $3,$0 lpe sub $0,1 add $2,1 mul $1,$2 lpe mov $0,$1 div $0,3 mul $0,2
source/environment/a-envvar.adb
ytomino/drake
33
22048
<filename>source/environment/a-envvar.adb<gh_stars>10-100 package body Ada.Environment_Variables is procedure Start (Object : out Iterator); procedure Start (Object : out Iterator) is begin Object.Block := System.Native_Environment_Variables.Get_Block; end Start; -- implementation procedure Iterate ( Process : not null access procedure (Name, Value : String)) is Ite : Iterator; -- controlled I : Cursor; begin Start (Ite); I := First (Ite); while Has_Element (I) loop Process (Name (I), Value (I)); I := Next (Ite, I); end loop; end Iterate; function Has_Element (Position : Cursor) return Boolean is begin return System.Native_Environment_Variables.Has_Element ( System.Native_Environment_Variables.Cursor (Position)); end Has_Element; function Name (Position : Cursor) return String is begin return System.Native_Environment_Variables.Name ( System.Native_Environment_Variables.Cursor (Position)); end Name; function Value (Position : Cursor) return String is begin return System.Native_Environment_Variables.Value ( System.Native_Environment_Variables.Cursor (Position)); end Value; function Iterate return Iterator_Interfaces.Forward_Iterator'Class is begin return Result : Iterator do Start (Result); end return; end Iterate; overriding procedure Finalize (Object : in out Iterator) is begin System.Native_Environment_Variables.Release_Block (Object.Block); end Finalize; overriding function First (Object : Iterator) return Cursor is begin return Cursor (System.Native_Environment_Variables.First (Object.Block)); end First; overriding function Next (Object : Iterator; Position : Cursor) return Cursor is begin return Cursor ( System.Native_Environment_Variables.Next ( Object.Block, System.Native_Environment_Variables.Cursor (Position))); end Next; end Ada.Environment_Variables;
tasks/extern/malloc.asm
yds12/x86-roadmap
15
12144
; This program will call functions from the C library (glibc), in this case ; malloc and exit. ; Build with: ; ; $ nasm -felf64 tasks/extern/malloc.asm -o bin/malloc.o ; $ ld bin/malloc.o -lc -I /lib64/ld-linux-x86-64.so.2 -o bin/malloc ; ; The -lc option tells ld to link with the C library, and the -I option is ; telling ld to use /lib64/ld-linux-x86-64.so.2 as the dynamic linker. ; ; To see the return of the program, use: ; ; $ echo $? ; extern exit ; We declare these functions as extern to extern malloc ; let nasm know that they are somewhere else. ; The linker will do the job of finding them. section .text global _start _start: mov rdi, 8 ; The first argument in the x64 calling ; conventions is RDI. We will call malloc with ; argument 8 (to allocate 8 bytes). call malloc ; calls malloc from the C library mov [rax], dword 1 ; malloc returns the address of the allocated ; memory in RAX. We store a int32 in the first ; position mov [rax + 4], dword 2 ; and another int32 at the second position mov edx, dword [rax] ; now we put the first value in EDX add edx, dword [rax + 4] ; and sum with the second mov rdi, rdx ; call C library's exit with EDX's value as call exit ; exit code
oeis/133/A133985.asm
neoneye/loda-programs
11
25583
; A133985: Expansion of f(-x, x^2) in powers of x where f(, ) is Ramanujan's general theta function. ; Submitted by <NAME>(s1.) ; 1,-1,1,0,0,-1,0,-1,0,0,0,0,1,0,0,-1,0,0,0,0,0,0,1,0,0,0,1,0,0,0,0,0,0,0,0,-1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,-1,0,0,0,0,0,-1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,-1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0 mul $0,3 seq $0,106459 ; Expansion of f(-x, -x^3) in powers of x where f(,) is Ramanujan's general theta function.
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_216.asm
ljhsiun2/medusa
9
8009
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r13 push %rax push %rbp push %rcx push %rdi push %rsi lea addresses_normal_ht+0x164ae, %r11 nop nop nop nop nop sub %rsi, %rsi mov $0x6162636465666768, %r10 movq %r10, %xmm5 movups %xmm5, (%r11) cmp $49463, %rax lea addresses_WC_ht+0xfa92, %rsi lea addresses_A_ht+0x89f2, %rdi nop nop nop xor $21537, %rbp mov $74, %rcx rep movsl nop xor %r10, %r10 lea addresses_normal_ht+0x14b96, %rsi and %rbp, %rbp mov $0x6162636465666768, %r10 movq %r10, (%rsi) nop nop nop cmp %rbp, %rbp lea addresses_UC_ht+0xb062, %rbp and %rsi, %rsi vmovups (%rbp), %ymm5 vextracti128 $1, %ymm5, %xmm5 vpextrq $1, %xmm5, %r11 nop nop cmp $9367, %r10 lea addresses_WC_ht+0x19772, %rsi lea addresses_normal_ht+0x81f2, %rdi nop nop nop nop nop cmp %r13, %r13 mov $35, %rcx rep movsl and %rax, %rax lea addresses_A_ht+0x1a7f2, %rsi nop nop nop nop nop cmp $42474, %r11 movl $0x61626364, (%rsi) nop and $7776, %r10 lea addresses_D_ht+0x54f2, %rsi lea addresses_WT_ht+0x70da, %rdi nop nop add %r10, %r10 mov $67, %rcx rep movsl add $22735, %rbp lea addresses_WT_ht+0x1bf2, %rsi nop nop nop nop nop xor $11687, %rcx movb $0x61, (%rsi) nop nop nop nop dec %r11 lea addresses_WC_ht+0x19f2, %rdi nop nop and $12747, %rsi mov $0x6162636465666768, %r10 movq %r10, (%rdi) nop cmp %r13, %r13 lea addresses_normal_ht+0x7cf2, %rax nop nop and %r11, %r11 vmovups (%rax), %ymm5 vextracti128 $0, %ymm5, %xmm5 vpextrq $0, %xmm5, %rdi nop nop nop nop inc %r10 lea addresses_WC_ht+0x16352, %rsi lea addresses_WC_ht+0xa592, %rdi nop nop nop nop nop xor $57070, %r10 mov $86, %rcx rep movsq nop nop sub $59938, %rdi lea addresses_UC_ht+0x123f2, %rsi lea addresses_D_ht+0x4df2, %rdi clflush (%rdi) xor $63821, %r13 mov $11, %rcx rep movsq nop xor %rax, %rax lea addresses_UC_ht+0xe9f2, %rdi xor %rsi, %rsi mov $0x6162636465666768, %r13 movq %r13, %xmm3 and $0xffffffffffffffc0, %rdi movaps %xmm3, (%rdi) nop nop nop xor $57444, %rdi pop %rsi pop %rdi pop %rcx pop %rbp pop %rax pop %r13 pop %r11 pop %r10 ret .global s_faulty_load s_faulty_load: push %r10 push %r11 push %r13 push %r15 push %r9 push %rdi push %rsi // Store lea addresses_RW+0x6b72, %r13 nop nop nop add %rdi, %rdi movl $0x51525354, (%r13) xor %r10, %r10 // Load lea addresses_US+0x1629, %rsi cmp $65417, %r15 movaps (%rsi), %xmm2 vpextrq $1, %xmm2, %r13 nop nop nop cmp %rsi, %rsi // Store lea addresses_UC+0xf9f2, %rsi nop nop nop xor %r9, %r9 mov $0x5152535455565758, %r10 movq %r10, %xmm2 vmovaps %ymm2, (%rsi) nop and $4562, %rdi // Store lea addresses_WT+0x1b32, %rdi nop nop and $56678, %r9 movb $0x51, (%rdi) nop nop nop add %r10, %r10 // Load lea addresses_normal+0x35ca, %r9 dec %r11 movb (%r9), %r15b nop nop nop nop nop inc %rsi // Load mov $0x472, %r9 xor $56785, %rsi mov (%r9), %r10w nop nop nop nop add $23436, %r11 // Faulty Load lea addresses_D+0x61f2, %r9 add $23991, %rdi movb (%r9), %r13b lea oracles, %r10 and $0xff, %r13 shlq $12, %r13 mov (%r10,%r13,1), %r13 pop %rsi pop %rdi pop %r9 pop %r15 pop %r13 pop %r11 pop %r10 ret /* <gen_faulty_load> [REF] {'OP': 'LOAD', 'src': {'same': False, 'type': 'addresses_D', 'NT': False, 'AVXalign': False, 'size': 8, 'congruent': 0}} {'OP': 'STOR', 'dst': {'same': False, 'type': 'addresses_RW', 'NT': False, 'AVXalign': False, 'size': 4, 'congruent': 7}} {'OP': 'LOAD', 'src': {'same': False, 'type': 'addresses_US', 'NT': False, 'AVXalign': True, 'size': 16, 'congruent': 0}} {'OP': 'STOR', 'dst': {'same': False, 'type': 'addresses_UC', 'NT': False, 'AVXalign': True, 'size': 32, 'congruent': 9}} {'OP': 'STOR', 'dst': {'same': False, 'type': 'addresses_WT', 'NT': False, 'AVXalign': False, 'size': 1, 'congruent': 4}} {'OP': 'LOAD', 'src': {'same': False, 'type': 'addresses_normal', 'NT': False, 'AVXalign': False, 'size': 1, 'congruent': 2}} {'OP': 'LOAD', 'src': {'same': False, 'type': 'addresses_P', 'NT': False, 'AVXalign': False, 'size': 2, 'congruent': 6}} [Faulty Load] {'OP': 'LOAD', 'src': {'same': True, 'type': 'addresses_D', 'NT': False, 'AVXalign': False, 'size': 1, 'congruent': 0}} <gen_prepare_buffer> {'OP': 'STOR', 'dst': {'same': False, 'type': 'addresses_normal_ht', 'NT': False, 'AVXalign': False, 'size': 16, 'congruent': 2}} {'OP': 'REPM', 'src': {'same': False, 'congruent': 5, 'type': 'addresses_WC_ht'}, 'dst': {'same': False, 'congruent': 11, 'type': 'addresses_A_ht'}} {'OP': 'STOR', 'dst': {'same': False, 'type': 'addresses_normal_ht', 'NT': False, 'AVXalign': False, 'size': 8, 'congruent': 2}} {'OP': 'LOAD', 'src': {'same': True, 'type': 'addresses_UC_ht', 'NT': False, 'AVXalign': False, 'size': 32, 'congruent': 4}} {'OP': 'REPM', 'src': {'same': False, 'congruent': 6, 'type': 'addresses_WC_ht'}, 'dst': {'same': False, 'congruent': 7, 'type': 'addresses_normal_ht'}} {'OP': 'STOR', 'dst': {'same': False, 'type': 'addresses_A_ht', 'NT': False, 'AVXalign': False, 'size': 4, 'congruent': 9}} {'OP': 'REPM', 'src': {'same': False, 'congruent': 8, 'type': 'addresses_D_ht'}, 'dst': {'same': False, 'congruent': 3, 'type': 'addresses_WT_ht'}} {'OP': 'STOR', 'dst': {'same': False, 'type': 'addresses_WT_ht', 'NT': False, 'AVXalign': False, 'size': 1, 'congruent': 9}} {'OP': 'STOR', 'dst': {'same': False, 'type': 'addresses_WC_ht', 'NT': False, 'AVXalign': False, 'size': 8, 'congruent': 11}} {'OP': 'LOAD', 'src': {'same': False, 'type': 'addresses_normal_ht', 'NT': False, 'AVXalign': False, 'size': 32, 'congruent': 8}} {'OP': 'REPM', 'src': {'same': False, 'congruent': 5, 'type': 'addresses_WC_ht'}, 'dst': {'same': False, 'congruent': 4, 'type': 'addresses_WC_ht'}} {'OP': 'REPM', 'src': {'same': False, 'congruent': 8, 'type': 'addresses_UC_ht'}, 'dst': {'same': False, 'congruent': 10, 'type': 'addresses_D_ht'}} {'OP': 'STOR', 'dst': {'same': False, 'type': 'addresses_UC_ht', 'NT': False, 'AVXalign': True, 'size': 16, 'congruent': 11}} {'36': 21829} 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 */
Assignment1/initial/src/main/mp/parser/MP.g4
jimcbl/ppl_hcmut_assignment
1
6095
grammar MP; @lexer::header { from lexererr import * } options{ language=Python3; } program : mptype 'main' LB RB LP body? RP EOF ; mptype: INTTYPE | VOIDTYPE ; body: funcall SEMI; exp: funcall | INTLIT ; funcall: ID LB exp? RB ; INTTYPE: 'int' ; VOIDTYPE: 'void' ; ID: [a-zA-Z]+ ; INTLIT: [0-9]+; LB: '(' ; RB: ')' ; LP: '{'; RP: '}'; SEMI: ';' ; WS : [ \t\r\n]+ -> skip ; // skip spaces, tabs, newlines ERROR_CHAR: .; UNCLOSE_STRING: .; ILLEGAL_ESCAPE: .;
agda-stdlib/src/Data/Bool/Properties.agda
DreamLinuxer/popl21-artifact
5
4332
<reponame>DreamLinuxer/popl21-artifact ------------------------------------------------------------------------ -- The Agda standard library -- -- A bunch of properties ------------------------------------------------------------------------ {-# OPTIONS --without-K --safe #-} module Data.Bool.Properties where open import Algebra.Bundles open import Data.Bool.Base open import Data.Empty open import Data.Product open import Data.Sum.Base open import Function.Base open import Function.Equality using (_⟨$⟩_) open import Function.Equivalence using (_⇔_; equivalence; module Equivalence) open import Level using (Level; 0ℓ) open import Relation.Binary open import Relation.Binary.PropositionalEquality hiding ([_]) open import Relation.Nullary using (ofʸ; ofⁿ; does; proof; yes; no) open import Relation.Nullary.Decidable using (True) import Relation.Unary as U open import Algebra.Definitions {A = Bool} _≡_ open import Algebra.Structures {A = Bool} _≡_ open ≡-Reasoning private variable a b : Level A : Set a B : Set b ------------------------------------------------------------------------ -- Properties of _≡_ infix 4 _≟_ _≟_ : Decidable {A = Bool} _≡_ true ≟ true = yes refl false ≟ false = yes refl true ≟ false = no λ() false ≟ true = no λ() ≡-setoid : Setoid 0ℓ 0ℓ ≡-setoid = setoid Bool ≡-decSetoid : DecSetoid 0ℓ 0ℓ ≡-decSetoid = decSetoid _≟_ ------------------------------------------------------------------------ -- Properties of _≤_ -- Relational properties ≤-reflexive : _≡_ ⇒ _≤_ ≤-reflexive refl = b≤b ≤-refl : Reflexive _≤_ ≤-refl = ≤-reflexive refl ≤-trans : Transitive _≤_ ≤-trans b≤b p = p ≤-trans f≤t b≤b = f≤t ≤-antisym : Antisymmetric _≡_ _≤_ ≤-antisym b≤b _ = refl ≤-minimum : Minimum _≤_ false ≤-minimum false = b≤b ≤-minimum true = f≤t ≤-maximum : Maximum _≤_ true ≤-maximum false = f≤t ≤-maximum true = b≤b ≤-total : Total _≤_ ≤-total false b = inj₁ (≤-minimum b) ≤-total true b = inj₂ (≤-maximum b) infix 4 _≤?_ _≤?_ : Decidable _≤_ false ≤? b = yes (≤-minimum b) true ≤? false = no λ () true ≤? true = yes b≤b ≤-irrelevant : Irrelevant _≤_ ≤-irrelevant {_} f≤t f≤t = refl ≤-irrelevant {false} b≤b b≤b = refl ≤-irrelevant {true} b≤b b≤b = refl -- Structures ≤-isPreorder : IsPreorder _≡_ _≤_ ≤-isPreorder = record { isEquivalence = isEquivalence ; reflexive = ≤-reflexive ; trans = ≤-trans } ≤-isPartialOrder : IsPartialOrder _≡_ _≤_ ≤-isPartialOrder = record { isPreorder = ≤-isPreorder ; antisym = ≤-antisym } ≤-isTotalOrder : IsTotalOrder _≡_ _≤_ ≤-isTotalOrder = record { isPartialOrder = ≤-isPartialOrder ; total = ≤-total } ≤-isDecTotalOrder : IsDecTotalOrder _≡_ _≤_ ≤-isDecTotalOrder = record { isTotalOrder = ≤-isTotalOrder ; _≟_ = _≟_ ; _≤?_ = _≤?_ } -- Bundles ≤-poset : Poset 0ℓ 0ℓ 0ℓ ≤-poset = record { isPartialOrder = ≤-isPartialOrder } ≤-preorder : Preorder 0ℓ 0ℓ 0ℓ ≤-preorder = record { isPreorder = ≤-isPreorder } ≤-totalOrder : TotalOrder 0ℓ 0ℓ 0ℓ ≤-totalOrder = record { isTotalOrder = ≤-isTotalOrder } ≤-decTotalOrder : DecTotalOrder 0ℓ 0ℓ 0ℓ ≤-decTotalOrder = record { isDecTotalOrder = ≤-isDecTotalOrder } ------------------------------------------------------------------------ -- Properties of _<_ -- Relational properties <-irrefl : Irreflexive _≡_ _<_ <-irrefl refl () <-asym : Asymmetric _<_ <-asym f<t () <-trans : Transitive _<_ <-trans f<t () <-transʳ : Trans _≤_ _<_ _<_ <-transʳ b≤b f<t = f<t <-transˡ : Trans _<_ _≤_ _<_ <-transˡ f<t b≤b = f<t <-cmp : Trichotomous _≡_ _<_ <-cmp false false = tri≈ (λ()) refl (λ()) <-cmp false true = tri< f<t (λ()) (λ()) <-cmp true false = tri> (λ()) (λ()) f<t <-cmp true true = tri≈ (λ()) refl (λ()) infix 4 _<?_ _<?_ : Decidable _<_ false <? false = no (λ()) false <? true = yes f<t true <? _ = no (λ()) <-resp₂-≡ : _<_ Respects₂ _≡_ <-resp₂-≡ = subst (_ <_) , subst (_< _) <-irrelevant : Irrelevant _<_ <-irrelevant f<t f<t = refl -- Structures <-isStrictPartialOrder : IsStrictPartialOrder _≡_ _<_ <-isStrictPartialOrder = record { isEquivalence = isEquivalence ; irrefl = <-irrefl ; trans = <-trans ; <-resp-≈ = <-resp₂-≡ } <-isStrictTotalOrder : IsStrictTotalOrder _≡_ _<_ <-isStrictTotalOrder = record { isEquivalence = isEquivalence ; trans = <-trans ; compare = <-cmp } -- Bundles <-strictPartialOrder : StrictPartialOrder 0ℓ 0ℓ 0ℓ <-strictPartialOrder = record { isStrictPartialOrder = <-isStrictPartialOrder } <-strictTotalOrder : StrictTotalOrder 0ℓ 0ℓ 0ℓ <-strictTotalOrder = record { isStrictTotalOrder = <-isStrictTotalOrder } ------------------------------------------------------------------------ -- Properties of _∨_ ∨-assoc : Associative _∨_ ∨-assoc true y z = refl ∨-assoc false y z = refl ∨-comm : Commutative _∨_ ∨-comm true true = refl ∨-comm true false = refl ∨-comm false true = refl ∨-comm false false = refl ∨-identityˡ : LeftIdentity false _∨_ ∨-identityˡ _ = refl ∨-identityʳ : RightIdentity false _∨_ ∨-identityʳ false = refl ∨-identityʳ true = refl ∨-identity : Identity false _∨_ ∨-identity = ∨-identityˡ , ∨-identityʳ ∨-zeroˡ : LeftZero true _∨_ ∨-zeroˡ _ = refl ∨-zeroʳ : RightZero true _∨_ ∨-zeroʳ false = refl ∨-zeroʳ true = refl ∨-zero : Zero true _∨_ ∨-zero = ∨-zeroˡ , ∨-zeroʳ ∨-inverseˡ : LeftInverse true not _∨_ ∨-inverseˡ false = refl ∨-inverseˡ true = refl ∨-inverseʳ : RightInverse true not _∨_ ∨-inverseʳ x = ∨-comm x (not x) ⟨ trans ⟩ ∨-inverseˡ x ∨-inverse : Inverse true not _∨_ ∨-inverse = ∨-inverseˡ , ∨-inverseʳ ∨-idem : Idempotent _∨_ ∨-idem false = refl ∨-idem true = refl ∨-sel : Selective _∨_ ∨-sel false y = inj₂ refl ∨-sel true y = inj₁ refl ∨-isMagma : IsMagma _∨_ ∨-isMagma = record { isEquivalence = isEquivalence ; ∙-cong = cong₂ _∨_ } ∨-magma : Magma 0ℓ 0ℓ ∨-magma = record { isMagma = ∨-isMagma } ∨-isSemigroup : IsSemigroup _∨_ ∨-isSemigroup = record { isMagma = ∨-isMagma ; assoc = ∨-assoc } ∨-semigroup : Semigroup 0ℓ 0ℓ ∨-semigroup = record { isSemigroup = ∨-isSemigroup } ∨-isBand : IsBand _∨_ ∨-isBand = record { isSemigroup = ∨-isSemigroup ; idem = ∨-idem } ∨-band : Band 0ℓ 0ℓ ∨-band = record { isBand = ∨-isBand } ∨-isSemilattice : IsSemilattice _∨_ ∨-isSemilattice = record { isBand = ∨-isBand ; comm = ∨-comm } ∨-semilattice : Semilattice 0ℓ 0ℓ ∨-semilattice = record { isSemilattice = ∨-isSemilattice } ∨-isMonoid : IsMonoid _∨_ false ∨-isMonoid = record { isSemigroup = ∨-isSemigroup ; identity = ∨-identity } ∨-isCommutativeMonoid : IsCommutativeMonoid _∨_ false ∨-isCommutativeMonoid = record { isMonoid = ∨-isMonoid ; comm = ∨-comm } ∨-commutativeMonoid : CommutativeMonoid 0ℓ 0ℓ ∨-commutativeMonoid = record { isCommutativeMonoid = ∨-isCommutativeMonoid } ∨-isIdempotentCommutativeMonoid : IsIdempotentCommutativeMonoid _∨_ false ∨-isIdempotentCommutativeMonoid = record { isCommutativeMonoid = ∨-isCommutativeMonoid ; idem = ∨-idem } ∨-idempotentCommutativeMonoid : IdempotentCommutativeMonoid 0ℓ 0ℓ ∨-idempotentCommutativeMonoid = record { isIdempotentCommutativeMonoid = ∨-isIdempotentCommutativeMonoid } ------------------------------------------------------------------------ -- Properties of _∧_ ∧-assoc : Associative _∧_ ∧-assoc true y z = refl ∧-assoc false y z = refl ∧-comm : Commutative _∧_ ∧-comm true true = refl ∧-comm true false = refl ∧-comm false true = refl ∧-comm false false = refl ∧-identityˡ : LeftIdentity true _∧_ ∧-identityˡ _ = refl ∧-identityʳ : RightIdentity true _∧_ ∧-identityʳ false = refl ∧-identityʳ true = refl ∧-identity : Identity true _∧_ ∧-identity = ∧-identityˡ , ∧-identityʳ ∧-zeroˡ : LeftZero false _∧_ ∧-zeroˡ _ = refl ∧-zeroʳ : RightZero false _∧_ ∧-zeroʳ false = refl ∧-zeroʳ true = refl ∧-zero : Zero false _∧_ ∧-zero = ∧-zeroˡ , ∧-zeroʳ ∧-inverseˡ : LeftInverse false not _∧_ ∧-inverseˡ false = refl ∧-inverseˡ true = refl ∧-inverseʳ : RightInverse false not _∧_ ∧-inverseʳ x = ∧-comm x (not x) ⟨ trans ⟩ ∧-inverseˡ x ∧-inverse : Inverse false not _∧_ ∧-inverse = ∧-inverseˡ , ∧-inverseʳ ∧-idem : Idempotent _∧_ ∧-idem false = refl ∧-idem true = refl ∧-sel : Selective _∧_ ∧-sel false y = inj₁ refl ∧-sel true y = inj₂ refl ∧-distribˡ-∨ : _∧_ DistributesOverˡ _∨_ ∧-distribˡ-∨ true y z = refl ∧-distribˡ-∨ false y z = refl ∧-distribʳ-∨ : _∧_ DistributesOverʳ _∨_ ∧-distribʳ-∨ x y z = begin (y ∨ z) ∧ x ≡⟨ ∧-comm (y ∨ z) x ⟩ x ∧ (y ∨ z) ≡⟨ ∧-distribˡ-∨ x y z ⟩ x ∧ y ∨ x ∧ z ≡⟨ cong₂ _∨_ (∧-comm x y) (∧-comm x z) ⟩ y ∧ x ∨ z ∧ x ∎ ∧-distrib-∨ : _∧_ DistributesOver _∨_ ∧-distrib-∨ = ∧-distribˡ-∨ , ∧-distribʳ-∨ ∨-distribˡ-∧ : _∨_ DistributesOverˡ _∧_ ∨-distribˡ-∧ true y z = refl ∨-distribˡ-∧ false y z = refl ∨-distribʳ-∧ : _∨_ DistributesOverʳ _∧_ ∨-distribʳ-∧ x y z = begin (y ∧ z) ∨ x ≡⟨ ∨-comm (y ∧ z) x ⟩ x ∨ (y ∧ z) ≡⟨ ∨-distribˡ-∧ x y z ⟩ (x ∨ y) ∧ (x ∨ z) ≡⟨ cong₂ _∧_ (∨-comm x y) (∨-comm x z) ⟩ (y ∨ x) ∧ (z ∨ x) ∎ ∨-distrib-∧ : _∨_ DistributesOver _∧_ ∨-distrib-∧ = ∨-distribˡ-∧ , ∨-distribʳ-∧ ∧-abs-∨ : _∧_ Absorbs _∨_ ∧-abs-∨ true y = refl ∧-abs-∨ false y = refl ∨-abs-∧ : _∨_ Absorbs _∧_ ∨-abs-∧ true y = refl ∨-abs-∧ false y = refl ∨-∧-absorptive : Absorptive _∨_ _∧_ ∨-∧-absorptive = ∨-abs-∧ , ∧-abs-∨ ∧-isMagma : IsMagma _∧_ ∧-isMagma = record { isEquivalence = isEquivalence ; ∙-cong = cong₂ _∧_ } ∧-magma : Magma 0ℓ 0ℓ ∧-magma = record { isMagma = ∧-isMagma } ∧-isSemigroup : IsSemigroup _∧_ ∧-isSemigroup = record { isMagma = ∧-isMagma ; assoc = ∧-assoc } ∧-semigroup : Semigroup 0ℓ 0ℓ ∧-semigroup = record { isSemigroup = ∧-isSemigroup } ∧-isBand : IsBand _∧_ ∧-isBand = record { isSemigroup = ∧-isSemigroup ; idem = ∧-idem } ∧-band : Band 0ℓ 0ℓ ∧-band = record { isBand = ∧-isBand } ∧-isSemilattice : IsSemilattice _∧_ ∧-isSemilattice = record { isBand = ∧-isBand ; comm = ∧-comm } ∧-semilattice : Semilattice 0ℓ 0ℓ ∧-semilattice = record { isSemilattice = ∧-isSemilattice } ∧-isMonoid : IsMonoid _∧_ true ∧-isMonoid = record { isSemigroup = ∧-isSemigroup ; identity = ∧-identity } ∧-isCommutativeMonoid : IsCommutativeMonoid _∧_ true ∧-isCommutativeMonoid = record { isMonoid = ∧-isMonoid ; comm = ∧-comm } ∧-commutativeMonoid : CommutativeMonoid 0ℓ 0ℓ ∧-commutativeMonoid = record { isCommutativeMonoid = ∧-isCommutativeMonoid } ∧-isIdempotentCommutativeMonoid : IsIdempotentCommutativeMonoid _∧_ true ∧-isIdempotentCommutativeMonoid = record { isCommutativeMonoid = ∧-isCommutativeMonoid ; idem = ∧-idem } ∧-idempotentCommutativeMonoid : IdempotentCommutativeMonoid 0ℓ 0ℓ ∧-idempotentCommutativeMonoid = record { isIdempotentCommutativeMonoid = ∧-isIdempotentCommutativeMonoid } ∨-∧-isSemiring : IsSemiring _∨_ _∧_ false true ∨-∧-isSemiring = record { isSemiringWithoutAnnihilatingZero = record { +-isCommutativeMonoid = ∨-isCommutativeMonoid ; *-isMonoid = ∧-isMonoid ; distrib = ∧-distrib-∨ } ; zero = ∧-zero } ∨-∧-isCommutativeSemiring : IsCommutativeSemiring _∨_ _∧_ false true ∨-∧-isCommutativeSemiring = record { isSemiring = ∨-∧-isSemiring ; *-comm = ∧-comm } ∨-∧-commutativeSemiring : CommutativeSemiring 0ℓ 0ℓ ∨-∧-commutativeSemiring = record { _+_ = _∨_ ; _*_ = _∧_ ; 0# = false ; 1# = true ; isCommutativeSemiring = ∨-∧-isCommutativeSemiring } ∧-∨-isSemiring : IsSemiring _∧_ _∨_ true false ∧-∨-isSemiring = record { isSemiringWithoutAnnihilatingZero = record { +-isCommutativeMonoid = ∧-isCommutativeMonoid ; *-isMonoid = ∨-isMonoid ; distrib = ∨-distrib-∧ } ; zero = ∨-zero } ∧-∨-isCommutativeSemiring : IsCommutativeSemiring _∧_ _∨_ true false ∧-∨-isCommutativeSemiring = record { isSemiring = ∧-∨-isSemiring ; *-comm = ∨-comm } ∧-∨-commutativeSemiring : CommutativeSemiring 0ℓ 0ℓ ∧-∨-commutativeSemiring = record { _+_ = _∧_ ; _*_ = _∨_ ; 0# = true ; 1# = false ; isCommutativeSemiring = ∧-∨-isCommutativeSemiring } ∨-∧-isLattice : IsLattice _∨_ _∧_ ∨-∧-isLattice = record { isEquivalence = isEquivalence ; ∨-comm = ∨-comm ; ∨-assoc = ∨-assoc ; ∨-cong = cong₂ _∨_ ; ∧-comm = ∧-comm ; ∧-assoc = ∧-assoc ; ∧-cong = cong₂ _∧_ ; absorptive = ∨-∧-absorptive } ∨-∧-lattice : Lattice 0ℓ 0ℓ ∨-∧-lattice = record { isLattice = ∨-∧-isLattice } ∨-∧-isDistributiveLattice : IsDistributiveLattice _∨_ _∧_ ∨-∧-isDistributiveLattice = record { isLattice = ∨-∧-isLattice ; ∨-distribʳ-∧ = ∨-distribʳ-∧ } ∨-∧-distributiveLattice : DistributiveLattice 0ℓ 0ℓ ∨-∧-distributiveLattice = record { isDistributiveLattice = ∨-∧-isDistributiveLattice } ∨-∧-isBooleanAlgebra : IsBooleanAlgebra _∨_ _∧_ not true false ∨-∧-isBooleanAlgebra = record { isDistributiveLattice = ∨-∧-isDistributiveLattice ; ∨-complementʳ = ∨-inverseʳ ; ∧-complementʳ = ∧-inverseʳ ; ¬-cong = cong not } ∨-∧-booleanAlgebra : BooleanAlgebra 0ℓ 0ℓ ∨-∧-booleanAlgebra = record { isBooleanAlgebra = ∨-∧-isBooleanAlgebra } ------------------------------------------------------------------------ -- Properties of _xor_ xor-is-ok : ∀ x y → x xor y ≡ (x ∨ y) ∧ not (x ∧ y) xor-is-ok true y = refl xor-is-ok false y = sym (∧-identityʳ _) xor-∧-commutativeRing : CommutativeRing 0ℓ 0ℓ xor-∧-commutativeRing = commutativeRing where import Algebra.Properties.BooleanAlgebra as BA open BA ∨-∧-booleanAlgebra open XorRing _xor_ xor-is-ok ------------------------------------------------------------------------ -- Miscellaneous other properties not-involutive : Involutive not not-involutive true = refl not-involutive false = refl not-injective : ∀ {x y} → not x ≡ not y → x ≡ y not-injective {false} {false} nx≢ny = refl not-injective {true} {true} nx≢ny = refl not-¬ : ∀ {x y} → x ≡ y → x ≢ not y not-¬ {true} refl () not-¬ {false} refl () ¬-not : ∀ {x y} → x ≢ y → x ≡ not y ¬-not {true} {true} x≢y = ⊥-elim (x≢y refl) ¬-not {true} {false} _ = refl ¬-not {false} {true} _ = refl ¬-not {false} {false} x≢y = ⊥-elim (x≢y refl) ⇔→≡ : {x y z : Bool} → x ≡ z ⇔ y ≡ z → x ≡ y ⇔→≡ {true } {true } hyp = refl ⇔→≡ {true } {false} {true } hyp = sym (Equivalence.to hyp ⟨$⟩ refl) ⇔→≡ {true } {false} {false} hyp = Equivalence.from hyp ⟨$⟩ refl ⇔→≡ {false} {true } {true } hyp = Equivalence.from hyp ⟨$⟩ refl ⇔→≡ {false} {true } {false} hyp = sym (Equivalence.to hyp ⟨$⟩ refl) ⇔→≡ {false} {false} hyp = refl T-≡ : ∀ {x} → T x ⇔ x ≡ true T-≡ {false} = equivalence (λ ()) (λ ()) T-≡ {true} = equivalence (const refl) (const _) T-not-≡ : ∀ {x} → T (not x) ⇔ x ≡ false T-not-≡ {false} = equivalence (const refl) (const _) T-not-≡ {true} = equivalence (λ ()) (λ ()) T-∧ : ∀ {x y} → T (x ∧ y) ⇔ (T x × T y) T-∧ {true} {true} = equivalence (const (_ , _)) (const _) T-∧ {true} {false} = equivalence (λ ()) proj₂ T-∧ {false} {_} = equivalence (λ ()) proj₁ T-∨ : ∀ {x y} → T (x ∨ y) ⇔ (T x ⊎ T y) T-∨ {true} {_} = equivalence inj₁ (const _) T-∨ {false} {true} = equivalence inj₂ (const _) T-∨ {false} {false} = equivalence inj₁ [ id , id ] T-irrelevant : U.Irrelevant T T-irrelevant {true} _ _ = refl T? : U.Decidable T does (T? b) = b proof (T? true ) = ofʸ _ proof (T? false) = ofⁿ λ() T?-diag : ∀ b → T b → True (T? b) T?-diag true _ = _ push-function-into-if : ∀ (f : A → B) x {y z} → f (if x then y else z) ≡ (if x then f y else f z) push-function-into-if _ true = refl push-function-into-if _ false = refl ------------------------------------------------------------------------ -- DEPRECATED NAMES ------------------------------------------------------------------------ -- Please use the new names as continuing support for the old names is -- not guaranteed. -- Version 0.15 ∧-∨-distˡ = ∧-distribˡ-∨ {-# WARNING_ON_USAGE ∧-∨-distˡ "Warning: ∧-∨-distˡ was deprecated in v0.15. Please use ∧-distribˡ-∨ instead." #-} ∧-∨-distʳ = ∧-distribʳ-∨ {-# WARNING_ON_USAGE ∧-∨-distʳ "Warning: ∧-∨-distʳ was deprecated in v0.15. Please use ∧-distribʳ-∨ instead." #-} distrib-∧-∨ = ∧-distrib-∨ {-# WARNING_ON_USAGE distrib-∧-∨ "Warning: distrib-∧-∨ was deprecated in v0.15. Please use ∧-distrib-∨ instead." #-} ∨-∧-distˡ = ∨-distribˡ-∧ {-# WARNING_ON_USAGE ∨-∧-distˡ "Warning: ∨-∧-distˡ was deprecated in v0.15. Please use ∨-distribˡ-∧ instead." #-} ∨-∧-distʳ = ∨-distribʳ-∧ {-# WARNING_ON_USAGE ∨-∧-distʳ "Warning: ∨-∧-distʳ was deprecated in v0.15. Please use ∨-distribʳ-∧ instead." #-} ∨-∧-distrib = ∨-distrib-∧ {-# WARNING_ON_USAGE ∨-∧-distrib "Warning: ∨-∧-distrib was deprecated in v0.15. Please use ∨-distrib-∧ instead." #-} ∨-∧-abs = ∨-abs-∧ {-# WARNING_ON_USAGE ∨-∧-abs "Warning: ∨-∧-abs was deprecated in v0.15. Please use ∨-abs-∧ instead." #-} ∧-∨-abs = ∧-abs-∨ {-# WARNING_ON_USAGE ∧-∨-abs "Warning: ∧-∨-abs was deprecated in v0.15. Please use ∧-abs-∨ instead." #-} not-∧-inverseˡ = ∧-inverseˡ {-# WARNING_ON_USAGE not-∧-inverseˡ "Warning: not-∧-inverseˡ was deprecated in v0.15. Please use ∧-inverseˡ instead." #-} not-∧-inverseʳ = ∧-inverseʳ {-# WARNING_ON_USAGE not-∧-inverseʳ "Warning: not-∧-inverseʳ was deprecated in v0.15. Please use ∧-inverseʳ instead." #-} not-∧-inverse = ∧-inverse {-# WARNING_ON_USAGE not-∧-inverse "Warning: not-∧-inverse was deprecated in v0.15. Please use ∧-inverse instead." #-} not-∨-inverseˡ = ∨-inverseˡ {-# WARNING_ON_USAGE not-∨-inverseˡ "Warning: not-∨-inverseˡ was deprecated in v0.15. Please use ∨-inverseˡ instead." #-} not-∨-inverseʳ = ∨-inverseʳ {-# WARNING_ON_USAGE not-∨-inverseʳ "Warning: not-∨-inverseʳ was deprecated in v0.15. Please use ∨-inverseʳ instead." #-} not-∨-inverse = ∨-inverse {-# WARNING_ON_USAGE not-∨-inverse "Warning: not-∨-inverse was deprecated in v0.15. Please use ∨-inverse instead." #-} isCommutativeSemiring-∨-∧ = ∨-∧-isCommutativeSemiring {-# WARNING_ON_USAGE isCommutativeSemiring-∨-∧ "Warning: isCommutativeSemiring-∨-∧ was deprecated in v0.15. Please use ∨-∧-isCommutativeSemiring instead." #-} commutativeSemiring-∨-∧ = ∨-∧-commutativeSemiring {-# WARNING_ON_USAGE commutativeSemiring-∨-∧ "Warning: commutativeSemiring-∨-∧ was deprecated in v0.15. Please use ∨-∧-commutativeSemiring instead." #-} isCommutativeSemiring-∧-∨ = ∧-∨-isCommutativeSemiring {-# WARNING_ON_USAGE isCommutativeSemiring-∧-∨ "Warning: isCommutativeSemiring-∧-∨ was deprecated in v0.15. Please use ∧-∨-isCommutativeSemiring instead." #-} commutativeSemiring-∧-∨ = ∧-∨-commutativeSemiring {-# WARNING_ON_USAGE commutativeSemiring-∧-∨ "Warning: commutativeSemiring-∧-∨ was deprecated in v0.15. Please use ∧-∨-commutativeSemiring instead." #-} isBooleanAlgebra = ∨-∧-isBooleanAlgebra {-# WARNING_ON_USAGE isBooleanAlgebra "Warning: isBooleanAlgebra was deprecated in v0.15. Please use ∨-∧-isBooleanAlgebra instead." #-} booleanAlgebra = ∨-∧-booleanAlgebra {-# WARNING_ON_USAGE booleanAlgebra "Warning: booleanAlgebra was deprecated in v0.15. Please use ∨-∧-booleanAlgebra instead." #-} commutativeRing-xor-∧ = xor-∧-commutativeRing {-# WARNING_ON_USAGE commutativeRing-xor-∧ "Warning: commutativeRing-xor-∧ was deprecated in v0.15. Please use xor-∧-commutativeRing instead." #-} proof-irrelevance = T-irrelevant {-# WARNING_ON_USAGE proof-irrelevance "Warning: proof-irrelevance was deprecated in v0.15. Please use T-irrelevant instead." #-} -- Version 1.0 T-irrelevance = T-irrelevant {-# WARNING_ON_USAGE T-irrelevance "Warning: T-irrelevance was deprecated in v1.0. Please use T-irrelevant instead." #-}
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_21829_1100.asm
ljhsiun2/medusa
9
19382
<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r9 push %rax push %rcx push %rdi push %rdx push %rsi lea addresses_A_ht+0x1e9ba, %r9 clflush (%r9) nop nop nop nop nop and %r11, %r11 vmovups (%r9), %ymm3 vextracti128 $0, %ymm3, %xmm3 vpextrq $0, %xmm3, %r10 sub $40710, %rdx lea addresses_D_ht+0x5fba, %rsi cmp $32399, %r9 movb (%rsi), %al nop nop nop add %rax, %rax lea addresses_WT_ht+0x1b1e9, %rsi nop sub %rdi, %rdi mov (%rsi), %r9d nop sub $19538, %rsi lea addresses_normal_ht+0xea0a, %rsi lea addresses_A_ht+0x14656, %rdi nop nop cmp $54059, %rdx mov $36, %rcx rep movsl and $37772, %rsi pop %rsi pop %rdx pop %rdi pop %rcx pop %rax pop %r9 pop %r11 pop %r10 ret .global s_faulty_load s_faulty_load: push %r11 push %r12 push %r14 push %r8 push %rax push %rbx push %rsi // Store mov $0x162, %r11 and $35114, %rbx mov $0x5152535455565758, %r14 movq %r14, %xmm7 movups %xmm7, (%r11) nop nop nop nop nop add $63, %r14 // Store lea addresses_A+0x10472, %rbx nop nop nop nop add %rax, %rax mov $0x5152535455565758, %r12 movq %r12, (%rbx) nop nop nop nop nop cmp $13146, %r12 // Store lea addresses_A+0x29ea, %rax nop nop nop nop nop xor %r8, %r8 mov $0x5152535455565758, %rsi movq %rsi, %xmm4 vmovaps %ymm4, (%rax) nop nop nop nop xor $55683, %r12 // Store lea addresses_WC+0x4b2, %rbx nop nop nop nop nop sub %rax, %rax mov $0x5152535455565758, %rsi movq %rsi, %xmm2 movups %xmm2, (%rbx) nop xor $2122, %r12 // Store lea addresses_A+0xa7ba, %rbx and %r14, %r14 movw $0x5152, (%rbx) nop add %r14, %r14 // Load mov $0x1f8ed400000007ae, %r11 dec %rax movups (%r11), %xmm6 vpextrq $1, %xmm6, %r12 nop nop and $52089, %rsi // Load lea addresses_US+0x1ba, %rsi nop cmp $19469, %r8 mov (%rsi), %rax nop nop nop nop nop cmp %r11, %r11 // Store lea addresses_WC+0x10f42, %r11 nop and $15566, %rax mov $0x5152535455565758, %r8 movq %r8, %xmm4 and $0xffffffffffffffc0, %r11 vmovaps %ymm4, (%r11) nop nop nop nop nop xor %r8, %r8 // Store lea addresses_PSE+0x7b8a, %rbx xor $25320, %r12 mov $0x5152535455565758, %rsi movq %rsi, (%rbx) nop nop nop inc %rsi // Faulty Load lea addresses_PSE+0x16fba, %r8 nop nop dec %rsi mov (%r8), %r11 lea oracles, %rbx and $0xff, %r11 shlq $12, %r11 mov (%rbx,%r11,1), %r11 pop %rsi pop %rbx pop %rax pop %r8 pop %r14 pop %r12 pop %r11 ret /* <gen_faulty_load> [REF] {'OP': 'LOAD', 'src': {'same': False, 'NT': False, 'AVXalign': False, 'size': 32, 'type': 'addresses_PSE', 'congruent': 0}} {'dst': {'same': False, 'NT': False, 'AVXalign': False, 'size': 16, 'type': 'addresses_P', 'congruent': 3}, 'OP': 'STOR'} {'dst': {'same': False, 'NT': False, 'AVXalign': False, 'size': 8, 'type': 'addresses_A', 'congruent': 3}, 'OP': 'STOR'} {'dst': {'same': False, 'NT': True, 'AVXalign': True, 'size': 32, 'type': 'addresses_A', 'congruent': 4}, 'OP': 'STOR'} {'dst': {'same': False, 'NT': False, 'AVXalign': False, 'size': 16, 'type': 'addresses_WC', 'congruent': 3}, 'OP': 'STOR'} {'dst': {'same': False, 'NT': False, 'AVXalign': False, 'size': 2, 'type': 'addresses_A', 'congruent': 9}, 'OP': 'STOR'} {'OP': 'LOAD', 'src': {'same': False, 'NT': False, 'AVXalign': False, 'size': 16, 'type': 'addresses_NC', 'congruent': 2}} {'OP': 'LOAD', 'src': {'same': False, 'NT': False, 'AVXalign': False, 'size': 8, 'type': 'addresses_US', 'congruent': 7}} {'dst': {'same': False, 'NT': False, 'AVXalign': True, 'size': 32, 'type': 'addresses_WC', 'congruent': 1}, 'OP': 'STOR'} {'dst': {'same': False, 'NT': False, 'AVXalign': False, 'size': 8, 'type': 'addresses_PSE', 'congruent': 4}, 'OP': 'STOR'} [Faulty Load] {'OP': 'LOAD', 'src': {'same': True, 'NT': False, 'AVXalign': False, 'size': 8, 'type': 'addresses_PSE', 'congruent': 0}} <gen_prepare_buffer> {'OP': 'LOAD', 'src': {'same': True, 'NT': False, 'AVXalign': False, 'size': 32, 'type': 'addresses_A_ht', 'congruent': 5}} {'OP': 'LOAD', 'src': {'same': False, 'NT': False, 'AVXalign': False, 'size': 1, 'type': 'addresses_D_ht', 'congruent': 11}} {'OP': 'LOAD', 'src': {'same': True, 'NT': False, 'AVXalign': False, 'size': 4, 'type': 'addresses_WT_ht', 'congruent': 0}} {'dst': {'same': False, 'congruent': 0, 'type': 'addresses_A_ht'}, 'OP': 'REPM', 'src': {'same': False, 'congruent': 4, 'type': 'addresses_normal_ht'}} {'33': 21829} 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 */
src/Container.agda
nad/equality
3
11888
------------------------------------------------------------------------ -- Containers, including a definition of bag equivalence ------------------------------------------------------------------------ {-# OPTIONS --without-K --safe #-} open import Equality module Container {c⁺} (eq : ∀ {a p} → Equality-with-J a p c⁺) where open Derived-definitions-and-properties eq open import Logical-equivalence using (_⇔_) open import Prelude hiding (id; List) open import Bag-equivalence eq using (Kind); open Kind open import Bijection eq as Bijection using (_↔_; module _↔_) open import Equivalence eq as Eq using (Is-equivalence; _≃_; ⟨_,_⟩; module _≃_) open import Function-universe eq as Function-universe hiding (inverse; Kind) renaming (_∘_ to _⟨∘⟩_) open import H-level eq open import H-level.Closure eq open import Surjection eq using (module _↠_) ------------------------------------------------------------------------ -- Containers record Container c : Type (lsuc c) where constructor _▷_ field Shape : Type c Position : Shape → Type c open Container public -- Interpretation of containers. ⟦_⟧ : ∀ {c ℓ} → Container c → Type ℓ → Type _ ⟦ S ▷ P ⟧ A = ∃ λ (s : S) → (P s → A) ------------------------------------------------------------------------ -- Some projections -- The shape of something. shape : ∀ {a c} {A : Type a} {C : Container c} → ⟦ C ⟧ A → Shape C shape = proj₁ -- Finds the value at the given position. index : ∀ {a c} {A : Type a} {C : Container c} (xs : ⟦ C ⟧ A) → Position C (shape xs) → A index = proj₂ ------------------------------------------------------------------------ -- Map -- Containers are functors. map : ∀ {c x y} {C : Container c} {X : Type x} {Y : Type y} → (X → Y) → ⟦ C ⟧ X → ⟦ C ⟧ Y map f = Σ-map id (f ∘_) module Map where identity : ∀ {c x} {C : Container c} {X : Type x} (xs : ⟦ C ⟧ X) → map id xs ≡ xs identity xs = refl _ composition : ∀ {c x y z} {C : Container c} {X : Type x} {Y : Type y} {Z : Type z} (f : Y → Z) (g : X → Y) (xs : ⟦ C ⟧ X) → map f (map g xs) ≡ map (f ∘ g) xs composition f g xs = refl _ -- Naturality. Natural : ∀ {c₁ c₂ a} {C₁ : Container c₁} {C₂ : Container c₂} → ({A : Type a} → ⟦ C₁ ⟧ A → ⟦ C₂ ⟧ A) → Type (c₁ ⊔ c₂ ⊔ lsuc a) Natural function = ∀ {A B} (f : A → B) xs → map f (function xs) ≡ function (map f xs) -- Natural transformations. infixr 4 _[_]⟶_ record _[_]⟶_ {c₁ c₂} (C₁ : Container c₁) ℓ (C₂ : Container c₂) : Type (c₁ ⊔ c₂ ⊔ lsuc ℓ) where field function : {A : Type ℓ} → ⟦ C₁ ⟧ A → ⟦ C₂ ⟧ A natural : Natural function -- Natural isomorphisms. record _[_]↔_ {c₁ c₂} (C₁ : Container c₁) ℓ (C₂ : Container c₂) : Type (c₁ ⊔ c₂ ⊔ lsuc ℓ) where field isomorphism : {A : Type ℓ} → ⟦ C₁ ⟧ A ↔ ⟦ C₂ ⟧ A natural : Natural (_↔_.to isomorphism) -- Natural isomorphisms are natural transformations. natural-transformation : C₁ [ ℓ ]⟶ C₂ natural-transformation = record { function = _↔_.to isomorphism ; natural = natural } -- Natural isomorphisms can be inverted. inverse : C₂ [ ℓ ]↔ C₁ inverse = record { isomorphism = Function-universe.inverse isomorphism ; natural = λ f xs → map f (from xs) ≡⟨ sym $ left-inverse-of _ ⟩ from (to (map f (from xs))) ≡⟨ sym $ cong from $ natural f (from xs) ⟩ from (map f (to (from xs))) ≡⟨ cong (from ∘ map f) $ right-inverse-of _ ⟩∎ from (map f xs) ∎ } where open module I {A : Type ℓ} = _↔_ (isomorphism {A = A}) open Function-universe using (inverse) ------------------------------------------------------------------------ -- Any, _∈_, bag equivalence and similar relations -- Definition of Any for containers. Any : ∀ {a c p} {A : Type a} {C : Container c} → (A → Type p) → (⟦ C ⟧ A → Type (c ⊔ p)) Any {C = S ▷ P} Q (s , f) = ∃ λ (p : P s) → Q (f p) -- Membership predicate. infix 4 _∈_ _∈_ : ∀ {a c} {A : Type a} {C : Container c} → A → ⟦ C ⟧ A → Type _ x ∈ xs = Any (λ y → x ≡ y) xs -- Bag equivalence etc. Note that the containers can be different as -- long as the elements they contain have equal types. infix 4 _∼[_]_ _∼[_]_ : ∀ {a c₁ c₂} {A : Type a} {C₁ : Container c₁} {C₂ : Container c₂} → ⟦ C₁ ⟧ A → Kind → ⟦ C₂ ⟧ A → Type _ xs ∼[ k ] ys = ∀ z → z ∈ xs ↝[ k ] z ∈ ys -- Bag equivalence. infix 4 _≈-bag_ _≈-bag_ : ∀ {a c₁ c₂} {A : Type a} {C₁ : Container c₁} {C₂ : Container c₂} → ⟦ C₁ ⟧ A → ⟦ C₂ ⟧ A → Type _ xs ≈-bag ys = xs ∼[ bag ] ys ------------------------------------------------------------------------ -- Various properties related to Any, _∈_ and _∼[_]_ -- Lemma relating Any to map. Any-map : ∀ {a b c p} {A : Type a} {B : Type b} {C : Container c} (P : B → Type p) (f : A → B) (xs : ⟦ C ⟧ A) → Any P (map f xs) ↔ Any (P ∘ f) xs Any-map P f xs = Any P (map f xs) □ -- Any can be expressed using _∈_. Any-∈ : ∀ {a c p} {A : Type a} {C : Container c} (P : A → Type p) (xs : ⟦ C ⟧ A) → Any P xs ↔ ∃ λ x → P x × x ∈ xs Any-∈ P (s , f) = (∃ λ p → P (f p)) ↔⟨ ∃-cong (λ p → ∃-intro P (f p)) ⟩ (∃ λ p → ∃ λ x → P x × x ≡ f p) ↔⟨ ∃-comm ⟩ (∃ λ x → ∃ λ p → P x × x ≡ f p) ↔⟨ ∃-cong (λ _ → ∃-comm) ⟩ (∃ λ x → P x × ∃ λ p → x ≡ f p) □ -- Using this property we can prove that Any and _⊎_ commute. Any-⊎ : ∀ {a c p q} {A : Type a} {C : Container c} (P : A → Type p) (Q : A → Type q) (xs : ⟦ C ⟧ A) → Any (λ x → P x ⊎ Q x) xs ↔ Any P xs ⊎ Any Q xs Any-⊎ P Q xs = Any (λ x → P x ⊎ Q x) xs ↔⟨ Any-∈ (λ x → P x ⊎ Q x) xs ⟩ (∃ λ x → (P x ⊎ Q x) × x ∈ xs) ↔⟨ ∃-cong (λ x → ×-⊎-distrib-right) ⟩ (∃ λ x → P x × x ∈ xs ⊎ Q x × x ∈ xs) ↔⟨ ∃-⊎-distrib-left ⟩ (∃ λ x → P x × x ∈ xs) ⊎ (∃ λ x → Q x × x ∈ xs) ↔⟨ inverse $ Any-∈ P xs ⊎-cong Any-∈ Q xs ⟩ Any P xs ⊎ Any Q xs □ -- Any preserves functions of various kinds and respects bag -- equivalence and similar relations. Any-cong : ∀ {k a c d p q} {A : Type a} {C : Container c} {D : Container d} (P : A → Type p) (Q : A → Type q) (xs : ⟦ C ⟧ A) (ys : ⟦ D ⟧ A) → (∀ x → P x ↝[ k ] Q x) → xs ∼[ k ] ys → Any P xs ↝[ k ] Any Q ys Any-cong P Q xs ys P↔Q xs∼ys = Any P xs ↔⟨ Any-∈ P xs ⟩ (∃ λ z → P z × z ∈ xs) ↝⟨ ∃-cong (λ z → P↔Q z ×-cong xs∼ys z) ⟩ (∃ λ z → Q z × z ∈ ys) ↔⟨ inverse (Any-∈ Q ys) ⟩ Any Q ys □ -- Map preserves the relations. map-cong : ∀ {k a b c d} {A : Type a} {B : Type b} {C : Container c} {D : Container d} (f : A → B) (xs : ⟦ C ⟧ A) (ys : ⟦ D ⟧ A) → xs ∼[ k ] ys → map f xs ∼[ k ] map f ys map-cong f xs ys xs∼ys = λ z → z ∈ map f xs ↔⟨ Any-map (_≡_ z) f xs ⟩ Any (λ x → z ≡ f x) xs ↝⟨ Any-cong _ _ xs ys (λ x → z ≡ f x □) xs∼ys ⟩ Any (λ x → z ≡ f x) ys ↔⟨ inverse (Any-map (_≡_ z) f ys) ⟩ z ∈ map f ys □ -- Lemma relating Any to if_then_else_. Any-if : ∀ {a c p} {A : Type a} {C : Container c} (P : A → Type p) (xs ys : ⟦ C ⟧ A) b → Any P (if b then xs else ys) ↔ T b × Any P xs ⊎ T (not b) × Any P ys Any-if P xs ys = inverse ∘ if-lemma (λ b → Any P (if b then xs else ys)) id id -- One can reconstruct (up to natural isomorphism) the shape set and -- the position predicate from the interpretation and the Any -- predicate transformer. -- -- (The following lemmas were suggested by an anonymous reviewer.) Shape′ : ∀ {c} → (Type → Type c) → Type c Shape′ F = F ⊤ Shape-⟦⟧ : ∀ {c} (C : Container c) → Shape C ↔ Shape′ ⟦ C ⟧ Shape-⟦⟧ C = Shape C ↔⟨ inverse ×-right-identity ⟩ Shape C × ⊤ ↔⟨ ∃-cong (λ _ → inverse →-right-zero) ⟩ (∃ λ (s : Shape C) → Position C s → ⊤) □ Position′ : ∀ {c} (F : Type → Type c) → ({A : Type} → (A → Type) → (F A → Type c)) → Shape′ F → Type c Position′ _ Any = Any (λ (_ : ⊤) → ⊤) Position-Any : ∀ {c} {C : Container c} (s : Shape C) → Position C s ↔ Position′ ⟦ C ⟧ Any (_↔_.to (Shape-⟦⟧ C) s) Position-Any {C = C} s = Position C s ↔⟨ inverse ×-right-identity ⟩ Position C s × ⊤ □ expressed-in-terms-of-interpretation-and-Any : ∀ {c ℓ} (C : Container c) → C [ ℓ ]↔ (⟦ C ⟧ ⊤ ▷ Any (λ _ → ⊤)) expressed-in-terms-of-interpretation-and-Any C = record { isomorphism = λ {A} → (∃ λ (s : Shape C) → Position C s → A) ↔⟨ Σ-cong (Shape-⟦⟧ C) (λ _ → lemma) ⟩ (∃ λ (s : Shape′ ⟦ C ⟧) → Position′ ⟦ C ⟧ Any s → A) □ ; natural = λ _ _ → refl _ } where -- If equality of functions had been extensional, then the following -- lemma could have been replaced by a congruence lemma applied to -- Position-Any. lemma : ∀ {a b} {A : Type a} {B : Type b} → (B → A) ↔ (B × ⊤ → A) lemma = record { surjection = record { logical-equivalence = record { to = λ { f (p , tt) → f p } ; from = λ f p → f (p , tt) } ; right-inverse-of = λ _ → refl _ } ; left-inverse-of = λ _ → refl _ } ------------------------------------------------------------------------ -- Alternative definition of bag equivalence -- Two things are bag equivalent if there is a bijection (or -- equivalence) between their positions that relates equal things. infix 4 _≈[_]′_ _≈[_]′_ : ∀ {a c d} {A : Type a} {C : Container c} {D : Container d} → ⟦ C ⟧ A → Isomorphism-kind → ⟦ D ⟧ A → Type _ _≈[_]′_ {C = C} {D} (s , f) k (s′ , f′) = ∃ λ (P↔P : Position C s ↔[ k ] Position D s′) → (∀ p → f p ≡ f′ (to-implication P↔P p)) -- If the position sets are sets (have H-level two), then the two -- instantiations of _≈[_]′_ are isomorphic (assuming extensionality). ≈′↔≈′ : ∀ {a c d} {A : Type a} {C : Container c} {D : Container d} → Extensionality (c ⊔ d) (c ⊔ d) → (∀ s → Is-set (Position C s)) → (xs : ⟦ C ⟧ A) (ys : ⟦ D ⟧ A) → xs ≈[ bag ]′ ys ↔ xs ≈[ bag-with-equivalence ]′ ys ≈′↔≈′ ext P-set (s , f) (s′ , f′) = (∃ λ P↔P → ∀ p → f p ≡ f′ (to-implication P↔P p)) ↔⟨ Σ-cong (Eq.↔↔≃ ext (P-set s)) (λ _ → Bijection.id) ⟩ (∃ λ P↔P → ∀ p → f p ≡ f′ (to-implication P↔P p)) □ -- The definition _≈[_]′_ is also logically equivalent to the one -- given above. The proof is very similar to the one given in -- Bag-equivalence. -- Membership can be expressed as "there is an index which points to -- the element". In fact, membership /is/ expressed in this way, so -- this proof is unnecessary. ∈-index : ∀ {a c} {A : Type a} {C : Container c} {z} (xs : ⟦ C ⟧ A) → z ∈ xs ↔ ∃ λ p → z ≡ index xs p ∈-index {z = z} xs = z ∈ xs □ -- The index which points to the element (not used below). index-of : ∀ {a c} {A : Type a} {C : Container c} {z} (xs : ⟦ C ⟧ A) → z ∈ xs → Position C (shape xs) index-of xs = proj₁ ∘ to-implication (∈-index xs) -- The positions for a given shape can be expressed in terms of the -- membership predicate. Position-shape : ∀ {a c} {A : Type a} {C : Container c} (xs : ⟦ C ⟧ A) → (∃ λ z → z ∈ xs) ↔ Position C (shape xs) Position-shape {C = C} (s , f) = (∃ λ z → ∃ λ p → z ≡ f p) ↔⟨ ∃-comm ⟩ (∃ λ p → ∃ λ z → z ≡ f p) ↔⟨⟩ (∃ λ p → Singleton (f p)) ↔⟨ ∃-cong (λ _ → _⇔_.to contractible⇔↔⊤ (singleton-contractible _)) ⟩ Position C s × ⊤ ↔⟨ ×-right-identity ⟩ Position C s □ -- Position _ ∘ shape respects the various relations. Position-shape-cong : ∀ {k a c d} {A : Type a} {C : Container c} {D : Container d} (xs : ⟦ C ⟧ A) (ys : ⟦ D ⟧ A) → xs ∼[ k ] ys → Position C (shape xs) ↝[ k ] Position D (shape ys) Position-shape-cong {C = C} {D} xs ys xs∼ys = Position C (shape xs) ↔⟨ inverse $ Position-shape xs ⟩ ∃ (λ z → z ∈ xs) ↝⟨ ∃-cong xs∼ys ⟩ ∃ (λ z → z ∈ ys) ↔⟨ Position-shape ys ⟩ Position D (shape ys) □ -- Furthermore Position-shape-cong relates equal elements. Position-shape-cong-relates : ∀ {k a c d} {A : Type a} {C : Container c} {D : Container d} (xs : ⟦ C ⟧ A) (ys : ⟦ D ⟧ A) (xs≈ys : xs ∼[ k ] ys) p → index xs p ≡ index ys (to-implication (Position-shape-cong xs ys xs≈ys) p) Position-shape-cong-relates {bag} xs ys xs≈ys p = index xs p ≡⟨ proj₂ $ to-implication (xs≈ys (index xs p)) (p , refl _) ⟩ index ys (proj₁ $ to-implication (xs≈ys (index xs p)) (p , refl _)) ≡⟨⟩ index ys (_↔_.to (Position-shape ys) $ Σ-map id (λ {z} → to-implication (xs≈ys z)) $ _↔_.from (Position-shape xs) $ p) ≡⟨⟩ index ys (_↔_.to (Position-shape ys) $ to-implication (∃-cong xs≈ys) $ _↔_.from (Position-shape xs) $ p) ≡⟨⟩ index ys (to-implication ((from-bijection (Position-shape ys) ⟨∘⟩ ∃-cong xs≈ys) ⟨∘⟩ from-bijection (inverse $ Position-shape xs)) p) ≡⟨⟩ index ys (to-implication (Position-shape-cong xs ys xs≈ys) p) ∎ Position-shape-cong-relates {bag-with-equivalence} xs ys xs≈ys p = proj₂ $ to-implication (xs≈ys (index xs p)) (p , refl _) Position-shape-cong-relates {bag-with-equivalenceᴱ} xs ys xs≈ys p = proj₂ $ to-implication (xs≈ys (index xs p)) (p , refl _) Position-shape-cong-relates {subbag} xs ys xs≈ys p = proj₂ $ to-implication (xs≈ys (index xs p)) (p , refl _) Position-shape-cong-relates {set} xs ys xs≈ys p = proj₂ $ to-implication (xs≈ys (index xs p)) (p , refl _) Position-shape-cong-relates {subset} xs ys xs≈ys p = proj₂ $ to-implication (xs≈ys (index xs p)) (p , refl _) Position-shape-cong-relates {embedding} xs ys xs≈ys p = proj₂ $ to-implication (xs≈ys (index xs p)) (p , refl _) Position-shape-cong-relates {surjection} xs ys xs≈ys p = proj₂ $ to-implication (xs≈ys (index xs p)) (p , refl _) -- We get that the two definitions of bag equivalence are logically -- equivalent. ≈⇔≈′ : ∀ {k a c d} {A : Type a} {C : Container c} {D : Container d} (xs : ⟦ C ⟧ A) (ys : ⟦ D ⟧ A) → xs ∼[ ⌊ k ⌋-iso ] ys ⇔ xs ≈[ k ]′ ys ≈⇔≈′ {k} xs ys = record { to = λ xs≈ys → ( Position-shape-cong xs ys xs≈ys , Position-shape-cong-relates xs ys xs≈ys ) ; from = from } where from : xs ≈[ k ]′ ys → xs ∼[ ⌊ k ⌋-iso ] ys from (P↔P , related) = λ z → z ∈ xs ↔⟨⟩ ∃ (λ p → z ≡ index xs p) ↔⟨ Σ-cong P↔P (λ p → _↠_.from (Π≡↔≡-↠-≡ k _ _) (related p) z) ⟩ ∃ (λ p → z ≡ index ys p) ↔⟨⟩ z ∈ ys □ -- If equivalences are used, then the definitions are isomorphic -- (assuming extensionality). -- -- <NAME> helped me with this proof: At first I wasn't sure -- if it was true or not, but then I managed to prove it for singleton -- lists, Thierry found a proof for lists of length two, I found one -- for streams, and finally I could complete a proof of the statement -- below. ≈↔≈′ : ∀ {a c d} {A : Type a} {C : Container c} {D : Container d} → Extensionality (a ⊔ c ⊔ d) (a ⊔ c ⊔ d) → (xs : ⟦ C ⟧ A) (ys : ⟦ D ⟧ A) → xs ∼[ bag-with-equivalence ] ys ↔ xs ≈[ bag-with-equivalence ]′ ys ≈↔≈′ {a} {c} {d} {C = C} {D} ext xs ys = record { surjection = record { logical-equivalence = equiv ; right-inverse-of = λ { (⟨ f , f-eq ⟩ , related) → let P : (Position C (shape xs) → Position D (shape ys)) → Type (a ⊔ c) P f = ∀ p → index xs p ≡ index ys (f p) f-eq′ : Is-equivalence f f-eq′ = _ irr : f-eq′ ≡ f-eq irr = proj₁ $ +⇒≡ $ Eq.propositional (lower-extensionality a a ext) f f≡f : ⟨ f , f-eq′ ⟩ ≡ ⟨ f , f-eq ⟩ f≡f = cong (⟨_,_⟩ f) irr cong-to-f≡f : cong _≃_.to f≡f ≡ refl f cong-to-f≡f = cong _≃_.to f≡f ≡⟨ cong-∘ _≃_.to (⟨_,_⟩ f) irr ⟩ cong (_≃_.to ∘ ⟨_,_⟩ f) irr ≡⟨ cong-const irr ⟩∎ refl _ ∎ in Σ-≡,≡→≡ f≡f (subst (P ∘ _≃_.to) f≡f (trans (refl _) ∘ related) ≡⟨ cong (subst (P ∘ _≃_.to) f≡f) (apply-ext (lower-extensionality (a ⊔ d) (c ⊔ d) ext) λ _ → trans-reflˡ _) ⟩ subst (P ∘ _≃_.to) f≡f related ≡⟨ subst-∘ P _≃_.to f≡f ⟩ subst P (cong _≃_.to f≡f) related ≡⟨ cong (λ eq → subst P eq related) cong-to-f≡f ⟩ subst P (refl _) related ≡⟨ subst-refl P related ⟩∎ related ∎) } } ; left-inverse-of = λ xs≈ys → apply-ext (lower-extensionality (c ⊔ d) a ext) λ z → Eq.lift-equality ext $ apply-ext (lower-extensionality d c ext) λ { (p , z≡xs[p]) → let xs[p]≡ys[-] : ∃ λ p′ → index xs p ≡ index ys p′ xs[p]≡ys[-] = _≃_.to (xs≈ys (index xs p)) (p , refl _) in Σ-map id (trans z≡xs[p]) xs[p]≡ys[-] ≡⟨ elim₁ (λ {z} z≡xs[p] → Σ-map id (trans z≡xs[p]) xs[p]≡ys[-] ≡ _≃_.to (xs≈ys z) (p , z≡xs[p])) (Σ-map id (trans (refl _)) xs[p]≡ys[-] ≡⟨ cong (_,_ _) (trans-reflˡ _) ⟩∎ xs[p]≡ys[-] ∎) z≡xs[p] ⟩∎ _≃_.to (xs≈ys z) (p , z≡xs[p]) ∎ } } where equiv = ≈⇔≈′ {k = equivalence} xs ys open _⇔_ equiv ------------------------------------------------------------------------ -- Another alternative definition of bag equivalence -- A higher-order variant of _∼[_]_. Note that this definition is -- large (due to the quantification over predicates). infix 4 _∼[_]″_ _∼[_]″_ : ∀ {a c d} {A : Type a} {C : Container c} {D : Container d} → ⟦ C ⟧ A → Kind → ⟦ D ⟧ A → Type (lsuc a ⊔ c ⊔ d) _∼[_]″_ {a} {A = A} xs k ys = (P : A → Type a) → Any P xs ↝[ k ] Any P ys -- This definition is logically equivalent to _∼[_]_. ∼⇔∼″ : ∀ {k a c d} {A : Type a} {C : Container c} {D : Container d} (xs : ⟦ C ⟧ A) (ys : ⟦ D ⟧ A) → xs ∼[ k ] ys ⇔ xs ∼[ k ]″ ys ∼⇔∼″ xs ys = record { to = λ xs∼ys P → Any-cong P P xs ys (λ _ → id) xs∼ys ; from = λ Any-xs↝Any-ys z → Any-xs↝Any-ys (λ x → z ≡ x) } ------------------------------------------------------------------------ -- The ⟦_⟧₂ operator -- Lifts a family of binary relations from A to ⟦ C ⟧ A. ⟦_⟧₂ : ∀ {a c r} {A : Type a} (C : Container c) → (A → A → Type r) → ⟦ C ⟧ A → ⟦ C ⟧ A → Type (c ⊔ r) ⟦ C ⟧₂ R (s , f) (t , g) = ∃ λ (eq : s ≡ t) → (p : Position C s) → R (f p) (g (subst (Position C) eq p)) where open Container -- A map function for ⟦_⟧₂. ⟦⟧₂-map : ∀ {a b c r s} {A : Type a} {B : Type b} {C : Container c} (R : A → A → Type r) (S : B → B → Type s) (f : A → B) → (∀ x y → R x y → S (f x) (f y)) → (∀ x y → ⟦ C ⟧₂ R x y → ⟦ C ⟧₂ S (map f x) (map f y)) ⟦⟧₂-map _ _ _ f _ _ = Σ-map id (f _ _ ∘_) -- ⟦_⟧₂ preserves reflexivity. ⟦⟧₂-reflexive : ∀ {a c r} {A : Type a} {C : Container c} (R : A → A → Type r) → (∀ x → R x x) → (∀ x → ⟦ C ⟧₂ R x x) ⟦⟧₂-reflexive {C = C} R r (xs , f) = refl _ , λ p → $⟨ r _ ⟩ R (f p) (f p) ↝⟨ subst (R _ ∘ f) (sym $ subst-refl _ _) ⟩□ R (f p) (f (subst (Position C) (refl xs) p)) □ -- ⟦_⟧₂ preserves symmetry. ⟦⟧₂-symmetric : ∀ {a c r} {A : Type a} {C : Container c} (R : A → A → Type r) → (∀ {x y} → R x y → R y x) → (∀ {x y} → ⟦ C ⟧₂ R x y → ⟦ C ⟧₂ R y x) ⟦⟧₂-symmetric {C = C} R r {_ , f} {_ , g} (eq , h) = sym eq , λ p → $⟨ h (subst (Position C) (sym eq) p) ⟩ R (f (subst (Position C) (sym eq) p)) (g (subst (Position C) eq (subst (Position C) (sym eq) p))) ↝⟨ subst (R (f (subst (Position C) (sym eq) p)) ∘ g) $ subst-subst-sym _ _ _ ⟩ R (f (subst (Position C) (sym eq) p)) (g p) ↝⟨ r ⟩□ R (g p) (f (subst (Position C) (sym eq) p)) □ -- ⟦_⟧₂ preserves transitivity. ⟦⟧₂-transitive : ∀ {a c r} {A : Type a} {C : Container c} (R : A → A → Type r) → (∀ {x y z} → R x y → R y z → R x z) → (∀ {x y z} → ⟦ C ⟧₂ R x y → ⟦ C ⟧₂ R y z → ⟦ C ⟧₂ R x z) ⟦⟧₂-transitive {C = C} R r {_ , f} {_ , g} {_ , h} (eq₁ , f₁) (eq₂ , f₂) = trans eq₁ eq₂ , λ p → $⟨ f₂ _ ⟩ R (g (subst (Position C) eq₁ p)) (h (subst (Position C) eq₂ (subst (Position C) eq₁ p))) ↝⟨ subst (R (g (subst (Position C) _ _)) ∘ h) $ subst-subst _ _ _ _ ⟩ R (g (subst (Position C) eq₁ p)) (h (subst (Position C) (trans eq₁ eq₂) p)) ↝⟨ f₁ _ ,_ ⟩ R (f p) (g (subst (Position C) eq₁ p)) × R (g (subst (Position C) eq₁ p)) (h (subst (Position C) (trans eq₁ eq₂) p)) ↝⟨ uncurry r ⟩□ R (f p) (h (subst (Position C) (trans eq₁ eq₂) p)) □
src/Categories/NaturalTransformation/Monoidal.agda
Trebor-Huang/agda-categories
279
5237
<filename>src/Categories/NaturalTransformation/Monoidal.agda {-# OPTIONS --without-K --safe #-} open import Categories.Category.Monoidal -- Monoidal natural transformations between lax and strong monoidal functors. -- -- See -- * <NAME>, Some definitions everyone should know, -- https://math.ucr.edu/home/baez/qg-fall2004/definitions.pdf -- * https://ncatlab.org/nlab/show/monoidal+natural+transformation module Categories.NaturalTransformation.Monoidal where open import Level open import Data.Product using (_,_) open import Categories.Category using (module Commutation) open import Categories.Category.Product import Categories.Category.Monoidal.Reasoning as MonoidalReasoning open import Categories.Functor.Monoidal open import Categories.Functor.Monoidal.Properties using () renaming (∘-Monoidal to _∘Fˡ_; ∘-StrongMonoidal to _∘Fˢ_) import Categories.Morphism as Morphism import Categories.Morphism.Reasoning as MorphismReasoning open import Categories.NaturalTransformation as NT using (NaturalTransformation) open NaturalTransformation renaming (η to _[_]) module Lax where module _ {o ℓ e o′ ℓ′ e′} {C : MonoidalCategory o ℓ e} {D : MonoidalCategory o′ ℓ′ e′} (F G : MonoidalFunctor C D) where private module C = MonoidalCategory C module D = MonoidalCategory D module F = MonoidalFunctor F renaming (F to U) module G = MonoidalFunctor G renaming (F to U) open D hiding (U; id) open Commutation D.U -- Monoidal natural transformations between lax monoidal functors. record IsMonoidalNaturalTransformation (β : NaturalTransformation F.U G.U) : Set (o ⊔ ℓ′ ⊔ e′) where field ε-compat : [ unit ⇒ G.₀ C.unit ]⟨ F.ε ⇒⟨ F.₀ C.unit ⟩ β [ C.unit ] ≈ G.ε ⟩ ⊗-homo-compat : ∀ {X Y} → [ F.₀ X ⊗₀ F.₀ Y ⇒ G.₀ (X C.⊗₀ Y) ]⟨ F.⊗-homo [ (X , Y) ] ⇒⟨ F.₀ (X C.⊗₀ Y) ⟩ β [ X C.⊗₀ Y ] ≈ β [ X ] ⊗₁ β [ Y ] ⇒⟨ G.₀ X ⊗₀ G.₀ Y ⟩ G.⊗-homo [ (X , Y) ] ⟩ record MonoidalNaturalTransformation : Set (o ⊔ ℓ ⊔ ℓ′ ⊔ e′) where field U : NaturalTransformation F.U G.U isMonoidal : IsMonoidalNaturalTransformation U open NaturalTransformation U public open IsMonoidalNaturalTransformation isMonoidal public -- To shorten some definitions private _⇛_ = MonoidalNaturalTransformation -- Identity and compositions module _ {o ℓ e o′ ℓ′ e′} {C : MonoidalCategory o ℓ e} {D : MonoidalCategory o′ ℓ′ e′} where private module C = MonoidalCategory C module D = MonoidalCategory D open D hiding (U; id) open MorphismReasoning D.U open MonoidalReasoning D.monoidal infixr 9 _∘ᵥ_ id : {F : MonoidalFunctor C D} → F ⇛ F id {F} = record { U = NT.id ; isMonoidal = record { ε-compat = D.identityˡ ; ⊗-homo-compat = λ {X Y} → begin D.id ∘ ⊗-homo.η (X , Y) ≈⟨ id-comm-sym ⟩ ⊗-homo.η (X , Y) ∘ D.id ≈˘⟨ refl⟩∘⟨ ⊗.identity ⟩ ⊗-homo.η (X , Y) ∘ D.id ⊗₁ D.id ∎ } } where open MonoidalFunctor F _∘ᵥ_ : {F G H : MonoidalFunctor C D} → G ⇛ H → F ⇛ G → F ⇛ H _∘ᵥ_ {F} {G} {H} αᵐ βᵐ = record { U = α NT.∘ᵥ β ; isMonoidal = record { ε-compat = begin (α [ _ ] ∘ β [ _ ]) ∘ F.ε ≈⟨ pullʳ (ε-compat βᵐ) ⟩ α [ _ ] ∘ G.ε ≈⟨ ε-compat αᵐ ⟩ H.ε ∎ ; ⊗-homo-compat = λ {X Y} → begin (α [ X C.⊗₀ Y ] ∘ β [ X C.⊗₀ Y ]) ∘ F.⊗-homo.η (X , Y) ≈⟨ pullʳ (⊗-homo-compat βᵐ) ⟩ α [ X C.⊗₀ Y ] ∘ G.⊗-homo.η (X , Y) ∘ β [ X ] ⊗₁ β [ Y ] ≈⟨ extendʳ (⊗-homo-compat αᵐ) ⟩ H.⊗-homo.η (X , Y) ∘ α [ X ] ⊗₁ α [ Y ] ∘ β [ X ] ⊗₁ β [ Y ] ≈˘⟨ refl⟩∘⟨ ⊗-distrib-over-∘ ⟩ H.⊗-homo.η (X , Y) ∘ (α [ X ] ∘ β [ X ]) ⊗₁ (α [ Y ] ∘ β [ Y ]) ∎ } } where open MonoidalNaturalTransformation α = U αᵐ β = U βᵐ module F = MonoidalFunctor F module G = MonoidalFunctor G module H = MonoidalFunctor H module _ {o ℓ e o′ ℓ′ e′ o″ ℓ″ e″} {C : MonoidalCategory o ℓ e} {D : MonoidalCategory o′ ℓ′ e′} {E : MonoidalCategory o″ ℓ″ e″} where private module C = MonoidalCategory C module D = MonoidalCategory D module E = MonoidalCategory E open E hiding (U; id) open MorphismReasoning E.U open MonoidalReasoning E.monoidal infixr 9 _∘ₕ_ _∘ˡ_ _∘ʳ_ _∘ₕ_ : {F G : MonoidalFunctor C D} {H I : MonoidalFunctor D E} → H ⇛ I → F ⇛ G → (H ∘Fˡ F) ⇛ (I ∘Fˡ G) _∘ₕ_ {F} {G} {H} {I} αᵐ βᵐ = record { U = α NT.∘ₕ β ; isMonoidal = record { ε-compat = begin (I.₁ (β [ C.unit ]) ∘ α [ F.₀ C.unit ]) ∘ H.₁ F.ε ∘ H.ε ≈⟨ extend² (commute αᵐ F.ε) ⟩ (I.₁ (β [ C.unit ]) ∘ I.₁ F.ε) ∘ α [ D.unit ] ∘ H.ε ≈˘⟨ I.homomorphism ⟩∘⟨refl ⟩ I.₁ (β [ C.unit ] D.∘ F.ε) ∘ α [ D.unit ] ∘ H.ε ≈⟨ I.F-resp-≈ (ε-compat βᵐ) ⟩∘⟨ ε-compat αᵐ ⟩ I.F₁ G.ε ∘ I.ε ∎ ; ⊗-homo-compat = λ {X Y} → begin (I.₁ (β [ X C.⊗₀ Y ]) ∘ α [ F.₀ (X C.⊗₀ Y) ]) ∘ H.₁ (F.⊗-homo.η (X , Y)) ∘ H.⊗-homo.η (F.₀ X , F.₀ Y) ≈⟨ extend² (commute αᵐ (F.⊗-homo.η (X , Y))) ⟩ (I.₁ (β [ X C.⊗₀ Y ]) ∘ I.₁ (F.⊗-homo.η (X , Y))) ∘ α [ F.₀ X D.⊗₀ F.₀ Y ] ∘ H.⊗-homo.η (F.₀ X , F.₀ Y) ≈˘⟨ I.homomorphism ⟩∘⟨refl ⟩ (I.₁ (β [ X C.⊗₀ Y ] D.∘ F.⊗-homo.η (X , Y))) ∘ α [ F.₀ X D.⊗₀ F.₀ Y ] ∘ H.⊗-homo.η (F.₀ X , F.₀ Y) ≈⟨ (I.F-resp-≈ (⊗-homo-compat βᵐ) ⟩∘⟨ ⊗-homo-compat αᵐ) ⟩ (I.₁ (G.⊗-homo.η (X , Y) D.∘ β [ X ] D.⊗₁ β [ Y ])) ∘ I.⊗-homo.η (F.₀ X , F.₀ Y) ∘ α [ F.₀ X ] ⊗₁ α [ F.₀ Y ] ≈⟨ I.homomorphism ⟩∘⟨refl ⟩ (I.₁ (G.⊗-homo.η (X , Y)) ∘ I.₁ (β [ X ] D.⊗₁ β [ Y ])) ∘ I.⊗-homo.η (F.₀ X , F.₀ Y) ∘ α [ F.₀ X ] ⊗₁ α [ F.₀ Y ] ≈˘⟨ extend² (I.⊗-homo.commute ((β [ X ]) , (β [ Y ]))) ⟩ (I.₁ (G.⊗-homo.η (X , Y)) ∘ I.⊗-homo.η (G.₀ X , G.₀ Y)) ∘ I.₁ (β [ X ]) ⊗₁ I.₁ (β [ Y ]) ∘ α [ F.₀ X ] ⊗₁ α [ F.₀ Y ] ≈˘⟨ refl⟩∘⟨ ⊗-distrib-over-∘ ⟩ (I.₁ (G.⊗-homo.η (X , Y)) ∘ I.⊗-homo.η (G.₀ X , G.₀ Y)) ∘ (I.₁ (β [ X ]) ∘ α [ F.₀ X ]) ⊗₁ (I.₁ (β [ Y ]) ∘ α [ F.₀ Y ]) ∎ } } where open MonoidalNaturalTransformation α = U αᵐ β = U βᵐ module F = MonoidalFunctor F module G = MonoidalFunctor G module H = MonoidalFunctor H module I = MonoidalFunctor I _∘ˡ_ : {F G : MonoidalFunctor C D} (H : MonoidalFunctor D E) → F ⇛ G → (H ∘Fˡ F) ⇛ (H ∘Fˡ G) H ∘ˡ α = id {F = H} ∘ₕ α _∘ʳ_ : {G H : MonoidalFunctor D E} → G ⇛ H → (F : MonoidalFunctor C D) → (G ∘Fˡ F) ⇛ (H ∘Fˡ F) α ∘ʳ F = α ∘ₕ id {F = F} module Strong where open StrongMonoidalFunctor using () renaming (F to UF; monoidalFunctor to laxF) module _ {o ℓ e o′ ℓ′ e′} {C : MonoidalCategory o ℓ e} {D : MonoidalCategory o′ ℓ′ e′} (F G : StrongMonoidalFunctor C D) where -- Monoidal natural transformations between strong monoidal functors. IsMonoidalNaturalTransformation : NaturalTransformation (UF F) (UF G) → Set (o ⊔ ℓ′ ⊔ e′) IsMonoidalNaturalTransformation α = Lax.IsMonoidalNaturalTransformation (laxF F) (laxF G) α -- NOTE. This record contains the same data as the lax version, -- but the type arguments are different. This helps type -- inference by providing the right constraints. record MonoidalNaturalTransformation : Set (o ⊔ ℓ ⊔ ℓ′ ⊔ e′) where field U : NaturalTransformation (UF F) (UF G) isMonoidal : IsMonoidalNaturalTransformation U laxNT : Lax.MonoidalNaturalTransformation (laxF F) (laxF G) laxNT = record { U = U ; isMonoidal = isMonoidal } open Lax.MonoidalNaturalTransformation laxNT public hiding (U; isMonoidal) private _⇛_ = MonoidalNaturalTransformation open MonoidalNaturalTransformation module _ {o ℓ e o′ ℓ′ e′} {C : MonoidalCategory o ℓ e} {D : MonoidalCategory o′ ℓ′ e′} where infixr 9 _∘ᵥ_ -- Since they contain the same data, we can strengthen a lax -- monoidal transformation to a strong one. strengthen : {F G : StrongMonoidalFunctor C D} → Lax.MonoidalNaturalTransformation (laxF F) (laxF G) → F ⇛ G strengthen α = record { U = L.U ; isMonoidal = L.isMonoidal } where module L = Lax.MonoidalNaturalTransformation α -- Identity and compositions id : {F : StrongMonoidalFunctor C D} → F ⇛ F id = strengthen Lax.id _∘ᵥ_ : {F G H : StrongMonoidalFunctor C D} → G ⇛ H → F ⇛ G → F ⇛ H α ∘ᵥ β = strengthen (laxNT α Lax.∘ᵥ laxNT β) module _ {o ℓ e o′ ℓ′ e′ o″ ℓ″ e″} {C : MonoidalCategory o ℓ e} {D : MonoidalCategory o′ ℓ′ e′} {E : MonoidalCategory o″ ℓ″ e″} where open Lax.MonoidalNaturalTransformation infixr 9 _∘ₕ_ _∘ˡ_ _∘ʳ_ _∘ₕ_ : {F G : StrongMonoidalFunctor C D} {H I : StrongMonoidalFunctor D E} → H ⇛ I → F ⇛ G → (H ∘Fˢ F) ⇛ (I ∘Fˢ G) -- FIXME: this definition is clearly equivalent to -- -- α ∘ₕ β = strengthen (laxNT α Lax.∘ₕ laxNT β) -- -- but the latter takes an unreasonably long time to typecheck, -- while the unfolded version typechecks almost immediately. α ∘ₕ β = record { U = L.U ; isMonoidal = record { ε-compat = L.ε-compat ; ⊗-homo-compat = L.⊗-homo-compat } } where module L = Lax.MonoidalNaturalTransformation (laxNT α Lax.∘ₕ laxNT β) _∘ˡ_ : {F G : StrongMonoidalFunctor C D} (H : StrongMonoidalFunctor D E) → F ⇛ G → (H ∘Fˢ F) ⇛ (H ∘Fˢ G) H ∘ˡ α = id {F = H} ∘ₕ α _∘ʳ_ : {G H : StrongMonoidalFunctor D E} → G ⇛ H → (F : StrongMonoidalFunctor C D) → (G ∘Fˢ F) ⇛ (H ∘Fˢ F) α ∘ʳ F = α ∘ₕ id {F = F}
Library/Chart/CComp/ccompPosition.asm
steakknife/pcgeos
504
83280
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1991 -- All Rights Reserved PROJECT: PC GEOS MODULE: FILE: AUTHOR: <NAME> METHODS: Name Description ---- ----------- REVISION HISTORY: Name Date Description ---- ---- ----------- CDB 12/13/91 Initial Revision DESCRIPTION: Positioning code for ChartComp $Id: ccompPosition.asm,v 1.1 97/04/04 17:48:00 newdeal Exp $ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@ COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% ChartCompSetPosition %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% SYNOPSIS: Set position of myself and children CALLED BY: via MSG_CHART_OBJECT_BOUNDS_SET PASS: *ds:si = Instance ptr *ds:di = Instance ptr cx, dx - position RETURN: nothing DESTROYED: nothing PSEUDO CODE/STRATEGY: KNOWN BUGS/SIDE EFFECTS/IDEAS: REVISION HISTORY: Name Date Description ---- ---- ----------- CDB 12/13/91 Initial Revision %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@ ChartCompSetPosition method dynamic ChartCompClass, MSG_CHART_OBJECT_SET_POSITION mov di, offset ChartCompClass call ObjCallSuperNoLock mov di, ds:[si] FALL_THRU ChartCompPositionChildren ChartCompSetPosition endm COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% ChartCompPositionChildren %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% DESCRIPTION: Position the children of this composite based on their sizes. PASS: *ds:si = ChartCompClass object ds:di = ChartCompClass instance data es = Segment of ChartCompClass. cx, dx = position of chart comp RETURN: nothing DESTROYED: si,di,es REGISTER/STACK USAGE: PSEUDO CODE/STRATEGY: KNOWN BUGS/SIDE EFFECTS/CAVEATS/IDEAS: REVISION HISTORY: Name Date Description ---- ---- ----------- CDB 1/ 2/92 Initial version. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@ ChartCompPositionChildren proc far uses ax, cx locals local ChartCompPositionVars class ChartCompClass .enter ; Get comp type mov al, ds:[di].CCI_compType mov locals.CCPV_compType, al ; size movP locals.CCPV_compSize, ds:[di].COI_size, ax ; chunk handle mov locals.CCPV_compChunkHandle, si ; position movP locals.CCPV_relPos, ds:[di].COI_position, ax mov ax, ds:[di].CCI_margin.R_left add locals.CCPV_relPos.P_x, ax mov ax, ds:[di].CCI_margin.R_top add locals.CCPV_relPos.P_y, ax ; call children mov bx, offset ChartCompPositionChildrenCB call ChartCompProcessChildren .leave ret ChartCompPositionChildren endp COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% ChartCompPositionChildrenCB %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% SYNOPSIS: Callback routine to position the kids CALLED BY: PASS: *ds:si - Child object *es:di - Parent ChartComp ss:bp - ChartCompPositionVars RETURN: nothing -- carry clear DESTROYED: nothing PSEUDO CODE/STRATEGY: KNOWN BUGS/SIDE EFFECTS/IDEAS: REVISION HISTORY: Name Date Description ---- ---- ----------- CDB 1/ 2/92 Initial version. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@ ChartCompPositionChildrenCB proc far uses ax,cx,dx locals local ChartCompPositionVars class ChartCompClass .enter inherit ; Get child's size and geometry flags. Ignore ; object-orientation for speed purposes. mov di, ds:[si] mov al, ds:[di].COI_geoFlags movP cxdx, ds:[di].COI_size push cx, dx test al, mask COGF_CENTER_HORIZONTALLY jnz centerHorizontally test al, mask COGF_CENTER_VERTICALLY jz noCenter ; Center child vertically (position = (compHeight - childHeight)/2 sub dx, locals.CCPV_compSize.P_y neg dx shr dx, 1 add dx, locals.CCPV_relPos.P_y mov cx, locals.CCPV_relPos.P_x jmp gotPosition centerHorizontally: sub cx, locals.CCPV_compSize.P_x neg cx shr cx, 1 add cx, locals.CCPV_relPos.P_x mov dx, locals.CCPV_relPos.P_y jmp gotPosition noCenter: movP cxdx, locals.CCPV_relPos gotPosition: mov ax, MSG_CHART_OBJECT_SET_POSITION call ObjCallInstanceNoLock pop cx, dx ; Now, update the position for the next child ; If overlapping, then all kids have same position cmp locals.CCPV_compType, CCT_OVERLAP je done cmp locals.CCPV_compType, CCT_VERTICAL jne horizontal ; Vertical, so add y-amount add locals.CCPV_relPos.P_y, dx jmp done horizontal: add locals.CCPV_relPos.P_x, cx done: clc .leave ret ChartCompPositionChildrenCB endp
source/uaflex/matreshka-internals-graphs.adb
svn2github/matreshka
24
24626
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- Localization, Internationalization, Globalization for Ada -- -- -- -- Runtime Library Component -- -- -- ------------------------------------------------------------------------------ -- -- -- Copyright © 2011-2015, <NAME> <<EMAIL>> -- -- All rights reserved. -- -- -- -- Redistribution and use in source and binary forms, with or without -- -- modification, are permitted provided that the following conditions -- -- are met: -- -- -- -- * Redistributions of source code must retain the above copyright -- -- notice, this list of conditions and the following disclaimer. -- -- -- -- * Redistributions in binary form must reproduce the above copyright -- -- notice, this list of conditions and the following disclaimer in the -- -- documentation and/or other materials provided with the distribution. -- -- -- -- * Neither the name of the Vadim Godunko, IE nor the names of its -- -- contributors may be used to endorse or promote products derived from -- -- this software without specific prior written permission. -- -- -- -- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -- -- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -- -- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -- -- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -- -- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -- -- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED -- -- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -- -- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -- -- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -- -- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -- -- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- -- -- ------------------------------------------------------------------------------ -- $Revision$ $Date$ ------------------------------------------------------------------------------ with Ada.Containers.Generic_Array_Sort; with Ada.Unchecked_Deallocation; package body Matreshka.Internals.Graphs is procedure Free is new Ada.Unchecked_Deallocation (Edge_Array, Edge_Array_Access); procedure Free is new Ada.Unchecked_Deallocation (Node_Array, Node_Array_Access); ----------- -- Clear -- ----------- procedure Clear (Self : in out Graph) is begin Free (Self.Nodes); Free (Self.Edges); Self.Last_Node := 0; Self.Last_Edge := 0; end Clear; package body Constructor is ----------- -- Clear -- ----------- procedure Clear (Self : in out Graph) is begin Free (Self.Nodes); Free (Self.Edges); Self.Last_Node := 0; Self.Last_Edge := 0; end Clear; ----------- -- Index -- ----------- function Index (Self : Node) return Node_Index is begin return Self.Index; end Index; -------------- -- New_Node -- -------------- function New_Node (Self : Graph'Class) return Node is procedure Resize; procedure Resize is begin if Self.Nodes = null or else Self.Nodes'Length < Self.Last_Node + 1 then declare -- 6 15 28 48 78 123 190 Old : Node_Array_Access := Self.Nodes; New_Length : constant Node_Index := (Self.Last_Node + 4) * 3 / 2; begin Self.Self.Nodes := new Node_Array (1 .. New_Length); if Old /= null then Self.Nodes.all (Old'Range) := Old.all; Free (Old); end if; end; end if; Self.Self.Last_Node := Self.Self.Last_Node + 1; end Resize; begin Resize; Self.Nodes (Self.Last_Node) := (Graph => <>, Index => Self.Last_Node, First => 1, Last => 0); return (Self.Self, Self.Last_Node); end New_Node; -------------- -- New_Edge -- -------------- procedure New_Edge (From, To : Node) is Ignore : constant Edge_Identifier := New_Edge (From, To); pragma Unreferenced (Ignore); begin null; end New_Edge; -------------- -- New_Edge -- -------------- function New_Edge (From, To : Node) return Edge_Identifier is procedure Resize; Self : constant Graph_Access := From.Graph; procedure Resize is begin if Self.Edges = null or else Self.Edges'Length < Self.Last_Edge + 1 then declare Old : Edge_Array_Access := Self.Edges; New_Length : constant Edge_Index := (Self.Last_Edge + 2) * 2; begin Self.Edges := new Edge_Array (1 .. New_Length); if Old /= null then Self.Edges.all (Old'Range) := Old.all; Free (Old); end if; end; end if; Self.Last_Edge := Self.Last_Edge + 1; end Resize; begin if To.Graph /= Self then raise Constraint_Error; end if; Resize; Self.Edges (Self.Last_Edge) := (Graph => <>, Index => Self.Last_Edge, Id => Edge_Identifier (Self.Last_Edge), Source => From.Index, Target => To.Index); return Edge_Identifier (Self.Last_Edge); end New_Edge; procedure Complete (Input : in out Graph'Class; Output : out Graphs.Graph) is function Less (Left, Right : Edge) return Boolean; function Less (Left, Right : Edge) return Boolean is begin return Left.Source < Right.Source or (Left.Source = Right.Source and Left.Index < Right.Index); end Less; procedure Sort is new Ada.Containers.Generic_Array_Sort (Edge_Index, Edge, Edge_Array, Less); begin Sort (Input.Edges (1 .. Input.Last_Edge)); for J in 1 .. Input.Last_Node loop Input.Nodes (J).Graph := Output.Self; Input.Nodes (J).First := 1; Input.Nodes (J).Last := 0; end loop; for J in 1 .. Input.Last_Edge loop Input.Edges (J).Graph := Output.Self; Input.Edges (J).Index := J; if Input.Nodes (Input.Edges (J).Source).Last = 0 then Input.Nodes (Input.Edges (J).Source).First := J; end if; Input.Nodes (Input.Edges (J).Source).Last := J; end loop; Output.Last_Node := Input.Last_Node; Output.Last_Edge := Input.Last_Edge; Output.Nodes := Input.Nodes; Output.Edges := Input.Edges; Input.Last_Node := 0; Input.Last_Edge := 0; Input.Nodes := null; Input.Edges := null; end Complete; end Constructor; ---------------- -- Edge_Count -- ---------------- function Edge_Count (Self : Graph) return Edge_List_Length is begin return Self.Last_Edge; end Edge_Count; ---------------- -- Edge_Count -- ---------------- function Edge_Count (Self : Node) return Edge_List_Length is begin return Self.Last - Self.First + 1; end Edge_Count; ------------- -- Edge_Id -- ------------- function Edge_Id (Self : Edge) return Edge_Identifier is begin return Self.Id; end Edge_Id; ---------------------- -- First_Edge_Index -- ---------------------- function First_Edge_Index (Self : Node) return Edge_Index is begin return Self.First; end First_Edge_Index; -------------- -- Get_Edge -- -------------- function Get_Edge (Self : Graph'Class; Index : Edge_Index) return Edge is begin return Self.Edges (Index); end Get_Edge; -------------- -- Get_Edge -- -------------- function Get_Edge (Self : Node'Class; Index : Edge_Index) return Edge is begin return Get_Edge (Self.Graph.all, Index); end Get_Edge; --------------- -- Get_Edges -- --------------- function Get_Edges (Self : Graph) return Edge_Array is begin return Self.Edges (1 .. Self.Last_Edge); end Get_Edges; -------------- -- Get_Node -- -------------- function Get_Node (Self : Graph'Class; Index : Node_Index) return Node is begin return Self.Nodes (Index); end Get_Node; --------------- -- Get_Nodes -- --------------- function Get_Nodes (Self : Graph) return Node_Array is begin return Self.Nodes (1 .. Self.Last_Node); end Get_Nodes; ----------- -- Index -- ----------- function Index (Self : Node) return Node_Index is begin return Self.Index; end Index; ----------- -- Index -- ----------- function Index (Self : Edge) return Edge_Index is begin return Self.Index; end Index; --------------------- -- Last_Edge_Index -- --------------------- function Last_Edge_Index (Self : Node) return Edge_List_Length is begin return Self.Last; end Last_Edge_Index; ---------------- -- Node_Count -- ---------------- function Node_Count (Self : Graph) return Node_List_Length is begin return Self.Last_Node; end Node_Count; -------------------- -- Outgoing_Edges -- -------------------- function Outgoing_Edges (Self : Node) return Edge_Array is begin return Self.Graph.Edges (Self.First .. Self.Last); end Outgoing_Edges; ----------------- -- Source_Node -- ----------------- function Source_Node (Self : Edge'Class) return Node is begin return Self.Graph.Nodes (Self.Source); end Source_Node; ----------------- -- Target_Node -- ----------------- function Target_Node (Self : Edge'Class) return Node is begin return Self.Graph.Nodes (Self.Target); end Target_Node; end Matreshka.Internals.Graphs;
grammar/src/main/antlr/KotlinParser.g4
Egorand/kotlin-spec
0
4117
/** * Kotlin syntax grammar in ANTLR4 notation */ parser grammar KotlinParser; options { tokenVocab = KotlinLexer; } // SECTION: general kotlinFile : shebangLine? NL* fileAnnotation* packageHeader importList topLevelObject* EOF ; script : shebangLine? NL* fileAnnotation* packageHeader importList (statement semi)* EOF ; shebangLine : ShebangLine NL+ ; fileAnnotation : (AT_NO_WS | AT_PRE_WS) FILE NL* COLON NL* (LSQUARE unescapedAnnotation+ RSQUARE | unescapedAnnotation) NL* ; packageHeader : (PACKAGE identifier semi?)? ; importList : importHeader* ; importHeader : IMPORT identifier (DOT MULT | importAlias)? semi? ; importAlias : AS simpleIdentifier ; topLevelObject : declaration semis? ; typeAlias : modifiers? TYPE_ALIAS NL* simpleIdentifier (NL* typeParameters)? NL* ASSIGNMENT NL* type ; declaration : classDeclaration | objectDeclaration | functionDeclaration | propertyDeclaration | typeAlias ; // SECTION: classes classDeclaration : modifiers? (CLASS | (FUN NL*)? INTERFACE) NL* simpleIdentifier (NL* typeParameters)? (NL* primaryConstructor)? (NL* COLON NL* delegationSpecifiers)? (NL* typeConstraints)? (NL* classBody | NL* enumClassBody)? ; primaryConstructor : (modifiers? CONSTRUCTOR NL*)? classParameters ; classBody : LCURL NL* classMemberDeclarations NL* RCURL ; classParameters : LPAREN NL* (classParameter (NL* COMMA NL* classParameter)* (NL* COMMA)?)? NL* RPAREN ; classParameter : modifiers? (VAL | VAR)? NL* simpleIdentifier COLON NL* type (NL* ASSIGNMENT NL* expression)? ; delegationSpecifiers : annotatedDelegationSpecifier (NL* COMMA NL* annotatedDelegationSpecifier)* ; delegationSpecifier : constructorInvocation | explicitDelegation | userType | functionType ; constructorInvocation : userType valueArguments ; annotatedDelegationSpecifier : annotation* NL* delegationSpecifier ; explicitDelegation : (userType | functionType) NL* BY NL* expression ; typeParameters : LANGLE NL* typeParameter (NL* COMMA NL* typeParameter)* (NL* COMMA)? NL* RANGLE ; typeParameter : typeParameterModifiers? NL* simpleIdentifier (NL* COLON NL* type)? ; typeConstraints : WHERE NL* typeConstraint (NL* COMMA NL* typeConstraint)* ; typeConstraint : annotation* simpleIdentifier NL* COLON NL* type ; // SECTION: classMembers classMemberDeclarations : (classMemberDeclaration semis?)* ; classMemberDeclaration : declaration | companionObject | anonymousInitializer | secondaryConstructor ; anonymousInitializer : INIT NL* block ; companionObject : modifiers? COMPANION NL* OBJECT (NL* simpleIdentifier)? (NL* COLON NL* delegationSpecifiers)? (NL* classBody)? ; functionValueParameters : LPAREN NL* (functionValueParameter (NL* COMMA NL* functionValueParameter)* (NL* COMMA)?)? NL* RPAREN ; functionValueParameter : parameterModifiers? parameter (NL* ASSIGNMENT NL* expression)? ; functionDeclaration : modifiers? FUN (NL* typeParameters)? (NL* receiverType NL* DOT)? NL* simpleIdentifier NL* functionValueParameters (NL* COLON NL* type)? (NL* typeConstraints)? (NL* functionBody)? ; functionBody : block | ASSIGNMENT NL* expression ; variableDeclaration : annotation* NL* simpleIdentifier (NL* COLON NL* type)? ; multiVariableDeclaration : LPAREN NL* variableDeclaration (NL* COMMA NL* variableDeclaration)* (NL* COMMA)? NL* RPAREN ; propertyDeclaration : modifiers? (VAL | VAR) (NL* typeParameters)? (NL* receiverType NL* DOT)? (NL* (multiVariableDeclaration | variableDeclaration)) (NL* typeConstraints)? (NL* (ASSIGNMENT NL* expression | propertyDelegate))? (NL+ SEMICOLON)? NL* (getter? (NL* semi? setter)? | setter? (NL* semi? getter)?) ; propertyDelegate : BY NL* expression ; getter : modifiers? GET | modifiers? GET NL* LPAREN NL* RPAREN (NL* COLON NL* type)? NL* functionBody ; setter : modifiers? SET | modifiers? SET NL* LPAREN NL* parameterWithOptionalType (NL* COMMA)? NL* RPAREN (NL* COLON NL* type)? NL* functionBody ; parametersWithOptionalType : LPAREN NL* (parameterWithOptionalType (NL* COMMA NL* parameterWithOptionalType)* (NL* COMMA)?)? NL* RPAREN ; parameterWithOptionalType : parameterModifiers? simpleIdentifier NL* (COLON NL* type)? ; parameter : simpleIdentifier NL* COLON NL* type ; objectDeclaration : modifiers? OBJECT NL* simpleIdentifier (NL* COLON NL* delegationSpecifiers)? (NL* classBody)? ; secondaryConstructor : modifiers? CONSTRUCTOR NL* functionValueParameters (NL* COLON NL* constructorDelegationCall)? NL* block? ; constructorDelegationCall : THIS NL* valueArguments | SUPER NL* valueArguments ; // SECTION: enumClasses enumClassBody : LCURL NL* enumEntries? (NL* SEMICOLON NL* classMemberDeclarations)? NL* RCURL ; enumEntries : enumEntry (NL* COMMA NL* enumEntry)* NL* COMMA? ; enumEntry : (modifiers NL*)? simpleIdentifier (NL* valueArguments)? (NL* classBody)? ; // SECTION: types type : typeModifiers? ( parenthesizedType | nullableType | typeReference | functionType) ; typeReference : userType | DYNAMIC ; nullableType : (typeReference | parenthesizedType) NL* quest+ ; quest : QUEST_NO_WS | QUEST_WS ; userType : simpleUserType (NL* DOT NL* simpleUserType)* ; simpleUserType : simpleIdentifier (NL* typeArguments)? ; typeProjection : typeProjectionModifiers? type | MULT ; typeProjectionModifiers : typeProjectionModifier+ ; typeProjectionModifier : varianceModifier NL* | annotation ; functionType : (receiverType NL* DOT NL*)? functionTypeParameters NL* ARROW NL* type ; functionTypeParameters : LPAREN NL* (parameter | type)? (NL* COMMA NL* (parameter | type))* (NL* COMMA)? NL* RPAREN ; parenthesizedType : LPAREN NL* type NL* RPAREN ; receiverType : typeModifiers? ( parenthesizedType | nullableType | typeReference) ; parenthesizedUserType : LPAREN NL* userType NL* RPAREN | LPAREN NL* parenthesizedUserType NL* RPAREN ; // SECTION: statements statements : (statement (semis statement)*)? semis? ; statement : (label | annotation)* ( declaration | assignment | loopStatement | expression) ; label : simpleIdentifier (AT_NO_WS | AT_POST_WS) NL* ; controlStructureBody : block | statement ; block : LCURL NL* statements NL* RCURL ; loopStatement : forStatement | whileStatement | doWhileStatement ; forStatement : FOR NL* LPAREN annotation* (variableDeclaration | multiVariableDeclaration) IN expression RPAREN NL* controlStructureBody? ; whileStatement : WHILE NL* LPAREN expression RPAREN NL* controlStructureBody | WHILE NL* LPAREN expression RPAREN NL* SEMICOLON ; doWhileStatement : DO NL* controlStructureBody? NL* WHILE NL* LPAREN expression RPAREN ; assignment : directlyAssignableExpression ASSIGNMENT NL* expression | assignableExpression assignmentAndOperator NL* expression ; semi : (SEMICOLON | NL) NL* | EOF; semis : (SEMICOLON | NL)+ | EOF ; // SECTION: expressions expression : disjunction ; disjunction : conjunction (NL* DISJ NL* conjunction)* ; conjunction : equality (NL* CONJ NL* equality)* ; equality : comparison (equalityOperator NL* comparison)* ; comparison : genericCallLikeComparison (comparisonOperator NL* genericCallLikeComparison)* ; genericCallLikeComparison : infixOperation callSuffix* ; infixOperation : elvisExpression (inOperator NL* elvisExpression | isOperator NL* type)* ; elvisExpression : infixFunctionCall (NL* elvis NL* infixFunctionCall)* ; elvis : QUEST_NO_WS COLON ; infixFunctionCall : rangeExpression (simpleIdentifier NL* rangeExpression)* ; rangeExpression : additiveExpression (RANGE NL* additiveExpression)* ; additiveExpression : multiplicativeExpression (additiveOperator NL* multiplicativeExpression)* ; multiplicativeExpression : asExpression (multiplicativeOperator NL* asExpression)* ; asExpression : prefixUnaryExpression (NL* asOperator NL* type)* ; prefixUnaryExpression : unaryPrefix* postfixUnaryExpression ; unaryPrefix : annotation | label | prefixUnaryOperator NL* ; postfixUnaryExpression : primaryExpression | primaryExpression postfixUnarySuffix+ ; postfixUnarySuffix : postfixUnaryOperator | typeArguments | callSuffix | indexingSuffix | navigationSuffix ; directlyAssignableExpression : postfixUnaryExpression assignableSuffix | simpleIdentifier | parenthesizedDirectlyAssignableExpression ; parenthesizedDirectlyAssignableExpression : LPAREN NL* directlyAssignableExpression NL* RPAREN ; assignableExpression : prefixUnaryExpression | parenthesizedAssignableExpression ; parenthesizedAssignableExpression : LPAREN NL* assignableExpression NL* RPAREN ; assignableSuffix : typeArguments | indexingSuffix | navigationSuffix ; indexingSuffix : LSQUARE NL* expression (NL* COMMA NL* expression)* (NL* COMMA)? NL* RSQUARE ; navigationSuffix : NL* memberAccessOperator NL* (simpleIdentifier | parenthesizedExpression | CLASS) ; callSuffix : typeArguments? valueArguments? annotatedLambda | typeArguments? valueArguments ; annotatedLambda : annotation* label? NL* lambdaLiteral ; typeArguments : LANGLE NL* typeProjection (NL* COMMA NL* typeProjection)* (NL* COMMA)? NL* RANGLE ; valueArguments : LPAREN NL* RPAREN | LPAREN NL* valueArgument (NL* COMMA NL* valueArgument)* (NL* COMMA)? NL* RPAREN ; valueArgument : annotation? NL* (simpleIdentifier NL* ASSIGNMENT NL*)? MULT? NL* expression ; primaryExpression : parenthesizedExpression | simpleIdentifier | literalConstant | stringLiteral | callableReference | functionLiteral | objectLiteral | collectionLiteral | thisExpression | superExpression | ifExpression | whenExpression | tryExpression | jumpExpression ; parenthesizedExpression : LPAREN NL* expression NL* RPAREN ; collectionLiteral : LSQUARE NL* expression (NL* COMMA NL* expression)* (NL* COMMA)? NL* RSQUARE | LSQUARE NL* RSQUARE ; literalConstant : BooleanLiteral | IntegerLiteral | HexLiteral | BinLiteral | CharacterLiteral | RealLiteral | NullLiteral | LongLiteral | UnsignedLiteral ; stringLiteral : lineStringLiteral | multiLineStringLiteral ; lineStringLiteral : QUOTE_OPEN (lineStringContent | lineStringExpression)* QUOTE_CLOSE ; multiLineStringLiteral : TRIPLE_QUOTE_OPEN (multiLineStringContent | multiLineStringExpression | MultiLineStringQuote)* TRIPLE_QUOTE_CLOSE ; lineStringContent : LineStrText | LineStrEscapedChar | LineStrRef ; lineStringExpression : LineStrExprStart expression RCURL ; multiLineStringContent : MultiLineStrText | MultiLineStringQuote | MultiLineStrRef ; multiLineStringExpression : MultiLineStrExprStart NL* expression NL* RCURL ; lambdaLiteral : LCURL NL* statements NL* RCURL | LCURL NL* lambdaParameters? NL* ARROW NL* statements NL* RCURL ; lambdaParameters : lambdaParameter (NL* COMMA NL* lambdaParameter)* (NL* COMMA)? ; lambdaParameter : variableDeclaration | multiVariableDeclaration (NL* COLON NL* type)? ; anonymousFunction : FUN (NL* type NL* DOT)? NL* parametersWithOptionalType (NL* COLON NL* type)? (NL* typeConstraints)? (NL* functionBody)? ; functionLiteral : lambdaLiteral | anonymousFunction ; objectLiteral : OBJECT NL* COLON NL* delegationSpecifiers NL* classBody | OBJECT NL* classBody ; thisExpression : THIS | THIS_AT ; superExpression : SUPER (LANGLE NL* type NL* RANGLE)? (AT_NO_WS simpleIdentifier)? | SUPER_AT ; ifExpression : IF NL* LPAREN NL* expression NL* RPAREN NL* (controlStructureBody | SEMICOLON) | IF NL* LPAREN NL* expression NL* RPAREN NL* controlStructureBody? NL* SEMICOLON? NL* ELSE NL* (controlStructureBody | SEMICOLON) ; whenSubject : LPAREN (annotation* NL* VAL NL* variableDeclaration NL* ASSIGNMENT NL*)? expression RPAREN ; whenExpression : WHEN NL* whenSubject? NL* LCURL NL* (whenEntry NL*)* NL* RCURL ; whenEntry : whenCondition (NL* COMMA NL* whenCondition)* (NL* COMMA)? NL* ARROW NL* controlStructureBody semi? | ELSE NL* ARROW NL* controlStructureBody semi? ; whenCondition : expression | rangeTest | typeTest ; rangeTest : inOperator NL* expression ; typeTest : isOperator NL* type ; tryExpression : TRY NL* block ((NL* catchBlock)+ (NL* finallyBlock)? | NL* finallyBlock) ; catchBlock : CATCH NL* LPAREN annotation* simpleIdentifier COLON type (NL* COMMA)? RPAREN NL* block ; finallyBlock : FINALLY NL* block ; jumpExpression : THROW NL* expression | (RETURN | RETURN_AT) expression? | CONTINUE | CONTINUE_AT | BREAK | BREAK_AT ; callableReference : (receiverType? NL* COLONCOLON NL* (simpleIdentifier | CLASS)) ; assignmentAndOperator : ADD_ASSIGNMENT | SUB_ASSIGNMENT | MULT_ASSIGNMENT | DIV_ASSIGNMENT | MOD_ASSIGNMENT ; equalityOperator : EXCL_EQ | EXCL_EQEQ | EQEQ | EQEQEQ ; comparisonOperator : LANGLE | RANGLE | LE | GE ; inOperator : IN | NOT_IN ; isOperator : IS | NOT_IS ; additiveOperator : ADD | SUB ; multiplicativeOperator : MULT | DIV | MOD ; asOperator : AS | AS_SAFE ; prefixUnaryOperator : INCR | DECR | SUB | ADD | excl ; postfixUnaryOperator : INCR | DECR | EXCL_NO_WS excl ; excl : EXCL_NO_WS | EXCL_WS ; memberAccessOperator : DOT | safeNav | COLONCOLON ; safeNav : QUEST_NO_WS DOT ; // SECTION: modifiers modifiers : (annotation | modifier)+ ; parameterModifiers : (annotation | parameterModifier)+ ; modifier : (classModifier | memberModifier | visibilityModifier | functionModifier | propertyModifier | inheritanceModifier | parameterModifier | platformModifier) NL* ; typeModifiers : typeModifier+ ; typeModifier : annotation | SUSPEND NL* ; classModifier : ENUM | SEALED | ANNOTATION | DATA | INNER ; memberModifier : OVERRIDE | LATEINIT ; visibilityModifier : PUBLIC | PRIVATE | INTERNAL | PROTECTED ; varianceModifier : IN | OUT ; typeParameterModifiers : typeParameterModifier+ ; typeParameterModifier : reificationModifier NL* | varianceModifier NL* | annotation ; functionModifier : TAILREC | OPERATOR | INFIX | INLINE | EXTERNAL | SUSPEND ; propertyModifier : CONST ; inheritanceModifier : ABSTRACT | FINAL | OPEN ; parameterModifier : VARARG | NOINLINE | CROSSINLINE ; reificationModifier : REIFIED ; platformModifier : EXPECT | ACTUAL ; // SECTION: annotations annotation : (singleAnnotation | multiAnnotation) NL* ; singleAnnotation : annotationUseSiteTarget NL* unescapedAnnotation | (AT_NO_WS | AT_PRE_WS) unescapedAnnotation ; multiAnnotation : annotationUseSiteTarget NL* LSQUARE unescapedAnnotation+ RSQUARE | (AT_NO_WS | AT_PRE_WS) LSQUARE unescapedAnnotation+ RSQUARE ; annotationUseSiteTarget : (AT_NO_WS | AT_PRE_WS) (FIELD | PROPERTY | GET | SET | RECEIVER | PARAM | SETPARAM | DELEGATE) NL* COLON ; unescapedAnnotation : constructorInvocation | userType ; // SECTION: identifiers simpleIdentifier: Identifier | ABSTRACT | ANNOTATION | BY | CATCH | COMPANION | CONSTRUCTOR | CROSSINLINE | DATA | DYNAMIC | ENUM | EXTERNAL | FINAL | FINALLY | GET | IMPORT | INFIX | INIT | INLINE | INNER | INTERNAL | LATEINIT | NOINLINE | OPEN | OPERATOR | OUT | OVERRIDE | PRIVATE | PROTECTED | PUBLIC | REIFIED | SEALED | TAILREC | SET | VARARG | WHERE | FIELD | PROPERTY | RECEIVER | PARAM | SETPARAM | DELEGATE | FILE | EXPECT | ACTUAL | CONST | SUSPEND ; identifier : simpleIdentifier (NL* DOT simpleIdentifier)* ;
chap18/ex8/mce_avx512.asm
JamesType/optimization-manual
374
5636
<gh_stars>100-1000 ; ; Copyright (C) 2021 by Intel Corporation ; ; Permission to use, copy, modify, and/or distribute this software for any ; purpose with or without fee is hereby granted. ; ; THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH ; REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY ; AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, ; INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM ; LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR ; OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR ; PERFORMANCE OF THIS SOFTWARE. ; ; .globl mce_avx512 ; void mce_avx512(uint32_t *out, const uint32_t *in, uint64_t width) ; On entry: ; rcx = out ; rdx = in ; r8 = width (must be > 0 and a multiple of 8) .data ALIGN 4 five DD 5 three DD 3 .code mce_avx512 PROC public push rbx ; mov rdx, pImage ; mov rcx, pOutImage mov rbx, r8 ; mov rbx, [len] xor rax, rax vpbroadcastd zmm1, five vpbroadcastd zmm5, three vpxord zmm3, zmm3, zmm3 mainloop: vmovdqa32 zmm0, [rdx+rax*4] vpcmpgtd k1, zmm0, zmm3 vpandd zmm2, zmm5, zmm0 vpcmpeqd k2, zmm2, zmm5 kandw k1, k2, k1 vpaddd zmm0 {k1}, zmm0, zmm1 vmovdqa32 [rcx+rax*4], zmm0 add rax, 16 cmp rax, rbx jne mainloop pop rbx vzeroupper ret mce_avx512 ENDP end
scripts/.finder-reveal.applescript
looking-for-a-job/mac-finder.py
7
2915
<reponame>looking-for-a-job/mac-finder.py #!/usr/bin/osascript on run argv set _posix_file to POSIX file (item 1 of argv) as text tell application "Finder" set theWindowList to every Finder window repeat with i from 1 to number of items in theWindowList set w to item i of theWindowList set _target to (target of w as text) set _target_path to (POSIX path of _target) if (POSIX path of _posix_file) is (POSIX path of _target) then tell w to activate return end if end repeat reveal _posix_file return end tell end run
oeis/015/A015533.asm
neoneye/loda-programs
11
83671
<reponame>neoneye/loda-programs<filename>oeis/015/A015533.asm ; A015533: a(n) = 4*a(n-1) + 9*a(n-2). ; Submitted by <NAME> ; 0,1,4,25,136,769,4300,24121,135184,757825,4247956,23812249,133480600,748232641,4194255964,23511117625,131792774176,738771155329,4141219588900,23213818753561,130126251314344,729429374039425,4088853757986796,22920279398302009,128480801415089200,720205720245074881,4037150093716102324,22630451857070083225,126856158271725253816,711098699800531764289,3986100223647654341500,22344289192795403244601,125252058784010502051904,702106837871200637409025,3935695880540897068103236,22061745063004394009094169 mov $3,1 lpb $0 sub $0,1 add $2,$3 mov $3,$1 mov $1,$2 mul $2,4 mul $3,9 lpe mov $0,$1
experiments/realbugs/fsm9.als
kaiyuanw/AlloyFLCore
1
4398
<gh_stars>1-10 one sig FSM { start: set State, stop: set State } sig State { transition: set State } // Part (a) fact OneStartAndStop { // FSM only has one start state. -- TODO: Your code starts here. one s:State| s in FSM.start // FSM only has one stop state. -- TODO: Your code starts here. one s:State | s in FSM.stop } // Part (b) fact ValidStartAndStop { // The start state is different from the stop state. -- TODO: Your code starts here. // Fix: all f: FSM | f.start != f.stop all s:State | start.s != stop.s // No transition ends at the start state. -- TODO: Your code starts here. // Fix: replace "no s:State | FSM.start= s.transition" with "no s:State | FSM.start in s.transition" no s:State | FSM.start= s.transition // No transition begins at the stop state. -- TODO: Your code starts here. // Fix: use "no s:State | some transition.s & FSM.stop" no s:State | s.transition = FSM.stop } // Part (c) fact Reachability { // All states are reachable from the start state. -- TODO: Your code starts here. // Fix: replace = with in all s:State | s = FSM.start.*transition // The stop state is reachable from any state. -- TODO: Your code starts here. // Fix: use "all s:State | FSM.stop in s.*transition" all s:State | FSM.stop.*transition = s } run {} for 5
libsrc/z80_crt0s/crt0/l_cmp.asm
meesokim/z88dk
0
6477
; ; Z80 Runtime Library ; ; Signed integer compare ; ; $Id: l_cmp.asm,v 1.8 2015/01/19 01:33:25 pauloscustodio Exp $: PUBLIC l_cmp ; signed compare of DE and HL ; carry is sign of difference [set => DE < HL] ; zero is zero/non-zero .l_cmp ld a,h add $80 ld b,a ld a,d add $80 cp b ret nz ld a,e cp l ret
collision1/main.asm
emutyworks/Learning-GB-Programming
9
241071
; ; I used this Website/Document as a reference to create "main.asm". ; ; GB ASM Programming Tutorial: Hello World! ; https://eldred.fr/gb-asm-tutorial/hello-world.html ; ; The Cycle-Accurate Game Boy Docs (p25: 7. Joypad) ; https://github.com/AntonioND/giibiiadvance/blob/master/docs/TCAGBD.pdf ; ; Pan Docs: Memory Map ; https://gbdev.io/pandocs/Memory_Map.html ; ; OAM DMA tutorial ; https://gbdev.gg8.se/wiki/articles/OAM_DMA_tutorial ; INCLUDE "hardware.inc" SECTION "Header", ROM0[$100] EntryPoint: di jp Start REPT $150 - $104 db 0 ENDR SECTION "Initialize", ROM0 Start: ; move DMA subroutine to HRAM call CopyDMARoutine ; Turn screen off call WaitVBlank ld a, %00000000 ; LCDCF_OFF ld [rLCDC], a ; Set Tiles data ld hl, _VRAM8000 ld de, Tiles ld bc, TilesEnd - Tiles call CopyTiles ; Set BG tile map ld hl, _SCRN0 ld de, BgTileMap ld bc, BgTileMapEnd - BgTileMap call CopyTiles ; Init display registers ld a, %11100100 ld [rBGP], a ; BG Palette ld [rOBP0], a ; Object Palette 0 ld [rOBP1], a ; Object Palette 1 ld a, 0 ld [rSCY], a ; Scroll Y ld [rSCX], a ; Scroll X ; Shut sound down ld [rNR52], a ; Turn screen on, display background ld a, %10010011 ; LCDCF_ON,LCDCF_BG8000,LCDCF_OBJON,LCDCF_BGON ld [rLCDC], a ; Initialize wShadowOAM ld hl, wShadowOAM ld bc, 4*40 .iniwShadowOAM ld a, $00 ld [hli], a dec bc ld a, b or c jr nz, .iniwShadowOAM ; Initialize Joypad State ld a, %00000000 ld [JOYPAD_STATE], a ld a, 7+8*2 ld [JOYPAD_YPOS], a ld a, 7+8*2 ld [JOYPAD_XPOS], a ; Set OAM ld hl, wShadowOAM ld a, [JOYPAD_YPOS] ld [hli], a ; Y:16 Displayed in the upper left corner ld a, [JOYPAD_XPOS] ld [hli], a ; X:8 Displayed in the upper left corner ld a, 6 ; Tile Index ld [PLAYER_INDEX], a ld [hli], a ld a, %01000000 ; Attributes/Flags ld [PLAYER_ATTRI], a ld [hli], a jp MainLoop SECTION "Main", ROM0 MainLoop: ; Reading Joypad ld a, P1F_4 ld [rP1], a ; select P14 ld a, [rP1] ldh a, [rP1] ; Wait a few cycles. cpl ; Complement A. and a, %00001111 ; Get only first 4 bits. swap a ; Swap it. ld b, a ld a, P1F_5 ld [rP1], a ; Select P15. ldh a, [rP1] ldh a, [rP1] ldh a, [rP1] ldh a, [rP1] ldh a, [rP1] ldh a, [rP1] ; Wait a few MORE cycles. cpl and a, %00001111 or a, b ; Put A and B together. ld [JOYPAD_STATE], a ; Save joypad state. ld a, %11000000 ; Deselect P14 and P15. ld [rP1], a jp CheckJoypad SECTION "Collision routine", ROM0 CheckJoypad: ld a, [JOYPAD_STATE] and %00000001 jp nz, .incX ld a, [JOYPAD_STATE] and %00000010 jp nz, .decX ld a, [JOYPAD_STATE] and %00001000 jp nz, .incY ld a, [JOYPAD_STATE] and %00000100 jp nz, .decY jp .setOAM .incX ld a, [JOYPAD_XPOS] inc a ld d, a ld [NEW_JOYPAD_X], a ld a, [JOYPAD_YPOS] ld e, a ld [NEW_JOYPAD_Y], a ld a, 7 ld [PLAYER_INDEX], a ld a, %00000000 ld [PLAYER_ATTRI], a jp .collisionX .decX ld a, [JOYPAD_XPOS] dec a ld [NEW_JOYPAD_X], a sub a, 7 ld d, a ld a, [JOYPAD_YPOS] ld e, a ld [NEW_JOYPAD_Y], a ld a, 7 ld [PLAYER_INDEX], a ld a, %00100000 ; X flip ld [PLAYER_ATTRI], a jp .collisionX .incY ld a, [JOYPAD_XPOS] ld d, a ld [NEW_JOYPAD_X], a ld a, [JOYPAD_YPOS] inc a ld e, a ld [NEW_JOYPAD_Y], a ld a, 6 ld [PLAYER_INDEX], a ld a, %01000000 ; Y flip ld [PLAYER_ATTRI], a jp .collisionY .decY ld a, [JOYPAD_XPOS] ld d, a ld [NEW_JOYPAD_X], a ld a, [JOYPAD_YPOS] dec a ld [NEW_JOYPAD_Y], a sub a, 7 ld e, a ld a, 6 ld [PLAYER_INDEX], a ld a, %00000000 ld [PLAYER_ATTRI], a jp .collisionY .collisionX ; check map1 call .calcMap ld a, [hl] ; 8 ld [DEBUG_TILE], a ; debug and a jp nz, .setOAM ; check map2 ld a, [JOYPAD_YPOS] and a, 7 cp a, 7 jp z, .setJoypad ld a, e sub a, 8 ld e, a call .calcMap ld a, [hl] ; 8 ld [DEBUG_TILE2], a ; debug and a jp nz, .setOAM jp .setJoypad .collisionY ; check map1 call .calcMap ld a, [hl] ; 8 ld [DEBUG_TILE], a ; debug and a jp nz, .setOAM ; check map2 ld a, [JOYPAD_XPOS] and a, 7 cp a, 7 jp z, .setJoypad ld a, d sub a, 8 ld d, a call .calcMap ld a, [hl] ; 8 ld [DEBUG_TILE2], a ; debug and a jp nz, .setOAM jp .setJoypad .setJoypad ld a, [NEW_JOYPAD_Y] ld [JOYPAD_YPOS], a ld a, [NEW_JOYPAD_X] ld [JOYPAD_XPOS], a .setOAM ld hl, wShadowOAM ld a, [JOYPAD_YPOS] add a, 9 ; 8 ; JOYPAD_YPOS+9 ld [hli], a ld a, [JOYPAD_XPOS] inc a ; 4 ; JOYPAD_XPOS+1 ld [hli], a ld a, [PLAYER_INDEX] ld [hli], a ld a, [PLAYER_ATTRI] ld [hli], a call WaitVBlank ; call the DMA subroutine we copied to HRAM ; which then copies the bytes to the OAM and sprites begin to draw ld a, HIGH(wShadowOAM) call hOAMDMA jp MainLoop .calcMap ; X Map ld a, d and a, %11111000 rra rra rra ld c, a ; copy ld [DEBUG_MAP_X], a ; Y Map ld a, e and a, %11111000 rra rra ld [DEBUG_MAP_Y], a ld b, a ; 4 and a, %11110000 swap a or a, %10011000 ld h, a ld [DEBUG_MAP_Y_HIGH], a ; 16 ld a, b swap a and a, %11110000 add a, c ; a + map x ld l, a ld [DEBUG_MAP_Y_LOW], a ret SECTION "Wait VBlank routine", ROM0 WaitVBlank: ld a, [rLY] cp 144 ; Check if the LCD is past VBlank jr c, WaitVBlank ret SECTION "Copy Tiles routine", ROM0 CopyTiles: ld a, [de] ; Grab 1 byte from the source ld [hli], a ; Place it at the destination, incrementing hl inc de ; Move to next byte dec bc ; Decrement count ld a, b ; Check if count is 0, since `dec bc` doesn't update flags or c jr nz, CopyTiles ret SECTION "OAM DMA routine", ROM0 CopyDMARoutine: ld hl, DMARoutine ld b, DMARoutineEnd - DMARoutine ; Number of bytes to copy ld c, LOW(hOAMDMA) ; Low byte of the destination address .copy ld a, [hli] ldh [c], a inc c dec b jr nz, .copy ret DMARoutine: ldh [rDMA], a ld a, 40 .wait dec a jr nz, .wait ret DMARoutineEnd: SECTION "Tiles", ROM0 Tiles: INCBIN "tiles.bin" TilesEnd: SECTION "Map", ROM0 BgTileMap: INCBIN "map.bin" BgTileMapEnd: SECTION "STATE", WRAM0[_RAM] JOYPAD_STATE: ds 1 JOYPAD_YPOS: ds 1 JOYPAD_XPOS: ds 1 NEW_JOYPAD_Y: ds 1 NEW_JOYPAD_X: ds 1 PLAYER_INDEX: ; Tile Index ds 1 PLAYER_ATTRI: ; Attributes/Flags ds 1 DEBUG_MAP_Y: ds 1 DEBUG_MAP_X: ds 1 DEBUG_MAP_Y_HIGH: ds 1 DEBUG_MAP_Y_LOW: ds 1 DEBUG_TILE: ds 1 DEBUG_TILE2: ds 1 SECTION "Shadow OAM", WRAM0[_RAM+$100] wShadowOAM: ds 4*40 ; This is the buffer we'll write sprite data to SECTION "OAM DMA", HRAM hOAMDMA: ds DMARoutineEnd - DMARoutine ; Reserve space to copy the routine to
src/main/antlr4/imports/mysql_idents.g4
HieuMinh0609/kafka-maxwell
0
5816
<gh_stars>0 grammar mysql_idents; import mysql_literal_tokens; db_name: name; table_name: (db_name '.' name) | name ; user: user_token ('@' user_token)?; user_token: (IDENT | QUOTED_IDENT | STRING_LITERAL); name: ( id | tokens_available_for_names | INTEGER_LITERAL); id: ( IDENT | QUOTED_IDENT ); literal: (float_literal | integer_literal | string_literal); float_literal: INTEGER_LITERAL? '.' INTEGER_LITERAL; integer_literal: INTEGER_LITERAL; string_literal: STRING_LITERAL; string: (IDENT | STRING_LITERAL); integer: INTEGER_LITERAL; charset_name: (IDENT | STRING_LITERAL | QUOTED_IDENT); default_character_set: DEFAULT? charset_token '='? charset_name collation?; default_collation: DEFAULT? collation; // it's not documented, but either "charset 'utf8'" or "character set 'utf8'" is valid. charset_token: (CHARSET | (CHARACTER SET)); collation: COLLATE '='? (IDENT | STRING_LITERAL | QUOTED_IDENT); if_not_exists: IF NOT EXISTS; SQL_UPGRADE_COMMENT: '/*!' [0-9]* -> skip; SQL_UPGRADE_ENDCOMMENT: '*/' -> skip; SQL_COMMENT: '/*' ~'!' (.)*? '*/' -> skip; SQL_LINE_COMMENT: ('#' | '--') (~'\n')* ('\n' | EOF) -> skip; STRING_LITERAL: TICK ('\\\'' | '\'\'' | ~('\''))* TICK; INTEGER_LITERAL: DIGIT+; fragment TICK: '\''; fragment UNQUOTED_CHAR: [0-9a-zA-Z\u0080-\u00FF$_]; IDENT: (UNQUOTED_CHAR)+; QUOTED_IDENT: '`' (~'`')+? '`'; fragment DIGIT: [0-9]; WS : [ \t\n\r]+ -> skip ;
programs/oeis/307/A307163.asm
neoneye/loda
22
14380
; A307163: Minimum number of intercalates in a diagonal Latin square of order n. ; 0,0,0,12,0,9,0,0,0,0,0,0,0 mov $2,2 lpb $0 mov $1,22 add $2,$0 add $0,$2 div $1,$2 dif $0,$1 lpe mul $1,3 mov $0,$1
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c3/c37404a.ada
best08618/asylo
7
29006
--C37404A.ADA -- Grant of Unlimited Rights -- -- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687, -- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained -- unlimited rights in the software and documentation contained herein. -- Unlimited rights are defined in DFAR 252.227-7013(a)(19). By making -- this public release, the Government intends to confer upon all -- recipients unlimited rights equal to those held by the Government. -- These rights include rights to use, duplicate, release or disclose the -- released technical data and computer software in whole or in part, in -- any manner and for any purpose whatsoever, and to have or permit others -- to do so. -- -- DISCLAIMER -- -- ALL MATERIALS OR INFORMATION HEREIN RELEASED, MADE AVAILABLE OR -- DISCLOSED ARE AS IS. THE GOVERNMENT MAKES NO EXPRESS OR IMPLIED -- WARRANTY AS TO ANY MATTER WHATSOEVER, INCLUDING THE CONDITIONS OF THE -- SOFTWARE, DOCUMENTATION OR OTHER INFORMATION RELEASED, MADE AVAILABLE -- OR DISCLOSED, OR THE OWNERSHIP, MERCHANTABILITY, OR FITNESS FOR A -- PARTICULAR PURPOSE OF SAID MATERIAL. --* -- OBJECTIVE: -- CHECK THAT 'CONSTRAINED IS TRUE FOR VARIABLES DECLARED WITH A -- CONSTRAINED TYPE, FOR CONSTANT OBJECTS (EVEN IF NOT DECLARED -- WITH A CONSTRAINED TYPE), AND DESIGNATED OBJECTS. -- HISTORY: -- DHH 02/25/88 CREATED ORIGINAL TEST. WITH REPORT; USE REPORT; PROCEDURE C37404A IS SUBTYPE INT IS INTEGER RANGE 1 .. 10; TYPE REC(A : INT) IS RECORD I : INT; END RECORD; TYPE ACC_REC IS ACCESS REC(4); TYPE ACC_REC1 IS ACCESS REC; SUBTYPE REC4 IS REC(4); SUBTYPE REC5 IS REC; TYPE REC_DEF(A : INT := 5) IS RECORD I : INT := 1; END RECORD; TYPE ACC_DEF IS ACCESS REC_DEF(4); TYPE ACC_DEF1 IS ACCESS REC_DEF; SUBTYPE REC6 IS REC_DEF(6); SUBTYPE REC7 IS REC_DEF; A : REC4 := (A => 4, I => 1); -- CONSTRAINED. B : REC5(4) := (A => 4, I => 1); -- CONSTRAINED. C : REC6; -- CONSTRAINED. D : REC7(6); -- CONSTRAINED. E : ACC_REC1(4); -- CONSTRAINED. F : ACC_DEF1(4); -- CONSTRAINED. G : ACC_REC1; -- UNCONSTRAINED. H : ACC_DEF1; -- UNCONSTRAINED. R : REC(5) := (A => 5, I => 1); -- CONSTRAINED. T : REC_DEF(5); -- CONSTRAINED. U : ACC_REC; -- CONSTRAINED. V : ACC_DEF; -- CONSTRAINED. W : CONSTANT REC(5) := (A => 5, I => 1); -- CONSTANT. X : CONSTANT REC := (A => 5, I => 1); -- CONSTANT. Y : CONSTANT REC_DEF(5) := (A => 5, I => 1); -- CONSTANT. Z : CONSTANT REC_DEF := (A => 5, I => 1); -- CONSTANT. BEGIN TEST("C37404A", "CHECK THAT 'CONSTRAINED IS TRUE FOR VARIABLES " & "DECLARED WITH A CONSTRAINED TYPE, FOR " & "CONSTANT OBJECTS (EVEN IF NOT DECLARED WITH A " & "CONSTRAINED TYPE), AND DESIGNATED OBJECTS"); U := NEW REC(4); V := NEW REC_DEF(4); E := NEW REC(4); F := NEW REC_DEF(4); G := NEW REC(4); -- CONSTRAINED. H := NEW REC_DEF(4); -- CONSTRAINED. IF NOT A'CONSTRAINED THEN FAILED("'CONSTRAINED NOT TRUE FOR SUBTYPE1"); END IF; IF NOT B'CONSTRAINED THEN FAILED("'CONSTRAINED NOT TRUE FOR SUBTYPE2"); END IF; IF NOT C'CONSTRAINED THEN FAILED("'CONSTRAINED NOT TRUE FOR DEFAULT SUBTYPE1"); END IF; IF NOT D'CONSTRAINED THEN FAILED("'CONSTRAINED NOT TRUE FOR DEFAULT SUBTYPE2"); END IF; IF NOT R'CONSTRAINED THEN FAILED("'CONSTRAINED NOT TRUE FOR RECORD COMPONENT"); END IF; IF NOT T'CONSTRAINED THEN FAILED("'CONSTRAINED NOT TRUE FOR DEFAULT VARIABLE"); END IF; IF NOT E.ALL'CONSTRAINED THEN FAILED("'CONSTRAINED NOT TRUE FOR ACCESS 1"); END IF; IF NOT F.ALL'CONSTRAINED THEN FAILED("'CONSTRAINED NOT TRUE FOR DEFAULT ACCESS 1"); END IF; IF NOT G.ALL'CONSTRAINED THEN FAILED("'CONSTRAINED NOT TRUE FOR ACCESS 2"); END IF; IF NOT H.ALL'CONSTRAINED THEN FAILED("'CONSTRAINED NOT TRUE FOR DEFAULT ACCESS 2"); END IF; IF NOT U.ALL'CONSTRAINED THEN FAILED("'CONSTRAINED NOT TRUE FOR ACCESS 3"); END IF; IF NOT V.ALL'CONSTRAINED THEN FAILED("'CONSTRAINED NOT TRUE FOR DEFAULT ACCESS 3"); END IF; IF NOT W'CONSTRAINED THEN FAILED("'CONSTRAINED NOT TRUE FOR CONSTANT, CONSTRAINED"); END IF; IF NOT X'CONSTRAINED THEN FAILED("'CONSTRAINED NOT TRUE FOR CONSTANT, UNCONSTRAINED"); END IF; IF NOT Y'CONSTRAINED THEN FAILED("'CONSTRAINED NOT TRUE FOR DEFAULT CONSTANT, " & "CONSTRAINED"); END IF; IF NOT Z'CONSTRAINED THEN FAILED("'CONSTRAINED NOT TRUE FOR DEFAULT CONSTANT, " & "UNCONSTRAINED"); END IF; IF IDENT_INT(T.I) /= 1 OR IDENT_INT(C.I) /= 1 OR IDENT_INT(D.I) /= 1 OR IDENT_INT(W.A) /= 5 OR IDENT_INT(X.A) /= 5 OR IDENT_INT(Y.A) /= 5 OR IDENT_INT(Z.I) /= 1 OR IDENT_INT(A.I) /= 1 OR IDENT_INT(B.I) /= 1 OR IDENT_BOOL(R.I /= 1) THEN FAILED("INCORRECT INITIALIZATION VALUES"); END IF; RESULT; END C37404A;
sbsext/ext/alarm.asm
olifink/smsqe
0
170676
* Resident alarm program  1985 T.Tebby QJUMP * section exten * xdef alarm * xref ut_gxin2 get two integers xref ut_crjob create Job xref ut_ajob activate Job xref ut_rjbme suicide xref tm_susrc suspend and read clock * include dev8_sbsext_ext_keys * al_jmp equ $00 jmp al_job al_flag equ $06 $4afb al_name equ $08 12,'Alarm ' al_tstr equ $10 time ' hh:mm' al_time equ $16 time of day in 4 second units al_data equ $18 end of program data al_work equ $10 stack space * al_jobd dc.w al_data+al_work-$10 data space required dc.w al_job-* address of program dc.w 12,'Alarm ' name (completed with the time) al_active moveq #1,d2 low priority bra.l ut_ajob * al_bp moveq #err.bp,d0 al_rts rts * page alarm bsr.l ut_gxin2 get exactly two integers bne.s al_rts move.w (a6,a1.l),d6 set first time parameter move.w 2(a6,a1.l),d7 ... and second cmp.w #23,d6 too many hours? bhi.s al_bp ... yes cmp.w #59,d7 too many minutes? bhi.s al_bp ... yes * move.l a1,-(sp) lea al_jobd(pc),a4 set up alarm job bsr.l ut_crjob move.l (sp)+,a1 bne.s al_rts ... oops * move.l bv_bfbas(a6),a0 convert time to hh:mm in buffer moveq #' ',d4 space bsr.s al_conv ... hh moveq #':',d4 colon bsr.s al_conv ... mm move.l bv_bfbas(a6),a0 move.l (a6,a0.l),(a4)+ put into job move.w 4(a6,a0.l),(a4)+ * mulu #60,d6 set time in minutes add.w d6,d7 mulu #15,d7 in units of 4 seconds move.w d7,(a4) and set in job bra.s al_active activate job * al_conv moveq #100,d0 add.w d0,(a6,a1.l) jsr cn..itod*3+qlv.off move.b d4,-3(a6,a0.l) rts page * al_job al_loop moveq #50,d3 for 1 second bsr.s tm_susrc suspend and read clock lsr.l #2,d1 make time manageable in 4 second units divu #21600,d1 24*60*15=21600 4 seconds in a day swap d1 remainder is 4 seconds sub.w al_time(a6),d1 cmp.w #150,d1 remain set for 10 minutes bhi.s al_loop out of range, try again * moveq #mt.ipcom,d0 beep!!! lea al_beep(pc),a3 trap #1 bra.l ut_rjbme and suicide * * command is beep,6,13,1000,20000,5,0,0,0 * al_beep dc.b $a,8,0,0,%10101010,%10101010,7,14,0,4,0,80,80,0,1 dc.b 0 to align!!!!! * end
src/shaders/h264/ildb/loadNV12_16x16T.asm
tizenorg/platform.upstream.libva-intel-driver
0
176618
/* * Copyright © <2010>, Intel Corporation. * * This program is licensed under the terms and conditions of the * Eclipse Public License (EPL), version 1.0. The full text of the EPL is at * http://www.opensource.org/licenses/eclipse-1.0.php. * */ // Module name: loadNV12_16x16T.asm // // Load and transpose NV12 16x16 block // //---------------------------------------------------------------- // Symbols need to be defined before including this module // // Source region in :ud // SRC_YD: SRC_YD Base=rxx ElementSize=4 SrcRegion=REGION(8,1) Type=ud // 8 GRFs // SRC_UD: SRC_UD Base=rxx ElementSize=4 SrcRegion=REGION(8,1) Type=ud (U+V for NV12) // 4 GRFs // // Source region is :ub. The same region as :ud region // SRC_YB: SRC_YB Base=rxx ElementSize=1 SrcRegion=REGION(16,1) Type=ub // 8 GRFs // SRC_UB: SRC_UB Base=rxx ElementSize=1 SrcRegion=REGION(16,1) Type=ub // 2 GRFs // SRC_VB: SRC_VB Base=rxx ElementSize=1 SrcRegion=REGION(16,1) Type=ub // 2 GRFs // // Binding table index: // BI_SRC_Y: Binding table index of Y surface // BI_SRC_UV: Binding table index of UV surface (NV12) // // Temp buffer: // BUF_B: BUF_B Base=rxx ElementSize=1 SrcRegion=REGION(16,1) Type=ub // //---------------------------------------------------------------- #if defined(_DEBUG) mov (1) EntrySignatureC:w 0xDDD1:w #endif // Read Y mov (2) MSGSRC.0<1>:ud ORIX_CUR<2;2,1>:w // Block origin mov (1) MSGSRC.2<1>:ud 0x000F000F:ud // Block width and height (16x16) send (8) SRC_YD(0)<1> MSGHDRY MSGSRC<8;8,1>:ud DAPREAD RESP_LEN(8)+DWBRMSGDSC_RC+BI_SRC_Y // Read 8 GRFs // Read U+V asr (1) MSGSRC.1:ud MSGSRC.1:ud 1:w // NV12 U+V block origin y = half of Y comp mov (1) MSGSRC.2<1>:ud 0x0007000F:ud // NV12 U+V block width and height (16x8) send (8) SRC_UD(0)<1> MSGHDRU MSGSRC<8;8,1>:ud DAPREAD RESP_LEN(4)+DWBRMSGDSC_RC+BI_SRC_UV // Read 4 GRFs #include "TransposeNV12_16x16.asm" // #include "Transpose_Y_16x16.asm" // #include "Transpose_NV12_UV_16x8.asm" // End of loadNV12_16x16T
oeis/151/A151668.asm
neoneye/loda-programs
11
81516
<reponame>neoneye/loda-programs<filename>oeis/151/A151668.asm ; A151668: G.f.: Product_{k>=0} (1 + 2*x^(3^k)). ; Submitted by <NAME> ; 1,2,0,2,4,0,0,0,0,2,4,0,4,8,0,0,0,0,0,0,0,0,0,0,0,0,0,2,4,0,4,8,0,0,0,0,4,8,0,8,16,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,4,0,4,8,0,0,0,0,4,8,0,8,16,0,0,0,0,0 mov $2,1 lpb $0 mov $1,$0 div $0,3 add $1,1 mod $1,3 mul $2,$1 lpe mov $0,$2
libsrc/graphics/cpc/undrawr.asm
grancier/z180
0
25042
; ; Amstrad CPC Graphics Functions ; ; by <NAME> - Jul 2004 ; ; ; $Id: undrawr.asm,v 1.5 2016/06/19 21:10:08 dom Exp $ ; SECTION code_clib PUBLIC undrawr PUBLIC _undrawr EXTERN drawr INCLUDE "cpcfirm.def" INCLUDE "graphics/grafix.inc" .undrawr ._undrawr ld a,bcolor call firmware defw gra_set_pen pop hl ld (hlsave),hl call drawr ld hl,(hlsave) push hl ld a,fcolor call firmware defw gra_set_pen ret SECTION bss_clib .hlsave defw 0
Vba.Language/Vba.Grammars/VbaParser.g4
rossknudsen/Vba.Language
20
7028
parser grammar VbaParser; //import Common; options { tokenVocab=VbaLexer; } // Specification: [MS-VBAL] VBA Language Specification // 3.3.5.2 Reserved Identifiers and IDENTIFIER identifier : Access | Alias | Append | Base | Binary | Class_Initialize | Class_Terminate | CLngLng | Compare | Database | DefLngLng | Error | Explicit | Lib | Line | LongLong | Mid | MidB | Module | Object | Output | Property | Random | Read | Reset | Step | Text | PtrSafe | Width | ID ; reservedIdentifier : statementKeyword | markerKeyword | operatorIdentifier | specialForm | reservedName | literalIdentifier | Rem | reservedForImplementationUse | futureReserved ; statementKeyword : Call | Case | Close | Const | Declare | defType | Dim | Do | Else | ElseIf | End | EndIf | Enum | Erase | Event | Exit | For | Friend | Function | Get | Global | GoSub | GoTo | If | Implements | Input | Let | Lock | Loop | LSet | Next | On | Open | Option | Print | Private | Public | Put | RaiseEvent | ReDim | Resume | Return | RSet | Seek | Select | Set | Static | Stop | Sub | Type | Unlock | Wend | While | With | Write ; markerKeyword : Any | As | ByRef | ByVal | Case | Each | Else | In | New | Shared | Until | WithEvents | Write | Optional | ParamArray | Preserve | Spc | Tab | Then | To ; operatorIdentifier : AddressOf | And | Eqv | Imp | Is | Like | New | Mod | Not | Or | TypeOf | Xor ; reservedName : Abs | CBool | CByte | CCur | CDate | CDbl | CDec | CInt | CLng | CLngLng | CLngPtr | CSng | CStr | CVar | CVErr | Date | Debug | DoEvents | Fix | Int | Len | LenB //| Me The spec says this should be included but UDT Members do not permit this. | PSet | Scale | Sgn | String ; specialForm : Array | Circle | Input | InputB | LBound | Scale | UBound ; reservedTypeIdentifier : Boolean | Byte | Currency | Date | Double | Integer | Long | LongLong | LongPtr | Single | String | Variant ; literalIdentifier : booleanLiteralIdentifier | Nothing | Empty | Null ; booleanLiteralIdentifier : True | False ; reservedForImplementationUse : Attribute | LINEINPUT | VB_Base | VB_Control | VB_Creatable | VB_Customizable | VB_Description | VB_Exposed | VB_Ext_KEY | VB_GlobalNameSpace | VB_HelpID | VB_Invoke_Func | VB_Invoke_Property | VB_Invoke_PropertyPut | VB_Invoke_PropertyPutRef | VB_MemberFlags | VB_Name | VB_PredeclaredId | VB_ProcData | VB_TemplateDerived | VB_UserMemId | VB_VarDescription | VB_VarHelpID | VB_VarMemberFlags | VB_VarProcData | VB_VarUserMemId ; futureReserved : CDecl | Decimal | DefDec; // 3.3.5.3 Special Identifier Forms builtInType : reservedTypeIdentifier | '[' reservedTypeIdentifier ']' | Object | '[' Object ']' ; typedName : identifier typeSuffix; typeSuffix : '%' // Integer 16 bit signed (default) | '&' // Long 32 bit signed | '^' // LongLong 64bit signed | '!' // Single | '#' // Double (default) | '@' // Currency | '$'; // 5.1 Module Body Structure // We use a single definition for a class and standard module. Distinction will be made // during semantic analysis. module : declarationSection moduleCodeSection ; unrestrictedName : name | reservedIdentifier; name : untypedName | typedName; untypedName : identifier | ForeignName; // 5.2 Module Declaration Section Structure declarationSection : (directiveElement EOS)*; directiveElement : optionCompareDirective | optionBaseDirective | optionExplicitDirective | optionPrivateDirective | RemStatement | implementsDirective | defDirective | variableDeclaration | enumDeclaration | constDeclaration | typeDeclaration | extProcDeclaration ; // 5.2.1.1-4 Option Directives optionCompareDirective : Option Compare (Binary | Text | Database); optionBaseDirective : Option Base IntegerLiteral; optionExplicitDirective : Option Explicit; optionPrivateDirective : Option Private Module; // 5.2.2 Implicit Definition Directives // TODO defDirective : defType letterSpec (',' letterSpec)*; letterSpec : LETTER ('-' LETTER)?; defType : DefBool | DefByte | DefCur | DefDate | DefDbl | DefInt | DefLng | DefLngLng | DefLngPtr | DefObj | DefSng | DefStr | DefVar ; // 5.2.3.1 Module Variable Declaration Lists variableDeclaration : (Global | Public | Private | Dim) Shared? variableDclList; variableDclList : (variableDcl | witheventsVariableDcl) (',' (variableDcl | witheventsVariableDcl))*; variableDeclarationList : variableDcl (',' variableDcl)*; // 5.2.3.1.1 Variable Declarations variableDcl : typedVariableDcl | untypedVariableDcl; typedVariableDcl : typedName arrayDim?; untypedVariableDcl : identifier (arrayClause | asClause)?; arrayClause : arrayDim asClause?; asClause : asAutoObject | asType; // 5.2.3.1.2 WithEvents Variable Declarations witheventsVariableDcl : WithEvents identifier As classTypeName; classTypeName : definedTypeExpression; // 5.2.3.1.3 Array Dimensions and Bounds arrayDim : '(' boundsList ')'; boundsList : dimSpec (',' dimSpec)*; dimSpec : constantExpression (To constantExpression)?; // 5.2.3.1.4 Variable Type Declarations asAutoObject : As New classTypeName; asType : As typeSpec; typeSpec : fixedLengthStringSpec | typeExpression; fixedLengthStringSpec : String '*' stringLength; stringLength : constantName | IntegerLiteral; constantName : simpleNameExpression; // 5.2.3.2 Const Declarations constDeclaration : (Global | Public | Private)? Const constItemList; constItemList : constItem (',' constItem)*; constItem : identifier asClause? '=' constantExpression; // 5.2.3.3 User Defined Type Declarations typeDeclaration : (Global | Public | Private)? udtDeclaration; udtDeclaration : Type untypedName EOS udtMemberList EOS End Type; udtMemberList : udtElement (EOS udtElement)*; udtElement : udtMember | RemStatement; udtMember : reservedNameMemberDcl | untypedNameMemberDcl; untypedNameMemberDcl : identifier optionalArrayClause; reservedNameMemberDcl : reservedMemberName asClause; optionalArrayClause : arrayDim? asClause; reservedMemberName : statementKeyword | markerKeyword | operatorIdentifier | specialForm | reservedName | literalIdentifier | reservedForImplementationUse | futureReserved | reservedTypeIdentifier // This is not in the specification but appears to be required for UDT member names. ; // 5.2.3.4 Enum Declarations enumDeclaration : (Global | Public | Private)? Enum untypedName EOS memberList EOS End Enum; memberList : enumElement (EOS enumElement)*; enumElement : enumMember | RemStatement; enumMember : untypedName ('=' constantExpression)?; // 5.2.3.5 External Procedure Declaration extProcDeclaration : (Public | Private)? externalProcDcl; externalProcDcl : Declare PtrSafe? (externalSub | externalFunction); externalSub : Sub subroutineName libInfo procedureParameters?; externalFunction : Function functionName libInfo procedureParameters? functionType?; libInfo : Lib StringLiteral (Alias StringLiteral)?; // 5.2.4.2 Implements Directive implementsDirective : Implements classTypeName; // 5.2.4.3 Event Declaration eventDeclaration : Public? Event identifier eventParameterList?; eventParameterList : '(' positionalParameters? ')'; // 5.3 Module Code Section Structure // TODO implement LINE-START / LINE-END moduleCodeSection : moduleCodeElement*; moduleCodeElement : subroutineDeclaration | functionDeclaration | propGetDeclaration | propLhsDeclaration | RemStatement | implementsDirective ; // 5.3.1 Procedure Declarations subroutineDeclaration : procedureScope? Static? Sub subroutineName procedureParameters? Static? EOS procedureBody endLabel? End Sub EOS; functionDeclaration : procedureScope? Static? Function functionName procedureParameters? functionType? Static? EOS procedureBody endLabel? End Function EOS; propGetDeclaration : procedureScope? Static? Property Get functionName procedureParameters? functionType? Static? EOS procedureBody endLabel? End Property EOS; propLhsDeclaration : procedureScope? Static? Property (Set | Let) subroutineName procedureParameters? functionType? Static? EOS procedureBody endLabel? End Property EOS; endLabel : statementLabelDefinition; //procedureTail : TODO // 5.3.1.1 Procedure Scope procedureScope : Global | Public | Private | Friend ; // 5.3.1.3 Procedure Names subroutineName : identifier | prefixedName; functionName : typedName | identifier | prefixedName; prefixedName : eventHandlerName | implementedName | lifecycleHandlerName; // 5.3.1.4 Function Type Declarations functionType : As typeExpression arrayDesignator?; arrayDesignator : '(' ')'; // 5.3.1.5 Parameter Lists procedureParameters : '(' parameterList? ')'; propertyParameters : '(' (parameterList ',')? valueParam ')'; parameterList : (positionalParameters ',' optionalParameters) | (positionalParameters (',' paramArray)?) | optionalParameters | paramArray ; positionalParameters : positionalParam (',' positionalParam)*; optionalParameters : optionalParam (',' optionalParam)*; valueParam : positionalParam; positionalParam : parameterMechanism? paramDcl; optionalParam : optionalPrefix paramDcl defaultValue?; paramArray : ParamArray identifier '(' ')' (As (Variant | '[' Variant ']'))?; paramDcl : untypedNameParamDcl | typedNameDcl; untypedNameParamDcl : identifier parameterType?; typedNameDcl : typedName arrayDesignator?; optionalPrefix : Optional parameterMechanism? | parameterMechanism? Optional; parameterMechanism : ByRef | ByVal; parameterType : arrayDesignator? As (typeExpression | Any); defaultValue : '=' constantExpression; // 5.3.1.8 Event Handler Declarations eventHandlerName : identifier; // 5.3.1.9 Implemented Name Declarations implementedName : identifier; // 5.3.1.10 Lifecycle Handler Declarations lifecycleHandlerName : Class_Initialize | Class_Terminate; // 5.4 Procedure Bodies and Statements procedureBody : statementBlock; // 5.4.1 Statement Blocks statementBlock : (blockStatement EOS)*; blockStatement : statementLabelDefinition | statement | RemStatement ; statement : controlStatement | dataManipulationStatement | errorHandlingStatement | fileStatement ; // 5.4.1.1 Statement Labels statementLabelDefinition : identifier ':' | lineNumberLabel ':'?; statementLabel : identifier | lineNumberLabel; statementLabelList : statementLabel (',' statementLabel); lineNumberLabel : IntegerLiteral; // actually can only be a decimal literal. // 5.4.1.2 Rem Statement // converted to lexer rule. // 5.4.2 Control Statements controlStatement : ifStatement | controlStatementExceptMultilineIf ; controlStatementExceptMultilineIf : callStatement | whileStatement | forStatement | exitForStatement | doStatement | exitDoStatement | singleLineIfStatement | selectCaseStatement | stopStatement | gotoStatement | onGotoStatement | gosubStatement | returnStatement | onGosubStatement | forEachStatement | exitSubStatement | exitFunctionStatement | exitPropertyStatement | raiseEventStatement | withStatement ; // 5.4.2.1 Call Statement callStatement : Call? (simpleNameExpression | memberAccessExpression | indexExpression | withExpression); // 5.4.2.2 While Statement whileStatement : While booleanExpression EOS statementBlock Wend; // 5.4.2.3 For Statement forStatement : simpleForStatement | explicitForStatement; simpleForStatement : forClause EOS statementBlock Next; explicitForStatement : forClause EOS statementBlock (Next | (nestedForStatement ',')) boundVariableExpression; nestedForStatement : explicitForStatement | explicitForEachStatement; forClause : For boundVariableExpression '=' expression To expression stepClause?; stepClause : Step expression; // 5.4.2.4 For Each Statement forEachStatement : simpleForEachStatement | explicitForEachStatement; simpleForEachStatement : forEachClause EOS statementBlock Next; explicitForEachStatement : forEachClause EOS statementBlock (Next | (nestedForStatement ',')) boundVariableExpression; forEachClause : For Each boundVariableExpression In expression; // 5.4.2.5 Exit For Statement exitForStatement : Exit For; // 5.4.2.6 Do Statement doStatement : Do conditionClause? EOS statementBlock Loop conditionClause?; conditionClause : (While | Until) booleanExpression; // 5.4.2.7 Exit Do Statement exitDoStatement : Exit Do; // 5.4.2.8 If Statement ifStatement : If booleanExpression Then EOS statementBlock elseIfBlock* elseBlock? End If; elseIfBlock : ElseIf booleanExpression Then EOS statementBlock; elseBlock : Else statementBlock; // 5.4.2.9 Single-line If Statement singleLineIfStatement : ifWithNonEmptyThen | ifWithEmptyThen; ifWithNonEmptyThen : If booleanExpression Then listOrLabel singleLineElseClause?; ifWithEmptyThen : If booleanExpression Then singleLineElseClause; singleLineElseClause : Else listOrLabel?; listOrLabel : statementLabel (':' sameLineStatement?)? | ':'? sameLineStatement (':' sameLineStatement?)*; sameLineStatement : fileStatement | errorHandlingStatement | dataManipulationStatement | controlStatementExceptMultilineIf ; // 5.4.2.10 Select Case Statement selectCaseStatement : Select Case expression EOS caseClause* caseElseClause? End Select; caseClause : Case rangeClause (',' rangeClause)? EOS statementBlock; caseElseClause : Case Else EOS statementBlock; rangeClause : expression (To expression)? | Is? comparisonOperator expression ; comparisonOperator : '=' | '<>' | '<' | '>' | '>=' | '<=' ; // 5.4.2.11 Stop Statement stopStatement : Stop; // 5.4.2.12 GoTo Statement gotoStatement : GoTo statementLabel; // 5.4.2.13 On GoTo Statement onGotoStatement : On expression GoTo statementLabelList; // 5.4.2.14 GoSub Statement gosubStatement : GoSub statementLabel; // 5.4.2.15 Return Statement returnStatement : Return; // 5.4.2.16 On GoSub Statement onGosubStatement : On expression GoSub statementLabelList; // 5.4.2.17 Exit Sub Statement exitSubStatement : Exit Sub; // 5.4.2.18 Exit Function Statement exitFunctionStatement : Exit Function; // 5.4.2.19 Exit Property Statement exitPropertyStatement : Exit Property; // 5.4.2.20 RaiseEvent Statement raiseEventStatement : RaiseEvent identifier ('(' eventArgumentList? ')')?; eventArgumentList : expression (',' expression)*; // 5.4.2.21 With Statement withStatement : With expression EOS statementBlock End With; // 5.4.3 Data Manipulation Statements dataManipulationStatement : localVariableDeclaration | staticVariableDeclaration | localConstDeclaration | redimStatement | midStatement | rsetStatement | lsetStatement | letStatement | setStatement ; localVariableDeclaration : Dim Shared? variableDeclarationList; staticVariableDeclaration : Static variableDeclarationList; localConstDeclaration : constDeclaration; redimStatement : ReDim Preserve? redimDeclarationList; redimDeclarationList : redimVariableDcl (',' redimVariableDcl)*; redimVariableDcl : redimTypedVariableDcl | redimUntypedDcl; redimTypedVariableDcl : typedName dynamicArrayDim; redimUntypedDcl : untypedName dynamicArrayClause; dynamicArrayDim : '(' dynamicBoundsList ')'; dynamicBoundsList : dynamicDimSpec (',' dynamicDimSpec)*; dynamicDimSpec : (integerExpression To)? integerExpression; dynamicArrayClause : dynamicArrayDim asClause?; eraseStatement : Erase eraseList; eraseList : lExpression (',' lExpression)*; midStatement : modeSpecifier '(' stringArgument ',' integerExpression (',' integerExpression)? ')' '=' expression; modeSpecifier : Mid '$'? | MidB '$'?; stringArgument : boundVariableExpression; lsetStatement : LSet boundVariableExpression '=' expression; rsetStatement : RSet boundVariableExpression '=' expression; letStatement : Let? lExpression '=' expression; setStatement : Set lExpression '=' expression; // 5.4.4 Error Handling Statements errorHandlingStatement : onErrorStatement | resumeStatement | errorStatement ; onErrorStatement : On Error errorbehavior; errorbehavior : (Resume Next) | (GoTo statementLabel); resumeStatement : Resume (Next | statementLabel)?; errorStatement : Error integerExpression; // 5.4.5 File Statements fileStatement : openStatement | closeStatement | seekStatement | lockStatement | unlockStatement | lineInputStatement | widthStatement | writeStatement | inputStatement | putStatement | getStatement ; openStatement : Open pathName modeClause? accessClause? lock As fileNumber lenClause?; pathName : expression; modeClause : For (Append | Binary | Input | Output | Random); accessClause : Access (Read Write | Read | Write); lock : Shared | Lock Read | Lock Write | Lock Read Write ; lenClause : Len '=' expression; fileNumber : markedFileNumber | expression; markedFileNumber : '#' expression; closeStatement : Reset | (Close fileNumberList?); fileNumberList : fileNumber (',' fileNumber)*; seekStatement : Seek fileNumber ',' expression; lockStatement : Lock fileNumber (',' recordRange)?; recordRange : expression (To expression)?; unlockStatement : Unlock fileNumber (',' recordRange)?; lineInputStatement : Line Input markedFileNumber ',' variableExpression; widthStatement : Width markedFileNumber ',' expression; printStatement : Print markedFileNumber ',' outputList?; outputList : outputClause (charPosition? outputClause)*; outputClause : spcClause | tabClause | expression ; charPosition : ';' | ','; spcClause : Spc '(' expression ')'; tabClause : Tab ('(' expression ')')?; writeStatement : Write markedFileNumber ',' outputList?; inputStatement : Input markedFileNumber ',' inputList; inputList : boundVariableExpression (',' boundVariableExpression)*; putStatement : Put fileNumber ',' expression? ',' expression; getStatement : Get fileNumber ',' expression? ',' variableExpression; // 5.6 Expressions expression : lExpression | literalExpression | parenthesizedExpression | typeOfIsExpression | newExpression | '-' expression | expression '^'<assoc=right> expression | expression '/' expression | expression '\\' expression | expression Mod expression | expression '*' expression | expression '+' expression | expression '-' expression | expression comparisonOperator expression | expression Eqv expression | expression Imp expression ; lExpression : simpleNameExpression | Me //instanceExpression 5.6.11 | lExpression '.' unrestrictedName //memberAccessExpression | lExpression '(' argumentList ')' //indexExpression | lExpression '!' unrestrictedName //dictionaryAccessExpression | withExpression ; // 5.6.5 Literal Expressions literalExpression : IntegerLiteral | FloatLiteral //| DateLiteral | StringLiteral | literalIdentifier typeSuffix? ; // 5.6.6 Parenthesized Expressions parenthesizedExpression : '(' expression ')'; // 5.6.7 TypeOf Is Expressions typeOfIsExpression : TypeOf expression Is typeExpression; // 5.6.8 New Expressions newExpression : New typeExpression; // 5.6.10 Simple Name Expressions simpleNameExpression : name; // 5.6.12 Member Access Expressions // TODO no line continuation or whitespace before period. memberAccessExpression : lExpression '.' unrestrictedName; // 5.6.13 Index Expressions indexExpression : lExpression '(' argumentList ')'; // 5.6.13.1 Argument Lists argumentList : (argumentExpression? ',')* argumentExpression | (argumentExpression? ',')* namedArgumentList ; namedArgumentList : namedArgument (',' namedArgument)*; namedArgument : unrestrictedName ':=' argumentExpression; argumentExpression : ByVal? expression | addressOfExpression; // 5.6.14 Dictionary Access Expressions // TODO no whitespace/line-continuation between lExpression and bang. dictionaryAccessExpression : lExpression '!' unrestrictedName; // 5.6.15 With Expressions withExpression : ('.' | '!') unrestrictedName ; // 5.6.16.1 Constant Expressions // TODO enforce semantics on this. constantExpression : expression; // 5.6.16.3 Boolean Expressions booleanExpression : expression; // 5.6.16.4 Integer Expressions integerExpression : expression; // 5.6.16.5 Variable Expressions variableExpression : lExpression; // 5.6.16.6 Bound Variable Expressions boundVariableExpression : lExpression; // 5.6.16.7 Type Expressions typeExpression : builtInType | simpleNameExpression | memberAccessExpression ; definedTypeExpression : simpleNameExpression | memberAccessExpression; // 5.6.16.8 AddressOf Expressions addressOfExpression : AddressOf (simpleNameExpression | memberAccessExpression);
src/gl/interface/gl-objects-framebuffers.ads
Roldak/OpenGLAda
79
22288
<filename>src/gl/interface/gl-objects-framebuffers.ads -- part of OpenGLAda, (c) 2017 <NAME> -- released under the terms of the MIT license, see the file "COPYING" with GL.Buffers; with GL.Objects.Renderbuffers; with GL.Objects.Textures; private with GL.Low_Level.Enums; package GL.Objects.Framebuffers is pragma Preelaborate; type Framebuffer_Status is (Undefined, Complete, Incomplete_Attachment, Incomplete_Missing_Attachment, Incomplete_Draw_Buffer, Incomplete_Read_Buffer, Unsupported, Incomplete_Multisample, Incomplete_Layer_Targets); type Attachment_Point is (Depth_Stencil_Attachment, Color_Attachment_0, Color_Attachment_1, Color_Attachment_2, Color_Attachment_3, Color_Attachment_4, Color_Attachment_5, Color_Attachment_6, Color_Attachment_7, Color_Attachment_8, Color_Attachment_9, Color_Attachment_10, Color_Attachment_11, Color_Attachment_12, Color_Attachment_13, Color_Attachment_14, Color_Attachment_15, Depth_Attachment, Stencil_Attachment); type Attachment_List is array (Positive range <>) of Attachment_Point; type Framebuffer_Target (<>) is tagged limited private; function Status (Target : Framebuffer_Target) return Framebuffer_Status; procedure Attach_Renderbuffer (Target : Framebuffer_Target; Attachment : Attachment_Point; Object : Renderbuffers.Renderbuffer'Class); procedure Attach_Texture (Target : Framebuffer_Target; Attachment : Attachment_Point; Object : Textures.Texture'Class; Level : Textures.Mipmap_Level); procedure Attach_Texture_Layer (Target : Framebuffer_Target; Attachment : Attachment_Point; Object : Textures.Texture'Class; Level : Textures.Mipmap_Level; Layer : Int); procedure Invalidate (Target : in out Framebuffer_Target; Attachments : Attachment_List); procedure Invalidate_Sub (Target : in out Framebuffer_Target; Attachments : Attachment_List; X, Y : Int; Width, Height : Size); procedure Set_Default_Width (Target : in out Framebuffer_Target; Value : Size); function Default_Width (Target : Framebuffer_Target) return Size; function Max_Framebuffer_Width return Size; procedure Set_Default_Height (Target : in out Framebuffer_Target; Value : Size); function Default_Height (Target : Framebuffer_Target) return Size; function Max_Framebuffer_Height return Size; procedure Set_Default_Layers (Target : in out Framebuffer_Target; Value : Size); function Default_Layers (Target : Framebuffer_Target) return Size; function Max_Framebuffer_Layers return Size; procedure Set_Default_Samples (Target : in out Framebuffer_Target; Value : Size); function Default_Samples (Target : Framebuffer_Target) return Size; function Max_Framebuffer_Samples return Size; procedure Set_Default_Fixed_Sample_Locactions (Target : in out Framebuffer_Target; Value : Boolean); function Default_Fixed_Sample_Locations (Target : Framebuffer_Target) return Boolean; -- copy from current Read to current Draw framebuffer procedure Blit (Src_X0, Src_Y0, Src_X1, Src_Y1, Dst_X0, Dst_Y0, Dst_X1, Dst_Y1 : Int; Mask : Buffers.Buffer_Bits; Filter : Textures.Magnifying_Function); type Framebuffer is new GL_Object with private; procedure Bind (Target : Framebuffer_Target; Object : Framebuffer'Class); function Current (Target : Framebuffer_Target) return Framebuffer'Class; Read_Target : constant Framebuffer_Target; Draw_Target : constant Framebuffer_Target; Read_And_Draw_Target : constant Framebuffer_Target; Default_Framebuffer : constant Framebuffer; private for Framebuffer_Status use (Undefined => 16#8219#, Complete => 16#8CD5#, Incomplete_Attachment => 16#8CD6#, Incomplete_Missing_Attachment => 16#8CD7#, Incomplete_Draw_Buffer => 16#8CDB#, Incomplete_Read_Buffer => 16#8CDC#, Unsupported => 16#8CDD#, Incomplete_Multisample => 16#8D56#, Incomplete_Layer_Targets => 16#8DA8#); for Framebuffer_Status'Size use Low_Level.Enum'Size; for Attachment_Point use (Depth_Stencil_Attachment => 16#821A#, Color_Attachment_0 => 16#8CE0#, Color_Attachment_1 => 16#8CE1#, Color_Attachment_2 => 16#8CE2#, Color_Attachment_3 => 16#8CE3#, Color_Attachment_4 => 16#8CE4#, Color_Attachment_5 => 16#8CE5#, Color_Attachment_6 => 16#8CE6#, Color_Attachment_7 => 16#8CE7#, Color_Attachment_8 => 16#8CE8#, Color_Attachment_9 => 16#8CE9#, Color_Attachment_10 => 16#8CEA#, Color_Attachment_11 => 16#8CEB#, Color_Attachment_12 => 16#8CEC#, Color_Attachment_13 => 16#8CED#, Color_Attachment_14 => 16#8CEE#, Color_Attachment_15 => 16#8CEF#, Depth_Attachment => 16#8D00#, Stencil_Attachment => 16#8D01#); for Attachment_Point'Size use Low_Level.Enum'Size; pragma Convention (C, Attachment_List); type Framebuffer is new GL_Object with null record; overriding procedure Internal_Create_Id (Object : Framebuffer; Id : out UInt); overriding procedure Internal_Release_Id (Object : Framebuffer; Id : UInt); type Framebuffer_Target (Kind : Low_Level.Enums.Framebuffer_Kind) is tagged limited null record; Read_Target : constant Framebuffer_Target := Framebuffer_Target'(Kind => Low_Level.Enums.Read); Draw_Target : constant Framebuffer_Target := Framebuffer_Target'(Kind => Low_Level.Enums.Draw); Read_And_Draw_Target : constant Framebuffer_Target := Framebuffer_Target'(Kind => Low_Level.Enums.Read_Draw); Default_Framebuffer : constant Framebuffer := Framebuffer'(Ada.Finalization.Controlled with Reference => Reference_To_Null_Object'Access); end GL.Objects.Framebuffers;
sound/main.asm
raphnet/super_sudoku
6
95582
<gh_stars>1-10 .memorymap slotsize $7000 defaultslot 0 slot 0 $200 .endme .rombankmap bankstotal 1 banksize $7000 banks 1 .endro .emptyfill 0 ;;;;;;;;;;; SPC700 CPU registers / IO locations ;;;;;;;;;;;;;;;;;;;; .define TEST $00F0 ; Testing functions .define CONTROL $00F1 ; Timer, I/O and ROM Control .define DSPADDR $00F2 ; DSP Register Index (R/W) .define DSPDATA $00F3 ; DSP Register Data (R/W) .define CPUIO0 $00F4 .define CPUIO1 $00F5 .define CPUIO2 $00F6 .define CPUIO3 $00F7 .define AUXIO4 $00F8 .define AUXIO5 $00F9 .define T0DIV $00FA ; Timer 0 Divider (for 8000Hz clock source) (W) .define T1DIV $00FA ; Timer 0 Divider (for 8000Hz clock source) (W) .define T2DIV $00FA ; Timer 0 Divider (for 64000Hz clock source) (W) .define T0OUT $00FD .define T1OUT $00FE .define T2OUT $00FF ;;;;;;;;;;; DSP registers ;;;;;;;;;;;; ;; voice registers (repeated at $10 interval for 8 voices) .define VOL_L $00 ; \ left and right volume .define VOL_R $01 ; / .define P_L $02 ; \ The total 14 bits of P(H) & P(L) express .define P_H $03 ; / pitch height .define SCRN $04 ; Designates source number from 0-256 .define ADSR1 $05 ; \ Address is designated by D7 = 1 of ADSR(1): .define ADSR2 $06 ; / .define GAIN $07 ; Envelope can be freely designated by the program. .define ENVX $08 ; Present value of evelope which DSP rewrittes at each Ts. .define OUTX $09 ; Value after envelope multiplication & before VOL multiplication (present wave height value) .define CHN0_OFF $00 .define CHN1_OFF $10 .define CHN2_OFF $20 .define CHN3_OFF $30 .define CHN4_OFF $40 .define CHN5_OFF $50 .define CHN6_OFF $60 .define CHN7_OFF $70 ;; Global / common register .define MVOL_L $0c ; Main Volume (L) .define MVOL_R $1c ; Main Volume (R) .define EVOL_L $2c ; Echo Volume (L) .define EVOL_R $3c ; Echo Volume (R) .define KON $4c ; Key On. D0-D7 correspond to Voice0-Voice7 .define KOF $5c ; key Off .define FLG $6c ; Designated on/off of reset, mute, echo and noise clock. .define FLG_RES $80 ; soft reset .define FLG_MUTE $40 ; mute .define FLG_ECHO_DIS $20 ; echo enable .define FLG_NCK $04 ; noise generator clock .define ENDX $7c ; Indicates source end block. .define EFB $0d ; Echo Feed-Back .define PMON $2d ; Pitch modulation of Voice i with OUTX of Voice (i=1) as modulated wave. .define NOV $3d ; Noise on/off. D0-D7 correspond to Voice0-Voice7 .define EOV $4d ; Echo On/Off .define DIR $5d ; Off-set address of source directory .define ESA $6d ; Off-set address of echo region. Echo Start Address .define EDL $7d ; Echo Delay. Only lower 4 bits operative. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; syntax writeDspReg reg data .macro writeDspReg mov DSPADDR, #\1 mov DSPDATA, #\2 .endm ; syntax writeDspReg reg ; (value written taken from register A) .macro writeDspReg_A mov DSPADDR, #\1 mov DSPDATA, A .endm .macro writeDspReg16 mov DSPADDR, #\1 mov DSPDATA, #<\2 mov DSPADDR, #\1+1 mov DSPDATA, #>\2 .endm ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; .bank 0 .section "Code" FORCE entry: jmp !main main: writeDspReg DIR >source_directory writeDspReg MVOL_L 96 writeDspReg MVOL_R 96 writeDspReg EVOL_L 0 writeDspReg EVOL_R 0 writeDspReg FLG FLG_ECHO_DIS ; Init all voices in silence` writeDspReg SCRN+CHN0_OFF 0 writeDspReg VOL_L+CHN0_OFF 0 writeDspReg VOL_R+CHN0_OFF 0 writeDspReg16 ADSR1+CHN0_OFF 0 writeDspReg GAIN+CHN0_OFF 0 writeDspReg SCRN+CHN1_OFF 0 writeDspReg VOL_L+CHN1_OFF 0 writeDspReg VOL_R+CHN1_OFF 0 writeDspReg16 ADSR1+CHN1_OFF 0 writeDspReg GAIN+CHN1_OFF 0 writeDspReg SCRN+CHN2_OFF 0 writeDspReg VOL_L+CHN2_OFF 0 writeDspReg VOL_R+CHN2_OFF 0 writeDspReg16 ADSR1+CHN2_OFF 0 writeDspReg GAIN+CHN2_OFF 0 writeDspReg SCRN+CHN3_OFF 0 writeDspReg VOL_L+CHN3_OFF 0 writeDspReg VOL_R+CHN3_OFF 0 writeDspReg16 ADSR1+CHN3_OFF 0 writeDspReg GAIN+CHN3_OFF 0 writeDspReg SCRN+CHN4_OFF 0 writeDspReg VOL_L+CHN4_OFF 0 writeDspReg VOL_R+CHN4_OFF 0 writeDspReg16 ADSR1+CHN4_OFF 0 writeDspReg GAIN+CHN4_OFF 0 writeDspReg SCRN+CHN5_OFF 0 writeDspReg VOL_L+CHN5_OFF 0 writeDspReg VOL_R+CHN5_OFF 0 writeDspReg16 ADSR1+CHN5_OFF 0 writeDspReg GAIN+CHN5_OFF 0 writeDspReg SCRN+CHN6_OFF 0 writeDspReg VOL_L+CHN6_OFF 0 writeDspReg VOL_R+CHN6_OFF 0 writeDspReg16 ADSR1+CHN6_OFF 0 writeDspReg GAIN+CHN6_OFF 0 writeDspReg SCRN+CHN7_OFF 0 writeDspReg VOL_L+CHN7_OFF 0 writeDspReg VOL_R+CHN7_OFF 0 writeDspReg16 ADSR1+CHN7_OFF 0 writeDspReg GAIN+CHN7_OFF 0 ; Disable echo writeDspReg EOV 0 ; Disable noise writeDspReg NOV 0 ; Dsiable pitch modulation writeDspReg PMON 0 ; Sound 0 (error) writeDspReg SCRN 0 writeDspReg16 P_L $0400 ; original $1000 writeDspReg VOL_L 128 writeDspReg VOL_R 128 writeDspReg16 ADSR1 $0000 writeDspReg GAIN 64 ; Sound 1 (write) writeDspReg SCRN+CHN1_OFF 1 writeDspReg16 P_L+CHN1_OFF $0800 ; original writeDspReg VOL_L+CHN1_OFF 128 writeDspReg VOL_R+CHN1_OFF 128 writeDspReg16 ADSR1+CHN1_OFF $0000 writeDspReg GAIN+CHN1_OFF 64 ; Sound 2 (erase) writeDspReg SCRN+CHN2_OFF 2 writeDspReg16 P_L+CHN2_OFF $0800 ; original writeDspReg VOL_L+CHN2_OFF 128 writeDspReg VOL_R+CHN2_OFF 128 writeDspReg16 ADSR1+CHN2_OFF $0000 writeDspReg GAIN+CHN2_OFF 64 ; Sound 3 (click) writeDspReg SCRN+CHN3_OFF 3 writeDspReg16 P_L+CHN3_OFF $0800 ; original writeDspReg VOL_L+CHN3_OFF 128 writeDspReg VOL_R+CHN3_OFF 128 writeDspReg16 ADSR1+CHN3_OFF $0000 writeDspReg GAIN+CHN3_OFF 64 ; Sound 4 (back) writeDspReg SCRN+CHN4_OFF 4 writeDspReg16 P_L+CHN4_OFF $0800 ; original writeDspReg VOL_L+CHN4_OFF 128 writeDspReg VOL_R+CHN4_OFF 128 writeDspReg16 ADSR1+CHN4_OFF $0000 writeDspReg GAIN+CHN4_OFF 64 ; Sound 5 (back) writeDspReg SCRN+CHN5_OFF 5 writeDspReg16 P_L+CHN5_OFF $0800 ; original writeDspReg VOL_L+CHN5_OFF 128 writeDspReg VOL_R+CHN5_OFF 128 writeDspReg16 ADSR1+CHN5_OFF $0000 writeDspReg GAIN+CHN5_OFF 64 ; Silence unused channels writeDspReg SCRN+CHN6_OFF 0 writeDspReg VOL_L+CHN6_OFF 0 writeDspReg VOL_R+CHN6_OFF 0 writeDspReg16 ADSR1+CHN6_OFF 0 writeDspReg GAIN+CHN6_OFF 0 writeDspReg SCRN+CHN7_OFF 0 writeDspReg VOL_L+CHN7_OFF 0 writeDspReg VOL_R+CHN7_OFF 0 writeDspReg16 ADSR1+CHN7_OFF 0 writeDspReg GAIN+CHN7_OFF 0 @mainloop: mov A, CPUIO0 ; handshake @waitChange: cmp A, CPUIO0 beq @waitChange mov A, CPUIO1 ; command ; acknowledge the command push A mov A, CPUIO0 mov CPUIO0, A pop A ; cmp A, #$10 bra @keyon bra @mainloop ; Take A holding a value from 0 to 7, convert it to a ; bit for KON : In other words, do this: 1<<A @keyon: and A, #$7 mov X, A mov A, #1 @n: dec X bmi @done_shifting asl A bra @n @done_shifting: writeDspReg_A KON bra @mainloop .ends .section "source_directory" align $100 FREE source_directory: .dw errorSample ; Source start address .dw errorSample ; Source loop start address .dw writeSample .dw writeSample .dw eraseSample .dw eraseSample .dw clickSample .dw clickSample .dw backSample .dw backSample .dw solvedSample .dw solvedSample .ends .section "samples" errorSample: .incbin "error.brr" writeSample: .incbin "write.brr" eraseSample: .incbin "erase.brr" clickSample: .incbin "click.brr" backSample: .incbin "back.brr" solvedSample: .incbin "solved.brr" .ends
unittests/arch/x86/insn/avxcc.asm
path64/assembler
1
25405
; Exhaustive test of AVX condition code aliases ; Also includes based-upon SSE instructions for comparison ; ; Copyright (C) 2008 <NAME> ; ; Redistribution and use in source and binary forms, with or without ; modification, are permitted provided that the following conditions ; are met: ; 1. Redistributions of source code must retain the above copyright ; notice, this list of conditions and the following disclaimer. ; 2. 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 AUTHOR AND OTHER 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 AUTHOR OR OTHER 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. ; [bits 64] cmpeqpd xmm1, xmm2 ; 66 0f c2 ca 00 cmpltpd xmm1, xmm2 ; 66 0f c2 ca 01 cmplepd xmm1, xmm2 ; 66 0f c2 ca 02 cmpunordpd xmm1, xmm2 ; 66 0f c2 ca 03 cmpneqpd xmm1, xmm2 ; 66 0f c2 ca 04 cmpnltpd xmm1, xmm2 ; 66 0f c2 ca 05 cmpnlepd xmm1, xmm2 ; 66 0f c2 ca 06 cmpordpd xmm1, xmm2 ; 66 0f c2 ca 07 vcmpeqpd xmm1, xmm2 ; c5 f1 c2 ca 00 vcmpltpd xmm1, xmm2 ; c5 f1 c2 ca 01 vcmplepd xmm1, xmm2 ; c5 f1 c2 ca 02 vcmpunordpd xmm1, xmm2 ; c5 f1 c2 ca 03 vcmpneqpd xmm1, xmm2 ; c5 f1 c2 ca 04 vcmpnltpd xmm1, xmm2 ; c5 f1 c2 ca 05 vcmpnlepd xmm1, xmm2 ; c5 f1 c2 ca 06 vcmpordpd xmm1, xmm2 ; c5 f1 c2 ca 07 vcmpeqpd xmm1, xmm2, xmm3 ; c5 e9 c2 cb 00 vcmpltpd xmm1, xmm2, xmm3 ; c5 e9 c2 cb 01 vcmplepd xmm1, xmm2, xmm3 ; c5 e9 c2 cb 02 vcmpunordpd xmm1, xmm2, xmm3 ; c5 e9 c2 cb 03 vcmpneqpd xmm1, xmm2, xmm3 ; c5 e9 c2 cb 04 vcmpnltpd xmm1, xmm2, xmm3 ; c5 e9 c2 cb 05 vcmpnlepd xmm1, xmm2, xmm3 ; c5 e9 c2 cb 06 vcmpordpd xmm1, xmm2, xmm3 ; c5 e9 c2 cb 07 vcmpeq_uqpd xmm1, xmm2, xmm3 ; c5 e9 c2 cb 08 vcmpngepd xmm1, xmm2, xmm3 ; c5 e9 c2 cb 09 vcmpngtpd xmm1, xmm2, xmm3 ; c5 e9 c2 cb 0a vcmpfalsepd xmm1, xmm2, xmm3 ; c5 e9 c2 cb 0b vcmpneq_oqpd xmm1, xmm2, xmm3 ; c5 e9 c2 cb 0c vcmpgepd xmm1, xmm2, xmm3 ; c5 e9 c2 cb 0d vcmpgtpd xmm1, xmm2, xmm3 ; c5 e9 c2 cb 0e vcmptruepd xmm1, xmm2, xmm3 ; c5 e9 c2 cb 0f vcmpeq_ospd xmm1, xmm2, xmm3 ; c5 e9 c2 cb 10 vcmplt_oqpd xmm1, xmm2, xmm3 ; c5 e9 c2 cb 11 vcmple_oqpd xmm1, xmm2, xmm3 ; c5 e9 c2 cb 12 vcmpunord_spd xmm1, xmm2, xmm3 ; c5 e9 c2 cb 13 vcmpneq_uspd xmm1, xmm2, xmm3 ; c5 e9 c2 cb 14 vcmpnlt_uqpd xmm1, xmm2, xmm3 ; c5 e9 c2 cb 15 vcmpnle_uqpd xmm1, xmm2, xmm3 ; c5 e9 c2 cb 16 vcmpord_spd xmm1, xmm2, xmm3 ; c5 e9 c2 cb 17 vcmpeq_uspd xmm1, xmm2, xmm3 ; c5 e9 c2 cb 18 vcmpnge_uqpd xmm1, xmm2, xmm3 ; c5 e9 c2 cb 19 vcmpngt_uqpd xmm1, xmm2, xmm3 ; c5 e9 c2 cb 1a vcmpfalse_ospd xmm1, xmm2, xmm3 ; c5 e9 c2 cb 1b vcmpneq_ospd xmm1, xmm2, xmm3 ; c5 e9 c2 cb 1c vcmpge_oqpd xmm1, xmm2, xmm3 ; c5 e9 c2 cb 1d vcmpgt_oqpd xmm1, xmm2, xmm3 ; c5 e9 c2 cb 1e vcmptrue_uspd xmm1, xmm2, xmm3 ; c5 e9 c2 cb 1f cmpeqpd xmm1, [rax] ; 66 0f c2 08 00 cmpltpd xmm1, [rax] ; 66 0f c2 08 01 cmplepd xmm1, [rax] ; 66 0f c2 08 02 cmpunordpd xmm1, [rax] ; 66 0f c2 08 03 cmpneqpd xmm1, [rax] ; 66 0f c2 08 04 cmpnltpd xmm1, [rax] ; 66 0f c2 08 05 cmpnlepd xmm1, [rax] ; 66 0f c2 08 06 cmpordpd xmm1, [rax] ; 66 0f c2 08 07 vcmpeqpd xmm1, [rax] ; c5 f1 c2 08 00 vcmpltpd xmm1, [rax] ; c5 f1 c2 08 01 vcmplepd xmm1, [rax] ; c5 f1 c2 08 02 vcmpunordpd xmm1, [rax] ; c5 f1 c2 08 03 vcmpneqpd xmm1, [rax] ; c5 f1 c2 08 04 vcmpnltpd xmm1, [rax] ; c5 f1 c2 08 05 vcmpnlepd xmm1, [rax] ; c5 f1 c2 08 06 vcmpordpd xmm1, [rax] ; c5 f1 c2 08 07 vcmpeqpd xmm1, xmm2, [rax] ; c5 e9 c2 08 00 vcmpltpd xmm1, xmm2, [rax] ; c5 e9 c2 08 01 vcmplepd xmm1, xmm2, [rax] ; c5 e9 c2 08 02 vcmpunordpd xmm1, xmm2, [rax] ; c5 e9 c2 08 03 vcmpneqpd xmm1, xmm2, [rax] ; c5 e9 c2 08 04 vcmpnltpd xmm1, xmm2, [rax] ; c5 e9 c2 08 05 vcmpnlepd xmm1, xmm2, [rax] ; c5 e9 c2 08 06 vcmpordpd xmm1, xmm2, [rax] ; c5 e9 c2 08 07 vcmpeq_uqpd xmm1, xmm2, [rax] ; c5 e9 c2 08 08 vcmpngepd xmm1, xmm2, [rax] ; c5 e9 c2 08 09 vcmpngtpd xmm1, xmm2, [rax] ; c5 e9 c2 08 0a vcmpfalsepd xmm1, xmm2, [rax] ; c5 e9 c2 08 0b vcmpneq_oqpd xmm1, xmm2, [rax] ; c5 e9 c2 08 0c vcmpgepd xmm1, xmm2, [rax] ; c5 e9 c2 08 0d vcmpgtpd xmm1, xmm2, [rax] ; c5 e9 c2 08 0e vcmptruepd xmm1, xmm2, [rax] ; c5 e9 c2 08 0f vcmpeq_ospd xmm1, xmm2, [rax] ; c5 e9 c2 08 10 vcmplt_oqpd xmm1, xmm2, [rax] ; c5 e9 c2 08 11 vcmple_oqpd xmm1, xmm2, [rax] ; c5 e9 c2 08 12 vcmpunord_spd xmm1, xmm2, [rax] ; c5 e9 c2 08 13 vcmpneq_uspd xmm1, xmm2, [rax] ; c5 e9 c2 08 14 vcmpnlt_uqpd xmm1, xmm2, [rax] ; c5 e9 c2 08 15 vcmpnle_uqpd xmm1, xmm2, [rax] ; c5 e9 c2 08 16 vcmpord_spd xmm1, xmm2, [rax] ; c5 e9 c2 08 17 vcmpeq_uspd xmm1, xmm2, [rax] ; c5 e9 c2 08 18 vcmpnge_uqpd xmm1, xmm2, [rax] ; c5 e9 c2 08 19 vcmpngt_uqpd xmm1, xmm2, [rax] ; c5 e9 c2 08 1a vcmpfalse_ospd xmm1, xmm2, [rax] ; c5 e9 c2 08 1b vcmpneq_ospd xmm1, xmm2, [rax] ; c5 e9 c2 08 1c vcmpge_oqpd xmm1, xmm2, [rax] ; c5 e9 c2 08 1d vcmpgt_oqpd xmm1, xmm2, [rax] ; c5 e9 c2 08 1e vcmptrue_uspd xmm1, xmm2, [rax] ; c5 e9 c2 08 1f cmpeqpd xmm1, dqword [rax] ; 66 0f c2 08 00 cmpltpd xmm1, dqword [rax] ; 66 0f c2 08 01 cmplepd xmm1, dqword [rax] ; 66 0f c2 08 02 cmpunordpd xmm1, dqword [rax] ; 66 0f c2 08 03 cmpneqpd xmm1, dqword [rax] ; 66 0f c2 08 04 cmpnltpd xmm1, dqword [rax] ; 66 0f c2 08 05 cmpnlepd xmm1, dqword [rax] ; 66 0f c2 08 06 cmpordpd xmm1, dqword [rax] ; 66 0f c2 08 07 vcmpeqpd xmm1, dqword [rax] ; c5 f1 c2 08 00 vcmpltpd xmm1, dqword [rax] ; c5 f1 c2 08 01 vcmplepd xmm1, dqword [rax] ; c5 f1 c2 08 02 vcmpunordpd xmm1, dqword [rax] ; c5 f1 c2 08 03 vcmpneqpd xmm1, dqword [rax] ; c5 f1 c2 08 04 vcmpnltpd xmm1, dqword [rax] ; c5 f1 c2 08 05 vcmpnlepd xmm1, dqword [rax] ; c5 f1 c2 08 06 vcmpordpd xmm1, dqword [rax] ; c5 f1 c2 08 07 vcmpeqpd xmm1, xmm2, dqword [rax] ; c5 e9 c2 08 00 vcmpltpd xmm1, xmm2, dqword [rax] ; c5 e9 c2 08 01 vcmplepd xmm1, xmm2, dqword [rax] ; c5 e9 c2 08 02 vcmpunordpd xmm1, xmm2, dqword [rax] ; c5 e9 c2 08 03 vcmpneqpd xmm1, xmm2, dqword [rax] ; c5 e9 c2 08 04 vcmpnltpd xmm1, xmm2, dqword [rax] ; c5 e9 c2 08 05 vcmpnlepd xmm1, xmm2, dqword [rax] ; c5 e9 c2 08 06 vcmpordpd xmm1, xmm2, dqword [rax] ; c5 e9 c2 08 07 vcmpeq_uqpd xmm1, xmm2, dqword [rax] ; c5 e9 c2 08 08 vcmpngepd xmm1, xmm2, dqword [rax] ; c5 e9 c2 08 09 vcmpngtpd xmm1, xmm2, dqword [rax] ; c5 e9 c2 08 0a vcmpfalsepd xmm1, xmm2, dqword [rax] ; c5 e9 c2 08 0b vcmpneq_oqpd xmm1, xmm2, dqword [rax] ; c5 e9 c2 08 0c vcmpgepd xmm1, xmm2, dqword [rax] ; c5 e9 c2 08 0d vcmpgtpd xmm1, xmm2, dqword [rax] ; c5 e9 c2 08 0e vcmptruepd xmm1, xmm2, dqword [rax] ; c5 e9 c2 08 0f vcmpeq_ospd xmm1, xmm2, dqword [rax] ; c5 e9 c2 08 10 vcmplt_oqpd xmm1, xmm2, dqword [rax] ; c5 e9 c2 08 11 vcmple_oqpd xmm1, xmm2, dqword [rax] ; c5 e9 c2 08 12 vcmpunord_spd xmm1, xmm2, dqword [rax] ; c5 e9 c2 08 13 vcmpneq_uspd xmm1, xmm2, dqword [rax] ; c5 e9 c2 08 14 vcmpnlt_uqpd xmm1, xmm2, dqword [rax] ; c5 e9 c2 08 15 vcmpnle_uqpd xmm1, xmm2, dqword [rax] ; c5 e9 c2 08 16 vcmpord_spd xmm1, xmm2, dqword [rax] ; c5 e9 c2 08 17 vcmpeq_uspd xmm1, xmm2, dqword [rax] ; c5 e9 c2 08 18 vcmpnge_uqpd xmm1, xmm2, dqword [rax] ; c5 e9 c2 08 19 vcmpngt_uqpd xmm1, xmm2, dqword [rax] ; c5 e9 c2 08 1a vcmpfalse_ospd xmm1, xmm2, dqword [rax] ; c5 e9 c2 08 1b vcmpneq_ospd xmm1, xmm2, dqword [rax] ; c5 e9 c2 08 1c vcmpge_oqpd xmm1, xmm2, dqword [rax] ; c5 e9 c2 08 1d vcmpgt_oqpd xmm1, xmm2, dqword [rax] ; c5 e9 c2 08 1e vcmptrue_uspd xmm1, xmm2, dqword [rax] ; c5 e9 c2 08 1f vcmpeqpd ymm1, ymm2, ymm3 ; c5 ed c2 cb 00 vcmpltpd ymm1, ymm2, ymm3 ; c5 ed c2 cb 01 vcmplepd ymm1, ymm2, ymm3 ; c5 ed c2 cb 02 vcmpunordpd ymm1, ymm2, ymm3 ; c5 ed c2 cb 03 vcmpneqpd ymm1, ymm2, ymm3 ; c5 ed c2 cb 04 vcmpnltpd ymm1, ymm2, ymm3 ; c5 ed c2 cb 05 vcmpnlepd ymm1, ymm2, ymm3 ; c5 ed c2 cb 06 vcmpordpd ymm1, ymm2, ymm3 ; c5 ed c2 cb 07 vcmpeq_uqpd ymm1, ymm2, ymm3 ; c5 ed c2 cb 08 vcmpngepd ymm1, ymm2, ymm3 ; c5 ed c2 cb 09 vcmpngtpd ymm1, ymm2, ymm3 ; c5 ed c2 cb 0a vcmpfalsepd ymm1, ymm2, ymm3 ; c5 ed c2 cb 0b vcmpneq_oqpd ymm1, ymm2, ymm3 ; c5 ed c2 cb 0c vcmpgepd ymm1, ymm2, ymm3 ; c5 ed c2 cb 0d vcmpgtpd ymm1, ymm2, ymm3 ; c5 ed c2 cb 0e vcmptruepd ymm1, ymm2, ymm3 ; c5 ed c2 cb 0f vcmpeq_ospd ymm1, ymm2, ymm3 ; c5 ed c2 cb 10 vcmplt_oqpd ymm1, ymm2, ymm3 ; c5 ed c2 cb 11 vcmple_oqpd ymm1, ymm2, ymm3 ; c5 ed c2 cb 12 vcmpunord_spd ymm1, ymm2, ymm3 ; c5 ed c2 cb 13 vcmpneq_uspd ymm1, ymm2, ymm3 ; c5 ed c2 cb 14 vcmpnlt_uqpd ymm1, ymm2, ymm3 ; c5 ed c2 cb 15 vcmpnle_uqpd ymm1, ymm2, ymm3 ; c5 ed c2 cb 16 vcmpord_spd ymm1, ymm2, ymm3 ; c5 ed c2 cb 17 vcmpeq_uspd ymm1, ymm2, ymm3 ; c5 ed c2 cb 18 vcmpnge_uqpd ymm1, ymm2, ymm3 ; c5 ed c2 cb 19 vcmpngt_uqpd ymm1, ymm2, ymm3 ; c5 ed c2 cb 1a vcmpfalse_ospd ymm1, ymm2, ymm3 ; c5 ed c2 cb 1b vcmpneq_ospd ymm1, ymm2, ymm3 ; c5 ed c2 cb 1c vcmpge_oqpd ymm1, ymm2, ymm3 ; c5 ed c2 cb 1d vcmpgt_oqpd ymm1, ymm2, ymm3 ; c5 ed c2 cb 1e vcmptrue_uspd ymm1, ymm2, ymm3 ; c5 ed c2 cb 1f vcmpeqpd ymm1, ymm2, [rax] ; c5 ed c2 08 00 vcmpltpd ymm1, ymm2, [rax] ; c5 ed c2 08 01 vcmplepd ymm1, ymm2, [rax] ; c5 ed c2 08 02 vcmpunordpd ymm1, ymm2, [rax] ; c5 ed c2 08 03 vcmpneqpd ymm1, ymm2, [rax] ; c5 ed c2 08 04 vcmpnltpd ymm1, ymm2, [rax] ; c5 ed c2 08 05 vcmpnlepd ymm1, ymm2, [rax] ; c5 ed c2 08 06 vcmpordpd ymm1, ymm2, [rax] ; c5 ed c2 08 07 vcmpeq_uqpd ymm1, ymm2, [rax] ; c5 ed c2 08 08 vcmpngepd ymm1, ymm2, [rax] ; c5 ed c2 08 09 vcmpngtpd ymm1, ymm2, [rax] ; c5 ed c2 08 0a vcmpfalsepd ymm1, ymm2, [rax] ; c5 ed c2 08 0b vcmpneq_oqpd ymm1, ymm2, [rax] ; c5 ed c2 08 0c vcmpgepd ymm1, ymm2, [rax] ; c5 ed c2 08 0d vcmpgtpd ymm1, ymm2, [rax] ; c5 ed c2 08 0e vcmptruepd ymm1, ymm2, [rax] ; c5 ed c2 08 0f vcmpeq_ospd ymm1, ymm2, [rax] ; c5 ed c2 08 10 vcmplt_oqpd ymm1, ymm2, [rax] ; c5 ed c2 08 11 vcmple_oqpd ymm1, ymm2, [rax] ; c5 ed c2 08 12 vcmpunord_spd ymm1, ymm2, [rax] ; c5 ed c2 08 13 vcmpneq_uspd ymm1, ymm2, [rax] ; c5 ed c2 08 14 vcmpnlt_uqpd ymm1, ymm2, [rax] ; c5 ed c2 08 15 vcmpnle_uqpd ymm1, ymm2, [rax] ; c5 ed c2 08 16 vcmpord_spd ymm1, ymm2, [rax] ; c5 ed c2 08 17 vcmpeq_uspd ymm1, ymm2, [rax] ; c5 ed c2 08 18 vcmpnge_uqpd ymm1, ymm2, [rax] ; c5 ed c2 08 19 vcmpngt_uqpd ymm1, ymm2, [rax] ; c5 ed c2 08 1a vcmpfalse_ospd ymm1, ymm2, [rax] ; c5 ed c2 08 1b vcmpneq_ospd ymm1, ymm2, [rax] ; c5 ed c2 08 1c vcmpge_oqpd ymm1, ymm2, [rax] ; c5 ed c2 08 1d vcmpgt_oqpd ymm1, ymm2, [rax] ; c5 ed c2 08 1e vcmptrue_uspd ymm1, ymm2, [rax] ; c5 ed c2 08 1f vcmpeqpd ymm1, ymm2, yword [rax] ; c5 ed c2 08 00 vcmpltpd ymm1, ymm2, yword [rax] ; c5 ed c2 08 01 vcmplepd ymm1, ymm2, yword [rax] ; c5 ed c2 08 02 vcmpunordpd ymm1, ymm2, yword [rax] ; c5 ed c2 08 03 vcmpneqpd ymm1, ymm2, yword [rax] ; c5 ed c2 08 04 vcmpnltpd ymm1, ymm2, yword [rax] ; c5 ed c2 08 05 vcmpnlepd ymm1, ymm2, yword [rax] ; c5 ed c2 08 06 vcmpordpd ymm1, ymm2, yword [rax] ; c5 ed c2 08 07 vcmpeq_uqpd ymm1, ymm2, yword [rax] ; c5 ed c2 08 08 vcmpngepd ymm1, ymm2, yword [rax] ; c5 ed c2 08 09 vcmpngtpd ymm1, ymm2, yword [rax] ; c5 ed c2 08 0a vcmpfalsepd ymm1, ymm2, yword [rax] ; c5 ed c2 08 0b vcmpneq_oqpd ymm1, ymm2, yword [rax] ; c5 ed c2 08 0c vcmpgepd ymm1, ymm2, yword [rax] ; c5 ed c2 08 0d vcmpgtpd ymm1, ymm2, yword [rax] ; c5 ed c2 08 0e vcmptruepd ymm1, ymm2, yword [rax] ; c5 ed c2 08 0f vcmpeq_ospd ymm1, ymm2, yword [rax] ; c5 ed c2 08 10 vcmplt_oqpd ymm1, ymm2, yword [rax] ; c5 ed c2 08 11 vcmple_oqpd ymm1, ymm2, yword [rax] ; c5 ed c2 08 12 vcmpunord_spd ymm1, ymm2, yword [rax] ; c5 ed c2 08 13 vcmpneq_uspd ymm1, ymm2, yword [rax] ; c5 ed c2 08 14 vcmpnlt_uqpd ymm1, ymm2, yword [rax] ; c5 ed c2 08 15 vcmpnle_uqpd ymm1, ymm2, yword [rax] ; c5 ed c2 08 16 vcmpord_spd ymm1, ymm2, yword [rax] ; c5 ed c2 08 17 vcmpeq_uspd ymm1, ymm2, yword [rax] ; c5 ed c2 08 18 vcmpnge_uqpd ymm1, ymm2, yword [rax] ; c5 ed c2 08 19 vcmpngt_uqpd ymm1, ymm2, yword [rax] ; c5 ed c2 08 1a vcmpfalse_ospd ymm1, ymm2, yword [rax] ; c5 ed c2 08 1b vcmpneq_ospd ymm1, ymm2, yword [rax] ; c5 ed c2 08 1c vcmpge_oqpd ymm1, ymm2, yword [rax] ; c5 ed c2 08 1d vcmpgt_oqpd ymm1, ymm2, yword [rax] ; c5 ed c2 08 1e vcmptrue_uspd ymm1, ymm2, yword [rax] ; c5 ed c2 08 1f ;----------------------------------------------------------------------------- cmpeqps xmm1, xmm2 ; 0f c2 ca 00 cmpltps xmm1, xmm2 ; 0f c2 ca 01 cmpleps xmm1, xmm2 ; 0f c2 ca 02 cmpunordps xmm1, xmm2 ; 0f c2 ca 03 cmpneqps xmm1, xmm2 ; 0f c2 ca 04 cmpnltps xmm1, xmm2 ; 0f c2 ca 05 cmpnleps xmm1, xmm2 ; 0f c2 ca 06 cmpordps xmm1, xmm2 ; 0f c2 ca 07 vcmpeqps xmm1, xmm2 ; c5 f0 c2 ca 00 vcmpltps xmm1, xmm2 ; c5 f0 c2 ca 01 vcmpleps xmm1, xmm2 ; c5 f0 c2 ca 02 vcmpunordps xmm1, xmm2 ; c5 f0 c2 ca 03 vcmpneqps xmm1, xmm2 ; c5 f0 c2 ca 04 vcmpnltps xmm1, xmm2 ; c5 f0 c2 ca 05 vcmpnleps xmm1, xmm2 ; c5 f0 c2 ca 06 vcmpordps xmm1, xmm2 ; c5 f0 c2 ca 07 vcmpeqps xmm1, xmm2, xmm3 ; c5 e8 c2 cb 00 vcmpltps xmm1, xmm2, xmm3 ; c5 e8 c2 cb 01 vcmpleps xmm1, xmm2, xmm3 ; c5 e8 c2 cb 02 vcmpunordps xmm1, xmm2, xmm3 ; c5 e8 c2 cb 03 vcmpneqps xmm1, xmm2, xmm3 ; c5 e8 c2 cb 04 vcmpnltps xmm1, xmm2, xmm3 ; c5 e8 c2 cb 05 vcmpnleps xmm1, xmm2, xmm3 ; c5 e8 c2 cb 06 vcmpordps xmm1, xmm2, xmm3 ; c5 e8 c2 cb 07 vcmpeq_uqps xmm1, xmm2, xmm3 ; c5 e8 c2 cb 08 vcmpngeps xmm1, xmm2, xmm3 ; c5 e8 c2 cb 09 vcmpngtps xmm1, xmm2, xmm3 ; c5 e8 c2 cb 0a vcmpfalseps xmm1, xmm2, xmm3 ; c5 e8 c2 cb 0b vcmpneq_oqps xmm1, xmm2, xmm3 ; c5 e8 c2 cb 0c vcmpgeps xmm1, xmm2, xmm3 ; c5 e8 c2 cb 0d vcmpgtps xmm1, xmm2, xmm3 ; c5 e8 c2 cb 0e vcmptrueps xmm1, xmm2, xmm3 ; c5 e8 c2 cb 0f vcmpeq_osps xmm1, xmm2, xmm3 ; c5 e8 c2 cb 10 vcmplt_oqps xmm1, xmm2, xmm3 ; c5 e8 c2 cb 11 vcmple_oqps xmm1, xmm2, xmm3 ; c5 e8 c2 cb 12 vcmpunord_sps xmm1, xmm2, xmm3 ; c5 e8 c2 cb 13 vcmpneq_usps xmm1, xmm2, xmm3 ; c5 e8 c2 cb 14 vcmpnlt_uqps xmm1, xmm2, xmm3 ; c5 e8 c2 cb 15 vcmpnle_uqps xmm1, xmm2, xmm3 ; c5 e8 c2 cb 16 vcmpord_sps xmm1, xmm2, xmm3 ; c5 e8 c2 cb 17 vcmpeq_usps xmm1, xmm2, xmm3 ; c5 e8 c2 cb 18 vcmpnge_uqps xmm1, xmm2, xmm3 ; c5 e8 c2 cb 19 vcmpngt_uqps xmm1, xmm2, xmm3 ; c5 e8 c2 cb 1a vcmpfalse_osps xmm1, xmm2, xmm3 ; c5 e8 c2 cb 1b vcmpneq_osps xmm1, xmm2, xmm3 ; c5 e8 c2 cb 1c vcmpge_oqps xmm1, xmm2, xmm3 ; c5 e8 c2 cb 1d vcmpgt_oqps xmm1, xmm2, xmm3 ; c5 e8 c2 cb 1e vcmptrue_usps xmm1, xmm2, xmm3 ; c5 e8 c2 cb 1f cmpeqps xmm1, [rax] ; 0f c2 08 00 cmpltps xmm1, [rax] ; 0f c2 08 01 cmpleps xmm1, [rax] ; 0f c2 08 02 cmpunordps xmm1, [rax] ; 0f c2 08 03 cmpneqps xmm1, [rax] ; 0f c2 08 04 cmpnltps xmm1, [rax] ; 0f c2 08 05 cmpnleps xmm1, [rax] ; 0f c2 08 06 cmpordps xmm1, [rax] ; 0f c2 08 07 vcmpeqps xmm1, [rax] ; c5 f0 c2 08 00 vcmpltps xmm1, [rax] ; c5 f0 c2 08 01 vcmpleps xmm1, [rax] ; c5 f0 c2 08 02 vcmpunordps xmm1, [rax] ; c5 f0 c2 08 03 vcmpneqps xmm1, [rax] ; c5 f0 c2 08 04 vcmpnltps xmm1, [rax] ; c5 f0 c2 08 05 vcmpnleps xmm1, [rax] ; c5 f0 c2 08 06 vcmpordps xmm1, [rax] ; c5 f0 c2 08 07 vcmpeqps xmm1, xmm2, [rax] ; c5 e8 c2 08 00 vcmpltps xmm1, xmm2, [rax] ; c5 e8 c2 08 01 vcmpleps xmm1, xmm2, [rax] ; c5 e8 c2 08 02 vcmpunordps xmm1, xmm2, [rax] ; c5 e8 c2 08 03 vcmpneqps xmm1, xmm2, [rax] ; c5 e8 c2 08 04 vcmpnltps xmm1, xmm2, [rax] ; c5 e8 c2 08 05 vcmpnleps xmm1, xmm2, [rax] ; c5 e8 c2 08 06 vcmpordps xmm1, xmm2, [rax] ; c5 e8 c2 08 07 vcmpeq_uqps xmm1, xmm2, [rax] ; c5 e8 c2 08 08 vcmpngeps xmm1, xmm2, [rax] ; c5 e8 c2 08 09 vcmpngtps xmm1, xmm2, [rax] ; c5 e8 c2 08 0a vcmpfalseps xmm1, xmm2, [rax] ; c5 e8 c2 08 0b vcmpneq_oqps xmm1, xmm2, [rax] ; c5 e8 c2 08 0c vcmpgeps xmm1, xmm2, [rax] ; c5 e8 c2 08 0d vcmpgtps xmm1, xmm2, [rax] ; c5 e8 c2 08 0e vcmptrueps xmm1, xmm2, [rax] ; c5 e8 c2 08 0f vcmpeq_osps xmm1, xmm2, [rax] ; c5 e8 c2 08 10 vcmplt_oqps xmm1, xmm2, [rax] ; c5 e8 c2 08 11 vcmple_oqps xmm1, xmm2, [rax] ; c5 e8 c2 08 12 vcmpunord_sps xmm1, xmm2, [rax] ; c5 e8 c2 08 13 vcmpneq_usps xmm1, xmm2, [rax] ; c5 e8 c2 08 14 vcmpnlt_uqps xmm1, xmm2, [rax] ; c5 e8 c2 08 15 vcmpnle_uqps xmm1, xmm2, [rax] ; c5 e8 c2 08 16 vcmpord_sps xmm1, xmm2, [rax] ; c5 e8 c2 08 17 vcmpeq_usps xmm1, xmm2, [rax] ; c5 e8 c2 08 18 vcmpnge_uqps xmm1, xmm2, [rax] ; c5 e8 c2 08 19 vcmpngt_uqps xmm1, xmm2, [rax] ; c5 e8 c2 08 1a vcmpfalse_osps xmm1, xmm2, [rax] ; c5 e8 c2 08 1b vcmpneq_osps xmm1, xmm2, [rax] ; c5 e8 c2 08 1c vcmpge_oqps xmm1, xmm2, [rax] ; c5 e8 c2 08 1d vcmpgt_oqps xmm1, xmm2, [rax] ; c5 e8 c2 08 1e vcmptrue_usps xmm1, xmm2, [rax] ; c5 e8 c2 08 1f cmpeqps xmm1, dqword [rax] ; 0f c2 08 00 cmpltps xmm1, dqword [rax] ; 0f c2 08 01 cmpleps xmm1, dqword [rax] ; 0f c2 08 02 cmpunordps xmm1, dqword [rax] ; 0f c2 08 03 cmpneqps xmm1, dqword [rax] ; 0f c2 08 04 cmpnltps xmm1, dqword [rax] ; 0f c2 08 05 cmpnleps xmm1, dqword [rax] ; 0f c2 08 06 cmpordps xmm1, dqword [rax] ; 0f c2 08 07 vcmpeqps xmm1, dqword [rax] ; c5 f0 c2 08 00 vcmpltps xmm1, dqword [rax] ; c5 f0 c2 08 01 vcmpleps xmm1, dqword [rax] ; c5 f0 c2 08 02 vcmpunordps xmm1, dqword [rax] ; c5 f0 c2 08 03 vcmpneqps xmm1, dqword [rax] ; c5 f0 c2 08 04 vcmpnltps xmm1, dqword [rax] ; c5 f0 c2 08 05 vcmpnleps xmm1, dqword [rax] ; c5 f0 c2 08 06 vcmpordps xmm1, dqword [rax] ; c5 f0 c2 08 07 vcmpeqps xmm1, xmm2, dqword [rax] ; c5 e8 c2 08 00 vcmpltps xmm1, xmm2, dqword [rax] ; c5 e8 c2 08 01 vcmpleps xmm1, xmm2, dqword [rax] ; c5 e8 c2 08 02 vcmpunordps xmm1, xmm2, dqword [rax] ; c5 e8 c2 08 03 vcmpneqps xmm1, xmm2, dqword [rax] ; c5 e8 c2 08 04 vcmpnltps xmm1, xmm2, dqword [rax] ; c5 e8 c2 08 05 vcmpnleps xmm1, xmm2, dqword [rax] ; c5 e8 c2 08 06 vcmpordps xmm1, xmm2, dqword [rax] ; c5 e8 c2 08 07 vcmpeq_uqps xmm1, xmm2, dqword [rax] ; c5 e8 c2 08 08 vcmpngeps xmm1, xmm2, dqword [rax] ; c5 e8 c2 08 09 vcmpngtps xmm1, xmm2, dqword [rax] ; c5 e8 c2 08 0a vcmpfalseps xmm1, xmm2, dqword [rax] ; c5 e8 c2 08 0b vcmpneq_oqps xmm1, xmm2, dqword [rax] ; c5 e8 c2 08 0c vcmpgeps xmm1, xmm2, dqword [rax] ; c5 e8 c2 08 0d vcmpgtps xmm1, xmm2, dqword [rax] ; c5 e8 c2 08 0e vcmptrueps xmm1, xmm2, dqword [rax] ; c5 e8 c2 08 0f vcmpeq_osps xmm1, xmm2, dqword [rax] ; c5 e8 c2 08 10 vcmplt_oqps xmm1, xmm2, dqword [rax] ; c5 e8 c2 08 11 vcmple_oqps xmm1, xmm2, dqword [rax] ; c5 e8 c2 08 12 vcmpunord_sps xmm1, xmm2, dqword [rax] ; c5 e8 c2 08 13 vcmpneq_usps xmm1, xmm2, dqword [rax] ; c5 e8 c2 08 14 vcmpnlt_uqps xmm1, xmm2, dqword [rax] ; c5 e8 c2 08 15 vcmpnle_uqps xmm1, xmm2, dqword [rax] ; c5 e8 c2 08 16 vcmpord_sps xmm1, xmm2, dqword [rax] ; c5 e8 c2 08 17 vcmpeq_usps xmm1, xmm2, dqword [rax] ; c5 e8 c2 08 18 vcmpnge_uqps xmm1, xmm2, dqword [rax] ; c5 e8 c2 08 19 vcmpngt_uqps xmm1, xmm2, dqword [rax] ; c5 e8 c2 08 1a vcmpfalse_osps xmm1, xmm2, dqword [rax] ; c5 e8 c2 08 1b vcmpneq_osps xmm1, xmm2, dqword [rax] ; c5 e8 c2 08 1c vcmpge_oqps xmm1, xmm2, dqword [rax] ; c5 e8 c2 08 1d vcmpgt_oqps xmm1, xmm2, dqword [rax] ; c5 e8 c2 08 1e vcmptrue_usps xmm1, xmm2, dqword [rax] ; c5 e8 c2 08 1f vcmpeqps ymm1, ymm2, ymm3 ; c5 ec c2 cb 00 vcmpltps ymm1, ymm2, ymm3 ; c5 ec c2 cb 01 vcmpleps ymm1, ymm2, ymm3 ; c5 ec c2 cb 02 vcmpunordps ymm1, ymm2, ymm3 ; c5 ec c2 cb 03 vcmpneqps ymm1, ymm2, ymm3 ; c5 ec c2 cb 04 vcmpnltps ymm1, ymm2, ymm3 ; c5 ec c2 cb 05 vcmpnleps ymm1, ymm2, ymm3 ; c5 ec c2 cb 06 vcmpordps ymm1, ymm2, ymm3 ; c5 ec c2 cb 07 vcmpeq_uqps ymm1, ymm2, ymm3 ; c5 ec c2 cb 08 vcmpngeps ymm1, ymm2, ymm3 ; c5 ec c2 cb 09 vcmpngtps ymm1, ymm2, ymm3 ; c5 ec c2 cb 0a vcmpfalseps ymm1, ymm2, ymm3 ; c5 ec c2 cb 0b vcmpneq_oqps ymm1, ymm2, ymm3 ; c5 ec c2 cb 0c vcmpgeps ymm1, ymm2, ymm3 ; c5 ec c2 cb 0d vcmpgtps ymm1, ymm2, ymm3 ; c5 ec c2 cb 0e vcmptrueps ymm1, ymm2, ymm3 ; c5 ec c2 cb 0f vcmpeq_osps ymm1, ymm2, ymm3 ; c5 ec c2 cb 10 vcmplt_oqps ymm1, ymm2, ymm3 ; c5 ec c2 cb 11 vcmple_oqps ymm1, ymm2, ymm3 ; c5 ec c2 cb 12 vcmpunord_sps ymm1, ymm2, ymm3 ; c5 ec c2 cb 13 vcmpneq_usps ymm1, ymm2, ymm3 ; c5 ec c2 cb 14 vcmpnlt_uqps ymm1, ymm2, ymm3 ; c5 ec c2 cb 15 vcmpnle_uqps ymm1, ymm2, ymm3 ; c5 ec c2 cb 16 vcmpord_sps ymm1, ymm2, ymm3 ; c5 ec c2 cb 17 vcmpeq_usps ymm1, ymm2, ymm3 ; c5 ec c2 cb 18 vcmpnge_uqps ymm1, ymm2, ymm3 ; c5 ec c2 cb 19 vcmpngt_uqps ymm1, ymm2, ymm3 ; c5 ec c2 cb 1a vcmpfalse_osps ymm1, ymm2, ymm3 ; c5 ec c2 cb 1b vcmpneq_osps ymm1, ymm2, ymm3 ; c5 ec c2 cb 1c vcmpge_oqps ymm1, ymm2, ymm3 ; c5 ec c2 cb 1d vcmpgt_oqps ymm1, ymm2, ymm3 ; c5 ec c2 cb 1e vcmptrue_usps ymm1, ymm2, ymm3 ; c5 ec c2 cb 1f vcmpeqps ymm1, ymm2, [rax] ; c5 ec c2 08 00 vcmpltps ymm1, ymm2, [rax] ; c5 ec c2 08 01 vcmpleps ymm1, ymm2, [rax] ; c5 ec c2 08 02 vcmpunordps ymm1, ymm2, [rax] ; c5 ec c2 08 03 vcmpneqps ymm1, ymm2, [rax] ; c5 ec c2 08 04 vcmpnltps ymm1, ymm2, [rax] ; c5 ec c2 08 05 vcmpnleps ymm1, ymm2, [rax] ; c5 ec c2 08 06 vcmpordps ymm1, ymm2, [rax] ; c5 ec c2 08 07 vcmpeq_uqps ymm1, ymm2, [rax] ; c5 ec c2 08 08 vcmpngeps ymm1, ymm2, [rax] ; c5 ec c2 08 09 vcmpngtps ymm1, ymm2, [rax] ; c5 ec c2 08 0a vcmpfalseps ymm1, ymm2, [rax] ; c5 ec c2 08 0b vcmpneq_oqps ymm1, ymm2, [rax] ; c5 ec c2 08 0c vcmpgeps ymm1, ymm2, [rax] ; c5 ec c2 08 0d vcmpgtps ymm1, ymm2, [rax] ; c5 ec c2 08 0e vcmptrueps ymm1, ymm2, [rax] ; c5 ec c2 08 0f vcmpeq_osps ymm1, ymm2, [rax] ; c5 ec c2 08 10 vcmplt_oqps ymm1, ymm2, [rax] ; c5 ec c2 08 11 vcmple_oqps ymm1, ymm2, [rax] ; c5 ec c2 08 12 vcmpunord_sps ymm1, ymm2, [rax] ; c5 ec c2 08 13 vcmpneq_usps ymm1, ymm2, [rax] ; c5 ec c2 08 14 vcmpnlt_uqps ymm1, ymm2, [rax] ; c5 ec c2 08 15 vcmpnle_uqps ymm1, ymm2, [rax] ; c5 ec c2 08 16 vcmpord_sps ymm1, ymm2, [rax] ; c5 ec c2 08 17 vcmpeq_usps ymm1, ymm2, [rax] ; c5 ec c2 08 18 vcmpnge_uqps ymm1, ymm2, [rax] ; c5 ec c2 08 19 vcmpngt_uqps ymm1, ymm2, [rax] ; c5 ec c2 08 1a vcmpfalse_osps ymm1, ymm2, [rax] ; c5 ec c2 08 1b vcmpneq_osps ymm1, ymm2, [rax] ; c5 ec c2 08 1c vcmpge_oqps ymm1, ymm2, [rax] ; c5 ec c2 08 1d vcmpgt_oqps ymm1, ymm2, [rax] ; c5 ec c2 08 1e vcmptrue_usps ymm1, ymm2, [rax] ; c5 ec c2 08 1f vcmpeqps ymm1, ymm2, yword [rax] ; c5 ec c2 08 00 vcmpltps ymm1, ymm2, yword [rax] ; c5 ec c2 08 01 vcmpleps ymm1, ymm2, yword [rax] ; c5 ec c2 08 02 vcmpunordps ymm1, ymm2, yword [rax] ; c5 ec c2 08 03 vcmpneqps ymm1, ymm2, yword [rax] ; c5 ec c2 08 04 vcmpnltps ymm1, ymm2, yword [rax] ; c5 ec c2 08 05 vcmpnleps ymm1, ymm2, yword [rax] ; c5 ec c2 08 06 vcmpordps ymm1, ymm2, yword [rax] ; c5 ec c2 08 07 vcmpeq_uqps ymm1, ymm2, yword [rax] ; c5 ec c2 08 08 vcmpngeps ymm1, ymm2, yword [rax] ; c5 ec c2 08 09 vcmpngtps ymm1, ymm2, yword [rax] ; c5 ec c2 08 0a vcmpfalseps ymm1, ymm2, yword [rax] ; c5 ec c2 08 0b vcmpneq_oqps ymm1, ymm2, yword [rax] ; c5 ec c2 08 0c vcmpgeps ymm1, ymm2, yword [rax] ; c5 ec c2 08 0d vcmpgtps ymm1, ymm2, yword [rax] ; c5 ec c2 08 0e vcmptrueps ymm1, ymm2, yword [rax] ; c5 ec c2 08 0f vcmpeq_osps ymm1, ymm2, yword [rax] ; c5 ec c2 08 10 vcmplt_oqps ymm1, ymm2, yword [rax] ; c5 ec c2 08 11 vcmple_oqps ymm1, ymm2, yword [rax] ; c5 ec c2 08 12 vcmpunord_sps ymm1, ymm2, yword [rax] ; c5 ec c2 08 13 vcmpneq_usps ymm1, ymm2, yword [rax] ; c5 ec c2 08 14 vcmpnlt_uqps ymm1, ymm2, yword [rax] ; c5 ec c2 08 15 vcmpnle_uqps ymm1, ymm2, yword [rax] ; c5 ec c2 08 16 vcmpord_sps ymm1, ymm2, yword [rax] ; c5 ec c2 08 17 vcmpeq_usps ymm1, ymm2, yword [rax] ; c5 ec c2 08 18 vcmpnge_uqps ymm1, ymm2, yword [rax] ; c5 ec c2 08 19 vcmpngt_uqps ymm1, ymm2, yword [rax] ; c5 ec c2 08 1a vcmpfalse_osps ymm1, ymm2, yword [rax] ; c5 ec c2 08 1b vcmpneq_osps ymm1, ymm2, yword [rax] ; c5 ec c2 08 1c vcmpge_oqps ymm1, ymm2, yword [rax] ; c5 ec c2 08 1d vcmpgt_oqps ymm1, ymm2, yword [rax] ; c5 ec c2 08 1e vcmptrue_usps ymm1, ymm2, yword [rax] ; c5 ec c2 08 1f ;----------------------------------------------------------------------------- cmpeqsd xmm1, xmm2 ; f2 0f c2 ca 00 cmpltsd xmm1, xmm2 ; f2 0f c2 ca 01 cmplesd xmm1, xmm2 ; f2 0f c2 ca 02 cmpunordsd xmm1, xmm2 ; f2 0f c2 ca 03 cmpneqsd xmm1, xmm2 ; f2 0f c2 ca 04 cmpnltsd xmm1, xmm2 ; f2 0f c2 ca 05 cmpnlesd xmm1, xmm2 ; f2 0f c2 ca 06 cmpordsd xmm1, xmm2 ; f2 0f c2 ca 07 vcmpeqsd xmm1, xmm2 ; c5 f3 c2 ca 00 vcmpltsd xmm1, xmm2 ; c5 f3 c2 ca 01 vcmplesd xmm1, xmm2 ; c5 f3 c2 ca 02 vcmpunordsd xmm1, xmm2 ; c5 f3 c2 ca 03 vcmpneqsd xmm1, xmm2 ; c5 f3 c2 ca 04 vcmpnltsd xmm1, xmm2 ; c5 f3 c2 ca 05 vcmpnlesd xmm1, xmm2 ; c5 f3 c2 ca 06 vcmpordsd xmm1, xmm2 ; c5 f3 c2 ca 07 vcmpeqsd xmm1, xmm2, xmm3 ; c5 eb c2 cb 00 vcmpltsd xmm1, xmm2, xmm3 ; c5 eb c2 cb 01 vcmplesd xmm1, xmm2, xmm3 ; c5 eb c2 cb 02 vcmpunordsd xmm1, xmm2, xmm3 ; c5 eb c2 cb 03 vcmpneqsd xmm1, xmm2, xmm3 ; c5 eb c2 cb 04 vcmpnltsd xmm1, xmm2, xmm3 ; c5 eb c2 cb 05 vcmpnlesd xmm1, xmm2, xmm3 ; c5 eb c2 cb 06 vcmpordsd xmm1, xmm2, xmm3 ; c5 eb c2 cb 07 vcmpeq_uqsd xmm1, xmm2, xmm3 ; c5 eb c2 cb 08 vcmpngesd xmm1, xmm2, xmm3 ; c5 eb c2 cb 09 vcmpngtsd xmm1, xmm2, xmm3 ; c5 eb c2 cb 0a vcmpfalsesd xmm1, xmm2, xmm3 ; c5 eb c2 cb 0b vcmpneq_oqsd xmm1, xmm2, xmm3 ; c5 eb c2 cb 0c vcmpgesd xmm1, xmm2, xmm3 ; c5 eb c2 cb 0d vcmpgtsd xmm1, xmm2, xmm3 ; c5 eb c2 cb 0e vcmptruesd xmm1, xmm2, xmm3 ; c5 eb c2 cb 0f vcmpeq_ossd xmm1, xmm2, xmm3 ; c5 eb c2 cb 10 vcmplt_oqsd xmm1, xmm2, xmm3 ; c5 eb c2 cb 11 vcmple_oqsd xmm1, xmm2, xmm3 ; c5 eb c2 cb 12 vcmpunord_ssd xmm1, xmm2, xmm3 ; c5 eb c2 cb 13 vcmpneq_ussd xmm1, xmm2, xmm3 ; c5 eb c2 cb 14 vcmpnlt_uqsd xmm1, xmm2, xmm3 ; c5 eb c2 cb 15 vcmpnle_uqsd xmm1, xmm2, xmm3 ; c5 eb c2 cb 16 vcmpord_ssd xmm1, xmm2, xmm3 ; c5 eb c2 cb 17 vcmpeq_ussd xmm1, xmm2, xmm3 ; c5 eb c2 cb 18 vcmpnge_uqsd xmm1, xmm2, xmm3 ; c5 eb c2 cb 19 vcmpngt_uqsd xmm1, xmm2, xmm3 ; c5 eb c2 cb 1a vcmpfalse_ossd xmm1, xmm2, xmm3 ; c5 eb c2 cb 1b vcmpneq_ossd xmm1, xmm2, xmm3 ; c5 eb c2 cb 1c vcmpge_oqsd xmm1, xmm2, xmm3 ; c5 eb c2 cb 1d vcmpgt_oqsd xmm1, xmm2, xmm3 ; c5 eb c2 cb 1e vcmptrue_ussd xmm1, xmm2, xmm3 ; c5 eb c2 cb 1f cmpeqsd xmm1, [rax] ; f2 0f c2 08 00 cmpltsd xmm1, [rax] ; f2 0f c2 08 01 cmplesd xmm1, [rax] ; f2 0f c2 08 02 cmpunordsd xmm1, [rax] ; f2 0f c2 08 03 cmpneqsd xmm1, [rax] ; f2 0f c2 08 04 cmpnltsd xmm1, [rax] ; f2 0f c2 08 05 cmpnlesd xmm1, [rax] ; f2 0f c2 08 06 cmpordsd xmm1, [rax] ; f2 0f c2 08 07 vcmpeqsd xmm1, [rax] ; c5 f3 c2 08 00 vcmpltsd xmm1, [rax] ; c5 f3 c2 08 01 vcmplesd xmm1, [rax] ; c5 f3 c2 08 02 vcmpunordsd xmm1, [rax] ; c5 f3 c2 08 03 vcmpneqsd xmm1, [rax] ; c5 f3 c2 08 04 vcmpnltsd xmm1, [rax] ; c5 f3 c2 08 05 vcmpnlesd xmm1, [rax] ; c5 f3 c2 08 06 vcmpordsd xmm1, [rax] ; c5 f3 c2 08 07 vcmpeqsd xmm1, xmm2, [rax] ; c5 eb c2 08 00 vcmpltsd xmm1, xmm2, [rax] ; c5 eb c2 08 01 vcmplesd xmm1, xmm2, [rax] ; c5 eb c2 08 02 vcmpunordsd xmm1, xmm2, [rax] ; c5 eb c2 08 03 vcmpneqsd xmm1, xmm2, [rax] ; c5 eb c2 08 04 vcmpnltsd xmm1, xmm2, [rax] ; c5 eb c2 08 05 vcmpnlesd xmm1, xmm2, [rax] ; c5 eb c2 08 06 vcmpordsd xmm1, xmm2, [rax] ; c5 eb c2 08 07 vcmpeq_uqsd xmm1, xmm2, [rax] ; c5 eb c2 08 08 vcmpngesd xmm1, xmm2, [rax] ; c5 eb c2 08 09 vcmpngtsd xmm1, xmm2, [rax] ; c5 eb c2 08 0a vcmpfalsesd xmm1, xmm2, [rax] ; c5 eb c2 08 0b vcmpneq_oqsd xmm1, xmm2, [rax] ; c5 eb c2 08 0c vcmpgesd xmm1, xmm2, [rax] ; c5 eb c2 08 0d vcmpgtsd xmm1, xmm2, [rax] ; c5 eb c2 08 0e vcmptruesd xmm1, xmm2, [rax] ; c5 eb c2 08 0f vcmpeq_ossd xmm1, xmm2, [rax] ; c5 eb c2 08 10 vcmplt_oqsd xmm1, xmm2, [rax] ; c5 eb c2 08 11 vcmple_oqsd xmm1, xmm2, [rax] ; c5 eb c2 08 12 vcmpunord_ssd xmm1, xmm2, [rax] ; c5 eb c2 08 13 vcmpneq_ussd xmm1, xmm2, [rax] ; c5 eb c2 08 14 vcmpnlt_uqsd xmm1, xmm2, [rax] ; c5 eb c2 08 15 vcmpnle_uqsd xmm1, xmm2, [rax] ; c5 eb c2 08 16 vcmpord_ssd xmm1, xmm2, [rax] ; c5 eb c2 08 17 vcmpeq_ussd xmm1, xmm2, [rax] ; c5 eb c2 08 18 vcmpnge_uqsd xmm1, xmm2, [rax] ; c5 eb c2 08 19 vcmpngt_uqsd xmm1, xmm2, [rax] ; c5 eb c2 08 1a vcmpfalse_ossd xmm1, xmm2, [rax] ; c5 eb c2 08 1b vcmpneq_ossd xmm1, xmm2, [rax] ; c5 eb c2 08 1c vcmpge_oqsd xmm1, xmm2, [rax] ; c5 eb c2 08 1d vcmpgt_oqsd xmm1, xmm2, [rax] ; c5 eb c2 08 1e vcmptrue_ussd xmm1, xmm2, [rax] ; c5 eb c2 08 1f cmpeqsd xmm1, qword [rax] ; f2 0f c2 08 00 cmpltsd xmm1, qword [rax] ; f2 0f c2 08 01 cmplesd xmm1, qword [rax] ; f2 0f c2 08 02 cmpunordsd xmm1, qword [rax] ; f2 0f c2 08 03 cmpneqsd xmm1, qword [rax] ; f2 0f c2 08 04 cmpnltsd xmm1, qword [rax] ; f2 0f c2 08 05 cmpnlesd xmm1, qword [rax] ; f2 0f c2 08 06 cmpordsd xmm1, qword [rax] ; f2 0f c2 08 07 vcmpeqsd xmm1, qword [rax] ; c5 f3 c2 08 00 vcmpltsd xmm1, qword [rax] ; c5 f3 c2 08 01 vcmplesd xmm1, qword [rax] ; c5 f3 c2 08 02 vcmpunordsd xmm1, qword [rax] ; c5 f3 c2 08 03 vcmpneqsd xmm1, qword [rax] ; c5 f3 c2 08 04 vcmpnltsd xmm1, qword [rax] ; c5 f3 c2 08 05 vcmpnlesd xmm1, qword [rax] ; c5 f3 c2 08 06 vcmpordsd xmm1, qword [rax] ; c5 f3 c2 08 07 vcmpeqsd xmm1, xmm2, qword [rax] ; c5 eb c2 08 00 vcmpltsd xmm1, xmm2, qword [rax] ; c5 eb c2 08 01 vcmplesd xmm1, xmm2, qword [rax] ; c5 eb c2 08 02 vcmpunordsd xmm1, xmm2, qword [rax] ; c5 eb c2 08 03 vcmpneqsd xmm1, xmm2, qword [rax] ; c5 eb c2 08 04 vcmpnltsd xmm1, xmm2, qword [rax] ; c5 eb c2 08 05 vcmpnlesd xmm1, xmm2, qword [rax] ; c5 eb c2 08 06 vcmpordsd xmm1, xmm2, qword [rax] ; c5 eb c2 08 07 vcmpeq_uqsd xmm1, xmm2, qword [rax] ; c5 eb c2 08 08 vcmpngesd xmm1, xmm2, qword [rax] ; c5 eb c2 08 09 vcmpngtsd xmm1, xmm2, qword [rax] ; c5 eb c2 08 0a vcmpfalsesd xmm1, xmm2, qword [rax] ; c5 eb c2 08 0b vcmpneq_oqsd xmm1, xmm2, qword [rax] ; c5 eb c2 08 0c vcmpgesd xmm1, xmm2, qword [rax] ; c5 eb c2 08 0d vcmpgtsd xmm1, xmm2, qword [rax] ; c5 eb c2 08 0e vcmptruesd xmm1, xmm2, qword [rax] ; c5 eb c2 08 0f vcmpeq_ossd xmm1, xmm2, qword [rax] ; c5 eb c2 08 10 vcmplt_oqsd xmm1, xmm2, qword [rax] ; c5 eb c2 08 11 vcmple_oqsd xmm1, xmm2, qword [rax] ; c5 eb c2 08 12 vcmpunord_ssd xmm1, xmm2, qword [rax] ; c5 eb c2 08 13 vcmpneq_ussd xmm1, xmm2, qword [rax] ; c5 eb c2 08 14 vcmpnlt_uqsd xmm1, xmm2, qword [rax] ; c5 eb c2 08 15 vcmpnle_uqsd xmm1, xmm2, qword [rax] ; c5 eb c2 08 16 vcmpord_ssd xmm1, xmm2, qword [rax] ; c5 eb c2 08 17 vcmpeq_ussd xmm1, xmm2, qword [rax] ; c5 eb c2 08 18 vcmpnge_uqsd xmm1, xmm2, qword [rax] ; c5 eb c2 08 19 vcmpngt_uqsd xmm1, xmm2, qword [rax] ; c5 eb c2 08 1a vcmpfalse_ossd xmm1, xmm2, qword [rax] ; c5 eb c2 08 1b vcmpneq_ossd xmm1, xmm2, qword [rax] ; c5 eb c2 08 1c vcmpge_oqsd xmm1, xmm2, qword [rax] ; c5 eb c2 08 1d vcmpgt_oqsd xmm1, xmm2, qword [rax] ; c5 eb c2 08 1e vcmptrue_ussd xmm1, xmm2, qword [rax] ; c5 eb c2 08 1f ;----------------------------------------------------------------------------- cmpeqss xmm1, xmm2 ; f3 0f c2 ca 00 cmpltss xmm1, xmm2 ; f3 0f c2 ca 01 cmpless xmm1, xmm2 ; f3 0f c2 ca 02 cmpunordss xmm1, xmm2 ; f3 0f c2 ca 03 cmpneqss xmm1, xmm2 ; f3 0f c2 ca 04 cmpnltss xmm1, xmm2 ; f3 0f c2 ca 05 cmpnless xmm1, xmm2 ; f3 0f c2 ca 06 cmpordss xmm1, xmm2 ; f3 0f c2 ca 07 vcmpeqss xmm1, xmm2 ; c5 f2 c2 ca 00 vcmpltss xmm1, xmm2 ; c5 f2 c2 ca 01 vcmpless xmm1, xmm2 ; c5 f2 c2 ca 02 vcmpunordss xmm1, xmm2 ; c5 f2 c2 ca 03 vcmpneqss xmm1, xmm2 ; c5 f2 c2 ca 04 vcmpnltss xmm1, xmm2 ; c5 f2 c2 ca 05 vcmpnless xmm1, xmm2 ; c5 f2 c2 ca 06 vcmpordss xmm1, xmm2 ; c5 f2 c2 ca 07 vcmpeqss xmm1, xmm2, xmm3 ; c5 ea c2 cb 00 vcmpltss xmm1, xmm2, xmm3 ; c5 ea c2 cb 01 vcmpless xmm1, xmm2, xmm3 ; c5 ea c2 cb 02 vcmpunordss xmm1, xmm2, xmm3 ; c5 ea c2 cb 03 vcmpneqss xmm1, xmm2, xmm3 ; c5 ea c2 cb 04 vcmpnltss xmm1, xmm2, xmm3 ; c5 ea c2 cb 05 vcmpnless xmm1, xmm2, xmm3 ; c5 ea c2 cb 06 vcmpordss xmm1, xmm2, xmm3 ; c5 ea c2 cb 07 vcmpeq_uqss xmm1, xmm2, xmm3 ; c5 ea c2 cb 08 vcmpngess xmm1, xmm2, xmm3 ; c5 ea c2 cb 09 vcmpngtss xmm1, xmm2, xmm3 ; c5 ea c2 cb 0a vcmpfalsess xmm1, xmm2, xmm3 ; c5 ea c2 cb 0b vcmpneq_oqss xmm1, xmm2, xmm3 ; c5 ea c2 cb 0c vcmpgess xmm1, xmm2, xmm3 ; c5 ea c2 cb 0d vcmpgtss xmm1, xmm2, xmm3 ; c5 ea c2 cb 0e vcmptruess xmm1, xmm2, xmm3 ; c5 ea c2 cb 0f vcmpeq_osss xmm1, xmm2, xmm3 ; c5 ea c2 cb 10 vcmplt_oqss xmm1, xmm2, xmm3 ; c5 ea c2 cb 11 vcmple_oqss xmm1, xmm2, xmm3 ; c5 ea c2 cb 12 vcmpunord_sss xmm1, xmm2, xmm3 ; c5 ea c2 cb 13 vcmpneq_usss xmm1, xmm2, xmm3 ; c5 ea c2 cb 14 vcmpnlt_uqss xmm1, xmm2, xmm3 ; c5 ea c2 cb 15 vcmpnle_uqss xmm1, xmm2, xmm3 ; c5 ea c2 cb 16 vcmpord_sss xmm1, xmm2, xmm3 ; c5 ea c2 cb 17 vcmpeq_usss xmm1, xmm2, xmm3 ; c5 ea c2 cb 18 vcmpnge_uqss xmm1, xmm2, xmm3 ; c5 ea c2 cb 19 vcmpngt_uqss xmm1, xmm2, xmm3 ; c5 ea c2 cb 1a vcmpfalse_osss xmm1, xmm2, xmm3 ; c5 ea c2 cb 1b vcmpneq_osss xmm1, xmm2, xmm3 ; c5 ea c2 cb 1c vcmpge_oqss xmm1, xmm2, xmm3 ; c5 ea c2 cb 1d vcmpgt_oqss xmm1, xmm2, xmm3 ; c5 ea c2 cb 1e vcmptrue_usss xmm1, xmm2, xmm3 ; c5 ea c2 cb 1f cmpeqss xmm1, [rax] ; f3 0f c2 08 00 cmpltss xmm1, [rax] ; f3 0f c2 08 01 cmpless xmm1, [rax] ; f3 0f c2 08 02 cmpunordss xmm1, [rax] ; f3 0f c2 08 03 cmpneqss xmm1, [rax] ; f3 0f c2 08 04 cmpnltss xmm1, [rax] ; f3 0f c2 08 05 cmpnless xmm1, [rax] ; f3 0f c2 08 06 cmpordss xmm1, [rax] ; f3 0f c2 08 07 vcmpeqss xmm1, [rax] ; c5 f2 c2 08 00 vcmpltss xmm1, [rax] ; c5 f2 c2 08 01 vcmpless xmm1, [rax] ; c5 f2 c2 08 02 vcmpunordss xmm1, [rax] ; c5 f2 c2 08 03 vcmpneqss xmm1, [rax] ; c5 f2 c2 08 04 vcmpnltss xmm1, [rax] ; c5 f2 c2 08 05 vcmpnless xmm1, [rax] ; c5 f2 c2 08 06 vcmpordss xmm1, [rax] ; c5 f2 c2 08 07 vcmpeqss xmm1, xmm2, [rax] ; c5 ea c2 08 00 vcmpltss xmm1, xmm2, [rax] ; c5 ea c2 08 01 vcmpless xmm1, xmm2, [rax] ; c5 ea c2 08 02 vcmpunordss xmm1, xmm2, [rax] ; c5 ea c2 08 03 vcmpneqss xmm1, xmm2, [rax] ; c5 ea c2 08 04 vcmpnltss xmm1, xmm2, [rax] ; c5 ea c2 08 05 vcmpnless xmm1, xmm2, [rax] ; c5 ea c2 08 06 vcmpordss xmm1, xmm2, [rax] ; c5 ea c2 08 07 vcmpeq_uqss xmm1, xmm2, [rax] ; c5 ea c2 08 08 vcmpngess xmm1, xmm2, [rax] ; c5 ea c2 08 09 vcmpngtss xmm1, xmm2, [rax] ; c5 ea c2 08 0a vcmpfalsess xmm1, xmm2, [rax] ; c5 ea c2 08 0b vcmpneq_oqss xmm1, xmm2, [rax] ; c5 ea c2 08 0c vcmpgess xmm1, xmm2, [rax] ; c5 ea c2 08 0d vcmpgtss xmm1, xmm2, [rax] ; c5 ea c2 08 0e vcmptruess xmm1, xmm2, [rax] ; c5 ea c2 08 0f vcmpeq_osss xmm1, xmm2, [rax] ; c5 ea c2 08 10 vcmplt_oqss xmm1, xmm2, [rax] ; c5 ea c2 08 11 vcmple_oqss xmm1, xmm2, [rax] ; c5 ea c2 08 12 vcmpunord_sss xmm1, xmm2, [rax] ; c5 ea c2 08 13 vcmpneq_usss xmm1, xmm2, [rax] ; c5 ea c2 08 14 vcmpnlt_uqss xmm1, xmm2, [rax] ; c5 ea c2 08 15 vcmpnle_uqss xmm1, xmm2, [rax] ; c5 ea c2 08 16 vcmpord_sss xmm1, xmm2, [rax] ; c5 ea c2 08 17 vcmpeq_usss xmm1, xmm2, [rax] ; c5 ea c2 08 18 vcmpnge_uqss xmm1, xmm2, [rax] ; c5 ea c2 08 19 vcmpngt_uqss xmm1, xmm2, [rax] ; c5 ea c2 08 1a vcmpfalse_osss xmm1, xmm2, [rax] ; c5 ea c2 08 1b vcmpneq_osss xmm1, xmm2, [rax] ; c5 ea c2 08 1c vcmpge_oqss xmm1, xmm2, [rax] ; c5 ea c2 08 1d vcmpgt_oqss xmm1, xmm2, [rax] ; c5 ea c2 08 1e vcmptrue_usss xmm1, xmm2, [rax] ; c5 ea c2 08 1f cmpeqss xmm1, dword [rax] ; f3 0f c2 08 00 cmpltss xmm1, dword [rax] ; f3 0f c2 08 01 cmpless xmm1, dword [rax] ; f3 0f c2 08 02 cmpunordss xmm1, dword [rax] ; f3 0f c2 08 03 cmpneqss xmm1, dword [rax] ; f3 0f c2 08 04 cmpnltss xmm1, dword [rax] ; f3 0f c2 08 05 cmpnless xmm1, dword [rax] ; f3 0f c2 08 06 cmpordss xmm1, dword [rax] ; f3 0f c2 08 07 vcmpeqss xmm1, dword [rax] ; c5 f2 c2 08 00 vcmpltss xmm1, dword [rax] ; c5 f2 c2 08 01 vcmpless xmm1, dword [rax] ; c5 f2 c2 08 02 vcmpunordss xmm1, dword [rax] ; c5 f2 c2 08 03 vcmpneqss xmm1, dword [rax] ; c5 f2 c2 08 04 vcmpnltss xmm1, dword [rax] ; c5 f2 c2 08 05 vcmpnless xmm1, dword [rax] ; c5 f2 c2 08 06 vcmpordss xmm1, dword [rax] ; c5 f2 c2 08 07 vcmpeqss xmm1, xmm2, dword [rax] ; c5 ea c2 08 00 vcmpltss xmm1, xmm2, dword [rax] ; c5 ea c2 08 01 vcmpless xmm1, xmm2, dword [rax] ; c5 ea c2 08 02 vcmpunordss xmm1, xmm2, dword [rax] ; c5 ea c2 08 03 vcmpneqss xmm1, xmm2, dword [rax] ; c5 ea c2 08 04 vcmpnltss xmm1, xmm2, dword [rax] ; c5 ea c2 08 05 vcmpnless xmm1, xmm2, dword [rax] ; c5 ea c2 08 06 vcmpordss xmm1, xmm2, dword [rax] ; c5 ea c2 08 07 vcmpeq_uqss xmm1, xmm2, dword [rax] ; c5 ea c2 08 08 vcmpngess xmm1, xmm2, dword [rax] ; c5 ea c2 08 09 vcmpngtss xmm1, xmm2, dword [rax] ; c5 ea c2 08 0a vcmpfalsess xmm1, xmm2, dword [rax] ; c5 ea c2 08 0b vcmpneq_oqss xmm1, xmm2, dword [rax] ; c5 ea c2 08 0c vcmpgess xmm1, xmm2, dword [rax] ; c5 ea c2 08 0d vcmpgtss xmm1, xmm2, dword [rax] ; c5 ea c2 08 0e vcmptruess xmm1, xmm2, dword [rax] ; c5 ea c2 08 0f vcmpeq_osss xmm1, xmm2, dword [rax] ; c5 ea c2 08 10 vcmplt_oqss xmm1, xmm2, dword [rax] ; c5 ea c2 08 11 vcmple_oqss xmm1, xmm2, dword [rax] ; c5 ea c2 08 12 vcmpunord_sss xmm1, xmm2, dword [rax] ; c5 ea c2 08 13 vcmpneq_usss xmm1, xmm2, dword [rax] ; c5 ea c2 08 14 vcmpnlt_uqss xmm1, xmm2, dword [rax] ; c5 ea c2 08 15 vcmpnle_uqss xmm1, xmm2, dword [rax] ; c5 ea c2 08 16 vcmpord_sss xmm1, xmm2, dword [rax] ; c5 ea c2 08 17 vcmpeq_usss xmm1, xmm2, dword [rax] ; c5 ea c2 08 18 vcmpnge_uqss xmm1, xmm2, dword [rax] ; c5 ea c2 08 19 vcmpngt_uqss xmm1, xmm2, dword [rax] ; c5 ea c2 08 1a vcmpfalse_osss xmm1, xmm2, dword [rax] ; c5 ea c2 08 1b vcmpneq_osss xmm1, xmm2, dword [rax] ; c5 ea c2 08 1c vcmpge_oqss xmm1, xmm2, dword [rax] ; c5 ea c2 08 1d vcmpgt_oqss xmm1, xmm2, dword [rax] ; c5 ea c2 08 1e vcmptrue_usss xmm1, xmm2, dword [rax] ; c5 ea c2 08 1f
test/Fail/SubjectReduction.agda
alhassy/agda
3
13642
-- Based on an example due to <NAME>. See "Recursion with -- boxes", http://sneezy.cs.nott.ac.uk/fplunch/weblog/?p=104. module SubjectReduction where open import Common.Coinduction Eq : {A : Set} → A → A → Set1 Eq {A} x y = (P : A → Set) → P x → P y refl : ∀ {A} (x : A) → Eq x x refl x P Px = Px data Stream : Set where tick : ∞ Stream → Stream ticks : Stream ticks = tick (♯ ticks) l₁ : Eq ticks (tick _) -- Eq ticks (tick (♯ ticks)) l₁ = refl ticks l₂ : ∀ {s t} → Eq s t → Eq (tick (♯ s)) (tick (♯ t)) l₂ eq = λ P Px → eq (λ s → P (tick (♯ s))) Px Goal : Set1 Goal = Eq (tick (♯ ticks)) (tick (♯ tick (♯ ticks))) _∶_ : (A : Set1) → A → A _ ∶ x = x l₃ : Goal l₃ = ((_ → Eq (tick (♯ ticks)) (tick (♯ tick (♯ ticks)))) ∶ l₂) l₁ -- If l₃ is accepted, then it evaluates to λ P Px → Px, but the -- following code is not accepted: -- l₃′ : Goal -- l₃′ = λ P Px → Px
Cubical/Algebra/Base.agda
bijan2005/univalent-foundations
0
10067
{-# OPTIONS --cubical --no-import-sorts --safe #-} module Cubical.Algebra.Base where open import Cubical.Core.Everything ------------------------------------------------------------------------ -- Unary and binary operations Op₁ : ∀ {ℓ} → Type ℓ → Type ℓ Op₁ A = A → A Op₂ : ∀ {ℓ} → Type ℓ → Type ℓ Op₂ A = A → A → A ------------------------------------------------------------------------ -- Left and right actions Opₗ : ∀ {a b} → Type a → Type b → Type _ Opₗ A B = A → B → B Opᵣ : ∀ {a b} → Type a → Type b → Type _ Opᵣ A B = B → A → B
oeis/276/A276275.asm
neoneye/loda-programs
11
165790
; A276275: Padovan like sequence: a(n) = a(n-2) + a(n-3) for n>3, a(1)=2, a(2)=2, a(3)=0. ; Submitted by <NAME> ; 2,2,0,4,2,4,6,6,10,12,16,22,28,38,50,66,88,116,154,204,270,358,474,628,832,1102,1460,1934,2562,3394,4496,5956,7890,10452,13846,18342,24298,32188,42640,56486,74828,99126,131314,173954,230440,305268,404394,535708 mov $2,1 mov $3,-1 mov $4,1 lpb $0 sub $0,1 mov $1,$4 mov $4,$2 mov $2,$1 add $2,$3 mov $3,$1 lpe mov $0,$4 mul $0,2
projects/04/Rectangle.asm
mottosso/from-nand-to-tetris-I
2
95263
<reponame>mottosso/from-nand-to-tetris-I // Usage: Put a non-negative value in RAM[0] @SCREEN D=A @addr M=D // addr = 16384 // (screen's base address) @0 D=M @n M=D // n = RAM[0] @i M=0 // i = 0 (LOOP) @i D=M @n D=D-M @END D;JGT // if i>n goto END @addr A=M M=-1 // RAM[addr]=111111... @i M=M+1 // i++ @32 D=A @addr M=D+M // addr += 32 @LOOP 0;JMP // goto LOOP (END) @END 0;JMP
oeis/140/A140682.asm
neoneye/loda-programs
11
163301
<filename>oeis/140/A140682.asm ; A140682: Triangle T(n,k) = gcd(n,k)-binomial(n,k), 0<=k<=n. ; Submitted by <NAME> ; -1,0,0,1,-1,1,2,-2,-2,2,3,-3,-4,-3,3,4,-4,-9,-9,-4,4,5,-5,-13,-17,-13,-5,5,6,-6,-20,-34,-34,-20,-6,6,7,-7,-26,-55,-66,-55,-26,-7,7,8,-8,-35,-81,-125,-125,-81,-35,-8,8,9,-9,-43,-119,-208,-247,-208,-119,-43,-9,9 lpb $0 add $1,1 sub $0,$1 mov $2,$1 sub $2,$0 lpe gcd $2,$1 bin $1,$0 sub $2,$1 mov $0,$2
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/ce/ce3602b.ada
best08618/asylo
7
4891
-- CE3602B.ADA -- Grant of Unlimited Rights -- -- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687, -- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained -- unlimited rights in the software and documentation contained herein. -- Unlimited rights are defined in DFAR 252.227-7013(a)(19). By making -- this public release, the Government intends to confer upon all -- recipients unlimited rights equal to those held by the Government. -- These rights include rights to use, duplicate, release or disclose the -- released technical data and computer software in whole or in part, in -- any manner and for any purpose whatsoever, and to have or permit others -- to do so. -- -- DISCLAIMER -- -- ALL MATERIALS OR INFORMATION HEREIN RELEASED, MADE AVAILABLE OR -- DISCLOSED ARE AS IS. THE GOVERNMENT MAKES NO EXPRESS OR IMPLIED -- WARRANTY AS TO ANY MATTER WHATSOEVER, INCLUDING THE CONDITIONS OF THE -- SOFTWARE, DOCUMENTATION OR OTHER INFORMATION RELEASED, MADE AVAILABLE -- OR DISCLOSED, OR THE OWNERSHIP, MERCHANTABILITY, OR FITNESS FOR A -- PARTICULAR PURPOSE OF SAID MATERIAL. --* -- OBJECTIVE: -- CHECK THAT GET (FOR CHARACTER AND STRINGS) PROPERLY SETS THE -- PAGE, LINE, AND COLUMN NUMBERS AFTER EACH OPERATION. -- APPLICABILITY CRITERIA: -- THIS TEST IS APPLICABLE ONLY TO IMPLEMENTATIONS WHICH SUPPORT -- TEXT FILES. -- HISTORY: -- SPS 08/30/82 -- SPS 12/17/82 -- JBG 02/22/84 CHANGED TO .ADA TEST -- RJW 11/04/86 REVISED TEST TO OUTPUT A NON_APPLICABLE -- RESULT WHEN FILES ARE NOT SUPPORTED. -- JLH 09/04/87 REMOVED DEPENDENCE ON UNBOUNDED LINE LENGTH AND -- CORRECTED EXCEPTION HANDLING. -- BCB 11/13/87 GAVE SET_LINE_LENGTH PROCEDURE THE FILE VARIABLE -- AS A PARAMETER. REMOVED LINE WHICH SAVED AND -- RESTORED THE LINE LENGTH. WITH REPORT; USE REPORT; WITH TEXT_IO; USE TEXT_IO; WITH CHECK_FILE; PROCEDURE CE3602B IS INCOMPLETE : EXCEPTION; BEGIN TEST ("CE3602B", "CHECK THAT GET PROPERLY SETS PAGE, LINE, AND " & "COLUMN NUMBERS"); DECLARE FILE1 : FILE_TYPE; LINE1 : CONSTANT STRING := "LINE ONE OF TEST DATA FILE"; LINE2 : CONSTANT STRING := "LINE TWO"; LINE3 : CONSTANT STRING := "LINE THREE"; CN, LN : POSITIVE_COUNT; CH : CHARACTER; ST: STRING (1 .. 5); ORIGINAL_LINE_LENGTH : COUNT; BEGIN -- CREATE AND INITIALIZE TEST DATA FILE BEGIN CREATE (FILE1, OUT_FILE, LEGAL_FILE_NAME); EXCEPTION WHEN USE_ERROR => NOT_APPLICABLE ("USE_ERROR RAISED ON TEXT CREATE " & "WITH OUT_FILE MODE"); RAISE INCOMPLETE; WHEN NAME_ERROR => NOT_APPLICABLE ("NAME_ERROR RAISED ON TEXT " & "CREATE WITH OUT_FILE MODE"); RAISE INCOMPLETE; WHEN OTHERS => FAILED ("UNEXPECTED EXCEPTION RAISED ON " & "TEXT CREATE"); RAISE INCOMPLETE; END; ORIGINAL_LINE_LENGTH := LINE_LENGTH; SET_LINE_LENGTH (FILE1, LINE1'LENGTH); PUT (FILE1, LINE1); SET_LINE_LENGTH (FILE1, LINE2'LENGTH); PUT (FILE1, LINE2); NEW_LINE (FILE1, 2); NEW_PAGE (FILE1); SET_LINE_LENGTH (FILE1, LINE3'LENGTH); PUT (FILE1, LINE3); CLOSE (FILE1); -- BEGIN TEST BEGIN OPEN (FILE1, IN_FILE, LEGAL_FILE_NAME); EXCEPTION WHEN USE_ERROR => NOT_APPLICABLE ("USE_ERROR RAISED ON TEXT OPEN " & "WITH IN_FILE MODE"); RAISE INCOMPLETE; END; IF COL (FILE1) /= 1 THEN FAILED ("COLUMN NUMBER NOT INITIALLY ONE"); END IF; IF LINE (FILE1) /= 1 THEN FAILED ("LINE NUMBER NOT INITIALLY ONE"); END IF; IF PAGE (FILE1) /= 1 THEN FAILED ("PAGE NUMBER NOT INITIALLY ONE"); END IF; -- TEST COLUMN NUMBER FOR CHARACTER GET (FILE1, CH); IF CH /= 'L' THEN FAILED ("CHARACTER NOT EQUAL TO L - 1"); END IF; CN := COL (FILE1); IF CN /= 2 THEN FAILED ("COLUMN NUMBER NOT SET CORRECTLY " & "- GET CHARACTER. COL NUMBER IS" & COUNT'IMAGE(CN)); END IF; -- TEST COLUMN NUMBER FOR STRING GET (FILE1, ST); CN := COL (FILE1); IF CN /= 7 THEN FAILED ("COLUMN NUMBER NOT SET CORRECTLY " & "- GET STRING. COL NUMBER IS" & COUNT'IMAGE(CN)); END IF; -- POSITION CURRENT INDEX TO END OF LINE WHILE NOT END_OF_LINE (FILE1) LOOP GET (FILE1, CH); END LOOP; IF CH /= 'E' THEN FAILED ("CHARACTER NOT EQUAL TO E"); END IF; -- TEST LINE NUMBER FOR CHARACTER GET(FILE1, CH); IF CH /= 'L' THEN FAILED ("CHARACTER NOT EQUAL TO L - 2"); END IF; LN := LINE (FILE1); IF LN /= 2 THEN FAILED ("LINE NUMBER NOT SET CORRECTLY " & "- GET CHARACTER. LINE NUMBER IS" & COUNT'IMAGE(LN)); END IF; IF PAGE (FILE1) /= POSITIVE_COUNT(IDENT_INT(1)) THEN FAILED ("PAGE NUMBER NOT CORRECT - 1. PAGE IS" & COUNT'IMAGE(PAGE(FILE1))); END IF; -- TEST LINE NUMBER FOR STRING WHILE NOT END_OF_LINE (FILE1) LOOP GET (FILE1, CH); END LOOP; GET (FILE1, ST); IF ST /= "LINE " THEN FAILED ("INCORRECT VALUE READ - ST"); END IF; LN := LINE (FILE1); CN := COL (FILE1); IF CN /= 6 THEN FAILED ("COLUMN NUMBER NOT SET CORRECTLY " & "- GET STRING. COL NUMBER IS" & COUNT'IMAGE(CN)); END IF; IF LN /= 1 THEN FAILED ("LINE NUMBER NOT SET CORRECTLY " & "- GET STRING. LINE NUMBER IS" & COUNT'IMAGE(LN)); END IF; IF PAGE (FILE1) /= POSITIVE_COUNT(IDENT_INT(2)) THEN FAILED ("PAGE NUMBER NOT CORRECT - 2. PAGE IS" & COUNT'IMAGE(PAGE(FILE1))); END IF; BEGIN DELETE (FILE1); EXCEPTION WHEN USE_ERROR => NULL; END; EXCEPTION WHEN INCOMPLETE => NULL; END; RESULT; END CE3602B;
smsq/q68/driver/most.asm
olifink/smsqe
0
246135
<reponame>olifink/smsqe ; base area SMSQ Q68 Drivers 0.00 (C) <NAME> 2016 ; 2020-03-27 1.01 check whether kbd read via interrutps is possible section header xref smsq_end header_base dc.l gl_most-header_base ; length of header dc.l 0 ; module length unknown dc.l smsq_end-gl_most ; loaded length dc.l 0 ; checksum dc.l 0 ; always select dc.b 1 ; 1 level down dc.b 0 dc.w smsq_name-* smsq_name dc.w 17,'SMSQ Q68 Drivers ' dc.l ' ' dc.w $200a section base xref iob_smsq ; SMSQ IOB bits xref q68_int2 xref q68_int2h xref kbd_initiq68 xref kbd_initi xref kbd_intr xref mse_init xref dev_init xref nul_init xref pipe_init xref rd_init xref iob_init xref history_init xref ssss_init xref q68_spp_init xref cpy_mmod include 'dev8_keys_qlv' include 'dev8_keys_q68' include 'dev8_keys_sys' include 'dev8_keys_con' include 'dev8_keys_psf' include 'dev8_keys_qlhw' include 'dev8_keys_qdos_sms' include 'dev8_smsq_smsq_base_keys' include 'dev8_smsq_smsq_config_keys' include 'dev8_smsq_gold_keys' include 'dev8_mac_assert' include 'dev8_keys_68000' gl_most bra.l start xdef iou_dirshr iou_dirshr dc.w 0 ; shared directories supported (RAM disk) section init start jsr ssss_init jsr dev_init jsr nul_init jsr pipe_init jsr rd_init jsr iob_init jsr history_init ; now the interrupt handlers, try to order them so that the one that will ; probably called the most (mouse, as it generates several interrupts per ; move) is called first. This means that it should be linked in last. jsr q68_spp_init ; serial port, will be last interrupts called st kbd_status ; try to use interrupts for keyboard move.b kbd_status,d0 btst #7,d0 ; can I use interrupts for keyboard? beq.s no_intr ; ... no jsr kbd_initi ; ... yes, so generic smsq kbd queue poll jsr kbd_intr ; and set up kbd read via interrupt bra.s common no_intr jsr kbd_initiq68 ; both kbd fetch and read queue via poll common jsr mse_init sys_init ; When we have linked in the interrupt servers, we can enable the interrupts moveq #sms.xtop,d0 trap #do.sms2 clr.w psf_sr(a5) ; we can clear interrupts on return mmreg reg d1/a1/a2 new movem.l mmreg,-(a7) lea q68_int2h,a0 jsr cpy_mmod lea exv_i2,a5 move.l 4(a0),(a5) ; set interrupt level 2 routine address movem.l (a7)+,mmreg poll lea hw_poll,a0 ; set hardware polling routine lea sms.hpoll,a5 ; and tidy up move.l a0,(a5) rts ;+++ ; Q68 SMSQ polling interrupt server operating off the frame interrupt. ; Clears the frame interupt (and, implicitly, the interface interrupt). ; See SHD_POLL. ;--- hw_poll moveq #pc.intrf,d7 or.b sys_qlir(a6),d7 ; Im' not sure this makes sense for Q68 move.b d7,pc_intr ; clear offending interrupt rts end
w8_timeout.adb
M1nified/Ada-Samples
0
28169
<filename>w8_timeout.adb select A.Z; or delay 5.0; Put("Komunikat"); end select;
Appl/Games/Amateur/amateurClown.asm
steakknife/pcgeos
504
167407
COMMENT @--------------------------------------------------------------------- Copyright (c) GeoWorks 1991 -- All rights reserved PROJECT: Amateur Night MODULE: Clowns FILE: amateurClown.asm AUTHOR: <NAME> ROUTINES: Name Description ---- ----------- REVISION HISTORY: Name Date Description ---- ---- ----------- DESCRIPTION: routines to draw and erase clowns $Id: amateurClown.asm,v 1.1 97/04/04 15:12:29 newdeal Exp $ -----------------------------------------------------------------------------@ COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% ClownSetMoniker %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% DESCRIPTION: PASS: *ds:si = ClownSetMonikerClass object ds:di = ClownSetMonikerClass instance data es = Segment of ClownSetMonikerClass. cx = moniker number (1-6) RETURN: nothing DESTROYED: dx,bp REGISTER/STACK USAGE: PSEUDO CODE/STRATEGY: KNOWN BUGS/SIDE EFFECTS/CAVEATS/IDEAS: Assumes clown is ALIVE REVISION HISTORY: Name Date Description ---- ---- ----------- CDB 3/26/92 Initial version. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@ ClownSetMoniker method dynamic ClownClass, MSG_CLOWN_SET_MONIKER uses ax,cx .enter ; If moniker is already set, then return carry tst ds:[di].BI_moniker jnz alreadySet dec cx shl cx mov bx, cx mov ax, cs:normalMonikers[bx] mov ds:[di].BI_moniker, ax mov ds:[di].CI_aliveMoniker, ax mov ax, cs:deadMonikers[bx] mov ds:[di].CI_deadMoniker, ax clc done: .leave ret alreadySet: stc jmp done ClownSetMoniker endm normalMonikers word \ offset Clown0Moniker, offset Clown1Moniker, offset Clown2Moniker, offset Clown3Moniker, offset Clown4Moniker, offset Clown5Moniker deadMonikers word \ offset Dead0Moniker, offset Dead1Moniker, offset Dead2Moniker, offset Dead3Moniker, offset Dead4Moniker, offset Dead5Moniker COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% ClownSetStatus %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% DESCRIPTION: Set the status of the current clown PASS: *ds:si = ClownClass object ds:di = ClownClass instance data es = Segment of ClownClass. cl - ClownStatus RETURN: nothing DESTROYED: nothing REGISTER/STACK USAGE: PSEUDO CODE/STRATEGY: KNOWN BUGS/SIDE EFFECTS/CAVEATS/IDEAS: REVISION HISTORY: Name Date Description ---- ---- ----------- CDB 2/ 7/92 Initial version. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@ ClownSetStatus method ClownClass, MSG_CLOWN_SET_STATUS mov ds:[di].CI_status, cl cmp cl, CS_ALIVE je alive ; clown is dead mov ax, ds:[di].CI_deadMoniker store: mov ds:[di].BI_moniker, ax clc ret alive: mov ax, ds:[di].CI_aliveMoniker jmp store ClownSetStatus endm ClownGetStatus method dynamic ClownClass, MSG_CLOWN_GET_STATUS mov cl, ds:[di].CI_status clc ret ClownGetStatus endm COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% ClownCheckHit %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% DESCRIPTION: PASS: *ds:si = ClownClass object ds:di = ClownClass instance data es = Segment of ClownClass. cx, dx = position of peanut RETURN: nothing DESTROYED: nothing REGISTER/STACK USAGE: PSEUDO CODE/STRATEGY: KNOWN BUGS/SIDE EFFECTS/CAVEATS/IDEAS: REVISION HISTORY: Name Date Description ---- ---- ----------- CDB 2/10/92 Initial version. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@ ClownCheckHit method dynamic ClownClass, MSG_BITMAP_CHECK_PEANUT uses cx,dx,bp .enter cmp ds:[di].CI_status, CS_ALIVE jne noHit cmp cx, ds:[di].VI_bounds.R_left jl noHit cmp cx, ds:[di].VI_bounds.R_right jg noHit ; Clown was hit -- black out spotlight mov cl, CS_DEAD call ClownSetStatus call GetBackgroundColor mov si, di ; instance ptr mov di, es:[gstate] call GrSetAreaColor mov ax, ds:[si].VI_bounds.R_left mov bx, ds:[si].VI_bounds.R_top mov cx, ds:[si].VI_bounds.R_right mov dx, ds:[si].VI_bounds.R_bottom call GrFillRect stc done: .leave ret noHit: clc jmp done ClownCheckHit endm COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% ClownTallyScore %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% DESCRIPTION: add up a score for each clown PASS: *ds:si = ClownClass object ds:di = ClownClass instance data es = Segment of ClownClass. ss:bp = ClownScoreParams RETURN: nothing DESTROYED: nothing REGISTER/STACK USAGE: PSEUDO CODE/STRATEGY: KNOWN BUGS/SIDE EFFECTS/CAVEATS/IDEAS: REVISION HISTORY: Name Date Description ---- ---- ----------- CDB 2/14/92 Initial version. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@ ClownTallyScore method dynamic ClownClass, MSG_CLOWN_TALLY_SCORE .enter cmp ds:[di].CI_status, CS_ALIVE jne done mov ax, ss:[bp].CSP_score add ss:[bp].CSP_scoreTally, ax clr dx push di mov di, offset tempTextBuffer mov cx, mask UHTAF_NULL_TERMINATE call UtilHex32ToAscii add ax, ss:[bp].CSP_scoreAdder mov ss:[bp].CSP_score, ax mov si, di ; pointer to text mov di, es:[gstate] mov ax, ss:[bp].CSP_color call GrSetTextColor pop di mov ax, ds:[di].VI_bounds.R_left mov cx, ds:[di].VI_bounds.R_right add ax, cx shr ax, 1 sub ax, HACK_SCORE_CLOWN_WIDTH mov bx, ds:[di].VI_bounds.R_top sub bx, ss:[bp].CSP_textHeight mov di, es:[gstate] segxchg ds, es clr cx call GrDrawText segxchg ds, es mov al, ST_TALLY_CLOWN call PlaySound mov ax, INTERVAL_TALLY_CLOWN call TimerSleep done: clc .leave ret ClownTallyScore endm COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% ClownResize %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% DESCRIPTION: PASS: *ds:si = ClownClass object ds:di = ClownClass instance data es = Segment of ClownClass. RETURN: width added to BP DESTROYED: ax,cx,dx REGISTER/STACK USAGE: PSEUDO CODE/STRATEGY: KNOWN BUGS/SIDE EFFECTS/CAVEATS/IDEAS: REVISION HISTORY: Name Date Description ---- ---- ----------- CDB 3/25/92 Initial version. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@ ClownResize method dynamic ClownClass, MSG_VIS_RECALC_SIZE .enter call CalcClownSize call BitmapResizeCommon .leave ret ClownResize endm
programs/oeis/066/A066097.asm
jmorken/loda
1
171427
<filename>programs/oeis/066/A066097.asm<gh_stars>1-10 ; A066097: Duplicate of A035336. ; 2,7,10,15,20,23,28,31,36,41,44,49,54,57,62,65,70,75,78,83,86,91,96,99 mov $6,$0 add $0,3 mov $1,$0 mov $2,$0 add $0,1 mov $3,4 mov $4,$1 lpb $2 lpb $4 trn $4,$3 mov $5,$2 add $5,$3 add $3,1 lpe lpb $5 mov $2,$0 sub $0,1 mov $1,$2 add $1,3 mov $2,3 trn $5,3 lpe mul $1,2 sub $2,1 mov $5,$1 mul $1,2 sub $1,$5 lpe lpb $6 add $1,3 sub $6,1 lpe sub $1,8
programs/oeis/074/A074601.asm
neoneye/loda
22
166089
<filename>programs/oeis/074/A074601.asm ; A074601: a(n) = 2^n + 6^n. ; 2,8,40,224,1312,7808,46720,280064,1679872,10078208,60467200,362799104,2176786432,13060702208,78364180480,470185017344,2821109972992,16926659575808,101559956930560,609359740534784,3656158441111552,21936950642475008,131621703846461440,789730223061991424,4738381338338394112,28430288029963255808,170581728179645317120,1023490369077603467264,6140942214465083932672,36845653286789429854208,221073919720734431641600,1326443518324402294882304,7958661109946405179359232,47751966659678413896286208,286511799958070449017978880,1719070799748422625388396544,10314424798490535614891425792,61886548790943213414470647808,371319292745659279937068072960,2227915756473955678522896809984,13367494538843734068938357604352,80204967233062404409232099115008,481229803398374426446596501667840,2887378820390246558661986823962624,17324272922341479351936736571686912,103945637534048876111550050685943808,623673825204293256669159566627307520 mov $1,6 pow $1,$0 mov $2,2 pow $2,$0 add $1,$2 mov $0,$1
Working Disassembly/General/Sprites/Bubbles/Anim - Bubbler.asm
TeamASM-Blur/Sonic-3-Blue-Balls-Edition
5
169825
dc.w byte_2FC90-Ani_Bubbler dc.w byte_2FC95-Ani_Bubbler dc.w byte_2FC9B-Ani_Bubbler dc.w byte_2FCA2-Ani_Bubbler dc.w byte_2FCA6-Ani_Bubbler dc.w byte_2FCA6-Ani_Bubbler dc.w byte_2FCA8-Ani_Bubbler dc.w byte_2FCA8-Ani_Bubbler dc.w byte_2FCAC-Ani_Bubbler byte_2FC90: dc.b $E, 0, 1, 2, $FC byte_2FC95: dc.b $E, 1, 2, 3, 4, $FC byte_2FC9B: dc.b $E, 2, 3, 4, 5, 6, $FC byte_2FCA2: dc.b 2, 5, 6, $FC byte_2FCA6: dc.b 4, $FC byte_2FCA8: dc.b 4, 7, 8, $FC byte_2FCAC: dc.b $F, $13, $14, $15, $FF, 0
oeis/186/A186681.asm
neoneye/loda-programs
11
6037
<reponame>neoneye/loda-programs<filename>oeis/186/A186681.asm ; A186681: Total number of n-digit numbers requiring 17 positive biquadrates in their representation as sum of biquadrates. ; Submitted by <NAME> ; 0,3,30,30,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 mul $0,2 mov $2,$0 mov $0,1 mov $1,6 sub $2,2 bin $0,$2 bin $1,$2 add $0,$1 add $1,$0 mov $0,$1
Sandbox/W.agda
banacorn/numeral
1
8246
module W where open import Function using (_∘_) open import Data.Bool using (Bool; true; false) open import Data.Product open import Data.Unit using (⊤; tt) open import Data.Empty using (⊥; ⊥-elim) data W (S : Set) (P : S → Set) : Set where max : (s : S) → (f : P s → W S P) → W S P -- data ℕ : Set where -- zero : ℕ _^0 -- succ : ℕ → ℕ ∣ℕ∣ ℕ : Set ℕ = W Bool f where f : Bool → Set f true = ⊤ -- 1 f false = ⊥ -- 0 zero : ℕ zero = max false ⊥-elim succ : ℕ → ℕ succ n = max true (λ _ → n) _+_ : ℕ → ℕ → ℕ (max true f) + y = max true (λ _ → f tt + y) (max false f) + y = y -- data Tree : Set where -- leaf : Tree _^0 -- node : Tree → Tree → Tree |ℕ| x |ℕ| Tree : Set Tree = W Bool λ { true → Bool ; false → ⊥ } leaf : Tree leaf = max false ⊥-elim -- _^0 node : Tree → Tree → Tree node l r = max true λ { true → l -- ∣Tree∣^2 ; false → r } data LW (S : Set) (LP : S → Set × Set) : Set where lmax : (s : Σ S (proj₁ ∘ LP)) → (proj₂ (LP (proj₁ s)) → LW S LP) → LW S LP List : (X : Set) → Set List X = LW Bool (λ { true → X , ⊤ -- cons ; false → ⊤ , ⊥ }) -- nil nil : {X : Set} → List X nil = lmax (false , tt) ⊥-elim cons : {X : Set} → (x : X) → List X → List X cons {X} x xs = lmax (true , x) λ _ → xs -- induction principle on W-types indW : (S : Set) → (P : S → Set) → (C : W S P → Set) -- property → (c : (s : S) -- given a shape → (f : P s → W S P) -- and a bunch of kids → (h : (p : P s) → C (f p)) -- if C holds for all kids → C (max s f)) -- C holds for (max s f) → (x : W S P) → C x indW S P C step (max s f) = step s f (λ p → {! !} S P C step (f p)) indℕ : (C : ℕ → Set) → C zero → ((n : ℕ) → C n → C (succ n)) → (x : ℕ) → C x indℕ C base step (max true f) = step (f tt) (indℕ C base step (f tt)) indℕ C base step (max false f) = {! base !}
sw/modules/dlog/src/32b/f28x/f2806x/dlog4chc.asm
Hao878/Toaero_ESC
3
170303
; --COPYRIGHT--,BSD ; Copyright (c) 2012, Texas Instruments Incorporated ; All rights reserved. ; ; Redistribution and use in source and binary forms, with or without ; modification, are permitted provided that the following conditions ; are met: ; ; * Redistributions of source code must retain the above copyright ; notice, this list of conditions and the following disclaimer. ; ; * Redistributions in binary form must reproduce the above copyright ; notice, this list of conditions and the following disclaimer in the ; documentation and/or other materials provided with the distribution. ; ; * Neither the name of Texas Instruments Incorporated nor the names of ; its contributors may be used to endorse or promote products derived ; from this software without specific prior written permission. ; ; THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" ; AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, ; THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR ; PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER 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. ; --/COPYRIGHT-- ;============================================================================== ; File name : DLOG4CHC.ASM ; ; Originator : Advanced Embeeded Control (AEC) ; Texas Instruments Inc. ; ; Description : 4-Channel Data logging module ; ; Date : 02/01/2002 (DD/MM/YYYY) ;============================================================================== ; Routine Name: data_log_update ; ; C prototype : void DLOG_4CH_update(DLOG_4CH_handle); ; void DLOG_4CH_init(DLOG_4CH_handle); ; ; The struct object is defined in the header file "dlog_4ch.h" as follows: ; ; typedef struct { ; long task; /* Variable: Task address pointer */ ; int *iptr1; /* Input: First input pointer (Q15) */ ; int *iptr2; /* Input: Second input pointer (Q15) */ ; int *iptr3; /* Input: Third input pointer (Q15) */ ; int *iptr4; /* Input: Fourth input pointer (Q15) */ ; int trig_value; /* Input: Trigger point (Q15) */ ; int prescalar; /* Parameter: Data log prescale */ ; int skip_cntr; /* Variable: Data log skip counter */ ; int cntr; /* Variable: Data log counter */ ; long write_ptr; /* Variable: Graph address pointer */ ; int size; /* Parameter: Maximum data DLOG_4CH_buffer */ ; int (*init)(); /* Pointer to init function */ ; int (*update)(); /* Pointer to update function */ ; } DLOG_4CH; ;============================================================================== ; External Reference .def _DLOG_4CH_update .def _DLOG_4CH_init ; Data log buffer definition BUFF_SIZE .set 0C8h DLOG_4CH_buff1 .usect "DLOG", BUFF_SIZE DLOG_4CH_buff2 .usect "DLOG", BUFF_SIZE DLOG_4CH_buff3 .usect "DLOG", BUFF_SIZE DLOG_4CH_buff4 .usect "DLOG", BUFF_SIZE ;============================================================================== ; Initialization Function ;============================================================================== _DLOG_4CH_init: MOVL XAR5,#POS_TRIG_S1 MOVL *XAR4,XAR5 ; task=#POS_TRIG_S1 ADDB XAR4,#10 ; XAR4->trig_value MOV *+XAR4[2],#0 MOVL XAR5,#DLOG_4CH_buff1 MOVL *+XAR4[4],XAR5 ; write_ptr=DLOG_4CH_buff1 MOV AL,*+XAR4[6] ; ACC=size MOV *+XAR4[3],AL ; cntr=size LRETR ;============================================================================== ; Datalog Update Function ;============================================================================== _DLOG_4CH_update: SETC SXM MOVL XAR5,XAR4 ; XAR4->task MOVL XAR7,*XAR4++ ; XAR4->iptr1, XAR7=task ADDB XAR5,#10 ; XAR5->trig_value LB *XAR7 ; Branch to TASK POS_TRIG_S1: MOV ACC,*XAR5 ; ACC=trig_value MOVL XAR6,*XAR4 ; XAR6=iptr1 SUB ACC,*XAR6 ; ACC=(trig_value - *iptr1) BF DL_EXIT,LEQ ; Exit if ACC <= 0 MOVL XAR6,#POS_TRIG_S2 MOVL *--XAR4,XAR6 ; task=POS_TRIG_S2 LRETR POS_TRIG_S2: MOV ACC,*XAR5 ; ACC=trig_value MOVL XAR6,*XAR4 ; XAR6=iptr1 SUB ACC,*XAR6 ; ACC=(trig_value - *iptr1) BF DL_EXIT,GEQ ; Exit if ACC >= 0 MOVL XAR6,#DL_TRIGGERED MOVL *--XAR4,XAR6 ; task=POS_TRIG_S2 LRETR DL_TRIGGERED: INC *+XAR5[2] ; skip_cntr=skip_cntr+1 MOV ACC,*+XAR5[2] ; ACC=skip_cntr SUB ACC,*+XAR5[1] ; ACC=skip_cntr-prescalar SBF DL_EXIT,NEQ ; if (skip_cntr+1) < prescalar, then exit MOV *+XAR5[2],#0 ; skip_cntr=0 MOV ACC,*+XAR5[3] ; ACC=cntr SBF DLOG_END,EQ DEC *+XAR5[3] ; cntr=cntr-1 ADDB XAR5,#4 ; XAR5->write_ptr MOVL XAR6,*XAR5 ; XAR6=write_ptr ADDB XAR6,#1 ; XAR6=write_ptr+1 MOVL *XAR5,XAR6 ; write_ptr=write_ptr + 1 SUBB XAR6,#1 ; XAR6=write_ptr MOV AR0,#BUFF_SIZE ; AR0=BUFF_SIZE ; Log sample pointed by IPTR1 MOVL XAR7,*XAR4++ ; XAR7=iptr1 MOV AL,*XAR7 ; AL=*iptr1 NOP *,ARP6 MOV *0++,AL ; *write_ptr=*iptr1, XAR6=write_ptr+size ; Log sample pointed by IPTR2 MOVL XAR7,*XAR4++ ; XAR7=iptr2 MOV AL,*XAR7 ; AL=*iptr2 NOP *,ARP6 MOV *0++,AL ; *write_ptr=*iptr2, XAR6=write_ptr+size ; Log sample pointed by IPTR3 MOVL XAR7,*XAR4++ ; XAR7=iptr3 MOV AL,*XAR7 ; AL=*iptr3 NOP *,ARP6 MOV *0++,AL ; *write_ptr=*iptr3, XAR6=write_ptr+size ; Log sample pointed by IPTR4 MOVL XAR7,*XAR4++ ; XAR7=iptr4 MOV AL,*XAR7 ; AL=*iptr4 NOP *,ARP6 MOV *0++,AL ; *write_ptr=*iptr4, XAR6=write_ptr+size LRETR ; Reinitialise the module to log the data when the logging is triggered next DLOG_END: MOVL XAR6,#DLOG_4CH_buff1 MOVL *+XAR5[4],XAR6 ; write_ptr=DLOG_4CH_buff1 MOVL XAR6,#POS_TRIG_S1 MOVL *--XAR4,XAR6 ; task=POS_TRIG_S2 MOV AL,*+XAR5[6] ; ACC=size MOV *+XAR5[3],AL ; cntr=size DL_EXIT: LRETR
src/gen/gstreamer-gst_low_level-gstreamer_0_10_gst_pbutils_gstdiscoverer_h.ads
persan/A-gst
1
8074
<reponame>persan/A-gst pragma Ada_2005; pragma Style_Checks (Off); pragma Warnings (Off); with Interfaces.C; use Interfaces.C; with GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstminiobject_h; with glib; with System; limited with GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstcaps_h; limited with GStreamer.GST_Low_Level.gstreamer_0_10_gst_gsttaglist_h; limited with GStreamer.GST_Low_Level.gstreamer_0_10_gst_gststructure_h; with glib; with glib.Values; with System; -- limited with GStreamer.GST_Low_Level.glib_2_0_glib_glist_h; with GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstclock_h; -- with GStreamer.GST_Low_Level.glib_2_0_gobject_gobject_h; -- limited with GStreamer.GST_Low_Level.glib_2_0_glib_gerror_h; package GStreamer.GST_Low_Level.gstreamer_0_10_gst_pbutils_gstdiscoverer_h is -- unsupported macro: GST_TYPE_DISCOVERER_STREAM_INFO (gst_discoverer_stream_info_get_type ()) -- arg-macro: function GST_DISCOVERER_STREAM_INFO (obj) -- return G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_DISCOVERER_STREAM_INFO, GstDiscovererStreamInfo); -- arg-macro: function GST_IS_DISCOVERER_STREAM_INFO (obj) -- return G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_DISCOVERER_STREAM_INFO); -- arg-macro: function gst_discoverer_stream_info_ref (info) -- return (GstDiscovererStreamInfo*) gst_mini_object_ref((GstMiniObject*) info); -- arg-macro: function gst_discoverer_stream_info_unref (info) -- return gst_mini_object_unref((GstMiniObject*) info); -- unsupported macro: GST_TYPE_DISCOVERER_CONTAINER_INFO (gst_discoverer_container_info_get_type ()) -- arg-macro: function GST_DISCOVERER_CONTAINER_INFO (obj) -- return G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_DISCOVERER_CONTAINER_INFO, GstDiscovererContainerInfo); -- arg-macro: function GST_IS_DISCOVERER_CONTAINER_INFO (obj) -- return G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_DISCOVERER_CONTAINER_INFO); -- unsupported macro: GST_TYPE_DISCOVERER_AUDIO_INFO (gst_discoverer_audio_info_get_type ()) -- arg-macro: function GST_DISCOVERER_AUDIO_INFO (obj) -- return G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_DISCOVERER_AUDIO_INFO, GstDiscovererAudioInfo); -- arg-macro: function GST_IS_DISCOVERER_AUDIO_INFO (obj) -- return G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_DISCOVERER_AUDIO_INFO); -- unsupported macro: GST_TYPE_DISCOVERER_VIDEO_INFO (gst_discoverer_video_info_get_type ()) -- arg-macro: function GST_DISCOVERER_VIDEO_INFO (obj) -- return G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_DISCOVERER_VIDEO_INFO, GstDiscovererVideoInfo); -- arg-macro: function GST_IS_DISCOVERER_VIDEO_INFO (obj) -- return G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_DISCOVERER_VIDEO_INFO); -- unsupported macro: GST_TYPE_DISCOVERER_SUBTITLE_INFO (gst_discoverer_subtitle_info_get_type ()) -- arg-macro: function GST_DISCOVERER_SUBTITLE_INFO (obj) -- return G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_DISCOVERER_SUBTITLE_INFO, GstDiscovererSubtitleInfo); -- arg-macro: function GST_IS_DISCOVERER_SUBTITLE_INFO (obj) -- return G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_DISCOVERER_SUBTITLE_INFO); -- unsupported macro: GST_TYPE_DISCOVERER_INFO (gst_discoverer_info_get_type ()) -- arg-macro: function GST_DISCOVERER_INFO (obj) -- return G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_DISCOVERER_INFO, GstDiscovererInfo); -- arg-macro: function GST_IS_DISCOVERER_INFO (obj) -- return G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_DISCOVERER_INFO); -- arg-macro: function gst_discoverer_info_unref (info) -- return gst_mini_object_unref((GstMiniObject*)info); -- arg-macro: function gst_discoverer_info_ref (info) -- return gst_mini_object_ref((GstMiniObject*)info); -- unsupported macro: GST_TYPE_DISCOVERER (gst_discoverer_get_type()) -- arg-macro: function GST_DISCOVERER (obj) -- return G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_DISCOVERER,GstDiscoverer); -- arg-macro: function GST_DISCOVERER_CLASS (klass) -- return G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_DISCOVERER,GstDiscovererClass); -- arg-macro: function GST_IS_DISCOVERER (obj) -- return G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_DISCOVERER); -- arg-macro: function GST_IS_DISCOVERER_CLASS (klass) -- return G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_DISCOVERER); -- GStreamer -- * Copyright (C) 2009 <NAME> <<EMAIL>> -- * 2009 Nokia Corporation -- * -- * This library is free software; you can redistribute it and/or -- * modify it under the terms of the GNU Library General Public -- * License as published by the Free Software Foundation; either -- * version 2 of the License, or (at your option) any later version. -- * -- * This library is distributed in the hope that it will be useful, -- * but WITHOUT ANY WARRANTY; without even the implied warranty of -- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -- * Library General Public License for more details. -- * -- * You should have received a copy of the GNU Library General Public -- * License along with this library; if not, write to the -- * Free Software Foundation, Inc., 59 Temple Place - Suite 330, -- * Boston, MA 02111-1307, USA. -- -- skipped empty struct u_GstDiscovererStreamInfo -- skipped empty struct GstDiscovererStreamInfo subtype GstDiscovererStreamInfoClass is GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstminiobject_h.GstMiniObjectClass; -- gst/pbutils/gstdiscoverer.h:35 function gst_discoverer_stream_info_get_type return GLIB.GType; -- gst/pbutils/gstdiscoverer.h:36 pragma Import (C, gst_discoverer_stream_info_get_type, "gst_discoverer_stream_info_get_type"); --* -- * GstDiscovererStreamInfo: -- * -- * Base structure for information concerning a media stream. Depending on the -- * stream type, one can find more media-specific information in -- * #GstDiscovererAudioInfo, #GstDiscovererVideoInfo, and -- * #GstDiscovererContainerInfo. -- * -- * The #GstDiscovererStreamInfo represents the topology of the stream. Siblings -- * can be iterated over with gst_discoverer_stream_info_get_next() and -- * gst_discoverer_stream_info_get_previous(). Children (sub-streams) of a -- * stream can be accessed using the #GstDiscovererContainerInfo API. -- * -- * As a simple example, if you run #GstDiscoverer on an AVI file with one audio -- * and one video stream, you will get a #GstDiscovererContainerInfo -- * corresponding to the AVI container, which in turn will have a -- * #GstDiscovererAudioInfo sub-stream and a #GstDiscovererVideoInfo sub-stream -- * for the audio and video streams respectively. -- * -- * Since: 0.10.31 -- function gst_discoverer_stream_info_get_previous (info : System.Address) return System.Address; -- gst/pbutils/gstdiscoverer.h:62 pragma Import (C, gst_discoverer_stream_info_get_previous, "gst_discoverer_stream_info_get_previous"); function gst_discoverer_stream_info_get_next (info : System.Address) return System.Address; -- gst/pbutils/gstdiscoverer.h:63 pragma Import (C, gst_discoverer_stream_info_get_next, "gst_discoverer_stream_info_get_next"); function gst_discoverer_stream_info_get_caps (info : System.Address) return access GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstcaps_h.GstCaps; -- gst/pbutils/gstdiscoverer.h:64 pragma Import (C, gst_discoverer_stream_info_get_caps, "gst_discoverer_stream_info_get_caps"); function gst_discoverer_stream_info_get_tags (info : System.Address) return access constant GStreamer.GST_Low_Level.gstreamer_0_10_gst_gsttaglist_h.GstTagList; -- gst/pbutils/gstdiscoverer.h:65 pragma Import (C, gst_discoverer_stream_info_get_tags, "gst_discoverer_stream_info_get_tags"); function gst_discoverer_stream_info_get_misc (info : System.Address) return access constant GStreamer.GST_Low_Level.gstreamer_0_10_gst_gststructure_h.GstStructure; -- gst/pbutils/gstdiscoverer.h:66 pragma Import (C, gst_discoverer_stream_info_get_misc, "gst_discoverer_stream_info_get_misc"); function gst_discoverer_stream_info_get_stream_type_nick (info : System.Address) return access GLIB.gchar; -- gst/pbutils/gstdiscoverer.h:67 pragma Import (C, gst_discoverer_stream_info_get_stream_type_nick, "gst_discoverer_stream_info_get_stream_type_nick"); --* -- * GstDiscovererContainerInfo: -- * -- * #GstDiscovererStreamInfo specific to container streams. -- * -- * Since: 0.10.31 -- -- skipped empty struct u_GstDiscovererContainerInfo -- skipped empty struct GstDiscovererContainerInfo subtype GstDiscovererContainerInfoClass is GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstminiobject_h.GstMiniObjectClass; -- gst/pbutils/gstdiscoverer.h:83 function gst_discoverer_container_info_get_type return GLIB.GType; -- gst/pbutils/gstdiscoverer.h:85 pragma Import (C, gst_discoverer_container_info_get_type, "gst_discoverer_container_info_get_type"); function gst_discoverer_container_info_get_streams (info : System.Address) return access GStreamer.GST_Low_Level.glib_2_0_glib_glist_h.GList; -- gst/pbutils/gstdiscoverer.h:87 pragma Import (C, gst_discoverer_container_info_get_streams, "gst_discoverer_container_info_get_streams"); --* -- * GstDiscovererAudioInfo: -- * -- * #GstDiscovererStreamInfo specific to audio streams. -- * -- * Since: 0.10.31 -- -- skipped empty struct u_GstDiscovererAudioInfo -- skipped empty struct GstDiscovererAudioInfo subtype GstDiscovererAudioInfoClass is GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstminiobject_h.GstMiniObjectClass; -- gst/pbutils/gstdiscoverer.h:104 function gst_discoverer_audio_info_get_type return GLIB.GType; -- gst/pbutils/gstdiscoverer.h:106 pragma Import (C, gst_discoverer_audio_info_get_type, "gst_discoverer_audio_info_get_type"); function gst_discoverer_audio_info_get_channels (info : System.Address) return GLIB.guint; -- gst/pbutils/gstdiscoverer.h:108 pragma Import (C, gst_discoverer_audio_info_get_channels, "gst_discoverer_audio_info_get_channels"); function gst_discoverer_audio_info_get_sample_rate (info : System.Address) return GLIB.guint; -- gst/pbutils/gstdiscoverer.h:109 pragma Import (C, gst_discoverer_audio_info_get_sample_rate, "gst_discoverer_audio_info_get_sample_rate"); function gst_discoverer_audio_info_get_depth (info : System.Address) return GLIB.guint; -- gst/pbutils/gstdiscoverer.h:110 pragma Import (C, gst_discoverer_audio_info_get_depth, "gst_discoverer_audio_info_get_depth"); function gst_discoverer_audio_info_get_bitrate (info : System.Address) return GLIB.guint; -- gst/pbutils/gstdiscoverer.h:111 pragma Import (C, gst_discoverer_audio_info_get_bitrate, "gst_discoverer_audio_info_get_bitrate"); function gst_discoverer_audio_info_get_max_bitrate (info : System.Address) return GLIB.guint; -- gst/pbutils/gstdiscoverer.h:112 pragma Import (C, gst_discoverer_audio_info_get_max_bitrate, "gst_discoverer_audio_info_get_max_bitrate"); function gst_discoverer_audio_info_get_language (info : System.Address) return access GLIB.gchar; -- gst/pbutils/gstdiscoverer.h:113 pragma Import (C, gst_discoverer_audio_info_get_language, "gst_discoverer_audio_info_get_language"); --* -- * GstDiscovererVideoInfo: -- * -- * #GstDiscovererStreamInfo specific to video streams (this includes images). -- * -- * Since: 0.10.31 -- -- skipped empty struct u_GstDiscovererVideoInfo -- skipped empty struct GstDiscovererVideoInfo subtype GstDiscovererVideoInfoClass is GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstminiobject_h.GstMiniObjectClass; -- gst/pbutils/gstdiscoverer.h:129 function gst_discoverer_video_info_get_type return GLIB.GType; -- gst/pbutils/gstdiscoverer.h:130 pragma Import (C, gst_discoverer_video_info_get_type, "gst_discoverer_video_info_get_type"); function gst_discoverer_video_info_get_width (info : System.Address) return GLIB.guint; -- gst/pbutils/gstdiscoverer.h:132 pragma Import (C, gst_discoverer_video_info_get_width, "gst_discoverer_video_info_get_width"); function gst_discoverer_video_info_get_height (info : System.Address) return GLIB.guint; -- gst/pbutils/gstdiscoverer.h:133 pragma Import (C, gst_discoverer_video_info_get_height, "gst_discoverer_video_info_get_height"); function gst_discoverer_video_info_get_depth (info : System.Address) return GLIB.guint; -- gst/pbutils/gstdiscoverer.h:134 pragma Import (C, gst_discoverer_video_info_get_depth, "gst_discoverer_video_info_get_depth"); function gst_discoverer_video_info_get_framerate_num (info : System.Address) return GLIB.guint; -- gst/pbutils/gstdiscoverer.h:135 pragma Import (C, gst_discoverer_video_info_get_framerate_num, "gst_discoverer_video_info_get_framerate_num"); function gst_discoverer_video_info_get_framerate_denom (info : System.Address) return GLIB.guint; -- gst/pbutils/gstdiscoverer.h:136 pragma Import (C, gst_discoverer_video_info_get_framerate_denom, "gst_discoverer_video_info_get_framerate_denom"); function gst_discoverer_video_info_get_par_num (info : System.Address) return GLIB.guint; -- gst/pbutils/gstdiscoverer.h:137 pragma Import (C, gst_discoverer_video_info_get_par_num, "gst_discoverer_video_info_get_par_num"); function gst_discoverer_video_info_get_par_denom (info : System.Address) return GLIB.guint; -- gst/pbutils/gstdiscoverer.h:138 pragma Import (C, gst_discoverer_video_info_get_par_denom, "gst_discoverer_video_info_get_par_denom"); function gst_discoverer_video_info_is_interlaced (info : System.Address) return GLIB.gboolean; -- gst/pbutils/gstdiscoverer.h:139 pragma Import (C, gst_discoverer_video_info_is_interlaced, "gst_discoverer_video_info_is_interlaced"); function gst_discoverer_video_info_get_bitrate (info : System.Address) return GLIB.guint; -- gst/pbutils/gstdiscoverer.h:140 pragma Import (C, gst_discoverer_video_info_get_bitrate, "gst_discoverer_video_info_get_bitrate"); function gst_discoverer_video_info_get_max_bitrate (info : System.Address) return GLIB.guint; -- gst/pbutils/gstdiscoverer.h:141 pragma Import (C, gst_discoverer_video_info_get_max_bitrate, "gst_discoverer_video_info_get_max_bitrate"); function gst_discoverer_video_info_is_image (info : System.Address) return GLIB.gboolean; -- gst/pbutils/gstdiscoverer.h:142 pragma Import (C, gst_discoverer_video_info_is_image, "gst_discoverer_video_info_is_image"); --* -- * GstDiscovererSubtitleInfo: -- * -- * #GstDiscovererStreamInfo specific to subtitle streams (this includes text and -- * image based ones). -- * -- * Since: 0.10.36 -- -- skipped empty struct u_GstDiscovererSubtitleInfo -- skipped empty struct GstDiscovererSubtitleInfo subtype GstDiscovererSubtitleInfoClass is GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstminiobject_h.GstMiniObjectClass; -- gst/pbutils/gstdiscoverer.h:159 function gst_discoverer_subtitle_info_get_type return GLIB.GType; -- gst/pbutils/gstdiscoverer.h:160 pragma Import (C, gst_discoverer_subtitle_info_get_type, "gst_discoverer_subtitle_info_get_type"); function gst_discoverer_subtitle_info_get_language (info : System.Address) return access GLIB.gchar; -- gst/pbutils/gstdiscoverer.h:162 pragma Import (C, gst_discoverer_subtitle_info_get_language, "gst_discoverer_subtitle_info_get_language"); --* -- * GstDiscovererResult: -- * @GST_DISCOVERER_OK: The discovery was successful -- * @GST_DISCOVERER_URI_INVALID: the URI is invalid -- * @GST_DISCOVERER_ERROR: an error happened and the GError is set -- * @GST_DISCOVERER_TIMEOUT: the discovery timed-out -- * @GST_DISCOVERER_BUSY: the discoverer was already discovering a file -- * @GST_DISCOVERER_MISSING_PLUGINS: Some plugins are missing for full discovery -- * -- * Result values for the discovery process. -- * -- * Since: 0.10.31 -- type GstDiscovererResult is (GST_DISCOVERER_OK, GST_DISCOVERER_URI_INVALID, GST_DISCOVERER_ERROR, GST_DISCOVERER_TIMEOUT, GST_DISCOVERER_BUSY, GST_DISCOVERER_MISSING_PLUGINS); pragma Convention (C, GstDiscovererResult); -- gst/pbutils/gstdiscoverer.h:184 --* -- * GstDiscovererInfo: -- * -- * Structure containing the information of a URI analyzed by #GstDiscoverer. -- * -- * Since: 0.10.31 -- -- skipped empty struct u_GstDiscovererInfo -- skipped empty struct GstDiscovererInfo subtype GstDiscovererInfoClass is GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstminiobject_h.GstMiniObjectClass; -- gst/pbutils/gstdiscoverer.h:202 function gst_discoverer_info_get_type return GLIB.GType; -- gst/pbutils/gstdiscoverer.h:203 pragma Import (C, gst_discoverer_info_get_type, "gst_discoverer_info_get_type"); function gst_discoverer_info_copy (ptr : System.Address) return System.Address; -- gst/pbutils/gstdiscoverer.h:208 pragma Import (C, gst_discoverer_info_copy, "gst_discoverer_info_copy"); function gst_discoverer_info_get_uri (info : System.Address) return access GLIB.gchar; -- gst/pbutils/gstdiscoverer.h:210 pragma Import (C, gst_discoverer_info_get_uri, "gst_discoverer_info_get_uri"); function gst_discoverer_info_get_result (info : System.Address) return GstDiscovererResult; -- gst/pbutils/gstdiscoverer.h:211 pragma Import (C, gst_discoverer_info_get_result, "gst_discoverer_info_get_result"); function gst_discoverer_info_get_stream_info (info : System.Address) return System.Address; -- gst/pbutils/gstdiscoverer.h:212 pragma Import (C, gst_discoverer_info_get_stream_info, "gst_discoverer_info_get_stream_info"); function gst_discoverer_info_get_stream_list (info : System.Address) return access GStreamer.GST_Low_Level.glib_2_0_glib_glist_h.GList; -- gst/pbutils/gstdiscoverer.h:213 pragma Import (C, gst_discoverer_info_get_stream_list, "gst_discoverer_info_get_stream_list"); function gst_discoverer_info_get_duration (info : System.Address) return GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstclock_h.GstClockTime; -- gst/pbutils/gstdiscoverer.h:214 pragma Import (C, gst_discoverer_info_get_duration, "gst_discoverer_info_get_duration"); function gst_discoverer_info_get_seekable (info : System.Address) return GLIB.gboolean; -- gst/pbutils/gstdiscoverer.h:215 pragma Import (C, gst_discoverer_info_get_seekable, "gst_discoverer_info_get_seekable"); function gst_discoverer_info_get_misc (info : System.Address) return access constant GStreamer.GST_Low_Level.gstreamer_0_10_gst_gststructure_h.GstStructure; -- gst/pbutils/gstdiscoverer.h:216 pragma Import (C, gst_discoverer_info_get_misc, "gst_discoverer_info_get_misc"); function gst_discoverer_info_get_tags (info : System.Address) return access constant GStreamer.GST_Low_Level.gstreamer_0_10_gst_gsttaglist_h.GstTagList; -- gst/pbutils/gstdiscoverer.h:217 pragma Import (C, gst_discoverer_info_get_tags, "gst_discoverer_info_get_tags"); function gst_discoverer_info_get_streams (info : System.Address; streamtype : GLIB.GType) return access GStreamer.GST_Low_Level.glib_2_0_glib_glist_h.GList; -- gst/pbutils/gstdiscoverer.h:219 pragma Import (C, gst_discoverer_info_get_streams, "gst_discoverer_info_get_streams"); function gst_discoverer_info_get_audio_streams (info : System.Address) return access GStreamer.GST_Low_Level.glib_2_0_glib_glist_h.GList; -- gst/pbutils/gstdiscoverer.h:221 pragma Import (C, gst_discoverer_info_get_audio_streams, "gst_discoverer_info_get_audio_streams"); function gst_discoverer_info_get_video_streams (info : System.Address) return access GStreamer.GST_Low_Level.glib_2_0_glib_glist_h.GList; -- gst/pbutils/gstdiscoverer.h:222 pragma Import (C, gst_discoverer_info_get_video_streams, "gst_discoverer_info_get_video_streams"); function gst_discoverer_info_get_subtitle_streams (info : System.Address) return access GStreamer.GST_Low_Level.glib_2_0_glib_glist_h.GList; -- gst/pbutils/gstdiscoverer.h:223 pragma Import (C, gst_discoverer_info_get_subtitle_streams, "gst_discoverer_info_get_subtitle_streams"); function gst_discoverer_info_get_container_streams (info : System.Address) return access GStreamer.GST_Low_Level.glib_2_0_glib_glist_h.GList; -- gst/pbutils/gstdiscoverer.h:224 pragma Import (C, gst_discoverer_info_get_container_streams, "gst_discoverer_info_get_container_streams"); procedure gst_discoverer_stream_info_list_free (infos : access GStreamer.GST_Low_Level.glib_2_0_glib_glist_h.GList); -- gst/pbutils/gstdiscoverer.h:226 pragma Import (C, gst_discoverer_stream_info_list_free, "gst_discoverer_stream_info_list_free"); type GstDiscoverer; type u_GstDiscoverer_u_reserved_array is array (0 .. 3) of System.Address; --subtype GstDiscoverer is u_GstDiscoverer; -- gst/pbutils/gstdiscoverer.h:239 type GstDiscovererClass; type u_GstDiscovererClass_u_reserved_array is array (0 .. 3) of System.Address; --subtype GstDiscovererClass is u_GstDiscovererClass; -- gst/pbutils/gstdiscoverer.h:240 -- skipped empty struct u_GstDiscovererPrivate -- skipped empty struct GstDiscovererPrivate --* -- * GstDiscoverer: -- * -- * The #GstDiscoverer structure. -- * -- * Since: 0.10.31 -- * type GstDiscoverer is record parent : aliased GLIB.Object.GObject; -- gst/pbutils/gstdiscoverer.h:251 priv : System.Address; -- gst/pbutils/gstdiscoverer.h:253 u_reserved : u_GstDiscoverer_u_reserved_array; -- gst/pbutils/gstdiscoverer.h:255 end record; pragma Convention (C_Pass_By_Copy, GstDiscoverer); -- gst/pbutils/gstdiscoverer.h:250 type GstDiscovererClass is record parentclass : aliased GLIB.Object.GObject_Class; -- gst/pbutils/gstdiscoverer.h:259 finished : access procedure (arg1 : access GstDiscoverer); -- gst/pbutils/gstdiscoverer.h:262 starting : access procedure (arg1 : access GstDiscoverer); -- gst/pbutils/gstdiscoverer.h:263 discovered : access procedure (arg1 : access GstDiscoverer; arg2 : System.Address; arg3 : access constant Glib.Error.GError); -- gst/pbutils/gstdiscoverer.h:266 u_reserved : u_GstDiscovererClass_u_reserved_array; -- gst/pbutils/gstdiscoverer.h:268 end record; pragma Convention (C_Pass_By_Copy, GstDiscovererClass); -- gst/pbutils/gstdiscoverer.h:258 -- signals function gst_discoverer_get_type return GLIB.GType; -- gst/pbutils/gstdiscoverer.h:271 pragma Import (C, gst_discoverer_get_type, "gst_discoverer_get_type"); function gst_discoverer_new (timeout : GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstclock_h.GstClockTime; err : System.Address) return access GstDiscoverer; -- gst/pbutils/gstdiscoverer.h:272 pragma Import (C, gst_discoverer_new, "gst_discoverer_new"); -- Asynchronous API procedure gst_discoverer_start (discoverer : access GstDiscoverer); -- gst/pbutils/gstdiscoverer.h:275 pragma Import (C, gst_discoverer_start, "gst_discoverer_start"); procedure gst_discoverer_stop (discoverer : access GstDiscoverer); -- gst/pbutils/gstdiscoverer.h:276 pragma Import (C, gst_discoverer_stop, "gst_discoverer_stop"); function gst_discoverer_discover_uri_async (discoverer : access GstDiscoverer; uri : access GLIB.gchar) return GLIB.gboolean; -- gst/pbutils/gstdiscoverer.h:277 pragma Import (C, gst_discoverer_discover_uri_async, "gst_discoverer_discover_uri_async"); -- Synchronous API function gst_discoverer_discover_uri (discoverer : access GstDiscoverer; uri : access GLIB.gchar; err : System.Address) return System.Address; -- gst/pbutils/gstdiscoverer.h:282 pragma Import (C, gst_discoverer_discover_uri, "gst_discoverer_discover_uri"); end GStreamer.GST_Low_Level.gstreamer_0_10_gst_pbutils_gstdiscoverer_h;
alloy4fun_models/trainstlt/models/6/kwNi58SGbu9f9BogJ.als
Kaixi26/org.alloytools.alloy
0
4651
<filename>alloy4fun_models/trainstlt/models/6/kwNi58SGbu9f9BogJ.als open main pred idkwNi58SGbu9f9BogJ_prop7 { all t : Train | eventually t.pos in Entry } pred __repair { idkwNi58SGbu9f9BogJ_prop7 } check __repair { idkwNi58SGbu9f9BogJ_prop7 <=> prop7o }
src/nnclassifier.ads
sebsgit/textproc
0
23922
<reponame>sebsgit/textproc with Ada.Containers.Vectors; use Ada.Containers; with NeuralNet; with DataBatch; with MathUtils; package NNClassifier is pragma Assertion_Policy (Pre => Check, Post => Check, Type_Invariant => Check); package LabelVecPkg is new Ada.Containers.Vectors(Index_Type => Positive, Element_Type => Natural); subtype LabelVector is LabelVecPkg.Vector; type DNN (hiddenLayerCount: Positive) is tagged private; function create(config: NeuralNet.Config; numberOfClasses: Positive) return DNN with Pre => numberOfClasses >= 2; procedure print(nn: in DNN); procedure train(nn: in out DNN; data: in DataBatch.Batch; labels: in LabelVector) with Pre => Natural(labels.Length) = data.size; function classify(nn: in out DNN; vec: MathUtils.Vector) return MathUtils.Vector; private type DNN (hiddenLayerCount: Positive) is tagged record labelCount: Positive; nn: NeuralNet.Net(hiddenLayerCount); end record; end NNClassifier;
source/amf/mof/cmof/amf-internals-tables-cmof_metamodel-properties.adb
svn2github/matreshka
24
15187
<reponame>svn2github/matreshka ------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- Ada Modeling Framework -- -- -- -- Runtime Library Component -- -- -- ------------------------------------------------------------------------------ -- -- -- Copyright © 2012, <NAME> <<EMAIL>> -- -- All rights reserved. -- -- -- -- Redistribution and use in source and binary forms, with or without -- -- modification, are permitted provided that the following conditions -- -- are met: -- -- -- -- * Redistributions of source code must retain the above copyright -- -- notice, this list of conditions and the following disclaimer. -- -- -- -- * Redistributions in binary form must reproduce the above copyright -- -- notice, this list of conditions and the following disclaimer in the -- -- documentation and/or other materials provided with the distribution. -- -- -- -- * Neither the name of the Vadim Godunko, IE nor the names of its -- -- contributors may be used to endorse or promote products derived from -- -- this software without specific prior written permission. -- -- -- -- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -- -- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -- -- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -- -- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -- -- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -- -- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED -- -- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -- -- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -- -- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -- -- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -- -- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- -- -- ------------------------------------------------------------------------------ -- $Revision$ $Date$ ------------------------------------------------------------------------------ -- This file is generated, don't edit it. ------------------------------------------------------------------------------ with AMF.CMOF; with AMF.Internals.Tables.CMOF_Attributes; with AMF.Internals.Tables.CMOF_String_Data_00; with AMF.Internals.Tables.CMOF_String_Data_01; with AMF.Internals.Tables.CMOF_String_Data_02; package body AMF.Internals.Tables.CMOF_Metamodel.Properties is ---------------- -- Initialize -- ---------------- procedure Initialize is begin Initialize_1; Initialize_2; Initialize_3; Initialize_4; Initialize_5; Initialize_6; Initialize_7; Initialize_8; Initialize_9; Initialize_10; Initialize_11; Initialize_12; Initialize_13; Initialize_14; Initialize_15; Initialize_16; Initialize_17; Initialize_18; Initialize_19; Initialize_20; Initialize_21; Initialize_22; Initialize_23; Initialize_24; Initialize_25; Initialize_26; Initialize_27; Initialize_28; Initialize_29; Initialize_30; Initialize_31; Initialize_32; Initialize_33; Initialize_34; Initialize_35; Initialize_36; Initialize_37; Initialize_38; Initialize_39; Initialize_40; Initialize_41; Initialize_42; Initialize_43; Initialize_44; Initialize_45; Initialize_46; Initialize_47; Initialize_48; Initialize_49; Initialize_50; Initialize_51; Initialize_52; Initialize_53; Initialize_54; Initialize_55; Initialize_56; Initialize_57; Initialize_58; Initialize_59; Initialize_60; Initialize_61; Initialize_62; Initialize_63; Initialize_64; Initialize_65; Initialize_66; Initialize_67; Initialize_68; Initialize_69; Initialize_70; Initialize_71; Initialize_72; Initialize_73; Initialize_74; Initialize_75; Initialize_76; Initialize_77; Initialize_78; Initialize_79; Initialize_80; Initialize_81; Initialize_82; Initialize_83; Initialize_84; Initialize_85; Initialize_86; Initialize_87; Initialize_88; Initialize_89; Initialize_90; Initialize_91; Initialize_92; Initialize_93; Initialize_94; Initialize_95; Initialize_96; Initialize_97; Initialize_98; Initialize_99; Initialize_100; Initialize_101; Initialize_102; Initialize_103; Initialize_104; Initialize_105; Initialize_106; Initialize_107; Initialize_108; Initialize_109; Initialize_110; Initialize_111; Initialize_112; Initialize_113; Initialize_114; Initialize_115; Initialize_116; Initialize_117; Initialize_118; Initialize_119; Initialize_120; Initialize_121; Initialize_122; Initialize_123; Initialize_124; Initialize_125; Initialize_126; Initialize_127; Initialize_128; Initialize_129; Initialize_130; Initialize_131; Initialize_132; Initialize_133; Initialize_134; Initialize_135; Initialize_136; Initialize_137; Initialize_138; Initialize_139; Initialize_140; Initialize_141; Initialize_142; Initialize_143; Initialize_144; Initialize_145; Initialize_146; Initialize_147; Initialize_148; Initialize_149; Initialize_150; Initialize_151; Initialize_152; Initialize_153; Initialize_154; Initialize_155; Initialize_156; Initialize_157; Initialize_158; Initialize_159; Initialize_160; Initialize_161; Initialize_162; Initialize_163; Initialize_164; Initialize_165; Initialize_166; Initialize_167; Initialize_168; Initialize_169; Initialize_170; Initialize_171; Initialize_172; Initialize_173; Initialize_174; Initialize_175; Initialize_176; Initialize_177; Initialize_178; Initialize_179; Initialize_180; Initialize_181; Initialize_182; Initialize_183; Initialize_184; Initialize_185; Initialize_186; Initialize_187; Initialize_188; Initialize_189; Initialize_190; Initialize_191; Initialize_192; Initialize_193; Initialize_194; Initialize_195; Initialize_196; Initialize_197; Initialize_198; Initialize_199; Initialize_200; Initialize_201; Initialize_202; Initialize_203; Initialize_204; Initialize_205; Initialize_206; Initialize_207; Initialize_208; Initialize_209; Initialize_210; Initialize_211; Initialize_212; Initialize_213; Initialize_214; Initialize_215; Initialize_216; Initialize_217; Initialize_218; Initialize_219; Initialize_220; Initialize_221; Initialize_222; Initialize_223; Initialize_224; Initialize_225; Initialize_226; Initialize_227; Initialize_228; Initialize_229; Initialize_230; Initialize_231; Initialize_232; Initialize_233; Initialize_234; Initialize_235; Initialize_236; Initialize_237; Initialize_238; Initialize_239; Initialize_240; Initialize_241; Initialize_242; Initialize_243; Initialize_244; Initialize_245; Initialize_246; Initialize_247; Initialize_248; Initialize_249; Initialize_250; Initialize_251; Initialize_252; Initialize_253; Initialize_254; Initialize_255; Initialize_256; Initialize_257; Initialize_258; Initialize_259; Initialize_260; Initialize_261; Initialize_262; Initialize_263; Initialize_264; Initialize_265; Initialize_266; Initialize_267; Initialize_268; Initialize_269; Initialize_270; Initialize_271; Initialize_272; Initialize_273; Initialize_274; Initialize_275; Initialize_276; Initialize_277; Initialize_278; Initialize_279; Initialize_280; Initialize_281; Initialize_282; Initialize_283; Initialize_284; Initialize_285; Initialize_286; Initialize_287; Initialize_288; Initialize_289; Initialize_290; Initialize_291; Initialize_292; Initialize_293; Initialize_294; Initialize_295; Initialize_296; Initialize_297; Initialize_298; Initialize_299; Initialize_300; Initialize_301; Initialize_302; Initialize_303; Initialize_304; Initialize_305; Initialize_306; Initialize_307; Initialize_308; Initialize_309; Initialize_310; Initialize_311; Initialize_312; Initialize_313; Initialize_314; Initialize_315; Initialize_316; Initialize_317; Initialize_318; Initialize_319; Initialize_320; Initialize_321; Initialize_322; Initialize_323; Initialize_324; Initialize_325; Initialize_326; Initialize_327; Initialize_328; Initialize_329; Initialize_330; Initialize_331; Initialize_332; Initialize_333; Initialize_334; Initialize_335; Initialize_336; Initialize_337; Initialize_338; Initialize_339; Initialize_340; Initialize_341; Initialize_342; Initialize_343; Initialize_344; Initialize_345; Initialize_346; Initialize_347; Initialize_348; Initialize_349; Initialize_350; Initialize_351; Initialize_352; Initialize_353; Initialize_354; Initialize_355; Initialize_356; Initialize_357; Initialize_358; Initialize_359; Initialize_360; Initialize_361; Initialize_362; Initialize_363; Initialize_364; Initialize_365; Initialize_366; Initialize_367; Initialize_368; Initialize_369; Initialize_370; Initialize_371; Initialize_372; Initialize_373; Initialize_374; Initialize_375; Initialize_376; Initialize_377; Initialize_378; Initialize_379; Initialize_380; Initialize_381; Initialize_382; Initialize_383; Initialize_384; Initialize_385; Initialize_386; Initialize_387; Initialize_388; Initialize_389; Initialize_390; Initialize_391; Initialize_392; Initialize_393; Initialize_394; Initialize_395; Initialize_396; Initialize_397; Initialize_398; Initialize_399; Initialize_400; Initialize_401; Initialize_402; Initialize_403; Initialize_404; Initialize_405; Initialize_406; Initialize_407; Initialize_408; Initialize_409; Initialize_410; Initialize_411; Initialize_412; Initialize_413; Initialize_414; Initialize_415; Initialize_416; Initialize_417; Initialize_418; Initialize_419; Initialize_420; Initialize_421; Initialize_422; Initialize_423; Initialize_424; Initialize_425; Initialize_426; Initialize_427; Initialize_428; Initialize_429; Initialize_430; Initialize_431; Initialize_432; Initialize_433; Initialize_434; Initialize_435; Initialize_436; Initialize_437; Initialize_438; Initialize_439; Initialize_440; Initialize_441; Initialize_442; Initialize_443; Initialize_444; Initialize_445; Initialize_446; Initialize_447; Initialize_448; Initialize_449; Initialize_450; Initialize_451; Initialize_452; Initialize_453; Initialize_454; Initialize_455; Initialize_456; Initialize_457; Initialize_458; Initialize_459; Initialize_460; Initialize_461; Initialize_462; Initialize_463; Initialize_464; Initialize_465; Initialize_466; Initialize_467; Initialize_468; Initialize_469; Initialize_470; Initialize_471; Initialize_472; Initialize_473; Initialize_474; Initialize_475; Initialize_476; Initialize_477; Initialize_478; Initialize_479; Initialize_480; Initialize_481; Initialize_482; Initialize_483; Initialize_484; Initialize_485; Initialize_486; Initialize_487; Initialize_488; Initialize_489; Initialize_490; Initialize_491; Initialize_492; Initialize_493; Initialize_494; Initialize_495; Initialize_496; Initialize_497; Initialize_498; Initialize_499; Initialize_500; Initialize_501; Initialize_502; Initialize_503; Initialize_504; Initialize_505; Initialize_506; Initialize_507; Initialize_508; Initialize_509; Initialize_510; Initialize_511; Initialize_512; Initialize_513; Initialize_514; Initialize_515; Initialize_516; Initialize_517; Initialize_518; Initialize_519; Initialize_520; Initialize_521; Initialize_522; Initialize_523; Initialize_524; Initialize_525; Initialize_526; Initialize_527; Initialize_528; Initialize_529; Initialize_530; Initialize_531; Initialize_532; Initialize_533; Initialize_534; Initialize_535; Initialize_536; Initialize_537; Initialize_538; Initialize_539; Initialize_540; Initialize_541; Initialize_542; Initialize_543; Initialize_544; Initialize_545; Initialize_546; Initialize_547; Initialize_548; Initialize_549; Initialize_550; Initialize_551; Initialize_552; Initialize_553; Initialize_554; Initialize_555; Initialize_556; Initialize_557; Initialize_558; Initialize_559; Initialize_560; Initialize_561; Initialize_562; Initialize_563; Initialize_564; Initialize_565; Initialize_566; Initialize_567; Initialize_568; Initialize_569; Initialize_570; Initialize_571; Initialize_572; Initialize_573; Initialize_574; Initialize_575; Initialize_576; Initialize_577; Initialize_578; Initialize_579; Initialize_580; Initialize_581; Initialize_582; Initialize_583; Initialize_584; Initialize_585; Initialize_586; Initialize_587; Initialize_588; Initialize_589; Initialize_590; Initialize_591; Initialize_592; Initialize_593; Initialize_594; Initialize_595; Initialize_596; Initialize_597; Initialize_598; Initialize_599; Initialize_600; Initialize_601; Initialize_602; Initialize_603; Initialize_604; Initialize_605; Initialize_606; Initialize_607; Initialize_608; Initialize_609; Initialize_610; Initialize_611; Initialize_612; Initialize_613; Initialize_614; Initialize_615; Initialize_616; Initialize_617; Initialize_618; Initialize_619; Initialize_620; Initialize_621; Initialize_622; Initialize_623; Initialize_624; Initialize_625; Initialize_626; Initialize_627; Initialize_628; Initialize_629; Initialize_630; Initialize_631; Initialize_632; Initialize_633; Initialize_634; Initialize_635; Initialize_636; Initialize_637; Initialize_638; Initialize_639; Initialize_640; Initialize_641; Initialize_642; Initialize_643; Initialize_644; Initialize_645; Initialize_646; Initialize_647; Initialize_648; Initialize_649; Initialize_650; Initialize_651; Initialize_652; Initialize_653; Initialize_654; Initialize_655; Initialize_656; Initialize_657; Initialize_658; Initialize_659; Initialize_660; Initialize_661; Initialize_662; Initialize_663; Initialize_664; Initialize_665; Initialize_666; Initialize_667; Initialize_668; Initialize_669; Initialize_670; Initialize_671; Initialize_672; Initialize_673; Initialize_674; Initialize_675; Initialize_676; Initialize_677; Initialize_678; Initialize_679; Initialize_680; Initialize_681; Initialize_682; Initialize_683; Initialize_684; Initialize_685; Initialize_686; Initialize_687; Initialize_688; Initialize_689; Initialize_690; Initialize_691; Initialize_692; Initialize_693; Initialize_694; Initialize_695; Initialize_696; Initialize_697; Initialize_698; Initialize_699; Initialize_700; Initialize_701; Initialize_702; Initialize_703; Initialize_704; Initialize_705; Initialize_706; Initialize_707; Initialize_708; Initialize_709; Initialize_710; Initialize_711; Initialize_712; Initialize_713; Initialize_714; Initialize_715; Initialize_716; Initialize_717; Initialize_718; Initialize_719; Initialize_720; Initialize_721; Initialize_722; Initialize_723; Initialize_724; Initialize_725; Initialize_726; Initialize_727; Initialize_728; Initialize_729; Initialize_730; Initialize_731; Initialize_732; Initialize_733; Initialize_734; Initialize_735; Initialize_736; Initialize_737; Initialize_738; Initialize_739; Initialize_740; Initialize_741; Initialize_742; Initialize_743; Initialize_744; Initialize_745; Initialize_746; Initialize_747; Initialize_748; Initialize_749; Initialize_750; Initialize_751; Initialize_752; Initialize_753; Initialize_754; Initialize_755; Initialize_756; Initialize_757; Initialize_758; Initialize_759; Initialize_760; Initialize_761; Initialize_762; Initialize_763; Initialize_764; Initialize_765; Initialize_766; Initialize_767; Initialize_768; Initialize_769; Initialize_770; Initialize_771; Initialize_772; Initialize_773; Initialize_774; Initialize_775; Initialize_776; Initialize_777; Initialize_778; Initialize_779; Initialize_780; Initialize_781; Initialize_782; Initialize_783; Initialize_784; Initialize_785; Initialize_786; Initialize_787; Initialize_788; Initialize_789; Initialize_790; Initialize_791; Initialize_792; Initialize_793; Initialize_794; Initialize_795; Initialize_796; Initialize_797; Initialize_798; Initialize_799; Initialize_800; end Initialize; ------------------ -- Initialize_1 -- ------------------ procedure Initialize_1 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 1, AMF.Internals.Tables.CMOF_String_Data_00.MS_0068'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 1, (Is_Empty => True)); end Initialize_1; ------------------ -- Initialize_2 -- ------------------ procedure Initialize_2 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Abstract (Base + 2, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 2, AMF.Internals.Tables.CMOF_String_Data_00.MS_0022'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 2, (Is_Empty => True)); end Initialize_2; ------------------ -- Initialize_3 -- ------------------ procedure Initialize_3 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 3, AMF.Internals.Tables.CMOF_String_Data_01.MS_01EF'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 3, (Is_Empty => True)); end Initialize_3; ------------------ -- Initialize_4 -- ------------------ procedure Initialize_4 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Abstract (Base + 4, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 4, AMF.Internals.Tables.CMOF_String_Data_01.MS_0137'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 4, (Is_Empty => True)); end Initialize_4; ------------------ -- Initialize_5 -- ------------------ procedure Initialize_5 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 5, AMF.Internals.Tables.CMOF_String_Data_01.MS_01C0'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 5, (Is_Empty => True)); end Initialize_5; ------------------ -- Initialize_6 -- ------------------ procedure Initialize_6 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 6, AMF.Internals.Tables.CMOF_String_Data_01.MS_01F5'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 6, (Is_Empty => True)); end Initialize_6; ------------------ -- Initialize_7 -- ------------------ procedure Initialize_7 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 7, AMF.Internals.Tables.CMOF_String_Data_01.MS_012E'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 7, (Is_Empty => True)); end Initialize_7; ------------------ -- Initialize_8 -- ------------------ procedure Initialize_8 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Abstract (Base + 8, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 8, AMF.Internals.Tables.CMOF_String_Data_01.MS_012C'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 8, (Is_Empty => True)); end Initialize_8; ------------------ -- Initialize_9 -- ------------------ procedure Initialize_9 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Abstract (Base + 9, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 9, AMF.Internals.Tables.CMOF_String_Data_00.MS_00D8'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 9, (Is_Empty => True)); end Initialize_9; ------------------- -- Initialize_10 -- ------------------- procedure Initialize_10 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 10, AMF.Internals.Tables.CMOF_String_Data_01.MS_01FE'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 10, (Is_Empty => True)); end Initialize_10; ------------------- -- Initialize_11 -- ------------------- procedure Initialize_11 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 11, AMF.Internals.Tables.CMOF_String_Data_00.MS_0020'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 11, (Is_Empty => True)); end Initialize_11; ------------------- -- Initialize_12 -- ------------------- procedure Initialize_12 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 12, AMF.Internals.Tables.CMOF_String_Data_00.MS_0062'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 12, (Is_Empty => True)); end Initialize_12; ------------------- -- Initialize_13 -- ------------------- procedure Initialize_13 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 13, AMF.Internals.Tables.CMOF_String_Data_01.MS_0198'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 13, (Is_Empty => True)); end Initialize_13; ------------------- -- Initialize_14 -- ------------------- procedure Initialize_14 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Abstract (Base + 14, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 14, AMF.Internals.Tables.CMOF_String_Data_01.MS_01C6'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 14, (Is_Empty => True)); end Initialize_14; ------------------- -- Initialize_15 -- ------------------- procedure Initialize_15 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Abstract (Base + 15, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 15, AMF.Internals.Tables.CMOF_String_Data_01.MS_0152'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 15, (Is_Empty => True)); end Initialize_15; ------------------- -- Initialize_16 -- ------------------- procedure Initialize_16 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Abstract (Base + 16, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 16, AMF.Internals.Tables.CMOF_String_Data_01.MS_015B'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 16, (Is_Empty => True)); end Initialize_16; ------------------- -- Initialize_17 -- ------------------- procedure Initialize_17 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Abstract (Base + 17, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 17, AMF.Internals.Tables.CMOF_String_Data_01.MS_018A'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 17, (Is_Empty => True)); end Initialize_17; ------------------- -- Initialize_18 -- ------------------- procedure Initialize_18 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 18, AMF.Internals.Tables.CMOF_String_Data_01.MS_019C'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 18, (Is_Empty => True)); end Initialize_18; ------------------- -- Initialize_19 -- ------------------- procedure Initialize_19 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 19, AMF.Internals.Tables.CMOF_String_Data_00.MS_0074'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 19, (Is_Empty => True)); end Initialize_19; ------------------- -- Initialize_20 -- ------------------- procedure Initialize_20 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 20, AMF.Internals.Tables.CMOF_String_Data_01.MS_01AA'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 20, (Is_Empty => True)); end Initialize_20; ------------------- -- Initialize_21 -- ------------------- procedure Initialize_21 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 21, AMF.Internals.Tables.CMOF_String_Data_00.MS_0051'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 21, (Is_Empty => True)); end Initialize_21; ------------------- -- Initialize_22 -- ------------------- procedure Initialize_22 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 22, AMF.Internals.Tables.CMOF_String_Data_01.MS_01DC'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 22, (Is_Empty => True)); end Initialize_22; ------------------- -- Initialize_23 -- ------------------- procedure Initialize_23 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Abstract (Base + 23, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 23, AMF.Internals.Tables.CMOF_String_Data_01.MS_0135'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 23, (Is_Empty => True)); end Initialize_23; ------------------- -- Initialize_24 -- ------------------- procedure Initialize_24 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 24, AMF.Internals.Tables.CMOF_String_Data_00.MS_00A7'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 24, (Is_Empty => True)); end Initialize_24; ------------------- -- Initialize_25 -- ------------------- procedure Initialize_25 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 25, AMF.Internals.Tables.CMOF_String_Data_01.MS_0179'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 25, (Is_Empty => True)); end Initialize_25; ------------------- -- Initialize_26 -- ------------------- procedure Initialize_26 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 26, AMF.Internals.Tables.CMOF_String_Data_00.MS_0076'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 26, (Is_Empty => True)); end Initialize_26; ------------------- -- Initialize_27 -- ------------------- procedure Initialize_27 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Abstract (Base + 27, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 27, AMF.Internals.Tables.CMOF_String_Data_01.MS_018B'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 27, (Is_Empty => True)); end Initialize_27; ------------------- -- Initialize_28 -- ------------------- procedure Initialize_28 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Abstract (Base + 28, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 28, AMF.Internals.Tables.CMOF_String_Data_00.MS_002B'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 28, (Is_Empty => True)); end Initialize_28; ------------------- -- Initialize_29 -- ------------------- procedure Initialize_29 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Abstract (Base + 29, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 29, AMF.Internals.Tables.CMOF_String_Data_01.MS_0185'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 29, (Is_Empty => True)); end Initialize_29; ------------------- -- Initialize_30 -- ------------------- procedure Initialize_30 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 30, AMF.Internals.Tables.CMOF_String_Data_01.MS_01A1'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 30, (Is_Empty => True)); end Initialize_30; ------------------- -- Initialize_31 -- ------------------- procedure Initialize_31 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Abstract (Base + 31, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 31, AMF.Internals.Tables.CMOF_String_Data_00.MS_004B'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 31, (Is_Empty => True)); end Initialize_31; ------------------- -- Initialize_32 -- ------------------- procedure Initialize_32 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Abstract (Base + 32, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 32, AMF.Internals.Tables.CMOF_String_Data_01.MS_0158'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 32, (Is_Empty => True)); end Initialize_32; ------------------- -- Initialize_33 -- ------------------- procedure Initialize_33 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Abstract (Base + 33, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 33, AMF.Internals.Tables.CMOF_String_Data_01.MS_01F9'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 33, (Is_Empty => True)); end Initialize_33; ------------------- -- Initialize_34 -- ------------------- procedure Initialize_34 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Derived (Base + 34, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Read_Only (Base + 34, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 34, AMF.Internals.Tables.CMOF_String_Data_01.MS_016B'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Upper (Base + 34, (False, (Unlimited => True))); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 34, (Is_Empty => True)); end Initialize_34; ------------------- -- Initialize_35 -- ------------------- procedure Initialize_35 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Ordered (Base + 35, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 35, (False, 2)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 35, AMF.Internals.Tables.CMOF_String_Data_00.MS_006B'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Upper (Base + 35, (False, (Unlimited => True))); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 35, (Is_Empty => True)); end Initialize_35; ------------------- -- Initialize_36 -- ------------------- procedure Initialize_36 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 36, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 36, AMF.Internals.Tables.CMOF_String_Data_00.MS_0056'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Upper (Base + 36, (False, (Unlimited => True))); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 36, (Is_Empty => True)); end Initialize_36; ------------------- -- Initialize_37 -- ------------------- procedure Initialize_37 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Composite (Base + 37, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Ordered (Base + 37, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 37, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 37, AMF.Internals.Tables.CMOF_String_Data_01.MS_0172'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Upper (Base + 37, (False, (Unlimited => True))); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 37, (Is_Empty => True)); end Initialize_37; ------------------- -- Initialize_38 -- ------------------- procedure Initialize_38 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Composite (Base + 38, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Ordered (Base + 38, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 38, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 38, AMF.Internals.Tables.CMOF_String_Data_01.MS_01EA'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Upper (Base + 38, (False, (Unlimited => True))); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 38, (Is_Empty => True)); end Initialize_38; ------------------- -- Initialize_39 -- ------------------- procedure Initialize_39 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 39, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 39, AMF.Internals.Tables.CMOF_String_Data_01.MS_016C'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Upper (Base + 39, (False, (Unlimited => True))); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 39, (Is_Empty => True)); end Initialize_39; ------------------- -- Initialize_40 -- ------------------- procedure Initialize_40 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Composite (Base + 40, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Ordered (Base + 40, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 40, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 40, AMF.Internals.Tables.CMOF_String_Data_00.MS_0052'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Upper (Base + 40, (False, (Unlimited => True))); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 40, (Is_Empty => True)); end Initialize_40; ------------------- -- Initialize_41 -- ------------------- procedure Initialize_41 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Composite (Base + 41, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Ordered (Base + 41, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 41, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 41, AMF.Internals.Tables.CMOF_String_Data_00.MS_00B5'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Upper (Base + 41, (False, (Unlimited => True))); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 41, (Is_Empty => True)); end Initialize_41; ------------------- -- Initialize_42 -- ------------------- procedure Initialize_42 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 42, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 42, AMF.Internals.Tables.CMOF_String_Data_01.MS_017A'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Upper (Base + 42, (False, (Unlimited => True))); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 42, (Is_Empty => True)); end Initialize_42; ------------------- -- Initialize_43 -- ------------------- procedure Initialize_43 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Derived (Base + 43, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Derived_Union (Base + 43, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Read_Only (Base + 43, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 43, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 43, AMF.Internals.Tables.CMOF_String_Data_01.MS_0138'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Upper (Base + 43, (False, (Unlimited => True))); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 43, (Is_Empty => True)); end Initialize_43; ------------------- -- Initialize_44 -- ------------------- procedure Initialize_44 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Derived (Base + 44, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Derived_Union (Base + 44, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Read_Only (Base + 44, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 44, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 44, AMF.Internals.Tables.CMOF_String_Data_00.MS_00A3'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Upper (Base + 44, (False, (Unlimited => True))); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 44, (Is_Empty => True)); end Initialize_44; ------------------- -- Initialize_45 -- ------------------- procedure Initialize_45 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 45, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 45, AMF.Internals.Tables.CMOF_String_Data_00.MS_0095'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Upper (Base + 45, (False, (Unlimited => True))); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 45, (Is_Empty => True)); end Initialize_45; ------------------- -- Initialize_46 -- ------------------- procedure Initialize_46 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Derived (Base + 46, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Read_Only (Base + 46, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 46, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 46, AMF.Internals.Tables.CMOF_String_Data_00.MS_00A2'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Upper (Base + 46, (False, (Unlimited => True))); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 46, (Is_Empty => True)); end Initialize_46; ------------------- -- Initialize_47 -- ------------------- procedure Initialize_47 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 47, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 47, AMF.Internals.Tables.CMOF_String_Data_01.MS_0170'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Upper (Base + 47, (False, (Unlimited => True))); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 47, (Is_Empty => True)); end Initialize_47; ------------------- -- Initialize_48 -- ------------------- procedure Initialize_48 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Ordered (Base + 48, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 48, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 48, AMF.Internals.Tables.CMOF_String_Data_00.MS_00FC'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Upper (Base + 48, (False, (Unlimited => True))); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 48, (Is_Empty => True)); end Initialize_48; ------------------- -- Initialize_49 -- ------------------- procedure Initialize_49 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Composite (Base + 49, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Ordered (Base + 49, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 49, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 49, AMF.Internals.Tables.CMOF_String_Data_00.MS_0052'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Upper (Base + 49, (False, (Unlimited => True))); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 49, (Is_Empty => True)); end Initialize_49; ------------------- -- Initialize_50 -- ------------------- procedure Initialize_50 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Composite (Base + 50, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Ordered (Base + 50, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 50, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 50, AMF.Internals.Tables.CMOF_String_Data_00.MS_00B5'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Upper (Base + 50, (False, (Unlimited => True))); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 50, (Is_Empty => True)); end Initialize_50; ------------------- -- Initialize_51 -- ------------------- procedure Initialize_51 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Derived (Base + 51, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Derived_Union (Base + 51, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Read_Only (Base + 51, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 51, AMF.Internals.Tables.CMOF_String_Data_01.MS_01AF'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Upper (Base + 51, (False, (Unlimited => True))); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 51, (Is_Empty => True)); end Initialize_51; ------------------- -- Initialize_52 -- ------------------- procedure Initialize_52 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Derived (Base + 52, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Derived_Union (Base + 52, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Read_Only (Base + 52, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 52, AMF.Internals.Tables.CMOF_String_Data_00.MS_00E6'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Upper (Base + 52, (False, (Unlimited => True))); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 52, (Is_Empty => True)); end Initialize_52; ------------------- -- Initialize_53 -- ------------------- procedure Initialize_53 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Composite (Base + 53, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 53, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 53, AMF.Internals.Tables.CMOF_String_Data_01.MS_01C1'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Upper (Base + 53, (False, (Unlimited => True))); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 53, (Is_Empty => True)); end Initialize_53; ------------------- -- Initialize_54 -- ------------------- procedure Initialize_54 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Composite (Base + 54, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Derived (Base + 54, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Derived_Union (Base + 54, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Read_Only (Base + 54, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 54, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 54, AMF.Internals.Tables.CMOF_String_Data_01.MS_01A5'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Upper (Base + 54, (False, (Unlimited => True))); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 54, (Is_Empty => True)); end Initialize_54; ------------------- -- Initialize_55 -- ------------------- procedure Initialize_55 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Composite (Base + 55, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Ordered (Base + 55, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 55, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 55, AMF.Internals.Tables.CMOF_String_Data_00.MS_00E0'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Upper (Base + 55, (False, (Unlimited => True))); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 55, (Is_Empty => True)); end Initialize_55; ------------------- -- Initialize_56 -- ------------------- procedure Initialize_56 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Composite (Base + 56, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Ordered (Base + 56, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 56, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 56, AMF.Internals.Tables.CMOF_String_Data_01.MS_0194'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Upper (Base + 56, (False, (Unlimited => True))); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 56, (Is_Empty => True)); end Initialize_56; ------------------- -- Initialize_57 -- ------------------- procedure Initialize_57 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Derived (Base + 57, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Derived_Union (Base + 57, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Read_Only (Base + 57, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 57, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 57, AMF.Internals.Tables.CMOF_String_Data_01.MS_01BA'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Upper (Base + 57, (False, (Unlimited => True))); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 57, (Is_Empty => True)); end Initialize_57; ------------------- -- Initialize_58 -- ------------------- procedure Initialize_58 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Composite (Base + 58, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 58, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 58, AMF.Internals.Tables.CMOF_String_Data_00.MS_00D0'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Upper (Base + 58, (False, (Unlimited => True))); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 58, (Is_Empty => True)); end Initialize_58; ------------------- -- Initialize_59 -- ------------------- procedure Initialize_59 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Derived (Base + 59, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Read_Only (Base + 59, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 59, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 59, AMF.Internals.Tables.CMOF_String_Data_01.MS_01D8'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Upper (Base + 59, (False, (Unlimited => True))); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 59, (Is_Empty => True)); end Initialize_59; ------------------- -- Initialize_60 -- ------------------- procedure Initialize_60 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Derived (Base + 60, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Derived_Union (Base + 60, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Read_Only (Base + 60, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 60, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 60, AMF.Internals.Tables.CMOF_String_Data_01.MS_01A3'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Upper (Base + 60, (False, (Unlimited => True))); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 60, (Is_Empty => True)); end Initialize_60; ------------------- -- Initialize_61 -- ------------------- procedure Initialize_61 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Composite (Base + 61, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Derived (Base + 61, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Derived_Union (Base + 61, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Read_Only (Base + 61, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 61, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 61, AMF.Internals.Tables.CMOF_String_Data_01.MS_0148'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Upper (Base + 61, (False, (Unlimited => True))); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 61, (Is_Empty => True)); end Initialize_61; ------------------- -- Initialize_62 -- ------------------- procedure Initialize_62 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Composite (Base + 62, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 62, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 62, AMF.Internals.Tables.CMOF_String_Data_01.MS_0147'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Upper (Base + 62, (False, (Unlimited => True))); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 62, (Is_Empty => True)); end Initialize_62; ------------------- -- Initialize_63 -- ------------------- procedure Initialize_63 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Composite (Base + 63, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 63, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 63, AMF.Internals.Tables.CMOF_String_Data_01.MS_0169'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Upper (Base + 63, (False, (Unlimited => True))); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 63, (Is_Empty => True)); end Initialize_63; ------------------- -- Initialize_64 -- ------------------- procedure Initialize_64 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Composite (Base + 64, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Ordered (Base + 64, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 64, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 64, AMF.Internals.Tables.CMOF_String_Data_01.MS_01EA'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Upper (Base + 64, (False, (Unlimited => True))); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 64, (Is_Empty => True)); end Initialize_64; ------------------- -- Initialize_65 -- ------------------- procedure Initialize_65 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Composite (Base + 65, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 65, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 65, AMF.Internals.Tables.CMOF_String_Data_01.MS_01FA'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Upper (Base + 65, (False, (Unlimited => True))); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 65, (Is_Empty => True)); end Initialize_65; ------------------- -- Initialize_66 -- ------------------- procedure Initialize_66 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Composite (Base + 66, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 66, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 66, AMF.Internals.Tables.CMOF_String_Data_01.MS_010A'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Upper (Base + 66, (False, (Unlimited => True))); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 66, (Is_Empty => True)); end Initialize_66; ------------------- -- Initialize_67 -- ------------------- procedure Initialize_67 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 67, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 67, AMF.Internals.Tables.CMOF_String_Data_01.MS_016C'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Upper (Base + 67, (False, (Unlimited => True))); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 67, (Is_Empty => True)); end Initialize_67; ------------------- -- Initialize_68 -- ------------------- procedure Initialize_68 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 68, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 68, AMF.Internals.Tables.CMOF_String_Data_01.MS_01AD'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Upper (Base + 68, (False, (Unlimited => True))); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 68, (Is_Empty => True)); end Initialize_68; ------------------- -- Initialize_69 -- ------------------- procedure Initialize_69 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Composite (Base + 69, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Derived (Base + 69, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 69, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 69, AMF.Internals.Tables.CMOF_String_Data_01.MS_0163'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Upper (Base + 69, (False, (Unlimited => True))); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 69, (Is_Empty => True)); end Initialize_69; ------------------- -- Initialize_70 -- ------------------- procedure Initialize_70 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Composite (Base + 70, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Derived (Base + 70, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 70, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 70, AMF.Internals.Tables.CMOF_String_Data_00.MS_0041'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Upper (Base + 70, (False, (Unlimited => True))); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 70, (Is_Empty => True)); end Initialize_70; ------------------- -- Initialize_71 -- ------------------- procedure Initialize_71 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Composite (Base + 71, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 71, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 71, AMF.Internals.Tables.CMOF_String_Data_00.MS_00B3'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Upper (Base + 71, (False, (Unlimited => True))); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 71, (Is_Empty => True)); end Initialize_71; ------------------- -- Initialize_72 -- ------------------- procedure Initialize_72 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Composite (Base + 72, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 72, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 72, AMF.Internals.Tables.CMOF_String_Data_01.MS_01E9'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Upper (Base + 72, (False, (Unlimited => True))); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 72, (Is_Empty => True)); end Initialize_72; ------------------- -- Initialize_73 -- ------------------- procedure Initialize_73 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 73, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 73, AMF.Internals.Tables.CMOF_String_Data_01.MS_0164'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Upper (Base + 73, (False, (Unlimited => True))); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 73, (Is_Empty => True)); end Initialize_73; ------------------- -- Initialize_74 -- ------------------- procedure Initialize_74 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 74, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 74, AMF.Internals.Tables.CMOF_String_Data_01.MS_01A7'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Upper (Base + 74, (False, (Unlimited => True))); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 74, (Is_Empty => True)); end Initialize_74; ------------------- -- Initialize_75 -- ------------------- procedure Initialize_75 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Derived (Base + 75, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Derived_Union (Base + 75, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Read_Only (Base + 75, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 75, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 75, AMF.Internals.Tables.CMOF_String_Data_01.MS_01DE'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Upper (Base + 75, (False, (Unlimited => True))); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 75, (Is_Empty => True)); end Initialize_75; ------------------- -- Initialize_76 -- ------------------- procedure Initialize_76 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Derived (Base + 76, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Derived_Union (Base + 76, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Read_Only (Base + 76, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 76, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 76, AMF.Internals.Tables.CMOF_String_Data_00.MS_00D5'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Upper (Base + 76, (False, (Unlimited => True))); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 76, (Is_Empty => True)); end Initialize_76; ------------------- -- Initialize_77 -- ------------------- procedure Initialize_77 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Derived (Base + 77, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Derived_Union (Base + 77, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Read_Only (Base + 77, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 77, AMF.Internals.Tables.CMOF_String_Data_00.MS_0048'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Upper (Base + 77, (False, (Unlimited => True))); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 77, (Is_Empty => True)); end Initialize_77; ------------------- -- Initialize_78 -- ------------------- procedure Initialize_78 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 78, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 78, AMF.Internals.Tables.CMOF_String_Data_01.MS_0104'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Upper (Base + 78, (False, (Unlimited => True))); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 78, (Is_Empty => True)); end Initialize_78; ------------------- -- Initialize_79 -- ------------------- procedure Initialize_79 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Default (Base + 79, AMF.Internals.Tables.CMOF_String_Data_00.MS_0067'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 79, AMF.Internals.Tables.CMOF_String_Data_01.MS_01C4'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 79, (Is_Empty => True)); end Initialize_79; ------------------- -- Initialize_80 -- ------------------- procedure Initialize_80 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Default (Base + 80, AMF.Internals.Tables.CMOF_String_Data_00.MS_0067'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 80, AMF.Internals.Tables.CMOF_String_Data_00.MS_00B9'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 80, (Is_Empty => True)); end Initialize_80; ------------------- -- Initialize_81 -- ------------------- procedure Initialize_81 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Default (Base + 81, AMF.Internals.Tables.CMOF_String_Data_00.MS_0067'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 81, AMF.Internals.Tables.CMOF_String_Data_00.MS_00B8'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 81, (Is_Empty => True)); end Initialize_81; ------------------- -- Initialize_82 -- ------------------- procedure Initialize_82 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 82, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 82, AMF.Internals.Tables.CMOF_String_Data_01.MS_0142'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 82, (Is_Empty => True)); end Initialize_82; ------------------- -- Initialize_83 -- ------------------- procedure Initialize_83 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 83, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 83, AMF.Internals.Tables.CMOF_String_Data_00.MS_006D'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 83, (Is_Empty => True)); end Initialize_83; ------------------- -- Initialize_84 -- ------------------- procedure Initialize_84 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Composite (Base + 84, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 84, AMF.Internals.Tables.CMOF_String_Data_00.MS_00FB'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 84, (Is_Empty => True)); end Initialize_84; ------------------- -- Initialize_85 -- ------------------- procedure Initialize_85 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Derived (Base + 85, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Derived_Union (Base + 85, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Read_Only (Base + 85, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 85, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 85, AMF.Internals.Tables.CMOF_String_Data_01.MS_0154'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 85, (Is_Empty => True)); end Initialize_85; ------------------- -- Initialize_86 -- ------------------- procedure Initialize_86 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 86, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 86, AMF.Internals.Tables.CMOF_String_Data_01.MS_012B'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 86, (Is_Empty => True)); end Initialize_86; ------------------- -- Initialize_87 -- ------------------- procedure Initialize_87 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 87, AMF.Internals.Tables.CMOF_String_Data_00.MS_00FE'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 87, (Is_Empty => True)); end Initialize_87; ------------------- -- Initialize_88 -- ------------------- procedure Initialize_88 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 88, AMF.Internals.Tables.CMOF_String_Data_00.MS_00FD'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 88, (Is_Empty => True)); end Initialize_88; ------------------- -- Initialize_89 -- ------------------- procedure Initialize_89 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Default (Base + 89, AMF.Internals.Tables.CMOF_String_Data_00.MS_003B'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 89, AMF.Internals.Tables.CMOF_String_Data_01.MS_01EE'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 89, (Is_Empty => True)); end Initialize_89; ------------------- -- Initialize_90 -- ------------------- procedure Initialize_90 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 90, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 90, AMF.Internals.Tables.CMOF_String_Data_00.MS_00DE'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 90, (Is_Empty => True)); end Initialize_90; ------------------- -- Initialize_91 -- ------------------- procedure Initialize_91 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Default (Base + 91, AMF.Internals.Tables.CMOF_String_Data_00.MS_0067'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 91, AMF.Internals.Tables.CMOF_String_Data_01.MS_0113'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 91, (Is_Empty => True)); end Initialize_91; ------------------- -- Initialize_92 -- ------------------- procedure Initialize_92 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Default (Base + 92, AMF.Internals.Tables.CMOF_String_Data_00.MS_009E'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 92, AMF.Internals.Tables.CMOF_String_Data_01.MS_0178'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 92, (Is_Empty => True)); end Initialize_92; ------------------- -- Initialize_93 -- ------------------- procedure Initialize_93 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Default (Base + 93, AMF.Internals.Tables.CMOF_String_Data_01.MS_0159'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 93, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 93, AMF.Internals.Tables.CMOF_String_Data_00.MS_000F'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 93, (Is_Empty => True)); end Initialize_93; ------------------- -- Initialize_94 -- ------------------- procedure Initialize_94 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Default (Base + 94, AMF.Internals.Tables.CMOF_String_Data_01.MS_0159'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 94, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 94, AMF.Internals.Tables.CMOF_String_Data_00.MS_00F1'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 94, (Is_Empty => True)); end Initialize_94; ------------------- -- Initialize_95 -- ------------------- procedure Initialize_95 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 95, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 95, AMF.Internals.Tables.CMOF_String_Data_00.MS_008A'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 95, (Is_Empty => True)); end Initialize_95; ------------------- -- Initialize_96 -- ------------------- procedure Initialize_96 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Derived (Base + 96, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Derived_Union (Base + 96, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Read_Only (Base + 96, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 96, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 96, AMF.Internals.Tables.CMOF_String_Data_01.MS_01E8'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 96, (Is_Empty => True)); end Initialize_96; ------------------- -- Initialize_97 -- ------------------- procedure Initialize_97 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Derived (Base + 97, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Read_Only (Base + 97, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 97, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 97, AMF.Internals.Tables.CMOF_String_Data_00.MS_0000'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 97, (Is_Empty => True)); end Initialize_97; ------------------- -- Initialize_98 -- ------------------- procedure Initialize_98 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 98, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 98, AMF.Internals.Tables.CMOF_String_Data_01.MS_01EE'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 98, (Is_Empty => True)); end Initialize_98; ------------------- -- Initialize_99 -- ------------------- procedure Initialize_99 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Composite (Base + 99, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Ordered (Base + 99, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Unique (Base + 99, False); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 99, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 99, AMF.Internals.Tables.CMOF_String_Data_01.MS_0142'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Upper (Base + 99, (False, (Unlimited => True))); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 99, (Is_Empty => True)); end Initialize_99; -------------------- -- Initialize_100 -- -------------------- procedure Initialize_100 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Composite (Base + 100, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Ordered (Base + 100, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 100, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 100, AMF.Internals.Tables.CMOF_String_Data_01.MS_019E'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Upper (Base + 100, (False, (Unlimited => True))); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 100, (Is_Empty => True)); end Initialize_100; -------------------- -- Initialize_101 -- -------------------- procedure Initialize_101 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Composite (Base + 101, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 101, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 101, AMF.Internals.Tables.CMOF_String_Data_00.MS_0077'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 101, (Is_Empty => True)); end Initialize_101; -------------------- -- Initialize_102 -- -------------------- procedure Initialize_102 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 102, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 102, AMF.Internals.Tables.CMOF_String_Data_00.MS_0029'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 102, (Is_Empty => True)); end Initialize_102; -------------------- -- Initialize_103 -- -------------------- procedure Initialize_103 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 103, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 103, AMF.Internals.Tables.CMOF_String_Data_01.MS_01CF'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 103, (Is_Empty => True)); end Initialize_103; -------------------- -- Initialize_104 -- -------------------- procedure Initialize_104 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Default (Base + 104, AMF.Internals.Tables.CMOF_String_Data_00.MS_0067'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Derived (Base + 104, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 104, AMF.Internals.Tables.CMOF_String_Data_01.MS_0113'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 104, (Is_Empty => True)); end Initialize_104; -------------------- -- Initialize_105 -- -------------------- procedure Initialize_105 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Default (Base + 105, AMF.Internals.Tables.CMOF_String_Data_00.MS_0067'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 105, AMF.Internals.Tables.CMOF_String_Data_00.MS_0021'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 105, (Is_Empty => True)); end Initialize_105; -------------------- -- Initialize_106 -- -------------------- procedure Initialize_106 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Default (Base + 106, AMF.Internals.Tables.CMOF_String_Data_00.MS_009E'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Derived (Base + 106, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 106, AMF.Internals.Tables.CMOF_String_Data_01.MS_0178'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 106, (Is_Empty => True)); end Initialize_106; -------------------- -- Initialize_107 -- -------------------- procedure Initialize_107 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Default (Base + 107, AMF.Internals.Tables.CMOF_String_Data_01.MS_0159'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Derived (Base + 107, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 107, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 107, AMF.Internals.Tables.CMOF_String_Data_00.MS_000F'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 107, (Is_Empty => True)); end Initialize_107; -------------------- -- Initialize_108 -- -------------------- procedure Initialize_108 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Derived (Base + 108, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 108, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 108, AMF.Internals.Tables.CMOF_String_Data_01.MS_0196'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 108, (Is_Empty => True)); end Initialize_108; -------------------- -- Initialize_109 -- -------------------- procedure Initialize_109 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Default (Base + 109, AMF.Internals.Tables.CMOF_String_Data_01.MS_0159'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Derived (Base + 109, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 109, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 109, AMF.Internals.Tables.CMOF_String_Data_00.MS_00F1'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 109, (Is_Empty => True)); end Initialize_109; -------------------- -- Initialize_110 -- -------------------- procedure Initialize_110 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 110, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 110, AMF.Internals.Tables.CMOF_String_Data_01.MS_01C5'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 110, (Is_Empty => True)); end Initialize_110; -------------------- -- Initialize_111 -- -------------------- procedure Initialize_111 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 111, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 111, AMF.Internals.Tables.CMOF_String_Data_00.MS_000A'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 111, (Is_Empty => True)); end Initialize_111; -------------------- -- Initialize_112 -- -------------------- procedure Initialize_112 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 112, AMF.Internals.Tables.CMOF_String_Data_00.MS_0049'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 112, (Is_Empty => True)); end Initialize_112; -------------------- -- Initialize_113 -- -------------------- procedure Initialize_113 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 113, AMF.Internals.Tables.CMOF_String_Data_00.MS_00FD'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 113, (Is_Empty => True)); end Initialize_113; -------------------- -- Initialize_114 -- -------------------- procedure Initialize_114 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Default (Base + 114, AMF.Internals.Tables.CMOF_String_Data_00.MS_003B'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 114, AMF.Internals.Tables.CMOF_String_Data_01.MS_01EE'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 114, (Is_Empty => True)); end Initialize_114; -------------------- -- Initialize_115 -- -------------------- procedure Initialize_115 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 115, AMF.Internals.Tables.CMOF_String_Data_01.MS_01F3'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 115, (Is_Empty => True)); end Initialize_115; -------------------- -- Initialize_116 -- -------------------- procedure Initialize_116 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 116, AMF.Internals.Tables.CMOF_String_Data_01.MS_0117'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 116, (Is_Empty => True)); end Initialize_116; -------------------- -- Initialize_117 -- -------------------- procedure Initialize_117 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 117, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 117, AMF.Internals.Tables.CMOF_String_Data_01.MS_01D3'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 117, (Is_Empty => True)); end Initialize_117; -------------------- -- Initialize_118 -- -------------------- procedure Initialize_118 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Default (Base + 118, AMF.Internals.Tables.CMOF_String_Data_00.MS_000B'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 118, AMF.Internals.Tables.CMOF_String_Data_00.MS_008F'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 118, (Is_Empty => True)); end Initialize_118; -------------------- -- Initialize_119 -- -------------------- procedure Initialize_119 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 119, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 119, AMF.Internals.Tables.CMOF_String_Data_00.MS_0054'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 119, (Is_Empty => True)); end Initialize_119; -------------------- -- Initialize_120 -- -------------------- procedure Initialize_120 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 120, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 120, AMF.Internals.Tables.CMOF_String_Data_02.MS_0200'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 120, (Is_Empty => True)); end Initialize_120; -------------------- -- Initialize_121 -- -------------------- procedure Initialize_121 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 121, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 121, AMF.Internals.Tables.CMOF_String_Data_00.MS_0029'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 121, (Is_Empty => True)); end Initialize_121; -------------------- -- Initialize_122 -- -------------------- procedure Initialize_122 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 122, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 122, AMF.Internals.Tables.CMOF_String_Data_01.MS_01CF'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 122, (Is_Empty => True)); end Initialize_122; -------------------- -- Initialize_123 -- -------------------- procedure Initialize_123 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 123, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 123, AMF.Internals.Tables.CMOF_String_Data_01.MS_01D3'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 123, (Is_Empty => True)); end Initialize_123; -------------------- -- Initialize_124 -- -------------------- procedure Initialize_124 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Default (Base + 124, AMF.Internals.Tables.CMOF_String_Data_00.MS_0067'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 124, AMF.Internals.Tables.CMOF_String_Data_01.MS_0111'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 124, (Is_Empty => True)); end Initialize_124; -------------------- -- Initialize_125 -- -------------------- procedure Initialize_125 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Default (Base + 125, AMF.Internals.Tables.CMOF_String_Data_00.MS_0067'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 125, AMF.Internals.Tables.CMOF_String_Data_01.MS_01C4'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 125, (Is_Empty => True)); end Initialize_125; -------------------- -- Initialize_126 -- -------------------- procedure Initialize_126 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Default (Base + 126, AMF.Internals.Tables.CMOF_String_Data_00.MS_0067'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 126, AMF.Internals.Tables.CMOF_String_Data_01.MS_0105'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 126, (Is_Empty => True)); end Initialize_126; -------------------- -- Initialize_127 -- -------------------- procedure Initialize_127 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Default (Base + 127, AMF.Internals.Tables.CMOF_String_Data_00.MS_0067'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 127, AMF.Internals.Tables.CMOF_String_Data_00.MS_0060'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 127, (Is_Empty => True)); end Initialize_127; -------------------- -- Initialize_128 -- -------------------- procedure Initialize_128 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Derived (Base + 128, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 128, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 128, AMF.Internals.Tables.CMOF_String_Data_00.MS_009F'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 128, (Is_Empty => True)); end Initialize_128; -------------------- -- Initialize_129 -- -------------------- procedure Initialize_129 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 129, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 129, AMF.Internals.Tables.CMOF_String_Data_01.MS_0174'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 129, (Is_Empty => True)); end Initialize_129; -------------------- -- Initialize_130 -- -------------------- procedure Initialize_130 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Default (Base + 130, AMF.Internals.Tables.CMOF_String_Data_00.MS_0067'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 130, AMF.Internals.Tables.CMOF_String_Data_00.MS_00A0'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 130, (Is_Empty => True)); end Initialize_130; -------------------- -- Initialize_131 -- -------------------- procedure Initialize_131 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 131, AMF.Internals.Tables.CMOF_String_Data_00.MS_008A'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 131, (Is_Empty => True)); end Initialize_131; -------------------- -- Initialize_132 -- -------------------- procedure Initialize_132 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 132, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 132, AMF.Internals.Tables.CMOF_String_Data_00.MS_0050'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 132, (Is_Empty => True)); end Initialize_132; -------------------- -- Initialize_133 -- -------------------- procedure Initialize_133 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 133, AMF.Internals.Tables.CMOF_String_Data_01.MS_0150'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 133, (Is_Empty => True)); end Initialize_133; -------------------- -- Initialize_134 -- -------------------- procedure Initialize_134 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 134, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 134, AMF.Internals.Tables.CMOF_String_Data_00.MS_00F8'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 134, (Is_Empty => True)); end Initialize_134; -------------------- -- Initialize_135 -- -------------------- procedure Initialize_135 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 135, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 135, AMF.Internals.Tables.CMOF_String_Data_01.MS_0196'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 135, (Is_Empty => True)); end Initialize_135; -------------------- -- Initialize_136 -- -------------------- procedure Initialize_136 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 136, AMF.Internals.Tables.CMOF_String_Data_01.MS_017F'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 136, (Is_Empty => True)); end Initialize_136; -------------------- -- Initialize_137 -- -------------------- procedure Initialize_137 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 137, AMF.Internals.Tables.CMOF_String_Data_01.MS_014F'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 137, (Is_Empty => True)); end Initialize_137; -------------------- -- Initialize_138 -- -------------------- procedure Initialize_138 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 138, AMF.Internals.Tables.CMOF_String_Data_01.MS_010B'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 138, (Is_Empty => True)); end Initialize_138; -------------------- -- Initialize_139 -- -------------------- procedure Initialize_139 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 139, AMF.Internals.Tables.CMOF_String_Data_01.MS_0197'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 139, (Is_Empty => True)); end Initialize_139; -------------------- -- Initialize_140 -- -------------------- procedure Initialize_140 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 140, AMF.Internals.Tables.CMOF_String_Data_00.MS_00CE'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 140, (Is_Empty => True)); end Initialize_140; -------------------- -- Initialize_141 -- -------------------- procedure Initialize_141 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 141, AMF.Internals.Tables.CMOF_String_Data_01.MS_01D7'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 141, (Is_Empty => True)); end Initialize_141; -------------------- -- Initialize_142 -- -------------------- procedure Initialize_142 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 142, AMF.Internals.Tables.CMOF_String_Data_00.MS_0059'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 142, (Is_Empty => True)); end Initialize_142; -------------------- -- Initialize_143 -- -------------------- procedure Initialize_143 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 143, AMF.Internals.Tables.CMOF_String_Data_00.MS_0072'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 143, (Is_Empty => True)); end Initialize_143; -------------------- -- Initialize_144 -- -------------------- procedure Initialize_144 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 144, AMF.Internals.Tables.CMOF_String_Data_00.MS_000D'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 144, (Is_Empty => True)); end Initialize_144; -------------------- -- Initialize_145 -- -------------------- procedure Initialize_145 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 145, AMF.Internals.Tables.CMOF_String_Data_00.MS_00B7'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 145, (Is_Empty => True)); end Initialize_145; -------------------- -- Initialize_146 -- -------------------- procedure Initialize_146 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 146, AMF.Internals.Tables.CMOF_String_Data_01.MS_01B4'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 146, (Is_Empty => True)); end Initialize_146; -------------------- -- Initialize_147 -- -------------------- procedure Initialize_147 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 147, AMF.Internals.Tables.CMOF_String_Data_01.MS_0175'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 147, (Is_Empty => True)); end Initialize_147; -------------------- -- Initialize_148 -- -------------------- procedure Initialize_148 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 148, AMF.Internals.Tables.CMOF_String_Data_01.MS_0144'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 148, (Is_Empty => True)); end Initialize_148; -------------------- -- Initialize_149 -- -------------------- procedure Initialize_149 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 149, AMF.Internals.Tables.CMOF_String_Data_00.MS_007D'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 149, (Is_Empty => True)); end Initialize_149; -------------------- -- Initialize_150 -- -------------------- procedure Initialize_150 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 150, AMF.Internals.Tables.CMOF_String_Data_00.MS_00A5'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 150, (Is_Empty => True)); end Initialize_150; -------------------- -- Initialize_151 -- -------------------- procedure Initialize_151 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 151, AMF.Internals.Tables.CMOF_String_Data_01.MS_018F'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 151, (Is_Empty => True)); end Initialize_151; -------------------- -- Initialize_152 -- -------------------- procedure Initialize_152 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 152, AMF.Internals.Tables.CMOF_String_Data_00.MS_00C2'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 152, (Is_Empty => True)); end Initialize_152; -------------------- -- Initialize_153 -- -------------------- procedure Initialize_153 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 153, AMF.Internals.Tables.CMOF_String_Data_01.MS_01FD'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 153, (Is_Empty => True)); end Initialize_153; -------------------- -- Initialize_154 -- -------------------- procedure Initialize_154 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 154, AMF.Internals.Tables.CMOF_String_Data_01.MS_015A'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 154, (Is_Empty => True)); end Initialize_154; -------------------- -- Initialize_155 -- -------------------- procedure Initialize_155 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 155, AMF.Internals.Tables.CMOF_String_Data_00.MS_00C4'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 155, (Is_Empty => True)); end Initialize_155; -------------------- -- Initialize_156 -- -------------------- procedure Initialize_156 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 156, AMF.Internals.Tables.CMOF_String_Data_00.MS_00DA'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 156, (Is_Empty => True)); end Initialize_156; -------------------- -- Initialize_157 -- -------------------- procedure Initialize_157 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 157, AMF.Internals.Tables.CMOF_String_Data_01.MS_0108'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 157, (Is_Empty => True)); end Initialize_157; -------------------- -- Initialize_158 -- -------------------- procedure Initialize_158 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 158, AMF.Internals.Tables.CMOF_String_Data_00.MS_0006'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 158, (Is_Empty => True)); end Initialize_158; -------------------- -- Initialize_159 -- -------------------- procedure Initialize_159 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 159, AMF.Internals.Tables.CMOF_String_Data_00.MS_00A1'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 159, (Is_Empty => True)); end Initialize_159; -------------------- -- Initialize_160 -- -------------------- procedure Initialize_160 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 160, AMF.Internals.Tables.CMOF_String_Data_00.MS_00E2'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 160, (Is_Empty => True)); end Initialize_160; -------------------- -- Initialize_161 -- -------------------- procedure Initialize_161 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 161, AMF.Internals.Tables.CMOF_String_Data_01.MS_01D9'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 161, (Is_Empty => True)); end Initialize_161; -------------------- -- Initialize_162 -- -------------------- procedure Initialize_162 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 162, AMF.Internals.Tables.CMOF_String_Data_01.MS_01F7'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 162, (Is_Empty => True)); end Initialize_162; -------------------- -- Initialize_163 -- -------------------- procedure Initialize_163 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 163, AMF.Internals.Tables.CMOF_String_Data_01.MS_010E'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 163, (Is_Empty => True)); end Initialize_163; -------------------- -- Initialize_164 -- -------------------- procedure Initialize_164 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 164, AMF.Internals.Tables.CMOF_String_Data_00.MS_0061'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 164, (Is_Empty => True)); end Initialize_164; -------------------- -- Initialize_165 -- -------------------- procedure Initialize_165 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 165, AMF.Internals.Tables.CMOF_String_Data_00.MS_002C'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 165, (Is_Empty => True)); end Initialize_165; -------------------- -- Initialize_166 -- -------------------- procedure Initialize_166 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 166, AMF.Internals.Tables.CMOF_String_Data_01.MS_01C7'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 166, (Is_Empty => True)); end Initialize_166; -------------------- -- Initialize_167 -- -------------------- procedure Initialize_167 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 167, AMF.Internals.Tables.CMOF_String_Data_00.MS_0055'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 167, (Is_Empty => True)); end Initialize_167; -------------------- -- Initialize_168 -- -------------------- procedure Initialize_168 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 168, AMF.Internals.Tables.CMOF_String_Data_01.MS_0106'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 168, (Is_Empty => True)); end Initialize_168; -------------------- -- Initialize_169 -- -------------------- procedure Initialize_169 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 169, AMF.Internals.Tables.CMOF_String_Data_00.MS_0033'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 169, (Is_Empty => True)); end Initialize_169; -------------------- -- Initialize_170 -- -------------------- procedure Initialize_170 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 170, AMF.Internals.Tables.CMOF_String_Data_00.MS_00ED'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 170, (Is_Empty => True)); end Initialize_170; -------------------- -- Initialize_171 -- -------------------- procedure Initialize_171 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 171, AMF.Internals.Tables.CMOF_String_Data_00.MS_0003'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 171, (Is_Empty => True)); end Initialize_171; -------------------- -- Initialize_172 -- -------------------- procedure Initialize_172 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 172, AMF.Internals.Tables.CMOF_String_Data_01.MS_0161'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 172, (Is_Empty => True)); end Initialize_172; -------------------- -- Initialize_173 -- -------------------- procedure Initialize_173 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 173, AMF.Internals.Tables.CMOF_String_Data_00.MS_002F'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 173, (Is_Empty => True)); end Initialize_173; -------------------- -- Initialize_174 -- -------------------- procedure Initialize_174 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 174, AMF.Internals.Tables.CMOF_String_Data_01.MS_01DB'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 174, (Is_Empty => True)); end Initialize_174; -------------------- -- Initialize_175 -- -------------------- procedure Initialize_175 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 175, AMF.Internals.Tables.CMOF_String_Data_00.MS_00A6'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 175, (Is_Empty => True)); end Initialize_175; -------------------- -- Initialize_176 -- -------------------- procedure Initialize_176 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 176, AMF.Internals.Tables.CMOF_String_Data_00.MS_00BE'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 176, (Is_Empty => True)); end Initialize_176; -------------------- -- Initialize_177 -- -------------------- procedure Initialize_177 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 177, AMF.Internals.Tables.CMOF_String_Data_01.MS_01CB'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 177, (Is_Empty => True)); end Initialize_177; -------------------- -- Initialize_178 -- -------------------- procedure Initialize_178 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 178, AMF.Internals.Tables.CMOF_String_Data_00.MS_0065'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 178, (Is_Empty => True)); end Initialize_178; -------------------- -- Initialize_179 -- -------------------- procedure Initialize_179 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 179, AMF.Internals.Tables.CMOF_String_Data_00.MS_00FA'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 179, (Is_Empty => True)); end Initialize_179; -------------------- -- Initialize_180 -- -------------------- procedure Initialize_180 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 180, AMF.Internals.Tables.CMOF_String_Data_00.MS_0034'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 180, (Is_Empty => True)); end Initialize_180; -------------------- -- Initialize_181 -- -------------------- procedure Initialize_181 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 181, AMF.Internals.Tables.CMOF_String_Data_00.MS_00C1'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 181, (Is_Empty => True)); end Initialize_181; -------------------- -- Initialize_182 -- -------------------- procedure Initialize_182 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 182, AMF.Internals.Tables.CMOF_String_Data_00.MS_0008'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 182, (Is_Empty => True)); end Initialize_182; -------------------- -- Initialize_183 -- -------------------- procedure Initialize_183 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 183, AMF.Internals.Tables.CMOF_String_Data_00.MS_005F'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 183, (Is_Empty => True)); end Initialize_183; -------------------- -- Initialize_184 -- -------------------- procedure Initialize_184 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 184, AMF.Internals.Tables.CMOF_String_Data_00.MS_007B'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 184, (Is_Empty => True)); end Initialize_184; -------------------- -- Initialize_185 -- -------------------- procedure Initialize_185 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 185, AMF.Internals.Tables.CMOF_String_Data_01.MS_0130'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 185, (Is_Empty => True)); end Initialize_185; -------------------- -- Initialize_186 -- -------------------- procedure Initialize_186 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 186, AMF.Internals.Tables.CMOF_String_Data_01.MS_0182'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 186, (Is_Empty => True)); end Initialize_186; -------------------- -- Initialize_187 -- -------------------- procedure Initialize_187 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 187, AMF.Internals.Tables.CMOF_String_Data_00.MS_0035'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 187, (Is_Empty => True)); end Initialize_187; -------------------- -- Initialize_188 -- -------------------- procedure Initialize_188 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 188, AMF.Internals.Tables.CMOF_String_Data_00.MS_00BA'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 188, (Is_Empty => True)); end Initialize_188; -------------------- -- Initialize_189 -- -------------------- procedure Initialize_189 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 189, AMF.Internals.Tables.CMOF_String_Data_01.MS_014C'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Uri (Base + 189, AMF.Internals.Tables.CMOF_String_Data_00.MS_006F'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 189, (Is_Empty => True)); end Initialize_189; -------------------- -- Initialize_190 -- -------------------- procedure Initialize_190 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 190, AMF.Internals.Tables.CMOF_String_Data_01.MS_0173'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 190, (Is_Empty => True)); end Initialize_190; -------------------- -- Initialize_191 -- -------------------- procedure Initialize_191 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 191, AMF.Internals.Tables.CMOF_String_Data_01.MS_014D'Access); end Initialize_191; -------------------- -- Initialize_192 -- -------------------- procedure Initialize_192 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 192, AMF.Internals.Tables.CMOF_String_Data_01.MS_0165'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 192, (Is_Empty => True)); end Initialize_192; -------------------- -- Initialize_193 -- -------------------- procedure Initialize_193 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 193, AMF.Internals.Tables.CMOF_String_Data_00.MS_008C'Access); end Initialize_193; -------------------- -- Initialize_194 -- -------------------- procedure Initialize_194 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 194, AMF.Internals.Tables.CMOF_String_Data_00.MS_0040'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 194, (Is_Empty => True)); end Initialize_194; -------------------- -- Initialize_195 -- -------------------- procedure Initialize_195 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 195, AMF.Internals.Tables.CMOF_String_Data_00.MS_00CC'Access); end Initialize_195; -------------------- -- Initialize_196 -- -------------------- procedure Initialize_196 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 196, AMF.Internals.Tables.CMOF_String_Data_01.MS_01D5'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 196, (Is_Empty => True)); end Initialize_196; -------------------- -- Initialize_197 -- -------------------- procedure Initialize_197 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 197, AMF.Internals.Tables.CMOF_String_Data_01.MS_0116'Access); end Initialize_197; -------------------- -- Initialize_198 -- -------------------- procedure Initialize_198 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 198, AMF.Internals.Tables.CMOF_String_Data_00.MS_009A'Access); end Initialize_198; -------------------- -- Initialize_199 -- -------------------- procedure Initialize_199 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 199, AMF.Internals.Tables.CMOF_String_Data_01.MS_01FF'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 199, (Is_Empty => True)); end Initialize_199; -------------------- -- Initialize_200 -- -------------------- procedure Initialize_200 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 200, AMF.Internals.Tables.CMOF_String_Data_01.MS_0188'Access); end Initialize_200; -------------------- -- Initialize_201 -- -------------------- procedure Initialize_201 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 201, (Is_Empty => True)); end Initialize_201; -------------------- -- Initialize_202 -- -------------------- procedure Initialize_202 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 202, AMF.Internals.Tables.CMOF_String_Data_01.MS_0100'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 202, (Is_Empty => True)); end Initialize_202; -------------------- -- Initialize_203 -- -------------------- procedure Initialize_203 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 203, AMF.Internals.Tables.CMOF_String_Data_01.MS_01D6'Access); end Initialize_203; -------------------- -- Initialize_204 -- -------------------- procedure Initialize_204 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 204, (Is_Empty => True)); end Initialize_204; -------------------- -- Initialize_205 -- -------------------- procedure Initialize_205 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 205, AMF.Internals.Tables.CMOF_String_Data_01.MS_01EC'Access); end Initialize_205; -------------------- -- Initialize_206 -- -------------------- procedure Initialize_206 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 206, AMF.Internals.Tables.CMOF_String_Data_01.MS_0131'Access); end Initialize_206; -------------------- -- Initialize_207 -- -------------------- procedure Initialize_207 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 207, AMF.Internals.Tables.CMOF_String_Data_00.MS_0018'Access); end Initialize_207; -------------------- -- Initialize_208 -- -------------------- procedure Initialize_208 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 208, AMF.Internals.Tables.CMOF_String_Data_00.MS_003A'Access); end Initialize_208; -------------------- -- Initialize_209 -- -------------------- procedure Initialize_209 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 209, AMF.Internals.Tables.CMOF_String_Data_01.MS_013A'Access); end Initialize_209; -------------------- -- Initialize_210 -- -------------------- procedure Initialize_210 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Query (Base + 210, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 210, AMF.Internals.Tables.CMOF_String_Data_01.MS_014B'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 210, (Is_Empty => True)); end Initialize_210; -------------------- -- Initialize_211 -- -------------------- procedure Initialize_211 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 211, AMF.Internals.Tables.CMOF_String_Data_01.MS_01F8'Access); end Initialize_211; -------------------- -- Initialize_212 -- -------------------- procedure Initialize_212 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 212, AMF.Internals.Tables.CMOF_String_Data_00.MS_0085'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 212, (Is_Empty => True)); end Initialize_212; -------------------- -- Initialize_213 -- -------------------- procedure Initialize_213 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 213, (Is_Empty => True)); end Initialize_213; -------------------- -- Initialize_214 -- -------------------- procedure Initialize_214 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Direction (Base + 214, AMF.CMOF.Return_Parameter); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 214, (Is_Empty => True)); end Initialize_214; -------------------- -- Initialize_215 -- -------------------- procedure Initialize_215 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Direction (Base + 215, AMF.CMOF.In_Parameter); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 215, AMF.Internals.Tables.CMOF_String_Data_01.MS_0112'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 215, (Is_Empty => True)); end Initialize_215; -------------------- -- Initialize_216 -- -------------------- procedure Initialize_216 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Query (Base + 216, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 216, AMF.Internals.Tables.CMOF_String_Data_00.MS_00DC'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 216, (Is_Empty => True)); end Initialize_216; -------------------- -- Initialize_217 -- -------------------- procedure Initialize_217 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 217, AMF.Internals.Tables.CMOF_String_Data_00.MS_0070'Access); end Initialize_217; -------------------- -- Initialize_218 -- -------------------- procedure Initialize_218 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 218, AMF.Internals.Tables.CMOF_String_Data_00.MS_0085'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 218, (Is_Empty => True)); end Initialize_218; -------------------- -- Initialize_219 -- -------------------- procedure Initialize_219 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 219, (Is_Empty => True)); end Initialize_219; -------------------- -- Initialize_220 -- -------------------- procedure Initialize_220 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Direction (Base + 220, AMF.CMOF.Return_Parameter); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 220, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Upper (Base + 220, (False, (Unlimited => True))); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 220, (Is_Empty => True)); end Initialize_220; -------------------- -- Initialize_221 -- -------------------- procedure Initialize_221 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Query (Base + 221, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 221, AMF.Internals.Tables.CMOF_String_Data_00.MS_0095'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 221, (Is_Empty => True)); end Initialize_221; -------------------- -- Initialize_222 -- -------------------- procedure Initialize_222 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 222, AMF.Internals.Tables.CMOF_String_Data_00.MS_0005'Access); end Initialize_222; -------------------- -- Initialize_223 -- -------------------- procedure Initialize_223 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 223, AMF.Internals.Tables.CMOF_String_Data_00.MS_0085'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 223, (Is_Empty => True)); end Initialize_223; -------------------- -- Initialize_224 -- -------------------- procedure Initialize_224 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 224, (Is_Empty => True)); end Initialize_224; -------------------- -- Initialize_225 -- -------------------- procedure Initialize_225 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Direction (Base + 225, AMF.CMOF.Return_Parameter); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 225, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Upper (Base + 225, (False, (Unlimited => True))); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 225, (Is_Empty => True)); end Initialize_225; -------------------- -- Initialize_226 -- -------------------- procedure Initialize_226 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Query (Base + 226, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 226, AMF.Internals.Tables.CMOF_String_Data_01.MS_01E3'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 226, (Is_Empty => True)); end Initialize_226; -------------------- -- Initialize_227 -- -------------------- procedure Initialize_227 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 227, AMF.Internals.Tables.CMOF_String_Data_00.MS_00D6'Access); end Initialize_227; -------------------- -- Initialize_228 -- -------------------- procedure Initialize_228 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 228, AMF.Internals.Tables.CMOF_String_Data_00.MS_0085'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 228, (Is_Empty => True)); end Initialize_228; -------------------- -- Initialize_229 -- -------------------- procedure Initialize_229 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 229, (Is_Empty => True)); end Initialize_229; -------------------- -- Initialize_230 -- -------------------- procedure Initialize_230 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Direction (Base + 230, AMF.CMOF.Return_Parameter); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 230, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Upper (Base + 230, (False, (Unlimited => True))); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 230, (Is_Empty => True)); end Initialize_230; -------------------- -- Initialize_231 -- -------------------- procedure Initialize_231 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Query (Base + 231, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 231, AMF.Internals.Tables.CMOF_String_Data_00.MS_00A2'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 231, (Is_Empty => True)); end Initialize_231; -------------------- -- Initialize_232 -- -------------------- procedure Initialize_232 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 232, AMF.Internals.Tables.CMOF_String_Data_01.MS_01AB'Access); end Initialize_232; -------------------- -- Initialize_233 -- -------------------- procedure Initialize_233 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 233, AMF.Internals.Tables.CMOF_String_Data_00.MS_0085'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 233, (Is_Empty => True)); end Initialize_233; -------------------- -- Initialize_234 -- -------------------- procedure Initialize_234 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 234, (Is_Empty => True)); end Initialize_234; -------------------- -- Initialize_235 -- -------------------- procedure Initialize_235 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Direction (Base + 235, AMF.CMOF.Return_Parameter); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 235, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Upper (Base + 235, (False, (Unlimited => True))); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 235, (Is_Empty => True)); end Initialize_235; -------------------- -- Initialize_236 -- -------------------- procedure Initialize_236 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Query (Base + 236, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 236, AMF.Internals.Tables.CMOF_String_Data_01.MS_0176'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 236, (Is_Empty => True)); end Initialize_236; -------------------- -- Initialize_237 -- -------------------- procedure Initialize_237 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 237, AMF.Internals.Tables.CMOF_String_Data_00.MS_0089'Access); end Initialize_237; -------------------- -- Initialize_238 -- -------------------- procedure Initialize_238 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 238, AMF.Internals.Tables.CMOF_String_Data_00.MS_0085'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 238, (Is_Empty => True)); end Initialize_238; -------------------- -- Initialize_239 -- -------------------- procedure Initialize_239 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 239, (Is_Empty => True)); end Initialize_239; -------------------- -- Initialize_240 -- -------------------- procedure Initialize_240 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Direction (Base + 240, AMF.CMOF.Return_Parameter); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 240, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Upper (Base + 240, (False, (Unlimited => True))); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 240, (Is_Empty => True)); end Initialize_240; -------------------- -- Initialize_241 -- -------------------- procedure Initialize_241 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Query (Base + 241, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 241, AMF.Internals.Tables.CMOF_String_Data_00.MS_0090'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 241, (Is_Empty => True)); end Initialize_241; -------------------- -- Initialize_242 -- -------------------- procedure Initialize_242 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 242, AMF.Internals.Tables.CMOF_String_Data_00.MS_007C'Access); end Initialize_242; -------------------- -- Initialize_243 -- -------------------- procedure Initialize_243 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 243, (Is_Empty => True)); end Initialize_243; -------------------- -- Initialize_244 -- -------------------- procedure Initialize_244 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 244, (Is_Empty => True)); end Initialize_244; -------------------- -- Initialize_245 -- -------------------- procedure Initialize_245 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 245, AMF.Internals.Tables.CMOF_String_Data_00.MS_0085'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 245, (Is_Empty => True)); end Initialize_245; -------------------- -- Initialize_246 -- -------------------- procedure Initialize_246 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 246, (Is_Empty => True)); end Initialize_246; -------------------- -- Initialize_247 -- -------------------- procedure Initialize_247 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Direction (Base + 247, AMF.CMOF.Return_Parameter); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 247, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Upper (Base + 247, (False, (Unlimited => True))); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 247, (Is_Empty => True)); end Initialize_247; -------------------- -- Initialize_248 -- -------------------- procedure Initialize_248 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Direction (Base + 248, AMF.CMOF.In_Parameter); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 248, AMF.Internals.Tables.CMOF_String_Data_01.MS_011D'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 248, (Is_Empty => True)); end Initialize_248; -------------------- -- Initialize_249 -- -------------------- procedure Initialize_249 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Query (Base + 249, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 249, AMF.Internals.Tables.CMOF_String_Data_00.MS_0093'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 249, (Is_Empty => True)); end Initialize_249; -------------------- -- Initialize_250 -- -------------------- procedure Initialize_250 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 250, AMF.Internals.Tables.CMOF_String_Data_01.MS_0160'Access); end Initialize_250; -------------------- -- Initialize_251 -- -------------------- procedure Initialize_251 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 251, (Is_Empty => True)); end Initialize_251; -------------------- -- Initialize_252 -- -------------------- procedure Initialize_252 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 252, (Is_Empty => True)); end Initialize_252; -------------------- -- Initialize_253 -- -------------------- procedure Initialize_253 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 253, AMF.Internals.Tables.CMOF_String_Data_00.MS_0085'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 253, (Is_Empty => True)); end Initialize_253; -------------------- -- Initialize_254 -- -------------------- procedure Initialize_254 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 254, (Is_Empty => True)); end Initialize_254; -------------------- -- Initialize_255 -- -------------------- procedure Initialize_255 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Direction (Base + 255, AMF.CMOF.Return_Parameter); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 255, (Is_Empty => True)); end Initialize_255; -------------------- -- Initialize_256 -- -------------------- procedure Initialize_256 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Direction (Base + 256, AMF.CMOF.In_Parameter); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 256, AMF.Internals.Tables.CMOF_String_Data_00.MS_001E'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 256, (Is_Empty => True)); end Initialize_256; -------------------- -- Initialize_257 -- -------------------- procedure Initialize_257 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Query (Base + 257, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 257, AMF.Internals.Tables.CMOF_String_Data_01.MS_014E'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 257, (Is_Empty => True)); end Initialize_257; -------------------- -- Initialize_258 -- -------------------- procedure Initialize_258 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 258, AMF.Internals.Tables.CMOF_String_Data_01.MS_016E'Access); end Initialize_258; -------------------- -- Initialize_259 -- -------------------- procedure Initialize_259 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 259, AMF.Internals.Tables.CMOF_String_Data_00.MS_0085'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 259, (Is_Empty => True)); end Initialize_259; -------------------- -- Initialize_260 -- -------------------- procedure Initialize_260 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 260, (Is_Empty => True)); end Initialize_260; -------------------- -- Initialize_261 -- -------------------- procedure Initialize_261 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Direction (Base + 261, AMF.CMOF.Return_Parameter); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 261, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Upper (Base + 261, (False, (Unlimited => True))); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 261, (Is_Empty => True)); end Initialize_261; -------------------- -- Initialize_262 -- -------------------- procedure Initialize_262 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Direction (Base + 262, AMF.CMOF.In_Parameter); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 262, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 262, AMF.Internals.Tables.CMOF_String_Data_01.MS_01CA'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Upper (Base + 262, (False, (Unlimited => True))); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 262, (Is_Empty => True)); end Initialize_262; -------------------- -- Initialize_263 -- -------------------- procedure Initialize_263 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Query (Base + 263, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 263, AMF.Internals.Tables.CMOF_String_Data_01.MS_0140'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 263, (Is_Empty => True)); end Initialize_263; -------------------- -- Initialize_264 -- -------------------- procedure Initialize_264 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 264, AMF.Internals.Tables.CMOF_String_Data_01.MS_0181'Access); end Initialize_264; -------------------- -- Initialize_265 -- -------------------- procedure Initialize_265 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 265, AMF.Internals.Tables.CMOF_String_Data_00.MS_0085'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 265, (Is_Empty => True)); end Initialize_265; -------------------- -- Initialize_266 -- -------------------- procedure Initialize_266 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 266, (Is_Empty => True)); end Initialize_266; -------------------- -- Initialize_267 -- -------------------- procedure Initialize_267 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Direction (Base + 267, AMF.CMOF.Return_Parameter); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 267, (Is_Empty => True)); end Initialize_267; -------------------- -- Initialize_268 -- -------------------- procedure Initialize_268 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Direction (Base + 268, AMF.CMOF.In_Parameter); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 268, AMF.Internals.Tables.CMOF_String_Data_01.MS_011D'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 268, (Is_Empty => True)); end Initialize_268; -------------------- -- Initialize_269 -- -------------------- procedure Initialize_269 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 269, AMF.Internals.Tables.CMOF_String_Data_01.MS_0139'Access); end Initialize_269; -------------------- -- Initialize_270 -- -------------------- procedure Initialize_270 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 270, AMF.Internals.Tables.CMOF_String_Data_01.MS_0141'Access); end Initialize_270; -------------------- -- Initialize_271 -- -------------------- procedure Initialize_271 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 271, AMF.Internals.Tables.CMOF_String_Data_00.MS_008B'Access); end Initialize_271; -------------------- -- Initialize_272 -- -------------------- procedure Initialize_272 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 272, AMF.Internals.Tables.CMOF_String_Data_00.MS_00D9'Access); end Initialize_272; -------------------- -- Initialize_273 -- -------------------- procedure Initialize_273 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 273, AMF.Internals.Tables.CMOF_String_Data_00.MS_00F9'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 273, (Is_Empty => True)); end Initialize_273; -------------------- -- Initialize_274 -- -------------------- procedure Initialize_274 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 274, AMF.Internals.Tables.CMOF_String_Data_01.MS_01C8'Access); end Initialize_274; -------------------- -- Initialize_275 -- -------------------- procedure Initialize_275 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 275, (Is_Empty => True)); end Initialize_275; -------------------- -- Initialize_276 -- -------------------- procedure Initialize_276 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 276, AMF.Internals.Tables.CMOF_String_Data_00.MS_0083'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 276, (Is_Empty => True)); end Initialize_276; -------------------- -- Initialize_277 -- -------------------- procedure Initialize_277 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 277, AMF.Internals.Tables.CMOF_String_Data_01.MS_01B3'Access); end Initialize_277; -------------------- -- Initialize_278 -- -------------------- procedure Initialize_278 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 278, (Is_Empty => True)); end Initialize_278; -------------------- -- Initialize_279 -- -------------------- procedure Initialize_279 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 279, AMF.Internals.Tables.CMOF_String_Data_01.MS_0153'Access); end Initialize_279; -------------------- -- Initialize_280 -- -------------------- procedure Initialize_280 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 280, AMF.Internals.Tables.CMOF_String_Data_00.MS_0038'Access); end Initialize_280; -------------------- -- Initialize_281 -- -------------------- procedure Initialize_281 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 281, AMF.Internals.Tables.CMOF_String_Data_01.MS_01BB'Access); end Initialize_281; -------------------- -- Initialize_282 -- -------------------- procedure Initialize_282 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Query (Base + 282, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 282, AMF.Internals.Tables.CMOF_String_Data_00.MS_0058'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 282, (Is_Empty => True)); end Initialize_282; -------------------- -- Initialize_283 -- -------------------- procedure Initialize_283 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 283, AMF.Internals.Tables.CMOF_String_Data_00.MS_007A'Access); end Initialize_283; -------------------- -- Initialize_284 -- -------------------- procedure Initialize_284 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 284, AMF.Internals.Tables.CMOF_String_Data_00.MS_0085'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 284, (Is_Empty => True)); end Initialize_284; -------------------- -- Initialize_285 -- -------------------- procedure Initialize_285 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 285, (Is_Empty => True)); end Initialize_285; -------------------- -- Initialize_286 -- -------------------- procedure Initialize_286 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Direction (Base + 286, AMF.CMOF.Return_Parameter); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 286, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Upper (Base + 286, (False, (Unlimited => True))); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 286, (Is_Empty => True)); end Initialize_286; -------------------- -- Initialize_287 -- -------------------- procedure Initialize_287 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Query (Base + 287, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 287, AMF.Internals.Tables.CMOF_String_Data_00.MS_003C'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 287, (Is_Empty => True)); end Initialize_287; -------------------- -- Initialize_288 -- -------------------- procedure Initialize_288 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 288, AMF.Internals.Tables.CMOF_String_Data_00.MS_0013'Access); end Initialize_288; -------------------- -- Initialize_289 -- -------------------- procedure Initialize_289 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 289, AMF.Internals.Tables.CMOF_String_Data_00.MS_0085'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 289, (Is_Empty => True)); end Initialize_289; -------------------- -- Initialize_290 -- -------------------- procedure Initialize_290 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 290, (Is_Empty => True)); end Initialize_290; -------------------- -- Initialize_291 -- -------------------- procedure Initialize_291 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Direction (Base + 291, AMF.CMOF.Return_Parameter); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 291, (Is_Empty => True)); end Initialize_291; -------------------- -- Initialize_292 -- -------------------- procedure Initialize_292 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 292, AMF.Internals.Tables.CMOF_String_Data_01.MS_019F'Access); end Initialize_292; -------------------- -- Initialize_293 -- -------------------- procedure Initialize_293 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 293, AMF.Internals.Tables.CMOF_String_Data_00.MS_00AD'Access); end Initialize_293; -------------------- -- Initialize_294 -- -------------------- procedure Initialize_294 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 294, AMF.Internals.Tables.CMOF_String_Data_01.MS_0109'Access); end Initialize_294; -------------------- -- Initialize_295 -- -------------------- procedure Initialize_295 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 295, AMF.Internals.Tables.CMOF_String_Data_01.MS_0115'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 295, (Is_Empty => True)); end Initialize_295; -------------------- -- Initialize_296 -- -------------------- procedure Initialize_296 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 296, AMF.Internals.Tables.CMOF_String_Data_00.MS_001C'Access); end Initialize_296; -------------------- -- Initialize_297 -- -------------------- procedure Initialize_297 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 297, (Is_Empty => True)); end Initialize_297; -------------------- -- Initialize_298 -- -------------------- procedure Initialize_298 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 298, AMF.Internals.Tables.CMOF_String_Data_00.MS_0042'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 298, (Is_Empty => True)); end Initialize_298; -------------------- -- Initialize_299 -- -------------------- procedure Initialize_299 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 299, AMF.Internals.Tables.CMOF_String_Data_00.MS_00D7'Access); end Initialize_299; -------------------- -- Initialize_300 -- -------------------- procedure Initialize_300 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 300, (Is_Empty => True)); end Initialize_300; -------------------- -- Initialize_301 -- -------------------- procedure Initialize_301 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 301, AMF.Internals.Tables.CMOF_String_Data_01.MS_0124'Access); end Initialize_301; -------------------- -- Initialize_302 -- -------------------- procedure Initialize_302 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 302, AMF.Internals.Tables.CMOF_String_Data_00.MS_00E9'Access); end Initialize_302; -------------------- -- Initialize_303 -- -------------------- procedure Initialize_303 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 303, AMF.Internals.Tables.CMOF_String_Data_00.MS_003E'Access); end Initialize_303; -------------------- -- Initialize_304 -- -------------------- procedure Initialize_304 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 304, AMF.Internals.Tables.CMOF_String_Data_01.MS_017D'Access); end Initialize_304; -------------------- -- Initialize_305 -- -------------------- procedure Initialize_305 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Query (Base + 305, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 305, AMF.Internals.Tables.CMOF_String_Data_01.MS_0101'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 305, (Is_Empty => True)); end Initialize_305; -------------------- -- Initialize_306 -- -------------------- procedure Initialize_306 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 306, AMF.Internals.Tables.CMOF_String_Data_00.MS_0011'Access); end Initialize_306; -------------------- -- Initialize_307 -- -------------------- procedure Initialize_307 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 307, (Is_Empty => True)); end Initialize_307; -------------------- -- Initialize_308 -- -------------------- procedure Initialize_308 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 308, (Is_Empty => True)); end Initialize_308; -------------------- -- Initialize_309 -- -------------------- procedure Initialize_309 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 309, AMF.Internals.Tables.CMOF_String_Data_00.MS_0085'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 309, (Is_Empty => True)); end Initialize_309; -------------------- -- Initialize_310 -- -------------------- procedure Initialize_310 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 310, (Is_Empty => True)); end Initialize_310; -------------------- -- Initialize_311 -- -------------------- procedure Initialize_311 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Direction (Base + 311, AMF.CMOF.Return_Parameter); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 311, (Is_Empty => True)); end Initialize_311; -------------------- -- Initialize_312 -- -------------------- procedure Initialize_312 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Query (Base + 312, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 312, AMF.Internals.Tables.CMOF_String_Data_00.MS_0002'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 312, (Is_Empty => True)); end Initialize_312; -------------------- -- Initialize_313 -- -------------------- procedure Initialize_313 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 313, AMF.Internals.Tables.CMOF_String_Data_01.MS_01F1'Access); end Initialize_313; -------------------- -- Initialize_314 -- -------------------- procedure Initialize_314 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 314, (Is_Empty => True)); end Initialize_314; -------------------- -- Initialize_315 -- -------------------- procedure Initialize_315 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 315, (Is_Empty => True)); end Initialize_315; -------------------- -- Initialize_316 -- -------------------- procedure Initialize_316 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 316, AMF.Internals.Tables.CMOF_String_Data_00.MS_0085'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 316, (Is_Empty => True)); end Initialize_316; -------------------- -- Initialize_317 -- -------------------- procedure Initialize_317 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 317, (Is_Empty => True)); end Initialize_317; -------------------- -- Initialize_318 -- -------------------- procedure Initialize_318 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Direction (Base + 318, AMF.CMOF.Return_Parameter); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 318, (Is_Empty => True)); end Initialize_318; -------------------- -- Initialize_319 -- -------------------- procedure Initialize_319 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Direction (Base + 319, AMF.CMOF.In_Parameter); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 319, AMF.Internals.Tables.CMOF_String_Data_01.MS_01B5'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 319, (Is_Empty => True)); end Initialize_319; -------------------- -- Initialize_320 -- -------------------- procedure Initialize_320 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Query (Base + 320, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 320, AMF.Internals.Tables.CMOF_String_Data_01.MS_0126'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 320, (Is_Empty => True)); end Initialize_320; -------------------- -- Initialize_321 -- -------------------- procedure Initialize_321 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 321, AMF.Internals.Tables.CMOF_String_Data_01.MS_0156'Access); end Initialize_321; -------------------- -- Initialize_322 -- -------------------- procedure Initialize_322 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 322, (Is_Empty => True)); end Initialize_322; -------------------- -- Initialize_323 -- -------------------- procedure Initialize_323 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 323, (Is_Empty => True)); end Initialize_323; -------------------- -- Initialize_324 -- -------------------- procedure Initialize_324 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 324, AMF.Internals.Tables.CMOF_String_Data_00.MS_0085'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 324, (Is_Empty => True)); end Initialize_324; -------------------- -- Initialize_325 -- -------------------- procedure Initialize_325 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 325, (Is_Empty => True)); end Initialize_325; -------------------- -- Initialize_326 -- -------------------- procedure Initialize_326 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Direction (Base + 326, AMF.CMOF.Return_Parameter); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 326, (Is_Empty => True)); end Initialize_326; -------------------- -- Initialize_327 -- -------------------- procedure Initialize_327 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Direction (Base + 327, AMF.CMOF.In_Parameter); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 327, AMF.Internals.Tables.CMOF_String_Data_00.MS_00C8'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 327, (Is_Empty => True)); end Initialize_327; -------------------- -- Initialize_328 -- -------------------- procedure Initialize_328 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Query (Base + 328, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 328, AMF.Internals.Tables.CMOF_String_Data_00.MS_00F3'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 328, (Is_Empty => True)); end Initialize_328; -------------------- -- Initialize_329 -- -------------------- procedure Initialize_329 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 329, AMF.Internals.Tables.CMOF_String_Data_00.MS_00BF'Access); end Initialize_329; -------------------- -- Initialize_330 -- -------------------- procedure Initialize_330 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 330, AMF.Internals.Tables.CMOF_String_Data_00.MS_0085'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 330, (Is_Empty => True)); end Initialize_330; -------------------- -- Initialize_331 -- -------------------- procedure Initialize_331 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 331, (Is_Empty => True)); end Initialize_331; -------------------- -- Initialize_332 -- -------------------- procedure Initialize_332 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Direction (Base + 332, AMF.CMOF.Return_Parameter); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 332, (Is_Empty => True)); end Initialize_332; -------------------- -- Initialize_333 -- -------------------- procedure Initialize_333 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Query (Base + 333, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 333, AMF.Internals.Tables.CMOF_String_Data_01.MS_0136'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 333, (Is_Empty => True)); end Initialize_333; -------------------- -- Initialize_334 -- -------------------- procedure Initialize_334 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 334, AMF.Internals.Tables.CMOF_String_Data_00.MS_00BC'Access); end Initialize_334; -------------------- -- Initialize_335 -- -------------------- procedure Initialize_335 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 335, AMF.Internals.Tables.CMOF_String_Data_00.MS_0085'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 335, (Is_Empty => True)); end Initialize_335; -------------------- -- Initialize_336 -- -------------------- procedure Initialize_336 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 336, (Is_Empty => True)); end Initialize_336; -------------------- -- Initialize_337 -- -------------------- procedure Initialize_337 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Direction (Base + 337, AMF.CMOF.Return_Parameter); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 337, (Is_Empty => True)); end Initialize_337; -------------------- -- Initialize_338 -- -------------------- procedure Initialize_338 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 338, AMF.Internals.Tables.CMOF_String_Data_01.MS_0129'Access); end Initialize_338; -------------------- -- Initialize_339 -- -------------------- procedure Initialize_339 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 339, AMF.Internals.Tables.CMOF_String_Data_01.MS_0189'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 339, (Is_Empty => True)); end Initialize_339; -------------------- -- Initialize_340 -- -------------------- procedure Initialize_340 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 340, AMF.Internals.Tables.CMOF_String_Data_01.MS_014A'Access); end Initialize_340; -------------------- -- Initialize_341 -- -------------------- procedure Initialize_341 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 341, (Is_Empty => True)); end Initialize_341; -------------------- -- Initialize_342 -- -------------------- procedure Initialize_342 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 342, AMF.Internals.Tables.CMOF_String_Data_01.MS_0103'Access); end Initialize_342; -------------------- -- Initialize_343 -- -------------------- procedure Initialize_343 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 343, AMF.Internals.Tables.CMOF_String_Data_01.MS_013D'Access); end Initialize_343; -------------------- -- Initialize_344 -- -------------------- procedure Initialize_344 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 344, AMF.Internals.Tables.CMOF_String_Data_00.MS_00F6'Access); end Initialize_344; -------------------- -- Initialize_345 -- -------------------- procedure Initialize_345 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 345, AMF.Internals.Tables.CMOF_String_Data_00.MS_00F0'Access); end Initialize_345; -------------------- -- Initialize_346 -- -------------------- procedure Initialize_346 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 346, AMF.Internals.Tables.CMOF_String_Data_01.MS_017E'Access); end Initialize_346; -------------------- -- Initialize_347 -- -------------------- procedure Initialize_347 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Query (Base + 347, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 347, AMF.Internals.Tables.CMOF_String_Data_01.MS_01D8'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 347, (Is_Empty => True)); end Initialize_347; -------------------- -- Initialize_348 -- -------------------- procedure Initialize_348 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 348, AMF.Internals.Tables.CMOF_String_Data_01.MS_01B0'Access); end Initialize_348; -------------------- -- Initialize_349 -- -------------------- procedure Initialize_349 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 349, AMF.Internals.Tables.CMOF_String_Data_00.MS_0085'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 349, (Is_Empty => True)); end Initialize_349; -------------------- -- Initialize_350 -- -------------------- procedure Initialize_350 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 350, (Is_Empty => True)); end Initialize_350; -------------------- -- Initialize_351 -- -------------------- procedure Initialize_351 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Direction (Base + 351, AMF.CMOF.Return_Parameter); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 351, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Upper (Base + 351, (False, (Unlimited => True))); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 351, (Is_Empty => True)); end Initialize_351; -------------------- -- Initialize_352 -- -------------------- procedure Initialize_352 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Query (Base + 352, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 352, AMF.Internals.Tables.CMOF_String_Data_01.MS_015C'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 352, (Is_Empty => True)); end Initialize_352; -------------------- -- Initialize_353 -- -------------------- procedure Initialize_353 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 353, AMF.Internals.Tables.CMOF_String_Data_01.MS_01E5'Access); end Initialize_353; -------------------- -- Initialize_354 -- -------------------- procedure Initialize_354 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 354, AMF.Internals.Tables.CMOF_String_Data_00.MS_0085'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 354, (Is_Empty => True)); end Initialize_354; -------------------- -- Initialize_355 -- -------------------- procedure Initialize_355 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 355, (Is_Empty => True)); end Initialize_355; -------------------- -- Initialize_356 -- -------------------- procedure Initialize_356 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Direction (Base + 356, AMF.CMOF.Return_Parameter); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 356, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Upper (Base + 356, (False, (Unlimited => True))); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 356, (Is_Empty => True)); end Initialize_356; -------------------- -- Initialize_357 -- -------------------- procedure Initialize_357 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Direction (Base + 357, AMF.CMOF.In_Parameter); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 357, AMF.Internals.Tables.CMOF_String_Data_01.MS_0104'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 357, (Is_Empty => True)); end Initialize_357; -------------------- -- Initialize_358 -- -------------------- procedure Initialize_358 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Query (Base + 358, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 358, AMF.Internals.Tables.CMOF_String_Data_01.MS_0167'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 358, (Is_Empty => True)); end Initialize_358; -------------------- -- Initialize_359 -- -------------------- procedure Initialize_359 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 359, AMF.Internals.Tables.CMOF_String_Data_00.MS_0096'Access); end Initialize_359; -------------------- -- Initialize_360 -- -------------------- procedure Initialize_360 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 360, AMF.Internals.Tables.CMOF_String_Data_00.MS_0085'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 360, (Is_Empty => True)); end Initialize_360; -------------------- -- Initialize_361 -- -------------------- procedure Initialize_361 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 361, (Is_Empty => True)); end Initialize_361; -------------------- -- Initialize_362 -- -------------------- procedure Initialize_362 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Direction (Base + 362, AMF.CMOF.Return_Parameter); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 362, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Upper (Base + 362, (False, (Unlimited => True))); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 362, (Is_Empty => True)); end Initialize_362; -------------------- -- Initialize_363 -- -------------------- procedure Initialize_363 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Direction (Base + 363, AMF.CMOF.In_Parameter); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 363, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 363, AMF.Internals.Tables.CMOF_String_Data_01.MS_012A'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Upper (Base + 363, (False, (Unlimited => True))); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 363, (Is_Empty => True)); end Initialize_363; -------------------- -- Initialize_364 -- -------------------- procedure Initialize_364 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Query (Base + 364, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 364, AMF.Internals.Tables.CMOF_String_Data_01.MS_011F'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 364, (Is_Empty => True)); end Initialize_364; -------------------- -- Initialize_365 -- -------------------- procedure Initialize_365 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 365, AMF.Internals.Tables.CMOF_String_Data_01.MS_01E1'Access); end Initialize_365; -------------------- -- Initialize_366 -- -------------------- procedure Initialize_366 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 366, AMF.Internals.Tables.CMOF_String_Data_00.MS_0085'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 366, (Is_Empty => True)); end Initialize_366; -------------------- -- Initialize_367 -- -------------------- procedure Initialize_367 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 367, (Is_Empty => True)); end Initialize_367; -------------------- -- Initialize_368 -- -------------------- procedure Initialize_368 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Direction (Base + 368, AMF.CMOF.Return_Parameter); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 368, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Upper (Base + 368, (False, (Unlimited => True))); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 368, (Is_Empty => True)); end Initialize_368; -------------------- -- Initialize_369 -- -------------------- procedure Initialize_369 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Direction (Base + 369, AMF.CMOF.In_Parameter); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 369, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 369, AMF.Internals.Tables.CMOF_String_Data_01.MS_012A'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Upper (Base + 369, (False, (Unlimited => True))); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 369, (Is_Empty => True)); end Initialize_369; -------------------- -- Initialize_370 -- -------------------- procedure Initialize_370 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Query (Base + 370, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 370, AMF.Internals.Tables.CMOF_String_Data_01.MS_01E6'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 370, (Is_Empty => True)); end Initialize_370; -------------------- -- Initialize_371 -- -------------------- procedure Initialize_371 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 371, AMF.Internals.Tables.CMOF_String_Data_01.MS_01A2'Access); end Initialize_371; -------------------- -- Initialize_372 -- -------------------- procedure Initialize_372 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 372, AMF.Internals.Tables.CMOF_String_Data_00.MS_0085'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 372, (Is_Empty => True)); end Initialize_372; -------------------- -- Initialize_373 -- -------------------- procedure Initialize_373 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 373, (Is_Empty => True)); end Initialize_373; -------------------- -- Initialize_374 -- -------------------- procedure Initialize_374 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Direction (Base + 374, AMF.CMOF.Return_Parameter); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 374, (Is_Empty => True)); end Initialize_374; -------------------- -- Initialize_375 -- -------------------- procedure Initialize_375 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 375, AMF.Internals.Tables.CMOF_String_Data_00.MS_0057'Access); end Initialize_375; -------------------- -- Initialize_376 -- -------------------- procedure Initialize_376 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 376, AMF.Internals.Tables.CMOF_String_Data_01.MS_0151'Access); end Initialize_376; -------------------- -- Initialize_377 -- -------------------- procedure Initialize_377 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 377, AMF.Internals.Tables.CMOF_String_Data_00.MS_005B'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 377, (Is_Empty => True)); end Initialize_377; -------------------- -- Initialize_378 -- -------------------- procedure Initialize_378 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 378, AMF.Internals.Tables.CMOF_String_Data_01.MS_010D'Access); end Initialize_378; -------------------- -- Initialize_379 -- -------------------- procedure Initialize_379 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 379, (Is_Empty => True)); end Initialize_379; -------------------- -- Initialize_380 -- -------------------- procedure Initialize_380 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 380, AMF.Internals.Tables.CMOF_String_Data_00.MS_007E'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 380, (Is_Empty => True)); end Initialize_380; -------------------- -- Initialize_381 -- -------------------- procedure Initialize_381 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 381, AMF.Internals.Tables.CMOF_String_Data_01.MS_01B9'Access); end Initialize_381; -------------------- -- Initialize_382 -- -------------------- procedure Initialize_382 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 382, (Is_Empty => True)); end Initialize_382; -------------------- -- Initialize_383 -- -------------------- procedure Initialize_383 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 383, AMF.Internals.Tables.CMOF_String_Data_01.MS_015E'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 383, (Is_Empty => True)); end Initialize_383; -------------------- -- Initialize_384 -- -------------------- procedure Initialize_384 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 384, AMF.Internals.Tables.CMOF_String_Data_00.MS_00D4'Access); end Initialize_384; -------------------- -- Initialize_385 -- -------------------- procedure Initialize_385 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 385, (Is_Empty => True)); end Initialize_385; -------------------- -- Initialize_386 -- -------------------- procedure Initialize_386 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 386, AMF.Internals.Tables.CMOF_String_Data_00.MS_005A'Access); end Initialize_386; -------------------- -- Initialize_387 -- -------------------- procedure Initialize_387 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 387, AMF.Internals.Tables.CMOF_String_Data_01.MS_0118'Access); end Initialize_387; -------------------- -- Initialize_388 -- -------------------- procedure Initialize_388 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 388, AMF.Internals.Tables.CMOF_String_Data_01.MS_0134'Access); end Initialize_388; -------------------- -- Initialize_389 -- -------------------- procedure Initialize_389 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Query (Base + 389, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 389, AMF.Internals.Tables.CMOF_String_Data_00.MS_001A'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 389, (Is_Empty => True)); end Initialize_389; -------------------- -- Initialize_390 -- -------------------- procedure Initialize_390 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 390, AMF.Internals.Tables.CMOF_String_Data_01.MS_01C3'Access); end Initialize_390; -------------------- -- Initialize_391 -- -------------------- procedure Initialize_391 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 391, AMF.Internals.Tables.CMOF_String_Data_00.MS_0085'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 391, (Is_Empty => True)); end Initialize_391; -------------------- -- Initialize_392 -- -------------------- procedure Initialize_392 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 392, (Is_Empty => True)); end Initialize_392; -------------------- -- Initialize_393 -- -------------------- procedure Initialize_393 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 393, (Is_Empty => True)); end Initialize_393; -------------------- -- Initialize_394 -- -------------------- procedure Initialize_394 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 394, (Is_Empty => True)); end Initialize_394; -------------------- -- Initialize_395 -- -------------------- procedure Initialize_395 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Direction (Base + 395, AMF.CMOF.Return_Parameter); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 395, (Is_Empty => True)); end Initialize_395; -------------------- -- Initialize_396 -- -------------------- procedure Initialize_396 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Direction (Base + 396, AMF.CMOF.In_Parameter); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 396, AMF.Internals.Tables.CMOF_String_Data_00.MS_000E'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 396, (Is_Empty => True)); end Initialize_396; -------------------- -- Initialize_397 -- -------------------- procedure Initialize_397 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Query (Base + 397, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 397, AMF.Internals.Tables.CMOF_String_Data_01.MS_01BD'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 397, (Is_Empty => True)); end Initialize_397; -------------------- -- Initialize_398 -- -------------------- procedure Initialize_398 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 398, AMF.Internals.Tables.CMOF_String_Data_01.MS_01B8'Access); end Initialize_398; -------------------- -- Initialize_399 -- -------------------- procedure Initialize_399 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 399, AMF.Internals.Tables.CMOF_String_Data_00.MS_0085'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 399, (Is_Empty => True)); end Initialize_399; -------------------- -- Initialize_400 -- -------------------- procedure Initialize_400 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 400, (Is_Empty => True)); end Initialize_400; -------------------- -- Initialize_401 -- -------------------- procedure Initialize_401 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Direction (Base + 401, AMF.CMOF.Return_Parameter); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 401, (Is_Empty => True)); end Initialize_401; -------------------- -- Initialize_402 -- -------------------- procedure Initialize_402 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Direction (Base + 402, AMF.CMOF.In_Parameter); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 402, AMF.Internals.Tables.CMOF_String_Data_00.MS_0099'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 402, (Is_Empty => True)); end Initialize_402; -------------------- -- Initialize_403 -- -------------------- procedure Initialize_403 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 403, AMF.Internals.Tables.CMOF_String_Data_01.MS_01C2'Access); end Initialize_403; -------------------- -- Initialize_404 -- -------------------- procedure Initialize_404 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 404, AMF.Internals.Tables.CMOF_String_Data_00.MS_0066'Access); end Initialize_404; -------------------- -- Initialize_405 -- -------------------- procedure Initialize_405 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 405, AMF.Internals.Tables.CMOF_String_Data_01.MS_012F'Access); end Initialize_405; -------------------- -- Initialize_406 -- -------------------- procedure Initialize_406 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 406, AMF.Internals.Tables.CMOF_String_Data_01.MS_018E'Access); end Initialize_406; -------------------- -- Initialize_407 -- -------------------- procedure Initialize_407 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 407, AMF.Internals.Tables.CMOF_String_Data_00.MS_008E'Access); end Initialize_407; -------------------- -- Initialize_408 -- -------------------- procedure Initialize_408 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 408, AMF.Internals.Tables.CMOF_String_Data_00.MS_0078'Access); end Initialize_408; -------------------- -- Initialize_409 -- -------------------- procedure Initialize_409 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Query (Base + 409, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 409, AMF.Internals.Tables.CMOF_String_Data_00.MS_00B4'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 409, (Is_Empty => True)); end Initialize_409; -------------------- -- Initialize_410 -- -------------------- procedure Initialize_410 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 410, AMF.Internals.Tables.CMOF_String_Data_00.MS_00C3'Access); end Initialize_410; -------------------- -- Initialize_411 -- -------------------- procedure Initialize_411 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 411, AMF.Internals.Tables.CMOF_String_Data_00.MS_0085'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 411, (Is_Empty => True)); end Initialize_411; -------------------- -- Initialize_412 -- -------------------- procedure Initialize_412 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 412, (Is_Empty => True)); end Initialize_412; -------------------- -- Initialize_413 -- -------------------- procedure Initialize_413 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Direction (Base + 413, AMF.CMOF.Return_Parameter); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 413, (Is_Empty => True)); end Initialize_413; -------------------- -- Initialize_414 -- -------------------- procedure Initialize_414 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Query (Base + 414, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 414, AMF.Internals.Tables.CMOF_String_Data_01.MS_0145'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 414, (Is_Empty => True)); end Initialize_414; -------------------- -- Initialize_415 -- -------------------- procedure Initialize_415 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 415, AMF.Internals.Tables.CMOF_String_Data_00.MS_0064'Access); end Initialize_415; -------------------- -- Initialize_416 -- -------------------- procedure Initialize_416 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 416, AMF.Internals.Tables.CMOF_String_Data_00.MS_0085'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 416, (Is_Empty => True)); end Initialize_416; -------------------- -- Initialize_417 -- -------------------- procedure Initialize_417 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 417, (Is_Empty => True)); end Initialize_417; -------------------- -- Initialize_418 -- -------------------- procedure Initialize_418 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Direction (Base + 418, AMF.CMOF.Return_Parameter); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 418, (Is_Empty => True)); end Initialize_418; -------------------- -- Initialize_419 -- -------------------- procedure Initialize_419 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Query (Base + 419, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 419, AMF.Internals.Tables.CMOF_String_Data_00.MS_0092'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 419, (Is_Empty => True)); end Initialize_419; -------------------- -- Initialize_420 -- -------------------- procedure Initialize_420 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 420, AMF.Internals.Tables.CMOF_String_Data_01.MS_013E'Access); end Initialize_420; -------------------- -- Initialize_421 -- -------------------- procedure Initialize_421 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 421, AMF.Internals.Tables.CMOF_String_Data_00.MS_0085'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 421, (Is_Empty => True)); end Initialize_421; -------------------- -- Initialize_422 -- -------------------- procedure Initialize_422 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 422, (Is_Empty => True)); end Initialize_422; -------------------- -- Initialize_423 -- -------------------- procedure Initialize_423 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Direction (Base + 423, AMF.CMOF.Return_Parameter); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 423, (Is_Empty => True)); end Initialize_423; -------------------- -- Initialize_424 -- -------------------- procedure Initialize_424 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Query (Base + 424, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 424, AMF.Internals.Tables.CMOF_String_Data_00.MS_00B6'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 424, (Is_Empty => True)); end Initialize_424; -------------------- -- Initialize_425 -- -------------------- procedure Initialize_425 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 425, AMF.Internals.Tables.CMOF_String_Data_00.MS_005D'Access); end Initialize_425; -------------------- -- Initialize_426 -- -------------------- procedure Initialize_426 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 426, AMF.Internals.Tables.CMOF_String_Data_00.MS_0085'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 426, (Is_Empty => True)); end Initialize_426; -------------------- -- Initialize_427 -- -------------------- procedure Initialize_427 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 427, (Is_Empty => True)); end Initialize_427; -------------------- -- Initialize_428 -- -------------------- procedure Initialize_428 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Direction (Base + 428, AMF.CMOF.Return_Parameter); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 428, (Is_Empty => True)); end Initialize_428; -------------------- -- Initialize_429 -- -------------------- procedure Initialize_429 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Query (Base + 429, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 429, AMF.Internals.Tables.CMOF_String_Data_00.MS_0030'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 429, (Is_Empty => True)); end Initialize_429; -------------------- -- Initialize_430 -- -------------------- procedure Initialize_430 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 430, AMF.Internals.Tables.CMOF_String_Data_00.MS_0043'Access); end Initialize_430; -------------------- -- Initialize_431 -- -------------------- procedure Initialize_431 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 431, AMF.Internals.Tables.CMOF_String_Data_00.MS_0085'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 431, (Is_Empty => True)); end Initialize_431; -------------------- -- Initialize_432 -- -------------------- procedure Initialize_432 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 432, (Is_Empty => True)); end Initialize_432; -------------------- -- Initialize_433 -- -------------------- procedure Initialize_433 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Direction (Base + 433, AMF.CMOF.Return_Parameter); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 433, (Is_Empty => True)); end Initialize_433; -------------------- -- Initialize_434 -- -------------------- procedure Initialize_434 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Query (Base + 434, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 434, AMF.Internals.Tables.CMOF_String_Data_01.MS_0184'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 434, (Is_Empty => True)); end Initialize_434; -------------------- -- Initialize_435 -- -------------------- procedure Initialize_435 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 435, AMF.Internals.Tables.CMOF_String_Data_00.MS_0094'Access); end Initialize_435; -------------------- -- Initialize_436 -- -------------------- procedure Initialize_436 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 436, AMF.Internals.Tables.CMOF_String_Data_00.MS_0085'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 436, (Is_Empty => True)); end Initialize_436; -------------------- -- Initialize_437 -- -------------------- procedure Initialize_437 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 437, (Is_Empty => True)); end Initialize_437; -------------------- -- Initialize_438 -- -------------------- procedure Initialize_438 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Direction (Base + 438, AMF.CMOF.Return_Parameter); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 438, (Is_Empty => True)); end Initialize_438; -------------------- -- Initialize_439 -- -------------------- procedure Initialize_439 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 439, AMF.Internals.Tables.CMOF_String_Data_00.MS_0046'Access); end Initialize_439; -------------------- -- Initialize_440 -- -------------------- procedure Initialize_440 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 440, AMF.Internals.Tables.CMOF_String_Data_00.MS_0004'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 440, (Is_Empty => True)); end Initialize_440; -------------------- -- Initialize_441 -- -------------------- procedure Initialize_441 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 441, AMF.Internals.Tables.CMOF_String_Data_01.MS_01B7'Access); end Initialize_441; -------------------- -- Initialize_442 -- -------------------- procedure Initialize_442 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 442, (Is_Empty => True)); end Initialize_442; -------------------- -- Initialize_443 -- -------------------- procedure Initialize_443 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 443, AMF.Internals.Tables.CMOF_String_Data_00.MS_002E'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 443, (Is_Empty => True)); end Initialize_443; -------------------- -- Initialize_444 -- -------------------- procedure Initialize_444 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 444, AMF.Internals.Tables.CMOF_String_Data_01.MS_01BF'Access); end Initialize_444; -------------------- -- Initialize_445 -- -------------------- procedure Initialize_445 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 445, (Is_Empty => True)); end Initialize_445; -------------------- -- Initialize_446 -- -------------------- procedure Initialize_446 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 446, AMF.Internals.Tables.CMOF_String_Data_00.MS_0017'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 446, (Is_Empty => True)); end Initialize_446; -------------------- -- Initialize_447 -- -------------------- procedure Initialize_447 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 447, AMF.Internals.Tables.CMOF_String_Data_00.MS_00C7'Access); end Initialize_447; -------------------- -- Initialize_448 -- -------------------- procedure Initialize_448 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 448, (Is_Empty => True)); end Initialize_448; -------------------- -- Initialize_449 -- -------------------- procedure Initialize_449 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 449, AMF.Internals.Tables.CMOF_String_Data_01.MS_01F6'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 449, (Is_Empty => True)); end Initialize_449; -------------------- -- Initialize_450 -- -------------------- procedure Initialize_450 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 450, AMF.Internals.Tables.CMOF_String_Data_01.MS_019A'Access); end Initialize_450; -------------------- -- Initialize_451 -- -------------------- procedure Initialize_451 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 451, (Is_Empty => True)); end Initialize_451; -------------------- -- Initialize_452 -- -------------------- procedure Initialize_452 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 452, AMF.Internals.Tables.CMOF_String_Data_00.MS_001D'Access); end Initialize_452; -------------------- -- Initialize_453 -- -------------------- procedure Initialize_453 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 453, AMF.Internals.Tables.CMOF_String_Data_01.MS_0133'Access); end Initialize_453; -------------------- -- Initialize_454 -- -------------------- procedure Initialize_454 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 454, AMF.Internals.Tables.CMOF_String_Data_00.MS_00EA'Access); end Initialize_454; -------------------- -- Initialize_455 -- -------------------- procedure Initialize_455 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 455, AMF.Internals.Tables.CMOF_String_Data_01.MS_01F2'Access); end Initialize_455; -------------------- -- Initialize_456 -- -------------------- procedure Initialize_456 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 456, AMF.Internals.Tables.CMOF_String_Data_01.MS_016F'Access); end Initialize_456; -------------------- -- Initialize_457 -- -------------------- procedure Initialize_457 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Query (Base + 457, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 457, AMF.Internals.Tables.CMOF_String_Data_01.MS_016B'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 457, (Is_Empty => True)); end Initialize_457; -------------------- -- Initialize_458 -- -------------------- procedure Initialize_458 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 458, AMF.Internals.Tables.CMOF_String_Data_01.MS_0193'Access); end Initialize_458; -------------------- -- Initialize_459 -- -------------------- procedure Initialize_459 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 459, AMF.Internals.Tables.CMOF_String_Data_00.MS_0085'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 459, (Is_Empty => True)); end Initialize_459; -------------------- -- Initialize_460 -- -------------------- procedure Initialize_460 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 460, (Is_Empty => True)); end Initialize_460; -------------------- -- Initialize_461 -- -------------------- procedure Initialize_461 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Direction (Base + 461, AMF.CMOF.Return_Parameter); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Ordered (Base + 461, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 461, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Upper (Base + 461, (False, (Unlimited => True))); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 461, (Is_Empty => True)); end Initialize_461; -------------------- -- Initialize_462 -- -------------------- procedure Initialize_462 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 462, AMF.Internals.Tables.CMOF_String_Data_01.MS_01AE'Access); end Initialize_462; -------------------- -- Initialize_463 -- -------------------- procedure Initialize_463 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 463, AMF.Internals.Tables.CMOF_String_Data_00.MS_0044'Access); end Initialize_463; -------------------- -- Initialize_464 -- -------------------- procedure Initialize_464 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 464, AMF.Internals.Tables.CMOF_String_Data_01.MS_019B'Access); end Initialize_464; -------------------- -- Initialize_465 -- -------------------- procedure Initialize_465 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 465, AMF.Internals.Tables.CMOF_String_Data_01.MS_01DA'Access); end Initialize_465; -------------------- -- Initialize_466 -- -------------------- procedure Initialize_466 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 466, AMF.Internals.Tables.CMOF_String_Data_00.MS_0073'Access); end Initialize_466; -------------------- -- Initialize_467 -- -------------------- procedure Initialize_467 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Query (Base + 467, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 467, AMF.Internals.Tables.CMOF_String_Data_01.MS_014E'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 467, (Is_Empty => True)); end Initialize_467; -------------------- -- Initialize_468 -- -------------------- procedure Initialize_468 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 468, AMF.Internals.Tables.CMOF_String_Data_01.MS_016E'Access); end Initialize_468; -------------------- -- Initialize_469 -- -------------------- procedure Initialize_469 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 469, AMF.Internals.Tables.CMOF_String_Data_00.MS_0085'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 469, (Is_Empty => True)); end Initialize_469; -------------------- -- Initialize_470 -- -------------------- procedure Initialize_470 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 470, (Is_Empty => True)); end Initialize_470; -------------------- -- Initialize_471 -- -------------------- procedure Initialize_471 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Direction (Base + 471, AMF.CMOF.Return_Parameter); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 471, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Upper (Base + 471, (False, (Unlimited => True))); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 471, (Is_Empty => True)); end Initialize_471; -------------------- -- Initialize_472 -- -------------------- procedure Initialize_472 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Direction (Base + 472, AMF.CMOF.In_Parameter); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 472, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 472, AMF.Internals.Tables.CMOF_String_Data_01.MS_01CA'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Upper (Base + 472, (False, (Unlimited => True))); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 472, (Is_Empty => True)); end Initialize_472; -------------------- -- Initialize_473 -- -------------------- procedure Initialize_473 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 473, AMF.Internals.Tables.CMOF_String_Data_00.MS_0069'Access); end Initialize_473; -------------------- -- Initialize_474 -- -------------------- procedure Initialize_474 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 474, AMF.Internals.Tables.CMOF_String_Data_01.MS_0128'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 474, (Is_Empty => True)); end Initialize_474; -------------------- -- Initialize_475 -- -------------------- procedure Initialize_475 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 475, AMF.Internals.Tables.CMOF_String_Data_01.MS_0146'Access); end Initialize_475; -------------------- -- Initialize_476 -- -------------------- procedure Initialize_476 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 476, (Is_Empty => True)); end Initialize_476; -------------------- -- Initialize_477 -- -------------------- procedure Initialize_477 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 477, AMF.Internals.Tables.CMOF_String_Data_00.MS_00A4'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 477, (Is_Empty => True)); end Initialize_477; -------------------- -- Initialize_478 -- -------------------- procedure Initialize_478 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 478, AMF.Internals.Tables.CMOF_String_Data_00.MS_0025'Access); end Initialize_478; -------------------- -- Initialize_479 -- -------------------- procedure Initialize_479 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 479, (Is_Empty => True)); end Initialize_479; -------------------- -- Initialize_480 -- -------------------- procedure Initialize_480 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 480, AMF.Internals.Tables.CMOF_String_Data_00.MS_006E'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 480, (Is_Empty => True)); end Initialize_480; -------------------- -- Initialize_481 -- -------------------- procedure Initialize_481 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 481, AMF.Internals.Tables.CMOF_String_Data_00.MS_00EF'Access); end Initialize_481; -------------------- -- Initialize_482 -- -------------------- procedure Initialize_482 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 482, (Is_Empty => True)); end Initialize_482; -------------------- -- Initialize_483 -- -------------------- procedure Initialize_483 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 483, AMF.Internals.Tables.CMOF_String_Data_00.MS_00EC'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 483, (Is_Empty => True)); end Initialize_483; -------------------- -- Initialize_484 -- -------------------- procedure Initialize_484 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 484, AMF.Internals.Tables.CMOF_String_Data_00.MS_0023'Access); end Initialize_484; -------------------- -- Initialize_485 -- -------------------- procedure Initialize_485 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 485, (Is_Empty => True)); end Initialize_485; -------------------- -- Initialize_486 -- -------------------- procedure Initialize_486 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 486, AMF.Internals.Tables.CMOF_String_Data_00.MS_00AC'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 486, (Is_Empty => True)); end Initialize_486; -------------------- -- Initialize_487 -- -------------------- procedure Initialize_487 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 487, AMF.Internals.Tables.CMOF_String_Data_01.MS_01AC'Access); end Initialize_487; -------------------- -- Initialize_488 -- -------------------- procedure Initialize_488 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 488, (Is_Empty => True)); end Initialize_488; -------------------- -- Initialize_489 -- -------------------- procedure Initialize_489 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 489, AMF.Internals.Tables.CMOF_String_Data_00.MS_006C'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 489, (Is_Empty => True)); end Initialize_489; -------------------- -- Initialize_490 -- -------------------- procedure Initialize_490 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 490, AMF.Internals.Tables.CMOF_String_Data_01.MS_0125'Access); end Initialize_490; -------------------- -- Initialize_491 -- -------------------- procedure Initialize_491 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 491, (Is_Empty => True)); end Initialize_491; -------------------- -- Initialize_492 -- -------------------- procedure Initialize_492 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 492, AMF.Internals.Tables.CMOF_String_Data_00.MS_009B'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 492, (Is_Empty => True)); end Initialize_492; -------------------- -- Initialize_493 -- -------------------- procedure Initialize_493 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 493, AMF.Internals.Tables.CMOF_String_Data_00.MS_0091'Access); end Initialize_493; -------------------- -- Initialize_494 -- -------------------- procedure Initialize_494 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 494, (Is_Empty => True)); end Initialize_494; -------------------- -- Initialize_495 -- -------------------- procedure Initialize_495 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 495, AMF.Internals.Tables.CMOF_String_Data_01.MS_0157'Access); end Initialize_495; -------------------- -- Initialize_496 -- -------------------- procedure Initialize_496 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 496, AMF.Internals.Tables.CMOF_String_Data_00.MS_000C'Access); end Initialize_496; -------------------- -- Initialize_497 -- -------------------- procedure Initialize_497 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 497, AMF.Internals.Tables.CMOF_String_Data_00.MS_00DD'Access); end Initialize_497; -------------------- -- Initialize_498 -- -------------------- procedure Initialize_498 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 498, AMF.Internals.Tables.CMOF_String_Data_00.MS_00B2'Access); end Initialize_498; -------------------- -- Initialize_499 -- -------------------- procedure Initialize_499 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 499, AMF.Internals.Tables.CMOF_String_Data_00.MS_005C'Access); end Initialize_499; -------------------- -- Initialize_500 -- -------------------- procedure Initialize_500 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 500, AMF.Internals.Tables.CMOF_String_Data_00.MS_00F2'Access); end Initialize_500; -------------------- -- Initialize_501 -- -------------------- procedure Initialize_501 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 501, AMF.Internals.Tables.CMOF_String_Data_01.MS_01EB'Access); end Initialize_501; -------------------- -- Initialize_502 -- -------------------- procedure Initialize_502 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 502, AMF.Internals.Tables.CMOF_String_Data_00.MS_00B0'Access); end Initialize_502; -------------------- -- Initialize_503 -- -------------------- procedure Initialize_503 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 503, AMF.Internals.Tables.CMOF_String_Data_01.MS_0186'Access); end Initialize_503; -------------------- -- Initialize_504 -- -------------------- procedure Initialize_504 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 504, AMF.Internals.Tables.CMOF_String_Data_01.MS_01F0'Access); end Initialize_504; -------------------- -- Initialize_505 -- -------------------- procedure Initialize_505 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 505, AMF.Internals.Tables.CMOF_String_Data_00.MS_00C9'Access); end Initialize_505; -------------------- -- Initialize_506 -- -------------------- procedure Initialize_506 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 506, AMF.Internals.Tables.CMOF_String_Data_01.MS_01E2'Access); end Initialize_506; -------------------- -- Initialize_507 -- -------------------- procedure Initialize_507 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Query (Base + 507, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 507, AMF.Internals.Tables.CMOF_String_Data_00.MS_009F'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 507, (Is_Empty => True)); end Initialize_507; -------------------- -- Initialize_508 -- -------------------- procedure Initialize_508 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 508, AMF.Internals.Tables.CMOF_String_Data_00.MS_0014'Access); end Initialize_508; -------------------- -- Initialize_509 -- -------------------- procedure Initialize_509 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 509, AMF.Internals.Tables.CMOF_String_Data_00.MS_0085'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 509, (Is_Empty => True)); end Initialize_509; -------------------- -- Initialize_510 -- -------------------- procedure Initialize_510 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 510, (Is_Empty => True)); end Initialize_510; -------------------- -- Initialize_511 -- -------------------- procedure Initialize_511 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Direction (Base + 511, AMF.CMOF.Return_Parameter); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 511, (Is_Empty => True)); end Initialize_511; -------------------- -- Initialize_512 -- -------------------- procedure Initialize_512 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Query (Base + 512, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 512, AMF.Internals.Tables.CMOF_String_Data_00.MS_001A'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 512, (Is_Empty => True)); end Initialize_512; -------------------- -- Initialize_513 -- -------------------- procedure Initialize_513 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 513, AMF.Internals.Tables.CMOF_String_Data_01.MS_0119'Access); end Initialize_513; -------------------- -- Initialize_514 -- -------------------- procedure Initialize_514 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 514, (Is_Empty => True)); end Initialize_514; -------------------- -- Initialize_515 -- -------------------- procedure Initialize_515 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 515, (Is_Empty => True)); end Initialize_515; -------------------- -- Initialize_516 -- -------------------- procedure Initialize_516 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 516, AMF.Internals.Tables.CMOF_String_Data_00.MS_0085'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 516, (Is_Empty => True)); end Initialize_516; -------------------- -- Initialize_517 -- -------------------- procedure Initialize_517 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 517, (Is_Empty => True)); end Initialize_517; -------------------- -- Initialize_518 -- -------------------- procedure Initialize_518 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Direction (Base + 518, AMF.CMOF.Return_Parameter); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 518, (Is_Empty => True)); end Initialize_518; -------------------- -- Initialize_519 -- -------------------- procedure Initialize_519 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Direction (Base + 519, AMF.CMOF.In_Parameter); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 519, AMF.Internals.Tables.CMOF_String_Data_00.MS_000E'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 519, (Is_Empty => True)); end Initialize_519; -------------------- -- Initialize_520 -- -------------------- procedure Initialize_520 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Query (Base + 520, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 520, AMF.Internals.Tables.CMOF_String_Data_01.MS_016A'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 520, (Is_Empty => True)); end Initialize_520; -------------------- -- Initialize_521 -- -------------------- procedure Initialize_521 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 521, AMF.Internals.Tables.CMOF_String_Data_01.MS_015D'Access); end Initialize_521; -------------------- -- Initialize_522 -- -------------------- procedure Initialize_522 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 522, AMF.Internals.Tables.CMOF_String_Data_00.MS_0085'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 522, (Is_Empty => True)); end Initialize_522; -------------------- -- Initialize_523 -- -------------------- procedure Initialize_523 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 523, (Is_Empty => True)); end Initialize_523; -------------------- -- Initialize_524 -- -------------------- procedure Initialize_524 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Direction (Base + 524, AMF.CMOF.Return_Parameter); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 524, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Upper (Base + 524, (False, (Unlimited => True))); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 524, (Is_Empty => True)); end Initialize_524; -------------------- -- Initialize_525 -- -------------------- procedure Initialize_525 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Query (Base + 525, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 525, AMF.Internals.Tables.CMOF_String_Data_01.MS_0123'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 525, (Is_Empty => True)); end Initialize_525; -------------------- -- Initialize_526 -- -------------------- procedure Initialize_526 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 526, AMF.Internals.Tables.CMOF_String_Data_00.MS_004E'Access); end Initialize_526; -------------------- -- Initialize_527 -- -------------------- procedure Initialize_527 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 527, AMF.Internals.Tables.CMOF_String_Data_00.MS_0085'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 527, (Is_Empty => True)); end Initialize_527; -------------------- -- Initialize_528 -- -------------------- procedure Initialize_528 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 528, (Is_Empty => True)); end Initialize_528; -------------------- -- Initialize_529 -- -------------------- procedure Initialize_529 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Direction (Base + 529, AMF.CMOF.Return_Parameter); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 529, (Is_Empty => True)); end Initialize_529; -------------------- -- Initialize_530 -- -------------------- procedure Initialize_530 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Query (Base + 530, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 530, AMF.Internals.Tables.CMOF_String_Data_01.MS_0143'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 530, (Is_Empty => True)); end Initialize_530; -------------------- -- Initialize_531 -- -------------------- procedure Initialize_531 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 531, AMF.Internals.Tables.CMOF_String_Data_01.MS_0107'Access); end Initialize_531; -------------------- -- Initialize_532 -- -------------------- procedure Initialize_532 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 532, AMF.Internals.Tables.CMOF_String_Data_00.MS_0085'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 532, (Is_Empty => True)); end Initialize_532; -------------------- -- Initialize_533 -- -------------------- procedure Initialize_533 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 533, (Is_Empty => True)); end Initialize_533; -------------------- -- Initialize_534 -- -------------------- procedure Initialize_534 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Direction (Base + 534, AMF.CMOF.Return_Parameter); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 534, (Is_Empty => True)); end Initialize_534; -------------------- -- Initialize_535 -- -------------------- procedure Initialize_535 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Direction (Base + 535, AMF.CMOF.In_Parameter); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 535, AMF.Internals.Tables.CMOF_String_Data_00.MS_004C'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 535, (Is_Empty => True)); end Initialize_535; -------------------- -- Initialize_536 -- -------------------- procedure Initialize_536 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 536, AMF.Internals.Tables.CMOF_String_Data_00.MS_003D'Access); end Initialize_536; -------------------- -- Initialize_537 -- -------------------- procedure Initialize_537 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 537, AMF.Internals.Tables.CMOF_String_Data_00.MS_0016'Access); end Initialize_537; -------------------- -- Initialize_538 -- -------------------- procedure Initialize_538 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 538, AMF.Internals.Tables.CMOF_String_Data_00.MS_0039'Access); end Initialize_538; -------------------- -- Initialize_539 -- -------------------- procedure Initialize_539 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Query (Base + 539, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 539, AMF.Internals.Tables.CMOF_String_Data_01.MS_014E'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 539, (Is_Empty => True)); end Initialize_539; -------------------- -- Initialize_540 -- -------------------- procedure Initialize_540 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 540, AMF.Internals.Tables.CMOF_String_Data_01.MS_016E'Access); end Initialize_540; -------------------- -- Initialize_541 -- -------------------- procedure Initialize_541 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 541, AMF.Internals.Tables.CMOF_String_Data_00.MS_0085'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 541, (Is_Empty => True)); end Initialize_541; -------------------- -- Initialize_542 -- -------------------- procedure Initialize_542 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 542, (Is_Empty => True)); end Initialize_542; -------------------- -- Initialize_543 -- -------------------- procedure Initialize_543 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Direction (Base + 543, AMF.CMOF.Return_Parameter); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 543, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Upper (Base + 543, (False, (Unlimited => True))); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 543, (Is_Empty => True)); end Initialize_543; -------------------- -- Initialize_544 -- -------------------- procedure Initialize_544 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Direction (Base + 544, AMF.CMOF.In_Parameter); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 544, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 544, AMF.Internals.Tables.CMOF_String_Data_01.MS_01CA'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Upper (Base + 544, (False, (Unlimited => True))); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 544, (Is_Empty => True)); end Initialize_544; -------------------- -- Initialize_545 -- -------------------- procedure Initialize_545 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 545, AMF.Internals.Tables.CMOF_String_Data_01.MS_01C9'Access); end Initialize_545; -------------------- -- Initialize_546 -- -------------------- procedure Initialize_546 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 546, AMF.Internals.Tables.CMOF_String_Data_00.MS_0086'Access); end Initialize_546; -------------------- -- Initialize_547 -- -------------------- procedure Initialize_547 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 547, AMF.Internals.Tables.CMOF_String_Data_00.MS_00F7'Access); end Initialize_547; -------------------- -- Initialize_548 -- -------------------- procedure Initialize_548 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 548, AMF.Internals.Tables.CMOF_String_Data_01.MS_0191'Access); end Initialize_548; -------------------- -- Initialize_549 -- -------------------- procedure Initialize_549 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 549, AMF.Internals.Tables.CMOF_String_Data_00.MS_004F'Access); end Initialize_549; -------------------- -- Initialize_550 -- -------------------- procedure Initialize_550 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 550, AMF.Internals.Tables.CMOF_String_Data_00.MS_0080'Access); end Initialize_550; -------------------- -- Initialize_551 -- -------------------- procedure Initialize_551 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 551, AMF.Internals.Tables.CMOF_String_Data_00.MS_00CB'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 551, (Is_Empty => True)); end Initialize_551; -------------------- -- Initialize_552 -- -------------------- procedure Initialize_552 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 552, AMF.Internals.Tables.CMOF_String_Data_01.MS_0127'Access); end Initialize_552; -------------------- -- Initialize_553 -- -------------------- procedure Initialize_553 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 553, (Is_Empty => True)); end Initialize_553; -------------------- -- Initialize_554 -- -------------------- procedure Initialize_554 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 554, AMF.Internals.Tables.CMOF_String_Data_00.MS_001B'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 554, (Is_Empty => True)); end Initialize_554; -------------------- -- Initialize_555 -- -------------------- procedure Initialize_555 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 555, AMF.Internals.Tables.CMOF_String_Data_01.MS_01ED'Access); end Initialize_555; -------------------- -- Initialize_556 -- -------------------- procedure Initialize_556 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 556, (Is_Empty => True)); end Initialize_556; -------------------- -- Initialize_557 -- -------------------- procedure Initialize_557 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 557, AMF.Internals.Tables.CMOF_String_Data_00.MS_0063'Access); end Initialize_557; -------------------- -- Initialize_558 -- -------------------- procedure Initialize_558 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 558, AMF.Internals.Tables.CMOF_String_Data_00.MS_00FF'Access); end Initialize_558; -------------------- -- Initialize_559 -- -------------------- procedure Initialize_559 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 559, AMF.Internals.Tables.CMOF_String_Data_00.MS_00E7'Access); end Initialize_559; -------------------- -- Initialize_560 -- -------------------- procedure Initialize_560 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 560, AMF.Internals.Tables.CMOF_String_Data_00.MS_00C6'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 560, (Is_Empty => True)); end Initialize_560; -------------------- -- Initialize_561 -- -------------------- procedure Initialize_561 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 561, AMF.Internals.Tables.CMOF_String_Data_00.MS_003F'Access); end Initialize_561; -------------------- -- Initialize_562 -- -------------------- procedure Initialize_562 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 562, (Is_Empty => True)); end Initialize_562; -------------------- -- Initialize_563 -- -------------------- procedure Initialize_563 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 563, AMF.Internals.Tables.CMOF_String_Data_01.MS_0155'Access); end Initialize_563; -------------------- -- Initialize_564 -- -------------------- procedure Initialize_564 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 564, AMF.Internals.Tables.CMOF_String_Data_01.MS_01FC'Access); end Initialize_564; -------------------- -- Initialize_565 -- -------------------- procedure Initialize_565 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 565, AMF.Internals.Tables.CMOF_String_Data_01.MS_01CE'Access); end Initialize_565; -------------------- -- Initialize_566 -- -------------------- procedure Initialize_566 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 566, AMF.Internals.Tables.CMOF_String_Data_01.MS_01B6'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 566, (Is_Empty => True)); end Initialize_566; -------------------- -- Initialize_567 -- -------------------- procedure Initialize_567 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 567, AMF.Internals.Tables.CMOF_String_Data_00.MS_00F4'Access); end Initialize_567; -------------------- -- Initialize_568 -- -------------------- procedure Initialize_568 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 568, (Is_Empty => True)); end Initialize_568; -------------------- -- Initialize_569 -- -------------------- procedure Initialize_569 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 569, AMF.Internals.Tables.CMOF_String_Data_01.MS_018D'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 569, (Is_Empty => True)); end Initialize_569; -------------------- -- Initialize_570 -- -------------------- procedure Initialize_570 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 570, AMF.Internals.Tables.CMOF_String_Data_00.MS_0031'Access); end Initialize_570; -------------------- -- Initialize_571 -- -------------------- procedure Initialize_571 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 571, (Is_Empty => True)); end Initialize_571; -------------------- -- Initialize_572 -- -------------------- procedure Initialize_572 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 572, AMF.Internals.Tables.CMOF_String_Data_00.MS_0036'Access); end Initialize_572; -------------------- -- Initialize_573 -- -------------------- procedure Initialize_573 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 573, AMF.Internals.Tables.CMOF_String_Data_00.MS_008E'Access); end Initialize_573; -------------------- -- Initialize_574 -- -------------------- procedure Initialize_574 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 574, AMF.Internals.Tables.CMOF_String_Data_00.MS_008E'Access); end Initialize_574; -------------------- -- Initialize_575 -- -------------------- procedure Initialize_575 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 575, AMF.Internals.Tables.CMOF_String_Data_00.MS_008E'Access); end Initialize_575; -------------------- -- Initialize_576 -- -------------------- procedure Initialize_576 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 576, AMF.Internals.Tables.CMOF_String_Data_00.MS_008E'Access); end Initialize_576; -------------------- -- Initialize_577 -- -------------------- procedure Initialize_577 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 577, AMF.Internals.Tables.CMOF_String_Data_00.MS_0037'Access); end Initialize_577; -------------------- -- Initialize_578 -- -------------------- procedure Initialize_578 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 578, AMF.Internals.Tables.CMOF_String_Data_00.MS_001F'Access); end Initialize_578; -------------------- -- Initialize_579 -- -------------------- procedure Initialize_579 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 579, AMF.Internals.Tables.CMOF_String_Data_00.MS_0081'Access); end Initialize_579; -------------------- -- Initialize_580 -- -------------------- procedure Initialize_580 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 580, AMF.Internals.Tables.CMOF_String_Data_00.MS_0053'Access); end Initialize_580; -------------------- -- Initialize_581 -- -------------------- procedure Initialize_581 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 581, AMF.Internals.Tables.CMOF_String_Data_00.MS_008E'Access); end Initialize_581; -------------------- -- Initialize_582 -- -------------------- procedure Initialize_582 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 582, AMF.Internals.Tables.CMOF_String_Data_00.MS_00F5'Access); end Initialize_582; -------------------- -- Initialize_583 -- -------------------- procedure Initialize_583 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Query (Base + 583, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 583, AMF.Internals.Tables.CMOF_String_Data_01.MS_0113'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 583, (Is_Empty => True)); end Initialize_583; -------------------- -- Initialize_584 -- -------------------- procedure Initialize_584 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 584, AMF.Internals.Tables.CMOF_String_Data_00.MS_0012'Access); end Initialize_584; -------------------- -- Initialize_585 -- -------------------- procedure Initialize_585 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 585, AMF.Internals.Tables.CMOF_String_Data_00.MS_0085'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 585, (Is_Empty => True)); end Initialize_585; -------------------- -- Initialize_586 -- -------------------- procedure Initialize_586 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 586, (Is_Empty => True)); end Initialize_586; -------------------- -- Initialize_587 -- -------------------- procedure Initialize_587 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Direction (Base + 587, AMF.CMOF.Return_Parameter); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 587, (Is_Empty => True)); end Initialize_587; -------------------- -- Initialize_588 -- -------------------- procedure Initialize_588 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Query (Base + 588, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 588, AMF.Internals.Tables.CMOF_String_Data_01.MS_0178'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 588, (Is_Empty => True)); end Initialize_588; -------------------- -- Initialize_589 -- -------------------- procedure Initialize_589 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 589, AMF.Internals.Tables.CMOF_String_Data_00.MS_00A9'Access); end Initialize_589; -------------------- -- Initialize_590 -- -------------------- procedure Initialize_590 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 590, AMF.Internals.Tables.CMOF_String_Data_00.MS_0085'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 590, (Is_Empty => True)); end Initialize_590; -------------------- -- Initialize_591 -- -------------------- procedure Initialize_591 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 591, (Is_Empty => True)); end Initialize_591; -------------------- -- Initialize_592 -- -------------------- procedure Initialize_592 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Direction (Base + 592, AMF.CMOF.Return_Parameter); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 592, (Is_Empty => True)); end Initialize_592; -------------------- -- Initialize_593 -- -------------------- procedure Initialize_593 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Query (Base + 593, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 593, AMF.Internals.Tables.CMOF_String_Data_00.MS_000F'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 593, (Is_Empty => True)); end Initialize_593; -------------------- -- Initialize_594 -- -------------------- procedure Initialize_594 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 594, AMF.Internals.Tables.CMOF_String_Data_00.MS_00D1'Access); end Initialize_594; -------------------- -- Initialize_595 -- -------------------- procedure Initialize_595 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 595, AMF.Internals.Tables.CMOF_String_Data_00.MS_0085'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 595, (Is_Empty => True)); end Initialize_595; -------------------- -- Initialize_596 -- -------------------- procedure Initialize_596 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 596, (Is_Empty => True)); end Initialize_596; -------------------- -- Initialize_597 -- -------------------- procedure Initialize_597 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Direction (Base + 597, AMF.CMOF.Return_Parameter); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 597, (Is_Empty => True)); end Initialize_597; -------------------- -- Initialize_598 -- -------------------- procedure Initialize_598 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Query (Base + 598, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 598, AMF.Internals.Tables.CMOF_String_Data_00.MS_00F1'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 598, (Is_Empty => True)); end Initialize_598; -------------------- -- Initialize_599 -- -------------------- procedure Initialize_599 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 599, AMF.Internals.Tables.CMOF_String_Data_01.MS_015F'Access); end Initialize_599; -------------------- -- Initialize_600 -- -------------------- procedure Initialize_600 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 600, AMF.Internals.Tables.CMOF_String_Data_00.MS_0085'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 600, (Is_Empty => True)); end Initialize_600; -------------------- -- Initialize_601 -- -------------------- procedure Initialize_601 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 601, (Is_Empty => True)); end Initialize_601; -------------------- -- Initialize_602 -- -------------------- procedure Initialize_602 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Direction (Base + 602, AMF.CMOF.Return_Parameter); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 602, (Is_Empty => True)); end Initialize_602; -------------------- -- Initialize_603 -- -------------------- procedure Initialize_603 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Query (Base + 603, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 603, AMF.Internals.Tables.CMOF_String_Data_01.MS_0196'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 603, (Is_Empty => True)); end Initialize_603; -------------------- -- Initialize_604 -- -------------------- procedure Initialize_604 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 604, AMF.Internals.Tables.CMOF_String_Data_01.MS_01E0'Access); end Initialize_604; -------------------- -- Initialize_605 -- -------------------- procedure Initialize_605 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 605, AMF.Internals.Tables.CMOF_String_Data_00.MS_0085'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 605, (Is_Empty => True)); end Initialize_605; -------------------- -- Initialize_606 -- -------------------- procedure Initialize_606 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 606, (Is_Empty => True)); end Initialize_606; -------------------- -- Initialize_607 -- -------------------- procedure Initialize_607 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Direction (Base + 607, AMF.CMOF.Return_Parameter); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 607, (Is_Empty => True)); end Initialize_607; -------------------- -- Initialize_608 -- -------------------- procedure Initialize_608 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Query (Base + 608, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 608, AMF.Internals.Tables.CMOF_String_Data_00.MS_001A'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 608, (Is_Empty => True)); end Initialize_608; -------------------- -- Initialize_609 -- -------------------- procedure Initialize_609 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 609, AMF.Internals.Tables.CMOF_String_Data_00.MS_00D2'Access); end Initialize_609; -------------------- -- Initialize_610 -- -------------------- procedure Initialize_610 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 610, (Is_Empty => True)); end Initialize_610; -------------------- -- Initialize_611 -- -------------------- procedure Initialize_611 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 611, (Is_Empty => True)); end Initialize_611; -------------------- -- Initialize_612 -- -------------------- procedure Initialize_612 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 612, AMF.Internals.Tables.CMOF_String_Data_00.MS_0085'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 612, (Is_Empty => True)); end Initialize_612; -------------------- -- Initialize_613 -- -------------------- procedure Initialize_613 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 613, (Is_Empty => True)); end Initialize_613; -------------------- -- Initialize_614 -- -------------------- procedure Initialize_614 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Direction (Base + 614, AMF.CMOF.Return_Parameter); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 614, (Is_Empty => True)); end Initialize_614; -------------------- -- Initialize_615 -- -------------------- procedure Initialize_615 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Direction (Base + 615, AMF.CMOF.In_Parameter); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 615, AMF.Internals.Tables.CMOF_String_Data_00.MS_000E'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 615, (Is_Empty => True)); end Initialize_615; -------------------- -- Initialize_616 -- -------------------- procedure Initialize_616 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Query (Base + 616, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 616, AMF.Internals.Tables.CMOF_String_Data_01.MS_01B2'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 616, (Is_Empty => True)); end Initialize_616; -------------------- -- Initialize_617 -- -------------------- procedure Initialize_617 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 617, AMF.Internals.Tables.CMOF_String_Data_00.MS_0085'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 617, (Is_Empty => True)); end Initialize_617; -------------------- -- Initialize_618 -- -------------------- procedure Initialize_618 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 618, (Is_Empty => True)); end Initialize_618; -------------------- -- Initialize_619 -- -------------------- procedure Initialize_619 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Direction (Base + 619, AMF.CMOF.Return_Parameter); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 619, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Upper (Base + 619, (False, (Unlimited => True))); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 619, (Is_Empty => True)); end Initialize_619; -------------------- -- Initialize_620 -- -------------------- procedure Initialize_620 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 620, AMF.Internals.Tables.CMOF_String_Data_01.MS_017B'Access); end Initialize_620; -------------------- -- Initialize_621 -- -------------------- procedure Initialize_621 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 621, AMF.Internals.Tables.CMOF_String_Data_00.MS_00BB'Access); end Initialize_621; -------------------- -- Initialize_622 -- -------------------- procedure Initialize_622 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 622, AMF.Internals.Tables.CMOF_String_Data_00.MS_0026'Access); end Initialize_622; -------------------- -- Initialize_623 -- -------------------- procedure Initialize_623 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 623, AMF.Internals.Tables.CMOF_String_Data_00.MS_0097'Access); end Initialize_623; -------------------- -- Initialize_624 -- -------------------- procedure Initialize_624 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 624, AMF.Internals.Tables.CMOF_String_Data_00.MS_00B1'Access); end Initialize_624; -------------------- -- Initialize_625 -- -------------------- procedure Initialize_625 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 625, AMF.Internals.Tables.CMOF_String_Data_00.MS_00F5'Access); end Initialize_625; -------------------- -- Initialize_626 -- -------------------- procedure Initialize_626 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 626, AMF.Internals.Tables.CMOF_String_Data_01.MS_01E4'Access); end Initialize_626; -------------------- -- Initialize_627 -- -------------------- procedure Initialize_627 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Query (Base + 627, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 627, AMF.Internals.Tables.CMOF_String_Data_00.MS_002A'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 627, (Is_Empty => True)); end Initialize_627; -------------------- -- Initialize_628 -- -------------------- procedure Initialize_628 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 628, AMF.Internals.Tables.CMOF_String_Data_00.MS_0024'Access); end Initialize_628; -------------------- -- Initialize_629 -- -------------------- procedure Initialize_629 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 629, AMF.Internals.Tables.CMOF_String_Data_00.MS_0085'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 629, (Is_Empty => True)); end Initialize_629; -------------------- -- Initialize_630 -- -------------------- procedure Initialize_630 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 630, (Is_Empty => True)); end Initialize_630; -------------------- -- Initialize_631 -- -------------------- procedure Initialize_631 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Direction (Base + 631, AMF.CMOF.Return_Parameter); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 631, (Is_Empty => True)); end Initialize_631; -------------------- -- Initialize_632 -- -------------------- procedure Initialize_632 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Direction (Base + 632, AMF.CMOF.In_Parameter); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 632, AMF.Internals.Tables.CMOF_String_Data_00.MS_001E'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 632, (Is_Empty => True)); end Initialize_632; -------------------- -- Initialize_633 -- -------------------- procedure Initialize_633 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Direction (Base + 633, AMF.CMOF.In_Parameter); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 633, AMF.Internals.Tables.CMOF_String_Data_00.MS_004D'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 633, (Is_Empty => True)); end Initialize_633; -------------------- -- Initialize_634 -- -------------------- procedure Initialize_634 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 634, AMF.Internals.Tables.CMOF_String_Data_00.MS_00AF'Access); end Initialize_634; -------------------- -- Initialize_635 -- -------------------- procedure Initialize_635 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 635, AMF.Internals.Tables.CMOF_String_Data_00.MS_0045'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 635, (Is_Empty => True)); end Initialize_635; -------------------- -- Initialize_636 -- -------------------- procedure Initialize_636 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 636, AMF.Internals.Tables.CMOF_String_Data_00.MS_00DB'Access); end Initialize_636; -------------------- -- Initialize_637 -- -------------------- procedure Initialize_637 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 637, (Is_Empty => True)); end Initialize_637; -------------------- -- Initialize_638 -- -------------------- procedure Initialize_638 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 638, AMF.Internals.Tables.CMOF_String_Data_01.MS_01D2'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 638, (Is_Empty => True)); end Initialize_638; -------------------- -- Initialize_639 -- -------------------- procedure Initialize_639 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 639, AMF.Internals.Tables.CMOF_String_Data_01.MS_01A6'Access); end Initialize_639; -------------------- -- Initialize_640 -- -------------------- procedure Initialize_640 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 640, (Is_Empty => True)); end Initialize_640; -------------------- -- Initialize_641 -- -------------------- procedure Initialize_641 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 641, AMF.Internals.Tables.CMOF_String_Data_01.MS_01D1'Access); end Initialize_641; -------------------- -- Initialize_642 -- -------------------- procedure Initialize_642 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 642, AMF.Internals.Tables.CMOF_String_Data_00.MS_00CA'Access); end Initialize_642; -------------------- -- Initialize_643 -- -------------------- procedure Initialize_643 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 643, AMF.Internals.Tables.CMOF_String_Data_00.MS_0007'Access); end Initialize_643; -------------------- -- Initialize_644 -- -------------------- procedure Initialize_644 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 644, AMF.Internals.Tables.CMOF_String_Data_01.MS_01B1'Access); end Initialize_644; -------------------- -- Initialize_645 -- -------------------- procedure Initialize_645 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Query (Base + 645, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 645, AMF.Internals.Tables.CMOF_String_Data_00.MS_00D3'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 645, (Is_Empty => True)); end Initialize_645; -------------------- -- Initialize_646 -- -------------------- procedure Initialize_646 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 646, AMF.Internals.Tables.CMOF_String_Data_01.MS_018C'Access); end Initialize_646; -------------------- -- Initialize_647 -- -------------------- procedure Initialize_647 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 647, AMF.Internals.Tables.CMOF_String_Data_00.MS_0085'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 647, (Is_Empty => True)); end Initialize_647; -------------------- -- Initialize_648 -- -------------------- procedure Initialize_648 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 648, (Is_Empty => True)); end Initialize_648; -------------------- -- Initialize_649 -- -------------------- procedure Initialize_649 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Direction (Base + 649, AMF.CMOF.Return_Parameter); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 649, (Is_Empty => True)); end Initialize_649; -------------------- -- Initialize_650 -- -------------------- procedure Initialize_650 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 650, AMF.Internals.Tables.CMOF_String_Data_01.MS_0132'Access); end Initialize_650; -------------------- -- Initialize_651 -- -------------------- procedure Initialize_651 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 651, AMF.Internals.Tables.CMOF_String_Data_00.MS_00A8'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 651, (Is_Empty => True)); end Initialize_651; -------------------- -- Initialize_652 -- -------------------- procedure Initialize_652 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 652, AMF.Internals.Tables.CMOF_String_Data_01.MS_0177'Access); end Initialize_652; -------------------- -- Initialize_653 -- -------------------- procedure Initialize_653 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 653, (Is_Empty => True)); end Initialize_653; -------------------- -- Initialize_654 -- -------------------- procedure Initialize_654 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 654, AMF.Internals.Tables.CMOF_String_Data_00.MS_00E1'Access); end Initialize_654; -------------------- -- Initialize_655 -- -------------------- procedure Initialize_655 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 655, AMF.Internals.Tables.CMOF_String_Data_01.MS_01D4'Access); end Initialize_655; -------------------- -- Initialize_656 -- -------------------- procedure Initialize_656 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 656, AMF.Internals.Tables.CMOF_String_Data_00.MS_00E5'Access); end Initialize_656; -------------------- -- Initialize_657 -- -------------------- procedure Initialize_657 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 657, AMF.Internals.Tables.CMOF_String_Data_01.MS_0183'Access); end Initialize_657; -------------------- -- Initialize_658 -- -------------------- procedure Initialize_658 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 658, AMF.Internals.Tables.CMOF_String_Data_00.MS_00AB'Access); end Initialize_658; -------------------- -- Initialize_659 -- -------------------- procedure Initialize_659 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 659, AMF.Internals.Tables.CMOF_String_Data_01.MS_0171'Access); end Initialize_659; -------------------- -- Initialize_660 -- -------------------- procedure Initialize_660 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Query (Base + 660, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 660, AMF.Internals.Tables.CMOF_String_Data_00.MS_003C'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 660, (Is_Empty => True)); end Initialize_660; -------------------- -- Initialize_661 -- -------------------- procedure Initialize_661 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 661, AMF.Internals.Tables.CMOF_String_Data_00.MS_0047'Access); end Initialize_661; -------------------- -- Initialize_662 -- -------------------- procedure Initialize_662 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 662, AMF.Internals.Tables.CMOF_String_Data_00.MS_0085'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 662, (Is_Empty => True)); end Initialize_662; -------------------- -- Initialize_663 -- -------------------- procedure Initialize_663 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 663, (Is_Empty => True)); end Initialize_663; -------------------- -- Initialize_664 -- -------------------- procedure Initialize_664 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Direction (Base + 664, AMF.CMOF.Return_Parameter); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 664, (Is_Empty => True)); end Initialize_664; -------------------- -- Initialize_665 -- -------------------- procedure Initialize_665 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Query (Base + 665, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 665, AMF.Internals.Tables.CMOF_String_Data_01.MS_011B'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 665, (Is_Empty => True)); end Initialize_665; -------------------- -- Initialize_666 -- -------------------- procedure Initialize_666 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 666, AMF.Internals.Tables.CMOF_String_Data_01.MS_013C'Access); end Initialize_666; -------------------- -- Initialize_667 -- -------------------- procedure Initialize_667 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 667, AMF.Internals.Tables.CMOF_String_Data_00.MS_0085'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 667, (Is_Empty => True)); end Initialize_667; -------------------- -- Initialize_668 -- -------------------- procedure Initialize_668 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 668, (Is_Empty => True)); end Initialize_668; -------------------- -- Initialize_669 -- -------------------- procedure Initialize_669 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Direction (Base + 669, AMF.CMOF.Return_Parameter); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 669, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Upper (Base + 669, (False, (Unlimited => True))); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 669, (Is_Empty => True)); end Initialize_669; -------------------- -- Initialize_670 -- -------------------- procedure Initialize_670 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Query (Base + 670, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 670, AMF.Internals.Tables.CMOF_String_Data_01.MS_01A0'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 670, (Is_Empty => True)); end Initialize_670; -------------------- -- Initialize_671 -- -------------------- procedure Initialize_671 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 671, AMF.Internals.Tables.CMOF_String_Data_01.MS_01F4'Access); end Initialize_671; -------------------- -- Initialize_672 -- -------------------- procedure Initialize_672 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 672, (Is_Empty => True)); end Initialize_672; -------------------- -- Initialize_673 -- -------------------- procedure Initialize_673 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 673, (Is_Empty => True)); end Initialize_673; -------------------- -- Initialize_674 -- -------------------- procedure Initialize_674 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 674, AMF.Internals.Tables.CMOF_String_Data_00.MS_0085'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 674, (Is_Empty => True)); end Initialize_674; -------------------- -- Initialize_675 -- -------------------- procedure Initialize_675 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 675, (Is_Empty => True)); end Initialize_675; -------------------- -- Initialize_676 -- -------------------- procedure Initialize_676 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Direction (Base + 676, AMF.CMOF.Return_Parameter); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 676, (Is_Empty => True)); end Initialize_676; -------------------- -- Initialize_677 -- -------------------- procedure Initialize_677 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Direction (Base + 677, AMF.CMOF.In_Parameter); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 677, AMF.Internals.Tables.CMOF_String_Data_00.MS_00E3'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 677, (Is_Empty => True)); end Initialize_677; -------------------- -- Initialize_678 -- -------------------- procedure Initialize_678 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 678, AMF.Internals.Tables.CMOF_String_Data_01.MS_01A4'Access); end Initialize_678; -------------------- -- Initialize_679 -- -------------------- procedure Initialize_679 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 679, AMF.Internals.Tables.CMOF_String_Data_01.MS_01BC'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 679, (Is_Empty => True)); end Initialize_679; -------------------- -- Initialize_680 -- -------------------- procedure Initialize_680 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 680, AMF.Internals.Tables.CMOF_String_Data_01.MS_0190'Access); end Initialize_680; -------------------- -- Initialize_681 -- -------------------- procedure Initialize_681 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 681, (Is_Empty => True)); end Initialize_681; -------------------- -- Initialize_682 -- -------------------- procedure Initialize_682 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 682, AMF.Internals.Tables.CMOF_String_Data_01.MS_01A9'Access); end Initialize_682; -------------------- -- Initialize_683 -- -------------------- procedure Initialize_683 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 683, AMF.Internals.Tables.CMOF_String_Data_01.MS_012D'Access); end Initialize_683; -------------------- -- Initialize_684 -- -------------------- procedure Initialize_684 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 684, AMF.Internals.Tables.CMOF_String_Data_00.MS_00EB'Access); end Initialize_684; -------------------- -- Initialize_685 -- -------------------- procedure Initialize_685 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 685, AMF.Internals.Tables.CMOF_String_Data_00.MS_00AE'Access); end Initialize_685; -------------------- -- Initialize_686 -- -------------------- procedure Initialize_686 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 686, AMF.Internals.Tables.CMOF_String_Data_00.MS_00C0'Access); end Initialize_686; -------------------- -- Initialize_687 -- -------------------- procedure Initialize_687 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 687, AMF.Internals.Tables.CMOF_String_Data_01.MS_01DD'Access); end Initialize_687; -------------------- -- Initialize_688 -- -------------------- procedure Initialize_688 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 688, AMF.Internals.Tables.CMOF_String_Data_01.MS_01A8'Access); end Initialize_688; -------------------- -- Initialize_689 -- -------------------- procedure Initialize_689 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 689, AMF.Internals.Tables.CMOF_String_Data_01.MS_0121'Access); end Initialize_689; -------------------- -- Initialize_690 -- -------------------- procedure Initialize_690 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Query (Base + 690, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 690, AMF.Internals.Tables.CMOF_String_Data_01.MS_014B'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 690, (Is_Empty => True)); end Initialize_690; -------------------- -- Initialize_691 -- -------------------- procedure Initialize_691 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 691, AMF.Internals.Tables.CMOF_String_Data_00.MS_009D'Access); end Initialize_691; -------------------- -- Initialize_692 -- -------------------- procedure Initialize_692 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 692, AMF.Internals.Tables.CMOF_String_Data_00.MS_0085'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 692, (Is_Empty => True)); end Initialize_692; -------------------- -- Initialize_693 -- -------------------- procedure Initialize_693 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 693, (Is_Empty => True)); end Initialize_693; -------------------- -- Initialize_694 -- -------------------- procedure Initialize_694 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Direction (Base + 694, AMF.CMOF.Return_Parameter); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 694, (Is_Empty => True)); end Initialize_694; -------------------- -- Initialize_695 -- -------------------- procedure Initialize_695 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Direction (Base + 695, AMF.CMOF.In_Parameter); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 695, AMF.Internals.Tables.CMOF_String_Data_01.MS_0112'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 695, (Is_Empty => True)); end Initialize_695; -------------------- -- Initialize_696 -- -------------------- procedure Initialize_696 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 696, AMF.Internals.Tables.CMOF_String_Data_00.MS_0079'Access); end Initialize_696; -------------------- -- Initialize_697 -- -------------------- procedure Initialize_697 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 697, AMF.Internals.Tables.CMOF_String_Data_01.MS_0122'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 697, (Is_Empty => True)); end Initialize_697; -------------------- -- Initialize_698 -- -------------------- procedure Initialize_698 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 698, AMF.Internals.Tables.CMOF_String_Data_01.MS_011A'Access); end Initialize_698; -------------------- -- Initialize_699 -- -------------------- procedure Initialize_699 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 699, (Is_Empty => True)); end Initialize_699; -------------------- -- Initialize_700 -- -------------------- procedure Initialize_700 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 700, AMF.Internals.Tables.CMOF_String_Data_00.MS_00E8'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 700, (Is_Empty => True)); end Initialize_700; -------------------- -- Initialize_701 -- -------------------- procedure Initialize_701 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 701, AMF.Internals.Tables.CMOF_String_Data_00.MS_007F'Access); end Initialize_701; -------------------- -- Initialize_702 -- -------------------- procedure Initialize_702 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 702, (Is_Empty => True)); end Initialize_702; -------------------- -- Initialize_703 -- -------------------- procedure Initialize_703 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 703, AMF.Internals.Tables.CMOF_String_Data_01.MS_01D0'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 703, (Is_Empty => True)); end Initialize_703; -------------------- -- Initialize_704 -- -------------------- procedure Initialize_704 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 704, AMF.Internals.Tables.CMOF_String_Data_01.MS_011E'Access); end Initialize_704; -------------------- -- Initialize_705 -- -------------------- procedure Initialize_705 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 705, (Is_Empty => True)); end Initialize_705; -------------------- -- Initialize_706 -- -------------------- procedure Initialize_706 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 706, AMF.Internals.Tables.CMOF_String_Data_01.MS_0199'Access); end Initialize_706; -------------------- -- Initialize_707 -- -------------------- procedure Initialize_707 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 707, AMF.Internals.Tables.CMOF_String_Data_00.MS_005E'Access); end Initialize_707; -------------------- -- Initialize_708 -- -------------------- procedure Initialize_708 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 708, AMF.Internals.Tables.CMOF_String_Data_01.MS_0195'Access); end Initialize_708; -------------------- -- Initialize_709 -- -------------------- procedure Initialize_709 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 709, AMF.Internals.Tables.CMOF_String_Data_01.MS_017C'Access); end Initialize_709; -------------------- -- Initialize_710 -- -------------------- procedure Initialize_710 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Query (Base + 710, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 710, AMF.Internals.Tables.CMOF_String_Data_01.MS_01FB'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 710, (Is_Empty => True)); end Initialize_710; -------------------- -- Initialize_711 -- -------------------- procedure Initialize_711 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 711, AMF.Internals.Tables.CMOF_String_Data_00.MS_004A'Access); end Initialize_711; -------------------- -- Initialize_712 -- -------------------- procedure Initialize_712 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 712, AMF.Internals.Tables.CMOF_String_Data_00.MS_0085'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 712, (Is_Empty => True)); end Initialize_712; -------------------- -- Initialize_713 -- -------------------- procedure Initialize_713 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 713, (Is_Empty => True)); end Initialize_713; -------------------- -- Initialize_714 -- -------------------- procedure Initialize_714 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Direction (Base + 714, AMF.CMOF.Return_Parameter); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Ordered (Base + 714, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 714, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Upper (Base + 714, (False, (Unlimited => True))); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 714, (Is_Empty => True)); end Initialize_714; -------------------- -- Initialize_715 -- -------------------- procedure Initialize_715 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Query (Base + 715, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 715, AMF.Internals.Tables.CMOF_String_Data_00.MS_002A'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 715, (Is_Empty => True)); end Initialize_715; -------------------- -- Initialize_716 -- -------------------- procedure Initialize_716 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 716, AMF.Internals.Tables.CMOF_String_Data_01.MS_01CC'Access); end Initialize_716; -------------------- -- Initialize_717 -- -------------------- procedure Initialize_717 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 717, AMF.Internals.Tables.CMOF_String_Data_00.MS_0085'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 717, (Is_Empty => True)); end Initialize_717; -------------------- -- Initialize_718 -- -------------------- procedure Initialize_718 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 718, (Is_Empty => True)); end Initialize_718; -------------------- -- Initialize_719 -- -------------------- procedure Initialize_719 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Direction (Base + 719, AMF.CMOF.Return_Parameter); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 719, (Is_Empty => True)); end Initialize_719; -------------------- -- Initialize_720 -- -------------------- procedure Initialize_720 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Direction (Base + 720, AMF.CMOF.In_Parameter); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 720, AMF.Internals.Tables.CMOF_String_Data_00.MS_001E'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 720, (Is_Empty => True)); end Initialize_720; -------------------- -- Initialize_721 -- -------------------- procedure Initialize_721 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Direction (Base + 721, AMF.CMOF.In_Parameter); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 721, AMF.Internals.Tables.CMOF_String_Data_00.MS_004D'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 721, (Is_Empty => True)); end Initialize_721; -------------------- -- Initialize_722 -- -------------------- procedure Initialize_722 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Query (Base + 722, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 722, AMF.Internals.Tables.CMOF_String_Data_00.MS_0084'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 722, (Is_Empty => True)); end Initialize_722; -------------------- -- Initialize_723 -- -------------------- procedure Initialize_723 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 723, AMF.Internals.Tables.CMOF_String_Data_00.MS_006A'Access); end Initialize_723; -------------------- -- Initialize_724 -- -------------------- procedure Initialize_724 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 724, AMF.Internals.Tables.CMOF_String_Data_00.MS_0085'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 724, (Is_Empty => True)); end Initialize_724; -------------------- -- Initialize_725 -- -------------------- procedure Initialize_725 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 725, (Is_Empty => True)); end Initialize_725; -------------------- -- Initialize_726 -- -------------------- procedure Initialize_726 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Direction (Base + 726, AMF.CMOF.Return_Parameter); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 726, (Is_Empty => True)); end Initialize_726; -------------------- -- Initialize_727 -- -------------------- procedure Initialize_727 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Query (Base + 727, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 727, AMF.Internals.Tables.CMOF_String_Data_00.MS_0000'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 727, (Is_Empty => True)); end Initialize_727; -------------------- -- Initialize_728 -- -------------------- procedure Initialize_728 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 728, AMF.Internals.Tables.CMOF_String_Data_00.MS_007F'Access); end Initialize_728; -------------------- -- Initialize_729 -- -------------------- procedure Initialize_729 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 729, AMF.Internals.Tables.CMOF_String_Data_00.MS_0085'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 729, (Is_Empty => True)); end Initialize_729; -------------------- -- Initialize_730 -- -------------------- procedure Initialize_730 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 730, (Is_Empty => True)); end Initialize_730; -------------------- -- Initialize_731 -- -------------------- procedure Initialize_731 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Direction (Base + 731, AMF.CMOF.Return_Parameter); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 731, (Is_Empty => True)); end Initialize_731; -------------------- -- Initialize_732 -- -------------------- procedure Initialize_732 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 732, AMF.Internals.Tables.CMOF_String_Data_01.MS_0120'Access); end Initialize_732; -------------------- -- Initialize_733 -- -------------------- procedure Initialize_733 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 733, AMF.Internals.Tables.CMOF_String_Data_01.MS_010C'Access); end Initialize_733; -------------------- -- Initialize_734 -- -------------------- procedure Initialize_734 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 734, AMF.Internals.Tables.CMOF_String_Data_00.MS_0027'Access); end Initialize_734; -------------------- -- Initialize_735 -- -------------------- procedure Initialize_735 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 735, AMF.Internals.Tables.CMOF_String_Data_01.MS_01DF'Access); end Initialize_735; -------------------- -- Initialize_736 -- -------------------- procedure Initialize_736 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 736, AMF.Internals.Tables.CMOF_String_Data_00.MS_0087'Access); end Initialize_736; -------------------- -- Initialize_737 -- -------------------- procedure Initialize_737 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 737, AMF.Internals.Tables.CMOF_String_Data_00.MS_0015'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 737, (Is_Empty => True)); end Initialize_737; -------------------- -- Initialize_738 -- -------------------- procedure Initialize_738 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 738, AMF.Internals.Tables.CMOF_String_Data_01.MS_0149'Access); end Initialize_738; -------------------- -- Initialize_739 -- -------------------- procedure Initialize_739 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 739, AMF.Internals.Tables.CMOF_String_Data_00.MS_000B'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 739, (Is_Empty => True)); end Initialize_739; -------------------- -- Initialize_740 -- -------------------- procedure Initialize_740 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 740, AMF.Internals.Tables.CMOF_String_Data_00.MS_0019'Access); end Initialize_740; -------------------- -- Initialize_741 -- -------------------- procedure Initialize_741 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 741, AMF.Internals.Tables.CMOF_String_Data_00.MS_00DF'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 741, (Is_Empty => True)); end Initialize_741; -------------------- -- Initialize_742 -- -------------------- procedure Initialize_742 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 742, AMF.Internals.Tables.CMOF_String_Data_00.MS_009C'Access); end Initialize_742; -------------------- -- Initialize_743 -- -------------------- procedure Initialize_743 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 743, AMF.Internals.Tables.CMOF_String_Data_00.MS_00C5'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 743, (Is_Empty => True)); end Initialize_743; -------------------- -- Initialize_744 -- -------------------- procedure Initialize_744 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 744, AMF.Internals.Tables.CMOF_String_Data_00.MS_00EE'Access); end Initialize_744; -------------------- -- Initialize_745 -- -------------------- procedure Initialize_745 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 745, AMF.Internals.Tables.CMOF_String_Data_01.MS_01BE'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 745, (Is_Empty => True)); end Initialize_745; -------------------- -- Initialize_746 -- -------------------- procedure Initialize_746 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 746, AMF.Internals.Tables.CMOF_String_Data_00.MS_0098'Access); end Initialize_746; -------------------- -- Initialize_747 -- -------------------- procedure Initialize_747 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 747, AMF.Internals.Tables.CMOF_String_Data_01.MS_0192'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 747, (Is_Empty => True)); end Initialize_747; -------------------- -- Initialize_748 -- -------------------- procedure Initialize_748 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 748, AMF.Internals.Tables.CMOF_String_Data_01.MS_01E7'Access); end Initialize_748; -------------------- -- Initialize_749 -- -------------------- procedure Initialize_749 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Query (Base + 749, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 749, AMF.Internals.Tables.CMOF_String_Data_00.MS_00AA'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 749, (Is_Empty => True)); end Initialize_749; -------------------- -- Initialize_750 -- -------------------- procedure Initialize_750 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 750, AMF.Internals.Tables.CMOF_String_Data_00.MS_002D'Access); end Initialize_750; -------------------- -- Initialize_751 -- -------------------- procedure Initialize_751 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 751, AMF.Internals.Tables.CMOF_String_Data_00.MS_0085'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 751, (Is_Empty => True)); end Initialize_751; -------------------- -- Initialize_752 -- -------------------- procedure Initialize_752 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 752, (Is_Empty => True)); end Initialize_752; -------------------- -- Initialize_753 -- -------------------- procedure Initialize_753 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Direction (Base + 753, AMF.CMOF.Return_Parameter); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 753, (Is_Empty => True)); end Initialize_753; -------------------- -- Initialize_754 -- -------------------- procedure Initialize_754 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Direction (Base + 754, AMF.CMOF.In_Parameter); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 754, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 754, AMF.Internals.Tables.CMOF_String_Data_00.MS_00CF'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Upper (Base + 754, (False, (Unlimited => True))); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 754, (Is_Empty => True)); end Initialize_754; -------------------- -- Initialize_755 -- -------------------- procedure Initialize_755 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 755, AMF.Internals.Tables.CMOF_String_Data_00.MS_003B'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 755, (Is_Empty => True)); end Initialize_755; -------------------- -- Initialize_756 -- -------------------- procedure Initialize_756 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 756, AMF.Internals.Tables.CMOF_String_Data_00.MS_0028'Access); end Initialize_756; -------------------- -- Initialize_757 -- -------------------- procedure Initialize_757 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 757, AMF.Internals.Tables.CMOF_String_Data_01.MS_013F'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 757, (Is_Empty => True)); end Initialize_757; -------------------- -- Initialize_758 -- -------------------- procedure Initialize_758 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 758, AMF.Internals.Tables.CMOF_String_Data_00.MS_008D'Access); end Initialize_758; -------------------- -- Initialize_759 -- -------------------- procedure Initialize_759 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 759, AMF.Internals.Tables.CMOF_String_Data_01.MS_0114'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 759, (Is_Empty => True)); end Initialize_759; -------------------- -- Initialize_760 -- -------------------- procedure Initialize_760 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 760, AMF.Internals.Tables.CMOF_String_Data_00.MS_0071'Access); end Initialize_760; -------------------- -- Initialize_761 -- -------------------- procedure Initialize_761 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 761, AMF.Internals.Tables.CMOF_String_Data_00.MS_00F8'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 761, (Is_Empty => True)); end Initialize_761; -------------------- -- Initialize_762 -- -------------------- procedure Initialize_762 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Body (Base + 762, AMF.Internals.Tables.CMOF_String_Data_01.MS_0166'Access); end Initialize_762; -------------------- -- Initialize_763 -- -------------------- procedure Initialize_763 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 763, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 763, AMF.Internals.Tables.CMOF_String_Data_01.MS_01CD'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Upper (Base + 763, (False, (Unlimited => True))); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 763, (Is_Empty => True)); end Initialize_763; -------------------- -- Initialize_764 -- -------------------- procedure Initialize_764 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 764, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 764, AMF.Internals.Tables.CMOF_String_Data_01.MS_010F'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 764, (Is_Empty => True)); end Initialize_764; -------------------- -- Initialize_765 -- -------------------- procedure Initialize_765 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 765, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 765, AMF.Internals.Tables.CMOF_String_Data_00.MS_0075'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Upper (Base + 765, (False, (Unlimited => True))); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 765, (Is_Empty => True)); end Initialize_765; -------------------- -- Initialize_766 -- -------------------- procedure Initialize_766 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 766, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 766, AMF.Internals.Tables.CMOF_String_Data_00.MS_0075'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Upper (Base + 766, (False, (Unlimited => True))); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 766, (Is_Empty => True)); end Initialize_766; -------------------- -- Initialize_767 -- -------------------- procedure Initialize_767 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 767, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 767, AMF.Internals.Tables.CMOF_String_Data_00.MS_0075'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 767, (Is_Empty => True)); end Initialize_767; -------------------- -- Initialize_768 -- -------------------- procedure Initialize_768 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 768, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 768, AMF.Internals.Tables.CMOF_String_Data_00.MS_0029'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Upper (Base + 768, (False, (Unlimited => True))); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 768, (Is_Empty => True)); end Initialize_768; -------------------- -- Initialize_769 -- -------------------- procedure Initialize_769 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 769, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 769, AMF.Internals.Tables.CMOF_String_Data_02.MS_0200'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Upper (Base + 769, (False, (Unlimited => True))); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 769, (Is_Empty => True)); end Initialize_769; -------------------- -- Initialize_770 -- -------------------- procedure Initialize_770 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 770, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 770, AMF.Internals.Tables.CMOF_String_Data_00.MS_0054'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Upper (Base + 770, (False, (Unlimited => True))); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 770, (Is_Empty => True)); end Initialize_770; -------------------- -- Initialize_771 -- -------------------- procedure Initialize_771 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 771, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 771, AMF.Internals.Tables.CMOF_String_Data_00.MS_0054'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Upper (Base + 771, (False, (Unlimited => True))); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 771, (Is_Empty => True)); end Initialize_771; -------------------- -- Initialize_772 -- -------------------- procedure Initialize_772 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 772, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 772, AMF.Internals.Tables.CMOF_String_Data_00.MS_00BD'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 772, (Is_Empty => True)); end Initialize_772; -------------------- -- Initialize_773 -- -------------------- procedure Initialize_773 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 773, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 773, AMF.Internals.Tables.CMOF_String_Data_00.MS_00CD'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Upper (Base + 773, (False, (Unlimited => True))); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 773, (Is_Empty => True)); end Initialize_773; -------------------- -- Initialize_774 -- -------------------- procedure Initialize_774 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 774, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 774, AMF.Internals.Tables.CMOF_String_Data_01.MS_01E8'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Upper (Base + 774, (False, (Unlimited => True))); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 774, (Is_Empty => True)); end Initialize_774; -------------------- -- Initialize_775 -- -------------------- procedure Initialize_775 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 775, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 775, AMF.Internals.Tables.CMOF_String_Data_01.MS_0169'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Upper (Base + 775, (False, (Unlimited => True))); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 775, (Is_Empty => True)); end Initialize_775; -------------------- -- Initialize_776 -- -------------------- procedure Initialize_776 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 776, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 776, AMF.Internals.Tables.CMOF_String_Data_00.MS_00D0'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Upper (Base + 776, (False, (Unlimited => True))); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 776, (Is_Empty => True)); end Initialize_776; -------------------- -- Initialize_777 -- -------------------- procedure Initialize_777 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 777, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 777, AMF.Internals.Tables.CMOF_String_Data_01.MS_013B'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 777, (Is_Empty => True)); end Initialize_777; -------------------- -- Initialize_778 -- -------------------- procedure Initialize_778 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 778, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 778, AMF.Internals.Tables.CMOF_String_Data_00.MS_0054'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Upper (Base + 778, (False, (Unlimited => True))); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 778, (Is_Empty => True)); end Initialize_778; -------------------- -- Initialize_779 -- -------------------- procedure Initialize_779 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 779, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 779, AMF.Internals.Tables.CMOF_String_Data_00.MS_00B3'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Upper (Base + 779, (False, (Unlimited => True))); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 779, (Is_Empty => True)); end Initialize_779; -------------------- -- Initialize_780 -- -------------------- procedure Initialize_780 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 780, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 780, AMF.Internals.Tables.CMOF_String_Data_01.MS_016D'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Upper (Base + 780, (False, (Unlimited => True))); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 780, (Is_Empty => True)); end Initialize_780; -------------------- -- Initialize_781 -- -------------------- procedure Initialize_781 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 781, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 781, AMF.Internals.Tables.CMOF_String_Data_00.MS_00E4'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Upper (Base + 781, (False, (Unlimited => True))); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 781, (Is_Empty => True)); end Initialize_781; -------------------- -- Initialize_782 -- -------------------- procedure Initialize_782 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 782, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 782, AMF.Internals.Tables.CMOF_String_Data_00.MS_0001'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Upper (Base + 782, (False, (Unlimited => True))); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 782, (Is_Empty => True)); end Initialize_782; -------------------- -- Initialize_783 -- -------------------- procedure Initialize_783 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 783, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 783, AMF.Internals.Tables.CMOF_String_Data_00.MS_0001'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Upper (Base + 783, (False, (Unlimited => True))); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 783, (Is_Empty => True)); end Initialize_783; -------------------- -- Initialize_784 -- -------------------- procedure Initialize_784 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 784, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 784, AMF.Internals.Tables.CMOF_String_Data_01.MS_0102'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Upper (Base + 784, (False, (Unlimited => True))); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 784, (Is_Empty => True)); end Initialize_784; -------------------- -- Initialize_785 -- -------------------- procedure Initialize_785 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 785, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 785, AMF.Internals.Tables.CMOF_String_Data_01.MS_0102'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Upper (Base + 785, (False, (Unlimited => True))); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 785, (Is_Empty => True)); end Initialize_785; -------------------- -- Initialize_786 -- -------------------- procedure Initialize_786 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 786, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 786, AMF.Internals.Tables.CMOF_String_Data_01.MS_019D'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Upper (Base + 786, (False, (Unlimited => True))); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 786, (Is_Empty => True)); end Initialize_786; -------------------- -- Initialize_787 -- -------------------- procedure Initialize_787 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 787, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 787, AMF.Internals.Tables.CMOF_String_Data_00.MS_0009'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 787, (Is_Empty => True)); end Initialize_787; -------------------- -- Initialize_788 -- -------------------- procedure Initialize_788 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 788, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 788, AMF.Internals.Tables.CMOF_String_Data_01.MS_010F'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Upper (Base + 788, (False, (Unlimited => True))); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 788, (Is_Empty => True)); end Initialize_788; -------------------- -- Initialize_789 -- -------------------- procedure Initialize_789 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 789, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 789, AMF.Internals.Tables.CMOF_String_Data_01.MS_01E8'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Upper (Base + 789, (False, (Unlimited => True))); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 789, (Is_Empty => True)); end Initialize_789; -------------------- -- Initialize_790 -- -------------------- procedure Initialize_790 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 790, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 790, AMF.Internals.Tables.CMOF_String_Data_00.MS_0082'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 790, (Is_Empty => True)); end Initialize_790; -------------------- -- Initialize_791 -- -------------------- procedure Initialize_791 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 791, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 791, AMF.Internals.Tables.CMOF_String_Data_02.MS_0200'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 791, (Is_Empty => True)); end Initialize_791; -------------------- -- Initialize_792 -- -------------------- procedure Initialize_792 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 792, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 792, AMF.Internals.Tables.CMOF_String_Data_01.MS_011C'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 792, (Is_Empty => True)); end Initialize_792; -------------------- -- Initialize_793 -- -------------------- procedure Initialize_793 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 793, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 793, AMF.Internals.Tables.CMOF_String_Data_01.MS_010F'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Upper (Base + 793, (False, (Unlimited => True))); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 793, (Is_Empty => True)); end Initialize_793; -------------------- -- Initialize_794 -- -------------------- procedure Initialize_794 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 794, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 794, AMF.Internals.Tables.CMOF_String_Data_01.MS_0180'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 794, (Is_Empty => True)); end Initialize_794; -------------------- -- Initialize_795 -- -------------------- procedure Initialize_795 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 795, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 795, AMF.Internals.Tables.CMOF_String_Data_01.MS_0168'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 795, (Is_Empty => True)); end Initialize_795; -------------------- -- Initialize_796 -- -------------------- procedure Initialize_796 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 796, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 796, AMF.Internals.Tables.CMOF_String_Data_01.MS_0187'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 796, (Is_Empty => True)); end Initialize_796; -------------------- -- Initialize_797 -- -------------------- procedure Initialize_797 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 797, AMF.Internals.Tables.CMOF_String_Data_00.MS_0032'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 797, (Is_Empty => True)); end Initialize_797; -------------------- -- Initialize_798 -- -------------------- procedure Initialize_798 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Is_Composite (Base + 798, True); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Lower (Base + 798, (False, 0)); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 798, AMF.Internals.Tables.CMOF_String_Data_00.MS_0088'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Upper (Base + 798, (False, (Unlimited => True))); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Visibility (Base + 798, (Is_Empty => True)); end Initialize_798; -------------------- -- Initialize_799 -- -------------------- procedure Initialize_799 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 799, AMF.Internals.Tables.CMOF_String_Data_01.MS_0110'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Value (Base + 799, AMF.Internals.Tables.CMOF_String_Data_01.MS_0162'Access); end Initialize_799; -------------------- -- Initialize_800 -- -------------------- procedure Initialize_800 is begin AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Name (Base + 800, AMF.Internals.Tables.CMOF_String_Data_00.MS_0010'Access); AMF.Internals.Tables.CMOF_Attributes.Internal_Set_Value (Base + 800, AMF.Internals.Tables.CMOF_String_Data_00.MS_006F'Access); end Initialize_800; end AMF.Internals.Tables.CMOF_Metamodel.Properties;
versions/1.0/parsers/antlr4/WdlLexer.g4
jdidion/wdl
0
1939
lexer grammar WdlLexer; channels { WdlComments, SkipChannel } // Keywords VERSION: 'version' -> pushMode(Version); IMPORT: 'import'; WORKFLOW: 'workflow'; TASK: 'task'; STRUCT: 'struct'; SCATTER: 'scatter'; CALL: 'call'; IF: 'if'; THEN: 'then'; ELSE: 'else'; ALIAS: 'alias'; AS: 'as'; In: 'in'; INPUT: 'input'; OUTPUT: 'output'; PARAMETERMETA: 'parameter_meta'; META: 'meta'; HEREDOC_COMMAND: 'command' ' '* '<<<' -> pushMode(HereDocCommand); COMMAND: 'command' ' '* '{' -> pushMode(Command); RUNTIME: 'runtime'; BOOLEAN: 'Boolean'; INT: 'Int'; FLOAT: 'Float'; STRING: 'String'; FILE: 'File'; ARRAY: 'Array'; MAP: 'Map'; PAIR: 'Pair'; OBJECT: 'Object'; OBJECT_LITERAL: 'object'; SEP: 'sep'; DEFAULT: 'default'; // Primitive Literals IntLiteral : Digits | SignedDigits ; FloatLiteral : SignedFloatFragment | FloatFragment ; BoolLiteral : 'true' | 'false' ; // Symbols LPAREN: '('; RPAREN: ')'; LBRACE: '{' -> pushMode(DEFAULT_MODE); RBRACE: '}' -> popMode; LBRACK: '['; RBRACK: ']'; ESC: '\\'; COLON: ':'; LT: '<'; GT: '>'; GTE: '>='; LTE: '<='; EQUALITY: '=='; NOTEQUAL: '!='; EQUAL: '='; AND: '&&'; OR: '||'; OPTIONAL: '?'; STAR: '*'; PLUS: '+'; MINUS: '-'; DOLLAR: '$'; COMMA: ','; SEMI: ';'; DOT: '.'; NOT: '!'; TILDE: '~'; DIVIDE: '/'; MOD: '%'; SQUOTE: '\'' -> pushMode(SquoteInterpolatedString); DQUOTE: '"' -> pushMode(DquoteInterpolatedString); WHITESPACE : [ \t\r\n]+ -> channel(HIDDEN) ; COMMENT : '#' ~[\r\n]* -> channel(HIDDEN) ; Identifier: CompleteIdentifier; mode SquoteInterpolatedString; SQuoteEscapedChar: '\\' . -> type(StringPart); SQuoteDollarString: '$' -> type(StringPart); SQuoteTildeString: '~' -> type(StringPart); SQuoteCurlyString: '{' -> type(StringPart); SQuoteCommandStart: ('${' | '~{' ) -> pushMode(DEFAULT_MODE) , type(StringCommandStart); SQuoteUnicodeEscape: '\\u' (HexDigit (HexDigit (HexDigit HexDigit?)?)?)? -> type(StringPart); EndSquote: '\'' -> popMode, type(SQUOTE); StringPart: ~[$~{\r\n']+; mode DquoteInterpolatedString; DQuoteEscapedChar: '\\' . -> type(StringPart); DQuoteTildeString: '~' -> type(StringPart); DQuoteDollarString: '$' -> type(StringPart); DQUoteCurlString: '{' -> type(StringPart); DQuoteCommandStart: ('${' | '~{' ) -> pushMode(DEFAULT_MODE), type(StringCommandStart); DQuoteUnicodeEscape: '\\u' (HexDigit (HexDigit (HexDigit HexDigit?)?)?) -> type(StringPart); EndDQuote: '"' -> popMode, type(DQUOTE); DQuoteStringPart: ~[$~{\r\n"]+ -> type(StringPart); mode HereDocCommand; HereDocUnicodeEscape: '\\u' (HexDigit (HexDigit (HexDigit HexDigit?)?)?)?; HereDocEscapedChar: '\\' . -> type(CommandStringPart); HereDocTildeString: '~' -> type(CommandStringPart); HereDocCurlyString: '{' -> type(CommandStringPart); HereDocCurlyStringCommand: '~{' -> pushMode(DEFAULT_MODE), type(StringCommandStart); HereDocEscapedEnd: '\\>>>' -> type(CommandStringPart); EndHereDocCommand: '>>>' -> popMode, type(EndCommand); HereDocEscape: ( '>' | '>>' | '>>>>' '>'*) -> type(CommandStringPart); HereDocStringPart: ~[~{>]+ -> type(CommandStringPart); mode Command; CommandEscapedChar: '\\' . -> type(CommandStringPart); CommandUnicodeEscape: '\\u' (HexDigit (HexDigit (HexDigit HexDigit?)?)?)?; CommandTildeString: '~' -> type(CommandStringPart); CommandDollarString: '$' -> type(CommandStringPart); CommandCurlyString: '{' -> type(CommandStringPart); StringCommandStart: ('${' | '~{' ) -> pushMode(DEFAULT_MODE); EndCommand: '}' -> popMode; CommandStringPart: ~[$~{}]+; mode Version; VERSION_WHITESPACE : [ \t]+ -> channel(HIDDEN) ; RELEASE_VERSION: [a-zA-Z0-9.-]+ -> popMode; // Fragments fragment CompleteIdentifier : IdentifierStart IdentifierFollow* ; fragment IdentifierStart : [a-zA-Z] ; fragment IdentifierFollow : [a-zA-Z0-9_]+ ; fragment EscapeSequence : '\\' [btnfr"'\\] | '\\' ([0-3]? [0-7])? [0-7] | '\\' UnicodeEsc ; fragment UnicodeEsc : 'u' (HexDigit (HexDigit (HexDigit HexDigit?)?)?)? ; fragment HexDigit : [0-9a-fA-F] ; fragment Digit : [0-9] ; fragment Digits : Digit+ ; fragment Decimals : Digits '.' Digits? | '.' Digits ; fragment SignedDigits : ('+' | '-' ) Digits ; fragment FloatFragment : Digits EXP? | Decimals EXP? ; fragment SignedFloatFragment : ('+' |'e') FloatFragment ; fragment EXP : ('e'|'E') SignedDigits ;
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_651.asm
ljhsiun2/medusa
9
244238
<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r12 push %r13 push %r15 push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_normal_ht+0x1495d, %r15 add $35703, %r12 movups (%r15), %xmm1 vpextrq $0, %xmm1, %rdx nop nop nop nop dec %rdi lea addresses_normal_ht+0x1e85d, %rsi lea addresses_A_ht+0x1465d, %rdi inc %rbp mov $40, %rcx rep movsb nop inc %rbp lea addresses_WT_ht+0x8ed, %rbp xor $24137, %rcx mov (%rbp), %r15 nop nop nop nop add $54199, %r15 lea addresses_normal_ht+0x547d, %rsi lea addresses_WC_ht+0x9d5d, %rdi nop nop cmp $54915, %rbp mov $57, %rcx rep movsb nop nop nop cmp $18112, %r15 lea addresses_A_ht+0xf35d, %rsi lea addresses_WC_ht+0xeb9d, %rdi nop nop cmp $6688, %r13 mov $122, %rcx rep movsb nop nop nop nop nop inc %r13 lea addresses_A_ht+0x275d, %rbp nop nop nop nop add %r13, %r13 mov (%rbp), %edi nop nop nop nop xor %rdi, %rdi lea addresses_A_ht+0x955d, %r12 nop nop nop cmp $12066, %r15 mov $0x6162636465666768, %r13 movq %r13, %xmm5 and $0xffffffffffffffc0, %r12 movaps %xmm5, (%r12) nop nop nop add $3276, %rdi lea addresses_WT_ht+0x1bd8d, %rdx nop nop cmp %r15, %r15 mov $0x6162636465666768, %r12 movq %r12, %xmm4 and $0xffffffffffffffc0, %rdx vmovntdq %ymm4, (%rdx) nop nop nop xor $16684, %rcx lea addresses_A_ht+0xc33d, %r15 nop and $14955, %r13 mov (%r15), %edi nop nop nop nop nop sub %r12, %r12 lea addresses_UC_ht+0x95d, %r15 xor %rdx, %rdx vmovups (%r15), %ymm3 vextracti128 $0, %ymm3, %xmm3 vpextrq $0, %xmm3, %rbp nop nop nop nop sub %rdi, %rdi lea addresses_D_ht+0x144bd, %rdx nop nop cmp $41606, %r15 vmovups (%rdx), %ymm5 vextracti128 $1, %ymm5, %xmm5 vpextrq $0, %xmm5, %r13 nop nop nop nop sub %rdx, %rdx lea addresses_normal_ht+0x1118d, %r12 mfence movb $0x61, (%r12) nop add %r13, %r13 lea addresses_UC_ht+0x1905d, %rsi lea addresses_WT_ht+0x10d9d, %rdi nop nop nop nop nop cmp $23808, %r15 mov $116, %rcx rep movsb nop sub $53735, %r13 lea addresses_WT_ht+0x1162d, %r15 clflush (%r15) nop nop nop cmp %rsi, %rsi movups (%r15), %xmm3 vpextrq $1, %xmm3, %rdx nop nop inc %r12 pop %rsi pop %rdx pop %rdi pop %rcx pop %rbp pop %r15 pop %r13 pop %r12 ret .global s_faulty_load s_faulty_load: push %r10 push %r11 push %r15 push %r8 push %rbp // Faulty Load lea addresses_A+0x55d, %r15 inc %r8 vmovups (%r15), %ymm6 vextracti128 $0, %ymm6, %xmm6 vpextrq $0, %xmm6, %r10 lea oracles, %r8 and $0xff, %r10 shlq $12, %r10 mov (%r8,%r10,1), %r10 pop %rbp pop %r8 pop %r15 pop %r11 pop %r10 ret /* <gen_faulty_load> [REF] {'src': {'type': 'addresses_A', 'same': False, 'size': 1, 'congruent': 0, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'} [Faulty Load] {'src': {'type': 'addresses_A', 'same': True, 'size': 32, 'congruent': 0, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'} <gen_prepare_buffer> {'src': {'type': 'addresses_normal_ht', 'same': False, 'size': 16, 'congruent': 9, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'} {'src': {'type': 'addresses_normal_ht', 'congruent': 5, 'same': False}, 'dst': {'type': 'addresses_A_ht', 'congruent': 7, 'same': False}, 'OP': 'REPM'} {'src': {'type': 'addresses_WT_ht', 'same': True, 'size': 8, 'congruent': 2, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'} {'src': {'type': 'addresses_normal_ht', 'congruent': 4, 'same': False}, 'dst': {'type': 'addresses_WC_ht', 'congruent': 11, 'same': False}, 'OP': 'REPM'} {'src': {'type': 'addresses_A_ht', 'congruent': 9, 'same': False}, 'dst': {'type': 'addresses_WC_ht', 'congruent': 3, 'same': False}, 'OP': 'REPM'} {'src': {'type': 'addresses_A_ht', 'same': False, 'size': 4, 'congruent': 6, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'} {'dst': {'type': 'addresses_A_ht', 'same': False, 'size': 16, 'congruent': 9, 'NT': False, 'AVXalign': True}, 'OP': 'STOR'} {'dst': {'type': 'addresses_WT_ht', 'same': False, 'size': 32, 'congruent': 4, 'NT': True, 'AVXalign': False}, 'OP': 'STOR'} {'src': {'type': 'addresses_A_ht', 'same': False, 'size': 4, 'congruent': 4, 'NT': True, 'AVXalign': True}, 'OP': 'LOAD'} {'src': {'type': 'addresses_UC_ht', 'same': False, 'size': 32, 'congruent': 9, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'} {'src': {'type': 'addresses_D_ht', 'same': False, 'size': 32, 'congruent': 5, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'} {'dst': {'type': 'addresses_normal_ht', 'same': False, 'size': 1, 'congruent': 3, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'} {'src': {'type': 'addresses_UC_ht', 'congruent': 4, 'same': False}, 'dst': {'type': 'addresses_WT_ht', 'congruent': 5, 'same': False}, 'OP': 'REPM'} {'src': {'type': 'addresses_WT_ht', 'same': False, 'size': 16, 'congruent': 4, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'} {'35': 21829} 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 */
programs/oeis/013/A013836.asm
neoneye/loda
22
102904
; A013836: a(n) = 5^(5*n + 3). ; 125,390625,1220703125,3814697265625,11920928955078125,37252902984619140625,116415321826934814453125,363797880709171295166015625,1136868377216160297393798828125,3552713678800500929355621337890625 mul $0,5 mov $1,5 pow $1,$0 mul $1,125 mov $0,$1
programs/oeis/112/A112930.asm
neoneye/loda
22
162242
<filename>programs/oeis/112/A112930.asm<gh_stars>10-100 ; A112930: a(n) = order of n-th term of A112926 among squarefree integers. ; 3,4,5,7,9,10,13,14,17,19,21,25,28,30,32,34,38,39,43,46,47,51,53,57,62,63,65,68,69,72,79,82,85,87,93,94,97,101,104,106,110,111,118,119,122,123,131,140,142,143,146,150,151,155,159,163,167,168,171,173,175,181,189,192,193,195,205,208,213,214,215,220,224,227,230,233,236,242,245,250,257,258,264,265,270,272,276,281,283,285,288,295,300,302,307,310,313,321,322,331 seq $0,40 ; The prime numbers. seq $0,107079 ; Minimal number of squared primes in a squarefree gap of length n.
src/cm_config.asm
spannerisms/lttphack
6
240085
<gh_stars>1-10 CONFIG_SUBMENU: %menu_header("CONFIGURATION", 5) ;=================================================================================================== %toggle_onoff("Rerandomize", !config_rerandomize_toggle) ;=================================================================================================== %toggle_func_onoff_here("Music", !config_feature_music) LDA.w !config_feature_music REP #$20 BNE ..unmute ..mute LDA.w #MutedInstruments BRA ..transfer ..unmute LDA.w #UnmutedInstruments ..transfer JSR transfer_adsr LDA.w $0133 : STA.w $012C RTL #mute_music: REP #$20 LDA.w #MutedInstruments JSR transfer_adsr RTL #transfer_adsr: STA.w $0000 LDA.w #$0000 PHD TCD SEP #$30 LDA.b #$FF : STA.w $2140 STZ.w $4200 LDA.b #UnmutedInstruments>>16 JSL $00891D SEP #$30 PLD RTS ;=================================================================================================== %toggle_customtext_here("Menu open", !config_cm_save_place) %list_item("Main menu") %list_item("Save place") ;=================================================================================================== %choice_here("HUD font", !config_hud_font, 22) %list_item("LTTP") %list_item("Klonoa") %list_item("TI-83") %list_item("Shin-chan") %list_item("SMT") %list_item("Mario World") %list_item("DKC") %list_item("ZAMN") %list_item("Emerald") %list_item("Earthbound") %list_item("FF6") %list_item("Lufia 2") %list_item("Goonies 2") %list_item("Pac-Man") %list_item("DOOM") %list_item("Undertale") %list_item("Planet X-3") %list_item("Skyroads") %list_item("Yoshi's") %list_item("S. Metroid") %list_item("Tazmania") %list_item("Black Bass") ;=================================================================================================== %submenu("Color config", COLOR_CONFIG_SUBMENU) ;=================================================================================================== !color_count = 21 !color_id = -1 COLORS_YAY: fillword $0000 : fill !color_count*2 macro fixed_color(val, name) !color_id #= !color_id+1 %list_item("<name>") pushpc org COLORS_YAY+!color_id*2 : dw color(<val>) pullpc endmacro COLOR_CONFIG_SUBMENU: %menu_header("COLOR CONFIG", 7) %choice_func("Menu BG", !config_hud_bg, !color_count, set_color, color_list) %choice_func("Header FG", !config_hud_header_fg, !color_count, set_color, color_list) %choice_func("Header HL", !config_hud_header_hl, !color_count, set_color, color_list) %choice_func("Header BG", !config_hud_header_bg, !color_count, set_color, color_list) %choice_func("Selection FG", !config_hud_sel_fg, !color_count, set_color, color_list) %choice_func("Selection BG", !config_hud_sel_bg, !color_count, set_color, color_list) %choice_func("Inactive FG", !config_hud_dis_fg, !color_count, set_color, color_list) ;%choice_func("Inactive BG", !config_hud_dis_bg, !color_count, set_color, color_list) set_color: BIT.b SA1IRAM.cm_ax BVC .dontreset LDA.b SA1IRAM.cm_cursor TAX ASL TAY LDA.l .defaults,X STA.w !config_hud_bg,Y .dontreset RTL .defaults db 0 ; HUD BG: black db 1 ; Header FG: white db 10 ; Header HL: lui db 0 ; Header BG: black db 9 ; Selection FG: me db 8 ; Selection BG: mine db 3 ; Inactive FG: gray color_list: %list_header(!color_count) %fixed_color($000000, "Black") %fixed_color($F8F8F8, "White") %fixed_color($C06000, "Brown") %fixed_color($A8A8A8, "Gray") %fixed_color($C00000, "Red") %fixed_color($E0A800, "Yellow") %fixed_color($20C028, "Green") %fixed_color($4870D0, "Blue") %fixed_color($C8C8F8, "Periwinkle") %fixed_color($000090, "Dark Blue") %fixed_color($06A969, "Lui green") %fixed_color($20A8F8, "Glan blue") ; fantasy %fixed_color($F8B000, "Mike orange") %fixed_color($782878, "Purple") %fixed_color($605800, "Garbage") %fixed_color($8090A0, "Blilver") %fixed_color($F858A8, "Pink") %fixed_color($F76D61, "Peach42") %fixed_color($2AA8D9, "Siriusly?") %fixed_color($BADA55, "BADA55") %fixed_color($FFBFFF, "Blunt pink") ;=================================================================================================== UnmutedInstruments: dw .end-.start, $3D00 .start db $00, $FF, $E0, $B8, $04, $70 db $01, $FF, $E0, $B8, $07, $90 db $02, $FF, $E0, $B8, $09, $C0 db $03, $FF, $E0, $B8, $04, $00 db $04, $FF, $E0, $B8, $04, $00 db $05, $FF, $E0, $B8, $04, $70 db $06, $FF, $E0, $B8, $04, $70 db $07, $FF, $E0, $B8, $04, $70 db $08, $FF, $E0, $B8, $07, $A0 db $09, $8F, $E9, $B8, $01, $E0 db $0A, $8A, $E9, $B8, $01, $E0 db $0B, $FF, $E0, $B8, $03, $00 db $0C, $FF, $E0, $B8, $03, $A0 db $0D, $FF, $E0, $B8, $01, $00 db $0E, $FF, $EF, $B8, $0E, $A0 db $0F, $FF, $EF, $B8, $06, $00 db $10, $FF, $E0, $B8, $03, $D0 db $11, $8F, $E0, $B8, $03, $00 db $12, $8F, $E0, $B8, $06, $F0 db $13, $FD, $E0, $B8, $07, $A0 db $14, $FF, $E0, $B8, $07, $A0 db $15, $FF, $E0, $B8, $03, $D0 db $16, $8F, $E0, $B8, $03, $00 db $17, $FF, $E0, $B8, $02, $C0 db $18, $FE, $8F, $B8, $06, $F0 .end dw $0000, $0800 ;--------------------------------------------------------------------------------------------------- MutedInstruments: dw .end-.start, $3D00 .start db $00, $00, $00, $00, $04, $70 db $01, $00, $00, $00, $07, $90 db $02, $00, $00, $00, $09, $C0 db $03, $00, $00, $00, $04, $00 db $04, $00, $00, $00, $04, $00 db $05, $00, $00, $00, $04, $70 db $06, $FF, $E0, $B8, $04, $70 ; mirror uses this, leave unmuted db $07, $00, $00, $00, $04, $70 db $08, $00, $00, $00, $07, $A0 db $09, $00, $00, $00, $01, $E0 db $0A, $00, $00, $00, $01, $E0 db $0B, $00, $00, $00, $03, $00 db $0C, $00, $00, $00, $03, $A0 db $0D, $00, $00, $00, $01, $00 db $0E, $00, $00, $00, $0E, $A0 db $0F, $00, $00, $00, $06, $00 db $10, $00, $00, $00, $03, $D0 db $11, $00, $00, $00, $03, $00 db $12, $00, $00, $00, $06, $F0 db $13, $00, $00, $00, $07, $A0 db $14, $00, $00, $00, $07, $A0 db $15, $00, $00, $00, $03, $D0 db $16, $00, $00, $00, $03, $00 db $17, $00, $00, $00, $02, $C0 db $18, $00, $00, $00, $06, $F0 .end dw $0000, $0800
src/interface/yaml-events-queue.ads
persan/AdaYaml
32
6545
<gh_stars>10-100 -- part of AdaYaml, (c) 2017 <NAME> -- released under the terms of the MIT license, see the file "copying.txt" private with Ada.Finalization; package Yaml.Events.Queue is type Instance is limited new Refcount_Base with private; type Instance_Access is access all Instance; type Reference is tagged private; type Accessor (Data : not null access Instance) is limited null record with Implicit_Dereference => Data; type Element_Accessor (Data : not null access Event) is limited null record with Implicit_Dereference => Data; type Mark is private; procedure Append (Object : in out Instance; E : Event); procedure Append (Object : in out Instance; E : Event; Position : out Mark); function Length (Object : Instance) return Natural; function Length (Object : Reference) return Natural; function First (Object : in Instance) return Event; procedure Dequeue (Object : in out Instance); function Value (Object : Reference) return Accessor; function New_Queue return Reference; function Element (Object : Instance; Position : Mark) return Element_Accessor; type Stream_Instance is new Refcount_Base with private; type Stream_Instance_Access is access all Stream_Instance; type Stream_Reference is tagged private; type Stream_Accessor (Data : not null access Stream_Instance) is limited null record with Implicit_Dereference => Data; type Optional_Stream_Reference is tagged private; Null_Reference : constant Optional_Stream_Reference; function Value (Object : Stream_Reference) return Stream_Accessor; function Value (Object : Optional_Stream_Reference) return Stream_Accessor with Pre => Object /= Null_Reference; function Next (Object : in out Stream_Instance) return Event; function Required (Object : Optional_Stream_Reference'Class) return Stream_Reference; function Optional (Object : Stream_Reference'Class) return Optional_Stream_Reference; function As_Stream (Object : Reference'Class) return Stream_Reference; private type Reference is new Ada.Finalization.Controlled with record Data : not null access Instance; end record; overriding procedure Adjust (Object : in out Reference); overriding procedure Finalize (Object : in out Reference); type Instance is limited new Event_Holder with record First_Pos : Positive := 1; Stream_Count : Natural := 0; end record; overriding procedure Copy_Data (Source : Instance; Target : not null Event_Array_Access) with Pre => Target.all'Length >= Source.Data.all'Length; type Mark is new Positive; type Instance_Pointer is access all Instance; type Stream_Instance is new Refcount_Base with record Buffer : Reference; Offset : Natural := 0; end record; overriding procedure Finalize (Object : in out Stream_Instance); type Stream_Reference is new Ada.Finalization.Controlled with record Data : not null access Stream_Instance; end record; overriding procedure Adjust (Object : in out Stream_Reference); overriding procedure Finalize (Object : in out Stream_Reference); type Optional_Stream_Reference is new Ada.Finalization.Controlled with record Data : access Stream_Instance; end record; overriding procedure Adjust (Object : in out Optional_Stream_Reference); overriding procedure Finalize (Object : in out Optional_Stream_Reference); Null_Reference : constant Optional_Stream_Reference := (Ada.Finalization.Controlled with Data => null); end Yaml.Events.Queue;
data/games/mining_obstacles.asm
AtmaBuster/pokeplat-gen2
6
11060
MiningObstacleList: dw .v_1x4 dw .v_2x4 dw .h_4x1 dw .h_4x2 dw .s_2x2 dw .s_3x3 dw .z_2x3_1 dw .z_2x3_2 dw .z_3x2_1 dw .z_3x2_2 dw .t_1 dw .t_2 dw .t_3 dw .t_4 .v_1x4 db 1, 4 db $0a db $1a db $1a db $12 .v_2x4 db 2, 4 db $0b, $0c db $1b, $1c db $1b, $1c db $13, $14 .h_4x1 db 4, 1 db $07, $08, $08, $09 .h_4x2 db 4, 2 db $0b, $18, $18, $0c db $13, $19, $19, $14 .s_2x2 db 2, 2 db $0b, $0c db $13, $14 .s_3x3 db 3, 3 db $0b, $18, $0c db $1b, $0d, $1c db $13, $19, $14 .z_2x3_1 db 2, 3 db $0a, $00 db $0e, $0f db $00, $12 .z_2x3_2 db 2, 3 db $00, $0a db $1e, $1f db $12, $00 .z_3x2_1 db 3, 2 db $07, $0f, $00 db $00, $0e, $09 .z_3x2_2 db 3, 2 db $00, $1e, $09 db $07, $1f, $00 .t_1 db 2, 3 db $0a, $00 db $1d, $09 db $12, $00 .t_2 db 2, 3 db $00, $0a db $07, $17 db $00, $12 .t_3 db 3, 2 db $00, $0a, $00 db $07, $15, $09 .t_4 db 3, 2 db $07, $16, $09 db $00, $12, $00
extra/ASM 8086/flat386.asm
jfitz/code-stat
0
247339
<filename>extra/ASM 8086/flat386.asm ; flatmode.asm ; ; This program demonstrates flat real mode, which is simply real mode ; with 4G descriptors for some segments. In this code it's done by ; going into protected mode, setting the FS register to a descriptor ; with 4G limits and then returning to real mode. The protected mode ; limit stays in effect, giving "flat real mode." ; ; The demonstration part of this code writes the first 160 bytes from ; the system ROM at F0000h (linear) to the color screen which is assumed ; to be at B8000h (linear) using a flat real mode selector. Since that ; range of the system ROM typically contains a copyright notice, one ; can easily see that the code is truly working as advertised. ; ; This code is intended to be run on a Pentium or better. ; ; To assemble: ; ; using Microsoft's MASM 6.11 or better ; ml /Fl flatmode.asm ; ;---------------------------------------------------------------------- .model tiny .code .586P DESC386 STRUC limlo dw ? baselo dw ? basemid db ? dpltype db ? ; p(1) dpl(2) s(1) type(4) limhi db ? ; g(1) d/b(1) 0(1) avl(1) lim(4) basehi db ? DESC386 ENDS ;---------------------------------------------------------------------- ORG 100h start: call flatmode ; go into flat real mode (fs reg only) ; mov dx,5 ; ; mov fs,dx ; call fillscreen ; fill the screen using 4G descriptor mov ax,4c00h ; do a standard DOS exit int 21h ; ;---------------------------------------------------------------------- fillscreen proc mov esi,0F0050h ; point to ROM ifdef BEROSET mov edi,0B8000h ; point to screen else mov di,0b800h ; mov es,di ; xor edi,edi ; endif mov cx,160 ; just two lines mov ah,1Eh ; yellow on blue screen attrib myloop: mov al,fs:[esi] ; read ROM byte ifdef BEROSET mov fs:[edi],ax ; store to screen with attribute else mov es:[di],ax ; store to screen with attribute endif inc esi ; increment source ptr inc edi ; increment dest ptr by two inc edi ; loop myloop ; keep going ret ; and quit fillscreen endp ;---------------------------------------------------------------------- flatmode proc ; first, calculate the linear address of GDT xor edx,edx ; clear edx xor eax,eax ; clear edx mov dx,ds ; get the data segment shl edx,4 ; shift it over a bit add dword ptr [gdt+2],edx ; store as GDT linear base addr ; now load the GDT into the GDTR lgdt fword ptr gdt ; load GDT base (286-style 24-bit load) mov bx,1 * size DESC386 ; point to first descriptor mov eax,cr0 ; prepare to enter protected mode or al,1 ; flip the PE bit cli ; turn off interrupts mov cr0,eax ; we're now in protected mode mov fs,bx ; load the FS segment register and al,0FEh ; clear the PE bit again mov cr0,eax ; back to real mode sti ; resume handling interrupts ret ; flatmode endp ;---------------------------------------------------------------------- GDT DESC386 <GDT_END - GDT - 1, GDT, 0, 0, 0, 0> ; the GDT itself DESC386 <0ffffh, 0, 0, 091h, 0cfh, 0> ; 4G data segment GDT_END: end start
scripts/Route10.asm
AmateurPanda92/pokemon-rby-dx
9
178136
Route10_Script: call EnableAutoTextBoxDrawing ld hl, Route10TrainerHeader0 ld de, Route10_ScriptPointers ld a, [wRoute10CurScript] call ExecuteCurMapScriptInTable ld [wRoute10CurScript], a ret Route10_ScriptPointers: dw CheckFightingMapTrainers dw DisplayEnemyTrainerTextAndStartBattle dw EndTrainerBattle Route10_TextPointers: dw Route10Text1 dw Route10Text2 dw Route10Text3 dw Route10Text4 dw Route10Text5 dw Route10Text6 dw Route10Text7 dw PokeCenterSignText dw Route10Text9 dw Route10Text10 Route10TrainerHeader0: dbEventFlagBit EVENT_BEAT_ROUTE_10_TRAINER_0 db ($4 << 4) ; trainer's view range dwEventFlagAddress EVENT_BEAT_ROUTE_10_TRAINER_0 dw Route10BattleText1 ; TextBeforeBattle dw Route10AfterBattleText1 ; TextAfterBattle dw Route10EndBattleText1 ; TextEndBattle dw Route10EndBattleText1 ; TextEndBattle Route10TrainerHeader1: dbEventFlagBit EVENT_BEAT_ROUTE_10_TRAINER_1 db ($3 << 4) ; trainer's view range dwEventFlagAddress EVENT_BEAT_ROUTE_10_TRAINER_1 dw Route10BattleText2 ; TextBeforeBattle dw Route10AfterBattleText2 ; TextAfterBattle dw Route10EndBattleText2 ; TextEndBattle dw Route10EndBattleText2 ; TextEndBattle Route10TrainerHeader2: dbEventFlagBit EVENT_BEAT_ROUTE_10_TRAINER_2 db ($4 << 4) ; trainer's view range dwEventFlagAddress EVENT_BEAT_ROUTE_10_TRAINER_2 dw Route10BattleText3 ; TextBeforeBattle dw Route10AfterBattleText3 ; TextAfterBattle dw Route10EndBattleText3 ; TextEndBattle dw Route10EndBattleText3 ; TextEndBattle Route10TrainerHeader3: dbEventFlagBit EVENT_BEAT_ROUTE_10_TRAINER_3 db ($3 << 4) ; trainer's view range dwEventFlagAddress EVENT_BEAT_ROUTE_10_TRAINER_3 dw Route10BattleText4 ; TextBeforeBattle dw Route10AfterBattleText4 ; TextAfterBattle dw Route10EndBattleText4 ; TextEndBattle dw Route10EndBattleText4 ; TextEndBattle Route10TrainerHeader4: dbEventFlagBit EVENT_BEAT_ROUTE_10_TRAINER_4 db ($2 << 4) ; trainer's view range dwEventFlagAddress EVENT_BEAT_ROUTE_10_TRAINER_4 dw Route10BattleText5 ; TextBeforeBattle dw Route10AfterBattleText5 ; TextAfterBattle dw Route10EndBattleText5 ; TextEndBattle dw Route10EndBattleText5 ; TextEndBattle Route10TrainerHeader5: dbEventFlagBit EVENT_BEAT_ROUTE_10_TRAINER_5 db ($2 << 4) ; trainer's view range dwEventFlagAddress EVENT_BEAT_ROUTE_10_TRAINER_5 dw Route10BattleText6 ; TextBeforeBattle dw Route10AfterBattleText6 ; TextAfterBattle dw Route10EndBattleText6 ; TextEndBattle dw Route10EndBattleText6 ; TextEndBattle db $ff Route10Text1: TX_ASM ld hl, Route10TrainerHeader0 call TalkToTrainer jp TextScriptEnd Route10BattleText1: TX_FAR _Route10BattleText1 db "@" Route10EndBattleText1: TX_FAR _Route10EndBattleText1 db "@" Route10AfterBattleText1: TX_FAR _Route10AfterBattleText1 db "@" Route10Text2: TX_ASM ld hl, Route10TrainerHeader1 call TalkToTrainer jp TextScriptEnd Route10BattleText2: TX_FAR _Route10BattleText2 db "@" Route10EndBattleText2: TX_FAR _Route10EndBattleText2 db "@" Route10AfterBattleText2: TX_FAR _Route10AfterBattleText2 db "@" Route10Text3: TX_ASM ld hl, Route10TrainerHeader2 call TalkToTrainer jp TextScriptEnd Route10BattleText3: TX_FAR _Route10BattleText3 db "@" Route10EndBattleText3: TX_FAR _Route10EndBattleText3 db "@" Route10AfterBattleText3: TX_FAR _Route10AfterBattleText3 db "@" Route10Text4: TX_ASM ld hl, Route10TrainerHeader3 call TalkToTrainer jp TextScriptEnd Route10BattleText4: TX_FAR _Route10BattleText4 db "@" Route10EndBattleText4: TX_FAR _Route10EndBattleText4 db "@" Route10AfterBattleText4: TX_FAR _Route10AfterBattleText4 db "@" Route10Text5: TX_ASM ld hl, Route10TrainerHeader4 call TalkToTrainer jp TextScriptEnd Route10BattleText5: TX_FAR _Route10BattleText5 db "@" Route10EndBattleText5: TX_FAR _Route10EndBattleText5 db "@" Route10AfterBattleText5: TX_FAR _Route10AfterBattleText5 db "@" Route10Text6: TX_ASM ld hl, Route10TrainerHeader5 call TalkToTrainer jp TextScriptEnd Route10BattleText6: TX_FAR _Route10BattleText6 db "@" Route10EndBattleText6: TX_FAR _Route10EndBattleText6 db "@" Route10AfterBattleText6: TX_FAR _Route10AfterBattleText6 db "@" Route10Text9: Route10Text7: TX_FAR _Route10Text7 ; _Route10Text9 db "@" Route10Text10: TX_FAR _Route10Text10 db "@"
programs/oeis/202/A202195.asm
karttu/loda
0
13438
<filename>programs/oeis/202/A202195.asm ; A202195: Number of (n+2) X 3 binary arrays avoiding patterns 001 and 101 in rows and columns. ; 108,240,450,756,1176,1728,2430,3300,4356,5616,7098,8820,10800,13056,15606,18468,21660,25200,29106,33396,38088,43200,48750,54756,61236,68208,75690,83700,92256,101376,111078,121380,132300,143856,156066,168948,182520,196800,211806,227556,244068,261360,279450,298356,318096,338688,360150,382500,405756,429936,455058,481140,508200,536256,565326,595428,626580,658800,692106,726516,762048,798720,836550,875556,915756,957168,999810,1043700,1088856,1135296,1183038,1232100,1282500,1334256,1387386,1441908,1497840,1555200,1614006,1674276,1736028,1799280,1864050,1930356,1998216,2067648,2138670,2211300,2285556,2361456,2439018,2518260,2599200,2681856,2766246,2852388,2940300,3030000,3121506,3214836,3310008,3407040,3505950,3606756,3709476,3814128,3920730,4029300,4139856,4252416,4366998,4483620,4602300,4723056,4845906,4970868,5097960,5227200,5358606,5492196,5627988,5766000,5906250,6048756,6193536,6340608,6489990,6641700,6795756,6952176,7110978,7272180,7435800,7601856,7770366,7941348,8114820,8290800,8469306,8650356,8833968,9020160,9208950,9400356,9594396,9791088,9990450,10192500,10397256,10604736,10814958,11027940,11243700,11462256,11683626,11907828,12134880,12364800,12597606,12833316,13071948,13313520,13558050,13805556,14056056,14309568,14566110,14825700,15088356,15354096,15622938,15894900,16170000,16448256,16729686,17014308,17302140,17593200,17887506,18185076,18485928,18790080,19097550,19408356,19722516,20040048,20360970,20685300,21013056,21344256,21678918,22017060,22358700,22703856,23052546,23404788,23760600,24120000,24483006,24849636,25219908,25593840,25971450,26352756,26737776,27126528,27519030,27915300,28315356,28719216 add $0,4 mov $1,$0 bin $0,2 sub $1,1 mul $1,$0 mul $1,6
src/apsepp-test_node_class-abstract_simu_case.ads
thierr26/ada-apsepp
0
9513
-- Copyright (C) 2019 <NAME> <<EMAIL>> -- MIT license. Please refer to the LICENSE file. with Apsepp.Test_Node_Class.Case_Stub; use Apsepp.Test_Node_Class.Case_Stub; package Apsepp.Test_Node_Class.Abstract_Simu_Case is type Test_Routine_Destiny_Kind is (No_Failure, Access_Failure, Setup_Failure, Test_Assertion_Failure, Handled_Test_Failure, Contract_Failure, Other_Failure); type Test_Routine_Destiny is record Kind : Test_Routine_Destiny_Kind; Successful_Test_Assert_Count : Test_Assert_Count; end record; type Simu_Test_Case_Story is array (Test_Routine_Index range <>) of Test_Routine_Destiny; type Simu_Test_Case is abstract limited new Test_Case_Stub with private; not overriding function Story (Obj : Simu_Test_Case) return Simu_Test_Case_Story is abstract with Post'Class => Story'Result'First = 1; overriding function Routine_Count (Obj : Simu_Test_Case) return Test_Routine_Count is (Simu_Test_Case'Class (Obj).Story'Length); -- PORT: Post'Class aspect causes compiler error. -- raised STORAGE_ERROR : stack overflow or erroneous memory access -- <2019-06-10> -- with Post'Class => Routine_Count'Result -- = -- Simu_Test_Case'Class (Obj).Story'Length; overriding function Routine (Obj : Simu_Test_Case; K : Test_Routine_Index) return Test_Routine; overriding procedure Setup_Routine (Obj : Simu_Test_Case); private type Simu_Test_Case is abstract limited new Test_Case_Stub with null record; ---------------------------------------------------------------------------- protected Data_Locker is function Locked return Boolean; -- TODOC: Post => Locked <2019-06-09> entry Set (T : Tag; D : Test_Routine_Destiny); -- TODOC: Pre => Locked <2019-06-09> function T return Tag; -- TODOC: Pre => Locked <2019-06-09> function D return Test_Routine_Destiny; -- TODOC: Pre => Locked, Post => not Locked <2019-06-09> procedure Reset; private Locked_Flag : Boolean := False; T_Val : Tag; D_Val : Test_Routine_Destiny; end Data_Locker; ---------------------------------------------------------------------------- end Apsepp.Test_Node_Class.Abstract_Simu_Case;
ScrollModus/_code/GlobalCode/gameobjects.asm
kosmonautdnb/TheLandsOfZador
0
104117
GAMEOBJECTCOUNT = SPRITECOUNT PERSISTENTITEMCOUNT = 1 COLLECTABLESFROM = 0 COLLECTABLESTO = 5 NORMALENEMIESSTARTINDEX = 5 NORMALENEMIESENDINDEX = 9 PLAYERGAMEOBJECT = 9 ENEMYSHOTSFROM = 10 ENEMYSHOTSTO = 12 PLAYERSHOTSFROM = 12 PLAYERSHOTSTO = 13 STATUSBARENERGYGAMEOBJECT = 13 DUSTGAMEOBJECT = 14 ITEMGAMEOBJECT = 15 GameObjectXPosLoLo ds.b GAMEOBJECTCOUNT,$00 GameObjectXPosLo ds.b GAMEOBJECTCOUNT,$00 GameObjectXPosHi ds.b GAMEOBJECTCOUNT,$00 GameObjectYPosLoLo ds.b GAMEOBJECTCOUNT,$00 GameObjectYPosLo ds.b GAMEOBJECTCOUNT,$00 GameObjectYPosHi ds.b GAMEOBJECTCOUNT,$00 GameObjectVisible ds.b GAMEOBJECTCOUNT,$00 GameObjectSpriteImage ds.b GAMEOBJECTCOUNT,$00 GameObjectSpriteFlippedX ds.b GAMEOBJECTCOUNT,$00 GameObjectSpritePaintWhite ds.b GAMEOBJECTCOUNT,$00 GameObjectXStart ds.b GAMEOBJECTCOUNT,$00 GameObjectYStart ds.b GAMEOBJECTCOUNT,$00 GameObjectXEnd ds.b GAMEOBJECTCOUNT,$00 GameObjectYEnd ds.b GAMEOBJECTCOUNT,$00 GameObjectSpriteValue ds.b GAMEOBJECTCOUNT,$00 GameObjectFlags1 ds.b GAMEOBJECTCOUNT,$00 GameObjectFlags2 ds.b GAMEOBJECTCOUNT,$00 GameObjectVar1 ds.b GAMEOBJECTCOUNT,$00 GameObjectVar2 ds.b GAMEOBJECTCOUNT,$00 GameObjectVar3 ds.b GAMEOBJECTCOUNT,$00 GameObjectVar4 ds.b GAMEOBJECTCOUNT,$00 GameObjectVar5 ds.b GAMEOBJECTCOUNT,$00 GameObjectVar6 ds.b GAMEOBJECTCOUNT,$00 GameObjectVar7 ds.b GAMEOBJECTCOUNT,$00 GameObjectVar8 ds.b GAMEOBJECTCOUNT,$00 GameObjectVar9 ds.b GAMEOBJECTCOUNT,$00 GameObjectVar10 ds.b GAMEOBJECTCOUNT,$00 GameObjectHitPoints ds.b GAMEOBJECTCOUNT,$00 ; how many hitpoints the enemy has left GameObjectCollisionType ds.b GAMEOBJECTCOUNT,$00 ; also used for determining a free slot (must be set to paint it) GameObjectEnemyType ds.b GAMEOBJECTCOUNT,$00 GameObjectLevelEnemyIndex ds.b GAMEOBJECTCOUNT,$00 ; used to lookup level enemies GameObjectConfiguration ds.b GAMEOBJECTCOUNT,$00 GameObjectAnimType ds.b GAMEOBJECTCOUNT,$00 GameObjectActiveCounter ds.b GAMEOBJECTCOUNT,$00 GameObjectHit ds.b GAMEOBJECTCOUNT,$00 ; it was hit GAMEOBJECT_COLLISIONTYPE_FREE_ENEMY_SLOT = $00 GAMEOBJECT_COLLISIONTYPE_NO_COLLISION = $01 GAMEOBJECT_COLLISIONTYPE_ENEMY = $02 GAMEOBJECT_COLLISIONTYPE_PLAYER = $03 GAMEOBJECT_COLLISIONTYPE_PLAYER_SHOT = $04 GAMEOBJECT_COLLISIONTYPE_ENEMY_SHOT = $05 GAMEOBJECT_COLLISIONTYPE_COLLECTABLE = $06 GAMEOBJECT_COLLISIONTYPE_OVERLAY = $07 GAMEOBJECT_COLLISIONTYPE_MAGIC = $08 GAMEOBJECT_COLLISIONTYPE_SCHALTER = $09 checkIsCollidesForPlayer dc.b $00 dc.b $00 dc.b $01 dc.b $00 dc.b $00 dc.b $01 dc.b $01 dc.b $00 dc.b $01 dc.b $01 PLAYER_YSTART = 4 PLAYER_YEND = 32 PLAYER_XSTART = 2 PLAYER_XEND = 12 ;--------------------------------------------------------- ;--- starting initialization --- ;--- setting player popterties --- ;--------------------------------------------------------- initializeGameObjectsFull SUBROUTINE lda #$00 ldx #GAMEOBJECTCOUNT - 1 jmp .initstart initializeGameObjects lda #$00 ldx #GAMEOBJECTCOUNT - 1 - PERSISTENTITEMCOUNT .initstart .reloop sta GameObjectVisible,x sta GameObjectCollisionType,x dex bpl .reloop lda #$01 sta GameObjectVisible + PLAYERGAMEOBJECT sta GameObjectVisible + STATUSBARENERGYGAMEOBJECT lda #PLAYER_XSTART sta GameObjectXStart + PLAYERGAMEOBJECT lda #PLAYER_YSTART sta GameObjectYStart + PLAYERGAMEOBJECT lda #PLAYER_XEND sta GameObjectXEnd + PLAYERGAMEOBJECT lda #PLAYER_YEND sta GameObjectYEnd + PLAYERGAMEOBJECT lda #GAMEOBJECT_COLLISIONTYPE_PLAYER sta GameObjectCollisionType + PLAYERGAMEOBJECT lda #GAMEOBJECT_COLLISIONTYPE_OVERLAY sta GameObjectCollisionType + STATUSBARENERGYGAMEOBJECT lda #SPRITEFRAMES_STATUS-1 clc adc ZP_ENERGY sta GameObjectSpriteImage + STATUSBARENERGYGAMEOBJECT lda #200-20 sta GameObjectYPosLo + STATUSBARENERGYGAMEOBJECT lda #7 sta GameObjectXPosLo + STATUSBARENERGYGAMEOBJECT rts ;--------------------------------------------------------- ;--- main gameobject paint function --- ;--------------------------------------------------------- paintAllVisibleGameObjects SUBROUTINE ldy #$00 ldx #$00 .reloop lda GameObjectCollisionType,x beq .dontpaint lda GameObjectVisible,x beq .dontpaint sty spritePort lda GameObjectSpriteImage,x sta spriteImage lda GameObjectSpriteFlippedX,x sta spriteFlipped lda GameObjectSpritePaintWhite,x sta spriteWhite lda GameObjectCollisionType,x cmp #GAMEOBJECT_COLLISIONTYPE_OVERLAY bne .normal lda GameObjectXPosLo,x sta spritePX + 0 lda GameObjectXPosHi,x sta spritePX + 1 lda GameObjectYPosLo,x sta spritePY + 0 lda GameObjectYPosHi,x sta spritePY + 1 jmp .blitit .normal lda GameObjectXPosLo,x sec sbc scrollPosXCurrent + 0 sta spritePX + 0 lda GameObjectXPosHi,x sbc scrollPosXCurrent + 1 sta spritePX + 1 lda GameObjectYPosLo,x sec sbc scrollPosYCurrent + 0 sta spritePY + 0 lda GameObjectYPosHi,x sbc scrollPosYCurrent + 1 sta spritePY + 1 .blitit jsr blitVSprite iny cpy #SPRITECOUNT beq .nomore .dontpaint inx cpx #GAMEOBJECTCOUNT bne .reloop .nomore rts ;------------------------------------------------------------- ;--- gets a pixelwise collision rectangle for a gameobject --- ;------------------------------------------------------------- getGameObjectRectangle SUBROUTINE ; x can be 0 or 2 lda GameObjectXPosLo,y clc adc GameObjectXStart,y sta collisionFlagRectXS + 0,x lda GameObjectXPosHi,y adc #$00 sta collisionFlagRectXS + 1,x lda GameObjectXPosLo,y adc GameObjectXEnd,y sta collisionFlagRectXE + 0,x lda GameObjectXPosHi,y adc #$00 sta collisionFlagRectXE + 1,x lda GameObjectYPosLo,y adc GameObjectYStart,y sta collisionFlagRectYS + 0,x lda GameObjectYPosHi,y adc #$00 sta collisionFlagRectYS + 1,x lda GameObjectYPosLo,y adc GameObjectYEnd,y sta collisionFlagRectYE + 0,x lda GameObjectYPosHi,y adc #$00 sta collisionFlagRectYE + 1,x rts ;------------------------------------------------------------------------------ ;--- gets a pixelwise collision rectangle for a gameobject up collisiontest --- ;------------------------------------------------------------------------------ getCollisionFlagsUpForGameObject SUBROUTINE tay ldx #$00 jsr getGameObjectRectangle lda collisionFlagRectYS + 0 sta collisionFlagRectYE + 0 lda collisionFlagRectYS + 1 sta collisionFlagRectYE + 1 jmp getCollisionFlags ;-------------------------------------------------------------------------------- ;--- gets a pixelwise collision rectangle for a gameobject down collisiontest --- ;-------------------------------------------------------------------------------- getCollisionFlagsDownForGameObject SUBROUTINE tay ldx #$00 jsr getGameObjectRectangle lda collisionFlagRectYE + 0 sta collisionFlagRectYS + 0 lda collisionFlagRectYE + 1 sta collisionFlagRectYS + 1 jmp getCollisionFlags ;-------------------------------------------------------------------------------- ;--- gets a pixelwise collision rectangle for a gameobject left collisiontest --- ;-------------------------------------------------------------------------------- getCollisionFlagsLeftForGameObject SUBROUTINE tay ldx #$00 jsr getGameObjectRectangle lda collisionFlagRectXS + 0 sta collisionFlagRectXE + 0 lda collisionFlagRectXS + 1 sta collisionFlagRectXE + 1 jmp getCollisionFlags ;--------------------------------------------------------------------------------- ;--- gets a pixelwise collision rectangle for a gameobject right collisiontest --- ;--------------------------------------------------------------------------------- getCollisionFlagsRightForGameObject SUBROUTINE tay ldx #$00 jsr getGameObjectRectangle lda collisionFlagRectXE + 0 sta collisionFlagRectXS + 0 lda collisionFlagRectXE + 1 sta collisionFlagRectXS + 1 jmp getCollisionFlags ;-------------------------------------------------- ;--- gets the flags of the collision rectangle --- ;-------------------------------------------------- getCollisionFlags SUBROUTINE lda collisionFlagRectYE + 0 clc adc #$07 sta collisionFlagRectYE + 0 bcc .nohi1 clc inc collisionFlagRectYE + 1 .nohi1 lda collisionFlagRectXE + 0 adc #$03 sta collisionFlagRectXE + 0 bcc .nohi2 clc inc collisionFlagRectXE + 1 .nohi2 lda collisionFlagRectXS + 0 lsr lsr sta rectLevelXS ldy collisionFlagRectXS + 1 ldx MUL8LO,y lda MUL8LO,x ora rectLevelXS sta rectLevelXS lda collisionFlagRectYS + 0 lsr lsr lsr sta rectLevelYS ldx collisionFlagRectYS + 1 lda MUL8LO,x asl asl ora rectLevelYS sta rectLevelYS lda collisionFlagRectXE + 0 lsr lsr sta rectLevelXE ldy collisionFlagRectXE + 1 ldx MUL8LO,y lda MUL8LO,x ora rectLevelXE sta rectLevelXE lda collisionFlagRectYE + 0 lsr lsr lsr sta rectLevelYE ldx collisionFlagRectYE + 1 lda MUL8LO,x asl asl ora rectLevelYE sta rectLevelYE jsr flagsInRect lda rectFlags rts ;-------------------------------------------------- ;--- clips the position with the up collision --- ;-------------------------------------------------- replaceGameObjectToCollisionUp SUBROUTINE tay lda GameObjectYPosLo,y clc adc #<$08 sta GameObjectYPosLo,y lda GameObjectYPosHi,y adc #>$08 sta GameObjectYPosHi,y lda GameObjectYPosLo,y clc adc GameObjectYStart,y and #%11111000 sta GameObjectYPosLo,y lda GameObjectYPosHi,y adc #$00 sta GameObjectYPosHi,y lda GameObjectYPosLo,y sec sbc GameObjectYStart,y sta GameObjectYPosLo,y lda GameObjectYPosHi,y sbc #$00 sta GameObjectYPosHi,y rts ;-------------------------------------------------- ;--- clips the position with the down collision --- ;-------------------------------------------------- replaceGameObjectToCollisionDown SUBROUTINE tay lda GameObjectYPosLo,y clc adc GameObjectYEnd,y and #%11111000 sta GameObjectYPosLo,y lda GameObjectYPosHi,y adc #$00 sta GameObjectYPosHi,y lda GameObjectYPosLo,y sec sbc GameObjectYEnd,y sta GameObjectYPosLo,y lda GameObjectYPosHi,y sbc #$00 sta GameObjectYPosHi,y rts ;-------------------------------------------------- ;--- clips the position with the left collision --- ;-------------------------------------------------- replaceGameObjectToCollisionLeft SUBROUTINE tay lda GameObjectXPosLo,y clc adc #<$04 sta GameObjectXPosLo,y lda GameObjectXPosHi,y adc #>$04 sta GameObjectXPosHi,y lda GameObjectXPosLo,y clc adc GameObjectXStart,y and #%11111100 sta GameObjectXPosLo,y lda GameObjectXPosHi,y adc #$00 sta GameObjectXPosHi,y lda GameObjectXPosLo,y sec sbc GameObjectXStart,y sta GameObjectXPosLo,y lda GameObjectXPosHi,y sbc #$00 sta GameObjectXPosHi,y rts ;--------------------------------------------------- ;--- clips the position with the right collision --- ;--------------------------------------------------- replaceGameObjectToCollisionRight SUBROUTINE tay lda GameObjectXPosLo,y clc adc GameObjectXEnd,y and #%11111100 sta GameObjectXPosLo,y lda GameObjectXPosHi,y adc #$00 sta GameObjectXPosHi,y lda GameObjectXPosLo,y sec sbc GameObjectXEnd,y sta GameObjectXPosLo,y lda GameObjectXPosHi,y sbc #$00 sta GameObjectXPosHi,y rts ;--------------------------------------------------- ;--- moves a gamobject in x (no collision here) --- ;--------------------------------------------------- moveGameObjectByAccuX SUBROUTINE cmp #$80 bpl .neg clc adc GameObjectXPosLo,y sta GameObjectXPosLo,y lda GameObjectXPosHi,y adc #$00 sta GameObjectXPosHi,y rts .neg clc adc GameObjectXPosLo,y sta GameObjectXPosLo,y lda GameObjectXPosHi,y adc #$ff sta GameObjectXPosHi,y rts ;--------------------------------------------------- ;--- moves a gamobject in y (no collision here) --- ;--------------------------------------------------- moveGameObjectByAccuY SUBROUTINE cmp #$80 bpl .neg clc adc GameObjectYPosLo,y sta GameObjectYPosLo,y lda GameObjectYPosHi,y adc #$00 sta GameObjectYPosHi,y rts .neg clc adc GameObjectYPosLo,y sta GameObjectYPosLo,y lda GameObjectYPosHi,y adc #$ff sta GameObjectYPosHi,y rts ;--------------------------------------------------------- ;--- tests if 2 sprite exactly collided --- ;--- a = 0 collided, a = 1 not collided->!!ATTENTION!! --- ;--------------------------------------------------------- ;eCollisionSprite1 dc.b $00 ;eCollisionSprite2 dc.b $00 SUBROUTINE gameObjectsCollided lda #$00 sta .avalue + 1 ; collision on lda collisionFlagRectYE + 0 + 2 sta gameObjectT2 + 0 lda collisionFlagRectYE + 1 + 2 sta gameObjectT2 + 1 lda collisionFlagRectYS + 0 + 0 sta gameObjectT1 + 0 lda collisionFlagRectYS + 1 + 0 sta gameObjectT1 + 1 jsr checkT1toT2 ; sprite2 yend - sprite1 ystart bne .nocollision lda collisionFlagRectXE + 0 + 2 sta gameObjectT2 + 0 lda collisionFlagRectXE + 1 + 2 sta gameObjectT2 + 1 lda collisionFlagRectXS + 0 + 0 sta gameObjectT1 + 0 lda collisionFlagRectXS + 1 + 0 sta gameObjectT1 + 1 jsr checkT1toT2 ; sprite2 xend - sprite1 xstart bne .nocollision lda collisionFlagRectYE + 0 + 0 sta gameObjectT2 + 0 lda collisionFlagRectYE + 1 + 0 sta gameObjectT2 + 1 lda collisionFlagRectYS + 0 + 2 sta gameObjectT1 + 0 lda collisionFlagRectYS + 1 + 2 sta gameObjectT1 + 1 jsr checkT1toT2 ; sprite1 yend - sprite2 ystart bne .nocollision lda collisionFlagRectXE + 0 + 0 sta gameObjectT2 + 0 lda collisionFlagRectXE + 1 + 0 sta gameObjectT2 + 1 lda collisionFlagRectXS + 0 + 2 sta gameObjectT1 + 0 lda collisionFlagRectXS + 1 + 2 sta gameObjectT1 + 1 jsr checkT1toT2 ; sprite1 xend - sprite2 xstart .nocollision .avalue lda #$44 rts checkT1toT2 lda gameObjectT2 + 0 sec sbc gameObjectT1 + 0 lda gameObjectT2 + 1 sbc gameObjectT1 + 1 bpl .notoverlappinghere lda #$01 sta .avalue + 1 ; collision off .notoverlappinghere lda .avalue + 1 rts ;--------------------------------------------------- ;--- set a gameobject above a other --- ;--- x the gameobject below --- ;--- y the gameobject to place over the other --- ;--------------------------------------------------- placeGameObjectAbove SUBROUTINE stx .gameObjectToModify + 1 ldx #$00 jsr getGameObjectRectangle .gameObjectToModify ldx #$44 lda collisionFlagRectYS + 0 sec sbc GameObjectYEnd,x sta GameObjectYPosLo,x lda collisionFlagRectYS + 1 sbc #$00 sta GameObjectYPosHi,x lda #$00 sta GameObjectYPosLoLo,x rts
programs/oeis/263/A263919.asm
karttu/loda
0
245663
; A263919: Triangle read by rows giving successive states of cellular automaton generated by "Rule 163" initiated with a single ON (black) cell. ; 1,1,0,0,1,0,0,1,0,1,0,0,1,0,1,0,1,0,0,1,0,1,0,1,0,1,0,0,1,0,1,0,1,0,1,0,1,0,0,1,0,1,0,1,0,1,0,1,0,1,0,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0 mov $1,1 mov $2,$0 trn $0,2 lpb $2,1 lpb $0,1 add $1,2 trn $0,$1 sub $2,1 lpe lpb $1,1 trn $1,4 lpe add $1,$2 add $0,$1 trn $2,1 lpe
source/RASCAL-UserMessages.adb
bracke/Meaning
0
5953
<gh_stars>0 -------------------------------------------------------------------------------- -- -- -- Copyright (C) 2004, RISC OS Ada Library (RASCAL) developers. -- -- -- -- This library is free software; you can redistribute it and/or -- -- modify it under the terms of the GNU Lesser General Public -- -- License as published by the Free Software Foundation; either -- -- version 2.1 of the License, or (at your option) any later version. -- -- -- -- This library is distributed in the hope that it will be useful, -- -- but WITHOUT ANY WARRANTY; without even the implied warranty of -- -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -- -- Lesser General Public License for more details. -- -- -- -- You should have received a copy of the GNU Lesser General Public -- -- License along with this library; if not, write to the Free Software -- -- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -- -- -- -------------------------------------------------------------------------------- -- $Author$ -- $Date$ -- $Revision$ with RASCAL.OS; use RASCAL.OS; with RASCAL.Memory; use RASCAL.Memory; with RASCAL.Utility; use RASCAL.Utility; with Interfaces.C; use Interfaces.C; with Kernel; use Kernel; with Reporter; use Reporter; package body RASCAL.UserMessages is -- procedure SendMessage(Message : in Address; Reason : in Reason_Event_Code_Type; Event_Code : in Message_Event_Code_Type; Window : in Wimp_Handle_Type := 0; Icon : in Icon_handle_Type := 0; Length : in Integer := 256) is Register : aliased Kernel.swi_regs; Wimp_SendMessage : constant := 16#400E7#; Error : oserror_access; begin Memory.PutWord (Align (Length),Message); Memory.PutWord (0,Message,3*4); Memory.PutWord (Integer (Event_Code),Message,4*4); Register.R(0) := Int (Reason); Register.R(1) := Adr_To_Int (Message); Register.R(2) := Int (Window); Register.R(3) := Int (Icon); Error := Kernel.SWI (Wimp_SendMessage,Register'Access, Register'Access); if Error /= null then pragma Debug(Reporter.Report("UserMessages.SendMessage: " & To_Ada(Error.ErrMess))); OS.Raise_Error(Error); end if; end SendMessage; -- procedure Acknowledge(Message : in Address; Window : in integer := 0; Icon : in integer := 0) is Register : aliased Kernel.swi_regs; Handle : integer := Window; Wimp_SendMessage : constant := 16#400E7#; Error : oserror_access; begin Memory.PutWord(Memory.GetWord(Message,2*4),Message,3*4); if Handle = 0 then Handle := Memory.GetWord(Message,1*4); end if; Register.R(0) := 19; Register.R(1) := Adr_To_Int(Message); Register.R(2) := int(Handle); Register.R(3) := int(Icon); Error := Kernel.swi (Wimp_SendMessage,Register'Access, Register'Access); if Error /= null then pragma Debug(Reporter.Report("UserMessages.Acknowledge: " & To_Ada(Error.ErrMess))); OS.Raise_Error(Error); end if; end Acknowledge; -- end RASCAL.UserMessages;
II-sem/Microprocessor/Assembly Language Programs/loop-1.asm
ASHD27/JMI-MCA
3
246086
.model small .stack 100h .data str db 'HELLO WORLD$' .code main proc mov ax, @data mov ds, ax mov cx, 10 loop1: lea dx, str mov ah, 09h int 21h mov dl, 10 mov ah, 02h int 21h mov dl, 13 mov ah, 02h int 21h loop loop1 mov ah, 4ch int 21h main endp end main
coreboot/src/vendorcode/amd/agesa/f14/Lib/IA32/amdlib32.asm
leetobin/firebrick
9
24895
;/** ; * @file ; * ; * Agesa library 32bit ; * ; * Contains AMD AGESA Library ; * ; * @xrefitem bom "File Content Label" "Release Content" ; * @e project: AGESA ; * @e sub-project: Lib ; * @e \$Revision: 17071 $ @e \$Date: 2009-07-30 10:13:11 -0700 (Thu, 30 Jul 2009) $ ; */ ;***************************************************************************** ; ; Copyright (c) 2011, Advanced Micro Devices, Inc. ; All rights reserved. ; ; Redistribution and use in source and binary forms, with or without ; modification, are permitted provided that the following conditions are met: ; * Redistributions of source code must retain the above copyright ; notice, this list of conditions and the following disclaimer. ; * Redistributions in binary form must reproduce the above copyright ; notice, this list of conditions and the following disclaimer in the ; documentation and/or other materials provided with the distribution. ; * Neither the name of Advanced Micro Devices, Inc. nor the names of ; its contributors may be used to endorse or promote products derived ; from this software without specific prior written permission. ; ; THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ; ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED ; WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE ; DISCLAIMED. IN NO EVENT SHALL ADVANCED MICRO DEVICES, INC. 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. ; ;***************************************************************************** .586p .xmm .model flat,C ASSUME FS:NOTHING .code ;--------------------------------------------------------------------------- ; ; _mm_clflush_fs - execute clflush instruction for address fs:address32 ; this lets clflush operate beyond 4GB in 32-bit mode ; ; void _mm_clflush_fs (void *address32); ; _mm_clflush_fs proc public mov eax, [esp+8] clflush fs:[eax] ret _mm_clflush_fs ENDP ;--------------------------------------------------------------------------- ; ; _mm_stream_si128_fs - execute movntdq instruction for address fs:address32 ; this lets movntdq operate beyond 4GB in 32-bit mode ; ; void _mm_stream_si128_fs (void *dest, void *data) ; _mm_stream_si128_fs proc public push esi mov esi, [esp+12] movdqa xmm0, [esi] mov esi, [esp+8] movntdq fs:[esi], xmm0 pop esi ret _mm_stream_si128_fs ENDP ;--------------------------------------------------------------------------- END
chp04/src/main/antlr/CommonLexerRules.g4
zhhe-me/book-antlr4
1
857
<reponame>zhhe-me/book-antlr4 lexer grammar CommonLexerRules ; ID : [a-zA-Z_]+ ; // match identifiers INT : [0-9]+ ; // match integers NEWLINE:'\r'? '\n' ; // return newlines to parser (is end-statement signal) WS : [ \t]+ -> skip ; // toss out whitespace
Cubical/Structures/Group/MorphismProperties.agda
RobertHarper/cubical
0
2459
<gh_stars>0 {-# OPTIONS --cubical --no-import-sorts --safe #-} module Cubical.Structures.Group.MorphismProperties where open import Cubical.Foundations.Prelude open import Cubical.Foundations.Isomorphism open import Cubical.Foundations.Equiv open import Cubical.Foundations.Equiv.HalfAdjoint open import Cubical.Foundations.HLevels open import Cubical.Foundations.Univalence open import Cubical.Foundations.SIP open import Cubical.Foundations.Function using (_∘_) open import Cubical.Foundations.GroupoidLaws open import Cubical.Functions.Embedding open import Cubical.Data.Sigma open import Cubical.Structures.Axioms open import Cubical.Structures.NAryOp open import Cubical.Structures.Pointed open import Cubical.Structures.Semigroup hiding (⟨_⟩) open import Cubical.Structures.Monoid hiding (⟨_⟩) open import Cubical.Structures.Group.Base open import Cubical.Structures.Group.Properties open import Cubical.Structures.Group.Morphism open Iso private variable ℓ ℓ' ℓ'' : Level isPropIsGroupHom : (G : Group {ℓ}) (H : Group {ℓ'}) {f : ⟨ G ⟩ → ⟨ H ⟩} → isProp (isGroupHom G H f) isPropIsGroupHom G H {f} = isPropΠ2 λ a b → Group.is-set H _ _ isSetGroupHom : {G : Group {ℓ}} {H : Group {ℓ'}} → isSet (GroupHom G H) isSetGroupHom {G = G} {H = H} = isOfHLevelRespectEquiv 2 equiv (isSetΣ (isSetΠ λ _ → is-set H) λ _ → isProp→isSet (isPropIsGroupHom G H)) where open Group equiv : (Σ[ g ∈ (Carrier G → Carrier H) ] (isGroupHom G H g)) ≃ GroupHom G H equiv = isoToEquiv (iso (λ (g , m) → grouphom g m) (λ (grouphom g m) → g , m) (λ _ → refl) λ _ → refl) -- Morphism composition isGroupHomComp : {F : Group {ℓ}} {G : Group {ℓ'}} {H : Group {ℓ''}} → (f : GroupHom F G) → (g : GroupHom G H) → isGroupHom F H (GroupHom.fun g ∘ GroupHom.fun f) isGroupHomComp (grouphom f morph-f) (grouphom g morph-g) x y = cong g (morph-f _ _) ∙ morph-g _ _ compGroupHom : {F : Group {ℓ}} {G : Group {ℓ'}} {H : Group {ℓ''}} → GroupHom F G → GroupHom G H → GroupHom F H compGroupHom {F = F} {G = G} {H = H} f g = grouphom _ (isGroupHomComp f g) compGroupEquiv : {F : Group {ℓ}} {G : Group {ℓ'}} {H : Group {ℓ''}} → GroupEquiv F G → GroupEquiv G H → GroupEquiv F H compGroupEquiv {F = F} {G = G} {H = H} f g = groupequiv (compEquiv f.eq g.eq) (isGroupHomComp f.hom g.hom) where module f = GroupEquiv f module g = GroupEquiv g idGroupEquiv : (G : Group {ℓ}) → GroupEquiv G G idGroupEquiv G = groupequiv (idEquiv (Group.Carrier G)) (λ _ _ → refl) -- Isomorphism inversion isGroupHomInv : {G : Group {ℓ}} {H : Group {ℓ'}} (f : GroupEquiv G H) → isGroupHom H G (invEq (GroupEquiv.eq f)) isGroupHomInv {G = G} {H = H} (groupequiv (f , eq) morph) h h' = isInj-f _ _ ( f (g (h ⋆² h') ) ≡⟨ retEq (f , eq) _ ⟩ h ⋆² h' ≡⟨ sym (λ i → retEq (f , eq) h i ⋆² retEq (f , eq) h' i) ⟩ f (g h) ⋆² f (g h') ≡⟨ sym (morph _ _) ⟩ f (g h ⋆¹ g h') ∎) where _⋆¹_ = Group._+_ G _⋆²_ = Group._+_ H g = invEq (f , eq) isEmbedding-f : isEmbedding f isEmbedding-f = isEquiv→isEmbedding eq isInj-f : (x y : ⟨ G ⟩) → f x ≡ f y → x ≡ y isInj-f x y = invEq (_ , isEquiv→isEmbedding eq x y) invGroupEquiv : {G : Group {ℓ}} {H : Group {ℓ'}} → GroupEquiv G H → GroupEquiv H G invGroupEquiv {G = G} {H = H} f = groupequiv (invEquiv (eq f)) (isGroupHomInv f) where open GroupEquiv groupHomEq : {G : Group {ℓ}} {H : Group {ℓ'}} {f g : GroupHom G H} → (GroupHom.fun f ≡ GroupHom.fun g) → f ≡ g groupHomEq {G = G} {H = H} {grouphom f fm} {grouphom g gm} p i = grouphom (p i) (p-hom i) where p-hom : PathP (λ i → isGroupHom G H (p i)) fm gm p-hom = toPathP (isPropIsGroupHom G H _ _) groupEquivEq : {G : Group {ℓ}} {H : Group {ℓ'}} {f g : GroupEquiv G H} → (GroupEquiv.eq f ≡ GroupEquiv.eq g) → f ≡ g groupEquivEq {G = G} {H = H} {groupequiv f fm} {groupequiv g gm} p i = groupequiv (p i) (p-hom i) where p-hom : PathP (λ i → isGroupHom G H (p i .fst)) fm gm p-hom = toPathP (isPropIsGroupHom G H _ _) module GroupΣTheory {ℓ} where RawGroupStructure : Type ℓ → Type ℓ RawGroupStructure = SemigroupΣTheory.RawSemigroupStructure rawGroupUnivalentStr : UnivalentStr RawGroupStructure _ rawGroupUnivalentStr = SemigroupΣTheory.rawSemigroupUnivalentStr -- The neutral element and the inverse function will be derived from the -- axioms, instead of being defined in the RawGroupStructure in order -- to have that group equivalences are equivalences that preserves -- multiplication (so we don't have to show that they also preserve inversion -- and neutral element, although they will preserve them). GroupAxioms : (G : Type ℓ) → RawGroupStructure G → Type ℓ GroupAxioms G _·_ = IsSemigroup _·_ × (Σ[ e ∈ G ] ((x : G) → (x · e ≡ x) × (e · x ≡ x)) × ((x : G) → Σ[ x' ∈ G ] (x · x' ≡ e) × (x' · x ≡ e))) GroupStructure : Type ℓ → Type ℓ GroupStructure = AxiomsStructure RawGroupStructure GroupAxioms GroupΣ : Type (ℓ-suc ℓ) GroupΣ = TypeWithStr ℓ GroupStructure -- Structured equivalences for groups are those for monoids (but different axioms) GroupEquivStr : StrEquiv GroupStructure ℓ GroupEquivStr = AxiomsEquivStr (BinaryFunEquivStr PointedEquivStr) GroupAxioms open MonoidTheory isPropGroupAxioms : (G : Type ℓ) → (s : RawGroupStructure G) → isProp (GroupAxioms G s) isPropGroupAxioms G _+_ = isPropΣ (isPropIsSemigroup _) γ where γ : (h : IsSemigroup _+_) → isProp (Σ[ e ∈ G ] ((x : G) → (x + e ≡ x) × (e + x ≡ x)) × ((x : G) → Σ[ x' ∈ G ] (x + x' ≡ e) × (x' + x ≡ e))) γ h (e , P , _) (e' , Q , _) = Σ≡Prop (λ x → isPropΣ (isPropΠ λ _ → isProp× (isSetG _ _) (isSetG _ _)) (β x)) (sym (fst (Q e)) ∙ snd (P e')) where isSetG : isSet G isSetG = IsSemigroup.is-set h β : (e : G) → ((x : G) → (x + e ≡ x) × (e + x ≡ x)) → isProp ((x : G) → Σ[ x' ∈ G ] (x + x' ≡ e) × (x' + x ≡ e)) β e He = isPropΠ λ { x (x' , _ , P) (x'' , Q , _) → Σ≡Prop (λ _ → isProp× (isSetG _ _) (isSetG _ _)) (inv-lemma ℳ x x' x'' P Q) } where ℳ : Monoid ℳ = makeMonoid e _+_ isSetG (IsSemigroup.assoc h) (λ x → He x .fst) (λ x → He x .snd) Group→GroupΣ : Group → GroupΣ Group→GroupΣ (group _ _ _ -_ isGroup) = _ , _ , IsMonoid.isSemigroup (IsGroup.isMonoid isGroup) , _ , IsMonoid.identity (IsGroup.isMonoid isGroup) , λ x → (- x) , IsGroup.inverse isGroup x GroupΣ→Group : GroupΣ → Group GroupΣ→Group (_ , _ , SG , _ , H0g , w ) = group _ _ _ (λ x → w x .fst) (isgroup (ismonoid SG H0g) λ x → w x .snd) GroupIsoGroupΣ : Iso Group GroupΣ GroupIsoGroupΣ = iso Group→GroupΣ GroupΣ→Group (λ _ → refl) (λ _ → refl) groupUnivalentStr : UnivalentStr GroupStructure GroupEquivStr groupUnivalentStr = axiomsUnivalentStr _ isPropGroupAxioms rawGroupUnivalentStr GroupΣPath : (G H : GroupΣ) → (G ≃[ GroupEquivStr ] H) ≃ (G ≡ H) GroupΣPath = SIP groupUnivalentStr GroupEquivΣ : (G H : Group) → Type ℓ GroupEquivΣ G H = Group→GroupΣ G ≃[ GroupEquivStr ] Group→GroupΣ H GroupIsoΣPath : {G H : Group} → Iso (GroupEquiv G H) (GroupEquivΣ G H) fun GroupIsoΣPath (groupequiv e h) = (e , h) inv GroupIsoΣPath (e , h) = groupequiv e h rightInv GroupIsoΣPath _ = refl leftInv GroupIsoΣPath _ = refl GroupPath : (G H : Group) → (GroupEquiv G H) ≃ (G ≡ H) GroupPath G H = GroupEquiv G H ≃⟨ isoToEquiv GroupIsoΣPath ⟩ GroupEquivΣ G H ≃⟨ GroupΣPath _ _ ⟩ Group→GroupΣ G ≡ Group→GroupΣ H ≃⟨ isoToEquiv (invIso (congIso GroupIsoGroupΣ)) ⟩ G ≡ H ■ -- Extract the characterization of equality of groups GroupPath : (G H : Group {ℓ}) → (GroupEquiv G H) ≃ (G ≡ H) GroupPath = GroupΣTheory.GroupPath uaGroup : {G H : Group {ℓ}} → GroupEquiv G H → G ≡ H uaGroup {G = G} {H = H} = equivFun (GroupPath G H) carac-uaGroup : {G H : Group {ℓ}} (f : GroupEquiv G H) → cong Group.Carrier (uaGroup f) ≡ ua (GroupEquiv.eq f) carac-uaGroup (groupequiv f m) = (refl ∙∙ ua f ∙∙ refl) ≡⟨ sym (rUnit (ua f)) ⟩ ua f ∎ -- Group-ua functoriality open Group Group≡ : (G H : Group {ℓ}) → ( Σ[ p ∈ Carrier G ≡ Carrier H ] Σ[ q ∈ PathP (λ i → p i) (0g G) (0g H) ] Σ[ r ∈ PathP (λ i → p i → p i → p i) (_+_ G) (_+_ H) ] Σ[ s ∈ PathP (λ i → p i → p i) (-_ G) (-_ H) ] PathP (λ i → IsGroup (q i) (r i) (s i)) (isGroup G) (isGroup H)) ≃ (G ≡ H) Group≡ G H = isoToEquiv (iso (λ (p , q , r , s , t) i → group (p i) (q i) (r i) (s i) (t i)) (λ p → cong Carrier p , cong 0g p , cong _+_ p , cong -_ p , cong isGroup p) (λ _ → refl) (λ _ → refl)) caracGroup≡ : {G H : Group {ℓ}} (p q : G ≡ H) → cong Group.Carrier p ≡ cong Group.Carrier q → p ≡ q caracGroup≡ {G = G} {H = H} p q t = cong (fst (Group≡ G H)) (Σ≡Prop (λ t → isPropΣ (isOfHLevelPathP' 1 (is-set H) _ _) λ t₁ → isPropΣ (isOfHLevelPathP' 1 (isSetΠ2 λ _ _ → is-set H) _ _) λ t₂ → isPropΣ (isOfHLevelPathP' 1 (isSetΠ λ _ → is-set H) _ _) λ t₃ → isOfHLevelPathP 1 (isPropIsGroup _ _ _) _ _) t) uaGroupId : (G : Group {ℓ}) → uaGroup (idGroupEquiv G) ≡ refl uaGroupId G = caracGroup≡ _ _ (carac-uaGroup (idGroupEquiv G) ∙ uaIdEquiv) uaCompGroupEquiv : {F G H : Group {ℓ}} (f : GroupEquiv F G) (g : GroupEquiv G H) → uaGroup (compGroupEquiv f g) ≡ uaGroup f ∙ uaGroup g uaCompGroupEquiv f g = caracGroup≡ _ _ ( cong Carrier (uaGroup (compGroupEquiv f g)) ≡⟨ carac-uaGroup (compGroupEquiv f g) ⟩ ua (eq (compGroupEquiv f g)) ≡⟨ uaCompEquiv _ _ ⟩ ua (eq f) ∙ ua (eq g) ≡⟨ cong (_∙ ua (eq g)) (sym (carac-uaGroup f)) ⟩ cong Carrier (uaGroup f) ∙ ua (eq g) ≡⟨ cong (cong Carrier (uaGroup f) ∙_) (sym (carac-uaGroup g)) ⟩ cong Carrier (uaGroup f) ∙ cong Carrier (uaGroup g) ≡⟨ sym (cong-∙ Carrier (uaGroup f) (uaGroup g)) ⟩ cong Carrier (uaGroup f ∙ uaGroup g) ∎) where open GroupEquiv
Monads.agda
jmchapman/Relative-Monads
21
1970
module Monads where open import Library open import Categories record Monad {a}{b}(C : Cat {a}{b}) : Set (a ⊔ b) where constructor monad open Cat C field T : Obj → Obj η : ∀ {X} → Hom X (T X) bind : ∀{X Y} → Hom X (T Y) → Hom (T X) (T Y) law1 : ∀{X} → bind (η {X}) ≅ iden {T X} law2 : ∀{X Y}{f : Hom X (T Y)} → comp (bind f) η ≅ f law3 : ∀{X Y Z}{f : Hom X (T Y)}{g : Hom Y (T Z)} → bind (comp (bind g) f) ≅ comp (bind g) (bind f) open import Functors TFun : ∀{a b}{C : Cat {a}{b}} → Monad C → Fun C C TFun {C = C} M = let open Monad M; open Cat C in record { OMap = T; HMap = bind ∘ comp η; fid = proof bind (comp η iden) ≅⟨ cong bind idr ⟩ bind η ≅⟨ law1 ⟩ iden ∎; fcomp = λ {_}{_}{_}{f}{g} → proof bind (comp η (comp f g)) ≅⟨ cong bind (sym ass) ⟩ bind (comp (comp η f) g) ≅⟨ cong (λ f → bind (comp f g)) (sym law2) ⟩ bind (comp (comp (bind (comp η f)) η) g) ≅⟨ cong bind ass ⟩ bind (comp (bind (comp η f)) (comp η g)) ≅⟨ law3 ⟩ comp (bind (comp η f)) (bind (comp η g)) ∎}
tests/src/testsuite-encode-basic_tests.ads
Fabien-Chouteau/COBS
0
10609
<gh_stars>0 private package Testsuite.Encode.Basic_Tests is procedure Add_Tests (Suite : in out AUnit.Test_Suites.Test_Suite'Class); end Testsuite.Encode.Basic_Tests;
oeis/120/A120882.asm
neoneye/loda-programs
11
17149
<reponame>neoneye/loda-programs<gh_stars>10-100 ; A120882: a(n) is the number of k's, for 1 <= k <= n, where gcd(k,floor(n/k)) = 1. ; Submitted by <NAME> ; 1,2,3,3,4,6,7,6,6,8,9,10,11,13,14,12,13,14,15,15,17,19,20,19,19,21,20,20,21,27,28,25,26,28,29,28,29,31,33,31,32,36,37,37,36,38,39,37,37,38,39,39,40,40,42,41,43,45,46,49,50,52,52,48,49,54,55,55,56,60,61,57,58 add $0,1 mov $2,$0 lpb $0 max $0,1 mov $3,$2 div $3,$0 gcd $3,$0 sub $0,1 mul $3,$2 cmp $3,$2 add $1,$3 lpe mov $0,$1
Import FB BG.applescript
AlexanderGalen/applescripts
3
2454
<reponame>AlexanderGalen/applescripts tell application "Keyboard Maestro Engine" set tempvar to make new variable with properties {name:"Job Number"} set currentJob to value of tempvar set tempvar to make variable with properties {name:"Previous Job Number"} set OldJN to value of tempvar end tell tell application "QuarkXPress" tell document 1 set allBoxes to a reference to every generic box as list repeat with thisBox in allBoxes set {y1, x1, y2, x2} to bounds of thisBox as list set x1 to (coerce x1 to real) set x2 to (coerce x2 to real) set theWidth to (round (x2 - x1) * 100) / 100 if theWidth > 0.5 then if name of color of thisBox is "Magenta" then set theBox to thisBox exit repeat end if end if end repeat --gets box sizing info & determines product from that set {y1, x1, y2, x2} to bounds of theBox as list set x1 to (coerce x1 to real) set y1 to (coerce y1 to real) set x2 to (coerce x2 to real) set y2 to (coerce y2 to real) set theWidth to (round (x2 - x1) * 100) / 100 set theHeight to (round (y2 - y1) * 100) / 100 --sets fill color to none set color of theBox to "None" end tell end tell if theHeight = 7.25 then set theFile to "HOM_Shortrun:SUPERmergeIN:Custom Magnet Backgrounds:BB:BBQS15-" else set theFile to "HOM_Shortrun:SUPERmergeIN:Custom Magnet Backgrounds:BB:BBFC15-" end if tell application "QuarkXPress" set theinfo to text returned of (display dialog "input file info" default answer "") end tell if length of theinfo is 4 then set theinfo to "0" & theinfo else if length of theinfo is 3 then set theinfo to "00" & theinfo end if set firstthree to characters 1 thru 3 of theinfo as string if firstthree is "243" then set theFile to "MERGE CENTRAL:BYO Schedules:PDFs:" & currentJob & ".pdf" else set theFile to theFile & theinfo & ".eps" end if tell application "QuarkXPress" tell document 1 --try set image 1 of theBox to alias theFile --on error -- display dialog "An Error Occured" -- return --end try end tell end tell --gets the path to the old job copied to new folder and saves it to Keyboard Maestro set shellScriptPath to "find " & quoted form of "/Volumes/HOM_shortrun/~Hom Active Jobs/" & currentJob & "/" & OldJN & "*/" & OldJN & "*HOM.qxp" & " | head -n 1" set copiedPath to do shell script "find " & shellScriptPath set copiedPath to POSIX file copiedPath --opens previous job tell application "QuarkXPress" try open file copiedPath end try activate end tell
models/hol/sygus/let_benchmarks/logcount.als
johnwickerson/alloystar
2
2806
<filename>models/hol/sygus/let_benchmarks/logcount.als<gh_stars>1-10 module logcount open util/integer as b /** * https://github.com/rishabhs/sygus-comp14/blob/master/benchmarks/let-benchmarks/logcount.sl */ -------------------------------------------------------------------------------- -- AST Nodes -------------------------------------------------------------------------------- abstract sig Node {} abstract sig IntNode extends Node {} abstract sig IntVar extends IntNode {} one sig X1 extends IntVar {} sig ConstBV in Int {} sig ShiftConst in Int {} sig Let extends IntNode { tmp: one Node, m: one ConstBV, n: one ShiftConst } pred semanticsLet[eval: Node->Int, l: Let] { eval[l] = bvadd[bvand[eval[l.tmp], l.m], bvand[bvshr[eval[l.tmp], l.n], l.m]] } pred semantics[eval: Node->Int] { all n: Node | one eval[n] all n: Let | semanticsLet[eval, n] } pred acyclic[r: univ->univ, s: set univ] { all x: s | x !in x.^r } fact { acyclic[tmp, Node] } fun sumBits[x: Int]: Int { bvadd[bvadd[bvadd[bvadd[bvadd[bvadd[bvadd[bveq[bvand[x, 0x01], 0x01] implies 1 else 0, bveq[bvand[x, 0x02], 0x02] implies 1 else 0], bveq[bvand[x, 0x04], 0x04] implies 1 else 0], bveq[bvand[x, 0x08], 0x08] implies 1 else 0], bveq[bvand[x, 0x10], 0x10] implies 1 else 0], bveq[bvand[x, 0x20], 0x20] implies 1 else 0], bveq[bvand[x, 0x40], 0x40] implies 1 else 0], bveq[bvand[x, 0x80], 0x80] implies 1 else 0] } pred synth[countSketch: Node] { all env: IntVar -> one Int { some eval: IntNode->Int when { env in eval semantics[eval] }{ let x1=eval[X1] | sumBits[x1] = eval[countSketch] } } } -------------------------------------------------------------------------------- -- Commands -------------------------------------------------------------------------------- // only necessary constants --> SAT (~10s) run synth for 0 but 8 Int, {bitwidth: 8, atoms: [0x00, 0x55, 0x33, 0x0F, 0x01, 0x02, 0x04]} ConstBV, {bitwidth: 8, atoms: [0x00, 0x55, 0x33, 0x0F, 0x01, 0x02, 0x04]} ShiftConst, exactly 3 Let // larger scope forconstants constants --> SAT (~190s) run synth for 0 but 8 Int, {atoms: 1..100} ConstBV, {atoms: 1..100} ShiftConst, exactly 3 Let // full scope for constants --> SAT // (https://github.com/rishabhs/sygus-comp14/blob/master/benchmarks/let-benchmarks/logcount-d5.sl) run synth for 0 but 8 Int, 8 ConstBV, 8 ShiftConst, exactly 3 Let // full scope for constants with optimization for ShiftConst --> SAT (~190s) run synth for 0 but 8 Int, 8 ConstBV, {atoms: 0..7} ShiftConst, exactly 3 Let // with constants from https://github.com/rishabhs/sygus-comp14/blob/master/benchmarks/let-benchmarks/logcount-d1.sl // --> UNSAT run synth for 0 but 8 Int, {bitwidth: 8, atoms: [0x00, 0xAA, 0xBB, 0xCC, 0xDD, 0xEE, 0xFF, 0xA0, 0xB0, 0xC0, 0xD0, 0xE0, 0xF0, 0x01, 0x02, 0x04]} ConstBV, {bitwidth: 8, atoms: [0x00, 0xAA, 0xBB, 0xCC, 0xDD, 0xEE, 0xFF, 0xA0, 0xB0, 0xC0, 0xD0, 0xE0, 0xF0, 0x01, 0x02, 0x04]} ShiftConst, exactly 3 Let expect 0 // with constants from https://github.com/rishabhs/sygus-comp14/blob/master/benchmarks/let-benchmarks/logcount.sl // --> UNSAT run synth for 0 but 8 Int, {bitwidth: 8, atoms: [0x00, 0xAA, 0xCC, 0xE0, 0x01, 0x02, 0x04]} ConstBV, {bitwidth: 8, atoms: [0x00, 0xAA, 0xCC, 0xE0, 0x01, 0x02, 0x04]} ShiftConst, exactly 3 Let expect 0 -------------------------------------------------------------------------------- -- Checks for verifying expected/found solutions -------------------------------------------------------------------------------- fun sumBitsExpected[x: Int]: Int { let x = bvadd[bvand[x, 0x55], bvand[bvshr[x, 1], 0x55]] | let x = bvadd[bvand[x, 0x33], bvand[bvshr[x, 2], 0x33]] | let x = bvadd[bvand[x, 0x0F], bvand[bvshr[x, 4], 0x0F]] | x } // fine because the semantics of bvshr in alloy/kodkod is bvshr[x, m] = bvshr[x, m % bitwidth(x)] fun sumBitsFoundByAlloy[x: Int]: Int { let x = bvadd[bvand[x, 0x55], bvand[bvshr[x, 57], 0x55]] | let x = bvadd[bvand[x, 0x33], bvand[bvshr[x, 58], 0x33]] | let x = bvadd[bvand[x, 0x7], bvand[bvshr[x, 68], 0x7]] | x } check checkExpectedSol { all x: Int | sumBits[x] = sumBitsExpected[x] } for 8 Int check checkFoundSol { all x: Int | sumBits[x] = sumBitsFoundByAlloy[x] } for 8 Int
snapshot/Ada/model-spec.ada
daemonl/openapi-codegen
0
7572
-- Swagger Petstore -- This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io](http://swagger.io) or on [irc.freenode.net, #swagger](http://swagger.io/irc/). For this sample, you can use the api key `special-key` to test the authorization filters. -- -- OpenAPI spec version: 1.0.0 -- Contact: <EMAIL> -- -- NOTE: This package is auto generated by the swagger code generator 1.5.0. -- https://github.com/swagger-api/swagger-codegen.git -- Do not edit the class manually.with IO.OpenAPI.Model.Default; with Swagger.Streams; with Ada.Containers.Vectors; package IO.OpenAPI.Api.Models is end IO.OpenAPI.Api.Models;
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/specs/integer_value.ads
best08618/asylo
7
934
-- { dg-do compile } package Integer_Value is X : constant Integer := Integer'Integer_Value (12.8); -- { dg-error "fixed-point type" "" } end Integer_Value;
spectranet/libspectranet/setpageb.asm
speccytools/spectranet-gdbserver
40
11038
; void setpageb(unsigned char page); PUBLIC setpageb EXTERN libspectranet include "spectranet.asm" .setpageb ld a, l call SETPAGEB_ROM ret
data/pokemon/base_stats/swalot.asm
AtmaBuster/pokeplat-gen2
6
96247
db 0 ; species ID placeholder db 100, 73, 83, 55, 73, 83 ; hp atk def spd sat sdf db POISON, POISON ; type db 75 ; catch rate db 168 ; base exp db NO_ITEM, BIG_PEARL ; items db GENDER_F50 ; gender ratio db 20 ; step cycles to hatch INCBIN "gfx/pokemon/swalot/front.dimensions" db GROWTH_FLUCTUATING ; growth rate dn EGG_INDETERMINATE, EGG_INDETERMINATE ; egg groups db 70 ; happiness ; tm/hm learnset tmhm WATER_PULSE, TOXIC, BULLET_SEED, HIDDEN_POWER, SUNNY_DAY, ICE_BEAM, HYPER_BEAM, PROTECT, RAIN_DANCE, GIGA_DRAIN, FRUSTRATION, SOLARBEAM, EARTHQUAKE, RETURN, SHADOW_BALL, DOUBLE_TEAM, SHOCK_WAVE, SLUDGE_BOMB, FACADE, SECRET_POWER, REST, ATTRACT, SNATCH, ENDURE, EXPLOSION, GIGA_IMPACT, CAPTIVATE, SLEEP_TALK, NATURAL_GIFT, DREAM_EATER, SWAGGER, SUBSTITUTE, STRENGTH, ROCK_SMASH, FIRE_PUNCH, GASTRO_ACID, GUNK_SHOT, ICE_PUNCH, MUD_SLAP, ROLLOUT, SEED_BOMB, SNORE, THUNDERPUNCH ; end
Data/Tuple/Equiv.agda
Lolirofle/stuff-in-agda
6
2254
module Data.Tuple.Equiv where import Lvl open import Data.Tuple as Tuple using (_⨯_ ; _,_) open import Structure.Function open import Structure.Operator open import Structure.Setoid open import Type private variable ℓ ℓₑ ℓₑ₁ ℓₑ₂ : Lvl.Level private variable A B : Type{ℓ} record Extensionality ⦃ equiv-A : Equiv{ℓₑ₁}(A) ⦄ ⦃ equiv-B : Equiv{ℓₑ₂}(B) ⦄ (equiv : Equiv{ℓₑ}(A ⨯ B)) : Type{Lvl.of(A) Lvl.⊔ Lvl.of(B) Lvl.⊔ ℓₑ₁ Lvl.⊔ ℓₑ₂ Lvl.⊔ ℓₑ} where constructor intro private instance _ = equiv field ⦃ [,]-function ⦄ : BinaryOperator(_,_) ⦃ left-function ⦄ : Function(Tuple.left) ⦃ right-function ⦄ : Function(Tuple.right)
Transynther/x86/_processed/AVXALIGN/_zr_/i9-9900K_12_0xa0.log_7884_775.asm
ljhsiun2/medusa
9
100802
<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r13 push %r9 push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_WC_ht+0x1aaf9, %rsi lea addresses_normal_ht+0xa965, %rdi nop nop nop nop nop xor %r9, %r9 mov $60, %rcx rep movsw nop nop nop and $9616, %rdx lea addresses_UC_ht+0x15b65, %rbx clflush (%rbx) nop nop nop xor $16345, %r9 mov $0x6162636465666768, %rsi movq %rsi, %xmm7 movups %xmm7, (%rbx) inc %rdx lea addresses_UC_ht+0x18165, %rbx nop nop nop dec %r13 movl $0x61626364, (%rbx) nop nop nop nop nop and $30447, %rbx lea addresses_WC_ht+0x7acd, %rcx and %rdi, %rdi and $0xffffffffffffffc0, %rcx vmovntdqa (%rcx), %ymm6 vextracti128 $0, %ymm6, %xmm6 vpextrq $0, %xmm6, %rdx nop nop nop nop xor %r9, %r9 lea addresses_A_ht+0x15e65, %rbx nop and $16020, %rdi mov $0x6162636465666768, %rdx movq %rdx, (%rbx) and %rdx, %rdx pop %rsi pop %rdx pop %rdi pop %rcx pop %rbx pop %r9 pop %r13 ret .global s_faulty_load s_faulty_load: push %r10 push %r11 push %r12 push %r14 push %rax push %rdi push %rsi // Store lea addresses_A+0x7473, %r10 nop nop add $27412, %rax movw $0x5152, (%r10) nop nop nop nop nop xor %r10, %r10 // Store lea addresses_D+0x53e5, %rsi nop nop nop nop sub $62465, %r12 movw $0x5152, (%rsi) nop sub %rax, %rax // Store mov $0x15ee530000000a9d, %r12 nop nop nop inc %rdi movw $0x5152, (%r12) nop nop cmp %r11, %r11 // Store lea addresses_UC+0x6265, %r11 nop nop sub %r14, %r14 mov $0x5152535455565758, %rdi movq %rdi, %xmm7 vmovups %ymm7, (%r11) cmp $63712, %rsi // Store lea addresses_A+0xa365, %rsi nop sub %r12, %r12 movl $0x51525354, (%rsi) nop nop sub %r10, %r10 // Store lea addresses_A+0x18565, %rax xor $24382, %rsi mov $0x5152535455565758, %r14 movq %r14, %xmm7 vmovups %ymm7, (%rax) nop nop nop nop and $34755, %r11 // Load lea addresses_US+0x10c2f, %rdi nop nop nop nop nop sub %r11, %r11 mov (%rdi), %rsi nop and $59945, %rdi // Load lea addresses_A+0x3965, %r11 nop nop nop nop sub %rdi, %rdi mov (%r11), %rax // Exception!!! nop nop nop nop mov (0), %rsi nop nop inc %r11 // Store lea addresses_UC+0x14305, %rax nop nop nop nop nop sub $64465, %r11 movb $0x51, (%rax) nop nop nop cmp %r14, %r14 // Store lea addresses_RW+0x7fe5, %rdi nop xor $51909, %r11 mov $0x5152535455565758, %r10 movq %r10, %xmm1 movups %xmm1, (%rdi) nop nop nop nop nop cmp $59197, %r11 // Faulty Load lea addresses_A+0x3965, %rdi nop nop nop nop nop xor %rax, %rax movb (%rdi), %r12b lea oracles, %rax and $0xff, %r12 shlq $12, %r12 mov (%rax,%r12,1), %r12 pop %rsi pop %rdi pop %rax pop %r14 pop %r12 pop %r11 pop %r10 ret /* <gen_faulty_load> [REF] {'src': {'NT': False, 'same': True, 'congruent': 0, 'type': 'addresses_A', 'AVXalign': False, 'size': 4}, 'OP': 'LOAD'} {'OP': 'STOR', 'dst': {'NT': False, 'same': False, 'congruent': 1, 'type': 'addresses_A', 'AVXalign': False, 'size': 2}} {'OP': 'STOR', 'dst': {'NT': False, 'same': False, 'congruent': 5, 'type': 'addresses_D', 'AVXalign': False, 'size': 2}} {'OP': 'STOR', 'dst': {'NT': False, 'same': False, 'congruent': 3, 'type': 'addresses_NC', 'AVXalign': False, 'size': 2}} {'OP': 'STOR', 'dst': {'NT': False, 'same': False, 'congruent': 7, 'type': 'addresses_UC', 'AVXalign': False, 'size': 32}} {'OP': 'STOR', 'dst': {'NT': False, 'same': False, 'congruent': 7, 'type': 'addresses_A', 'AVXalign': False, 'size': 4}} {'OP': 'STOR', 'dst': {'NT': False, 'same': False, 'congruent': 10, 'type': 'addresses_A', 'AVXalign': False, 'size': 32}} {'src': {'NT': False, 'same': False, 'congruent': 1, 'type': 'addresses_US', 'AVXalign': True, 'size': 8}, 'OP': 'LOAD'} {'src': {'NT': False, 'same': True, 'congruent': 0, 'type': 'addresses_A', 'AVXalign': False, 'size': 8}, 'OP': 'LOAD'} {'OP': 'STOR', 'dst': {'NT': False, 'same': False, 'congruent': 5, 'type': 'addresses_UC', 'AVXalign': False, 'size': 1}} {'OP': 'STOR', 'dst': {'NT': False, 'same': False, 'congruent': 6, 'type': 'addresses_RW', 'AVXalign': False, 'size': 16}} [Faulty Load] {'src': {'NT': True, 'same': True, 'congruent': 0, 'type': 'addresses_A', 'AVXalign': True, 'size': 1}, 'OP': 'LOAD'} <gen_prepare_buffer> {'src': {'same': False, 'congruent': 2, 'type': 'addresses_WC_ht'}, 'OP': 'REPM', 'dst': {'same': False, 'congruent': 11, 'type': 'addresses_normal_ht'}} {'OP': 'STOR', 'dst': {'NT': False, 'same': False, 'congruent': 8, 'type': 'addresses_UC_ht', 'AVXalign': False, 'size': 16}} {'OP': 'STOR', 'dst': {'NT': False, 'same': False, 'congruent': 9, 'type': 'addresses_UC_ht', 'AVXalign': False, 'size': 4}} {'src': {'NT': True, 'same': False, 'congruent': 0, 'type': 'addresses_WC_ht', 'AVXalign': False, 'size': 32}, 'OP': 'LOAD'} {'OP': 'STOR', 'dst': {'NT': True, 'same': False, 'congruent': 7, 'type': 'addresses_A_ht', 'AVXalign': False, 'size': 8}} {'00': 7884} 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 */
Transynther/x86/_processed/NONE/_st_/i7-7700_9_0x48.log_21829_565.asm
ljhsiun2/medusa
9
87138
<filename>Transynther/x86/_processed/NONE/_st_/i7-7700_9_0x48.log_21829_565.asm .global s_prepare_buffers s_prepare_buffers: push %r10 push %r8 push %rax push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_WC_ht+0x1bccb, %rsi lea addresses_D_ht+0x15b3f, %rdi nop nop nop nop cmp %r8, %r8 mov $65, %rcx rep movsb add %rsi, %rsi lea addresses_normal_ht+0x1a441, %rsi nop nop nop xor $44772, %rcx vmovups (%rsi), %ymm4 vextracti128 $0, %ymm4, %xmm4 vpextrq $0, %xmm4, %rdx nop and $61523, %rcx lea addresses_D_ht+0x1553f, %rsi lea addresses_D_ht+0x9e87, %rdi clflush (%rdi) nop nop cmp $33473, %rax mov $20, %rcx rep movsq nop nop cmp $34292, %rax lea addresses_WT_ht+0x1c93f, %rdi nop nop sub %rbx, %rbx mov (%rdi), %rcx nop nop nop inc %rsi lea addresses_WT_ht+0x1032f, %rsi lea addresses_WT_ht+0x663f, %rdi clflush (%rdi) inc %r10 mov $35, %rcx rep movsl add %rsi, %rsi lea addresses_WC_ht+0x700, %rsi lea addresses_D_ht+0x1af3f, %rdi nop nop xor $12944, %rax mov $31, %rcx rep movsq nop nop nop nop nop sub $41488, %rcx lea addresses_D_ht+0x727f, %rax nop nop dec %r10 mov $0x6162636465666768, %r8 movq %r8, %xmm0 movups %xmm0, (%rax) add %rdi, %rdi lea addresses_WC_ht+0x7bb9, %rbx xor $59065, %r8 movb $0x61, (%rbx) nop nop nop nop nop sub %r8, %r8 lea addresses_WC_ht+0x1e4bf, %rcx sub %rax, %rax mov (%rcx), %rdi nop nop nop nop inc %r10 lea addresses_A_ht+0x1be4f, %rbx nop xor $13106, %rdx movb (%rbx), %r10b nop nop dec %r8 lea addresses_normal_ht+0xb3f, %rsi lea addresses_A_ht+0x433f, %rdi sub $31847, %rbx mov $123, %rcx rep movsb nop nop nop nop nop sub %rbx, %rbx lea addresses_WC_ht+0x1433f, %rdx nop nop nop nop xor $37503, %r10 movb (%rdx), %cl nop nop nop nop inc %rax lea addresses_normal_ht+0x1083f, %rdx inc %rdi mov $0x6162636465666768, %r10 movq %r10, (%rdx) nop nop nop sub %rdi, %rdi lea addresses_A_ht+0xa83f, %rsi lea addresses_WT_ht+0x10a3f, %rdi nop nop nop nop sub %rax, %rax mov $114, %rcx rep movsb add $27004, %rbx pop %rsi pop %rdx pop %rdi pop %rcx pop %rbx pop %rax pop %r8 pop %r10 ret .global s_faulty_load s_faulty_load: push %r12 push %r13 push %r15 push %r8 push %rax push %rcx push %rdx // Store mov $0xb3f, %rcx nop nop and %r12, %r12 movw $0x5152, (%rcx) nop and %r15, %r15 // Load lea addresses_PSE+0x1cb3f, %r8 nop nop nop nop nop sub $48424, %r13 movups (%r8), %xmm0 vpextrq $1, %xmm0, %rax nop add $1326, %r8 // Store mov $0x24897200000008bf, %r12 cmp %rax, %rax mov $0x5152535455565758, %r8 movq %r8, (%r12) xor $40846, %r8 // Load mov $0x5375e80000000fff, %r8 nop nop nop nop nop and $42805, %r15 movups (%r8), %xmm6 vpextrq $0, %xmm6, %rdx dec %rcx // Store mov $0xb3f, %r12 nop nop nop nop nop xor %rax, %rax movl $0x51525354, (%r12) nop cmp $20986, %r8 // Store lea addresses_normal+0x13f1c, %rax nop nop nop nop add %r12, %r12 movl $0x51525354, (%rax) nop nop nop nop cmp $61295, %rcx // Store lea addresses_UC+0x12b3f, %r15 nop nop add $51822, %r8 mov $0x5152535455565758, %r12 movq %r12, %xmm6 vmovups %ymm6, (%r15) nop nop sub %r15, %r15 // Store lea addresses_WT+0xd667, %r12 nop nop and %r8, %r8 movw $0x5152, (%r12) sub %rdx, %rdx // Faulty Load lea addresses_UC+0xab3f, %rcx nop nop nop nop nop cmp $23858, %r13 movb (%rcx), %r15b lea oracles, %r8 and $0xff, %r15 shlq $12, %r15 mov (%r8,%r15,1), %r15 pop %rdx pop %rcx pop %rax pop %r8 pop %r15 pop %r13 pop %r12 ret /* <gen_faulty_load> [REF] {'OP': 'LOAD', 'src': {'type': 'addresses_UC', 'AVXalign': False, 'congruent': 0, 'size': 8, 'same': False, 'NT': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_P', 'AVXalign': False, 'congruent': 11, 'size': 2, 'same': False, 'NT': False}} {'OP': 'LOAD', 'src': {'type': 'addresses_PSE', 'AVXalign': False, 'congruent': 10, 'size': 16, 'same': False, 'NT': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_NC', 'AVXalign': False, 'congruent': 6, 'size': 8, 'same': False, 'NT': True}} {'OP': 'LOAD', 'src': {'type': 'addresses_NC', 'AVXalign': False, 'congruent': 5, 'size': 16, 'same': False, 'NT': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_P', 'AVXalign': False, 'congruent': 11, 'size': 4, 'same': False, 'NT': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_normal', 'AVXalign': False, 'congruent': 0, 'size': 4, 'same': False, 'NT': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_UC', 'AVXalign': False, 'congruent': 11, 'size': 32, 'same': False, 'NT': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_WT', 'AVXalign': False, 'congruent': 0, 'size': 2, 'same': False, 'NT': False}} [Faulty Load] {'OP': 'LOAD', 'src': {'type': 'addresses_UC', 'AVXalign': False, 'congruent': 0, 'size': 1, 'same': True, 'NT': False}} <gen_prepare_buffer> {'OP': 'REPM', 'src': {'type': 'addresses_WC_ht', 'congruent': 2, 'same': True}, 'dst': {'type': 'addresses_D_ht', 'congruent': 10, 'same': False}} {'OP': 'LOAD', 'src': {'type': 'addresses_normal_ht', 'AVXalign': False, 'congruent': 1, 'size': 32, 'same': False, 'NT': False}} {'OP': 'REPM', 'src': {'type': 'addresses_D_ht', 'congruent': 9, 'same': False}, 'dst': {'type': 'addresses_D_ht', 'congruent': 2, 'same': True}} {'OP': 'LOAD', 'src': {'type': 'addresses_WT_ht', 'AVXalign': False, 'congruent': 9, 'size': 8, 'same': False, 'NT': False}} {'OP': 'REPM', 'src': {'type': 'addresses_WT_ht', 'congruent': 0, 'same': False}, 'dst': {'type': 'addresses_WT_ht', 'congruent': 8, 'same': False}} {'OP': 'REPM', 'src': {'type': 'addresses_WC_ht', 'congruent': 0, 'same': False}, 'dst': {'type': 'addresses_D_ht', 'congruent': 10, 'same': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_D_ht', 'AVXalign': False, 'congruent': 6, 'size': 16, 'same': False, 'NT': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_WC_ht', 'AVXalign': False, 'congruent': 1, 'size': 1, 'same': False, 'NT': False}} {'OP': 'LOAD', 'src': {'type': 'addresses_WC_ht', 'AVXalign': False, 'congruent': 4, 'size': 8, 'same': False, 'NT': False}} {'OP': 'LOAD', 'src': {'type': 'addresses_A_ht', 'AVXalign': False, 'congruent': 2, 'size': 1, 'same': False, 'NT': False}} {'OP': 'REPM', 'src': {'type': 'addresses_normal_ht', 'congruent': 10, 'same': False}, 'dst': {'type': 'addresses_A_ht', 'congruent': 11, 'same': False}} {'OP': 'LOAD', 'src': {'type': 'addresses_WC_ht', 'AVXalign': False, 'congruent': 9, 'size': 1, 'same': False, 'NT': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_normal_ht', 'AVXalign': False, 'congruent': 8, 'size': 8, 'same': False, 'NT': False}} {'OP': 'REPM', 'src': {'type': 'addresses_A_ht', 'congruent': 7, 'same': False}, 'dst': {'type': 'addresses_WT_ht', 'congruent': 7, 'same': False}} {'58': 21829} 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 */
orka/src/orka/interface/orka-cameras-rotate_around_cameras.ads
onox/orka
52
6518
<reponame>onox/orka<gh_stars>10-100 -- SPDX-License-Identifier: Apache-2.0 -- -- Copyright (c) 2017 onox <<EMAIL>> -- -- 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. package Orka.Cameras.Rotate_Around_Cameras is pragma Preelaborate; type Rotate_Around_Camera is new Third_Person_Camera with private; procedure Set_Angles (Object : in out Rotate_Around_Camera; Alpha : Angle; Beta : Angle); procedure Set_Radius (Object : in out Rotate_Around_Camera; Radius : Distance); procedure Change_Orientation (Object : in out Rotate_Around_Camera; Value : Vector4); overriding function View_Matrix (Object : Rotate_Around_Camera) return Transforms.Matrix4; overriding function View_Matrix_Inverse (Object : Rotate_Around_Camera) return Transforms.Matrix4; overriding function View_Position (Object : Rotate_Around_Camera) return Vector4; overriding procedure Update (Object : in out Rotate_Around_Camera; Delta_Time : Duration); overriding function Create_Camera (Lens : Camera_Lens) return Rotate_Around_Camera; private type Rotate_Around_Camera is new Third_Person_Camera with record Alpha : Angle := 0.0; Beta : Angle := 0.0; Radius : Distance := 1.0; Updater : Change_Updater_Ptr := new Change_Updater; end record; end Orka.Cameras.Rotate_Around_Cameras;
Transynther/x86/_processed/NONE/_xt_sm_/i9-9900K_12_0xa0_notsx.log_12_709.asm
ljhsiun2/medusa
9
105514
<reponame>ljhsiun2/medusa<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r8 push %rcx push %rdi push %rsi lea addresses_UC_ht+0xabc3, %rsi lea addresses_WT_ht+0x15da1, %rdi nop nop nop nop nop add $25845, %r12 mov $22, %rcx rep movsw nop nop nop nop xor $18556, %r8 lea addresses_D_ht+0x7fe1, %rsi lea addresses_WT_ht+0x10e51, %rdi cmp $2366, %r11 mov $107, %rcx rep movsq and $21097, %r12 pop %rsi pop %rdi pop %rcx pop %r8 pop %r12 pop %r11 ret .global s_faulty_load s_faulty_load: push %r11 push %r14 push %r15 push %r9 push %rbx push %rcx push %rsi // Store lea addresses_PSE+0x139a1, %r9 nop nop nop add $44308, %r14 mov $0x5152535455565758, %rbx movq %rbx, (%r9) nop nop nop add $10815, %r9 // Store lea addresses_WT+0x12fa1, %r14 nop nop nop nop nop xor %rcx, %rcx movw $0x5152, (%r14) nop nop xor %r14, %r14 // Store lea addresses_normal+0x101b9, %r15 nop nop nop add %rbx, %rbx mov $0x5152535455565758, %rcx movq %rcx, %xmm5 movntdq %xmm5, (%r15) nop nop nop nop add $39641, %r14 // Store lea addresses_WT+0x24a1, %r9 nop xor $15846, %rcx mov $0x5152535455565758, %r14 movq %r14, %xmm5 movups %xmm5, (%r9) nop nop nop add $44821, %r11 // Store lea addresses_D+0x148a1, %rsi nop nop and %r9, %r9 mov $0x5152535455565758, %r11 movq %r11, %xmm2 vmovups %ymm2, (%rsi) nop inc %r11 // Store lea addresses_US+0x19549, %r9 nop nop xor %rcx, %rcx movw $0x5152, (%r9) nop nop nop nop inc %rbx // Faulty Load lea addresses_PSE+0x139a1, %rsi nop nop nop nop sub $21527, %r15 mov (%rsi), %ecx lea oracles, %r15 and $0xff, %rcx shlq $12, %rcx mov (%r15,%rcx,1), %rcx pop %rsi pop %rcx pop %rbx pop %r9 pop %r15 pop %r14 pop %r11 ret /* <gen_faulty_load> [REF] {'src': {'type': 'addresses_PSE', 'AVXalign': False, 'size': 4, 'NT': False, 'same': False, 'congruent': 0}, 'OP': 'LOAD'} {'OP': 'STOR', 'dst': {'type': 'addresses_PSE', 'AVXalign': False, 'size': 8, 'NT': False, 'same': True, 'congruent': 0}} {'OP': 'STOR', 'dst': {'type': 'addresses_WT', 'AVXalign': False, 'size': 2, 'NT': False, 'same': False, 'congruent': 9}} {'OP': 'STOR', 'dst': {'type': 'addresses_normal', 'AVXalign': False, 'size': 16, 'NT': True, 'same': False, 'congruent': 2}} {'OP': 'STOR', 'dst': {'type': 'addresses_WT', 'AVXalign': False, 'size': 16, 'NT': False, 'same': False, 'congruent': 8}} {'OP': 'STOR', 'dst': {'type': 'addresses_D', 'AVXalign': False, 'size': 32, 'NT': False, 'same': False, 'congruent': 8}} {'OP': 'STOR', 'dst': {'type': 'addresses_US', 'AVXalign': False, 'size': 2, 'NT': False, 'same': False, 'congruent': 2}} [Faulty Load] {'src': {'type': 'addresses_PSE', 'AVXalign': False, 'size': 4, 'NT': False, 'same': True, 'congruent': 0}, 'OP': 'LOAD'} <gen_prepare_buffer> {'src': {'type': 'addresses_UC_ht', 'congruent': 1, 'same': False}, 'OP': 'REPM', 'dst': {'type': 'addresses_WT_ht', 'congruent': 8, 'same': False}} {'src': {'type': 'addresses_D_ht', 'congruent': 4, 'same': False}, 'OP': 'REPM', 'dst': {'type': 'addresses_WT_ht', 'congruent': 3, 'same': False}} {'58': 12} 58 58 58 58 58 58 58 58 58 58 58 58 */
programs/oeis/048/A048027.asm
neoneye/loda
22
18994
<gh_stars>10-100 ; A048027: Number of nonempty subsets of {1,2,...,n} in which exactly 1/2 of the elements are <= (n-3)/3. ; 0,0,0,0,0,5,6,7,35,44,54,219,285,363,1364,1819,2379,8567,11627,15503,54263,74612,100946,346103,480699,657799,2220074,3108104,4292144,14307149,20160074,28048799,92561039,131128139,183579395 mov $2,$0 add $0,1 sub $2,2 div $2,3 bin $0,$2 sub $0,1
src/sdl-inputs-mice.ads
alire-project/sdlada
0
30712
<reponame>alire-project/sdlada -------------------------------------------------------------------------------------------------------------------- -- Copyright (c) 2013-2018 <NAME> -- -- This software is provided 'as-is', without any express or implied -- warranty. In no event will the authors be held liable for any damages -- arising from the use of this software. -- -- Permission is granted to anyone to use this software for any purpose, -- including commercial applications, and to alter it and redistribute it -- freely, subject to the following restrictions: -- -- 1. The origin of this software must not be misrepresented; you must not -- claim that you wrote the original software. If you use this software -- in a product, an acknowledgment in the product documentation would be -- appreciated but is not required. -- -- 2. Altered source versions must be plainly marked as such, and must not be -- misrepresented as being the original software. -- -- 3. This notice may not be removed or altered from any source -- distribution. -------------------------------------------------------------------------------------------------------------------- -- SDL.Inputs.Mice -------------------------------------------------------------------------------------------------------------------- with SDL.Events.Mice; with SDL.Video.Windows; package SDL.Inputs.Mice is Mice_Error : exception; type Cursor_Toggles is (Off, On); for Cursor_Toggles use (Off => 0, On => 1); type Supported is (Yes, No); -- TODO: Re-enable this when the library links against 2.0.4! -- function Capture (Enabled : in Boolean) return Supported; -- SDL_CreateColorCursor -- SDL_CreateCursor -- SDL_CreateSystemCursor -- SDL_FreeCursor -- SDL_GetCursor -- SDL_GetDefaultCursor -- TODO: Re-enable this when the library links against 2.0.4! -- function Get_Global_State (X_Relative, Y_Relative : out SDL.Events.Mice.Movement_Values) return -- SDL.Events.Mice.Button_Masks; -- SDL_GetMouseFocus function Get_State (X_Relative, Y_Relative : out SDL.Events.Mice.Movement_Values) return SDL.Events.Mice.Button_Masks; function In_Relative_Mode return Boolean; function Get_Relative_State (X_Relative, Y_Relative : out SDL.Events.Mice.Movement_Values) return SDL.Events.Mice.Button_Masks; -- SDL_SetCursor procedure Set_Relative_Mode (Enable : in Boolean); -- SDL_ShowCursor -- TODO: Re-enable this when the library links against 2.0.4! -- Move the mouse to (x, y) on the screen. -- procedure Warp (X, Y : in SDL.Events.Mice.Screen_Coordinates); -- -- Move the mouse to (x, y) in the specified window. -- procedure Warp (Window : in SDL.Video.Windows.Window; X, Y : in SDL.Events.Mice.Window_Coordinates); end SDL.Inputs.Mice;
clafer/src/Language/Clafer/Generator/stateTrace.als
benjaminselfridge/clafer
26
3766
/* Definition of timed traces (input independent) */ sig State {} private one sig Ord { First: set State, Next: State -> State } { pred/totalOrder[State,First,Next] } lone sig back in State {} fun loop : State -> State { last -> back } fun first: one State { Ord.First } fun last: one State { State - ((Ord.Next).State) } fun next : State->State { Ord.Next + loop } fun prev : State->State { ~this/next } fun past : State->State { ^(~this/next) } fun future : State -> State { State <: *this/next } fun upto[s,s' : State] : set State { (s' in s.*(Ord.Next) or finite) implies s.future & ^(Ord.Next).s' else s.*(Ord.Next) + (^(Ord.Next).s' & back.*(Ord.Next)) } pred finite { no loop } pred infinite { some loop } fun localFirst [rel: univ->univ->State, parentSet: univ, child: univ] : State { let lifetime = child.(parentSet.rel) | lifetime - (lifetime.next) } pred total[rel: univ->univ->State, children: univ] { children = ~(rel.State).univ }
Source/HBIOS/bqrtc.asm
vipoo/RomWBW
1
22719
;================================================================================================== ; Benchmark BQ4845P RTC Driver ;================================================================================================== ; Register Addresses (HEX / BCD): ; +---+-----+--------------+-------------------+------------------+----------------+ ; |ADR| D7 | D6 | D5 | D4 | D3 | D2 | D1 | D0 | RANGE | REGISTER | ; +---+-----+--------------+-------------------+------------------+----------------+ ; | 0 | 0 | 10-Second | 1-Second | 00-59 | Seconds | ; +---+-----+----+---------+-------------------+------------------+----------------+ ; | | ALM1|ALM2| | | | | ; | 1 | | 10-Second | 1-Second | 00-59 | Seconds Alarm | ; +---+-----+--------------+-------------------+------------------+----------------+ ; | 2 | 0 | 10-Minute | 1-Minute | 00-59 | Minutes | ; +---+-----+----+---------+-------------------+------------------+----------------+ ; | | ALM1|ARM0| | | | | ; | 3 | | 10-Minute | 1-Minute | 00-59 | Minutes Alarm | ; +---+-----+----+---------+-------------------+------------------+----------------+ ; | 4 |PM/AM| 0 | 10-Hour | 1-Hour |01-12 AM/81-92 PM | Hours | ; +---+-----+----+----+----+-------------------+------------------+----------------+ ; | | ALM1| | | | | | ; | 5 |PM/AM|ALM0| 10-Hour | 1-Hour |01-12 AM/81-92 PM | Hours Alarm | ; +---+-----+----+----+----+-------------------+------------------+----------------+ ; | 6 | 0 | 0 | 10-Day | 1-Day | 01-31 | Day | ; +---+-----+----+----+----+-------------------+------------------+----------------+ ; | 7 | ALM1|ALM0| 10-day | 1-Day | 01-31 | Day Alarm | ; +---+-----+----+----+----+----+--------------+------------------+----------------+ ; | 8 | 0 | 0 | 0 | 0 | 0 | Day Of Week | 01-07 | Day Of Week | ; +---+-----+----+----+----+----+--------------+------------------+----------------+ ; | 9 | 0 | 0 | 0 |10Mo| 1-Month | 01-12 | Month | ; +---+-----+----+----+----+-------------------+------------------+----------------+ ; | A | 10-Year | 1-Year | 00-99 | Year | ; +---+-----+----+----+----+----+----+----+----+------------------+----------------+ ; | B | * | WD2| WD1| WD0| RS3| RS2| RS1| RS0| | Rates | ; +---+-----+----+----+----+----+----+----+----+------------------+----------------+ ; | C | * | * | * | * | AIE| PIE|PWRE| ABE| | Interrupt | ; +---+-----+----+----+----+----+----+----+----+------------------+----------------+ ; | D | * | * | * | * | AF | PF |PWRF| BVF| | Flags | ; +---+-----+----+----+----+----+----+----+----+------------------+----------------+ ; | E | * | * | * | * | UTI|STOP|2412| DSE| | Control | ; +---+-----+----+----+----+----+----+----+----+------------------+----------------+ ; | F | * | * | * | * | * | * | * | * | | Unused | ; +---+-----+----+----+----+----+----+----+----+------------------+----------------+ ; * = Unused bits; unwritable and read as 0. ; 0 = should be set to 0 for valid time/calendar range. ; Clock calendar data is BCD. Automatic leap year adjustment. ; PM/AM = 1 for PM; PM/AM = 0 for AM. ; DSE = 1 enable daylight savings adjustment. ; 24/12 = 1 enable 24-hour data representation; 24/12 = 0 enables 12-hour data representation. ; Day-Of-Week coded as Sunday = 1 through Saturday = 7. ; BVF = 1 for valid battery. ; STOP = 1 turns the RTC on; STOP = 0 stops the RTC in back-up mode. ; Constants BQRTC_SEC .EQU BQRTC_BASE + $00 BQRTC_SEC_ALM .EQU BQRTC_BASE + $01 BQRTC_MIN .EQU BQRTC_BASE + $02 BQRTC_MIN_ALM .EQU BQRTC_BASE + $03 BQRTC_HOUR .EQU BQRTC_BASE + $04 BQRTC_HOUR_ALM .EQU BQRTC_BASE + $05 BQRTC_DAY .EQU BQRTC_BASE + $06 BQRTC_DAY_ALM .EQU BQRTC_BASE + $07 BQRTC_WEEK_DAY .EQU BQRTC_BASE + $08 BQRTC_MONTH .EQU BQRTC_BASE + $09 BQRTC_YEAR .EQU BQRTC_BASE + $0A BQRTC_RATE .EQU BQRTC_BASE + $0B BQRTC_INTERRUPT .EQU BQRTC_BASE + $0C BQRTC_FLAGS .EQU BQRTC_BASE + $0D BQRTC_CONTROL .EQU BQRTC_BASE + $0E BQRTC_UNUSED .EQU BQRTC_BASE + $0F BQRTC_HIGH .EQU %11110000 BQRTC_LOW .EQU %00001111 BQRTC_WD .EQU %01110000 BQRTC_RS .EQU %00001111 BQRTC_BVF .EQU %00000001 BQRTC_PWRF .EQU %00000010 BQRTC_PF .EQU %00000100 BQRTC_AF .EQU %00001000 BQRTC_DSE .EQU %00000001 BQRTC_2412 .EQU %00000010 BQRTC_STOP .EQU %00000100 BQRTC_UTI .EQU %00001000 BQRTC_BUFSIZE .EQU 6 ; 6 BYTE BUFFER (YYMMDDHHMMSS) ; RTC Device Initialization Entry BQRTC_INIT: LD A,(RTC_DISPACT) ; RTC DISPATCHER ALREADY SET? OR A ; SET FLAGS RET NZ ; IF ALREADY ACTIVE, ABORT ; CALL NEWLINE ; Formatting PRTS("BQRTC: IO=0x$") LD A, BQRTC_BASE CALL PRTHEXBYTE LD A, BQRTC_DSE | BQRTC_2412 | BQRTC_STOP | BQRTC_UTI OUT0 (BQRTC_CONTROL), A ; Enable Daylight Savings and 24 Hour XOR A ; Zero A OUT0 (BQRTC_RATE), A ; Disable Periodic Interrupt Rate OUT0 (BQRTC_INTERRUPT), A ; Disable Interrupts CALL BQRTC_LOAD ; DISPLAY CURRENT TIME PRTS(" $") LD A, (BQRTC_BUF_MON) CALL PRTHEXBYTE PRTS("/$") LD A, (BQRTC_BUF_DAY) CALL PRTHEXBYTE PRTS("/$") LD A, (BQRTC_BUF_YEAR) CALL PRTHEXBYTE PRTS(" $") LD A, (BQRTC_BUF_HOUR) CALL PRTHEXBYTE PRTS(":$") LD A, (BQRTC_BUF_MIN) CALL PRTHEXBYTE PRTS(":$") LD A, (BQRTC_BUF_SEC) CALL PRTHEXBYTE LD BC,BQRTC_DISPATCH CALL RTC_SETDISP XOR A ; Signal success RET ; RTC Device Function Dispatch Entry ; A: Result (OUT), 0=OK, Z=OK, NZ=Error ; B: Function (IN) BQRTC_DISPATCH: LD A, B ; Get requested function AND $0F ; Isolate Sub-Function JP Z, BQRTC_GETTIM ; Get Time DEC A JP Z, BQRTC_SETTIM ; Set Time DEC A JP Z, BQRTC_GETBYT ; Get NVRAM Byte Value DEC A JP Z, BQRTC_SETBYT ; Set NVRAM Byte Value DEC A JP Z, BQRTC_GETBLK ; Get NVRAM Data Block Value DEC A JP Z, BQRTC_SETBLK ; Set NVRAM Data Block Value DEC A JP Z, BQRTC_GETALM ; Get Alarm DEC A JP Z, BQRTC_SETALM ; Set Alarm DEC A JP Z, BQRTC_DEVICE ; Report RTC device info CALL SYSCHK LD A,ERR_NOFUNC OR A RET ; ; NVRAM FUNCTIONS ARE NOT AVAILABLE ; BQRTC_GETBYT: BQRTC_SETBYT: BQRTC_GETBLK: BQRTC_SETBLK: CALL SYSCHK LD A,ERR_NOTIMPL OR A RET ; RTC Get Time ; A: Result (OUT), 0=OK, Z=OK, NZ=Error ; HL: Date/Time Buffer (OUT) ; Buffer format is BCD: YYMMDDHHMMSS ; 24 hour time format is assumed ; BQRTC_GETTIM: EX DE, HL CALL BQRTC_LOAD ; Now copy to read destination (Interbank Save) LD A, BID_BIOS ; Copy from BIOS bank LD (HB_SRCBNK), A ; Set it LD A, (HB_INVBNK) ; Copy to current user bank LD (HB_DSTBNK), A ; Set it LD BC, BQRTC_BUFSIZE ; Length is 6 bytes #IF (INTMODE == 1) DI #ENDIF CALL HB_BNKCPY ; Copy the clock data #IF (INTMODE == 1) EI #ENDIF ; ; CLEAN UP AND RETURN XOR A ; SIGNAL SUCCESS RET ; AND RETURN ; ; RTC Set Time ; A: Result (OUT), 0=OK, Z=OK, NZ=Error ; HL: Date/Time Buffer (IN) ; Buffer Format is BCD: YYMMDDHHMMSS ; 24 hour time format is assumed ; BQRTC_SETTIM: ; ; Copy incoming time data to our time buffer LD A, (HB_INVBNK) ; Copy from current user bank LD (HB_SRCBNK), A ; Set it LD A, BID_BIOS ; Copy to BIOS bank LD (HB_DSTBNK), A ; Set it LD DE, BQRTC_BUF ; Destination Address LD BC, BQRTC_BUFSIZE ; Length is 6 bytes #IF (INTMODE == 1) DI #ENDIF CALL HB_BNKCPY ; Copy the clock data #IF (INTMODE == 1) EI #ENDIF ; Write to clock LD HL, BQRTC_BUF CALL BQRTC_SUSPEND LD A, (HL) OUT0 (BQRTC_YEAR), A ; Write Year INC HL LD A, (HL) OUT0 (BQRTC_MONTH), A ; Write Month INC HL LD A, (HL) OUT0 (BQRTC_DAY), A ; Write Day INC HL LD A, (HL) OUT0 (BQRTC_HOUR), A ; Write Hour INC HL LD A, (HL) OUT0 (BQRTC_MIN), A ; Write Minute INC HL LD A, (HL) OUT0 (BQRTC_SEC), A ; Write Second CALL BQRTC_RESUME ; clean up and return XOR A ; Signal success RET ; And return ; RTC Get Alarm ; A: Result (OUT), 0=OK, Z=OK, NZ=Error ; HL: Date/Time Buffer (OUT) ; Buffer format is BCD: YYMMDDHHMMSS ; 24 hour time format is assumed ; BQRTC_GETALM: EX DE, HL LD HL, BQRTC_BUF PUSH HL ; Save address of source buffer CALL BQRTC_SUSPEND XOR A LD (HL), A ; Read Year INC HL LD (HL), A ; Read Month INC HL IN0 A, (BQRTC_DAY_ALM) ; Read Day LD (HL), A INC HL IN0 A, (BQRTC_HOUR_ALM) ; Read Hour LD (HL), A INC HL IN0 A, (BQRTC_MIN_ALM) ; Read Minute LD (HL), A INC HL IN0 A, (BQRTC_SEC_ALM) ; Read Second LD (HL), A CALL BQRTC_RESUME POP HL ; Restore address of source buffer ; Now copy to read destination (Interbank Save) LD A, BID_BIOS ; Copy from BIOS bank LD (HB_SRCBNK), A ; Set it LD A, (HB_INVBNK) ; Copy to current user bank LD (HB_DSTBNK), A ; Set it LD BC, BQRTC_BUFSIZE ; Length is 6 bytes #IF (INTMODE == 1) DI #ENDIF CALL HB_BNKCPY ; Copy the clock data #IF (INTMODE == 1) EI #ENDIF ; ; CLEAN UP AND RETURN XOR A ; SIGNAL SUCCESS RET ; AND RETURN ; ; RTC Set Alarm ; A: Result (OUT), 0=OK, Z=OK, NZ=Error ; HL: Date/Time Buffer (IN) ; Buffer Format is BCD: YYMMDDHHMMSS ; 24 hour time format is assumed ; BQRTC_SETALM: ; Copy incoming time data to our time buffer LD A, (HB_INVBNK) ; Copy from current user bank LD (HB_SRCBNK), A ; Set it LD A, BID_BIOS ; Copy to BIOS bank LD (HB_DSTBNK), A ; Set it LD DE, BQRTC_BUF ; Destination Address LD BC, BQRTC_BUFSIZE ; Length is 6 bytes #IF (INTMODE == 1) DI #ENDIF CALL HB_BNKCPY ; Copy the clock data #IF (INTMODE == 1) EI #ENDIF ; Write to clock LD HL, BQRTC_BUF_DAY CALL BQRTC_SUSPEND LD A, (HL) OUT0 (BQRTC_DAY_ALM), A ; Write Day INC HL LD A, (HL) OUT0 (BQRTC_HOUR_ALM), A ; Write Hour INC HL LD A, (HL) OUT0 (BQRTC_MIN_ALM), A ; Write Minute INC HL LD A, (HL) OUT0 (BQRTC_SEC_ALM), A ; Write Second CALL BQRTC_RESUME ; clean up and return XOR A ; Signal success RET ; And return ; ; REPORT RTC DEVICE INFO ; BQRTC_DEVICE: LD D,RTCDEV_BQ ; D := DEVICE TYPE LD E,0 ; E := PHYSICAL DEVICE NUMBER LD H,0 ; H := 0, DRIVER HAS NO MODES LD L,BQRTC_BASE ; L := BASE I/O ADDRESS XOR A ; SIGNAL SUCCESS RET BQRTC_SUSPEND: IN0 A, (BQRTC_CONTROL) ; Suspend Clock OR BQRTC_UTI OUT0 (BQRTC_CONTROL), A RET BQRTC_RESUME: IN0 A, (BQRTC_CONTROL) ; Resume Clock AND ~BQRTC_UTI OUT0 (BQRTC_CONTROL), A RET BQRTC_LOAD: LD HL, BQRTC_BUF PUSH HL ; Save address of source buffer CALL BQRTC_SUSPEND IN0 A, (BQRTC_YEAR) ; Read Year LD (HL), A INC HL IN0 A, (BQRTC_MONTH) ; Read Month LD (HL), A INC HL IN0 A, (BQRTC_DAY) ; Read Day LD (HL), A INC HL IN0 A, (BQRTC_HOUR) ; Read Hour LD (HL), A INC HL IN0 A, (BQRTC_MIN) ; Read Minute LD (HL), A INC HL IN0 A, (BQRTC_SEC) ; Read Second LD (HL), A CALL BQRTC_RESUME POP HL ; Restore address of source buffer RET ; Working Variables BQRTC_BUF: BQRTC_BUF_YEAR: .DB 0 ; Year BQRTC_BUF_MON: .DB 0 ; Month BQRTC_BUF_DAY: .DB 0 ; Day BQRTC_BUF_HOUR: .DB 0 ; Hour BQRTC_BUF_MIN: .DB 0 ; Minute BQRTC_BUF_SEC: .DB 0 ; Second
archive/a/ada/hello-world.adb
Ayush7-BIT/sample-programs
422
13880
<gh_stars>100-1000 with Text_IO; procedure Hello_World is begin Text_IO.Put_Line("Hello, World!"); end Hello_World;
Cubical/Homotopy/BlakersMassey.agda
ecavallo/cubical
0
12456
<reponame>ecavallo/cubical<gh_stars>0 {- A Cubical proof of Blakers-Massey Theorem (KANG Rongji, Oct. 2021) Based on the previous type-theoretic proof described in Kuen-Bang Hou (Favonia), <NAME>, <NAME>, <NAME>, "A Mechanization of the Blakers–Massey Connectivity Theorem in Homotopy Type Theory" (https://arxiv.org/abs/1605.03227) Also the HoTT-Agda formalization by Favonia: (https://github.com/HoTT/HoTT-Agda/blob/master/theorems/homotopy/BlakersMassey.agda) Using cubes explicitly as much as possible. -} {-# OPTIONS --safe #-} module Cubical.Homotopy.BlakersMassey where open import Cubical.Foundations.Prelude open import Cubical.Foundations.GroupoidLaws open import Cubical.Foundations.Transport open import Cubical.Foundations.HLevels open import Cubical.Foundations.Equiv open import Cubical.Foundations.Isomorphism open import Cubical.Foundations.Univalence open import Cubical.Data.Nat hiding (elim) open import Cubical.Data.Sigma open import Cubical.HITs.Truncation renaming (hLevelTrunc to Trunc) open import Cubical.Homotopy.Connected open import Cubical.Homotopy.WedgeConnectivity module BlakersMassey {ℓ₁ ℓ₂ ℓ₃ : Level} (X : Type ℓ₁)(Y : Type ℓ₂)(Q : X → Y → Type ℓ₃) {m : HLevel} (leftConn : (x : X) → isConnected (1 + m) (Σ[ y ∈ Y ] Q x y)) {n : HLevel} (rightConn : (y : Y) → isConnected (1 + n) (Σ[ x ∈ X ] Q x y)) where ℓ : Level ℓ = ℓ-max (ℓ-max ℓ₁ ℓ₂) ℓ₃ leftFiber : X → Type (ℓ-max ℓ₂ ℓ₃) leftFiber x = Σ[ y ∈ Y ] Q x y rightFiber : Y → Type (ℓ-max ℓ₁ ℓ₃) rightFiber y = Σ[ x ∈ X ] Q x y {- An alternative formulation of pushout with fewer parameters -} data Pushout : Type ℓ where inl : X → Pushout inr : Y → Pushout push : {x : X}{y : Y} → Q x y → inl x ≡ inr y {- Some preliminary definitions for convenience -} fiberSquare : {x₀ x₁ : X}{y₀ : Y}{p : Pushout}(q₀₀ : Q x₀ y₀)(q₁₀ : Q x₁ y₀) → inl x₁ ≡ p → inl x₀ ≡ p → Type ℓ fiberSquare q₀₀ q₁₀ r' r = PathP (λ i → push q₀₀ (~ i) ≡ r' i) (sym (push q₁₀)) r fiberSquarePush : {x₀ x₁ : X}{y₀ y₁ : Y}(q₀₀ : Q x₀ y₀)(q₁₀ : Q x₁ y₀)(q₁₁ : Q x₁ y₁) → inl x₀ ≡ inr y₁ → Type ℓ fiberSquarePush q₀₀ q₁₀ q₁₁ = fiberSquare q₀₀ q₁₀ (push q₁₁) fiber' : {x₀ : X}{y₀ : Y}(q₀₀ : Q x₀ y₀){x₁ : X}{p : Pushout} → inl x₁ ≡ p → inl x₀ ≡ p → Type ℓ fiber' {y₀ = y₀} q₀₀ {x₁ = x₁} r' r = Σ[ q₁₀ ∈ Q x₁ y₀ ] fiberSquare q₀₀ q₁₀ r' r fiber'Push : {x₀ x₁ : X}{y₀ y₁ : Y}(q₀₀ : Q x₀ y₀)(q₁₁ : Q x₁ y₁) → inl x₀ ≡ inr y₁ → Type ℓ fiber'Push q₀₀ q₁₁ = fiber' q₀₀ (push q₁₁) leftCodeExtended : {x₀ : X}{y₀ : Y}(q₀₀ : Q x₀ y₀) → (x₁ : X){p : Pushout} → inl x₁ ≡ p → inl x₀ ≡ p → Type ℓ leftCodeExtended {y₀ = y₀} q₀₀ x₁ r' r = Trunc (m + n) (fiber' q₀₀ r' r) rightCode : {x₀ : X}(y : Y) → inl x₀ ≡ inr y → Type ℓ rightCode y r = Trunc (m + n) (fiber push r) {- Bunch of coherence data that will be used to construct Code -} {- Definitions of fiber→ -} module _ {x₁ : X}{y₀ : Y}(q₁₀ : Q x₁ y₀) where {- (x₀ , q₀₀) = (x₁ , q₁₀) -} module _ {y₁ : Y}(q₁₁ : Q x₁ y₁) (r : inl x₁ ≡ inr y₁) (p : fiberSquarePush q₁₀ q₁₀ q₁₁ r) where fiber→[q₀₀=q₁₀]-filler : (i j k : I) → Pushout fiber→[q₀₀=q₁₀]-filler i j k' = hfill (λ k → λ { (i = i0) → push q₁₁ (j ∧ k) ; (i = i1) → p k j ; (j = i0) → push q₁₀ (i ∧ ~ k) ; (j = i1) → push q₁₁ k }) (inS (push q₁₀ (i ∧ ~ j))) k' fiber→[q₀₀=q₁₀] : fiber push r fiber→[q₀₀=q₁₀] .fst = q₁₁ fiber→[q₀₀=q₁₀] .snd i j = fiber→[q₀₀=q₁₀]-filler i j i1 ∣fiber→[q₀₀=q₁₀]∣ : rightCode _ r ∣fiber→[q₀₀=q₁₀]∣ = ∣ fiber→[q₀₀=q₁₀] ∣ₕ {- (y₁ , q₁₁) = (y₀ , q₁₀) -} module _ {x₀ : X}(q₀₀ : Q x₀ y₀) (r : inl x₀ ≡ inr y₀) (p : fiberSquarePush q₀₀ q₁₀ q₁₀ r) where fiber→[q₁₁=q₁₀]-filler : (i j k : I) → Pushout fiber→[q₁₁=q₁₀]-filler i j k' = hfill (λ k → λ { (i = i0) → push q₀₀ (j ∨ ~ k) ; (i = i1) → p k j ; (j = i0) → push q₀₀ (~ k) ; (j = i1) → push q₁₀ (~ i ∨ k) }) (inS (push q₁₀ (~ i ∨ ~ j))) k' fiber→[q₁₁=q₁₀] : fiber push r fiber→[q₁₁=q₁₀] .fst = q₀₀ fiber→[q₁₁=q₁₀] .snd i j = fiber→[q₁₁=q₁₀]-filler i j i1 ∣fiber→[q₁₁=q₁₀]∣ : rightCode _ r ∣fiber→[q₁₁=q₁₀]∣ = ∣ fiber→[q₁₁=q₁₀] ∣ₕ {- q₀₀ = q₁₁ = q₁₀ -} fiber→[q₀₀=q₁₀=q₁₁]-filler : (r : inl x₁ ≡ inr y₀) → (p : fiberSquarePush q₁₀ q₁₀ q₁₀ r) → (i j k l : I) → Pushout fiber→[q₀₀=q₁₀=q₁₁]-filler r p i j k l' = hfill (λ l → λ { (i = i0) → fiber→[q₀₀=q₁₀]-filler q₁₀ r p j k l ; (i = i1) → fiber→[q₁₁=q₁₀]-filler q₁₀ r p j k l ; (j = i0) → push q₁₀ ((i ∨ (k ∧ l)) ∧ (k ∨ (i ∧ ~ l))) ; (j = i1) → p l k ; (k = i0) → push q₁₀ ((i ∨ j) ∧ ~ l) ; (k = i1) → push q₁₀ ((i ∧ ~ j) ∨ l) }) (inS (push q₁₀ ((i ∨ (~ k ∧ j)) ∧ (~ k ∨ (i ∧ ~ j))))) l' fiber→[q₀₀=q₁₀=q₁₁] : fiber→[q₀₀=q₁₀] q₁₀ ≡ fiber→[q₁₁=q₁₀] q₁₀ fiber→[q₀₀=q₁₀=q₁₁] i r p .fst = q₁₀ fiber→[q₀₀=q₁₀=q₁₁] i r p .snd j k = fiber→[q₀₀=q₁₀=q₁₁]-filler r p i j k i1 ∣fiber→[q₀₀=q₁₀=q₁₁]∣ : ∣fiber→[q₀₀=q₁₀]∣ q₁₀ ≡ ∣fiber→[q₁₁=q₁₀]∣ q₁₀ ∣fiber→[q₀₀=q₁₀=q₁₁]∣ i r p = ∣ fiber→[q₀₀=q₁₀=q₁₁] i r p ∣ₕ {- Definitions of fiber← -} module _ {x₀ : X}{y₁ : Y}(q₀₁ : Q x₀ y₁) where {- (x₁ , q₁₁) = (x₀ , q₀₁) -} module _ {y₀ : Y}(q₀₀ : Q x₀ y₀) (r : inl x₀ ≡ inr y₁) (p : push q₀₁ ≡ r) where fiber←[q₁₁=q₀₁]-filler : (i j k : I) → Pushout fiber←[q₁₁=q₀₁]-filler i j k' = hfill (λ k → λ { (i = i0) → push q₀₀ (~ j ∧ k) ; (i = i1) → p k j ; (j = i0) → push q₀₀ (~ i ∧ k) ; (j = i1) → push q₀₁ i }) (inS (push q₀₁ (i ∧ j))) k' fiber←[q₁₁=q₀₁] : fiber'Push q₀₀ q₀₁ r fiber←[q₁₁=q₀₁] .fst = q₀₀ fiber←[q₁₁=q₀₁] .snd i j = fiber←[q₁₁=q₀₁]-filler i j i1 ∣fiber←[q₁₁=q₀₁]∣ : leftCodeExtended q₀₀ _ (push q₀₁) r ∣fiber←[q₁₁=q₀₁]∣ = ∣ fiber←[q₁₁=q₀₁] ∣ₕ {- (y₀ , q₀₀) = (y₁ , q₀₁) -} module _ {x₁ : X}(q₁₁ : Q x₁ y₁) (r : inl x₀ ≡ inr y₁) (p : push q₀₁ ≡ r) where fiber←[q₀₀=q₀₁]-filler : (i j k : I) → Pushout fiber←[q₀₀=q₀₁]-filler i j k' = hfill (λ k → λ { (i = i0) → push q₁₁ (~ j ∨ ~ k) ; (i = i1) → p k j ; (j = i0) → push q₀₁ (~ i) ; (j = i1) → push q₁₁ (i ∨ ~ k) }) (inS (push q₀₁ (~ i ∨ j))) k' fiber←[q₀₀=q₀₁] : fiber'Push q₀₁ q₁₁ r fiber←[q₀₀=q₀₁] .fst = q₁₁ fiber←[q₀₀=q₀₁] .snd i j = fiber←[q₀₀=q₀₁]-filler i j i1 ∣fiber←[q₀₀=q₀₁]∣ : leftCodeExtended q₀₁ _ (push q₁₁) r ∣fiber←[q₀₀=q₀₁]∣ = ∣ fiber←[q₀₀=q₀₁] ∣ₕ {- q₀₀ = q₀₁ = q₁₁ -} fiber←[q₀₀=q₀₁=q₁₁]-filler : (r : inl x₀ ≡ inr y₁) → (p : push q₀₁ ≡ r) → (i j k l : I) → Pushout fiber←[q₀₀=q₀₁=q₁₁]-filler r p i j k l' = hfill (λ l → λ { (i = i0) → fiber←[q₁₁=q₀₁]-filler q₀₁ r p j k l ; (i = i1) → fiber←[q₀₀=q₀₁]-filler q₀₁ r p j k l ; (j = i0) → push q₀₁ ((i ∨ (~ k ∧ l)) ∧ (~ k ∨ (i ∧ ~ l))) ; (j = i1) → p l k ; (k = i0) → push q₀₁ ((i ∨ l) ∧ ~ j) ; (k = i1) → push q₀₁ ((i ∧ ~ l) ∨ j) }) (inS (push q₀₁ ((i ∨ (k ∧ j)) ∧ (k ∨ (i ∧ ~ j))))) l' fiber←[q₀₀=q₀₁=q₁₁] : fiber←[q₁₁=q₀₁] q₀₁ ≡ fiber←[q₀₀=q₀₁] q₀₁ fiber←[q₀₀=q₀₁=q₁₁] i r p .fst = q₀₁ fiber←[q₀₀=q₀₁=q₁₁] i r p .snd j k = fiber←[q₀₀=q₀₁=q₁₁]-filler r p i j k i1 ∣fiber←[q₀₀=q₀₁=q₁₁]∣ : ∣fiber←[q₁₁=q₀₁]∣ q₀₁ ≡ ∣fiber←[q₀₀=q₀₁]∣ q₀₁ ∣fiber←[q₀₀=q₀₁=q₁₁]∣ i r p = ∣ fiber←[q₀₀=q₀₁=q₁₁] i r p ∣ₕ {- Definitions of fiber→← -} module _ {x₁ : X}{y₀ : Y}(q₁₀ : Q x₁ y₀) where {- (x₀ , q₀₀) = (x₁ , q₁₀) -} module _ {y₁ : Y}(q₁₁ : Q x₁ y₁) (r : inl x₁ ≡ inr y₁) (p : fiberSquarePush q₁₀ q₁₀ q₁₁ r) where fiber→←[q₀₀=q₁₀]-filler : (i j k l : I) → Pushout fiber→←[q₀₀=q₁₀]-filler i j k l' = let p' = fiber→[q₀₀=q₁₀] q₁₀ q₁₁ r p .snd in hfill (λ l → λ { (i = i0) → fiber←[q₁₁=q₀₁]-filler q₁₁ q₁₀ r p' j k l ; (i = i1) → fiber→[q₀₀=q₁₀]-filler q₁₀ q₁₁ r p l k j ; (j = i0) → push q₁₀ (~ k ∧ l) ; (j = i1) → p' l k ; (k = i0) → push q₁₀ (~ j ∧ l) ; (k = i1) → push q₁₁ j }) (inS (push q₁₁ (j ∧ k))) l' fiber→←[q₀₀=q₁₀] : fiber←[q₁₁=q₀₁] q₁₁ q₁₀ r (fiber→[q₀₀=q₁₀] q₁₀ q₁₁ r p .snd) .snd ≡ p fiber→←[q₀₀=q₁₀] i j k = fiber→←[q₀₀=q₁₀]-filler i j k i1 {- (y₁ , q₁₁) = (y₀ , q₁₀) -} module _ {x₀ : X}(q₀₀ : Q x₀ y₀) (r : inl x₀ ≡ inr y₀) (p : fiberSquarePush q₀₀ q₁₀ q₁₀ r) where fiber→←[q₁₁=q₁₀]-filler : (i j k l : I) → Pushout fiber→←[q₁₁=q₁₀]-filler i j k l' = let p' = fiber→[q₁₁=q₁₀] q₁₀ q₀₀ r p .snd in hfill (λ l → λ { (i = i0) → fiber←[q₀₀=q₀₁]-filler q₀₀ q₁₀ r p' j k l ; (i = i1) → fiber→[q₁₁=q₁₀]-filler q₁₀ q₀₀ r p l k j ; (j = i0) → push q₁₀ (~ k ∨ ~ l) ; (j = i1) → p' l k ; (k = i0) → push q₀₀ (~ j) ; (k = i1) → push q₁₀ (j ∨ ~ l) }) (inS (push q₀₀ (~ j ∨ k))) l' fiber→←[q₁₁=q₁₀] : fiber←[q₀₀=q₀₁] q₀₀ q₁₀ r (fiber→[q₁₁=q₁₀] q₁₀ q₀₀ r p .snd) .snd ≡ p fiber→←[q₁₁=q₁₀] i j k = fiber→←[q₁₁=q₁₀]-filler i j k i1 {- q₀₀ = q₁₀ = q₁₁ -} fiber→←hypercube : (r : inl x₁ ≡ inr y₀) → (p : fiberSquarePush q₁₀ q₁₀ q₁₀ r) → PathP (λ i → fiber←[q₀₀=q₀₁=q₁₁] q₁₀ i r (fiber→[q₀₀=q₁₀=q₁₁] q₁₀ i r p .snd) .snd ≡ p) (fiber→←[q₀₀=q₁₀] q₁₀ r p) (fiber→←[q₁₁=q₁₀] q₁₀ r p) fiber→←hypercube r p i j u v = hcomp (λ l → λ { (i = i0) → fiber→←[q₀₀=q₁₀]-filler q₁₀ r p j u v l ; (i = i1) → fiber→←[q₁₁=q₁₀]-filler q₁₀ r p j u v l ; (j = i0) → fiber←[q₀₀=q₀₁=q₁₁]-filler q₁₀ r (fiber→[q₀₀=q₁₀=q₁₁] q₁₀ i r p .snd) i u v l ; (j = i1) → fiber→[q₀₀=q₁₀=q₁₁]-filler q₁₀ r p i l v u ; (u = i0) → push q₁₀ ((i ∨ (~ v ∧ l)) ∧ (~ v ∨ (i ∧ ~ l))) ; (u = i1) → fiber→[q₀₀=q₁₀=q₁₁] q₁₀ i r p .snd l v ; (v = i0) → push q₁₀ ((i ∨ l) ∧ ~ u) ; (v = i1) → push q₁₀ ((i ∧ ~ l) ∨ u) }) (push q₁₀ ((i ∨ (v ∧ u)) ∧ (v ∨ (i ∧ ~ u)))) {- Definitions of fiber←→ -} module _ {x₀ : X}{y₁ : Y}(q₀₁ : Q x₀ y₁) where {- (x₁ , q₁₁) = (x₀ , q₀₁) -} module _ {y₀ : Y}(q₀₀ : Q x₀ y₀) (r : inl x₀ ≡ inr y₁) (p : push q₀₁ ≡ r) where fiber←→[q₁₁=q₀₁]-filler : (i j k l : I) → Pushout fiber←→[q₁₁=q₀₁]-filler i j k l' = let p' = fiber←[q₁₁=q₀₁] q₀₁ q₀₀ r p .snd in hfill (λ l → λ { (i = i0) → fiber→[q₀₀=q₁₀]-filler q₀₀ q₀₁ r p' j k l ; (i = i1) → fiber←[q₁₁=q₀₁]-filler q₀₁ q₀₀ r p l k j ; (j = i0) → push q₀₁ (k ∧ l) ; (j = i1) → p' l k ; (k = i0) → push q₀₀ (j ∧ ~ l) ; (k = i1) → push q₀₁ l }) (inS (push q₀₀ (j ∧ ~ k))) l' fiber←→[q₁₁=q₀₁] : fiber→[q₀₀=q₁₀] q₀₀ q₀₁ r (fiber←[q₁₁=q₀₁] q₀₁ q₀₀ r p .snd) .snd ≡ p fiber←→[q₁₁=q₀₁] i j k = fiber←→[q₁₁=q₀₁]-filler i j k i1 {- (y₀ , q₀₀) = (y₁ , q₀₁) -} module _ {x₁ : X}(q₁₁ : Q x₁ y₁) (r : inl x₀ ≡ inr y₁) (p : push q₀₁ ≡ r) where fiber←→[q₀₀=q₀₁]-filler : (i j k l : I) → Pushout fiber←→[q₀₀=q₀₁]-filler i j k l' = let p' = fiber←[q₀₀=q₀₁] q₀₁ q₁₁ r p .snd in hfill (λ l → λ { (i = i0) → fiber→[q₁₁=q₁₀]-filler q₁₁ q₀₁ r p' j k l ; (i = i1) → fiber←[q₀₀=q₀₁]-filler q₀₁ q₁₁ r p l k j ; (j = i0) → push q₀₁ (k ∨ ~ l) ; (j = i1) → p' l k ; (k = i0) → push q₀₁ (~ l) ; (k = i1) → push q₁₁ (~ j ∨ l) }) (inS (push q₁₁ (~ j ∨ ~ k))) l' fiber←→[q₀₀=q₀₁] : fiber→[q₁₁=q₁₀] q₁₁ q₀₁ r (fiber←[q₀₀=q₀₁] q₀₁ q₁₁ r p .snd) .snd ≡ p fiber←→[q₀₀=q₀₁] i j k = fiber←→[q₀₀=q₀₁]-filler i j k i1 {- q₀₀ = q₀₁ = q₁₁ -} fiber←→hypercube : (r : inl x₀ ≡ inr y₁) → (p : push q₀₁ ≡ r) → PathP (λ i → fiber→[q₀₀=q₁₀=q₁₁] q₀₁ i r (fiber←[q₀₀=q₀₁=q₁₁] q₀₁ i r p .snd) .snd ≡ p) (fiber←→[q₁₁=q₀₁] q₀₁ r p) (fiber←→[q₀₀=q₀₁] q₀₁ r p) fiber←→hypercube r p i j u v = hcomp (λ l → λ { (i = i0) → fiber←→[q₁₁=q₀₁]-filler q₀₁ r p j u v l ; (i = i1) → fiber←→[q₀₀=q₀₁]-filler q₀₁ r p j u v l ; (j = i0) → fiber→[q₀₀=q₁₀=q₁₁]-filler q₀₁ r (fiber←[q₀₀=q₀₁=q₁₁] q₀₁ i r p .snd) i u v l ; (j = i1) → fiber←[q₀₀=q₀₁=q₁₁]-filler q₀₁ r p i l v u ; (u = i0) → push q₀₁ ((i ∨ (v ∧ l)) ∧ (v ∨ (i ∧ ~ l))) ; (u = i1) → fiber←[q₀₀=q₀₁=q₁₁] q₀₁ i r p .snd l v ; (v = i0) → push q₀₁ ((i ∨ u) ∧ ~ l) ; (v = i1) → push q₀₁ ((i ∧ ~ u) ∨ l) }) (push q₀₁ ((i ∨ (~ v ∧ u)) ∧ (~ v ∨ (i ∧ ~ u)))) module Fiber→ {x₁ : X}{y₀ : Y}(q₁₀ : Q x₁ y₀) = WedgeConnectivity m n (leftFiber x₁ , (y₀ , q₁₀)) (leftConn x₁) (rightFiber y₀ , (x₁ , q₁₀)) (rightConn y₀) (λ (y₁ , q₁₁) (x₀ , q₀₀) → (((r : inl x₀ ≡ inr y₁) → fiberSquarePush q₀₀ q₁₀ q₁₁ r → rightCode _ r) , isOfHLevelΠ2 _ (λ x y → isOfHLevelTrunc _))) (λ (y₁ , q₁₁) → ∣fiber→[q₀₀=q₁₀]∣ q₁₀ q₁₁) (λ (x₀ , q₀₀) → ∣fiber→[q₁₁=q₁₀]∣ q₁₀ q₀₀) (∣fiber→[q₀₀=q₁₀=q₁₁]∣ q₁₀) fiber→ : {x₁ : X}{y₀ : Y}(q₁₀ : Q x₁ y₀) → {x₀ : X}(q₀₀ : Q x₀ y₀) → {y₁ : Y}(q₁₁ : Q x₁ y₁) → (r : inl x₀ ≡ inr y₁) → fiberSquarePush q₀₀ q₁₀ q₁₁ r → rightCode _ r fiber→ q₁₀ q₀₀ q₁₁ = Fiber→.extension q₁₀ (_ , q₁₁) (_ , q₀₀) module Fiber← {x₀ : X}{y₁ : Y}(q₀₁ : Q x₀ y₁) = WedgeConnectivity m n (leftFiber x₀ , (y₁ , q₀₁)) (leftConn x₀) (rightFiber y₁ , (x₀ , q₀₁)) (rightConn y₁) (λ (y₀ , q₀₀) (x₁ , q₁₁) → (((r : inl x₀ ≡ inr y₁) → push q₀₁ ≡ r → leftCodeExtended q₀₀ _ (push q₁₁) r) , isOfHLevelΠ2 _ (λ x y → isOfHLevelTrunc _))) (λ (y₀ , q₀₀) → ∣fiber←[q₁₁=q₀₁]∣ q₀₁ q₀₀) (λ (x₁ , q₁₁) → ∣fiber←[q₀₀=q₀₁]∣ q₀₁ q₁₁) (∣fiber←[q₀₀=q₀₁=q₁₁]∣ q₀₁) fiber← : {x₀ : X}{y₁ : Y}(q₀₁ : Q x₀ y₁) → {y₀ : Y}(q₀₀ : Q x₀ y₀) → {x₁ : X}(q₁₁ : Q x₁ y₁) → (r : inl x₀ ≡ inr y₁) → push q₀₁ ≡ r → leftCodeExtended q₀₀ _ (push q₁₁) r fiber← q₀₁ q₀₀ q₁₁ = Fiber←.extension q₀₁ (_ , q₀₀) (_ , q₁₁) module _ {x₀ x₁ : X}{y₀ y₁ : Y} (q₀₀ : Q x₀ y₀)(q₁₁ : Q x₁ y₁) (r : inl x₀ ≡ inr y₁) where left→rightCodeExtended : leftCodeExtended q₀₀ _ (push q₁₁) r → rightCode _ r left→rightCodeExtended = rec (isOfHLevelTrunc _) (λ (q₁₀ , p) → fiber→ q₁₀ q₀₀ q₁₁ r p) right→leftCodeExtended : rightCode _ r → leftCodeExtended q₀₀ _ (push q₁₁) r right→leftCodeExtended = rec (isOfHLevelTrunc _) (λ (q₀₁ , p) → fiber← q₀₁ q₀₀ q₁₁ r p) {- Definition of one-side homotopy -} module _ {x₁ : X}{y₀ : Y}(q₁₀ : Q x₁ y₀) where {- (x₀ , q₀₀) = (x₁ , q₁₀) -} module _ {y₁ : Y}(q₁₁ : Q x₁ y₁) (r : inl x₁ ≡ inr y₁) (p : fiberSquarePush q₁₀ q₁₀ q₁₁ r) where ∣fiber→←[q₀₀=q₁₀]∣ : right→leftCodeExtended q₁₀ q₁₁ r (fiber→ q₁₀ q₁₀ q₁₁ r p) ≡ ∣ q₁₀ , p ∣ₕ ∣fiber→←[q₀₀=q₁₀]∣ = (λ i → right→leftCodeExtended q₁₀ q₁₁ r (Fiber→.left q₁₀ (_ , q₁₁) i r p)) ∙ recUniq {n = m + n} _ _ _ ∙ (λ i → Fiber←.left q₁₁ (_ , q₁₀) i r (fiber→[q₀₀=q₁₀] q₁₀ q₁₁ r p .snd)) ∙ (λ i → ∣ q₁₀ , fiber→←[q₀₀=q₁₀] q₁₀ q₁₁ r p i ∣ₕ) {- (y₁ , q₁₁) = (y₀ , q₁₀) -} module _ {x₀ : X}(q₀₀ : Q x₀ y₀) (r : inl x₀ ≡ inr y₀) (p : fiberSquarePush q₀₀ q₁₀ q₁₀ r) where ∣fiber→←[q₁₁=q₁₀]∣ : right→leftCodeExtended q₀₀ q₁₀ r (fiber→ q₁₀ q₀₀ q₁₀ r p) ≡ ∣ q₁₀ , p ∣ₕ ∣fiber→←[q₁₁=q₁₀]∣ = (λ i → right→leftCodeExtended q₀₀ q₁₀ r (Fiber→.right q₁₀ (_ , q₀₀) i r p)) ∙ recUniq {n = m + n} _ _ _ ∙ (λ i → Fiber←.right q₀₀ (_ , q₁₀) i r (fiber→[q₁₁=q₁₀] q₁₀ q₀₀ r p .snd)) ∙ (λ i → ∣ q₁₀ , fiber→←[q₁₁=q₁₀] q₁₀ q₀₀ r p i ∣ₕ) {- q₀₀ = q₁₁ = q₁₀ -} module _ (r : inl x₁ ≡ inr y₀) (p : fiberSquarePush q₁₀ q₁₀ q₁₀ r) where path→←Square = (λ i j → right→leftCodeExtended q₁₀ q₁₀ r (Fiber→.homSquare q₁₀ i j r p)) ∙₂ (λ i → recUniq {n = m + n} _ _ _) ∙₂ (λ i j → Fiber←.homSquare q₁₀ i j r (fiber→[q₀₀=q₁₀=q₁₁] q₁₀ i r p .snd)) ∙₂ (λ i j → ∣ (q₁₀ , fiber→←hypercube q₁₀ r p i j) ∣ₕ) ∣fiber→←[q₀₀=q₁₀=q₁₁]∣ : ∣fiber→←[q₀₀=q₁₀]∣ q₁₀ ≡ ∣fiber→←[q₁₁=q₁₀]∣ q₁₀ ∣fiber→←[q₀₀=q₁₀=q₁₁]∣ i r p = path→←Square r p i fiber→← : {x₁ : X}{y₀ : Y}(q₁₀ : Q x₁ y₀) → {x₀ : X}(q₀₀ : Q x₀ y₀) → {y₁ : Y}(q₁₁ : Q x₁ y₁) → (r : inl x₀ ≡ inr y₁) → (p : fiberSquarePush q₀₀ q₁₀ q₁₁ r) → right→leftCodeExtended q₀₀ q₁₁ r (fiber→ q₁₀ q₀₀ q₁₁ r p) ≡ ∣ q₁₀ , p ∣ₕ fiber→← {x₁ = x₁} {y₀ = y₀} q₁₀ q₀₀' q₁₁' = WedgeConnectivity.extension m n (leftFiber x₁ , (y₀ , q₁₀)) (leftConn x₁) (rightFiber y₀ , (x₁ , q₁₀)) (rightConn y₀) (λ (y₁ , q₁₁) (x₀ , q₀₀) → (( (r : inl x₀ ≡ inr y₁) → (p : fiberSquarePush q₀₀ q₁₀ q₁₁ r) → right→leftCodeExtended q₀₀ q₁₁ r (fiber→ q₁₀ q₀₀ q₁₁ r p) ≡ ∣ q₁₀ , p ∣ₕ ) , isOfHLevelΠ2 _ (λ x y → isOfHLevelTruncPath))) (λ (y₁ , q₁₁) → ∣fiber→←[q₀₀=q₁₀]∣ q₁₀ q₁₁) (λ (x₀ , q₀₀) → ∣fiber→←[q₁₁=q₁₀]∣ q₁₀ q₀₀) (∣fiber→←[q₀₀=q₁₀=q₁₁]∣ q₁₀) (_ , q₁₁') (_ , q₀₀') {- Definition of the other side homotopy -} module _ {x₀ : X}{y₁ : Y}(q₀₁ : Q x₀ y₁) where {- (x₁ , q₁₁) = (x₀ , q₀₁) -} module _ {y₀ : Y}(q₀₀ : Q x₀ y₀) (r : inl x₀ ≡ inr y₁) (p : push q₀₁ ≡ r) where ∣fiber←→[q₁₁=q₀₁]∣ : left→rightCodeExtended q₀₀ q₀₁ r (fiber← q₀₁ q₀₀ q₀₁ r p) ≡ ∣ q₀₁ , p ∣ₕ ∣fiber←→[q₁₁=q₀₁]∣ = (λ i → left→rightCodeExtended q₀₀ q₀₁ r (Fiber←.left q₀₁ (_ , q₀₀) i r p)) ∙ recUniq {n = m + n} _ _ _ ∙ (λ i → Fiber→.left q₀₀ (_ , q₀₁) i r (fiber←[q₁₁=q₀₁] q₀₁ q₀₀ r p .snd)) ∙ (λ i → ∣ q₀₁ , fiber←→[q₁₁=q₀₁] q₀₁ q₀₀ r p i ∣ₕ) {- (y₀ , q₀₀) = (y₁ , q₀₁) -} module _ {x₁ : X}(q₁₁ : Q x₁ y₁) (r : inl x₀ ≡ inr y₁) (p : push q₀₁ ≡ r) where ∣fiber←→[q₀₀=q₀₁]∣ : left→rightCodeExtended q₀₁ q₁₁ r (fiber← q₀₁ q₀₁ q₁₁ r p) ≡ ∣ q₀₁ , p ∣ₕ ∣fiber←→[q₀₀=q₀₁]∣ = (λ i → left→rightCodeExtended q₀₁ q₁₁ r (Fiber←.right q₀₁ (_ , q₁₁) i r p)) ∙ recUniq {n = m + n} _ _ _ ∙ (λ i → Fiber→.right q₁₁ (_ , q₀₁) i r (fiber←[q₀₀=q₀₁] q₀₁ q₁₁ r p .snd)) ∙ (λ i → ∣ q₀₁ , fiber←→[q₀₀=q₀₁] q₀₁ q₁₁ r p i ∣ₕ) {- q₀₀ = q₀₁ = q₁₁ -} module _ (r : inl x₀ ≡ inr y₁) (p : push q₀₁ ≡ r) where path←→Square = (λ i j → left→rightCodeExtended q₀₁ q₀₁ r (Fiber←.homSquare q₀₁ i j r p)) ∙₂ (λ i → recUniq {n = m + n} _ _ _) ∙₂ (λ i j → Fiber→.homSquare q₀₁ i j r (fiber←[q₀₀=q₀₁=q₁₁] q₀₁ i r p .snd)) ∙₂ (λ i j → ∣ q₀₁ , fiber←→hypercube q₀₁ r p i j ∣ₕ) ∣fiber←→[q₀₀=q₀₁=q₁₁]∣ : ∣fiber←→[q₁₁=q₀₁]∣ q₀₁ ≡ ∣fiber←→[q₀₀=q₀₁]∣ q₀₁ ∣fiber←→[q₀₀=q₀₁=q₁₁]∣ i r p = path←→Square r p i fiber←→ : {x₀ : X}{y₁ : Y}(q₀₁ : Q x₀ y₁) → {y₀ : Y}(q₀₀ : Q x₀ y₀) → {x₁ : X}(q₁₁ : Q x₁ y₁) → (r : inl x₀ ≡ inr y₁) → (p : push q₀₁ ≡ r) → left→rightCodeExtended q₀₀ q₁₁ r (fiber← q₀₁ q₀₀ q₁₁ r p) ≡ ∣ q₀₁ , p ∣ₕ fiber←→ {x₀ = x₀} {y₁ = y₁} q₀₁ q₀₀' q₁₁' = WedgeConnectivity.extension m n (leftFiber x₀ , (y₁ , q₀₁)) (leftConn x₀) (rightFiber y₁ , (x₀ , q₀₁)) (rightConn y₁) (λ (y₀ , q₀₀) (x₁ , q₁₁) → (( (r : inl x₀ ≡ inr y₁) → (p : push q₀₁ ≡ r) → left→rightCodeExtended q₀₀ q₁₁ r (fiber← q₀₁ q₀₀ q₁₁ r p) ≡ ∣ q₀₁ , p ∣ₕ ) , isOfHLevelΠ2 _ (λ x y → isOfHLevelTruncPath))) (λ (y₀ , q₀₀) → ∣fiber←→[q₁₁=q₀₁]∣ q₀₁ q₀₀) (λ (x₁ , q₁₁) → ∣fiber←→[q₀₀=q₀₁]∣ q₀₁ q₁₁) (∣fiber←→[q₀₀=q₀₁=q₁₁]∣ q₀₁) (_ , q₀₀') (_ , q₁₁') module _ {x₀ x₁ : X}{y₀ y₁ : Y} (q₀₀ : Q x₀ y₀)(q₁₁ : Q x₁ y₁) (r : inl x₀ ≡ inr y₁) where left→right→leftCodeExtended : (a : leftCodeExtended q₀₀ _ (push q₁₁) r) → right→leftCodeExtended q₀₀ q₁₁ r (left→rightCodeExtended q₀₀ q₁₁ r a) ≡ a left→right→leftCodeExtended a = sym (∘rec _ _ _ (right→leftCodeExtended q₀₀ q₁₁ r) a) ∙ (λ i → recId _ (λ (q₁₀ , p) → fiber→← q₁₀ q₀₀ q₁₁ r p) i a) right→left→rightCodeExtended : (a : rightCode _ r) → left→rightCodeExtended q₀₀ q₁₁ r (right→leftCodeExtended q₀₀ q₁₁ r a) ≡ a right→left→rightCodeExtended a = sym (∘rec _ _ _ (left→rightCodeExtended q₀₀ q₁₁ r) a) ∙ (λ i → recId _ (λ (q₀₁ , p) → fiber←→ q₀₁ q₀₀ q₁₁ r p) i a) left≃rightCodeExtended : leftCodeExtended q₀₀ _ (push q₁₁) r ≃ rightCode y₁ r left≃rightCodeExtended = isoToEquiv (iso (left→rightCodeExtended _ _ _) (right→leftCodeExtended _ _ _) right→left→rightCodeExtended left→right→leftCodeExtended) {- Definition and properties of Code -} module _ (x₀ : X)(y₀ : Y)(q₀₀ : Q x₀ y₀) where leftCode' : (x : X){p : Pushout} → inl x ≡ p → inl x₀ ≡ p → Type ℓ leftCode' x r' = leftCodeExtended q₀₀ x r' leftCode : (x : X) → inl x₀ ≡ inl x → Type ℓ leftCode x = leftCode' x refl fiberPath : {x : X}{y : Y} → (q : Q x y) → leftCode' x (push q) ≡ rightCode y fiberPath q i r = ua (left≃rightCodeExtended q₀₀ q r) i pushCode : {x : X}{y : Y} → (q : Q x y) → PathP (λ i → inl x₀ ≡ push q i → Type ℓ) (leftCode x) (rightCode y) pushCode q i = hcomp (λ j → λ { (i = i0) → leftCode _ ; (i = i1) → fiberPath q j }) (leftCode' _ (λ j → push q (i ∧ j))) Code : (p : Pushout) → inl x₀ ≡ p → Type ℓ Code (inl x) = leftCode x Code (inr y) = rightCode y Code (push q i) = pushCode q i {- Transportation rule of pushCode -} transpLeftCode : (y : Y) → (q : Q x₀ y) → (q' : leftCodeExtended q₀₀ _ refl refl) → leftCode' _ (push q) (push q) transpLeftCode y q q' = transport (λ i → leftCode' _ (λ j → push q (i ∧ j)) (λ j → push q (i ∧ j))) q' transpPushCodeβ' : (y : Y) → (q : Q x₀ y) → (q' : leftCodeExtended q₀₀ _ refl refl) → transport (λ i → pushCode q i (λ j → push q (i ∧ j))) q' ≡ left→rightCodeExtended _ _ _ (transpLeftCode y q q') transpPushCodeβ' y q q' i = transportRefl (left→rightCodeExtended _ _ _ (transpLeftCode y q (transportRefl q' i))) i module _ {p : Pushout}(r : inl x₀ ≡ p) where fiber-filler : I → Type ℓ fiber-filler i = fiber' q₀₀ (λ j → r (i ∧ j)) (λ j → r (i ∧ j)) module _ (q : fiberSquare q₀₀ q₀₀ refl refl) where transpLeftCode-filler : (i j k : I) → Pushout transpLeftCode-filler i j k' = hfill (λ k → λ { (i = i0) → push q₀₀ (~ j) ; (i = i1) → r (j ∧ k) ; (j = i0) → push q₀₀ (~ i) ; (j = i1) → r (i ∧ k) }) (inS (q i j)) k' transpLeftCodeβ' : {p : Pushout} → (r : inl x₀ ≡ p) → (q : fiberSquare q₀₀ q₀₀ refl refl) → transport (λ i → fiber-filler r i) (q₀₀ , q) ≡ (q₀₀ , λ i j → transpLeftCode-filler r q i j i1) transpLeftCodeβ' r q = J (λ p r → transport (λ i → fiber-filler r i) (q₀₀ , q) ≡ (q₀₀ , λ i j → transpLeftCode-filler r q i j i1)) (transportRefl _ ∙ (λ k → (q₀₀ , λ i j → transpLeftCode-filler refl q i j k))) r transpLeftCodeβ : (y : Y) → (q : Q x₀ y) → (q' : fiberSquare q₀₀ q₀₀ refl refl) → transpLeftCode y q ∣ q₀₀ , q' ∣ₕ ≡ ∣ q₀₀ , (λ i j → transpLeftCode-filler (push q) q' i j i1) ∣ₕ transpLeftCodeβ y q q' = transportTrunc _ ∙ (λ i → ∣ transpLeftCodeβ' _ q' i ∣ₕ) transpPushCodeβ : (y : Y) → (q : Q x₀ y) → (q' : fiberSquare q₀₀ q₀₀ refl refl) → transport (λ i → pushCode q i (λ j → push q (i ∧ j))) ∣ q₀₀ , q' ∣ₕ ≡ ∣fiber→[q₀₀=q₁₀]∣ q₀₀ q (push q) (λ i j → transpLeftCode-filler (push q) q' i j i1) transpPushCodeβ y q q' = transpPushCodeβ' _ _ _ ∙ (λ i → left→rightCodeExtended _ _ _ (transpLeftCodeβ _ _ q' i)) ∙ recUniq {n = m + n} _ _ _ ∙ (λ i' → Fiber→.left q₀₀ (_ , q) i' (push q) (λ i j → transpLeftCode-filler (push q) q' i j i1)) {- The contractibility of Code -} centerCode : {p : Pushout} → (r : inl x₀ ≡ p) → Code p r centerCode r = transport (λ i → Code _ (λ j → r (i ∧ j))) ∣ q₀₀ , (λ i j → push q₀₀ (~ i ∧ ~ j)) ∣ₕ module _ (y : Y)(q : Q x₀ y) where transp-filler : (i j k : I) → Pushout transp-filler = transpLeftCode-filler (push q) (λ i' j' → push q₀₀ (~ i' ∧ ~ j')) transp-square : fiberSquare q₀₀ q₀₀ (push q) (push q) transp-square i j = transp-filler i j i1 contractionCodeRefl' : fiber→[q₀₀=q₁₀] q₀₀ q (push q) transp-square .snd ≡ refl contractionCodeRefl' i j k = hcomp (λ l → λ { (i = i0) → fiber→[q₀₀=q₁₀]-filler q₀₀ q (push q) transp-square j k l ; (i = i1) → transp-square (~ j ∨ l) k ; (j = i0) → push q (k ∧ (i ∨ l)) ; (j = i1) → transp-square l k ; (k = i0) → push q₀₀ (j ∧ ~ l) ; (k = i1) → push q ((i ∧ ~ j) ∨ l) }) (transp-filler (~ j) k i) contractionCodeRefl : centerCode (push q) ≡ ∣ q , refl ∣ₕ contractionCodeRefl = transpPushCodeβ _ _ _ ∙ (λ i → ∣ q , contractionCodeRefl' i ∣ₕ) module _ (y : Y)(r : inl x₀ ≡ inr y) where contractionCode' : (a : fiber push r) → centerCode r ≡ ∣ a ∣ₕ contractionCode' (q , p') = J (λ r' p → centerCode r' ≡ ∣ q , p ∣ₕ) (contractionCodeRefl _ q) p' contractionCode : (a : Code _ r) → centerCode r ≡ a contractionCode = elim (λ _ → isOfHLevelTruncPath) contractionCode' isContrCode : isContr (Code _ r) isContrCode = centerCode r , contractionCode excision-helper : (x : X) → Trunc (1 + m) (Σ[ y₀ ∈ Y ] Q x y₀) → (y : Y) → (r : inl x ≡ inr y) → isContr (Trunc (m + n) (fiber push r)) excision-helper x y' y r = rec (isProp→isOfHLevelSuc m isPropIsContr) (λ (y₀ , q₀₀) → isContrCode x y₀ q₀₀ y r ) y' {- The Main Result : Blakers-Massey Homotopy Excision Theorem -} Excision : (x : X)(y : Y) → isConnectedFun (m + n) (push {x = x} {y = y}) Excision x y = excision-helper x (leftConn x .fst) y
vera.asm
yignoth/x16-pminer
2
13109
; ; VERA Library ; bpoke: .macro lda #\1 sta \2 .endm wpoke: .macro lda #<\1 sta \2 lda #>\1 sta \2 + 1 .endm lpoke: .macro lda #<\1 sta \2 lda #>\1 sta \2 + 1 lda #`\1 sta \2 + 2 .endm vaddr: .macro ; increment, 20bit addr lda #<(\2) sta Vera.IO_VERA.addrL lda #>(\2) sta Vera.IO_VERA.addrM lda #`((\1 << 20) | \2) sta Vera.IO_VERA.addrH .endm vinc: .macro lda Vera.IO_VERA.addrH and #$0f ora #(\1<<4) sta Vera.IO_VERA.addrH .endm vpoke0: .macro lda #\1 sta Vera.IO_VERA.data0 .endm vpoke0A: .macro sta Vera.IO_VERA.data0 .endm vwpoke0: .macro lda #<\1 sta Vera.IO_VERA.data0 lda #>\1 sta Vera.IO_VERA.data0 .endm Vera: .block ; structures S_IO: .struct addrL .byte ? ; VERA_ADDR_L LLLLLLLL: L=address bits 7-0 addrM .byte ? ; VERA_ADDR_M MMMMMMMM: M=address bits 15-8 addrH .byte ? ; VERA_ADDR_H IIIIHHHH: I=increment (0,1,2,4,..,16k), H=address bits 19-16 data0 .byte ? ; VERA_DATA0 data1 .byte ? ; VERA_DATA1 ctrl .byte ? ; VERA_CTRL R------A: R=reset, A=data port (0=DATA1, 1=DATA2) ien .byte ? ; VERA_IEN ----USLV: UART, Sprint_Collision, Line, VSync isr .byte ? ; VERA_ISR ----USLV: UART, Sprint_Collision, Line, VSync .ends S_LAYER: .struct ctrl0 .byte ? ctrl1 .byte ? mapBase .word ? tileBase .word ? hScroll .word ? vScroll .word ? .ends .section section_IO_VERA IO_VERA .dstruct S_IO .send section_IO_VERA .section section_ZP z0 .word ? z1 .word ? .send section_ZP .section section_BSS .send section_BSS SCREEN_MEM = $00000 ; start of screen memory FONT_ASCII = $1E800 ; iso ascii font FONT_UPETSCII = $1F000 ; PETSCII uppercase FONT_LPETSCII = $1F800 ; PETSCII lowercase DC_VIDEO = $F0000 ; video mode PALETTE = $F1000 L0_CTRL0 = $F2000 ; layer 1 control port L0_HSCROLL = $F2006 L1_CTRL0 = $F3000 ; layer 2 control port L1_HSCROLL = $F3006 SPRITE_REG = $F4000 SPRITE_ATTS = $F5000 AUDIO = $F6000 SPI = $F7000 UART = $F8000 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Macros ;;;;;;;;;;;;;;;;;;;;;;;;; ; Sets the data port to DATA0 or DATA1 ; veraSetDataPort <port> (0 or 1) ; Uses: A setDataPort: .macro .if \1 < 0 || \1 > 1 .error "Bad DataPort value: ", \1 , ", should be 0 or 1" .fi #bpoke \1, Vera.IO_VERA.ctrl .endm ;;;;;;;;;;;;;;;;;;;;;;;;; ; Sets the screen resolution ; veraSetScreenRes <W>, <H> ; <W>: 640, 320, 160 ; <H>: 480, 240, 120 ; Uses: A setScreenRes: .macro .if \1 != 640 && \1 != 320 && \1 != 160 .error "veraSetScreenRes H=(",\1,") must be one of 640,320,160" .fi .if \2 != 480 && \2 != 240 && \2 != 120 .error "veraSetScreenRes V=(",\2,") must be one of 480,240,120" .fi #vaddr 1, Vera.DC_VIDEO #vpoke0 %00000001 ; set vga mode F----COO; O=Outmode (1=vga) #vpoke0 (\1 / 5) ; Hscale (128,64,32) #vpoke0 (\2 / 15)<<2 ; Vscale (128,64,32) .endm ;;;;;;;;;;;;;;;;;;;;;;;;; ; Setup layer ; veraLayerSetup <layer> <mode> <tile/map-size> <map-base> <tile-base> <hscroll> <vscroll> ; <layer> = layer 0 or 1 ; <mode> = MMM----E; M=mode 0-7, E=enable ; <tile-map-size> = --HWhhww ; <map-base> = 18 bit addr ; <tile-base> = 18 bit addr ; <hscroll> = 12 bit addr ; <vscroll> = 12 bit addr ; Uses: A layerSetup: .macro .if \1 == 0 LAYER = Vera.L0_CTRL0 .elsif \1 == 1 LAYER = Vera.L1_CTRL0 .else .error "veraLayerSetup Mode=(",\1,") must be 0,1" .fi vaddr 1, LAYER ; set layer address #vpoke0 \2 ; set mode and enable layer .if \2 > 0 #vpoke0 \3 ; set tile/map size --HWhhww #vwpoke0 (\4 >> 2) ; set map base #vwpoke0 (\5 >> 2) ; set tile base #vwpoke0 \6 ; set hscroll #vwpoke0 \7 ; set vscroll .fi .endm ;;;;;;;;;;;;;;;;;;;;;;;;; ; Sets <value> in last set VERA data port at current address ; veraSetData <value> ; <value> = the value to store ; Uses: A setData0: .macro lda \1 sta Vera.IO_VERA.data0 .endm ;;;;;;;;;;;;;;;;;;;;;;;;; ; Fills a window with a character and color ; veraFillWindow V, X, Y, W, H, F, C ; V = the baseMap VAddr address ; MC= the number of map columns ; X = the left column of the window ; Y = the top row of the window ; W = the width of the window ; H = the height of the window ; F = the fill character ; C = the fill color ; ; NOTE: need to set VeraAddr to start of layer screen memory ; ; Uses: A, X, Y fillWindow: .macro #vaddr 1, \1 #bpoke \3, Vera.cw_col #bpoke \4, Vera.cw_row #bpoke \5, Vera.cw_width #bpoke \6, Vera.cw_height #bpoke \7, Vera.cw_char #bpoke \8, Vera.cw_color #bpoke (\2 - \5)<<1, Vera.cw_winc .if \2 == 32 jsr Vera.AddCwRowColToVAddr32 .elsif \2 == 64 jsr Vera.AddCwRowColToVAddr64 .elsif \2 == 128 jsr Vera.AddCwRowColToVAddr128 .elsif \2 == 256 jsr Vera.AddCwRowColToVAddr256 .fi jsr Vera.FillWindow .endm ; Fills a single character on the screen ; fillCHar V, X, Y, F, C ; V = the baseMap VAddr address ; MC= the number of map columns ; X = the left column of the window ; Y = the top row of the window ; F = the fill character ; C = the fill color fillChar: .macro #vaddr 1, \1 #bpoke \3, Vera.cw_col #bpoke \4, Vera.cw_row #bpoke \5, Vera.cw_char #bpoke \6, Vera.cw_color .if \2 == 32 jsr Vera.AddCwRowColToVAddr32 .elsif \2 == 64 jsr Vera.AddCwRowColToVAddr64 .elsif \2 == 128 jsr Vera.AddCwRowColToVAddr128 .elsif \2 == 256 jsr Vera.AddCwRowColToVAddr256 .fi jsr Vera.FillChar .endm ; \1 = CPU RAM data source location ; \2 = VERA RAM destination location ; \3 = number of bytes (DO NOT CALL WITH 0) copyDataToVera: .macro #vaddr 1, \2 ; set VERA address lda #<\1 ; copy source address to z0 sta Vera.z0 lda #>\1 sta Vera.z0+1 lda #>\3 sta Vera.z1 ; store \3(hi) in z1 ldx #<\3 ; load \3(lo) into x beq + ; if zero then jump to decreasing \3(hi) - ldy #$00 ; start y at 0 since VERA address increase goes by 1 - lda (Vera.z0),y ; load A with source + y sta Vera.IO_VERA.data0 ; store in data0 iny dex bne - ; continue if more bytes to xfer inc Vera.z0+1 ; increment src(hi) by 1 + lda Vera.z1 ; load A with \3(hi) beq + ; if zero then we are done dec Vera.z1 ; decrease \3(hi) bra -- ; goto - + .endm ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Subroutines .section section_CODE cw_layer .byte 0 cw_col .byte 0 cw_row .byte 0 cw_width .byte 0 cw_height .byte 0 cw_char .byte 0 cw_color .byte 0 cw_winc .byte 0 cw_rinc .byte 0 ;;;;;;;;;;;;;;;;;;;;;;;;; ; FillWindow: Fills a window on the current screen starting at current ; screen position. ; ; Req: ; cw_col, cw_row = row/col of start of fill ; cw_width, cw_height = widht/height of fill window ; cw_char, cw_color = color and character to fill ; cw_winc, num bytes from end on window to start of next row/col. ; ; Uses: A, X, Y FillWindow: ldy cw_height ; height counter - ldx cw_width ; width counter - #setData0 cw_char ; store char #setData0 cw_color ; store color dex ; dec col count bne - dey ; dec row count beq + lda cw_winc ; skip to next to jsr Add_A_ToVAddr bra -- + rts ;;;;;;;;;;;;;;;;;;;;;;;;; ; FillChar: Fills a single character on the current screen starting at current ; screen position. ; ; Req: ; cw_col, cw_row = row/col of start of fill ; cw_char, cw_color = color and character to fill ; ; Uses: A, X, Y FillChar: #setData0 cw_char ; store char #setData0 cw_color ; store color rts ;;;;;;;;;;;;;;;;;;;;;;;;; ; Computes screen starting address for window with default INC=1 ; ; cw_col, cw_row = starting row, ; ; Uses: A, Y AddCwRowColToVAddr32: ; map width of 32 (64 bytes row increment) lda cw_row asl a asl a asl a asl a asl a asl a clc adc Vera.IO_VERA.addrL sta Vera.IO_VERA.addrL bcc + lda Vera.IO_VERA.addrM adc #0 sta Vera.IO_VERA.addrM bcc + lda Vera.IO_VERA.addrH adc #0 sta Vera.IO_VERA.addrH + lda cw_row lsr a lsr a clc adc Vera.IO_VERA.addrM sta Vera.IO_VERA.addrM bcc + inc Vera.IO_VERA.addrH + jmp AddCwColToVAddr AddCwRowColToVAddr64: ; map width of 64 (128 bytes row increment) lda cw_row lsr a bcc ++ lda #$80 clc adc Vera.IO_VERA.addrL sta Vera.IO_VERA.addrL bcc + lda Vera.IO_VERA.addrM adc #0 sta Vera.IO_VERA.addrM bcc + lda Vera.IO_VERA.addrH adc #0 sta Vera.IO_VERA.addrH + lda cw_row lsr a clc + adc Vera.IO_VERA.addrM sta Vera.IO_VERA.addrM bcc + inc Vera.IO_VERA.addrH + jmp AddCwColToVAddr AddCwRowColToVAddr128: ; map width of 128 (256 byte row increment) lda cw_row clc adc Vera.IO_VERA.addrM sta Vera.IO_VERA.addrM bcc + inc Vera.IO_VERA.addrH + jmp AddCwColToVAddr AddCwRowColToVAddr256: ; map width of 256 (512 byte row increment) lda cw_row clc adc Vera.IO_VERA.addrM sta Vera.IO_VERA.addrM bcc + inc Vera.IO_VERA.addrH + lda cw_row clc adc Vera.IO_VERA.addrM sta Vera.IO_VERA.addrM bcc + inc Vera.IO_VERA.addrH + ; fall through to AddCwColToVAddr ;;;;;;;;;;;;;;;;;;;;;;;; ; Adds A to VERA Address ; A contains the value to add AddCwColToVAddr: lda cw_col asl a ; *2 for (char,byte) Add_A_ToVAddr: clc adc Vera.IO_VERA.addrL sta Vera.IO_VERA.addrL bcc + lda Vera.IO_VERA.addrM adc #0 ; carry is already set sta Vera.IO_VERA.addrM bcc + inc Vera.IO_VERA.addrH + rts .send section_CODE .bend
src/atmosphere_types-objects.adb
onox/orka-demo
3
25091
with Ada.Numerics.Generic_Elementary_Functions; with Ada.Text_IO; with GL.Types; with Orka.Transforms.Doubles.Matrices; with Orka.Transforms.Doubles.Quaternions; with Planets.Earth; package body Atmosphere_Types.Objects is use type GL.Types.Double; Gravity_Earth : constant := 9.81; -- TODO Gravity should depend on lat/lon package Matrices renames Orka.Transforms.Doubles.Matrices; package Quaternions renames Orka.Transforms.Doubles.Quaternions; function Q_Yaw (Value : GL.Types.Double) return Quaternions.Quaternion is begin return Quaternions.R (Matrices.Vectors.Normalize ((1.0, 0.0, 0.0, 0.0)), Matrices.Vectors.To_Radians (Value)); end Q_Yaw; function Q_Pitch (Value : GL.Types.Double) return Quaternions.Quaternion is begin return Quaternions.R (Matrices.Vectors.Normalize ((0.0, 1.0, 0.0, 0.0)), Matrices.Vectors.To_Radians (Value)); end Q_Pitch; function Q_Roll (Value : GL.Types.Double) return Quaternions.Quaternion is begin return Quaternions.R (Matrices.Vectors.Normalize ((1.0, 0.0, 0.0, 0.0)), Matrices.Vectors.To_Radians (Value)); end Q_Roll; package EF is new Ada.Numerics.Generic_Elementary_Functions (GL.Types.Double); -- Yaw: left -- Pitch: up -- Roll: right procedure Reset (Object : Orka.Behaviors.Behavior_Ptr; Latitude, Longitude, Altitude : GL.Types.Double; Yaw, Pitch, Roll : GL.Types.Double; Velocity : Matrices.Vector4; Mass, Thrust, Gravity : GL.Types.Double) is Subject : Atmosphere_Types.Physics_Behavior renames Atmosphere_Types.Physics_Behavior (Object.all); Init_Position : constant Matrices.Vector4 := Planets.Earth.Planet.Geodetic_To_ECEF (0.0, 0.0, Altitude); Init_Lon_Position : constant Matrices.Vector4 := Planets.Earth.Planet.Geodetic_To_ECEF (0.0, Longitude, Altitude); Position : constant Matrices.Vector4 := Planets.Earth.Planet.Geodetic_To_ECEF (Latitude, Longitude, Altitude); use Matrices; use type Quaternions.Quaternion; Q_Lat_Lon : constant Quaternions.Quaternion := Quaternions.Normalize (Quaternions.R (Init_Lon_Position, Position) * Quaternions.R (Init_Position, Init_Lon_Position)); begin Subject.FDM.Set_Mass (Mass); Subject.FDM.Set_Gravity (Gravity); Subject.FDM.Set_Thrust (Thrust); Subject.Int.Initialize (Subject.FDM, Position => Position, Velocity => Matrices.R (Matrices.Vector4 (Q_Lat_Lon)) * Velocity, Orientation => Q_Lat_Lon * Q_Yaw (Yaw) * Q_Pitch (Pitch) * Q_Roll (Roll)); end Reset; -- Compute initial velocity of Object_01 such that it will make perfect circular orbits Object_1_H : constant GL.Types.Double := 200_000.0; Object_1_A : constant GL.Types.Double := Planets.Earth.Planet.Semi_Major_Axis + Object_1_H; Object_1_V : constant GL.Types.Double := EF.Sqrt (Gravity_Earth * Object_1_A); begin Ada.Text_IO.Put_Line ("v = " & Object_1_V'Image & " m/s"); Ada.Text_IO.Put_Line ("v = " & GL.Types.Double'Image (Object_1_V * 3.6) & " km/h"); -- Yaw: left -- Pitch: up -- Roll: right Reset (Object_01, Latitude => 0.0, Longitude => 0.0, Altitude => Object_1_H, Yaw => 0.0, Pitch => -90.0, Roll => 0.0, Velocity => (0.0, 0.0, Object_1_V, 0.0), Mass => 9000.0, Thrust => 0.0, Gravity => Gravity_Earth); Reset (Object_02, Latitude => 20.0, Longitude => 90.0, Altitude => 0.0, Yaw => 90.0, Pitch => -90.0, Roll => 0.0, Velocity => (0.0, 0.0, 0.0, 0.0), Mass => 1_000_000.0, Thrust => 0.0, Gravity => 0.0); Reset (Object_03, Latitude => 45.0, Longitude => -180.0, Altitude => 0.0, Yaw => 45.0, Pitch => -90.0, Roll => 0.0, Velocity => (0.0, 0.0, 0.0, 0.0), Mass => 1_000_000.0, Thrust => 0.0, Gravity => 0.0); end Atmosphere_Types.Objects;
programs/oeis/116/A116138.asm
neoneye/loda
22
166899
<filename>programs/oeis/116/A116138.asm ; A116138: a(n) = 3^n * n*(n + 1). ; 0,6,54,324,1620,7290,30618,122472,472392,1771470,6495390,23383404,82904796,290166786,1004423490,3443737680,11708708112,39516889878,132497807238,441659357460,1464449448420,4832683179786,15878816162154,51967034712504,169457721888600,550737596137950,1784389811486958,5764951698650172,18575955473428332,59708428307448210,191478752848023570,612732009113675424,1956789319427544096,6237265955675296806,19845846222603217110,63039746824739630820,199926054215602829172,633099171682742292378,2001962245591374275898,6321986038709602976520,19938571352853363233640,62806499761488094185966,197610694371511320731454,621062182310464150870284,1949846386323550241104380,6115427302560225756191010,19161672214688707369398498,59984365193808127417247472,187610674116804143198625072,586283356615012947495703350,1830639868614224101364134950,5711596390076379196256101044,17806741686708711611857256196,55474849100900216944632221226,172704718899028977280458801930,537303569908090151539205161560,1670525644623334834785528775032,5190561824365361808083607265278,16118060401976649825101727823758,50021566764755120146867431177180,155151639287291304862317625515660,480970081790603045073184639098546,1490218778006950418341506504747954,4614871054473136779380149175993664,14284124692416851936176652211408960,44191510767164635677546517779046470,136653748680001411864413078055205238,422384314101822545762731332170634372 mov $2,3 pow $2,$0 mul $2,$0 add $0,2 mul $0,$2 sub $0,$2
library/fmGUI_Database/fmGUI_fullAccessToggle.applescript
NYHTC/applescript-fm-helper
1
3347
<filename>library/fmGUI_Database/fmGUI_fullAccessToggle.applescript -- fmGUI_fullAccessToggle({ensureMode:null, script_enterFullAccess: null, script_leaveFullAccess: null, scriptFolderName:null, fullAccessAccountName:null, fullAccessPassword:null, userAccountName:null, userPassword:null}) -- toggles ( or ensures ) the user is logged in with either a full access or user account. (* HISTORY: 1.3 - 2018-10-16 ( eshagdar ): FM17 has only FMP ( no more FMA) 1.2.1 - 2017-11-16 ( eshagdar,dshockley ): send partialMatch param to RunScript. 1.2 - 2017-11-10 ( eshagdar ): run script via sub-handler. renamed varaibles for clarification. 1.1.1 - 2017-10-18 ( eshagdar ): added debugging logging. added parenthesis around prefs value extraction. 1.1 - 2017-10-17 ( eshagdar ): added ensureMode, script_enterFullAccess, script_leaveFullAccess params. fallback to running toggle script via scripts menu if FM privSet doesn't allow applescript events. 1.0 - 2017-10-06 ( eshagdar ): created REQUIRES: fmGUI_isInFullAccessMode fmGUI_NameOfFrontmostWindow fmGUI_Relogin xor *) property debugMode : true property scriptName : "" on run set scriptName to name of me fmGUI_fullAccessToggle({ensureMode:"user", fullAccessAccountName:"admin", fullAccessPassword:"", userAccountName:"user", userPassword:""}) end run -------------------- -- START OF CODE -------------------- on fmGUI_fullAccessToggle(prefs) -- version 1.3 try set defaultPrefs to {ensureMode:null, script_enterFullAccess:"Full Access Switch ON", script_leaveFullAccess:"Full Access Switch OFF", scriptFolderName:"Shortcuts", fullAccessAccountName:null, fullAccessPassword:null, userAccountName:null, userPassword:<PASSWORD>} set prefs to prefs & defaultPrefs set alreadyInUserMode to not fmGUI_isInFullAccessMode({}) if ensureMode of prefs is equal to "user" then set ensureUserMode to true else if ensureMode of prefs is equal to "full" then set ensureUserMode to false else set ensureUserMode to not alreadyInUserMode end if if debugMode then logConsole(scriptName, "fmGUI_fullAccessToggle ensureUserMode: " & ensureUserMode) if ensureUserMode and not alreadyInUserMode then -- LEAVE full access try tell application "FileMaker Pro Advanced" do script (first FileMaker script whose name contains (script_leaveFullAccess of prefs)) if debugMode then logConsole(scriptName, "fmGUI_fullAccessToggle ran script: " & script_leaveFullAccess) end tell on error -- privSet doesn't allow applescript events, so try to run via menu if debugMode then logConsole(scriptName, "fmGUI_fullAccessToggle failed to run script via app, trying via menu") fmGUI_Menu_RunScript({scriptName:script_leaveFullAccess of prefs, scriptFolderList:{scriptFolderName of prefs}, partialMatch:true}) end try if fmGUI_NameOfFrontmostWindow() does not start with "Open" then error "re-login script error" number -1024 fmGUI_Relogin({accountName:userAccountName of prefs, pwd:<PASSWORD>Password of prefs}) else if not ensureUserMode and alreadyInUserMode then -- ENTER full access try tell application "FileMaker Pro Advanced" do script (first FileMaker script whose name contains (script_enterFullAccess of prefs)) if debugMode then logConsole(scriptName, "fmGUI_fullAccessToggle ran script: " & script_enterFullAccess) end tell on error -- privSet doesn't allow applescript events, so try to run via menu if debugMode then logConsole(scriptName, "fmGUI_fullAccessToggle failed to run script via app, trying via menu") fmGUI_Menu_RunScript({scriptName:script_enterFullAccess of prefs, scriptFolderList:{scriptFolderName of prefs}, partialMatch:true}) end try if fmGUI_NameOfFrontmostWindow() does not start with "Open" then error "re-login script error" number -1024 fmGUI_Relogin({accountName:fullAccessAccountName of prefs, pwd:fullAccessPassword of prefs}) end if set didEndInUserMode to not fmGUI_isInFullAccessMode({}) set modeSwitch to xor(alreadyInUserMode, didEndInUserMode) if didEndInUserMode then set exitMode to "user" else set exitMode to "full" end if return {modeSwitch:modeSwitch, exitMode:exitMode} on error errMsg number errNum error "unable to fullAccessToggle - " & errMsg number errNum end try end fmGUI_fullAccessToggle -------------------- -- END OF CODE -------------------- on fmGUI_isInFullAccessMode(prefs) tell application "htcLib" to fmGUI_isInFullAccessMode(prefs) end fmGUI_isInFullAccessMode on fmGUI_NameOfFrontmostWindow() tell application "htcLib" to fmGUI_NameOfFrontmostWindow() end fmGUI_NameOfFrontmostWindow on fmGUI_Menu_RunScript(prefs) tell application "htcLib" to fmGUI_Menu_RunScript(prefs) end fmGUI_Menu_RunScript on fmGUI_Relogin(prefs) tell application "htcLib" to fmGUI_Relogin(prefs) end fmGUI_Relogin on logConsole(processName, consoleMsg) tell application "htcLib" to logConsole(processName, consoleMsg) end logConsole on xor(firstBoolean, secondBoolean) tell application "htcLib" to xor(firstBoolean, secondBoolean) end xor
programs/oeis/122/A122264.asm
jmorken/loda
1
178250
; A122264: 2 X 2 vector matrix Markov of a Prime gap affine type. ; 2,7,12,25,30,43,48,61,82,87,108,121,126,139,160,181,186,207,220,225,246,259,280,309,322,327,340,345,358,411,424,445,450,487,492,513,534,547,568,589,594,631,636,649,654,699,744,757,762,775 mov $2,2 mov $3,$0 add $0,2 mul $2,$0 cal $0,77017 ; a(1) = 2, a(n+1) = smallest positive integer divisible by the n-th prime that also has a nontrivial common divisor with a(n). sub $0,$2 mul $0,2 sub $0,1 mov $1,$0 sub $1,1 add $1,$3
src/rejuvenation-factory.adb
TNO/Rejuvenation-Ada
1
5720
with GNATCOLL.Projects; use GNATCOLL.Projects; with GNATCOLL.VFS; use GNATCOLL.VFS; with Libadalang.Project_Provider; use Libadalang.Project_Provider; package body Rejuvenation.Factory is -- Project methods -------- function Create_Context return Project_Context is (Context => Create_Context, others => <>); function Open_Project (Project_Path : String) return Project_Context is Result : Project_Context; begin Initialize (Result.Environment); Result.Project_Tree.Load (Create (+Project_Path), Result.Environment); Result.Provider := Create_Project_Unit_Provider (Result.Project_Tree, Result.Project_Tree.Root_Project, Result.Environment); Result.Context := Create_Context (Unit_Provider => Result.Provider); return Result; end Open_Project; -- Core methods -------- function Open_File (Filename : String; Context : Project_Context := Create_Context) return Analysis_Unit is Unit : constant Analysis_Unit := Context.Context.Get_From_File (Filename); Empty_Or_Non_Existing_File_Exception : exception; begin if Unit.Root.Is_Null then raise Empty_Or_Non_Existing_File_Exception with Filename; else return Unit; end if; end Open_File; function Open_Files_From_Project (Context : Project_Context; Recursive : Boolean := True) return Analysis_Unit_Vectors.Vector is Files : File_Array renames Context.Project_Tree.Root_Project.Source_Files (Recursive => Recursive).all; Results : Analysis_Unit_Vectors.Vector; begin for File of Files loop declare Filename : constant String := +File.Full_Name; begin if Is_Ada_File_Built_By_Project (Filename, Context) then Results.Append (Open_File (Filename, Context)); end if; end; end loop; return Results; end Open_Files_From_Project; function Is_Ada_File_Built_By_Project (Filename : String; Context : Project_Context; Recursive : Boolean := True) return Boolean is Info : constant File_Info := Context.Project_Tree.Info (Create (+Filename)); begin if Recursive then return Info.Language = "ada" and then Info.Project /= No_Project and then not Info.Project.Externally_Built; else return Info.Language = "ada" and then Info.Project = Context.Project_Tree.Root_Project; end if; end Is_Ada_File_Built_By_Project; function Is_Project_Main_Program (Node : Ada_Node'Class; Context : Project_Context) return Boolean is Info : constant File_Info := Context.Project_Tree.Info (Create (+Node.Unit.Get_Filename)); begin return Info.Project.Is_Main_File (+Node.Unit.Get_Filename) and then Node.Kind in Ada_Basic_Decl and then Node.As_Basic_Decl.P_Is_Subprogram and then Node.As_Basic_Decl.P_Is_Compilation_Unit_Root; end Is_Project_Main_Program; end Rejuvenation.Factory;