text stringlengths 0 234 |
|---|
update_protocoll(125, 4, Own_Protocoll, Other_Protocoll); |
for x in 1..5 loop |
dice(x,8 + 15 * x, 38); |
--dice_placement; |
end loop; |
logo(24, 4); |
Set_Graphical_Mode(Off); |
place(Own_Protocoll, Selected_Place); |
Reset_Colours; |
Reset_Text_Modes; -- Resets boold mode ... |
end Test_TJa; |
begin |
Test_TJa; |
Skip_Line; |
Function Definition: procedure Main is |
Function Body: package Lines is new MyString(Max_MyString_Length => 2048); |
S : Lines.MyString; |
PM_Information : PasswordManager.Information; |
GETDB : constant String := "get"; |
REMDB : constant String := "rem"; |
PUTDB : constant String := "put"; |
UNLOCK : constant String := "unlock"; |
LOCK : constant String := "lock"; |
TokensList : MyStringTokeniser.TokenArray(1..5):= (others => (Start => 1, Length => 0)); |
NumTokens : Natural; |
begin |
-- Program must initiate with 1 Pin input |
if (MyCommandLine.Argument_Count = 1) then |
declare |
Temp_Pin : String := MyCommandLine.Argument(1); |
begin |
-- Pin must meet specified Pin requirements prior to Password Manager |
-- initiation |
if (MyCommandLine.Argument(1)'Length = 4 and |
(for all I in Temp_Pin'Range => Temp_Pin(I) |
>= '0' and Temp_Pin(I) <= '9')) then |
PasswordManager.Init(MyCommandLine.Argument(1), PM_Information); |
else |
Put_Line("Invalid input, program will exit!"); |
return; |
end if; |
Function Definition: procedure finalize_library is |
Function Body: begin |
E123 := E123 - 1; |
declare |
procedure F1; |
pragma Import (Ada, F1, "passworddatabase__finalize_spec"); |
begin |
F1; |
Function Definition: procedure F2; |
Function Body: pragma Import (Ada, F2, "ada__text_io__finalize_spec"); |
begin |
F2; |
Function Definition: procedure F3; |
Function Body: pragma Import (Ada, F3, "system__storage_pools__subpools__finalize_spec"); |
begin |
F3; |
Function Definition: procedure F4; |
Function Body: pragma Import (Ada, F4, "system__finalization_masters__finalize_spec"); |
begin |
F4; |
Function Definition: procedure F5; |
Function Body: pragma Import (Ada, F5, "system__file_io__finalize_body"); |
begin |
E085 := E085 - 1; |
F5; |
Function Definition: procedure Reraise_Library_Exception_If_Any; |
Function Body: pragma Import (Ada, Reraise_Library_Exception_If_Any, "__gnat_reraise_library_exception_if_any"); |
begin |
Reraise_Library_Exception_If_Any; |
Function Definition: procedure adafinal is |
Function Body: procedure s_stalib_adafinal; |
pragma Import (C, s_stalib_adafinal, "system__standard_library__adafinal"); |
procedure Runtime_Finalize; |
pragma Import (C, Runtime_Finalize, "__gnat_runtime_finalize"); |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.