content
stringlengths
23
1.05M
------------------------------------------------------------------------------ -- Copyright (c) 2021, Lev Kujawski. -- -- Permission is hereby granted, free of charge, to any person obtaining a -- copy of this software and associated documentation files (the "Software") -- to deal in the Software without restrictio...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
with System.Address_To_Named_Access_Conversions; with System.Zero_Terminated_Strings; with C.stdlib; package body System.Native_IO.Names is use type C.char; use type C.char_ptr; use type C.size_t; function strlen (s : not null access constant C.char) return C.size_t with Import, Convention =...
-- { dg-do compile } -- { dg-options "-Wuninitialized" } pragma Warnings (Off); function Warn9 return Integer is I : Integer; begin return I; end;
-- This spec has been automatically generated from STM32WL5x_CM4.svd pragma Restrictions (No_Elaboration_Code); pragma Ada_2012; pragma Style_Checks (Off); with HAL; with System; package STM32_SVD.DAC is pragma Preelaborate; --------------- -- Registers -- --------------- -- CR_TSEL array type ...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
with Numerics, Ada.Text_IO, Molecular_Dynamics; use Numerics, Ada.Text_IO, Molecular_Dynamics; procedure Bubble is use Real_Functions, Real_IO, Int_IO; N : constant Nat := 4; M : constant Nat := 10; Dt : constant Real := 5.0e-5; U : constant Pos2D := (1.0, 0.0); V : constant Pos2D := (0.0, 1.0);...
pragma License (Unrestricted); -- implementation unit required by compiler package System.Fat_Lflt is pragma Pure; package Attr_Long_Float is -- required for Long_Float'Adjacent by compiler (s-fatgen.ads) function Adjacent (X, Towards : Long_Float) return Long_Float with Import, ...
with DDS.Typed_DataWriter_Generic; with DDS.Typed_DataReader_Generic; generic with package ReqDataWriter is new DDS.Typed_DataWriter_Generic (<>); with package ReqDataReader is new DDS.Typed_DataReader_Generic (<>); package DDS.Request_Reply.Connext_C_Replier.Generic_REPLIER is package TReq renames ReqDataWRi...
-- Motherlode -- Copyright (c) 2020 Fabien Chouteau package World is Ground_Width : constant := 30; Ground_Depth : constant := 600; type Cell_Kind is (Empty, Dirt, Rock, Coal, Iron, Gold, Diamond) with Size => 4; subtype Valuable_Cell is Cell_Kind range Coal .. Diamond; Cell_Size : constant :...
-- Copyright (c) 2021 Bartek thindil Jasicki <thindil@laeran.pl> -- -- 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...
--with ARM_Output; --with ARM_Index; with ARM_Contents; with Ada.Characters.Handling; with Ada.Strings.Fixed; with Ada.Unchecked_Deallocation; --with Ada.Text_IO; -- ** Temp. package body ARM_Subindex is -- -- Ada reference manual formatter (ARM_Form). -- -- This package contains the databa...
package body Functions is function "*" (Left : Func; Right : Argument) return Argument is Result : Argument := Right; begin for I in reverse Left'Range loop Result := Left (I) (Result); end loop; return Result; end "*"; function "*" (Left, Right : Func) return Func is begin...
with ada.unchecked_Deallocation; package body openGL.Visual is package body Forge is function new_Visual (Model : in openGL.Model.view; Scale : in Vector_3 := (1.0, 1.0, 1.0); is_Terrain : in Boolean := False) return openGL.Visual.view ...
-- SPDX-FileCopyrightText: 2020 Max Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- package Program.Error_Listeners is pragma Pure; type Error_Listener is limited interface; -- A program error listener type Error_Listener_Acc...
-- AOC 2020, Day 4 with Ada.Containers.Vectors; with Ada.Containers.Indefinite_Hashed_Maps; with Ada.Containers; use Ada.Containers; with Ada.Strings.Hash; package Day is package Passport_Maps is new Ada.Containers.Indefinite_Hashed_Maps (Key_Type => String, Element_Type => String, Hash ...
------------------------------------------------------------------------------ -- -- -- Ada User Repository Annex (AURA) -- -- ANNEXI-STRAYLINE Reference Implementation -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
with gmp_c.Binding; with ada.Unchecked_Deallocation; with gmp_c.a_a_mpf_struct; with gmp_c.a_a_mpz_struct; with gmp_c.mpz_srcptr; with gmp_c.mpz_ptr; with interfaces.C.strings; with Interfaces.C.Strings; use Interfaces.C.Strings; package body GMP.discrete -- -- -- is use gmp_c.Binding; use gmp_c.mpz_t; u...
-- Copyright (c) 2010 - 2018, Nordic Semiconductor ASA -- -- All rights reserved. -- -- 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, t...
generic N: Integer; package Data is type Vector is private; type Matrix is private; function Func1(B: in Vector; MA,MD: in Matrix) return Matrix; function Func2(g: in Integer; MG,MK,ML: in Matrix) return Matrix; function Func3(MP,MR: in Matrix; S,T: in Vector) return Vector; function Matrix_Tr...
with Ada.Text_IO, Multiplicative_Order; procedure Main is package IIO is new Ada.Text_IO.Integer_IO(Integer); use Multiplicative_Order; begin IIO.Put(Find_Order(3,10)); IIO.Put(Find_Order(37,1000)); IIO.Put(Find_Order(37,10_000)); IIO.Put(Find_Order(37, 3343)); IIO.Put(Find_Order(37, 3344)); --...
with ULog; with ULog.GPS; with Ada.Text_IO; use Ada.Text_IO; with Ada.Tags; with Interfaces; -- Rules for conversion in OO programming: -- 1. SPECIFIC TYPES: only up-cast (towards ancestors/base) possible -- * view conversion, i.e., components not in parent are hidden -- * tag stays untouched (really? then why...
generic type Element_Type is private; package Fifo is type Fifo_Type is private; procedure Push(List : in out Fifo_Type; Item : in Element_Type); procedure Pop(List : in out Fifo_Type; Item : out Element_Type); function Is_Empty(List : Fifo_Type) return Boolean; Empty_Error : exception; private typ...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
with Ada.Streams; package XML.Streams is pragma Preelaborate; function Create ( Stream : not null access Ada.Streams.Root_Stream_Type'Class; Encoding : Encoding_Type := No_Encoding; URI : String := "") return Reader; function Create ( Stream : not null access Ada.Streams.Root_Stream_Type'Class; Encod...
------------------------------------------------------------------------------ -- -- -- Ada User Repository Annex (AURA) -- -- ANNEXI-STRAYLINE Reference Implementation -- -- ...
------------------------------------------------------------------------------ -- -- -- Ada User Repository Annex (AURA) -- -- ANNEXI-STRAYLINE Reference Implementation -- -- ...
-- Copyright 2016-2019 NXP -- All rights reserved.SPDX-License-Identifier: BSD-3-Clause -- This spec has been automatically generated from LPC55S6x.svd pragma Restrictions (No_Elaboration_Code); pragma Ada_2012; pragma Style_Checks (Off); with HAL; with System; package NXP_SVD.RNG is pragma Preelaborate; ...
with Ada.Numerics.Big_Numbers.Big_Integers; use Ada.Numerics.Big_Numbers.Big_Integers; with Ada.Strings.Unbounded; use Ada.Strings.Unbounded; with Perfect_Number; use Perfect_Number; with Primes; use Primes; package body Aux_Image is function Generic_Image (X : T) return String is Res : Unbounded_String := ...
-- SPDX-License-Identifier: Apache-2.0 -- -- Copyright (c) 2016 onox <denkpadje@gmail.com> -- -- 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/L...
separate (Numerics.Sparse_Matrices) function Permute (Mat : in Sparse_Matrix; P : in Int_Array; By : in Permute_By_Type := Column) return Sparse_Matrix is begin pragma Assert (Mat.Format = CSC); case By is when Column => return Permute_By_Col (Mat, P); when Row => return Transpose...
generic package any_Math.any_Geometry.any_d3.any_Modeller.any_Forge -- -- Provides constructors for several geometry primitives. -- is function to_Box_Model (half_Extents : in Vector_3 := (0.5, 0.5, 0.5)) return a_Model; function to_Capsule_Model (Length : in Real := 1.0; ...
-------------------------------------------------------------------------------- -- Copyright (c) 2013, Felix Krause <contact@flyx.org> -- -- Permission to use, copy, modify, and/or distribute this software for any -- purpose with or without fee is hereby granted, provided that the above -- copyright notice and this pe...
with Ada.Text_IO; with Ada.Unchecked_Deallocation; with Ada.Containers.Vectors; package body Huffman is package Node_Vectors is new Ada.Containers.Vectors (Element_Type => Node_Access, Index_Type => Positive); function "<" (Left, Right : Node_Access) return Boolean is begin -- compare frequ...
with Ada.Wide_Wide_Text_IO; use Ada.Wide_Wide_Text_IO; with League.JSON.Arrays; use League.JSON.Arrays; with League.JSON.Documents; use League.JSON.Documents; with League.JSON.Objects; use League.JSON.Objects; with League.JSON.Values; use League.JSON.Values; with League.Strings; use League.Strings; proc...
2#1111_1111# 16#FF# 016#0ff# 16#E#E1 2#1110_0000# 16#F.FF#E+2 2#1.1111_1111_1110#E11
-- Copyright (c) 2017 Maxim Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- package body LSP.Types is -------------- -- Assigned -- -------------- function Assigned (Id : LSP_Number_Or_String) ret...
------------------------------------------------------------------------------- -- Copyright (C) 2020-2030, per.s.sandberg@bahnhof.se -- -- -- -- Permission is hereby granted, free of charge, to any person obtaining a -- ...
with ada.text_io, ada.Integer_text_IO, Ada.Text_IO.Text_Streams, Ada.Strings.Fixed, Interfaces.C; use ada.text_io, ada.Integer_text_IO, Ada.Strings, Ada.Strings.Fixed, Interfaces.C; with Ada.Numerics.Elementary_Functions; procedure euler03 is type stringptr is access all char_array; procedure PString(s : stringptr) ...
with Ada.Text_IO; with Ada.Integer_Text_IO; -- Copyright 2021 Melwyn Francis Carlo procedure A063 is use Ada.Text_IO; use Ada.Integer_Text_IO; Str : constant String (1 .. 12) := "Hello World "; Num : constant Integer := 2021; begin Put (Str); Put (Num, Width => 0); end A063;
with Ada.Text_IO; package body Space_Image_Format is procedure Get_Pixel(P: out Pixel) is C: Character; begin Ada.Text_IO.Get(C); P := Pixel(C); end Get_Pixel; procedure Get_Layer(L: out Layer) is begin for Row in Height_Range loop for Col in Width_Range loop ...
package Pack20_Pkg is type String_Ptr is access all String; procedure Modify (Fixed : in out String_Ptr); end Pack20_Pkg;
with GL.Binding, openGL.Tasks; package body openGL.Viewport is use GL; function Extent return Extent_2d is use GL.Binding; Extent : array (1 .. 4) of aliased gl.glInt; begin Tasks.check; glGetIntegerv (gl_VIEWPORT, Extent (1)'unchecked_Access); ...
-- Copyright (C) 2019 Thierry Rascle <thierr26@free.fr> -- MIT license. Please refer to the LICENSE file. with Ada.Exceptions, Ada.Assertions, Apsepp.Calendar; package body Apsepp.Test_Reporter_Data_Struct_Class.Impl.Testing is ----------------------------------------------------------------------------...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
pragma SPARK_Mode(On); generic type Thing is private; Basic:in Thing; package Stack is subtype Count is Natural; subtype Index is Count range 1 .. Count'Last; type Stack (Max_Capacity : Count) is private; type Store is array (Index range<>) of Thing; -- "Models": For pee...
package Opt34_Pkg is type T_Private is record I : Integer := 0; end record; T_Private_Zero : constant T_Private := (I => 0); function Get_Private (I : Integer) return T_Private; function Get_Integer (X : T_Private) return Integer; procedure Assert (Cond : Boolean); end Opt34_Pkg;
pragma License (Unrestricted); with Ada.Numerics.Generic_Complex_Types; package Ada.Numerics.Short_Complex_Types is new Generic_Complex_Types (Short_Float); pragma Pure (Ada.Numerics.Short_Complex_Types);
with any_Math.any_Algebra; package float_Math.Algebra is new float_Math.any_Algebra; pragma Pure (float_Math.Algebra);
generic type real is digits <>; function sqrt(y : real) return real; function sqrt(y : real) return real is x, t : real := y; begin if y < 0.0 then raise NUMERIC_ERROR; else loop t := (x + y / x)/ 2.0; exit when abs(x - t) <= real'epsilon; x := t; end loop; return x; end i...
------------------------------------------------------------------------------ -- Copyright (c) 2016, Natacha Porté -- -- -- -- Permission to use, copy, modify, and distribute this software for any -- -- p...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
with Ada.Text_IO; use Ada.Text_IO; package body generic_mixin_compositor is overriding procedure simple (Self : Mixin_Child) is begin Put_Line(" MC:simple"); end; -- overriding -- procedure compound (Self : Mixin_Child) is -- begin -- Put_Line(" MC:comp...
with System; with Ada.Finalization; package ACO.Utils.Scope_Locks is pragma Preelaborate; protected type Mutex (Ceiling : System.Priority) is entry Seize; procedure Release; private pragma Priority (Ceiling); Is_Free : Boolean := True; end Mutex; type Scope_Lock (L...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
-- Generated at 2014-10-01 17:18:35 +0000 by Natools.Static_Hash_Maps -- from src/natools-s_expressions-templates-generic_integers-maps.sx package Natools.Static_Maps.S_Expressions.Templates.Integers is pragma Pure; type Main_Command is (Error, Align, Align_Center, Align_Left, Ali...
------------------------------------------------------------------------------- -- -- -- Coffee Clock -- -- -- ...
with Ada.Text_Io; use Ada.Text_Io; with Ada.Numerics.Elementary_Functions; use Ada.Numerics.Elementary_Functions; procedure Doors_Optimized is Num : Float; begin for I in 1..100 loop Num := Sqrt(Float(I)); Put(Integer'Image(I) & " is "); if Float'Floor(Num) = Num then Put_Line...
-- This file is generated by SWIG. Do *not* modify by hand. -- with Interfaces.C.Strings; package llvm.Binding is procedure LLVMDisposeMessage (Message : in Interfaces.C.Strings.chars_ptr); function LLVMContextCreate return llvm.LLVMContextRef; function LLVMGetGlobalContext return llvm.LLVMContext...
with lace.Environ.OS_Commands, lace.Text.utility, posix.file_Status, posix.Calendar, shell.Directory_Iteration, lace.Text.all_Tokens, ada.Strings.fixed, ada.Characters.handling, ada.Directories, ada.Direct_IO, ada.Tags, ada.Text_IO, ada.IO_Exceptions; ...
pragma Warnings (Off); with Interfaces; use Interfaces; pragma Warnings (On); package Drivers is pragma Pure; end Drivers;
generic type Element_Type is digits <>; type Index_Type is (<>); type Array_Type is array(Index_Type range <>) of Element_Type; package Shell_Sort is procedure Sort(Item : in out Array_Type); end Shell_Sort;
-- -- Convert any image or animation file to PPM file(s). -- -- Small-size demo for the GID (Generic Image Decoder) package. -- For a larger example, look for to_bmp.adb . -- with GID; with Ada.Calendar; with Ada.Characters.Handling; use Ada.Characters.Handling; with Ada.Command_Line; ...
-- WORDS, a Latin dictionary, by Colonel William Whitaker (USAF, Retired) -- -- Copyright William A. Whitaker (1936–2010) -- -- This is a free program, which means it is proper to copy it and pass -- it on to your friends. Consider it a developmental item for which -- there is no charge. However, just for form, it is C...
----------------------------------------------------------------------- -- applications -- Ada Web Application -- Copyright (C) 2009, 2010, 2011, 2012, 2017, 2018 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you m...
------------------------------------------------------------------------------- -- Copyright (c) 2016, Daniel King -- 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 s...
-- We define the Increment function function Increment (I : Integer) return Integer is begin return I + 1; end Increment;
with Interfaces; with Ada.Text_IO; use Ada.Text_IO; with GL; with GL.Window; with Utilities; with Blade; with Blade_Types; with E3GA; with E3GA_Utilities; package body GL_Util is -- ------------------------------------------------------------------ -- function From_GL (V3 : GL.Types.Singles.Vector3...
-- { dg-do run } with dispatch1_p; use dispatch1_p; procedure dispatch1 is O : DT_I1; Ptr : access I1'Class; begin Ptr := new I1'Class'(I1'Class (O)); end;
------------------------------------------------------------------------------ -- Copyright (c) 2021, Lev Kujawski. -- -- Permission is hereby granted, free of charge, to any person obtaining a -- copy of this software and associated documentation files (the "Software") -- to deal in the Software without restrictio...
with any_Math.any_Algebra.any_linear.any_d2; package float_Math.Algebra.linear.d2 is new float_Math.Algebra.linear.any_d2; pragma Pure (float_Math.Algebra.linear.d2);
-- The Village of Vampire by YT, このソースコードはNYSLです with Ada.Calendar; with Ada.Strings.Unbounded; with Tabula.Calendar; private with Ada.Streams; package Tabula.Users is -- Id Administrator : constant String := "administrator"; function Valid_Id_String (Id : String) return Boolean; -- Password type Passwor...
-- { dg-do compile } -- { dg-options "-O" } package Rep_Clause4 is type Uns16 is mod 2**16; type Rec32 is record W1 : Uns16 := 1; W2 : Uns16 := 2; end record; for Rec32 use record W1 at 0 range 0..15; W2 at 2 range 0..15; end record; for Rec32'size use 32; type Rec4...
with Ada.Directories.Equal_File_Names; with Ada.Directories.Hierarchical_File_Names; with Ada.Directories.Less_File_Names; with Ada.Directories.Volumes; with Ada.Hierarchical_File_Names; procedure filename is Windows : constant Boolean := Ada.Hierarchical_File_Names.Is_Path_Delimiter ('\'); package AD renames Ada.Dir...
package acess_definition is Hello : aliased String := "Hi, world."; Hello_Msg : constant access String := Hello'Access; end acess_definition;
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
with Ada.IO_Exceptions; with Ada.Unchecked_Conversion; package body YAML.Streams is use type C.signed_int; -- parser function Read_Handler ( data : C.void_ptr; buffer : access C.unsigned_char; size : C.size_t; size_read : access C.size_t) return C.signed_int with Convention => C; function Read_Han...
-- This package has been generated automatically by GNATtest. -- You are allowed to add your code to the bodies of test routines. -- Such changes will be kept during further regeneration of this file. -- All code placed outside of test routine bodies will be lost. The -- code intended to set up and tear down the t...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
-- Demander l'age de Jules with Ada.Text_IO; use Ada.Text_IO; with Ada.Integer_Text_IO; use Ada.Integer_Text_IO; -- Afficher si une personne est majeure procedure Majorite is Age_Majorite: CONSTANT Integer := 18; -- Age de majorite Age: Integer; -- Age de la personne Est_Majeure: Boolean; -- Vrai si...
-- This spec has been automatically generated from STM32F303xE.svd pragma Restrictions (No_Elaboration_Code); pragma Ada_2012; pragma Style_Checks (Off); with System; package STM32_SVD.FPU is pragma Preelaborate; --------------- -- Registers -- --------------- subtype CPACR_CP0_Field is STM32_SVD.B...
-- The Village of Vampire by YT, このソースコードはNYSLです with Tabula.Calendar.Time_IO; package body Tabula.Users.User_Info_IO is procedure IO ( Serializer : not null access Serialization.Serializer; Value : in out User_Info) is use Serialization; use Tabula.Calendar.Time_IO; use Password_Digest_IO; begin for P...
-- Copyright (c) 2021 Devin Hill -- zlib License -- see LICENSE for details. with System.Parameters; package body System.Allocation.Arenas is use SSE; use all type System.Parameters.Size_Type; procedure Allocate (Pool : in out Heap_Arena; Storage_Address : out System.Address; ...
package Subtractive_Generator is type State is private; procedure Initialize (Generator : in out State; Seed : Natural); procedure Next (Generator : in out State; N : out Natural); private type Number_Array is array (Natural range <>) of Natural; type State is record R : Number_Array (0 .. 54); ...
with Ada.Text_IO; use Ada.Text_IO; with Sf.Window.Window; use Sf, Sf.Window, Sf.Window.Window; with Sf.Window.VideoMode; use Sf.Window.VideoMode; with Sf.Window.Event; use Sf.Window.Event; with Sf.Window.Keyboard; use Sf.Window.Keyboard; with Sf.System.Sleep; use Sf.System.Sleep; with Sf.System.Tim...
package types is type FloatingNumber is digits 12; subtype Speed is FloatingNumber range -80.0 .. 80.0; -- unit is meters subtype Distance is FloatingNumber range -100000000000000000.0 .. 10000000000000000000000.0; subtype Cartesian_Coordinate is Distance; -- angle from lidar (0 is straight forwar...
------------------------------------------------------------------------------ -- Copyright (C) 2020 by Heisenbug Ltd. (gh+spat@heisenbug.eu) -- -- This work is free. You can redistribute it and/or modify it under the -- terms of the Do What The Fuck You Want To Public License, Version 2, -- as published by Sam Hoc...
function Random_Enum(value : Natural) return Enum_Type is first : constant Natural := Enum_Type'Pos(Enum_Type'First); last : constant Natural := Enum_Type'Pos(Enum_Type'Last); count : constant Natural := last - first + 1; rand : constant Natural := value mod count; begin return Enum_Type'Val(first + r...
package body access3 is type IT_Access is not null access all IT'Class; for IT_Access'Storage_Size use 0; procedure Op (Obj_T2 : in out T2; Obj_IT : not null access IT'Class) is X : constant IT_Access := Obj_IT.all'Unchecked_Access; begin null; end Op; end access3;
-- CC3225A.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. -- Unlimit...
-- Copyright (C) 2019 Thierry Rascle <thierr26@free.fr> -- MIT license. Please refer to the LICENSE file. with Ada.Tags, Apsepp.Generic_Shared_Instance.Access_Setter, Apsepp.Generic_Shared_Instance.Creator, Apsepp.Generic_Shared_Instance.Fallback_Switch, Apsepp_Shared_Instance_Test_Fixture, Ap...
package body file_crypter is procedure init_key(key : key_s) is begin raiden.init_key(key); end init_key; procedure file_crypt(in_file : byte_io.File_Type; out_file : out byte_io.File_Type; mode_crypt : mode) is type raiden_access is access procedure (x : in byte_array_8; y : out byte_array_8); raiden_op...
-- Copyright 2016-2021 Bartek thindil Jasicki -- -- This file is part of Steam Sky. -- -- Steam Sky is free software: you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation, either version 3 of the License, or -- (a...
----------------------------------------------------------------------- -- util-serialize-io-form-tests -- Unit tests for form parser -- Copyright (C) 2018, 2021 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you ma...
-- ___ _ ___ _ _ -- -- / __| |/ (_) | | Common SKilL implementation -- -- \__ \ ' <| | | |__ string pool management -- -- |___/_|\_\_|_|____| by: Timm Felden ...
with Ada.Strings.Wide_Wide_Unbounded; use Ada.Strings.Wide_Wide_Unbounded; with Rejuvenation.Node_Locations; use Rejuvenation.Node_Locations; private with Langkit_Support.Text; package Rejuvenation.Text_Rewrites is type Text_Rewrite is tagged private; -- The class Text_Rewrite collects multiple text rewri...
with Ada.Text_IO; use Ada.Text_IO; with Ada.Real_Time; use Ada.Real_Time; with Ada.Numerics.Discrete_Random; with semaphores; use semaphores; procedure ProducerConsumer is X : Integer; -- Shared Variable N : constant Integer := 40; -- Number of produced and comsumed variables pragma Volatile(X); -- For a...
----------------------------------------------------------------------- -- ADO.Statements.Mysql -- MySQL Statements -- Copyright (C) 2009, 2010, 2011, 2012, 2013 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you ma...
-------------------------------------------------------------------------------- -- Copyright (c) 2013, Felix Krause <contact@flyx.org> -- -- Permission to use, copy, modify, and/or distribute this software for any -- purpose with or without fee is hereby granted, provided that the above -- copyright notice and this pe...